Remove some references to bcopy/bcmp/bzero.
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2
3         * login/logout.c (logout): Use memset rather than bzero.
4         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7         (_gethtbyaddr): Likewise.
8         * locale/programs/simple-hash.c (bcopy): Macro removed.
9
10 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11
12         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13         Add strcmp-power8 object.
14         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18         __strcmp_power8 implementation.
19         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20         * NEWS: Update.
21
22         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23         Add strncpy-power8 and stpncpy-power8 objects.
24         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26         implementations.
27         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
28         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29         __stpncpy_power8 implementation.
30         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
31         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32         __strncpy_power8 implementation.
33         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35         * NEWS: Update.
36
37         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
38         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40
41         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
42         strncat-power8 object.
43         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
44         __strcat_power8 implementation.
45         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
47         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
48         optimized strcat for power8.
49
50         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
51         strcpy-power8 and stpcpy-power8 objects.
52         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
54         implementations.
55         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
56         multiarch stpcpy implementation for POWER8.
57         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
58         multiarch strcpy implementation for POWER8.
59         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
60         __strcpy_power8 function.
61         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
62         stpcpy for POWER8.
63         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
64         strcpy for POWER8.
65         * NEWS: Update.
66
67 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
68
69         [BZ #16009]
70         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
71         weights and rules. Use do_xfrm_cached if data fits in cache,
72         do_xfrm otherwise.  Moved former main loop to...
73         * (do_xfrm_cached): New function.
74         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
75         find_idx, find_position and stack_push.
76         * (find_idx): New function.
77         * (find_position): Likewise.
78         * localedata/sort-test.sh: Added test run for do_xfrm.
79         * localedata/xfrm-test.c (main): Added command line option
80         -nocache to run the test with strings that are too large for
81         the STRXFRM cache.
82
83 2015-01-13  Torvald Riegel  <triegel@redhat.com>
84
85         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
86         variable to lll_futex_wake call, not the value itself.
87
88 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
89
90         [BZ #17803]
91         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
92         twom64.  Adjust value to 0x1p-64L.
93         (__scalblnl): Only return standard underflowing result for K <=
94         -64 not K <= -63; adjust exponent for underflowing result by 64
95         not 63.
96         * math/libm-test.inc (scalbn_test_data): Add more tests.
97         (scalbln_test_data): Likewise.
98
99         [BZ #17834]
100         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
101         0x1p63L.
102         (__scalblnl): Get new exponent of adjusted subnormal value from ES
103         not HX.
104         * math/libm-test.inc (scalbn_test_data): Add more tests.
105         (scalbln_test_data): Likewise.
106
107 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
108             Stefani Seibold  <stefani@seibold.net>
109
110         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
111         (sysdep_routines): Add dl-vdso here, ...
112         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
113         (sysdep_routines): ... not here.
114         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
115         fallback when vDSO is not presented.
116         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
117         Define with libc_hidden_proto/libc_hidden_data_def definitions.
118         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
119         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
120         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
121         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
122         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
123         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
124         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
125         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
126         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
127         fallback configurable symbol when vDSO is not available.
128         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
129         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
130         be able to redefine fallback symbol when vDSO is not available.
131         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
132         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
133
134 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
135
136         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
137         (TLS_INIT_TP): Add tm_capable initialization.
138         (TLS_DEFINE_INIT_TP): Likewise.
139         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
140         TCB.
141         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
142         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
143         calculation.
144         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
145         transactoion is lock elision is built and TCB tm_capable is set.
146         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
148         (INTERNAL_SYSCALL_NCS): Likewise.
149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
150         (INTERNAL_SYSCALL_NCS): Likewise.
151         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
152
153         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
154         for powerpc.
155         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
156         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
157         and remove it for 32 bits case.
158         [pthread_rwlock_t] (__rwelision): New field for lock elision.
159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
160         initialization.
161         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
162         Disable lock elision with rdlocks if elision is not available.
163
164         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
165         (sysdep_routines): Add lock elision objects.
166         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
167         [pthread_mutex_t] (__spins): Rework to add lock elision field.
168         [pthread_mutex_t] (__elision): Add field.
169         [__PTHREAD_SPINS]: Adjust to init lock elision field.
170         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
171         elision definitions for powerpc.
172         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
173         implementation of lock elision for powerpc.
174         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
175         implementation of timed lock elision for powerpc.
176         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
177         implementation of trylock with lock elision for powerpc.
178         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
179         implementaion of unlock for lock elision for powerpc.
180         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
181         automatic enable lock elision for mutexes.
182         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
183         transaction execution definitions for powerpc.
184         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
185         definitions.
186         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
187         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
188         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
189         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
190         * NEWS: Update.
191
192 2015-01-09  Roland McGrath  <roland@hack.frob.com>
193
194         * sysdeps/posix/shm-directory.c: Use <> rather than ""
195         for #include of <shm-directory.h>.
196
197 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
198
199         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
200         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
201
202 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
203
204         [BZ #17791]
205         * NEWS: Mention bug fix.
206         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
207         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
208         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
209
210 2015-01-09  Torvald Riegel <triegel@redhat.com>
211
212         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
213
214 2015-01-09  Torvald Riegel <triegel@redhat.com>
215
216         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
217
218 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
219
220         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
221         pointer and cast to uintptr_t.
222
223 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
224
225         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
226         removed.
227         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
228
229 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
230
231         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
232         of 0.
233
234 2015-01-08  Roland McGrath  <roland@hack.frob.com>
235
236         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
237         <nptl/pthreadP.h> instead.
238         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
239
240         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
241         already defined.
242         [__SIGRTMIN] (init): Function removed.
243         [__SIGRTMIN] (initialized): Variable removed.
244         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
245         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
246         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
247         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
248         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
249         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
250         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
251         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
252         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
253         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
254         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
255         * sysdeps/nptl/allocrtsig.c: New file.
256         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
257         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
258         * sysdeps/generic/testrtsig.h: File removed.
259
260         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
261         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
262
263         * nptl/nptl-init.c (pthread_functions): Conditionalize
264         .ptr__nptl_setxid initialization on [SIGSETXID].
265
266         * sysdeps/nptl/sys/procfs.h: New file.
267         * nptl_db/Makefile (headers): Add it.
268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
269
270         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
271         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
272         * nptl/pthread_attr_setaffinity.c: Include it.
273         * nptl/pthread_setattr_default_np.c: Likewise.
274         * nptl/check-cpuset.h: New file.
275
276 2015-01-08  Richard Henderson  <rth@redhat.com>
277
278         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
279         (CFLAGS-tst-execstack-prog.c): Likewise.
280         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
281
282 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
283             Sandra Loosemore  <sandra@codesourcery.com>
284             Andrew Jenner  <andrew@codesourcery.com>
285             Joseph Myers  <joseph@codesourcery.com>
286             Nathan Sidwell  <nathan@codesourcery.com>
287
288         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
289         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
290         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
291         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
292         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
293         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
294         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
295         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
296         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
297         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
298         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
299         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
300         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
301         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
302         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
303         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
304         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
305
306 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
307
308         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
309         timespec struct member in syscall macro.
310         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
311         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
312         first timeval struct member in syscall macro.
313         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
314
315 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
316
317         [BZ #17748]
318         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
319         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
320         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
321         __feupdateenv and define as weak alias of __feupdateenv.  Use
322         libm_hidden_weak.
323         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
324         libm_hidden_def.
325         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
326         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
327         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
328         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
329         libm_hidden_def.
330         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
331         __feupdateenv and define as weak alias of __feupdateenv.  Use
332         libm_hidden_weak.
333         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
334         libm_hidden_def.
335         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
336         __feupdateenv and define as weak alias of __feupdateenv.  Use
337         libm_hidden_weak.
338         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
339         libm_hidden_def.
340         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
341         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
342         (__feupdateenv): Likewise.
343         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
344         __feupdateenv and define as weak alias of __feupdateenv.  Use
345         libm_hidden_weak.
346         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
347         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
348         libm_hidden_def.
349         * sysdeps/tile/math_private.h (__feupdateenv): New inline
350         function.
351         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
352         libm_hidden_def.
353         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
354         __feupdateenv instead of feupdateenv.
355         (default_libc_feupdateenv_test): Likewise.
356         (libc_feresetround_ctx): Likewise.
357
358 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
359
360         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
361         prototype.
362
363 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
364
365         * posix/regcomp.c (parse_bracket_exp): Initialize type to
366         COLL_SYM in a couple of places to avoid uninitialized variable
367         wanings on tilegx gcc 4.8.2.
368
369 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
370
371         * sysdeps/aarch64/strcpy.S: New file.
372         * sysdeps/aarch64/stpcpy.S: New file.
373         * NEWS: Updated.
374
375 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
376
377         * sysdeps/aarch64/strrchr.S: New file.
378         * NEWS: Updated.
379
380 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
381
382         [BZ #17658]
383         * stdlib/setenv.c: Fix memory leak when setting large,
384         duplicate string.
385
386 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
387
388         [BZ #17273]
389         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
390         and tabs from buffer before parsing fstab entry.
391         * misc/tst-mntent.c (main): Add test for mount entry with
392         trailing spaces and tabs.
393
394 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
395
396         [BZ #17748]
397         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
398         * math/fesetround.c (fesetround): Rename to __fesetround and
399         define as weak alias of __fesetround.  Use libm_hidden_weak.
400         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
401         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
402         * sysdeps/arm/fesetround.c (fesetround): Likewise.
403         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
404         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
405         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
406         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
407         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
408         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
409         __fesetround_inline.
410         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
411         __fesetround_inline instead of __fesetround.
412         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
413         __fesetround and define as weak alias of __fesetround.  Use
414         libm_hidden_weak.  Call __fesetround_inline instead of
415         __fesetround.
416         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
417         __fesetround and define as weak alias of __fesetround.  Use
418         libm_hidden_weak.
419         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
420         Likewise.
421         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
422         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
423         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
424         * sysdeps/tile/math_private.h (__fesetround): New inline function.
425         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
426         __fesetround and define as weak alias of __fesetround.  Use
427         libm_hidden_weak.
428         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
429         __fesetround instead of fesetround.
430         (default_libc_feholdexcept_setround): Likewise.
431         (libc_feholdsetround_ctx): Likewise.
432         (libc_feholdsetround_noex_ctx): Likewise.
433
434         [BZ #17748]
435         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
436         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
437         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
438         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
439         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
440         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
441         define as weak alias of __fesetenv.  Use libm_hidden_weak.
442         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
443         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
444         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
445         define as weak alias of __fesetenv.  Use libm_hidden_weak.
446         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
447         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
448         define as weak alias of __fesetenv.  Use libm_hidden_weak.
449         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
450         libm_hidden_def.
451         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
452         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
453         Likewise.
454         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
455         define as weak alias of __fesetenv.  Use libm_hidden_weak.
456         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
457         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
458         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
459         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
460         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
461         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
462         __fesetenv instead of fesetenv.
463         (libc_feresetround_noex_ctx): Likewise.
464         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
465         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
466         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
467         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
468         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
469         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
470         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
471         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
472         (__feupdateenv): Likewise.
473         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
474         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
475         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
476         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
477
478 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
479
480         [BZ #17806]
481         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
482         addresses have been freed.
483
484 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
485
486         * resolv/res_init.c (__res_vinit): Improve comments about nserv
487         and nservall.
488
489 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
490
491         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
492         Clean up check_pf allocation pattern. addresses
493
494 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
495
496         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
497         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
498         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
499         * nptl/pthread_exit.c (__pthread_exit): Likewise.
500         * nptl/pthread_join.c (pthread_join): Likewise.
501         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
502         * sysdeps/posix/waitid.c (__waitid): Likewise.
503         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
504         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
505         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
506         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
507         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
508         Likewise.
509         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
510         (__libc_pread64): Likewise.
511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
512         (__libc_pwrite): Likewise.
513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
514         (__libc_pwrite64): Likewsie.
515         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
516         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
517         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
518         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
519         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
520         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
521         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
523         Likewise.
524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
525         (__libc_pread64): Likewise.
526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
527         Likewise.
528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
529         (__libc_pwrite64): Likewise.
530         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
531         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
532         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
533         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
534         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
535         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
536         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
537         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
538         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
539         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
540         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
541         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
542         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
543         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
544         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
545         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
546         Likewise.
547
548 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
549
550         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
551         (CFLAGS-test-double.c): Likewise.
552         (CFLAGS-test-ldouble.c): Likewise.
553         (CPPFLAGS-test-ifloat.c): Likewise.
554         (CPPFLAGS-test-idouble.c): Likewise.
555         (CPPFLAGS-test-ildoubl.c): Likewise.
556         (CFLAGS-test-test-fenv.c): Remove variable.
557         (CFLAGS-test-misc.c): Likewise.
558
559 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
560
561         [BZ #17797]
562         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
563         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
564         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
565         CLOCKS_PER_SEC == 1000000.
566         * time/clocktest.c (main): Replace %ld with %jd and cast to
567         intmax_t.
568
569 2015-01-05  Roland McGrath  <roland@hack.frob.com>
570
571         * sysdeps/generic/unwind-resume.h: New file.
572         * sysdeps/gnu/unwind-resume.c: Include it.
573         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
574         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
575         argument list.
576         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
577         global rather than static.
578         (_Unwind_Resume): Update user.
579         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
580         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
581         rather than static.  Add __attribute__ ((cold)).
582         (_Unwind_Resume, __gcc_personality_v0): Update callers.
583         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
584         * sysdeps/arm/arm-unwind-resume.S: New file.
585         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
586         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
587         * sysdeps/arm/Makefile [$(subdir) = csu]
588         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
589         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
590         Add rt-arm-unwind-resume.
591         [$(subdir) = nptl]
592         (libpthread-sysdep_routines, libpthread-shared-only-routines):
593         Add pt-arm-unwind-resume.
594         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
595         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
596
597 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
598
599         [BZ #17748]
600         * include/fenv.h (__feholdexcept): Declare.  Use
601         libm_hidden_proto.
602         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
603         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
604         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
605         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
606         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
607         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
608         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
609         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
610         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
611         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
612         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
613         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
614         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
615         (feholdexcept): Likewise.
616         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
617         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
618         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
619         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
620         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
621         __feholdexcept instead of feholdexcept.
622         (default_libc_feholdexcept_setround): Likewise.
623
624 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
625
626         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
627         to avoid using stl/str to align destination.
628
629 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
630
631         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
632
633 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
634
635         [BZ #17796]
636         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
637         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
638         Define as weak alias not strong alias.
639
640 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
641
642         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
643         bltzal with addiupc.
644         (RTLD_START): Ditto.
645
646 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
647
648         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
649         for __vdso_* functions in declarations.
650         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
651         definitions.
652         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
653         INTERNAL_VSYSCALL): Use struct return types to check for error.
654
655         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
656         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
657         function with cast from llround().
658         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
659         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
660         Define.
661
662 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
663
664         [BZ #17793]
665         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
666         Define as weak alias not strong alias.
667
668         [BZ #17635]
669         * ctype/ctype-c99.c: New file.  isblank implementation moved from
670         ...
671         * ctype/ctype-extn.c: ... here.
672         (__isblank_l): Move to ...
673         * ctype/ctype-c99_l.c: ... here.  New file.
674         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
675         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
676         Remove variable.
677         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
678         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
679         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
680         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
681         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
682
683         [BZ #17777]
684         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
685         (posix_fadvise64): Define as weak alias not strong alias.
686         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
687         (posix_fallocate64): Likewise.
688         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
689         Remove variable.
690         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
691         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
692         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
693         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
694         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
695
696 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
697
698         [BZ #16191]
699         * NEWS: Mention bug fix.
700         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
701         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
702         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
703         (HOST_STACK_END_ADDR): Likewise.
704
705 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
706
707         [BZ #17748]
708         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
709         * math/fegetround.c (fegetround): Rename to __fegetround and
710         define as weak alias of __fegetround.  Use libm_hidden_weak.
711         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
712         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
713         * sysdeps/arm/fegetround.c (fegetround): Likewise.
714         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
715         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
716         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
717         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
718         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
719         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
720         Undefine after rather than before function definition; use
721         parentheses around function name in definition.
722         (__fegetround): Also undefine macro after function definition.
723         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
724         __fegetround and define as weak alias of __fegetround.  Use
725         libm_hidden_weak.  Do not undefine as macro.
726         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
727         Likewise.
728         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
729         __fegetround and define as weak alias of __fegetround.  Use
730         libm_hidden_weak.
731         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
732         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
733         * sysdeps/tile/math_private.h (__fegetround): New inline function.
734         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
735         __fegetround and define as weak alias of __fegetround.  Use
736         libm_hidden_weak.
737         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
738         __fegetround instead of fegetround.
739
740         [BZ #17782]
741         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
742         Condition macro definition on [__USE_MISC].
743
744         [BZ #17781]
745         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
746         (struct sigaction): Change type of sa_flags field to int.
747
748         [BZ #17780]
749         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
750         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
751         __glibc_reserved0.
752
753         * nptl/version.c (banner): Use single year in copyright notice.
754
755         * NEWS: Update copyright dates.
756         * catgets/gencat.c (print_version): Likewise.
757         * csu/version.c (banner): Likewise.
758         * debug/catchsegv.sh: Likewise.
759         * debug/pcprofiledump.c (print_version): Likewise.
760         * debug/xtrace.sh (do_version): Likewise.
761         * elf/ldconfig.c (print_version): Likewise.
762         * elf/ldd.bash.in: Likewise.
763         * elf/pldd.c (print_version): Likewise.
764         * elf/sotruss.sh: Likewise.
765         * elf/sprof.c (print_version): Likewise.
766         * iconv/iconv_prog.c (print_version): Likewise.
767         * iconv/iconvconfig.c (print_version): Likewise.
768         * locale/programs/locale.c (print_version): Likewise.
769         * locale/programs/localedef.c (print_version): Likewise.
770         * login/programs/pt_chown.c (print_version): Likewise.
771         * malloc/memusage.sh (do_version): Likewise.
772         * malloc/memusagestat.c (print_version): Likewise.
773         * malloc/mtrace.pl: Likewise.
774         * manual/libc.texinfo: Likewise.
775         * nptl/version.c (banner): Likewise.
776         * nscd/nscd.c (print_version): Likewise.
777         * nss/getent.c (print_version): Likewise.
778         * nss/makedb.c (print_version): Likewise.
779         * posix/getconf.c (main): Likewise.
780         * scripts/test-installation.pl: Likewise.
781         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
782
783 2015-01-02  Will Newton  <will.newton@linaro.org>
784
785         * sysdeps/arm/armv7/configure: Removed.
786         * sysdeps/arm/armv7/configure.ac: Likewise.
787
788 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
789
790         * All files with FSF copyright notices: Update copyright dates
791         using scripts/update-copyrights.
792         * intl/plural.c: Regenerated.
793         * locale/programs/charmap-kw.h: Likewise.
794         * locale/programs/locfile-kw.h: Likewise.
795
796 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
797
798         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
799
800 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
801
802         [BZ #17748]
803         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
804         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
805         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
806         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
807         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
808         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
809         define as weak alias of __fegetenv.  Use libm_hidden_weak.
810         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
811         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
812         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
813         define as weak alias of __fegetenv.  Use libm_hidden_weak.
814         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
815         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
816         define as weak alias of __fegetenv.  Use libm_hidden_weak.
817         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
818         libm_hidden_def.
819         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
820         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
821         Likewise.
822         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
823         define as weak alias of __fegetenv.  Use libm_hidden_weak.
824         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
825         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
826         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
827         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
828         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
829         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
830         __fegetenv instead of fegetenv.
831         (libc_feholdsetround_noex_ctx): Likewise.
832
833 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
834
835         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
836         (Elf_MIPS_ABIFlags_v0): New structure.
837         (EF_MIPS_FP64): Define.
838         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
839         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
840         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
841         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
842         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
843         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
844         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
845         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
846         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
847         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
848         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
849         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
850         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
851         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
852         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
853         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
854         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
855         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
856         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
857         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
858         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
859         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
860         field.
861         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
862         EF_MIPS_FP64.
863         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
864         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
865         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
866         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
867         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
868         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
869         * sysdeps/mips/tst-abi-interlink.c: Likewise.
870         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
871         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
872         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
873         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
874         record the current FP ABI extension.
875         (mips-mode-switch): Define to show if kernel headers support mode
876         switching.
877         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
878         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
879         supported SYSV ABI version to 3.
880         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
881         feature.
882
883 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
884             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
885
886         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
887         path.
888         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
889
890 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
891
892         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
893         __fegetround and redefine to call __fegetround.  Remove condition
894         on [!__NO_MATH_INLINES].
895         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
896         function.
897         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
898         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
899         Remove macro.
900         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
901         instead of <fenv_libc.h>.
902         (__llrintl): Call fegetround instead of __fegetround.
903         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
904         instead of <fenv_libc.h>.
905         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
906         (__lrintl): Call fegetround instead of __fegetround.
907         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
908         instead of <fenv_libc.h>.
909         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
910         (__rintl): Call fegetround instead of __fegetround.
911
912 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
913
914         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
915         arrays.
916
917 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
918
919         [BZ #17775]
920         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
921         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
922         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
923
924 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
925
926         * sysdeps/i386/tls-macros.h: Include <features.h>.
927         (TLS_LE): Use non-PIC version for GCC >= 5.0.
928         (TLS_IE): Likewise.
929         (TLS_LD): Likewise.
930         (TLS_GD): Likewise.
931         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
932         define for GCC >= 5.0.
933
934 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
935
936         * math/test-fenv.c (test_single_exception, set_single_exc,
937         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
938         feexcp_mask_test, feenable_test, fe_single_test): Add
939         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
940         case where they are not used.
941         * math/libm-test.inc: Likewise.
942         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
943         unused in the absence of FP rounding/exception support.
944         * stdio-common/tst-printf-round.c: Likewise.
945         * stdlib/tst-strtod-round.c: Likewise.
946         * stdlib/tst-strtod-underflow.c: Likewise.
947
948 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
949
950         [BZ #17723]
951         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
952         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
953         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
954         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
955         libm_hidden_weak.
956         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
957         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
958         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
959         libm_hidden_def.
960         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
961         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
962         libm_hidden_weak.
963         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
964         Likewise.
965         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
966         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
967         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
968         libm_hidden_weak.
969         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
970         libm_hidden_def.
971         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
972         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
973         (__feraiseexcept): Likewise.
974         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
975         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
976         libm_hidden_weak.
977         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
978         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
979         libm_hidden_def.
980         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
981         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
982         Use libm_hidden_def.
983         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
984         libm_hidden_def.
985         (feraiseexcept): Define as weak not strong alias.  Use
986         libm_hidden_weak.
987         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
988         New inline function.  Factored out of ...
989         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
990         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
991         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
992         feraiseexcept.
993         * math/w_acos.c (__acos): Likewise.
994         * math/w_asin.c (__asin): Likewise.
995         * math/w_ilogb.c (__ilogb): Likewise.
996         * math/w_j0.c (y0): Likewise.
997         * math/w_j1.c (y1): Likewise.
998         * math/w_jn.c (yn): Likewise.
999         * math/w_log.c (__log): Likewise.
1000         * math/w_log10.c (__log10): Likewise.
1001         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1002         * sysdeps/aarch64/fpu/math_private.h
1003         (libc_feupdateenv_test_aarch64): Likewise.
1004         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1005         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1006         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1007         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1008         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1009         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1010         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1011         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1012         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1013         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1014
1015 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1016
1017         [BZ #17732]
1018         * io/test-utime.c (main): Replace %ld with %jd and cast to
1019         intmax_t.
1020         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1021         * nptl/tst-mutex5.c: Include <stdint.h>.
1022         (do_test): Replace %ld with %jd and cast to intmax_t.
1023         * posix/tst-regex.c (run_test): Likewise.
1024         (run_test_backwards): Likewise.
1025         * rt/tst-clock.c: Include <stdint.h>.
1026         (clock_test): Replace %ld with %jd and cast to intmax_t.
1027         * rt/tst-cpuclock1.c: Include <stdint.h>.
1028         (do_test): Replace %lu with %ju and cast to uintmax_t.
1029         * rt/tst-cpuclock2.c: Include <stdint.h>.
1030         (do_test): Replace %lu with %ju and cast to uintmax_t.
1031         * rt/tst-mqueue1.c: Include <stdint.h>.
1032         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1033         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1034         intmax_t.
1035         * rt/tst-mqueue4.c (do_test): Likewise.
1036         * rt/tst-timer4.c: Include <stdint.h>.
1037         (check_ts): Replace %ld with %jd and cast to intmax_t.
1038         (do_test): Likewise.
1039         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1040         and cast to intmax_t.
1041         * sysdeps/pthread/tst-timer.c (main): Likewise.
1042         * time/clocktest.c (main): Likewise.
1043         * time/tst-posixtz.c (do_test): Likewise.
1044         * timezone/tst-timezone.c (main): Likewise.
1045
1046 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1047             H.J. Lu  <hongjiu.lu@intel.com>
1048
1049         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1050         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1051         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1052         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1053         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1054         version if bit_Fast_Unaligned_Load is set.
1055         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1056         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1057         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1058         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1059         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1060         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1062         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1063         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1064         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1065         to 4.
1066         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1067         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1068         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1069         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1070
1071 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1072
1073         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1074         instead of #if to avoid a Wundef warning.
1075         * stdlib/tst-limits.c (do_test): Likewise.
1076
1077         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1078         parallel other exception macros.
1079         (fegetenv): Convert from macro to extern inline so that it applies
1080         retroactively to inline functions already seen by the compiler.
1081         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1082
1083         * posix/Makefile (before-compile): Use $(objpfx) for
1084         posix-conf-vars-def.h.
1085
1086 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1087
1088         * posix/getconf.c (main): Use size_t for type of I.
1089         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1090         NSPEC.
1091
1092         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1093         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1094         * posix/posix-envs.def: Likewise.
1095         * sysdeps/posix/sysconf.c: Likewise.
1096         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1097         (specs): Remove array.
1098         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1099         array.
1100
1101         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1102         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1103         (__sysconf): Use CONF_IS_* macros.
1104
1105         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1106         ($(objpfx)posix-conf-vars-def.h): New target.
1107         * posix/posix-conf-vars.list: New file.
1108         * posix/posix-conf-vars.h: New file.
1109         * posix/confstr.c: Include posix-conf-vars.h.
1110         (confstr): Use CONF_IS_* macros.
1111         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1112         CONF_IS_* macros.
1113         * scripts/gen-posix-conf-vars.awk: New file.
1114
1115 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1116
1117         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1118         fegetround): Add no-op macros to avoid linknamespace issues.
1119
1120         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1121         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1122
1123         * sysdeps/unix/sysv/linux/tile/sysdep.h
1124         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1125         assembly-specific section to avoid a redefinition warning.
1126
1127         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1128         long before casting to pointer to avoid a cast warning.
1129
1130 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1131
1132         * sysdeps/tile/tilegx/Implies: New file.
1133
1134 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1135
1136         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1137
1138 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1139
1140         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1141
1142 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1143
1144         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1145         not define.
1146         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1147         <kernel-features.h>.
1148         (__utimes) [__NR_utimes]: Make code unconditional.
1149         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1150         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1151         (__ASSUME_UTIMES): Do not undefine.
1152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1153         (__ASSUME_UTIMES): Likewise.
1154         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1155         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1156         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1157         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1158
1159 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1160
1161         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1162
1163 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1164
1165         [BZ #17747]
1166         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1167         alias to weak alias for j0l, y0l.
1168         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1169         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1170
1171         [BZ #17746]
1172         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1173         conversion.
1174
1175 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1176
1177         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1178         to zero if not already defined.
1179
1180 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1181
1182         [BZ #17724]
1183         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1184         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1185         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1186         (char *) casts added.
1187         * sysdeps/ieee754/k_standardf.c: New file.
1188         * sysdeps/ieee754/k_standardl.c: Likewise.
1189         * math/Makefile (libm-support): Remove k_standard.
1190         (libm-calls): Add k_standard.
1191
1192 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1193
1194         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1195         Optimize to avoid an unnecessary FPCR read.
1196
1197 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1198
1199         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1200         Optimize to reduce FPCR/FPSR accesses.
1201
1202 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1203
1204         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1205         Call libc_fetestexcept_aarch64.
1206
1207 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1208
1209         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1210         Call libc_fesetround_aarch64.
1211
1212 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1213
1214         [BZ #17733]
1215         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1216         (__bind): Do not define as weak alias.
1217         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1218         define.
1219         (__getsockname): Do not define as weak alias.
1220
1221 2014-12-22  Will Newton  <will.newton@linaro.org>
1222
1223         * manual/install.texi: Document that we require bison 2.7
1224         or above.
1225         * INSTALL: Regenerate.
1226         * configure.ac: Use AC_CHECK_PROG_VER instead of
1227         AC_PATH_PROG when checking for bison and check for
1228         version 2.7 or above.
1229         * configure: Regenerate.
1230
1231 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1232
1233         [BZ #17745]
1234         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1235         * sysdeps/tile/ffsll.c (ffsll): To here.
1236
1237         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1238
1239 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1240
1241         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1242         if not defined.
1243         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1244         definition.
1245         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1246         hidden ___tls_get_addr.
1247         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1248         hidden __tls_get_addr.
1249         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1250         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1251         Likewise.
1252
1253 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1254
1255         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1256         _dl_init call.
1257
1258 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1259
1260         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1261         from "call _dl_init@PLT".
1262         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1263
1264 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1265
1266         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1267         guarantees.
1268
1269 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1270
1271         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1272
1273 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1274
1275         [BZ #17744]
1276         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1277         strnlen.
1278
1279 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1280
1281         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1282         of multu on MIPSr6.
1283         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1284         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1285         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1286         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1287         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1288
1289 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1290
1291         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1292         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1293         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1294         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1295         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1296         mips32r6/mips64r6.
1297         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1298
1299 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1300
1301         * string/strncat.c (STRNCAT): Simplify implementation.
1302
1303 2014-12-19  David S. Miller  <davem@davemloft.net>
1304
1305         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1306         access the quad as both a long double and as a series of 4 words.
1307
1308         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1309         link_map->l_info array access.
1310
1311 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1312
1313         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1314
1315         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1316         * math/atest-exp2.c (TIMEOUT): Likewise.
1317         * math/atest-sincos.c (TIMEOUT): Likewise.
1318
1319 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1320
1321         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1322         -Wno-error with -fno-builtin-lround.
1323
1324 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1325
1326         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1327         Contains futex constants and functions moved over from ...
1328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1329         <lowlevellock-futex.h>.
1330         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1331         (lll_timedwait_tid): Add comments and parentheses around macro
1332         arguments.
1333
1334 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1335
1336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1337         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1338         (__lll_private_flag): Remove.
1339         (lll_futex_wait): Likewise.
1340         (lll_futex_timed_wait): Likewise.
1341         (lll_futex_wake): Likewise.
1342         (lll_futex_requeue): Likewise.
1343         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1344         (__lll_timedwait_tid): Spell out argument names.
1345         (lll_timedwait_tid): Add comments and parentheses around macro
1346         arguments.
1347         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1348         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1349
1350 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1351
1352         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1353         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1354         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1355         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1356         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1357         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1358         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1359         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1360         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1361         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1362         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1363         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1364         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1365         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1366         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1367         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1368         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1369         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1370         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1371
1372 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1373
1374         * sysdeps/x86_64/x32/Makefile: New file.
1375
1376 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1377
1378         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1379         1L with (mp_limb_t) 1.
1380
1381 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1382
1383         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1384         * nptl/libc_pthread_init.c: ... here.
1385         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1386         * nptl/register-atfork.c: ... here.
1387
1388         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1389         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1390         Use assert_perror to check its return value.
1391         (__gai_create_helper_thread): Likewise.
1392
1393         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1394
1395         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1396
1397 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1398
1399         [BZ #17725]
1400         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1401         __profil_counter.
1402         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1403         Likewise.
1404         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1405         Likewise.
1406         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1407         Likewise.
1408         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1409         (profil_counter): Likewise.
1410         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1411         (profil_counter): Likewise.
1412         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1413         Likewise.
1414         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1415         Likewise.
1416         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1417         (profil_counter): Likewise.
1418         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1419         Likewise.
1420         [!__profil_counter] (profil_counter): Define as weak alias of
1421         __profil_counter.
1422         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1423         (profil_counter): Rename to __profil_counter.
1424         [!__profil_counter] (profil_counter): Define as weak alias of
1425         __profil_counter.
1426         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1427         (profil_counter): Rename to __profil_counter.
1428         [!__profil_counter] (profil_counter): Define as weak alias of
1429         __profil_counter.
1430         * sysdeps/posix/profil.c: Update comment referring to
1431         profil_counter.
1432         (__profil): Use __profil_counter instead of profil_counter.
1433         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1434         __profil_counter.  Use __profil_counter_ushort and
1435         __profil_counter_uint in definitions.
1436         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1437         instead of profil_counter_uint and profil_counter_ushort.
1438
1439         [BZ #17722]
1440         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1441         define as weak alias of __inet_makeaddr.
1442         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1443         as weak alias of __inet_addr.
1444         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1445         as weak alias of __inet_pton.  Use libc_hidden_weak.
1446         * include/arpa/inet.h (__inet_pton): Declare.  Use
1447         libc_hidden_proto.
1448         (inet_makeaddr): Don't use libc_hidden_proto.
1449         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1450         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1451         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1452         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1453         Remove variable.
1454         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1455         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1456
1457 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1458
1459         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1460
1461 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1462
1463         * stdio-common/bug-vfprintf-nargs.c (do_test):
1464         Cast value to intptr_t to avoid format warning
1465         for usage with PRIdPTR printing macro.
1466
1467 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1468
1469         * libio/tst-widetext.c (do_test):
1470         Use format type %td instead of %Zd for ptrdiff_t
1471         in order to avoid format warning.
1472
1473 2014-12-17  Andreas Schwab  <schwab@suse.de>
1474
1475         * nscd/mem.c (gc): Add size_t cast to match printf format.
1476
1477 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1478
1479         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1480         (init): Apply PTR_MANGLE to pointers before storing them.
1481         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1482         before using them.
1483
1484 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1485
1486         [BZ #17719]
1487         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1488         define as weak alias of __memrchr.
1489         (__memrchr): Do not define as strong alias of memrchr.
1490         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1491         Remove variable.
1492         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1493         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1494         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1495
1496         [BZ #17717]
1497         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1498         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1499         (if_indextoname): Rename to __if_indextoname and define as weak
1500         alias of __if_indextoname.  Use libc_hidden_weak.
1501         (if_freenameindex): Rename to __if_freenameindex and define as
1502         weak alias of __if_freenameindex.
1503         (if_nameindex): Rename to __if_nameindex and define as weak alias
1504         of __if_nameindex.
1505         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1506         __if_nametoindex and define as weak alias of __if_nametoindex.
1507         Use libc_hidden_weak.
1508         (if_freenameindex): Rename to __if_freenameindex and define as
1509         weak alias of __if_freenameindex.
1510         (if_nameindex): Rename to __if_nameindex and define as weak alias
1511         of __if_nameindex.
1512         (if_indextoname): Rename to __if_indextoname and define as weak
1513         alias of __if_indextoname.  Use libc_hidden_weak.
1514         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1515         __if_nametoindex and define as weak alias of __if_nametoindex.
1516         Use libc_hidden_weak.
1517         (if_freenameindex): Rename to __if_freenameindex and define as
1518         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1519         (if_nameindex_netlink): Use __if_freenameindex instead of
1520         if_freenameindex.
1521         (if_nameindex): Rename to __if_nameindex and define as weak alias
1522         of __if_nameindex.  Use libc_hidden_weak.
1523         (if_indextoname): Rename to __if_indextoname and define as weak
1524         alias of __if_indextoname.  Use libc_hidden_weak.
1525         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1526         libc_hidden_proto.
1527         [!_ISOMAC] (__if_freenameindex): Likewise.
1528         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1529         if_nametoindex.
1530         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1531         variable.
1532         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1533         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1534         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1535         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1536         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1537         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1538         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1539
1540         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1541         Remove variable.
1542         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1543         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1544
1545 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1546
1547         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1548         subscript above bounds'
1549
1550         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1551         bounds.
1552
1553 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1554
1555         * libio/tst-fopenloc.c: Use test-skeleton.c.
1556
1557         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1558         (entry): Rename to ITEM.
1559         (do_test, comp): Adjust.
1560
1561         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1562
1563 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1564
1565         * string/tester.c: Include <libc-internal.h>.
1566         (test_memset): Ignore -Wmemset-transposed-args.
1567
1568 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1569
1570         * misc/tst-mntent2.c (do_test): Fix warning.
1571
1572 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1573
1574         * elf/tst-unique4lib.cc(a): Mark as used.
1575
1576 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1577
1578         [BZ #17630]
1579         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1580         names.
1581
1582 2014-12-16  Allan McRae  <allan@archlinux.org>
1583
1584         * stdio-common/Makefile (tests): Re-add bug26.
1585
1586 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1587
1588         [BZ #17657]
1589         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1590         static array.
1591
1592 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1593
1594         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1595         (__lll_lock_wait): Likewise.
1596         (__lll_timedlock_wait): Likewise.
1597         (__lll_timedwait_tid): Likewise.
1598         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1599         (__lll_robust_timedlock_wait): Likewise.
1600         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1601         (lll_cond_trylock): Likewise.
1602         (__lll_lock): Likewise.
1603         (__lll_robust_lock): Likewise.
1604         (__lll_cond_lock): Likewise.
1605         (lll_robust_cond_lock): Likewise.
1606         (__lll_timedlock): Likewise.
1607         (__lll_robust_timedlock): Likewise.
1608         (__lll_unlock): Likewise.
1609         (__lll_robust_unlock): Likewise.
1610         (lll_wait_tid): Likewise.
1611         (lll_timedwait_tid): Likewise.
1612
1613 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1614
1615         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1616
1617 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1618
1619         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1620
1621 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1622
1623         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1624         * stdio-common/tst-sprintf.c: Likewise.
1625
1626 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1627
1628         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1629
1630 2014-12-15  Jeff Law  <law@redhat.com>
1631
1632         [BZ #16617]
1633         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1634         on the heap.  (CVE-2012-3406)
1635         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1636         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1637         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1638
1639 2014-12-15  Will Newton  <will.newton@linaro.org>
1640
1641         * manual/install.texi: Bump required version of texinfo
1642         to 4.7 from 4.5.
1643         * INSTALL: Regenerated.
1644         * configure.ac: Check for makeinfo version 4.7 and above.
1645         * configure: Regenerated.
1646
1647 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1648
1649         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1650         PREFIX, string constant to insert between directory and name.
1651         * sysdeps/posix/shm_open.c: Update caller.
1652         * sysdeps/posix/shm_unlink.c: Likewise.
1653         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1654         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1655         (SEM_SHM_PREFIX): New macro.
1656         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1657         [$(have-thread-library) = no].
1658         * nptl/Makefile (libpthread-routines): Add shm-directory.
1659         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1660         * sysdeps/nptl/shm-directory.h: New file.
1661         * sysdeps/posix/shm-directory.c
1662         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1663         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1664         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1665         INTERNAL_SYSCALL.
1666         (__where_is_shmfs): Function removed.
1667         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1668         Variables removed.
1669         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1670         Use SHM_GET_NAME.
1671         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1672
1673         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1674         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1675         unconditional for use inside libpthread.
1676         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1677
1678 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1679
1680         * nptl/pthread_getaffinity.c: New file.
1681         * nptl/pthread_setaffinity.c: New file.
1682         * nptl/pthread_getname.c: New file.
1683         * nptl/pthread_setname.c: New file.
1684
1685         * nptl/pthread_create.c (START_THREAD_DEFN)
1686         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1687
1688 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1689             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1690
1691         * resolv/res_send.c (send_vc): Disable warning resplen may
1692         be used uninitialized.
1693
1694 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1695
1696         * nptl/tst-mutex6.c
1697         (ATTR_NULL): New define checks ATTR against NULL.
1698         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1699         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1700
1701 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1702
1703         [BZ #17581]
1704         * malloc/hooks.c
1705         (mem2mem_check): Revert my previous change.
1706         (malloc_check_get_size): Revert my previous change.
1707         (mem2chunk_check): Revert my previous change.
1708
1709 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1710
1711         * sysdeps/posix/shm-directory.c: New file.
1712         * sysdeps/posix/shm-directory.h: New file.
1713         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1714         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1715         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1716         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1717         Transmute EPERM to EACCES.
1718         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1719         from ...
1720         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1721         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1722
1723 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1724
1725         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1726         pointer and cast to uintptr_t.
1727         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1728         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1729         Add cast to avoid warning.
1730         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1731
1732 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1733
1734         * nptl/semaphore.h: Move to ...
1735         * sysdeps/pthread/semaphore.h: ... here.
1736         * Makefile (installed-headers): Change nptl/semaphore.h to
1737         sysdeps/pthread/semaphore.h.
1738
1739 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1740
1741         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1742         generated error format strings.
1743
1744         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1745         -Wformat-extra-args warnings for scanf formats.
1746         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1747         test of zero-length format (duh).
1748         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1749         corner-case scanf format test.
1750         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1751         generated fprintf format string.
1752         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1753         corner-case sprintf format tests.
1754         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1755         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1756         -Wformat-extra-args warnings throughout.
1757         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1758         (CFLAGS-scanf4.c): Likewise.
1759         (CFLAGS-scanf7.c): Likewise.
1760         (CFLAGS-tst-sprintf.c): Likewise.
1761         (CFLAGS-tst-printf.c): Likewise.
1762         (CFLAGS-tst-printfsz.c): Likewise.
1763
1764 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1765
1766         * include/cpio.h: New file.
1767         * include/fmtmsg.h: Likewise.
1768
1769         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1770         corresponding format argument to size_t.
1771         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1772         arguments.
1773         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1774         corresponding format argument to size_t.
1775         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1776         arguments.
1777         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1778         corresponding format argument to size_t.
1779         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1780         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1781         (CFLAGS-tst-mbswcs2.c): Likewise.
1782         (CFLAGS-tst-mbswcs3.c): Likewise.
1783         (CFLAGS-tst-mbswcs4.c): Likewise.
1784         (CFLAGS-tst-mbswcs5.c): Likewise.
1785         (CFLAGS-tst-trans.c): Likewise
1786
1787 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1788
1789         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1790         rather than assuming they won't contain any '%'s.
1791
1792 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1793
1794         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1795         inhibit_loop_to_libcall to avoid recursive calls.
1796         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1797         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1798
1799 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1800
1801         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1802         prototype.
1803
1804 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1805
1806         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1807         integer value instead of boolean.
1808
1809 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1810
1811         * malloc/malloc.c: Fix powerof2 check.
1812
1813 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1814
1815         * locale/programs/locfile.h (maybe_swap_uint32):
1816         Remove inline and add unused attribute.
1817
1818 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1819
1820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1821         Truncating assembler expression to a .long expression.
1822
1823 2014-12-11  Andreas Schwab  <schwab@suse.de>
1824
1825         * elf/rtld.c (struct map_args): Constify str member.
1826         (do_preload): Constify fname argument.
1827
1828 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1829
1830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1831         constants definition.
1832
1833 2014-12-11  Andreas Schwab  <schwab@suse.de>
1834
1835         [BZ #16657]
1836         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1837         FORCE_ELISION instead of DO_ELISION.
1838         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1839         Remove.
1840         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1841         Likewise.
1842
1843         * iconvdata/gconv-modules: Remove duplicate entry.
1844
1845 2014-12-11  Will Newton  <will.newton@linaro.org>
1846
1847         Merge gettext 0.19.3 into intl/.
1848
1849         This involves a number of cosmetic changes to comments
1850         and ANSI function definitions and prototypes throughout
1851         all the files. The gettext copyright header is used but
1852         with the date ranges taken from the glibc copy.
1853
1854         * NEWS: Add gettext merge to 2.21.
1855         * intl/bindtextdom.c: Switch to gettext copyright.
1856         Use ANSI definitions and prototypes.
1857         Use gl_* locking primitives rather than __libc_* ones.
1858         Use __builtin_expect rather than __glibc_likely/unlikely.
1859         * intl/dcgettext.c: Switch to gettext copyright.
1860         Use ANSI definitions and prototypes.
1861         * intl/dcigettext.c: Switch to gettext copyright.
1862         Use ANSI definitions and prototypes.
1863         (INTDIV0_RAISES_SIGFPE): New define.
1864         Use gl_* locking primitives rather than __libc_* ones.
1865         Include eval-plural.h instead of plural-eval.c.
1866         Use __builtin_expect rather than __glibc_likely/unlikely.
1867         * intl/dcngettext.c: Switch to gettext copyright.
1868         Use ANSI definitions and prototypes.
1869         * intl/dgettext.c: Likewise.
1870         * intl/dngettext.c: Likewise.
1871         * intl/plural-eval.c: Renamed to...
1872         * intl/eval-plural.h: ...this.
1873         * intl/explodename.c: Switch to gettext copyright.
1874         Use ANSI definitions and prototypes.
1875         (_nl_explode_name): Use strchr instead of __rawmemchr.
1876         * intl/finddomain.c: Switch to gettext copyright.
1877         Use ANSI definitions and prototypes.
1878         Use gl_* locking primitives rather than __libc_* ones.
1879         (_nl_find_domain): Use malloc rather than alloca for
1880         allocation of temporary locale name.
1881         * intl/gettext.c: Switch to gettext copyright.
1882         Use ANSI definitions and prototypes.
1883         * intl/gettextP.h: Switch to gettext copyright.
1884         Use ANSI definitions and prototypes.
1885         Use gl_* locking primitives rather than __libc_* ones.
1886         * intl/gmo.h: Switch to gettext copyright.
1887         (struct sysdep_string): Move struct segment_pair outside of
1888         struct definition.
1889         * intl/hash-string.c: Use ANSI definitions and prototypes.
1890         * intl/hash-string.h: Switch to gettext copyright.
1891         Use ANSI definitions and prototypes.
1892         * intl/l10nflist.c: Switch to gettext copyright.
1893         Use ANSI definitions and prototypes.
1894         (_nl_normalize_codeset): Avoid integer overflow.
1895         * intl/loadinfo.h: Switch to gettext copyright.
1896         Use ANSI definitions and prototypes.
1897         (LIBINTL_DLL_EXPORTED): New define.
1898         (PATH_SEPARATOR): New define.
1899         * intl/loadmsgcat.c: Switch to gettext copyright.
1900         * intl/localealias.c: Switch to gettext copyright.
1901         Use ANSI definitions and prototypes.
1902         (_nl_expand_alias): Use PATH_SEPARATOR.
1903         * intl/ngettext.c: Switch to gettext copyright.
1904         Use ANSI definitions and prototypes.
1905         * intl/plural-exp.c: Likewise.
1906         * intl/plural-exp.h: Switch to gettext copyright.
1907         Use ANSI definitions and prototypes.
1908         (struct expression): Move definition of enum operator outside
1909         of struct definition.
1910         * intl/plural.c: Regenerate.
1911         * intl/plural.y: Switch to gettext copyright.
1912         Use ANSI definitions and prototypes.
1913         Port to bison 3.0.
1914         * intl/textdomain.c: Switch to gettext copyright.
1915         Use ANSI definitions and prototypes.
1916         Use gl_* locking primitives rather than __libc_* ones.
1917
1918 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1919
1920         * debug/warning-nop.c: Add used atrribute.
1921
1922 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1923
1924         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1925
1926         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1927         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1928         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1929
1930 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1932
1933         [BZ #17634]
1934         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1935         Undefine after defining function.  Define as weak alias of
1936         __wcschr.  Use libc_hidden_weak.
1937         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1938         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1939         (libc_hidden_def): Also define __GI___wcschr alias.
1940         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1941         __wcschr and define as weak alias of __wcschr.
1942         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1943         __wcschr.
1944         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1945         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1946         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1947         libc_hidden_weak.  Do not use libc_hidden_def.
1948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1949         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1950         __GI___wcschr alias.
1951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1952         [IS_IN (libc)] (wcschr): Define as macro expanding to
1953         __redirect_wcschr.
1954         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1955         [IS_IN (libc)] (__wcschr_power6): Likewise.
1956         [IS_IN (libc)] (__wcschr_power7): Likewise.
1957         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1958         instead of wcschr.
1959         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1960         __libc_wcschr.
1961         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1963         __wcschr and define as weak alias of __wcschr.  Use
1964         libc_hidden_builtin_def.
1965         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1966         as weak alias of __wcschr.  Use libc_hidden_weak.
1967         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1968         wcschr.
1969         * time/era.c (_nl_init_era_entries): Likewise.
1970         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1971         variable.
1972         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1973         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1974
1975 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1976
1977         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1978         format for long int variable.
1979
1980 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1981
1982         [BZ #10672]
1983         * manual/search.texi: (Array Sort Function): Remove claim how to make
1984         qsort stable.
1985
1986 2014-12-10  Andreas Schwab  <schwab@suse.de>
1987
1988         [BZ #12847]
1989         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1990         user-controlled locks.
1991
1992 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1993
1994         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1995         register.
1996
1997 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1998
1999         * configure.ac (--disable-werror): New configure option.
2000         (enable_werror): New AC_SUBST.
2001         * configure: Regenerated.
2002         * config.make.in (enable-werror): New variable.
2003         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2004         -Wno-error=undef.
2005         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2006         * manual/install.texi (Configuring and compiling): Document
2007         --disable-werror.
2008         * INSTALL: Regenerated.
2009         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2010         (CFLAGS-tst-chk2.c): Likewise.
2011         (CFLAGS-tst-chk3.c): Likewise.
2012         (CFLAGS-tst-chk4.cc): Likewise.
2013         (CFLAGS-tst-chk5.cc): Likewise.
2014         (CFLAGS-tst-chk6.cc): Likewise.
2015         (CFLAGS-tst-lfschk1.c): Likewise.
2016         (CFLAGS-tst-lfschk2.c): Likewise.
2017         (CFLAGS-tst-lfschk3.c): Likewise.
2018         (CFLAGS-tst-lfschk4.cc): Likewise.
2019         (CFLAGS-tst-lfschk5.cc): Likewise.
2020         (CFLAGS-tst-lfschk6.cc): Likewise.
2021
2022         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2023         (main): Disable -Wdeprecated-declarations around calls to
2024         register_printf_function.
2025
2026         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2027         (do_test): Disable -Wdiv-by-zero around some calls to
2028         fwrite_unlocked and fread_unlocked.
2029
2030         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2031         (DIAG_POP_NEEDS_COMMENT): Likewise.
2032         (_DIAG_STR1): Likewise.
2033         (_DIAG_STR): Likewise.
2034         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2035         * stdio-common/bug21.c: Include <libc-internal.h>.
2036         (do_test): Disable -Wformat around call to sscanf.
2037         * stdio-common/scanf14.c: Include <libc-internal.h>.
2038         (main): Disable -Wformat around some calls to scanf functions.
2039
2040 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2041
2042         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2043
2044 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2045
2046         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2047         stack variable alignment.
2048
2049 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2050
2051         [BZ #17682]
2052         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2053         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2054         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2055         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2056         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2057         __getrlimit instead of getrlimit.
2058         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2059         __gettimeofday instead of gettimeofday.
2060         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2061         Likewise.
2062         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2063         Likewise.
2064         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2065         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2066         Remove variable.
2067         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2068         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2069
2070 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2071
2072         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2073         for wide-character tests.
2074
2075 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2076
2077         * io/openat64.c: #include <libc-internal.h>
2078         (__openat64): Prototypify.  Use ignore_value on MODE.
2079         * io/openat.c: Likewise.
2080         * misc/reboot.c: #include <libc-internal.h>
2081         (reboot): Prototypify.  Use ignore_value on HOWTO.
2082         * misc/ptrace.c: #include <libc-internal.h>
2083         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2084
2085 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2086
2087         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2088         XPG4, UNIX98 and XOPEN2K.
2089         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2090         Remove variable.
2091         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2092
2093 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2094
2095         * libio/fileops.c: Use ISO C style for function definitions.
2096         * libio/iofopen.c: Likewise.
2097         * libio/wfileops.c: Likewise.
2098
2099         [BZ #17653]
2100         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2101         offset on EOF.
2102         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2103         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2104         (fgets_func): Function pointer to fgets and fgetws.
2105         (do_ftell_test): Add test to verify ftell value after read
2106         EOF.
2107         (do_test): Set fgets_func.
2108
2109         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2110         O_TRUNC flag for w and w+ modes.
2111         (do_rewind_test): Likewise.
2112         (do_ftell_test): Likewise.
2113         (do_write_test): Likewise.
2114
2115         [BZ #17647]
2116         * libio/fileops.c (do_ftell): Seek only when there are
2117         unflushed writes.
2118         * libio/wfileops.c (do_ftell_wide): Likewise.
2119         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2120         test case.
2121         (do_one_test): Call it.
2122
2123 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2124
2125         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2126         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2127         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2128         Remove variable.
2129         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2130         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2131         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2132
2133 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2134
2135         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2136         Remove variable.
2137         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2138
2139         [BZ #17668]
2140         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2141         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2142         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2143         __freeifaddrs.  Use libc_hidden_weak.
2144         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2145         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2146         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2147         __freeifaddrs.  Use libc_hidden_weak.
2148         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2149         __getifaddrs and define as weak alias of __getifaddrs.  Use
2150         libc_hidden_weak.
2151         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2152         __freeifaddrs.  Use libc_hidden_weak.
2153         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2154         Remove variable.
2155         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2156         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2157
2158 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2159
2160         [BZ #17601]
2161         * sysdeps/mips/start.S (__start): Use indirect jump to call
2162         __libc_start_main.
2163
2164 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2165
2166         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2167
2168         * nptl/tst-mutex1.c: Include <stdbool.h>.
2169         [!ATTR] (ATTR_NULL): New macro.
2170         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2171         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2172         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2173
2174         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2175         to char *.
2176
2177         [BZ #17665]
2178         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2179         Change conditional to [__USE_MISC].
2180
2181         [BZ #17664]
2182         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2183         fgets_unlocked.
2184         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2185         __fgets_unlocked.
2186         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2187         fgets_unlocked.
2188         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2189         Remove variable.
2190         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2191         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2192         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2193         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2194         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2195         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2196         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2197         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2198         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2199
2200         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2201
2202 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2203
2204         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2205         Remove strpbrk objects.
2206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2207         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2208         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2209         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2210         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2211         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2212
2213         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2214         Remove strcspn objects.
2215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2216         (__libc_ifunc_impl_list): Remove strcspn implementation.
2217         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2218         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2219         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2220         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2221
2222         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2223         Remove strspn objetcs.
2224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2225         (__libc_ifunc_impl_list): Remove strspn implementation.
2226         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2227         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2228         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2229         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2230
2231 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2232
2233         [BZ #17581]
2234         * malloc/hooks.c
2235         (mem2mem_check): Add a terminator to the chain of checking blocks.
2236         (malloc_check_get_size): Use it here.
2237         (mem2chunk_check): Ditto.
2238
2239 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2240
2241         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2242         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2243
2244 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2245
2246         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2247
2248         * nptl/nptl-init.c: Include libc-internal.h.
2249         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2250
2251         * elf/ldconfig.c (search_dir): Expand comment.
2252
2253 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2254
2255         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2256         variable.
2257         (linknamespace-symlist-stdlibs-tests): Likewise.
2258         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2259         instead of $(objpfx)symlist-stdlibs.
2260         (linknamespace-libs-isoc): New variable.
2261         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2262         (linknamespace-libs-ISO): New variable.
2263         (linknamespace-libs-ISO99): Likewise.
2264         (linknamespace-libs-ISO11): Likewise.
2265         (linknamespace-libs-XPG3): Likewise.
2266         (linknamespace-libs-XPG4): Likewise.
2267         (linknamespace-libs-POSIX): Likewise.
2268         (linknamespace-libs-UNIX98): Likewise.
2269         (linknamespace-libs-XOPEN2K): Likewise.
2270         (linknamespace-libs-POSIX2008): Likewise.
2271         (linknamespace-libs-XOPEN2K8): Likewise.
2272         ($(objpfx)symlist-stdlibs): Replace by
2273         $(linknamespace-symlist-stdlibs-tests).  Use
2274         $(linknamespace-libs-$*) as set of libraries.
2275         ($(linknamespace-header-tests)): Update dependencies.  Use
2276         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2277         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2278         * conform/linknamespace.pl: Remove comment about considering
2279         definitions of symbols from irrelevant libraries.
2280
2281 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2282
2283         [BZ #13862]
2284         * elf/dl-tls.c: Include <atomic.h>.
2285         (oom): Remove #ifdef SHARED/#endif.
2286         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2287         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2288         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2289         big enough.
2290         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2291         * nptl/Makefile (tests): Add tst-stack4.
2292         (modules-names): Add tst-stack4mod.
2293         ($(objpfx)tst-stack4): New.
2294         (tst-stack4mod.sos): Likewise.
2295         ($(objpfx)tst-stack4.out): Likewise.
2296         ($(tst-stack4mod.sos)): Likewise.
2297         (clean): Likewise.
2298         * nptl/tst-stack4.c: New file.
2299         * nptl/tst-stack4mod.c: Likewise.
2300
2301 2014-11-27  J. Brown  <jb999@gmx.de>
2302
2303         * sysdeps/x86/bits/string.h: Add recent CPUs.
2304
2305 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2306
2307         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2308         sigblock.
2309
2310         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2311         feof.
2312
2313         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2314         variable.
2315
2316 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2317
2318         * nscd/connections.c: Include libc-internal.h because of macro
2319         usage ignore_value.
2320
2321 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2322
2323         * string/bits/string3.h (__warn_memset_zero_len): Don't
2324         declare for gcc newer than 5.0.
2325         (memset): Don't test for zero-length __LEN for gcc newer than
2326         5.0.
2327
2328 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2329
2330         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2331         size_t for %zu format.
2332
2333         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2334         difference, not %ju.
2335
2336 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2337
2338         * include/libc-internal.h (ignore_value): New macro.
2339         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2340         with ignore_value.
2341
2342         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2343         definition.
2344
2345         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2346         pthread_cleanup_push to void *.
2347
2348         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2349         Undefine.
2350
2351         [BZ #16619]
2352         [BZ #16740]
2353         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2354         instead of 1L << 52.
2355
2356         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2357         * libio/bug-rewind2.c (do_test): Likewise.
2358
2359         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2360         * debug/test-strcpy_chk-ifunc.c: Likewise.
2361         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2362         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2363         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2364         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2365         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2366         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2367         * Rules [$(multi-arch) = no] (tests): Do not filter out
2368         $(tests-ifunc).
2369         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2370         * debug/Makefile (tests-ifunc): Remove variable.
2371         (tests): Do not add $(tests-ifunc).
2372         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2373         (tests): Do not add $(tests-ifunc).
2374         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2375         [TEST_IFUNC]: Remove conditionals.
2376         * string/test-string.h (TEST_IFUNC): Remove macro.
2377         [TEST_IFUNC]: Remove conditionals.
2378
2379         * string/test-strchr.c [!WIDE] (L): New macro.
2380         [WIDE] (L): Likewise.
2381         (check1): Use CHAR instead of char.  Use L on string and character
2382         constants.
2383
2384 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2385
2386         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2387         tests.
2388         * sysdeps/powerpc/bits/atomic.h
2389         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2390         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2391         (atomic_exchange_and_add_acq): Likewise.
2392         (atomic_exchange_and_add_rel): Likewise.
2393         * sysdeps/powerpc/powerpc32/bits/atomic.h
2394         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2395         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2396         * sysdeps/powerpc/powerpc64/bits/atomic.h
2397         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2398         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2399
2400 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2401
2402         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2403         Change synchronization of __sched_fifo_min_prio and
2404         __sched_fifo_max_prio.
2405         * nptl/pthread_mutexattr_getprioceiling.c
2406         (pthread_mutexattr_getprioceiling): Likewise.
2407         * nptl/pthread_mutexattr_setprioceiling.c
2408         (pthread_mutexattr_setprioceiling): Likewise.
2409         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2410         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2411         Likewise.
2412
2413 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2414
2415         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2416         void.
2417
2418 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2419
2420         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2421         third argument const.
2422
2423 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2424
2425         fnmatch: work around GCC compiler warning bug with uninit var
2426         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2427         This works around a bug with x86-64 GCC 4.9.2 and earlier
2428         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2429         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2430         used uninitialized in this function [-Wmaybe-uninitialized]".
2431
2432 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2433
2434         * posix/bug-regex31.c (main): Return RES not 0.
2435
2436 2014-11-25  Anton Blanchard <anton@samba.org>
2437
2438         * sysdeps/powerpc/bits/atomic.h
2439         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2440
2441 2014-11-24  Sterling Augustine  <saugustine@google.com>
2442
2443         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2444
2445 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2446
2447         [BZ #17608]
2448         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2449
2450 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2451
2452         [BZ #17633]
2453         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2454         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2455         variable.
2456         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2457         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2458
2459 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2460
2461         * string/strncpy.c (strncpy): Improve performance by using memset.
2462
2463 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2464
2465         * string/strcpy.c (strcpy):
2466         Improve performance by using strlen and memcpy.
2467
2468 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2469
2470         * string/strcoll_l.c (get_next_seq): __always_inline.
2471         * string/strcoll_l.c (do_compare): __always_inline.
2472
2473 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2474
2475         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2476         defined.
2477         * include/mqueue.h: Likewise.
2478         * include/stdlib.h: Likewise.
2479
2480         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2481         (get_null_defines): Adjust.
2482         * sunrpc/Makefile: Adjust comment.
2483         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2484         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2485         (CFLAGS-interp.c): Likewise.
2486         (CFLAGS-ldconfig.c): Likewise.
2487         (CPPFLAGS-.os): Likewise.
2488         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2489         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2490         * extra-modules.mk (extra-modules.mk): Likewise.
2491         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2492         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2493         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2494         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2495         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2496         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2497         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2498         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2499         * iconvdata/Makefile (CPPFLAGS): Likewise.
2500         (cpp-srcs-left): Add libof for all iconvdata routines.
2501         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2502         * include/assert.h: Likewise.
2503         * include/ctype.h: Likewise.
2504         * include/errno.h: Likewise.
2505         * include/libc-symbols.h: Likewise.
2506         * include/math.h: Likewise.
2507         * include/netdb.h: Likewise.
2508         * include/resolv.h: Likewise.
2509         * include/stdio.h: Likewise.
2510         * include/stdlib.h: Likewise.
2511         * include/string.h: Likewise.
2512         * include/sys/stat.h: Likewise.
2513         * include/wctype.h: Likewise.
2514         * intl/l10nflist.c: Likewise.
2515         * libidn/idn-stub.c: Likewise.
2516         * libio/libioP.h: Likewise.
2517         * nptl/libc_multiple_threads.c: Likewise.
2518         * nptl/pthreadP.h: Likewise.
2519         * posix/regex_internal.h: Likewise.
2520         * resolv/res_hconf.c: Likewise.
2521         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2522         * sysdeps/arm/memmove.S: Likewise.
2523         * sysdeps/arm/sysdep.h: Likewise.
2524         * sysdeps/generic/_itoa.h: Likewise.
2525         * sysdeps/generic/symbol-hacks.h: Likewise.
2526         * sysdeps/gnu/errlist.awk: Likewise.
2527         * sysdeps/gnu/errlist.c: Likewise.
2528         * sysdeps/i386/i586/memcpy.S: Likewise.
2529         * sysdeps/i386/i586/memset.S: Likewise.
2530         * sysdeps/i386/i686/memcpy.S: Likewise.
2531         * sysdeps/i386/i686/memmove.S: Likewise.
2532         * sysdeps/i386/i686/mempcpy.S: Likewise.
2533         * sysdeps/i386/i686/memset.S: Likewise.
2534         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2535         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2536         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2537         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2538         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2539         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2540         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2541         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2542         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2544         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2545         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2546         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2547         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2548         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2549         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2550         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2551         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2552         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2553         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2554         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2555         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2556         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2557         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2558         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2559         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2560         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2561         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2562         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2563         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2564         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2565         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2566         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2567         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2568         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2570         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2571         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2572         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2573         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2574         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2575         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2576         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2577         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2578         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2579         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2580         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2581         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2583         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2584         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2585         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2586         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2587         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2588         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2589         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2591         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2592         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2593         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2594         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2595         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2596         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2597         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2598         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2599         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2600         * sysdeps/posix/closedir.c: Likewise.
2601         * sysdeps/posix/opendir.c: Likewise.
2602         * sysdeps/posix/readdir.c: Likewise.
2603         * sysdeps/posix/rewinddir.c: Likewise.
2604         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2605         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2606         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2607         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2608         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2609         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2610         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2611         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2612         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2615         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2616         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2617         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2618         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2619         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2620         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2621         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2622         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2623         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2625         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2626         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2627         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2628         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2629         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2630         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2632         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2639         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2640         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2641         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2642         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2643         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2644         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2645         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2646         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2647         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2648         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2649         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2650         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2651         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2652         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2653         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2654         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2655         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2656         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2658         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2660         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2661         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2662         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2663         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2664         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2665         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2666         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2667         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2668         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2669         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2670         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2671         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2672         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2673         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2676         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2677         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2678         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2679         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2680         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2681         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2682         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2683         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2684         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2685         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2688         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2689         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2690         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2691         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2692         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2693         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2694         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2695         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2696         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2698         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2699         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2700         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2702         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2703         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2704         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2705         * sysdeps/unix/alpha/sysdep.S: Likewise.
2706         * sysdeps/unix/alpha/sysdep.h: Likewise.
2707         * sysdeps/unix/make-syscalls.sh: Likewise.
2708         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2710         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2711         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2712         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2713         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2714         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2715         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2716         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2717         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2719         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2721         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2722         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2723         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2724         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2725         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2726         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2727         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2728         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2729         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2730         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2731         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2732         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2733         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2737         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2738         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2739         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2742         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2745         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2746         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2747         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2748         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2749         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2750         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2751         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2752         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2753         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2755         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2758         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2759         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2760         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2761         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2762         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2763         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2764         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2766         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2767         * sysdeps/x86_64/memcpy.S: Likewise.
2768         * sysdeps/x86_64/memmove.c: Likewise.
2769         * sysdeps/x86_64/memset.S: Likewise.
2770         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2771         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2772         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2773         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2774         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2775         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2776         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2777         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2778         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2779         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2780         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2781         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2782         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2783         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2784         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2785         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2786         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2787         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2788         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2789         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2790         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2791         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2792         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2793         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2794         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2795         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2796         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2797         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2798         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2799         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2800         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2801         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2802         * sysdeps/x86_64/strcmp.S: Likewise.
2803
2804         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2805
2806         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2807         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2808         * elf/rtld-Rules: Likewise.
2809         * elf/setup-vdso.h: Likewise.
2810         * include/assert.h: Likewise.
2811         * include/bits/stdlib-float.h: Likewise.
2812         * include/errno.h: Likewise.
2813         * include/sys/stat.h: Likewise.
2814         * include/unistd.h: Likewise.
2815         * sysdeps/aarch64/setjmp.S: Likewise.
2816         * sysdeps/alpha/setjmp.S: Likewise.
2817         * sysdeps/arm/__longjmp.S: Likewise.
2818         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2819         * sysdeps/arm/setjmp.S: Likewise.
2820         * sysdeps/arm/sysdep.h: Likewise.
2821         * sysdeps/generic/_itoa.h: Likewise.
2822         * sysdeps/generic/dl-sysdep.h: Likewise.
2823         * sysdeps/generic/ldsodefs.h: Likewise.
2824         * sysdeps/i386/dl-tls.h: Likewise.
2825         * sysdeps/i386/setjmp.S: Likewise.
2826         * sysdeps/m68k/setjmp.c: Likewise.
2827         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2828         * sysdeps/mach/hurd/opendir.c: Likewise.
2829         * sysdeps/posix/getcwd.c: Likewise.
2830         * sysdeps/posix/opendir.c: Likewise.
2831         * sysdeps/posix/profil.c: Likewise.
2832         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2833         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2834         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2835         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2836         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2837         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2838         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2839         * sysdeps/s390/dl-tls.h: Likewise.
2840         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2841         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2842         * sysdeps/sh/sh3/setjmp.S: Likewise.
2843         * sysdeps/sh/sh4/setjmp.S: Likewise.
2844         * sysdeps/unix/alpha/sysdep.h: Likewise.
2845         * sysdeps/unix/arm/sysdep.S: Likewise.
2846         * sysdeps/unix/i386/sysdep.S: Likewise.
2847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2848         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2849         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2850         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2852         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2853         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2854         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2855         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2856         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2857         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2858         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2859         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2862         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2864         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2865         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2866         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2867         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2870         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2871         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2872         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2874         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2875         * sysdeps/x86_64/setjmp.S: Likewise.
2876
2877         * include/math.h: Use IS_IN instead of IS_IN_libm.
2878         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2890         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2898         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2899         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2900         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2901         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2902         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2903         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2904         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2905         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2906         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2907         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2908         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2909         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2910         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2912         Likewise.
2913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2914         Likewise.
2915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2916         Likewise.
2917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2918         Likewise.
2919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2920         Likewise.
2921         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2922         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2923         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2924         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2925         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2926         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2932         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2933         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2934         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2935         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2936         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2937         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2938         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2939         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2940         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2941         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2942         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2943         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2945         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2947         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2948
2949         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2950         * nptl/pthreadP.h: Likewise.
2951         * nptl_db/structs.def: Likewise.
2952         * sysdeps/arm/sysdep.h: Likewise.
2953         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2954         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2955         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2956         * sysdeps/unix/alpha/sysdep.h: Likewise.
2957         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2958         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2959         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2960         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2961         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2962         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2964         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2965         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2966         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2967         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2968         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2969         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2970         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2975         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2976         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2978         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2979         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2980         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2981         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2982         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2983
2984         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2985         * nptl/pthreadP.h: Likewise.
2986         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2987         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2988         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2989         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2990         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2991         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2992         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2993         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2994         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2995         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2996         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2997         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2999         Likewise.
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3001         Likewise.
3002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3004         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3007         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3008         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3009         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3010
3011         * dlfcn/dladdr.c: Use IS_IN.
3012         * dlfcn/dladdr1.c: Likewise.
3013         * dlfcn/dlclose.c: Likewise.
3014         * dlfcn/dlerror.c: Likewise.
3015         * dlfcn/dlinfo.c: Likewise.
3016         * dlfcn/dlmopen.c: Likewise.
3017         * dlfcn/dlopen.c: Likewise.
3018         * dlfcn/dlsym.c: Likewise.
3019         * dlfcn/dlvsym.c: Likewise.
3020
3021         * include/ifaddrs.h: Use IS_IN.
3022         * inet/check_pf.c: Likewise.
3023         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3024         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3025
3026         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3027         IS_IN_ldconfig.
3028         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3029         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3030
3031         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3032         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3033         IS_IN (libc).
3034
3035         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3036
3037         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3038         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3039         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3040         * include/libc-symbols.h (IS_IN_LIB): New macro.
3041         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3042         * include/netdb.h: Likewise.
3043         * include/stap-probe.h: Remove all uses of IN_LIB.
3044
3045         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3046         instead of IN_MODULE.
3047         * include/libc-symbols.h (IN_MODULE): Define using
3048         MODULE_NAME.
3049         (PASTE_NAME, PASTE_NAME1): New macros.
3050         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3051         of IN_LIB.
3052         (STAP_PROBE_ASM): Likewise.
3053
3054 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3055
3056         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3057         __mach_init in dlopened libc.
3058
3059 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3060
3061         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3062         * sysdeps/arm/preconfigure: Regenerate.
3063
3064 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3065
3066         * nptl/pthread_create.c (__pthread_create_2_1): Set
3067         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3068         when copying values from IATTR into PD.
3069
3070 2014-11-21  Will Newton  <will.newton@linaro.org>
3071             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3072
3073         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3074         Refactor inline-asm.  Also add comment.
3075
3076         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3077         ElfW macro instead of hardcoded Elf64 types.
3078         (la_aarch64_gnu_pltenter): Likewise.
3079         * sysdeps/aarch64/dl-machine.h
3080         (elf_machine_runtime_setup): Use ElfW(Addr).
3081
3082         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3083         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3084         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3085         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3086         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3087         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3088         (R_AARCH64_TLS_DTPMOD): This.
3089         (R_AARCH64_TLS_DTPREL64): Rename to ...
3090         (R_AARCH64_TLS_DTPREL): This.
3091         (R_AARCH64_TLS_TPREL64): Rename to ...
3092         (R_AARCH64_TLS_TPREL): This.
3093         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3094         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3095         R_AARCH64_TLS_TPREL64.
3096         (elf_machine_rela): Likewise.
3097
3098 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3099
3100         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3101         by setting it to 0.  64b atomics are not supported currently.
3102
3103 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3104
3105         [BZ #16469]
3106         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3107         search domain names.
3108
3109 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3110
3111         [BZ #16469]
3112         * NEWS: Update.
3113         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3114         trailing dot.
3115         * posix/tst-getaddrinfo5.c: New.
3116         * posix/Makefile (tests): Add it.
3117
3118 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3119
3120         [BZ #14498]
3121         * NEWS: Fixed.
3122         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3123         after parsing line but before break_if_match.
3124         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3125         if there is a protocol mismatch.
3126
3127 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3128
3129         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3130         because the potential race is on the user-supplied stream.
3131
3132 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3133
3134         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3135         string literal if not passed a buffer.
3136         * manual/job.texi (ctermid): Update reasoning, note deviation
3137         from posix, suggest mtasurace when not passed a buffer, for
3138         future non-preliminary safety notes.
3139
3140 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3141
3142         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3143         of not passing it a buffer.
3144         Reported by Peng Haitao.
3145
3146 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3147
3148         * manual/Makefile ($(objpfx)stamp-summary): Require
3149         check-safety.sh to pass.
3150         * manual/check-safety.sh: Wish for verification that every
3151         @deftypefn and @deftypefun is followed by a @safety remark.
3152
3153 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3154
3155         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3156
3157         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3158         PTHREAD_CANCEL_ASYNCHRONOUS.
3159         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3160         send SIGCANCEL.
3161
3162         * nptl/default-sched.h: New file.
3163         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3164         * nptl/pthread_create.c: Include it.
3165         (__pthread_create_2_1): Use collect_default_sched instead of making
3166         Linux syscalls here directly.
3167
3168 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3169
3170         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3171         __pthread_once): Use C11 atomics.
3172
3173 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3174
3175         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3176
3177 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3178
3179         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3180         atomic_thread_fence_acquire, atomic_thread_fence_release,
3181         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3182         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3183         atomic_compare_exchange_weak_relaxed,
3184         atomic_compare_exchange_weak_acquire,
3185         atomic_compare_exchange_weak_release,
3186         atomic_exchange_acquire, atomic_exchange_release,
3187         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3188         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3189         atomic_fetch_and_acquire,
3190         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3191
3192 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3193
3194         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3195         USE_ATOMIC_COMPILER_BUILTINS): Define.
3196         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3198         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3199         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3200         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3202         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3204         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3206         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3208         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3210         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3212         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3214         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3216         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3218         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3220         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3222         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3224         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3226         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3228         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3230         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3231         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3232         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3234         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3236
3237 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3238
3239         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3240         the sched_priority value here.  It was already checked when the user
3241         called pthread_attr_setschedparam.
3242
3243         * nptl/tst-bad-schedattr.c: New file.
3244         * nptl/Makefile (tests): Add it.
3245
3246 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3247             Florian Weimer  <fweimer@redhat.com>
3248             Joseph Myers  <joseph@codesourcery.com>
3249             Adam Conrad  <adconrad@0c3.net>
3250             Andreas Schwab  <schwab@suse.de>
3251             Brooks  <bmoses@google.com>
3252
3253         [BZ #17625]
3254         * wordexp-test.c (__dso_handle): Add prototype.
3255         (__register_atfork): Likewise.
3256         (__app_register_atfork): New function.
3257         (registered_forks): New global.
3258         (register_fork): New function.
3259         (test_case): Add 3 new tests for WRDE_CMDSUB.
3260         (main): Call __app_register_atfork.
3261         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3262         fork count is non-zero fail the test.
3263         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3264         is set.
3265         (parse_dollars): Remove check for WRDE_NOCMD.
3266         (parse_dquote): Likewise.
3267
3268 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3269
3270         * Makeconfig (built-modules): List non-library modules to be
3271         built.
3272         (module-cppflags): Include libc-modules.h for
3273         everything except shlib-versions.v.i.
3274         (CPPFLAGS): Use it.
3275         (before-compile): Add libc-modules.h.
3276         ($(common-objpfx)libc-modules.h,
3277         $(common-objpfx)libc-modules.stmp): New targets.
3278         (common-generated): Add libc-modules.h and libc-modules.stmp.
3279         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3280         * include/libc-symbols.h: Don't include libc-modules.h.
3281         * include/libc-modules.h: Remove file.
3282         * scripts/gen-libc-modules.awk: New script to generate
3283         libc-modules.h.
3284         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3285         Depend on libc-modules.stmp.
3286
3287         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3288
3289         * Makeconfig (in-module): Get value of libof set for the
3290         translation unit.
3291         (CPPFLAGS): Use $(in-module).
3292         * Makerules: Don't suffix routine names for nonlib.
3293         * include/libc-modules.h: New file.
3294         * include/libc-symbols.h: Include libc-modules.h
3295         (IS_IN): New macro to replace IS_IN_* macros.
3296         * elf/Makefile: Set libof-* for each routine.
3297         * elf/rtld-Rules: Likewise.
3298         * extra-modules.mk: Likewise.
3299         * iconv/Makefile: Likewise.
3300         * iconvdata/Makefile: Likewise.
3301         * locale/Makefile: Likewise.
3302         * malloc/Makefile: Likewise.
3303         * nss/Makefile: Likewise.
3304         * sysdeps/gnu/Makefile: Likewise.
3305         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3306         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3307         * sysdeps/s390/s390-64/Makefile: Likewise.
3308         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3309         CPPFLAGS for nscd instead of nonlib.
3310
3311 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3312
3313         * nptl/createthread.c: New file.
3314
3315         * nptl/createthread.c: Moved ...
3316         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3317
3318         * nptl/createthread.c: Add proper top-line comment.
3319         (do_clone): Folded into ...
3320         (create_thread): ... here.  Take new arguments STOPPED_START and
3321         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3322         increment __nptl_threads, do event-reporting logic, do
3323         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3324         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3325         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3326         just send SIGCANCEL.
3327         * nptl/pthread_create.c: Forward-declare create_thread before
3328         including createthread.c.
3329         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3330         declaration, and new macro START_THREAD_SELF to replace argument.
3331         Remove return statement.
3332         (report_thread_creation): New function.
3333         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3334         synchronization logic, and __nptl_nthreads increment here, around
3335         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3336         PD->parent_cancelhandling here, before create_thread.  When
3337         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3338         __deallocate_stack, and ENOMEM translation here.
3339
3340 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3341
3342         [BZ #17616]
3343         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3344         (mptwo): Rename to __mptwo.
3345         (__inv): Use __mptwo instead of mptwo.
3346         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3347         (mptwo): Rename to __mptwo.
3348         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3349         of mpone and __mptwo instead of mptwo.
3350         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3351         instead of mpone.
3352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3353         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3354         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3355         of mpone and __mptwo instead of mptwo.
3356         (__mpranred): Use __mpone instead of mpone.
3357         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3358         variable.
3359         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3360         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3361         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3362         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3363         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3364         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3365         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3366         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3367         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3368         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3369         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3370         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3371         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3372         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3373         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3374         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3375         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3376         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3377         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3378
3379 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3380
3381         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3382         replace BSD Handler xref with BSD Signal Handling.
3383
3384 2014-11-17  Richard Henderson  <rth@redhat.com>
3385
3386         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3387         (_FP_PACK_RAW_2): Remove.
3388         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3389         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3390         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3391         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3392         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3393         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3394         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3395         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3396         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3397         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3398         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3399         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3400         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3401         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3402         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3403         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3404
3405 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3406
3407         * signal/signal.h [__USE_MISC]
3408         (struct sigvec): Remove type.
3409         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3410         (sigvec): Remove declaration.
3411         * sysdeps/posix/sigvec.c: Moved ...
3412         * signal/sigvec.c: ... here, replacing old file.
3413         (struct sigvec): New type, copied from old signal.h definition.
3414         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3415         (__sigvec): Convert definition to prototype.
3416         (sigvec): Replace weak_alias with compat_symbol.
3417         * signal/Versions (libc: GLIBC_2.21): New version set.
3418         * include/signal.h: Remove __sigvec declaration.
3419         * sysdeps/unix/bsd/sigvec.c: Remove file.
3420         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3421         * manual/signal.texi (BSD Handler): Remove subsection.
3422         Move siginterrupt up to ...
3423         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3424         (Blocking in BSD): Fold subsection into its parent.
3425         * NEWS: Mention sigvec removal.
3426
3427 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3428
3429         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3430         (DLA_FMS): Make definition conditional only on [__FMA4__].
3431         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3432         definition.
3433
3434         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3435         Make definition conditional only on [PROF].
3436         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3437         definition.
3438         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3439         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3440
3441         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3442         !__GNUC__].
3443         * include/signal.h (__sigpause): Move declaration above call to
3444         libc_hidden_proto.
3445         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3446         variable.
3447         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3448         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3449
3450 2014-11-14  David S. Miller  <davem@davemloft.net>
3451
3452         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3453         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3454
3455 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3456
3457         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3458         * configure: Regenerated.
3459         * manual/install.texi (Tools for Compilation): Document a
3460         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3461         compiler verified to work.
3462         * INSTALL: Regenerated.
3463
3464         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3465         redeclare with asm name.
3466         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3467         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3468         including <string.h>.
3469         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3470         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3471         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3472         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3473         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3475         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3476
3477 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3478
3479         * stdlib/strtol.c (__strtol): Use prototype definition.
3480
3481         [BZ #17594]
3482         * stdlib/strtol.c (SYM__): New macro.
3483         (SYM__1): Likewise.
3484         (__strtol): Likewise.
3485         (strtol): Rename to __strtol and define as weak alias of
3486         __strtol.  Use libc_hidden_weak.
3487
3488 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3489
3490         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3491         Use numbered labels in inline assembly.
3492
3493 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3494
3495         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3496         Add setjmp LIBC_PROBE.
3497         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3498         Likewise.
3499         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3500         Add longjmp, longjmp_target LIBC_PROBE.
3501         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3502         Likewise.
3503
3504 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3505
3506         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3507         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3508         to get rid of unused variable warning.
3509
3510 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3511
3512         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3513         Check for unwind_backtrace ==  NULL only in SHARED case.
3514         (__backchain_backtrace): Compile only in SHARED case.
3515         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3516         Likewise.
3517         (__backchain_backtrace): Declare as static.
3518
3519 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3520
3521         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3522         (__libc_multiple_threads_ptr): Variable moved ...
3523         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3524
3525 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3526
3527         * conform/GlibcConform.pm: New file.
3528         * conform/conformtest.pl: Use GlibcConform module.
3529         * conform/linknamespace.pl: New file.
3530         * conform/list-header-symbols.pl: Likewise.
3531         * conform/Makefile (linknamespace-symlists-base): New variable.
3532         (linknamespace-symlists-tests): Likewise.
3533         (linknamespace-header-base): Likewise.
3534         (linknamespace-header-tests): Likewise.
3535         (tests-special): Add new tests.
3536         ($(linknamespace-symlists-tests)): New rule.
3537         (linknamespace-libs): New variable.
3538         ($(objpfx)symlist-stdlibs): New rule.
3539         ($(linknamespace-header-tests)): Likewise.
3540         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3541         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3542         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3543         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3544         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3545         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3546         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3547         (test-xfail-ISO/math.h/linknamespace): Likewise.
3548         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3549         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3550         (test-xfail-ISO/time.h/linknamespace): Likewise.
3551         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3552         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3553         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3554         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3555         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3556         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3557         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3558         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3559         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3560         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3561         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3562         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3563         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3564         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3565         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3566         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3567         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3568         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3569         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3570         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3571         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3572         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3573         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3574         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3575         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3576         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3577         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3578         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3579         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3580         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3581         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3582         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3583         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3584         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3585         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3586         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3587         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3588         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3589         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3590         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3591         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3592         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3593         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3594         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3595         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3596         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3597         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3598         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3599         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3600         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3601         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3602         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3603         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3604         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3605         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3606         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3607         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3608         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3609         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3610         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3611         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3612         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3613         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3614         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3615         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3616         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3617         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3618         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3619         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3620         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3621         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3622         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3623         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3624         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3625         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3626         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3627         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3628         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3629         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3630         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3631         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3632         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3633         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3634         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3635         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3636         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3637         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3638         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3639         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3640         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3641         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3642         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3643         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3644         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3645         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3646         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3647         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3648         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3649         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3650         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3651         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3652         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3653         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3654         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3655         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3656         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3657         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3658         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3659         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3660         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3661         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3662         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3663         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3664         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3665         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3666         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3667         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3668         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3669         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3670         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3671         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3672         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3673         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3674         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3675         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3676         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3677         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3678         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3679         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3680         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3681         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3682         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3683         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3684         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3685         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3686         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3687         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3688         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3689         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3690         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3691         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3692         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3693         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3694         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3695         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3696         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3697         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3698         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3699         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3700         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3701
3702         [BZ #17589]
3703         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3704         of fgets_unlocked.
3705
3706         [BZ #17585]
3707         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3708         (memmem): Rename to __memmem and define as weak alias of
3709         __memmem.  Use libc_hidden_weak.
3710         (__memmem): Use libc_hidden_def.
3711         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3712         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3713         memmem.
3714
3715         [BZ #17582]
3716         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3717         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3718         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3719         and define as weak alias of __fgets_unlocked.  Use
3720         libc_hidden_weak.
3721         (__fgets_unlocked): Use libc_hidden_def.
3722         * include/stdio.h (__fgets_unlocked): Declare.  Use
3723         libc_hidden_proto.
3724         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3725         __fgets_unlocked instead of fgets_unlocked.
3726         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3727         (GET_NPROCS_CONF_PARSER): Likewise.
3728         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3729         (GET_NPROCS_CONF_PARSER): Likewise.
3730
3731         [BZ #17574]
3732         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3733         weak alias of __wmemset.  Use libc_hidden_weak.
3734         (__wmemset): Use libc_hidden_def.
3735         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3736         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3737         of wmemset.
3738
3739         [BZ #17573]
3740         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3741         with asm name __mempcpy.
3742         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3743
3744         [BZ #17572]
3745         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3746         and define as weak alias of __rawmemchr.
3747         (__rawmemchr): Do not define as strong alias of rawmemchr.
3748
3749         [BZ #17571]
3750         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3751         alias of __qsort_r.
3752         (qsort): Call __qsort_r instead of qsort_r.
3753         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3754         (__qsort_r): Declare.  Call libc_hidden_proto.
3755         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3756         instead of qsort_r.
3757         * nscd/gai.c (__qsort_r): Define to qsort_r.
3758         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3759         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3760         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3761
3762         [BZ #17570]
3763         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3764         define as weak alias of __malloc_info.
3765
3766         [BZ #17584]
3767         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3768         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3769         (__rewinddir): Use libc_hidden_def.
3770         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3771         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3772         (__rewinddir): Use libc_hidden_def.
3773         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3774         weak alias of __rewinddir.  Don't use libc_hidden_def.
3775         (__rewinddir): Use libc_hidden_def.
3776         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3777         (__rewinddir): Use libc_hidden_proto.
3778         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3779         rewinddir.
3780         (__getcwd): Use __rewinddir instead of rewinddir.
3781
3782         [BZ #17583]
3783         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3784         alias of __fileno.  Use libc_hidden_weak.
3785         (__fileno): Use libc_hidden_def.
3786         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3787         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3788         alias of __ftello.
3789         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3790         __ftello.
3791         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3792         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3793         libc_hidden_def.
3794         (fread_unlocked): Don't use libc_hidden_ver.
3795         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3796         and define as weak alias of __fread_unlocked.  Don't use
3797         libc_hidden_def.
3798         (__fread_unlocked): Use libc_hidden_def.
3799         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3800         (ftello): Don't use libc_hidden_proto.
3801         (__ftello): Declare.  Use libc_hidden_proto.
3802         (fread_unlocked): Don't use libc_hidden_proto.
3803         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3804         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3805         and __ftello instead of fileno, fread_unlocked and ftello.
3806
3807 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3808
3809         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3810         GOT12.
3811         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3812         Likewise.
3813         (_dl_start_user): Likewise.
3814         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3815
3816 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3817             Siddhesh Poyarekar  <siddhesh@redhat.com>
3818
3819         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3820         Move argv and envp down instead of moving argc up.
3821         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3822
3823 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3824
3825         [BZ #17506]
3826         * test-skeleton.c (main): Return successful if one of
3827         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3828         * string/tst-strcoll-overflow.c: Define expected status.
3829
3830 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3831
3832         [BZ #17475]
3833         * locale/iso-639.def: Define Bhili and Tulu language codes.
3834
3835 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3836
3837         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3838
3839 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3840
3841         [BZ #17555]
3842         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3843
3844 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3845
3846         * configure.ac: Updated check of minimal required version to
3847         2.22.
3848         * manual/install.texi (Tools for Compilation): Updated version
3849         number.
3850         * configure: Regenerated.
3851         * INSTALL: Likewise.
3852
3853 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3854
3855         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3856         __tls_get_addr.
3857
3858 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3859
3860         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3861         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3862         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3863         libc_hidden_weak.
3864         (waitpid): Define as alias of __waitpid.
3865         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3866         __waitpid.
3867         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3868         libc_hidden_weak.
3869         (waitpid): Define as alias of __waitpid.
3870         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3871         __libc_waitpid alias.
3872         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3873         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3874         Likewise.
3875         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3876         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3877         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3878         alias.
3879         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3880         __waitpid.
3881         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3882         libc_hidden_weak.
3883         (waitpid): Define as alias of __waitpid.
3884
3885 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3886
3887         * manual/llio.texi: Add comment that write safety has been
3888         fixed in Linux.
3889
3890         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3891         (localplt-build-dso): Add elf/ld.so.
3892         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3893         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3894         and free for ld.so.
3895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3896         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3898         Likewise.
3899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3900         Likewise.
3901         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3902         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3903         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3904         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3905         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3906         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3907         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3908         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3909         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3910         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3911         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3912
3913 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3914
3915         [BZ #14132]
3916         * include/libc-symbols.h (INTUSE): Remove macro.
3917         (INTDEF): Likewise.
3918         (INTVARDEF): Likewise.
3919         (_INTVARDEF): Likewise.
3920         (INTDEF2): Likewise.
3921         (INTVARDEF2): Likewise.
3922         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3923         rtld_hidden_def instead of INTVARDEF.
3924         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3925         (_dl_starting_up_internal): Remove declaration.
3926         (_dl_starting_up): Use rtld_hidden_proto.
3927         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3928         declaration.
3929         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3930         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3931         _dl_starting_up.
3932         * elf/dl-writev.h (_dl_writev): Likewise.
3933         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3934         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3935         _dl_starting_up_internal.
3936
3937 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3938
3939         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3940         test-skeleton.c.
3941
3942 2014-11-05  Will Newton  <will.newton@linaro.org>
3943
3944         * benchtests/Makefile: (bench-malloc): Add malloc thread
3945         scalability benchmark.
3946         * benchtests/bench-malloc-threads.c: New file.
3947
3948 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3949
3950         * sysdeps/aarch64/strchrnul.S: New file.
3951
3952 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3953
3954         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3955         definition.
3956         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3957         Likwise.
3958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3959         Likewise.
3960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3961         Likewise.
3962         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3963         Likewise.
3964         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3965         Likewise.
3966
3967 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3968
3969         * catgets/test-gencat.c: Use test-skeleton.c.
3970         * catgets/tst-catgets.c: Likewise.
3971         * csu/tst-empty.c: Likewise.
3972         * elf/tst-audit2.c: Likewise.
3973         * elf/tst-global1.c: Likewise.
3974         * elf/tst-pathopt.c: Likewise.
3975         * elf/tst-piemod1.c: Likewise.
3976         * elf/tst-tls10.c: Likewise.
3977         * elf/tst-tls11.c: Likewise.
3978         * elf/tst-tls12.c: Likewise.
3979         * gnulib/tst-gcc.c: Likewise.
3980         * iconvdata/tst-e2big.c: Likewise.
3981         * iconvdata/tst-loading.c: Likewise.
3982         * iconv/tst-iconv1.c: Likewise.
3983         * iconv/tst-iconv2.c: Likewise.
3984         * inet/test-inet6_opt.c: Likewise.
3985         * inet/tst-gethnm.c: Likewise.
3986         * inet/tst-network.c: Likewise.
3987         * inet/tst-ntoa.c: Likewise.
3988         * intl/tst-codeset.c: Likewise.
3989         * intl/tst-gettext2.c: Likewise.
3990         * intl/tst-gettext3.c: Likewise.
3991         * intl/tst-ngettext.c: Likewise.
3992         * intl/tst-translit.c: Likewise.
3993         * io/test-stat.c: Likewise.
3994         * libio/test-fmemopen.c: Likewise.
3995         * libio/tst-freopen.c: Likewise.
3996         * libio/tst-sscanf.c: Likewise.
3997         * libio/tst-ungetwc1.c: Likewise.
3998         * libio/tst-ungetwc2.c: Likewise.
3999         * libio/tst-widetext.c: Likewise.
4000         * localedata/tst-ctype.c: Likewise.
4001         * localedata/tst-digits.c: Likewise.
4002         * localedata/tst-leaks.c: Likewise.
4003         * localedata/tst-mbswcs1.c: Likewise.
4004         * localedata/tst-mbswcs2.c: Likewise.
4005         * localedata/tst-mbswcs3.c: Likewise.
4006         * localedata/tst-mbswcs4.c: Likewise.
4007         * localedata/tst-mbswcs5.c: Likewise.
4008         * localedata/tst-setlocale.c: Likewise.
4009         * localedata/tst-trans.c: Likewise.
4010         * localedata/tst-wctype.c: Likewise.
4011         * localedata/tst-xlocale1.c: Likewise.
4012         * login/tst-grantpt.c: Likewise.
4013         * malloc/tst-calloc.c: Likewise.
4014         * malloc/tst-malloc.c: Likewise.
4015         * malloc/tst-mallocstate.c: Likewise.
4016         * malloc/tst-mcheck.c: Likewise.
4017         * malloc/tst-mtrace.c: Likewise.
4018         * malloc/tst-obstack.c: Likewise.
4019         * math/atest-exp2.c: Likewise.
4020         * math/atest-exp.c: Likewise.
4021         * math/atest-sincos.c: Likewise.
4022         * math/test-matherr.c: Likewise.
4023         * math/test-misc.c: Likewise.
4024         * math/test-powl.c: Likewise.
4025         * math/tst-definitions.c: Likewise.
4026         * misc/tst-dirname.c: Likewise.
4027         * misc/tst-efgcvt.c: Likewise.
4028         * misc/tst-fdset.c: Likewise.
4029         * misc/tst-hsearch.c: Likewise.
4030         * misc/tst-mntent2.c: Likewise.
4031         * nptl/tst-sem7.c: Likewise.
4032         * nptl/tst-sem8.c: Likewise.
4033         * nptl/tst-sem9.c: Likewise.
4034         * nss/test-netdb.c: Likewise.
4035         * posix/tst-fnmatch.c: Likewise.
4036         * posix/tst-getlogin.c: Likewise.
4037         * posix/tst-gnuglob.c: Likewise.
4038         * posix/tst-mmap.c: Likewise.
4039         * pwd/tst-getpw.c: Likewise.
4040         * resolv/tst-inet_ntop.c: Likewise.
4041         * rt/tst-timer.c: Likewise.
4042         * stdio-common/test-fseek.c: Likewise.
4043         * stdio-common/test-popen.c: Likewise.
4044         * stdio-common/test-vfprintf.c: Likewise.
4045         * stdio-common/tst-cookie.c: Likewise.
4046         * stdio-common/tst-fileno.c: Likewise.
4047         * stdio-common/tst-gets.c: Likewise.
4048         * stdio-common/tst-obprintf.c: Likewise.
4049         * stdio-common/tst-perror.c: Likewise.
4050         * stdio-common/tst-sprintf2.c: Likewise.
4051         * stdio-common/tst-sprintf3.c: Likewise.
4052         * stdio-common/tst-sprintf.c: Likewise.
4053         * stdio-common/tst-swprintf.c: Likewise.
4054         * stdio-common/tst-tmpnam.c: Likewise.
4055         * stdio-common/tst-unbputc.c: Likewise.
4056         * stdio-common/tst-wc-printf.c: Likewise.
4057         * stdlib/tst-environ.c: Likewise.
4058         * stdlib/tst-fmtmsg.c: Likewise.
4059         * stdlib/tst-limits.c: Likewise.
4060         * stdlib/tst-rand48-2.c: Likewise.
4061         * stdlib/tst-rand48.c: Likewise.
4062         * stdlib/tst-random2.c: Likewise.
4063         * stdlib/tst-random.c: Likewise.
4064         * stdlib/tst-strtol.c: Likewise.
4065         * stdlib/tst-strtoll.c: Likewise.
4066         * stdlib/tst-tls-atexit.c: Likewise.
4067         * stdlib/tst-xpg-basename.c: Likewise.
4068         * string/test-ffs.c: Likewise.
4069         * string/tst-bswap.c: Likewise.
4070         * string/tst-inlcall.c: Likewise.
4071         * string/tst-strtok.c: Likewise.
4072         * string/tst-strxfrm.c: Likewise.
4073         * sysdeps/x86_64/tst-audit10.c: Likewise.
4074         * sysdeps/x86_64/tst-audit3.c: Likewise.
4075         * sysdeps/x86_64/tst-audit4.c: Likewise.
4076         * sysdeps/x86_64/tst-audit5.c: Likewise.
4077         * time/tst-ftime_l.c: Likewise.
4078         * time/tst-getdate.c: Likewise.
4079         * time/tst-mktime3.c: Likewise.
4080         * time/tst-mktime.c: Likewise.
4081         * time/tst-posixtz.c: Likewise.
4082         * time/tst-strptime2.c: Likewise.
4083         * time/tst-strptime3.c: Likewise.
4084         * wcsmbs/tst-btowc.c: Likewise.
4085         * wcsmbs/tst-mbrtowc.c: Likewise.
4086         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4087         * wcsmbs/tst-wchar-h.c: Likewise.
4088         * wcsmbs/tst-wcpncpy.c: Likewise.
4089         * wcsmbs/tst-wcrtomb.c: Likewise.
4090         * wcsmbs/tst-wcsnlen.c: Likewise.
4091         * wcsmbs/tst-wcstof.c: Likewise.
4092
4093 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4094
4095         [BZ #14132]
4096         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4097         INTDEF.
4098         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4099         declaration.
4100         (_dl_mcount): Use rtld_hidden_proto.
4101         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4102         _dl_mcount.
4103         * elf/rtld.c (_rtld_global_ro): Likewise.
4104
4105         [BZ #14132]
4106         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4107         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4108         of _dl_init_internal.
4109         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4110         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4111         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4112         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4113         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4114         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4115         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4116         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4117         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4118         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4119         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4120         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4121         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4122         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4123         * sysdeps/tile/dl-start.S (_start): Likewise.
4124         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4125         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4126
4127         [BZ #14132]
4128         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4129         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4130         (rtld_progname): Make macro definition unconditional.
4131         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4132         INTDEF.
4133         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4134         (dl_main): Likewise.
4135         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4136         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4137         instead of _dl_argv_internal.
4138         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4139         __GI__dl_argv instead of INTUSE(_dl_argv).
4140         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4141         __GI__dl_argv instead of _dl_argv_internal.
4142
4143         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4144         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4145         macro.
4146         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4147         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4148         New macro.
4149         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4150         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4151         macro.
4152         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4153         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4154
4155 2014-11-04  Andreas Schwab  <schwab@suse.de>
4156
4157         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4158
4159 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4160
4161         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4162         mtvsrd instruction in binary form.
4163
4164 2014-11-03  Andreas Schwab  <schwab@suse.de>
4165
4166         [BZ #17522]
4167         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4168         for less than MB_LEN_MAX use a local buffer of that size.
4169         * libio/tst-fputws.c: New file.
4170         * libio/Makefile (tests): Add tst-fputws.
4171
4172 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4173
4174         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4175         the size of the fpu_fr.fpu_dregs[] array.
4176
4177 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4178
4179         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4180         (__nanosleep): Do not define as alias.
4181         (nanosleep): Define as alias of __nanosleep.
4182         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4183         __libc_nanosleep name.
4184
4185 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4186
4187         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4188         install.texi in comment.
4189
4190 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4191
4192         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4193         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4194         ... add here and use lwsync or sync ...
4195         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4196         ... and add here using lwsync.
4197
4198 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4199
4200         * elf/dl-machine-reject-phdr.h: New file.
4201         * elf/dl-load.c: #include that.
4202         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4203         if that returned true.
4204
4205 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4206
4207         [BZ #17496]
4208         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4209         gen-as-const-headers chunk.  Add a big scare comment after the last
4210         safe place to touch before-compile.
4211
4212 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4213
4214         * manual/install.texi (Tools for Compilation): Update autoconf
4215         version requirements.
4216         * INSTALL: Regenerated.
4217
4218         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4219         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4220         (__libc_pselect): Likewise.
4221
4222         [BZ #14138]
4223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4227
4228 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4229
4230         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4231         correct barrier instruction.
4232         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4233         Likewise.
4234         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4235         Likewise.
4236
4237 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4238
4239         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4240         after defining inlines.  Instead, just use parens to defeat macro
4241         expansion of __isctype in its declaration.
4242
4243 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4244
4245         * include/sys/uio.h (__libc_readv): Remove declaration.
4246         (__libc_writev): Likewise.
4247         * misc/readv.c (__libc_readv): Rename to __readv.
4248         (__readv): Do not define as alias.
4249         (readv): Define as alias of __readv.
4250         * misc/writev.c (__libc_writev): Rename to __writev.
4251         (__writev): Do not define as alias.
4252         (writev): Define as alias of __writev.
4253         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4254         (__readv): Do not define as alias.
4255         (readv): Define unconditionally as alias of __readv.
4256         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4257         (__writev): Do not define as alias.
4258         (writev): Define unconditionally as alias of __writev.
4259         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4260         name.
4261         (writev): Do not define __libc_writev name.
4262
4263 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4264
4265         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4266         (convert_charseq): New function, broken out of ...
4267         (use_from_charmap): ... here.  Call it.
4268         (use_to_charmap): Use convert_charseq and free instead of duplicating
4269         its code with a variable-length stack struct.
4270
4271 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4272
4273         * include/fcntl.h (__libc_creat): Remove declaration.
4274         * io/creat.c (__libc_creat): Rename to creat.
4275         (creat): Do not define as alias.
4276         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4277         of creat instead of __libc_creat.
4278         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4279         to creat.
4280         (creat): Do not define as alias.
4281         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4282         __libc_creat.
4283         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4284         __libc_creat name.
4285         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4286         Likewise.
4287
4288 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4289
4290         * manual/llio.texi: Add comments discussing why write() may be
4291         considered MT-unsafe on Linux.
4292
4293 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4294
4295         * dl-load.c (local_strdup): Remove.
4296         (expand_dynamic_string_token): Use __strdup.
4297         (decompose_rpath): Likewise.
4298         (_dl_map_object): Likewise.
4299
4300 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4301
4302         [BZ #14132]
4303         * sysdeps/generic/unwind-dw2-fde.c
4304         (__register_frame_info_bases_internal): Do not declare.
4305         (__register_frame_info_table_bases_internal): Likewise.
4306         (__deregister_frame_info_bases_internal): Likewise.
4307         (__register_frame_info_bases): Declare and use hidden_proto before
4308         definition.  Use hidden_def instead of INTDEF.
4309         (__register_frame_info_table_bases): Likewise.
4310         (__deregister_frame_info_bases): Likewise.
4311         (__register_frame_info): Do not use INTUSE.
4312         (__register_frame): Likewise.
4313         (__register_frame_info_table): Likewise.
4314         (__register_frame_table): Likewise.
4315         (__deregister_frame_info): Likewise.
4316         (__deregister_frame): Likewise.
4317
4318 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4319
4320         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4321         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4322         not undefine.
4323         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4324         Likewise.
4325         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4326         Likewise.
4327
4328 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4329
4330         [BZ #14138]
4331         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4332         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4333         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4334         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4335         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4336         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4337         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4338         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4339         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4340         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4341         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4342         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4343         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4344         syscall.
4345         (setfsuid): Likewise.
4346         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4347         (setfsuid): Likewise.
4348         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4349         (setfsuid): Likewise.
4350         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4351         Likewise.
4352         (setfsuid): Likewise.
4353         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4354         (setfsuid): Likewise.
4355         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4356         Likewise.
4357         (setfsuid): Likewise.
4358
4359 2014-10-27  Andreas Schwab  <schwab@suse.de>
4360
4361         [BZ #17501]
4362         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4363         check for Slow_SSE4_2 feature bit.
4364         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4365         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4366         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4367         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4368
4369 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4370
4371         * configure.ac: Validate compiler version with a empirical test of
4372         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4373         $CC -v output.
4374         * configure: Regenerated.
4375
4376         * inet/htons.c (htons): Prototypify.
4377         * inet/htonl.c (htonl): Likewise.
4378
4379 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4380
4381         * string/strncat.c (strncat): Improve performance by using strlen.
4382
4383 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4384
4385         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4386
4387 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4388
4389         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4390         Call libc_fetestexcept_aarch64.
4391
4392 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4393
4394         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4395         Call libc_feholdexcept_aarch64.
4396
4397 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4398
4399         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4400         Call get_rounding_mode.
4401
4402 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4403
4404         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4405         Simplify logic.
4406
4407 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4408
4409         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4410         Simplify logic.
4411
4412 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4413
4414         [BZ #14138]
4415         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4416         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4417         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4418         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4419         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4420         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4421         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4422         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4423         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4424         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4425         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4426         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4427         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4428         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4429         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4430         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4431         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4432         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4433         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4434         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4435         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4436         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4437         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4438         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4439         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4440         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4441         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4442         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4443         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4444         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4445         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4446         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4447         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4448         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4449         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4450         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4451         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4452         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4453         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4454         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4455         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4456         syscall.
4457         (geteuid): Likewise.
4458         (getgid): Likewise.
4459         (getuid): Likewise.
4460         (getresgid): Likewise.
4461         (getresuid): Likewise.
4462         (getgroups): Likewise.
4463         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4464         (geteuid): Likewise.
4465         (getgid): Likewise.
4466         (getuid): Likewise.
4467         (getresgid): Likewise.
4468         (getresuid): Likewise.
4469         (getgroups): Likewise.
4470         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4471         (geteuid): Likewise.
4472         (getgid): Likewise.
4473         (getuid): Likewise.
4474         (getresgid): Likewise.
4475         (getresuid): Likewise.
4476         (getgroups): Likewise.
4477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4478         Likewise.
4479         (geteuid): Likewise.
4480         (getgid): Likewise.
4481         (getuid): Likewise.
4482         (getresgid): Likewise.
4483         (getresuid): Likewise.
4484         (getgroups): Likewise.
4485         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4486         (geteuid): Likewise.
4487         (getgid): Likewise.
4488         (getuid): Likewise.
4489         (getresgid): Likewise.
4490         (getresuid): Likewise.
4491         (getgroups): Likewise.
4492         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4493         Likewise.
4494         (geteuid): Likewise.
4495         (getgid): Likewise.
4496         (getuid): Likewise.
4497         (getgroups): Likewise.
4498
4499         [BZ #14138]
4500         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4501         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4502         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4503         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4504         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4505         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4506         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4507         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4508         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4509         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4510         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4511         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4512         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4513         __chown.
4514         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4515         (lchown): Likewise.
4516         (fchown): Likewise.
4517         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4518         Likewise.
4519         (lchown): Likewise.
4520         (fchown): Likewise.
4521         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4522         (lchown): Likewise.
4523         (fchown): Likewise.
4524         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4525         Likewise.
4526         (lchown): Likewise.
4527         (fchown): Likewise.
4528
4529 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4530
4531         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4532         Simplify logic.
4533
4534 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4535
4536         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4537         Cleanup logic.
4538
4539 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4540
4541         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4542         Remove unused include.
4543
4544 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4545
4546         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4548         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4549         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4550
4551 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4552             Helge Deller <deller@gmx.de>
4553
4554         [BZ #17508]
4555         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4556         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4557         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4558
4559 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4560
4561         [BZ #14132]
4562         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4563         Remove macro definition.
4564         (__ashrdi3_v_glibc20): Likewise.
4565         (__lshrdi3_v_glibc20): Likewise.
4566         (__cmpdi2_v_glibc20): Likewise.
4567         (__ucmpdi2_v_glibc20): Likewise.
4568         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4569         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4570         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4571         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4572         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4573         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4574
4575 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4576
4577         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4578         old GNU extension [0] syntax.
4579         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4580         alloca rather than an array member with variable length.
4581         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4582         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4583         (parse_opt): ... here.  Likewise use alloca there.
4584         Validate the -i argument before checking for rootness.
4585         (send_shutdown): New function, broken out of ...
4586         (parse_opt): ... here.
4587
4588 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4589
4590         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4591         macro to get at the _rt_local_ro field.
4592         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4593         ([PIC] case) or _dl_hwcap ([!PIC] case).
4594         * sysdeps/arm/setjmp.S: Likewise.
4595
4596         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4597         * sysdeps/arm/configure.ac: New check to define it.
4598         * sysdeps/arm/configure: Regenerated.
4599         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4600         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4601         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4602         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4603         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4604         Use move/movt pair instead of a load.
4605         (LDST_GLOBAL): Macro removed.
4606         (LDR_GLOBAL): New macro replaces it.
4607         (LDR_HIDDEN): New macro.
4608         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4609         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4610
4611         * setjmp/tst-setjmp-static.c: New file.
4612         * setjmp/Makefile (tests): Add it.
4613         (tests-static): New variable.
4614
4615 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4616
4617         [BZ #17485]
4618         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4619
4620 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4621
4622         [BZ #14132]
4623         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4624
4625 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4626
4627         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4628
4629 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4630
4631         * io/fts.c (dirent_not_directory): New function.
4632         (fts_build): Call it.
4633
4634 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4635
4636         * nptl/version.c (__nptl_main): Use normal __write rather than
4637         INTERNAL_SYSCALL.
4638         (banner): Update copyright years.
4639
4640         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4641         gettimeofday.
4642         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4643         * nptl/pthread_cond_timedwait.c: Likewise.
4644         * nptl/pthread_mutex_timedlock.c: Likewise.
4645         * nptl/sem_timedwait.c: Likewise.
4646
4647         * sysdeps/nptl/bits/libc-lock.h
4648         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4649         (__libc_lock_init_recursive): Return void, not 0.
4650         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4651         (__libc_rwlock_init): Likewise.
4652         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4653
4654 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4655
4656         [BZ #15215]
4657         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4658         (__pthread_once_slow): ... here.
4659         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4660         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4661
4662 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4663
4664         [BZ #15215]
4665         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4666         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4667         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4668         * nptl/pthread_once.c (__pthread_once): Likewise.
4669         Update comments.
4670
4671 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4672
4673         [BZ #14138]
4674         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4675         name.
4676         (writev): Use __libc_writev as strong name.
4677         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4678         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4679
4680 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4681
4682         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4683
4684         * sysdeps/i386/nptl/tls.h
4685         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4686         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4687         New macros.
4688         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4689         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4690         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4691         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4692         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4693         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4694
4695         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4696         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4697         on [__NR_futex].
4698         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4699         broken out of ...
4700         (__pthread_mutex_init): ... here.  Call it.
4701         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4702         Conditionalize PI cases on [__NR_futex].
4703         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4704         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4705         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4706
4707         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4708         conditional on [SIGSETXID].
4709         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4710         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4711         is defined.  Likewise for SIGSETXID.
4712         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4713         Conditionalize definitions on [SIGSETXID].
4714         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4715         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4716         unblocking on [SIGCANCEL].
4717
4718         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4719         [__NR_set_robust_list].
4720
4721 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4722
4723         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4724         (do_compare): Likewise.
4725
4726 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4727
4728         [BZ #15884]
4729         * string/strcoll_l.c: Don't include stdio.h.
4730         (coll_seq): Remove members idxarr and rulearr.
4731         (get_next_seq_cached): Remove function.
4732         (get_next_seq): Likewise.
4733         (get_next_seq_nocache): Rename to get_next_seq.
4734         (do_compare): Remove function.
4735         (do_compare_nocache): Rename to do_compare.
4736         (STRCOLL): Remove weight and rules cache.
4737
4738 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4739
4740         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4741         * sysdeps/arm/sfp-machine.h: ... to here.
4742         * sysdeps/arm/Implies: Remove arm/soft-fp.
4743
4744 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4745
4746         * conform/data/sys/utsname.h-data (*_t): Allow.
4747         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4748         [POSIX] (WEXITED): Do not expect constant.
4749         [POSIX] (WSTOPPED): Likewise.
4750         [POSIX] (WNOHANG): Likewise.
4751         [POSIX] (WNOWAIT): Likewise.
4752         [POSIX] (siginfo_t): Do not expect type or elements.
4753         [POSIX] (pid_t): Do not expect type.
4754         [POSIX] (signal.h): Do not allow header.
4755         [POSIX] (sys/resource.h): Likewise.
4756         [POSIX] (si_*): Do not allow pattern.
4757         [POSIX] (W*): Likewise.
4758         [POSIX] (P_*): Likewise.
4759         [POSIX] (BUS_*): Likewise.
4760         [POSIX] (CLD_*): Likewise.
4761         [POSIX] (FPE_*): Likewise.
4762         [POSIX] (ILL_*): Likewise.
4763         [POSIX] (POLL_*): Likewise.
4764         [POSIX] (SEGV_*): Likewise.
4765         [POSIX] (SI_*): Likewise.
4766         [POSIX] (TRAP_*): Likewise.
4767         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4768         variable.
4769
4770 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4771
4772         [BZ #12926]
4773         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4774         infinite loop when __recvmsg returns 0.
4775
4776 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4777
4778         * CANCEL-FCT-WAIVE: Remove file.
4779         * CANCEL-FILE-WAIVE: Likewise.
4780
4781         [BZ #14132]
4782         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4783         instead of INTVARDEF.
4784         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4785         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4786         rtld_hidden_data_def instead of INTVARDEF.
4787         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4788         * elf/dl-deps.c (expand_dst): Likewise.
4789         * elf/dl-load.c (_dl_dst_count): Likewise.
4790         (_dl_dst_substitute): Likewise.
4791         (decompose_rpath): Likewise.
4792         (_dl_init_paths): Likewise.
4793         (open_path): Likewise.
4794         (_dl_map_object): Likewise.
4795         * elf/rtld.c (dl_main): Likewise.
4796         (process_dl_audit): Likewise.
4797         (process_envvars): Likewise.
4798         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4799         Remove declaration.
4800         (__libc_enable_secure): Use rtld_hidden_proto.
4801
4802 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4803
4804         * elf/dl-load.c
4805         (add_path): New function broken out of _dl_rtld_di_serinfo.
4806         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4807
4808 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4809
4810         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4811         parentheses around macro arguments.
4812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4813         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4815         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4817         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4818         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4819         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4823         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4824         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4825         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4826         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4827         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4828         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4829         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4835         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4836         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4839         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4841         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4842         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4843         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4844         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4845         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4846         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4847         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4848         Likewise.
4849         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4850         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4851         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4852         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4853         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4854         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4855         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4856         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4857         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4858         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4859         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4860         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4861         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4862         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4863         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4864         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4866         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4867         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4868         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4870         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4871         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4872         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4873         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4874         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4875         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4876         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4877         (_FP_FRAC_SRS_1): Likewise.
4878         (_FP_FRAC_CLZ_1): Likewise.
4879         (_FP_MUL_MEAT_1_imm): Likewise.
4880         (_FP_MUL_MEAT_1_wide): Likewise.
4881         (_FP_MUL_MEAT_1_hard): Likewise.
4882         (_FP_SQRT_MEAT_1): Likewise.
4883         (_FP_FRAC_ASSEMBLE_1): Likewise.
4884         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4885         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4886         (__FP_CLZ_2): Likewise.
4887         (_FP_MUL_MEAT_2_wide): Likewise.
4888         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4889         (_FP_MUL_MEAT_2_gmp): Likewise.
4890         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4891         (_FP_SQRT_MEAT_2): Likewise.
4892         (_FP_FRAC_ASSEMBLE_2): Likewise.
4893         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4894         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4895         (_FP_FRAC_CLZ_4): Likewise.
4896         (_FP_MUL_MEAT_4_wide): Likewise.
4897         (_FP_MUL_MEAT_4_gmp): Likewise.
4898         (_FP_SQRT_MEAT_4): Likewise.
4899         (_FP_FRAC_ASSEMBLE_4): Likewise.
4900         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4901         * soft-fp/op-common.h (_FP_CMP): Likewise.
4902         (_FP_CMP_EQ): Likewise.
4903         (_FP_CMP_UNORD): Likewise.
4904         (_FP_TO_INT): Likewise.
4905         (_FP_FROM_INT): Likewise.
4906         [!__FP_CLZ] (__FP_CLZ): Likewise.
4907         (_FP_DIV_HELP_imm): Likewise.
4908         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4909         Likewise.
4910         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4911         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4912         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4913         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4914         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4915         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4916         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4917         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4918         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4919         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4920         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4921         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4922         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4923         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4924         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4925         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4926         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4927         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4928         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4930         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4931         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4932         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4935         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4936         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4937         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4939         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4940         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4941         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4942         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4943         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4944         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4945         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4946         (FP_UNPACK_RAW_SP): Likewise.
4947         (FP_PACK_RAW_S): Likewise.
4948         (FP_PACK_RAW_SP): Likewise.
4949         (FP_UNPACK_S): Likewise.
4950         (FP_UNPACK_SP): Likewise.
4951         (FP_UNPACK_SEMIRAW_S): Likewise.
4952         (FP_UNPACK_SEMIRAW_SP): Likewise.
4953         (FP_PACK_S): Likewise.
4954         (FP_PACK_SP): Likewise.
4955         (FP_PACK_SEMIRAW_S): Likewise.
4956         (FP_PACK_SEMIRAW_SP): Likewise.
4957         (_FP_SQRT_MEAT_S): Likewise.
4958         (FP_CMP_S): Likewise.
4959         (FP_CMP_EQ_S): Likewise.
4960         (FP_CMP_UNORD_S): Likewise.
4961         (FP_TO_INT_S): Likewise.
4962         (FP_FROM_INT_S): Likewise.
4963
4964         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4965
4966         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4967         (FP_EX_INVALID_IMZ): Likewise.
4968         (FP_EX_INVALID_IMZ_FMA): Likewise.
4969         (FP_EX_INVALID_ISI): Likewise.
4970         (FP_EX_INVALID_ZDZ): Likewise.
4971         (FP_EX_INVALID_IDI): Likewise.
4972         (FP_EX_INVALID_SQRT): Likewise.
4973         (FP_EX_INVALID_CVI): Likewise.
4974         (FP_EX_INVALID_VC): Likewise.
4975         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4976         "invalid" exceptions.
4977         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4978         (_FP_ADD_INTERNAL): Likewise.
4979         (_FP_MUL): Likewise.
4980         (_FP_FMA): Likewise.
4981         (_FP_DIV): Likewise.
4982         (_FP_CMP_CHECK_NAN): Likewise.
4983         (_FP_SQRT): Likewise.
4984         (_FP_TO_INT): Likewise.
4985         (FP_EXTEND): Likewise.
4986
4987 2014-10-09  Allan McRae  <allan@archlinux.org>
4988
4989         * po/fr.po: Update French translation from translation project.
4990
4991 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4992
4993         [BZ #14132]
4994         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4995         of INTDEF.
4996         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4997         (__cxa_atexit): Use libc_hidden_proto.
4998         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4999
5000         [BZ #14132]
5001         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5002         declaration.
5003         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5004         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5005         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5006         [!_ISOMAC] (__iswctype_internal): Likewise.
5007         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5008         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5009         alias.
5010         (fcntl): Remove __fcntl_internal alias.
5011         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5012         __connect_internal alias.
5013         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5014         Likewise.
5015
5016         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5018         FP_DENORM_ZERO.
5019         (_FP_CHECK_FLUSH_ZERO): New macro.
5020         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5021         (_FP_CMP): Likewise.
5022         (_FP_CMP_EQ): Likewise.
5023         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5024         FP_DENORM_ZERO.
5025         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5026         (FP_TRUNC): Likewise.
5027
5028         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5029         treated as invalid conversion, not as normal exponent.
5030
5031         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5032         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5033         (_FP_CMP_EQ): Likewise.
5034         (_FP_CMP_UNORD): Likewise.
5035         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5036         (FP_CMP_EQ_D): Likewise.
5037         (FP_CMP_UNORD_D): Likewise.
5038         * soft-fp/extended.h (FP_CMP_E): Likewise.
5039         (FP_CMP_EQ_E): Likewise.
5040         (FP_CMP_UNORD_E): Likewise.
5041         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5042         (FP_CMP_EQ_Q): Likewise.
5043         (FP_CMP_UNORD_Q): Likewise.
5044         * soft-fp/single.h (FP_CMP_S): Likewise.
5045         (FP_CMP_EQ_S): Likewise.
5046         (FP_CMP_UNORD_S): Likewise.
5047         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5048         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5049         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5050         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5051         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5052         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5053         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5054         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5055         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5056         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5057         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5058         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5059         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5060         to FP_CMP_Q.
5061         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5062         FP_CMP_Q.
5063         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5064         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5065         FP_CMP_EQ_Q.
5066         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5067         FP_CMP_Q.
5068         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5069         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5070         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5071         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5072         FP_CMP_EQ_Q.
5073         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5074         FP_CMP_Q.
5075         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5076         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5077         FP_CMP_EQ_Q.
5078         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5079         FP_CMP_Q.
5080         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5081         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5082         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5083         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5084         FP_CMP_EQ_Q.
5085
5086         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5087         a subnormal result, set the underflow exception if trapping on
5088         underflow is enabled.
5089         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5090         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5091         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5092         redefine to 0.
5093         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5094         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5095         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5096         * soft-fp/extendxftf2.c (__extendxftf2): Use
5097         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5098
5099         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5100         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5101         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5102         FP_HANDLE_EXCEPTIONS.
5103         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5104         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5105         FP_HANDLE_EXCEPTIONS.
5106         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5107         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5108         FP_HANDLE_EXCEPTIONS.
5109         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5110         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5111         FP_HANDLE_EXCEPTIONS.
5112
5113 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5114
5115         [BZ #14132]
5116         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5117         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5118         use INTUSE.
5119         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5120         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5121         Remove alias.
5122         (__adjtimex): Define using libc_hidden_ver.
5123         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5124         Remove declaration.
5125         (ntp_gettime): Call __adjtimex directly.
5126         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5127         Remove declaration.
5128         (ntp_gettimex): Call __adjtimex directly.
5129         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5130         __adjtimex_internal alias.
5131
5132 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5133
5134         [BZ #17460]
5135         * nscd/nscd.c (more_help): Rewrite list of tables collection
5136         using xstrdup and asprintf.
5137
5138         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5139
5140 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5141             Roland McGrath  <roland@hack.frob.com>
5142
5143         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5144         (do_lookup_unique): ... local function 'enter' here; update callers.
5145
5146 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5147
5148         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5149         compat_symbol calls on [SHARED].
5150         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5151         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5152         Remove.
5153         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5154         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5155         (oldsetrlimit): Remove.
5156         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5158         (lchown): New syscall entry.
5159         (oldsetrlimit): Remove.
5160         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5161         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5162         (oldsetrlimit): Remove.
5163         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5164
5165         [BZ #14138]
5166         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5167         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5168         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5169         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5170         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5171         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5172         (fchown): Likewise.
5173         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5174         (fchown): Likewise.
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5176         Likewise.
5177
5178 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5179
5180         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5181         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5182         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5183         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5184         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5185         Likewise.
5186         (__old_sem_post): Likewise.
5187
5188 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5189
5190         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5191         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5192         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5193         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5194         Use INLINE_VSYSCALL macro.
5195         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5196         __vdso_clock_gettime.
5197         * sysdeps/unix/sysv/linux/tile/init-first.c
5198         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5199         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5200         __vdso_clock_gettime.
5201
5202         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5203         to set up frame more cleanly.
5204
5205         * sysdeps/tile/memcmp.c: New file.
5206
5207         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5208
5209         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5210         * sysdeps/tile/tilegx/strcasestr.c: New file.
5211         * sysdeps/tile/tilegx/strnlen.c: New file.
5212         * sysdeps/tile/tilegx/strstr.c: New file.
5213
5214         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5215
5216 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5217
5218         * nptl/tst-setuid3.c: Write errors to stdout.
5219
5220 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5221
5222         * elf/dl-deps.c
5223         (preload): New functions broken out of _dl_map_object_deps.
5224         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5225
5226 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5227
5228         [BZ #14138]
5229         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5230         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5231
5232 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5233
5234         * sysdeps/mips/strcmp.S: New.
5235
5236 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5237
5238         [BZ #14138]
5239         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5240         (linkat): Likewise.
5241         (mkdirat): Likewise.
5242         (readlinkat): Likewise.
5243         (renameat): Likewise.
5244         (symlinkat): Likewise.
5245         (unlinkat): Likewise.
5246         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5247         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5248         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5249         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5250         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5251         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5252         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5253
5254 2014-09-30  Will Newton  <will.newton@linaro.org>
5255
5256         * math/math.h: Define long double math functions if
5257         _LIBC_TEST is defined.
5258         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5259
5260         * localedata/Makefile: Move assignment to tests-special
5261         into an ifdef testing run-built-tests.
5262         * timezone/Makefile: Likewise.
5263
5264 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5265
5266         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5267         with $(BASH) not $(SHELL).
5268
5269 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5270             Matthew LeGendre  <legendre1@llnl.gov>
5271
5272         [BZ #17411]
5273         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5274         l_reloc_result.
5275
5276 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5277
5278         * stdio-common/printf_fp.c
5279         (hack_digit): New function, broken out of ...
5280         (__printf_fp): ... local function here.  Update call sites.
5281         hack_digit now takes an additional parameter that is a pointer
5282         to a struct of the referenced locals.  Those locals moved inside
5283         the struct and references updated.
5284
5285 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5286
5287         * aclocal.m4: Require autoconf 2.69.
5288         * configure: Regenerated.
5289         * sysdeps/aarch64/configure: Likewise.
5290         * sysdeps/alpha/configure: Likewise.
5291         * sysdeps/arm/armv7/configure: Likewise.
5292         * sysdeps/arm/configure: Likewise.
5293         * sysdeps/ia64/configure: Likewise.
5294         * sysdeps/mach/configure: Likewise.
5295         * sysdeps/mips/configure: Likewise.
5296         * sysdeps/s390/configure: Likewise.
5297         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5299
5300         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5301         file.
5302         * sysdeps/ia64/configure.ac: Likewise.
5303
5304 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5305
5306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5307         specify symbol version for ld.so.  Do not include entry for
5308         libpthread.
5309         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5310         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5312
5313         [BZ #14171]
5314         * Makeconfig [$(build-shared) = yes]
5315         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5316         makefiles.
5317         [$(build-shared) = yes && $(soversions.mk-done) = t]
5318         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5319         [$(build-shared) = yes && $(soversions.mk-done) = t]
5320         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5321         to Makerules.
5322         [$(build-shared) = yes && $(soversions.mk-done) = t]
5323         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5324         here.
5325         [$(build-shared) = yes && $(soversions.mk-done) = t]
5326         (common-generated): Don't append gnu/lib-names.h and
5327         gnu/lib-names.stmp here.
5328         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5329         (lib-names-h-abi): New variable.
5330         [$(build-shared) = yes && $(soversions.mk-done) = t]
5331         (lib-names-stmp-abi): Likewise.
5332         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5333         abi-variants] (before-compile): Append
5334         $(common-objpfx)$(lib-names-h-abi).
5335         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5336         abi-variants] (common-generated): Append gnu/lib-names.h.
5337         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5338         abi-variants] (install-others-nosubdir): Depend on
5339         $(inst_includedir)/$(lib-names-h-abi).
5340         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5341         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5342         [$(build-shared) = yes && $(soversions.mk-done) = t]
5343         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5344         [$(build-shared) = yes && $(soversions.mk-done) = t]
5345         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5346         [$(build-shared) = yes && $(soversions.mk-done) = t]
5347         (common-generated): Append $(lib-names-h-abi) and
5348         $(lib-names-stmp-abi).
5349         * scripts/lib-names.awk: Do not handle multi being set.
5350         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5351         Remove variable.
5352         (abi-lp64_be-ld-soname): Likewise.
5353         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5354         Likewise.
5355         (abi-hard-ld-soname): Likewise.
5356         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5357         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5358         Remove variable.
5359         (abi-o32_hard-ld-soname): Likewise.
5360         (abi-o32_soft_2008-ld-soname): Likewise.
5361         (abi-o32_hard_2008-ld-soname): Likewise.
5362         (abi-n32_soft-ld-soname): Likewise.
5363         (abi-n32_hard-ld-soname): Likewise.
5364         (abi-n32_soft_2008-ld-soname): Likewise.
5365         (abi-n32_hard_2008-ld-soname): Likewise.
5366         (abi-n64_soft-ld-soname): Likewise.
5367         (abi-n64_hard-ld-soname): Likewise.
5368         (abi-n64_soft_2008-ld-soname): Likewise.
5369         (abi-n64_hard_2008-ld-soname): Likewise.
5370         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5371         Likewise.
5372         (abi-64-v2-ld-soname): Likewise.
5373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5374         ld.so entries.
5375         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5376         variable.
5377         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5378         entry.
5379         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5380         variable.
5381         (abi-64-ld-soname): Likewise.
5382         (abi-x32-ld-soname): Likewise.
5383         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5384         entry.
5385         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5386
5387 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5388
5389         [BZ #14138]
5390         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5391         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5392         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5393         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5394         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5395         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5396         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5397         syscall entry for GLIBC_2.2 symbol version.
5398         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5399         Likewise.
5400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5401         (setrlimit): Likewise.
5402         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5403         Likewise.
5404
5405 2014-09-23  Will Newton  <will.newton@linaro.org>
5406
5407         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5408         _LINUX_ARM_SYSDEP_H include guard too.
5409         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5410         define.
5411
5412 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5413
5414         * sysdeps/unix/sysv/linux/eventfd.c:
5415         Make first argument unsigned.
5416         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5417         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5418
5419 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5420
5421         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5422         * socket/sys/socket.h: Likewise
5423         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5424
5425 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5426
5427         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5428
5429 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5430
5431         * time/tst-ftime.c: New test.
5432         * time/Makefile (tests): Add tst-ftime.
5433
5434 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5435
5436         * soft-fp/extended.h: Fix comment formatting.
5437         * soft-fp/op-1.h: Likewise.
5438         * soft-fp/op-2.h: Likewise.
5439         * soft-fp/op-4.h: Likewise.
5440         * soft-fp/op-8.h: Likewise.
5441         * soft-fp/op-common.h: Likewise.
5442         * soft-fp/soft-fp.h: Likewise.
5443
5444         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5445
5446 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5447
5448         [BZ #6652]
5449         * Makeconfig (soversions-default-setname): Remove variable.
5450         ($(common-objpfx)soversions.i): Don't pass default_setname to
5451         soversions.awk.
5452         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5453         oldest_abi to abi-versions.awk.
5454         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5455         * config.make.in (oldest-abi): Remove variable.
5456         * configure.ac (--enable-oldest-abi): Remove configure option.
5457         * configure: Regenerated.
5458         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5459         text.
5460         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5461         * scripts/soversions.awk: Do not handle default_setname variable.
5462         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5463         variable.
5464         * sysdeps/mach/hurd/configure: Regenerated.
5465         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5466         variable.
5467         * sysdeps/unix/sysv/linux/configure: Regenerated.
5468
5469 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5470
5471         * elf/Makefile (CFLAGS-interp.c): Remove.
5472         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5473         path string.
5474         * elf/interp.c: Include generated runtime-linker.h
5475
5476         * Makerules (lib%.so): Don't include $(+interp) in
5477         prerequisites.
5478         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5479         * dlfcn/eval.c: Remove file.
5480
5481         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5482         macros.
5483
5484         [BZ #17266]
5485         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5486         4.2 and newer.
5487
5488         [BZ #17370]
5489         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5490
5491 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5492             Jakub Jelinek  <jakub@redhat.com>
5493
5494         [BZ #17266]
5495         * libio/stdio.h: Check definition of __fortify_function
5496         instead of __extern_always_inline to include bits/stdio2.h.
5497         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5498         check if __extern_always_inline is defined.
5499         [__USE_MISC || __USE_XOPEN]: Likewise.
5500         [__USE_ISOC99] Likewise.
5501         * misc/sys/cdefs.h (__fortify_function): Define only if
5502         __extern_always_inline is defined.
5503         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5504         __extern_always_inline and __extern_inline only for g++-4.3
5505         and newer or a compatible gcc.
5506
5507 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5508
5509         [BZ #17371]
5510         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5511         last change to handle zero prefix length.
5512
5513 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5514
5515         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5516         _SC_REGEX_VERSION.
5517
5518         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5519         _POSIX_RAW_SOCKETS.
5520
5521 2014-09-13  Allan McRae  <allan@archlinux.org>
5522
5523         * po/ru.po: Update Russian translation from translation project.
5524
5525 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5526
5527         * locale/programs/locale.c (show_locale_vars): Inline local function
5528         into its sole call site.  Clean up some style nits.
5529         (print_item): New function, broken out of ...
5530         (show_info): ... local function here.  Clean up style nits.
5531
5532         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5533         out of ...
5534         (set_class_defaults): ... local function set_default here.
5535         Define set_default as a macro locally to pass constant parameters.
5536         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5537         rather than a shared local.
5538
5539         * stdlib/rpmatch.c (try): New function, broken out of ...
5540         (rpmatch): ... local function here.  Also, prototypify definition.
5541
5542 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5543
5544         * scripts/soversions.awk: Do not handle configuration names.
5545         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5546         vendor and os variables to soversions.awk.
5547         * configure.ac: Do not modify gnu-* host_os.
5548         * configure: Regenerated
5549         * shlib-versions: Remove first column with configuration names.
5550         * nptl/shlib-versions: Likewise.
5551         * nptl_db/shlib-versions: Likewise.
5552         * sysdeps/hppa/shlib-versions: Likewise.
5553         * sysdeps/m68k/shlib-versions: Likewise.
5554         * sysdeps/mach/hurd/shlib-versions: Likewise.
5555         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5556         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5557         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5558         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5559         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5560         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5561         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5562         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5564         Likewise.
5565         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5566         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5567         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5568         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5570         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5571         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5572         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5573
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5575         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5577         Regenerated.
5578         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5580         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5581
5582         * shlib-versions: Remove OS-specific entries.  Moved to files in
5583         sysdeps.
5584         * sysdeps/mach/hurd/shlib-versions: New file.
5585         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5586
5587         * nptl/shlib-versions: Remove architecture-specific entries.
5588         Moved to files in sysdeps.
5589         * shlib-versions: Likewise.
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5591         file.
5592         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5593         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5594         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5595         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5596
5597         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5598         (UDP_NO_CHECK6_RX): Likewise.
5599
5600 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5601
5602         * sysdeps/posix/sysconf.c (__sysconf): Spell
5603         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5604
5605 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5606
5607         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5608         loading.
5609         * iconv/Versions (__gconv_transliterate): Export for use from
5610         gconv modules.
5611         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5612         (struct __gconv_trans_data, __gconv_trans_fct,
5613         __gconv_trans_context_fct, __gconv_trans_query_fct,
5614         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5615         definitions.
5616         (struct __gconv_step_data): Remove __trans member.
5617         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5618         longer hidden.  Remove unused trans_data argument.
5619         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5620         (__gconv_translit_find): Remove declaration.
5621         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5622         prototype.
5623         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5624         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5625         trans_data argument.  Add hidden definition.
5626         (__gconv_translit_find): Remove.
5627         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5628         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5629         * iconv/skeleton.c: Remove transliteration initialization.
5630         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5631         __gconv_step_data initialization.
5632         * libio/iofwide.c (__libio_translit_): Remove.
5633         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5634         * wcsmbs/btowc.c (__btowc): Likewise.
5635         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5636         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5637         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5638         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5639         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5640         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5641         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5642         * wcsmbs/wctob.c (wctob): Likewise.
5643
5644 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5645
5646         [BZ #16194]
5647         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5648         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5649         register usage.
5650         * sysdeps/x86/Makefile: Adjust.
5651
5652 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5653             Roland McGrath  <roland@hack.frob.com>
5654
5655         * locale/weight.h: Add include guard.
5656         (findidx): Make static rather than auto; take new parameters
5657         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5658         * locale/weightwc.h: Likewise.
5659         * posix/fnmatch_loop.c
5660         (FCT): Change type of EXTRA from int32_t to wint_t.
5661         Don't include either header inside the function.
5662         Call FINDIDX rather than findidx, and pass new arguments.
5663         #undef FINDIDX at the end of the file.
5664         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5665         FINDIDX before including fnmatch_loop.c for the non-wide version.
5666         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5667         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5668         for the wide version.
5669         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5670         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5671         Pass new arguments to findidx.
5672         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5673         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5674         Don't #include it inside the function.  Pass new arguments to findidx.
5675         * posix/regex_internal.h
5676         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5677         (re_string_elem_size_at): Don't #include it inside the function.
5678         Pass new arguments to findidx.
5679         * string/strcoll_l.c: #include WEIGHT_H at top level.
5680         (get_next_seq): Don't #include it inside the function.
5681         Pass new arguments to findidx.
5682         (get_next_seq_nocache): Likewise.
5683         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5684         (STRXFRM): Don't #include it inside the function.
5685         Pass new arguments to findidx.
5686
5687 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5688
5689         [BZ #17344]
5690         * malloc/malloc.c (unlink): Turn asserts into a call to
5691         malloc_printerr.
5692
5693 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5694
5695         [BZ #17370]
5696         * libio/wfileops (do_ftell_wide): Free OUT.
5697
5698 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5699
5700         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5701
5702 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5703
5704         [BZ #17363]
5705         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5706         group if the current group is empty.
5707
5708 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5709
5710         * benchtests/bench-memset.c (test_main): Add more test from size
5711         from 32 to 512 bytes.
5712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5713         Add POWER8 memset object.
5714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5715         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5716         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5717         implementation.
5718         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5719         Likewise.
5720         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5721         multiarch POWER8 memset optimization.
5722         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5723         POWER8 memset optimization.
5724
5725         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5726         Remove bzero multiarch objects.
5727         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5728         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5729         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5730         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5731         Remove define.
5732         [__bzero]: Redefine to specific name.
5733         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5734         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5735         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5736         define.
5737         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5738         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5739
5740 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5741
5742         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5743         warnings into errors.
5744
5745         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5746         __cxa_thread_atexit_impl prototype.
5747
5748 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5749
5750         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5751         Fix capitalization of error message.
5752
5753 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5754
5755         * sysdeps/mips/preconfigure: Modify ABI tests.
5756
5757 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5758
5759         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5760
5761 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5762             Carlos O'Donell  <carlos@systemhalted.org>
5763
5764         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5765         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5766         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5767         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5768         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5769         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5770         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5771         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5772         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5773         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5774         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5775         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5776         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5777         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5778         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5779         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5780         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5781         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5782         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5783         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5784         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5785         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5786         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5787         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5788         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5789         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5790         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5791         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5792         Deconditionalize the code that was previously under [RESET_PID].
5793         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5794         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5795         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5796         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5797         include sysdep.h.
5798
5799 2014-09-08  Allan McRae  <allan@archlinux.org>
5800
5801         * version.h (RELEASE): Set to "development".
5802         (VERSION): Set to "2.20.90"
5803
5804 2014-09-07  Allan McRae  <allan@archlinux.org
5805
5806         * version.h (RELEASE): Set to "stable".
5807         (VERSION): Set to "2.20"
5808         * include/features.h (__GLIBC_MINOR__): Set to 20.
5809
5810         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5811         Liebler.
5812
5813         * po/ko.po: Update Korean translation from translation project.
5814
5815 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5816
5817         [BZ #17354]
5818         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5819         macro for handling signed relocations.
5820
5821 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5822
5823         [BZ #17325]
5824         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5825         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5826         assert.
5827         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5828         * iconvdata/ibm935.c (BODY): Likewise.
5829         * iconvdata/ibm937.c (BODY): Likewise.
5830         * iconvdata/ibm939.c (BODY): Likewise.
5831         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5832         assert.
5833         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5834         script.
5835         * iconvdata/run-iconv-test.sh: New test loop for checking for
5836         decoder crashers.
5837
5838 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5839
5840         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5841         libm_hidden_ver.
5842
5843 2014-09-01  Allan McRae  <allan@archlinux.org>
5844
5845         * po/eo.po: Update Esperanto translation from translation project.
5846
5847         * po/ca.po: Update Catalan translation from translation project.
5848
5849 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5850
5851         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5852         __proc_dostop call.
5853
5854 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5855
5856         [BZ #17319]
5857         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5858         to call set_thread_area instead of hand written asm.
5859         (__NR_set_thread_area): Removed define.
5860         (TLS_FLAG_WRITABLE): Likewise.
5861         (__ASSUME_SET_THREAD_AREA): Remove check.
5862         (TLS_EBX_ARG): Remove define.
5863         (TLS_LOAD_EBX): Likewise.
5864
5865 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5866
5867         Simplify atomicity of socket creation in bind.
5868
5869         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5870         looking up the name after linking the file.
5871
5872 2014-08-27  Allan McRae  <allan@archlinux.org>
5873
5874         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5875
5876 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5877
5878         [BZ #17187]
5879         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5880         trans_compare, open_translit, __gconv_translit_find):
5881         Remove module loading code.
5882
5883 2014-08-26  Allan McRae  <allan@archlinux.org>
5884
5885         * po/vi.po: Update Vietnamese translation from translation project.
5886
5887         * po/uk.po: Update Ukrainian translation from translation project.
5888
5889         * po/fr.po: Update French translation from translation project.
5890
5891         * po/ru.po: Update Russian translation from translation project.
5892
5893         * po/pl.po: Update Polish translation from translation project.
5894
5895         * po/cs.po: Update Czech translation from translation project.
5896
5897         * po/de.po: Update German translation from translation project.
5898
5899         * po/bg.po: Update Bulgarian translation from translation project.
5900
5901         * po/sv.po: Update Sweedish translation from translation project.
5902
5903         * po/nl.po: Update Dutch translation from translation project.
5904
5905         * po/es.po: Update Spanish translation from translation project.
5906
5907 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5908
5909         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5910
5911         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5912         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5913         (CPPFLAGS-iconvconfig): Likewise.
5914         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5915
5916         * include/libc-symbols.h: Remove unnecessary check for
5917         NOT_IN_libc.
5918         * nptl/pthreadP.h: Likewise.
5919         * sysdeps/aarch64/setjmp.S: Likewise.
5920         * sysdeps/alpha/setjmp.S: Likewise.
5921         * sysdeps/arm/sysdep.h: Likewise.
5922         * sysdeps/i386/setjmp.S: Likewise.
5923         * sysdeps/m68k/setjmp.c: Likewise.
5924         * sysdeps/posix/getcwd.c: Likewise.
5925         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5926         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5927         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5928         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5929         * sysdeps/sh/sh3/setjmp.S: Likewise.
5930         * sysdeps/sh/sh4/setjmp.S: Likewise.
5931         * sysdeps/unix/alpha/sysdep.h: Likewise.
5932         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5933         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5934         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5935         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5938         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5939         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5940         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5941         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5943         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5945         * sysdeps/x86_64/setjmp.S: Likewise.
5946
5947 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5948
5949         [BZ #17263]
5950         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5951         <stdint.h>.
5952         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5953         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5954
5955 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5956
5957         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5958
5959         [BZ #17262]
5960         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5961         and __x86_64__ when disabling x87 inline functions.
5962
5963 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5964
5965         [BZ #17259]
5966         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5967         asm statement with __cpuid_count.
5968
5969 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5970
5971         * configure.ac: Change __ehdr_start code to dereference the struct.
5972         Run readelf on the output to look for relocations.
5973         * configure: Regenerated.
5974
5975 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5976
5977         [BZ #17261]
5978         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5979         value to 0.
5980         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5981
5982 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5983
5984         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5985
5986 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5987
5988         [BZ #16892]
5989         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5990         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5991
5992 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5993
5994         * malloc/malloc.c: Fix typo in comment.
5995
5996 2014-08-09  Allan McRae  <allan@archlinux.org>
5997
5998         * Regenerate libc.po.
5999
6000 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6001
6002         * intl/tst-gettext2.sh: Check every lang file for creation.
6003
6004 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6005
6006         * sysdeps/aarch64/fpu/math_private.h
6007         (libc_feholdsetround_noex_aarch64_ctx): New function.
6008
6009 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6010
6011         * sysdeps/arm/armv6/strcpy.S (strcpy):
6012         Fix performance issue in misaligned cases.
6013
6014 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6015
6016         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6017         Move definition from termios.h.
6018         (struct termio): Likewise.
6019         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6020         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6021         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6022         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6023         Likewise.
6024         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6025         Move definition to ioctl-types.h
6026         (struct termio): Likewise.
6027         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6028         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6029         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6030         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6031         Likewise.
6032
6033 2014-08-05  Richard Henderson  <rth@redhat.com>
6034
6035         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6036         exceptions.
6037         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6038         Add fraiseexcpt.
6039         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6040         Use __feraiseexcept.
6041         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6042         Protect libm symbols with IS_IN_libm.
6043
6044         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6045
6046 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6047
6048         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6049
6050 2014-08-04  Will Newton  <will.newton@linaro.org>
6051
6052         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6053         file.
6054
6055 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6056
6057         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6058         variants for each function.
6059
6060 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6061
6062         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6063         appended ...
6064         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6065         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6066         appended ...
6067         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6068         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6069         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6070         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6071         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6072         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6073         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6074         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6075         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6076         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6077         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6078         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6079         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6080         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6081         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6082         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6083         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6084         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6085         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6086         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6087         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6088         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6089         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6090         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6091         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6092         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6093         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6095         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6096         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6097         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6098         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6099         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6100         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6101         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6102         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6103         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6104         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6105         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6106         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6107         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6108         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6109         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6110         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6111         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6112         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6113         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6114         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6115         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6117         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6118         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6119         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6120         Update #include.
6121         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6122         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6123
6124 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6125
6126         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6127         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6128         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6129         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6130         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6131         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6132
6133 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6134
6135         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6136         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6137         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6138         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6139
6140 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6141
6142         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6143         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6144         (__libc_vfork): Define function under this name.
6145         (__vfork): Define as an alias.
6146         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6147         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6148
6149 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6150
6151         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6152         that was previously under [RESET_PID].
6153         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6154
6155 2014-08-04  Andreas Schwab  <schwab@suse.de>
6156
6157         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6158
6159 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6160
6161         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6162         (main): Likewise.
6163
6164 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6165
6166         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6167
6168 2014-08-01  Richard Henderon  <rth@redhat.com>
6169
6170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6171         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6172         typo in exact zero test.
6173         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6174         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6175         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6176
6177 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6178
6179         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6180         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6181         * sysdeps/arm/sysdep.h: ... here.
6182         [!__ASSEMBLER__]: Include <stdint.h>.
6183
6184 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6185
6186         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6187         (HAVE_WCTYPE_H): Likewise.
6188         (HAVE_ISWCTYPE): Likewise.
6189         (ENABLE_NLS): Likewise.
6190         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6191         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6192
6193         * posix/regex_internal.c: Check if DEBUG is defined and is
6194         set.
6195
6196         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6197         (HAVE_MBSRTOWCS): Likewise.
6198         * posix/fnmatch.c: Include string.h unconditionally.
6199
6200 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6201
6202         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6203         reversal.
6204
6205 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6206
6207         * sysdeps/generic/safe-fatal.h: New file.
6208         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6209         * nptl/forward.c: Include it.
6210         (__pthread_unwind): Use __safe_fatal as default action, rather
6211         than a bogus use of INTERNAL_SYSCALL that could never work.
6212
6213         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6214         * configure.ac (libc_cv_builtin_trap): New test.
6215         * configure: Regenerated.
6216         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6217         (ABORT_INSTRUCTION): Define using __builtin_trap.
6218
6219         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6220         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6221         * sysdeps/nptl/nptl-signals.h: New file.
6222         * nptl/pthreadP.h: Include <nptl-signals.h>.
6223
6224 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6225
6226         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6227         (ONE_DIRECTION): Define.
6228         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6229         (ONE_DIRECTION): Define.
6230         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6231         (ONE_DIRECTION): Define.
6232
6233 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6234
6235         * sysdeps/s390/Makefile: Delete file.
6236         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6237         * sysdeps/s390/__longjmp.c: Delete file.
6238         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6239         Remove fields __flags and __reserved.
6240         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6241         and add versioning.
6242         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6243         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6244         * sysdeps/s390/rtld-setjmp.S: Likewise.
6245         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6246         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6247         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6248         * sysdeps/s390/s390-32/setjmp.S: ... here.
6249         Add versioning.
6250         (__sigsetjmp): Remove setting __flags field.
6251         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6252         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6253         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6254         * sysdeps/s390/s390-64/setjmp.S: ... here.
6255         Add versioning.
6256         (__sigsetjmp): Remove setting __flags field.
6257         * sysdeps/s390/setjmp.S: Delete file.
6258         * sysdeps/s390/sigjmp.c: Likewise.
6259         * sysdeps/s390/v1-longjmp.c: Likewise.
6260         * sysdeps/s390/v1-setjmp.h: Likewise.
6261         * sysdeps/s390/v1-sigjmp.c: Likewise.
6262         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6263         Remove v1-longjmp_chk.
6264         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6265         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6266         Include debug/longjmp_chk.c and add versioning.
6267         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6268         Include nptl/pt-longjmp.c and add versioning.
6269         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6270         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6271         Include __longjmp.c.
6272         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6273         Move to ...
6274         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6275         (__getcontext): Remove setting __flags field.
6276         Add versioning.
6277         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6278         Don't restore upper high grps.
6279         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6280         Likewise.
6281         (__swapcontext): Remove setting uc_flags field.
6282         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6283         Delete file.
6284         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6285         Include __longjmp.c.
6286         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6287         Move to ...
6288         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6289         (__getcontext): Remove setting __flags field.
6290         Add versioning.
6291         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6292         (__swapcontext): Remove setting uc_flags field.
6293         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6294         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6295         Remove fields uc_high_gprs and __reserved.
6296         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6297         New file with reverted content.
6298         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6299         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6300         Regenerated.
6301         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6302         Regenerated.
6303
6304 2014-07-31  Andreas Schwab  <schwab@suse.de>
6305
6306         * config.h.in (HAVE_IFUNC): Define to 0.
6307         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6308         definedness.
6309
6310 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6311
6312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6313         memmove-avx-unaligned, memcpy-avx-unaligned and
6314         mempcpy-avx-unaligned.
6315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6316         Add tests for AVX memcpy functions.
6317         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6318         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6319         memcpy_chk.
6320         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6321         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6322         memmove_chk.
6323         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6325         mempcpy_chk.
6326         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6327         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6328         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6329
6330 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6331
6332         [BZ #17213]
6333         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6334         powerpc64le.
6335
6336 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6337
6338         [BZ #16839]
6339         * manual/llio.texi: Add section about open file description locks.
6340         * manual/examples/ofdlocks.c: Example of open file description
6341         lock usage.
6342         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6343         F_OFD_SETLK, and F_OFD_SETLKW.
6344
6345 2014-07-23  Allan McRae  <allan@archlinux.org>
6346
6347         * po/es.po: Update Spanish translation from translation project.
6348
6349 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6350
6351         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6352
6353 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6354
6355         [BZ #17078]
6356         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6357         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6358         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6359
6360 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6361
6362         [BZ #17088]
6363         * math/fesetenv.c (__fesetenv)
6364         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6365         * math/feupdateenv.c (__feupdateenv)
6366         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6367
6368         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6369         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6370         (__ASSUME_SOCKETCALL): Do not define.
6371
6372         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6373         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6374         (__ASSUME_SOCKETCALL): Do not define.
6375         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6376         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6377         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6378         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6379         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6380         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6382         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6383
6384         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6385         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6386         (__ASSUME_SOCKETCALL): Do not define.
6387         (__ASSUME_IPC64): Define unconditionally.
6388         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6389         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6390         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6391         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6392         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6394         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6395         Likewise.
6396
6397         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6398         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6399         (__ASSUME_SOCKETCALL): Do not define.
6400         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6401         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6402         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6403         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6404         (__ASSUME_REQUEUE_PI): Define unconditionally.
6405         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6406         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6407         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6408         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6409         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6410         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6411
6412         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6413         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6414         (__ASSUME_SOCKETCALL): Do not define.
6415         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6416         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6417         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6418         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6419         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6420         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6421
6422         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6423         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6424         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6425         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6426         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6427         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6428         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6429         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6430         (__ASSUME_GETCPU_SYSCALL): Likewise.
6431
6432         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6433         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6434         cases for individual architectures.
6435         * sysdeps/gnu/configure: Regenerated.
6436         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6437         LIBC_SLIBDIR_RTLDDIR.
6438         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6439         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6440         LIBC_SLIBDIR_RTLDDIR.
6441         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6443         LIBC_SLIBDIR_RTLDDIR.
6444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6445         Regenerated.
6446         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6447         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6448         file.
6449         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6450         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6451         file.
6452         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6453         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6454         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6455         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6456
6457         * sysdeps/aarch64/shlib-versions: Move to ...
6458         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6459         * sysdeps/alpha/shlib-versions: Move to ...
6460         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6461         * sysdeps/arm/shlib-versions: Move to ...
6462         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6463         * sysdeps/hppa/shlib-versions: Move all contents except for
6464         libgcc_s entry to ...
6465         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6466         entry from ...
6467         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6468         * sysdeps/ia64/shlib-versions: Move to ...
6469         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6470         entry from ...
6471         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6472         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6473         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6474         * sysdeps/microblaze/shlib-versions: Move to ...
6475         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6476         * sysdeps/mips/shlib-versions: Move to ...
6477         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6478         entry from ...
6479         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6480         * sysdeps/tile/shlib-versions: Move to ...
6481         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6482         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6483         from ...
6484         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6485         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6486         entry from ...
6487         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6488
6489 2014-07-17  Will Newton  <will.newton@linaro.org>
6490
6491         * sysdeps/arm/bits/atomic.h
6492         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6493         (__arch_compare_and_exchange_bool_16_int): Likewise.
6494         (__arch_compare_and_exchange_bool_64_int): Likewise.
6495
6496         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6497         into an #else block.
6498
6499 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6500
6501         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6502         just Linux configurations.  Test empirically that the compiler sets
6503         __ARM_EABI__, rather than using the tuple to decide.
6504         * sysdeps/arm/preconfigure: Regenerated.
6505         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6506         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6507         contents appended ...
6508         * sysdeps/arm/configure.ac: ... here.
6509         * sysdeps/arm/configure: Regenerated.
6510
6511 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6512
6513         * nptl/pthread_kill.c: New file.
6514         * nptl/pthread_sigmask.c: New file.
6515         * nptl/pthread_sigqueue.c: New file.
6516
6517         * sysdeps/nptl/lowlevellock.h: New file.
6518         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6519         * sysdeps/nptl/lowlevellock-futex.h: New file.
6520
6521         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6522         Remove dead declarations.
6523
6524 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6525
6526         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6527         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6528         config-cflags-avx2.
6529         * sysdeps/x86_64/configure.ac: Likewise.
6530         * sysdeps/i386/configure: Regenerated.
6531         * sysdeps/x86_64/configure: Likewise.
6532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6533         memset-avx2 only if config-cflags-avx2 is yes.
6534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6535         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6536         defined.
6537         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6538         only if HAVE_AVX2_SUPPORT is defined.
6539         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6540
6541 2014-07-14  Alan Modra  <amodra@gmail.com>
6542
6543         [BZ #17153]
6544         * elf/elf.h (DT_PPC64_NUM): Correct value.
6545         * NEWS: Add to fixed bug list.
6546
6547 2014-07-13  Jim Meyering  <meyering@fb.com>
6548
6549         [BZ 17150]
6550         regex: don't deref NULL upon heap allocation failure
6551         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6552         failure in one more place.
6553         To trigger the segfault, configure grep -with-included-regex,
6554         build it, and run these commands:
6555         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6556
6557 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6558
6559         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6560
6561 2014-07-11  Richard Henderson  <rth@redhat.com>
6562
6563         * sysdeps/aarch64/libm-test-ulps: Update.
6564
6565 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6566
6567         [BZ #17135]
6568         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6569         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6570         (__nptl_setxid): Initialize error member.  Call
6571         __nptl_setxid_error.
6572         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6573         * nptl/descr.h (struct xid_command): Add error member.
6574         * nptl/tst-setuid3.c: New file.
6575         * nptl/Makefile (tests): Add it.
6576
6577 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6578
6579         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6580         New define.
6581         (__lll_trylock): Use __lll_base_trylock.
6582         (__lll_cond_trylock): Likewise.
6583
6584 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6585
6586         * nptl/pthread_create.c (start_thread): Use atomic_or and
6587         lll_futex_wake directly rather than lll_robust_dead.
6588         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6589         (lll_robust_dead): Macro removed.
6590         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6591         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6592         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6593         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6594         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6595         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6596         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6597         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6598         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6599         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6600         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6601         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6602         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6603         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6605
6606         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6607         Use atomic_compare_and_exchange_val_acq directly rather than
6608         lll_robust_trylock.
6609         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6610         (__lll_robust_trylock, lll_robust_trylock): Removed.
6611         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6612         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6613         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6614         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6615         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6616         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6617         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6618         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6619         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6620         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6621         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6622         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6623         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6624         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6625
6626 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6627
6628         * manual/locale.texi (Locale Names): New section documenting
6629         locale name syntax.  Adjust menu and node chaining accordingly.
6630         (Choosing Locale): Reference Locale Names, Locale Categories.
6631         Mention setting LC_ALL=C.  Reflect that name syntax is now
6632         documented.
6633         (Locale Categories): New section title.  Reference Locale Names.
6634         LC_ALL is an environment variable, but not a category.
6635         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6636         description, now in Locale Name.  Reference that section.  Locale
6637         name syntax is now documented.
6638
6639 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6640
6641         [BZ #17137]
6642         * locale/findlocale.c (name_present, valid_locale_name): New
6643         functions.
6644         (_nl_find_locale): Use the loc_name variable to store name
6645         candidates.  Call name_present and valid_locale_name to check and
6646         validate locale names.  Return an error if the locale is invalid.
6647
6648 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6649
6650         * locale/setlocale.c (setlocale): Use strdup for allocating
6651         composite name copy.
6652
6653 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6654
6655         Sync up with gnulib.
6656         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6657         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6658         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6659         and _GL_ARG_NONNULL.
6660         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6661         [!_LIBC]: Include code for Windows and Cygwin.
6662         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6663         Include prototype for int strerror_r.
6664         [!_LIBC] (is_open): New function.
6665         (flush_stdout): New function.
6666         (print_errno_message): Use it.
6667         (error): Likewise.
6668         (error_at_line): Likewise.
6669         (error_tail) Add function attribute macros.  Use
6670         __builtin_expect.
6671
6672         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6673
6674         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6675
6676         * io/ftw.c: Include sys/param.h unconditionally.
6677
6678         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6679
6680         [BZ #17125]
6681         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6682         libc_freeres_ptr.
6683         (freecache): New function to free CACHE on exit.
6684
6685         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6686         initialization.
6687
6688 2014-07-09  David S. Miller  <davem@davemloft.net>
6689
6690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6691
6692         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6693         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6694         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6695         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6696         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6697         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6698         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6699         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6700         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6701         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6702         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6703         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6704         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6705
6706 2014-07-09  Andreas Schwab  <schwab@suse.de>
6707
6708         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6709         output.
6710         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6711         (do_test): Likewise.
6712
6713         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6714
6715 2014-07-09  Will Newton  <will.newton@linaro.org>
6716
6717         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6718         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6719         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6720         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6721         * sysdeps/hppa/start.S (_start): Likewise.
6722
6723 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6724
6725         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6726
6727         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6728         defined.
6729
6730 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6731
6732         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6733         after checking that it is non-NULL.
6734
6735         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6736
6737 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6738
6739         * sysdeps/powerpc/memmove.c: Remove file.
6740         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6741         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6742         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6743         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6744         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6745         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6746         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6747         string memmove instead of removed powerpc one.
6748
6749         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6750         [weak_alias]: Fix compiler warning due trailing data.
6751         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6752         [weak_alias]: Likewise.
6753         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6754         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6755
6756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6757         (__libc_ifunc_impl_list): Add memmove functions.
6758
6759 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6760
6761         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6762         Remove code.
6763         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6764         Likewise
6765         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6766         Likewise
6767         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6768         Likewise
6769         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6770         Likewise
6771         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6772         Likewise
6773         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6774         Likewise
6775         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6776         Likewise
6777         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6778         Likewise
6779         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6780         Likewise
6781         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6782         Likewise
6783         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6784         Likewise
6785         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6786         Likewise
6787         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6788         Likewise
6789         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6790         Likewise
6791         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6792         Likewise
6793         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6794         Likewise
6795
6796 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6797
6798         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6799         to avoid alignment traps in non-cacheable memory.
6800         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6801
6802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6803         multiarch objects.
6804         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6805         file: multiarch power7 memmove.
6806         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6807         multiarch default memmove.
6808         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6809         multiarch memove for powerpc32/power4.
6810
6811         * string/bcopy.c: Use full path to include memmove.c.
6812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6813         multiarch objects.
6814         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6815         bcopy for powerpc64.
6816         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6817         bcopy for powerpc64.
6818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6819         and memmove implementations.
6820         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6821         optimized multiarch memmove for POWER7/powerpc64.
6822         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6823         default multiarch memmove for powerpc64.
6824         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6825         multiarch for powerpc64.
6826         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6827         for POWER7/powerpc64.
6828         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6829         memmove for POWER7/powerpc64.
6830
6831         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6832         glibc default one.
6833
6834         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6835         __ELF_NATIVE_CLASS equal to 64.
6836
6837 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6838
6839         * sysdeps/nptl/lowlevellock.h: File removed.
6840
6841         * NEWS: NPTL is no longer an add-on!
6842         * nptl/internaltypes.h: Moved ...
6843         * sysdeps/nptl/internaltypes.h: ... here.
6844         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6845         * sysdeps/nptl/fork.c: Likewise.
6846         * sysdeps/nptl/gai_misc.h: Likewise.
6847         * sysdeps/nptl/librt-cancellation.c: Likewise.
6848         * sysdeps/nptl/jmp-unwind.c: Likewise.
6849         * sysdeps/nptl/setxid.h: Likewise.
6850         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6851         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6852         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6853         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6854         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6855         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6856         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6857         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6858         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6859         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6860         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6861         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6862         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6863         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6864         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6865         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6866         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6867         * nptl/Makeconfig: Moved ...
6868         * sysdeps/nptl/Makeconfig: ... here.
6869         * nptl/configure: File removed.
6870         * nptl/ANNOUNCE: File removed.
6871         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6872         * sysdeps/unix/sysv/linux/configure: Regenerated.
6873
6874         * nptl/Makefile (routines): Add libc_pthread_init,
6875         libc_multiple_threads, register-atfork and unregister-atfork.
6876         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6877         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6878         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6879         pthread-pi-defines.sym, structsem.sym.
6880         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6881         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6882         [$(subdir) = nptl] (tests): Add tst-setgetname.
6883         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6884         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6885         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6886         [!LIBC_SIGACTION]: Remove aliases.
6887         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6888         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6889         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6890         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6891         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6892         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6893         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6894         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6895         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6896         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6897         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6898         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6899         __libc_allocate_rtsig_private.
6900         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6901         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6902         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6903         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6904         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6905         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6906         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6907         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6908         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6909         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6910         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6911         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6912         * nptl/internaltypes.h: ... here.
6913         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6914         * sysdeps/nptl/jmp-unwind.c: ... here.
6915         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6916         * nptl/libc-lowlevellock.c: ... here.
6917         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6918         * nptl/libc_multiple_threads.c: ... here.
6919         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6920         * nptl/libc_pthread_init.c: ... here.
6921         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6922         * nptl/lowlevelbarrier.sym: ... here.
6923         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6924         * nptl/lowlevelcond.sym: ... here.
6925         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6926         * nptl/lowlevellock.c: ... here.
6927         * nptl/lowlevellock.h: Moved ...
6928         * sysdeps/nptl/lowlevellock.h: ... here.
6929         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6930         * nptl/lowlevelrobustlock.c: ... here.
6931         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6932         * nptl/lowlevelrobustlock.sym: ... here.
6933         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6934         * nptl/lowlevelrwlock.sym: ... here.
6935         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6936         * nptl/pt-fork.c: ... here.
6937         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6938         * nptl/pthread-pi-defines.sym: ... here.
6939         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6940         * nptl/pthread_attr_getaffinity.c: ... here.
6941         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6942         * nptl/pthread_attr_setaffinity.c: ... here.
6943         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6944         * nptl/pthread_mutex_cond_lock.c: ... here.
6945         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6946         Update #include.
6947         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6948         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6949         * nptl/pthread_once.c: ... here, replacing old file.
6950         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6951         * nptl/pthread_yield.c: ... here.
6952         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6953         * nptl/register-atfork.c: ... here.
6954         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6955         * nptl/sem_post.c: ... here.
6956         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6957         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6958         * nptl/sem_timedwait.c: ... here.
6959         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6960         * nptl/sem_trywait.c: ... here.
6961         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6962         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6963         * nptl/sem_wait.c: ... here.
6964         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6965         * nptl/structsem.sym: ... here.
6966         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6967         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6968         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6969         * nptl/unregister-atfork.c: ... here.
6970         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6971         * nptl/unwindbuf.sym: ... here.
6972         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6973         * sysdeps/nptl/fork.c: ... here.
6974         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6975         * sysdeps/nptl/fork.h: ... here.
6976         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6977         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6978         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6979         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6980         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6981         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6982         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6983         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6984         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6985         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6986         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6987         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6988         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6989         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6990         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6991         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6992         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6993         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6994         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6995         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6996         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6997         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6998         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6999         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7000         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7001         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7002         * sysdeps/unix/sysv/linux/raise.c: ... here.
7003         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7004         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7005         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7006         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7007         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7008         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7009         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7010         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7011         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7012         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7013         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7014         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7015         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7016         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7017         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7018
7019 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7020
7021         * sysdeps/generic/memcopy.h: Add comment for
7022         MEMCPY_OK_FOR_FWD_MEMMOVE.
7023
7024 2014-07-04  Will Newton  <will.newton@linaro.org>
7025
7026         * string/memchr.c: Merge from gnulib.
7027         [_LIBC]: Remove conditionals.
7028         (__ptr_t): Remove define.
7029         (LONG_MAX_32_BITS): Likewise.
7030         (LONG_MAX): Likewise.
7031         (MEMCHR): Use ANSI prototype and optimize algorithm.
7032
7033         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7034
7035 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7036
7037         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7038         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7039
7040         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7041         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7042         in a bare environment with no <stdlib.h> installed.
7043         * sysdeps/nptl/configure: Regenerated.
7044
7045         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7046
7047         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7048         AC_EGREP_CPP for kernel header checks, so they only succeed if
7049         including <linux/version.h> actually works right.
7050         * sysdeps/unix/sysv/linux/configure: Regenerated.
7051
7052         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7053         value so it's not diagnosed as unused.
7054
7055         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7056         thing) with "ifeq ($(subdir),rt)".
7057
7058 2014-07-03  Richard Henderson  <rth@redhat.com>
7059
7060         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7061         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7062         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7063
7064         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7065         (math_force_eval): New.
7066
7067         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7068         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7069
7070         * sysdeps/alpha/fpu/s_round.c: Remove file.
7071         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7072
7073         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7074         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7075         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7076         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7077         (_dl_start, print_statistics): Likewise.
7078         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7079         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7080
7081         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7082         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7083         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7084         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7085         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7086         (HP_SMALL_TIMING_AVAIL): Define.
7087         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7088         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7089         (HP_SMALL_TIMING_AVAIL): Define.
7090         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7091         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7092
7093         * sysdeps/aarch64/hp-timing.h: New file.
7094
7095         * sysdeps/generic/hp-timing.h: Remove dead comment.
7096         * sysdeps/generic/hp-timing-common.h: New file.
7097         * sysdeps/alpha/hp-timing.h: Include it.
7098         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7099         * sysdeps/i386/i686/hp-timing.h: Likewise.
7100         * sysdeps/ia64/hp-timing.h: Likewise.
7101         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7102         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7103         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7104         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7105         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7106         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7107         (hp_timing_t): New.
7108
7109         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7110         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7111         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7112         * elf/rtld.c (_dl_start_final): Likewise.
7113         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7114         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7115         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7116         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7117         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7118         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7119         (HP_TIMING_DIFF_INIT): Remove.
7120         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7121         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7122         (HP_TIMING_DIFF_INIT): Remove.
7123         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7124         * sysdeps/i386/i686/hp-timing.c: Remove file.
7125         * sysdeps/x86_64/hp-timing.c: Remove file.
7126         * sysdeps/ia64/hp-timing.c: Remove file.
7127         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7128         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7129         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7130         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7131
7132         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7133         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7134         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7135         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7136         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7137         (HP_TIMING_ACCUM): Remove.
7138         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7139         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7140         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7141
7142         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7143         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7144         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7145         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7146         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7147         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7148         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7149         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7150
7151         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7152
7153 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7154
7155         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7156
7157 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7158
7159         Sync up with gettext.
7160         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7161         [_MSC_VER]: Include malloc.h
7162         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7163         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7164         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7165         TEMP_FAILURE_RETRY.  Cast return of alloca.
7166         [!_LIBC] Call gl_rwlock_init.
7167         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7168
7169 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7170
7171         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7172         before checking its value.
7173
7174 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7175
7176         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7177
7178         * debug/memcpy_chk.c: Don't include pagecopy.h.
7179         * debug/mempcpy_chk.c: Likewise.
7180         * string/memcpy.c: Likewise.
7181         * string/memmove.c: Likewise.
7182         * sysdeps/powerpc/memmove.c: Likewise.
7183         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7184         definition of PAGE_COPY_FWD_MAYBE here...
7185         * sysdeps/generic/pagecopy.h: ... from here.
7186         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7187
7188 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7189             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7190
7191         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7193         optimizations.
7194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7195         (__libc_ifunc_impl_list): Likewise.
7196         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7197         multiarch strcat for PPC64.
7198         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7199         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7200
7201 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7202
7203         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7204
7205 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7206
7207         * intl/loadmsgcat.c: Remove declaration of
7208         get_sysdep_segment_value.
7209         (get_sysdep_segment_value): Use ISO C style.
7210         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7211         semicolon.  Fix typo and formatting in comment.
7212         (_nl_unload_domain): Use ISO C style.
7213
7214         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7215
7216 2014-07-02  Will Newton  <will.newton@linaro.org>
7217
7218         * malloc/obstack.c: Merge from gnulib master.
7219         [HAVE_CONFIG_H]: Remove conditional code.
7220         [!_LIBC]: Include config.h.
7221         [!ELIDE_CODE]: Don't include inttypes.h, include
7222         stdint.h unconditionally.
7223         (print_and_abort): Mark as _Noreturn.
7224         (_obstack_allocated_p): Mark as __attribute_pure__.
7225         (obstack_free): Rename to __obstack_free.
7226         [!__attribute__]: Remove conditional code.
7227         * malloc/obstack.h: Merge from gnulib master.
7228         [__cplusplus]: Move conditional down.
7229         [!__attribute_pure__]: Define __attribute_pure__ here
7230         if it is not already defined.
7231         (_obstack_memory_used): Mark as __attribute_pure__.
7232         [!__obstack_free]: Define as obstack_free.
7233         [__GNUC__]: Remove check for ancient NeXT gcc.
7234
7235 2014-07-02  Will Newton  <will.newton@linaro.org>
7236             Paul Eggert  <eggert@cs.ucla.edu>
7237
7238         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7239
7240 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7241
7242         * resolv/gethnamaddr.c: Add comment warning that the file is
7243         not maintained.
7244
7245 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7246
7247         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7248         entries.
7249
7250         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7251         entry for aio_cancel and aio_cancel64.
7252         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7253         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7254         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7255         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7256         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7257         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7258         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7259         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7260         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7261         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7262         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7263         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7264         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7265
7266 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7267
7268         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7269         * nptl/pthread_mutex_lock.c: Likewise.
7270         * nptl/pthread_mutex_timedlock.c: Likewise.
7271         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7272
7273 2014-07-01  Richard henderson  <rth@redhat.com>
7274
7275         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7276         (__isnan, __isnanl): Remove.
7277         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7278
7279         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7280
7281 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7282
7283         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7284
7285 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7286
7287         * resolv/nss_dns/dns-host.c (getanswer_r)
7288         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7289
7290 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7291
7292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7293         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7294         undefine.
7295         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7296         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7297
7298 2014-07-01  Roland McGrath <roland@hack.frob.com>
7299
7300         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7301         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7302
7303         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7304         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7305
7306         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7307         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7308         ... here.
7309         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7310         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7311
7312         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7313         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7314         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7315         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7316
7317         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7318         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7319         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7320         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7321         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7322         Moved ...
7323         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7324         ... here.
7325         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7326         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7327         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7328         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7329         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7330         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7331         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7332         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7333         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7334         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7335         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7336         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7337         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7338         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7339         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7340         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7341         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7342         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7343         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7344         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7345         ... here.
7346         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7347         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7348         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7349         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7350         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7351         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7352         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7353         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7354
7355 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7356
7357         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7358         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7359         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7360         Add sysdep.
7361
7362 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7363
7364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7365
7366 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7367
7368         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7369         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7370
7371         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7372
7373         * sysdeps/arm/libm-test-ulps: Regenerated.
7374
7375 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7376             Roland McGrath <roland@hack.frob.com>
7377
7378         * test-skeleton.c (signal_handler): Kill the whole process group
7379         before killing the child individually.
7380         (main): Report any failure on `setpgid'.
7381
7382 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7383
7384         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7385         from _TLS_H to _ARM_NPTL_TLS_H.
7386         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7387         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7388
7389 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7390
7391         [BZ #16539]
7392         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7393         (__expm1l): Return argument unchanged when small but not
7394         subnormal.
7395
7396         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7397         include macro name.
7398         (_FP_UNPACK_RAW_1_P): Likewise.
7399         (_FP_PACK_RAW_1): Likewise.
7400         (_FP_PACK_RAW_1_P): Likewise.
7401         (_FP_MUL_MEAT_1_wide): Likewise.
7402         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7403         (_FP_MUL_MEAT_1_hard): Likewise.
7404         (_FP_DIV_MEAT_1_imm): Likewise.
7405         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7406         (_FP_DIV_MEAT_1_udiv): Likewise.
7407         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7408         (_FP_UNPACK_RAW_2): Likewise.
7409         (_FP_UNPACK_RAW_2_P): Likewise.
7410         (_FP_PACK_RAW_2): Likewise.
7411         (_FP_PACK_RAW_2_P): Likewise.
7412         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7413         (_FP_MUL_MEAT_2_wide): Likewise.
7414         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7415         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7416         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7417         (_FP_MUL_MEAT_2_gmp): Likewise.
7418         (_FP_DIV_MEAT_2_udiv): Likewise.
7419         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7420         (_FP_FRAC_SRL_4): Likewise.
7421         (_FP_FRAC_SRST_4): Likewise.
7422         (_FP_FRAC_SRS_4): Likewise.
7423         (_FP_UNPACK_RAW_4): Likewise.
7424         (_FP_UNPACK_RAW_4_P): Likewise.
7425         (_FP_PACK_RAW_4): Likewise.
7426         (_FP_PACK_RAW_4_P): Likewise.
7427         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7428         (_FP_MUL_MEAT_4_wide): Likewise.
7429         (_FP_MUL_MEAT_4_gmp): Likewise.
7430         (umul_ppppmnnn): Likewise.
7431         (_FP_DIV_MEAT_4_udiv): Likewise.
7432         (__FP_FRAC_ADD_4): Likewise.
7433         (__FP_FRAC_SUB_3): Likewise.
7434         (__FP_FRAC_SUB_4): Likewise.
7435         (__FP_FRAC_DEC_3): Likewise.
7436         (__FP_FRAC_DEC_4): Likewise.
7437         (__FP_FRAC_ADDI_4): Likewise.
7438         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7439         (_FP_FRAC_SRL_8): Likewise.
7440         (_FP_FRAC_SRS_8): Likewise.
7441
7442         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7443         include macro name.
7444         (FP_UNPACK_RAW_EP): Likewise.
7445         (FP_PACK_RAW_E): Likewise.
7446         (FP_PACK_RAW_EP): Likewise.
7447         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7448         (_FP_ISSIGNAN): Likewise.
7449         (_FP_ADD_INTERNAL): Likewise.
7450         (_FP_FMA): Likewise.
7451         (_FP_CMP): Likewise.
7452         (_FP_SQRT): Likewise.
7453         (_FP_TO_INT): Likewise.
7454         (_FP_FROM_INT): Likewise.
7455         (FP_EXTEND): Likewise.
7456         (_FP_DIV_MEAT_N_loop): Likewise.
7457
7458 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7459
7460         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7461         throughout.
7462
7463 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7464
7465         [BZ #17097]
7466         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7467         result with correct sign in case of exponents that produce
7468         overflow except for X very close to 1.
7469
7470 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7471
7472         mktime: merge #if/#ifdef usage from glibc
7473         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7474         as that works with both Glibc's and Gnulib's style.
7475         See thread starting at Siddhesh Poyarekar's bug report at:
7476         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7477
7478 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7479
7480         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7481         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7482         * sysdeps/tile/tilegx/memmove.c: Remove file.
7483
7484 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7485
7486         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7487         abi-name definition.
7488         * scripts/soversions.awk: Do not handle or generate ABI lines.
7489         * shlib-versions: Remove ABI entries.
7490         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7491         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7492
7493 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7494
7495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7496         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7497         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7498         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7500         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7502         Moved ...
7503         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7504         ... here.
7505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7506         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7508         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7510         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7512         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7514         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7516         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7518         Moved ...
7519         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7521         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7523         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7525         Moved ...
7526         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7528         Moved ...
7529         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7533         Moved ...
7534         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7536         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7538         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7540         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7542         Moved ...
7543         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7545         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7546         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7547         Moved ...
7548         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7550         Moved ...
7551         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7553         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7555         Moved ...
7556         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7557         ... here.
7558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7559         Identical file removed.
7560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7561         Moved ...
7562         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7564         Identical file removed.
7565         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7566         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7567         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7568         Moved ...
7569         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7571         Identical file removed.
7572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7573         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7574         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7575         Identical file removed.
7576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7577         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7579         Identical file removed.
7580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7581         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7582         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7583         Identical file removed.
7584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7585         Moved ...
7586         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7587         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7588         Identical file removed.
7589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7590         Moved ...
7591         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7592         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7593         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7595         Identical file removed.
7596         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7597         Moved ...
7598         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7599         ... here.
7600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7601         Identical file removed.
7602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7603         Moved ...
7604         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7605         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7606         Identical file removed.
7607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7608         Moved ...
7609         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7611         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7612         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7613         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7614         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7615         Moved ...
7616         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7617         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7618         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7619
7620         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7621         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7622         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7623         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7624         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7625
7626 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7627
7628         [BZ #17092]
7629         * nscd/nscd.c (monitor_child): Return exit status of child
7630         instead of return value from wait syscall.
7631
7632 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7633
7634         * configure.ac (libc_commonpagesize): Remove variable.
7635         (libc_relro_required): Likewise.
7636         (libc_cv_z_relro): Remove configure test.
7637         * configure: Regenerated.
7638         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7639         variable.
7640         (libc_relro_required): Likewise.
7641         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7642         (libc_relro_required): Likewise.
7643         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7644         (libc_relro_required): Likewise.
7645         * sysdeps/arm/preconfigure: Regenerated.
7646         * sysdeps/ia64/preconfigure: Remove file.
7647         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7648         variable.
7649         (libc_relro_required): Likewise.
7650
7651         [BZ #16561]
7652         [BZ #16562]
7653         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7654         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7655         recompute overflowing results in original rounding mode.
7656         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7657         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7658         recompute overflowing results in original rounding mode.
7659         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7660         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7661         recompute overflowing results in original rounding mode.
7662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7663         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7664         recompute overflowing results in original rounding mode.
7665         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7666         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7667         recompute overflowing results in original rounding mode.
7668         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7669         (libc_feholdsetround_ctx): New macro.
7670         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7671         * sysdeps/i386/fpu/libm-test-ulps: Update.
7672         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7673
7674 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7675
7676         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7677         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7678         corresponding .cpsetup call.
7679
7680 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7681
7682         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7683         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7684         * sysdeps/arm/Makefile [$(subdir) = csu]
7685         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7686         (static-only-routines): Add aeabi_read_tp here.
7687         (shared-only-routines): Add libc-aeabi_read_tp here.
7688         (CFLAGS-libc-start.c): Add -fexceptions here.
7689         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7690         (sysdep_routines, static-only-routines, shared-only-routines):
7691         Don't add to these here.
7692         (CFLAGS-libc-start.c): Likewise.
7693
7694         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7695         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7696         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7697         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7698         * sysdeps/arm/Makefile [$(subdir) = rt]
7699         (librt-sysdep_routines, librt-shared-only-routines):
7700         Append rt-aeabi_unwind_cpp_pr1 here.
7701         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7702         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7703         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7704         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7705         Append nptl-aeabi_unwind_cpp_pr1 here.
7706         (tests): Filter out tst-cleanupx4 here.
7707         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7708         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7709         Don't do those here.
7710
7711 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7712
7713         * scripts/list-sources.sh: Do not handle ports specially.
7714
7715 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7716
7717         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7718         * sysdeps/arm/feupdateenv.c: Likewise.
7719
7720         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7721
7722 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7723
7724         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7725         trailing whitespace removed.
7726         * scripts/config.guess: Update to version 2014-03-23.
7727         * scripts/config.sub: Update to version 2014-05-01
7728         * scripts/install-sh: Update to version 2013-12-25.23.
7729         * scripts/move-if-change: Update from gnulib.
7730
7731 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7732
7733         * debug/memmove_chk.c: Remove pagecopy.h include.
7734
7735 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7736
7737         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7738         identical to gnulib mktime.
7739
7740 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7741
7742         * configure.ac: Do not test for machine being rs6000.  Do not test
7743         for powerpc*-*soft.
7744         * configure: Regenerated.
7745
7746         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7747         test.
7748         * configure: Regenerated.
7749         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7750         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7751         Remove configure test.
7752         * sysdeps/arm/configure: Regenerated.
7753         * sysdeps/nptl/configure.ac: Do not check
7754         libc_cv_asm_cfi_directives.
7755         * sysdeps/nptl/configure: Regenerated.
7756         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7757         * sysdeps/x86_64/nptl/configure: Remove generated file.
7758         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7759         unconditional.
7760         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7761
7762 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7763
7764         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7765         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7766         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7767         it is defined.
7768
7769         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7770         instead of whether it is defined.
7771         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7772         * sysdeps/hppa/dl-machine.h: Likewise.
7773         * sysdeps/ia64/dl-machine.h: Likewise.
7774         * sysdeps/m68k/dl-machine.h: Likewise.
7775         * sysdeps/microblaze/dl-machine.h: Likewise.
7776         * sysdeps/mips/dl-machine.: Likewise.
7777         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7778         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7779         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7780         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7781         * sysdeps/sh/dl-machine.h: Likewise.
7782         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7783         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7784         * sysdeps/tile/dl-machine.h: Likewise.
7785         * sysdeps/x86_64/dl-machine.h: Likewise.
7786
7787         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7788         code.
7789         (verify_persistent_db): Likewise.
7790
7791 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7792
7793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7794         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7796         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7798         Moved ...
7799         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7800         ... here.
7801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7802         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7804         Identical file removed.
7805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7806         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7808         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7810         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7812         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7814         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7816         Moved ...
7817         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7819         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7821         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7823         Moved ...
7824         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7826         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7828         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7830         Identical file removed.
7831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7832         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7834         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7836         Moved ...
7837         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7838         ... here.
7839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7840         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7842         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7844         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7846         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7848         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7850         Moved ...
7851         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7853         Moved ...
7854         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7856         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7858         Moved ...
7859         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7861         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7862
7863         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7864         folded into ...
7865         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7866         * sysdeps/unix/sysv/linux/s390/Versions
7867         (libpthread: GLIBC_2.19): New version set.
7868         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7869         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7870         (librt: GLIBC_2.3.3): New version set.
7871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7872         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7873         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7874         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7875         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7876         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7877         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7878         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7879         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7880         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7881         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7882         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7883         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7884         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7885         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7886         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7887         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7888         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7889         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7890         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7891         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7892         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7893         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7894         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7895         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7896         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7897         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7898         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7899         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7900         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7901         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7902         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7903         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7904         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7905         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7906         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7907         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7908         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7909         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7910         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7911         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7913         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7915         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7916
7917         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7918         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7919         (__libc_vfork): Define the function under this name.
7920         [!NOT_IN_libc] (__vfork): Make this an alias.
7921         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7923         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7924         (__libc_vfork): Define the function under this name.
7925         [!NOT_IN_libc] (__vfork): Make this an alias.
7926         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7927         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7928         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7930         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7931         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7932
7933         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7934         code that was previously under [RESET_PID].
7935         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7936         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7938
7939         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7940         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7941         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7942         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7943         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7944         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7945         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7946         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7947         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7948         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7949         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7950         Moved ...
7951         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7952         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7953         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7954         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7955         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7956         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7957         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7958         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7959         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7960         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7961         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7962         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7963         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7964         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7965         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7966         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7967         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7968         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7969         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7970         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7971         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7972         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7973         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7974         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7975         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7976         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7977         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7978         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7979         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7980
7981 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7982
7983         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7984         that was previously under [RESET_PID].
7985         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7986
7987 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7988
7989         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7990         not undefine and redefine.
7991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7992         [O_CLOEXEC]: Make code unconditional.
7993         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7994         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7995         <kernel-features.h>.
7996         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7997         conditional variable definition.
7998         (shm_open) [O_CLOEXEC]: Make code unconditional.
7999         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8000         code.
8001
8002         * configure.ac (USE_REGPARMS): Don't define here.
8003         * configure: Regenerated.
8004         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8005         * sysdeps/i386/configure: Regenerated.
8006
8007         * nptl/createthread.c: Don't include kernel-features.h.
8008         * nptl/pthread_cancel.c: Likewise.
8009         * nptl/pthread_condattr_setclock.c: Likewise.
8010         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8011         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8012         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8013         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8014         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8015         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8016         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8019         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8020         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8021         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8022         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8023         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8024         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8025         * nscd/gai.c: Likewise.
8026         * nss/nss_db/db-open.c: Likewise.
8027         * sysdeps/generic/ldsodefs.h: Likewise.
8028         * sysdeps/sh/nptl/tls.h: Likewise.
8029         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8030         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8031         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8032         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8033         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8034         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8035         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8036         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8037         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8038         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8039         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8040         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8041         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8042         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8043         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8044         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8045         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8046         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8047         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8048         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8050         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8051         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8052         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8053         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8054         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8056         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8057         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8058         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8059         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8060         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8061         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8062         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8063         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8064         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8065         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8066         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8067         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8068         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8069         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8070         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8071         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8072         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8073         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8074         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8075         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8076         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8077         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8078         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8079         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8080         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8081         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8082         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8083         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8084         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8085         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8086         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8109         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8110         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8111         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8112         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8113         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8114         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8115         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8116         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8117         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8118         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8119         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8120         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8121         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8122         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8123         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8124         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8125         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8126         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8127         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8128         * sysdeps/unix/sysv/linux/system.c: Likewise.
8129         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8130         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8131         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8132         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8133         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8134         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8135         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8136
8137         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8138         * configure: Regenerated.
8139         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8140
8141         * configure.ac (base_machine): Do not set specially for particular
8142         machines here.
8143         * configure: Regenerated.
8144         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8145         settings from configure.ac.
8146         * sysdeps/i386/preconfigure: New file.
8147         * sysdeps/s390/preconfigure: Likewise.
8148         * sysdeps/sh/preconfigure: Likewise.
8149         * sysdeps/sparc/preconfigure: Likewise.
8150
8151 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8152
8153         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8154         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8155         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8156         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8157         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8158         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8159         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8160         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8161         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8162         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8163         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8164         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8165         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8166         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8167         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8168         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8170         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8171         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8172
8173         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8174         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8175         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8176         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8177         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8178         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8179         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8180         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8181         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8182         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8183         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8184         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8185         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8186         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8187         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8188         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8189         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8190         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8191         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8192         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8193         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8194         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8195         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8196         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8197         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8198         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8200         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8201         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8202         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8203         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8204         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8205         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8206         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8207         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8208         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8209         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8210         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8211
8212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8213         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8215         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8217         Moved ...
8218         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8219         ... here.
8220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8221         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8223         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8225         Moved ...
8226         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8228         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8230         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8232         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8234         Moved ...
8235         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8237         Moved ...
8238         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8240         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8242         Moved ...
8243         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8245         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8247         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8249         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8251         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8253         Moved ...
8254         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8255         ... here.
8256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8257         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8259         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8261         Moved ...
8262         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8264         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8266         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8268         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8270         Moved ...
8271         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8273         Moved ...
8274         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8276         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8278         Moved ...
8279         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8281         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8283         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8284
8285 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8286
8287         * timezone/checktab.awk: Update from tzcode 2014e.
8288         * timezone/private.h: Likewise.
8289         * timezone/tzfile.h: Likewise.
8290         * timezone/zdump.c: Likewise.
8291         * timezone/zic.c: Likewise.
8292
8293         * sysdeps/unix/sysv/linux/kernel-features.h
8294         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8295         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8296         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8297         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8298         Remove conditional code.
8299
8300 2014-06-25  Will Newton  <will.newton@linaro.org>
8301
8302         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8303         (_dl_arm_cap_flags): Add HWCAP2 values.
8304         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8305         (_DL_HWCAP_COUNT): Increase to 37.
8306         (_DL_HWCAP_LAST): New define.
8307         (_DL_HWCAP2_LAST): New define.
8308         (_dl_procinfo): Add support for printing
8309         AT_HWCAP2 entries.
8310         (_dl_string_hwcap): Use _dl_hwcap_string.
8311
8312 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8313
8314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8315
8316 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8317
8318         * README: Do not mention ports directory.
8319
8320         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8321         Remove macro.
8322         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8323         <kernel-features.h>.
8324         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8325         conditional variable definition.
8326         (__futimes): Update comment.
8327         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8328         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8329
8330         [BZ #16560]
8331         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8332         arguments close to 0.
8333         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8334         Likewise.
8335         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8336         Likewise.
8337         * math/auto-libm-test-in: Add more tests of exp10.
8338         * math/auto-libm-test-out: Regenerated.
8339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8340
8341         * sysdeps/unix/sysv/linux/kernel-features.h
8342         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8343         * sysdeps/unix/sysv/linux/readv.c: Do not include
8344         <kernel-features.h>.
8345         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8346         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8347         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8348         unconditional.
8349         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8350         conditional code.
8351         * sysdeps/unix/sysv/linux/writev.c: Do not include
8352         <kernel-features.h>.
8353         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8354         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8355         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8356         unconditional.
8357         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8358         conditional code.
8359
8360 2014-06-25  Will Newton  <will.newton@linaro.org>
8361
8362         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8363         comment changes throughout the file.  Remove checks
8364         for HAVE_*_H definitions that are not required.
8365         (__gen_tempname): Call abort if an unknown kind value is
8366         passed.
8367
8368 2014-06-25  Andreas Schwab  <schwab@suse.de>
8369
8370         [BZ #17086]
8371         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8372         scalbln, scalblnf, scalblnl in libc.
8373
8374 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8375
8376         [BZ #17086]
8377         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8378         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8379         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8380
8381 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8382
8383         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8384         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8385         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8386         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8387         Update #include.
8388         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8389         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8390         Update #include.
8391         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8392         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8393         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8394         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8395         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8396         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8397         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8398         * sysdeps/x86/bits/semaphore.h: ... here.
8399         * sysdeps/x86/nptl/elide.h: Moved ...
8400         * sysdeps/x86/elide.h: ... here.
8401         * sysdeps/x86_64/nptl/Implies: File removed.
8402         * sysdeps/i386/nptl/Implies: File removed.
8403
8404 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8405
8406         [BZ #16539]
8407         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8408         return the argument for normal arguments with exponent below -64.
8409         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8410         Likewise.
8411         * math/auto-libm-test-in: Add another test of expm1.
8412         * math/auto-libm-test-out: Regenerated.
8413
8414         [BZ #16287]
8415         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8416         calling __erfcl for arguments at least 16.
8417         * math/auto-libm-test-in: Add more tests of erf.
8418         * math/auto-libm-test-out: Regenerated.
8419
8420         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8421         individual architectures.
8422         * sysdeps/unix/sysv/linux/configure: Regenerated.
8423         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8424         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8425         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8426         (ldd_rewrite_script): Define variable.
8427         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8429         file.
8430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8431         generated file.
8432         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8433         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8434         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8435         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8436         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8437         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8438         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8439         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8440
8441 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8442
8443         [BZ #17084]
8444         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8445         Rename member __data.d to __data.__elision_data.
8446
8447 2014-06-24  Wilco  <wdijkstr@arm.com>
8448
8449         * NEWS: Add 16918 to fixed bug list.
8450
8451 2014-06-24  Wilco  <wdijkstr@arm.com>
8452
8453         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8454
8455 2014-06-24  Wilco  <wdijkstr@arm.com>
8456
8457         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8458         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8459         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8460         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8461         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8462         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8463         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8464         Use _FPU_MASK_RM.
8465
8466 2014-06-24  Wilco  <wdijkstr@arm.com>
8467
8468         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8469
8470 2014-06-24  Wilco  <wdijkstr@arm.com>
8471
8472         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8473         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8474         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8475         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8476
8477 2014-06-24  Wilco  <wdijkstr@arm.com>
8478
8479         [BZ #16918]
8480         * sysdeps/arm/feupdateenv.c (feupdateenv):
8481         Rewrite to reduce FPSCR accesses and fix return value.
8482
8483 2014-06-24  Wilco  <wdijkstr@arm.com>
8484
8485         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8486         Optimize to avoid unnecessary FPSCR writes.
8487         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8488         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8489         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8490         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8491
8492 2014-06-24  Wilco  <wdijkstr@arm.com>
8493
8494         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8495         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8496         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8497         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8498         Call libc_fetestexcept_vfp.
8499         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8500         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8501         __SOFTFP__ ifdef so that they can be built for softfp.
8502
8503 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8504
8505         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8506         argument type signed char.
8507
8508         * Makerules (check-abi): Dump diff of symlist if the test
8509         fails.
8510
8511 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8512
8513         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8514         using abort.
8515
8516         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8517         Remove unused variable ST.
8518
8519 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8520
8521         [BZ #16354]
8522         [BZ #17061]
8523         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8524         small arguments before calling __expm1.
8525         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8526         small arguments before calling __expm1f.
8527         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8528         small arguments before calling __expm1l.
8529         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8530         Likewise.
8531         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8532         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8533         spurious underflow for some cosh tests.
8534         * math/auto-libm-test-out: Regenerated.
8535         * sysdeps/i386/fpu/libm-test-ulps: Update.
8536
8537         [BZ #17050]
8538         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8539         (__ieee754_y1): Set errno if return value overflows.
8540         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8541         (__ieee754_y1f): Set errno if return value overflows.
8542         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8543         (__ieee754_y1l): Set errno if return value overflows.
8544         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8545         (__ieee754_y1l): Set errno if return value overflows.
8546         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8547         * math/auto-libm-test-out: Regenerated.
8548
8549         * math/gen-auto-libm-tests.c: Document use of
8550         ignore-zero-inf-sign.
8551         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8552         (input_flags): Add ignore-zero-inf-sign.
8553         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8554         * math/gen-libm-test.pl (generate_testfile): Handle
8555         ignore-zero-inf-sign.
8556         * math/auto-libm-test-in: Mark some cpow tests with
8557         ignore-zero-inf-sign and some with xfail-rounding.
8558         * math/auto-libm-test-out: Regenerated.
8559         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8560         * sysdeps/i386/fpu/libm-test-ulps: Update.
8561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8562
8563         [BZ #16315]
8564         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8565         overflowing or underflowing operations take place with sign of
8566         result.
8567         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8568         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8569         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8570         (__ieee754_pow): Recompute overflowing and underflowing results in
8571         original rounding mode.
8572         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8573         (__powl_helper): Allow negative argument X and scale negated value
8574         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8575         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8576         overflowing or underflowing operations take place with sign of
8577         result.
8578         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8579         Include <math.h>.
8580         * math/auto-libm-test-in: Add more tests of pow.
8581         * math/auto-libm-test-out: Regenerated.
8582         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8583         (pow_tonearest_test_data): Remove.
8584         (pow_test_tonearest): Likewise.
8585         (pow_towardzero_test_data): Likewise.
8586         (pow_test_towardzero): Likewise.
8587         (pow_downward_test_data): Likewise.
8588         (pow_test_downward): Likewise.
8589         (pow_upward_test_data): Likewise.
8590         (pow_test_upward): Likewise.
8591         (main): Don't call removed functions.
8592         * sysdeps/i386/fpu/libm-test-ulps: Update.
8593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8594
8595 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8596
8597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8598         Moved ...
8599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8601         Moved ...
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8604         Moved ...
8605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8607         Moved ...
8608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8610         File removed.
8611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8612         File removed.
8613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8614         File removed.
8615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8616         File removed.
8617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8618         File removed.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8620         File removed.
8621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8622         File removed.
8623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8624         File removed.
8625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8626         File removed.
8627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8628         File removed.
8629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8630         File removed.
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8632         File removed.
8633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8634         Moved ...
8635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8637         Moved ...
8638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8639         ... here.
8640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8641         Moved ...
8642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8644         Moved ...
8645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8647         Moved ...
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8650         Moved ...
8651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8653         Moved ...
8654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8656         Moved ...
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8659         Moved ...
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8663         ... here.
8664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8665         Moved ...
8666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8668         Moved ...
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8670         ... here.
8671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8672         Moved ...
8673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8674         ... here.
8675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8676         Moved ...
8677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8678         ... here.
8679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8680         Moved ...
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8683         Moved ...
8684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8688         Moved ...
8689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8690         ... here.
8691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8692         Moved ...
8693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8694         ... here.
8695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8696         Moved ...
8697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8699         Moved ...
8700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8702         Moved ...
8703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8705         Moved ...
8706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8708         Moved ...
8709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8710         ... here.
8711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8712         Moved ...
8713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8715         Moved ...
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8718         Moved ...
8719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8721         Moved ...
8722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8726         Moved ...
8727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8729         Moved ...
8730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8732         Moved ...
8733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8734         ... here.
8735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8736         Moved ...
8737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8738         ... here.
8739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8740         Moved ...
8741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8742         ... here.
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8744         Moved ...
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8747         Moved ...
8748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8750         Moved ...
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8753         Moved ...
8754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8755         ... here.
8756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8757         Moved ...
8758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8759         ... here.
8760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8761         Moved ...
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8763         ... here.
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8765         Moved ...
8766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8768         Moved ...
8769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8770
8771 2014-06-23  Will Newton  <will.newton@linaro.org>
8772             Wilco  <wdijkstr@arm.com>
8773
8774         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8775         implementation.  Include get-rounding-mode.h.
8776         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8777         [!libc_feholdsetround_noex_ctx]: Define
8778         libc_feholdsetround_noex_ctx.
8779         [!libc_feholdsetround_noexf_ctx]: Define
8780         libc_feholdsetround_noexf_ctx.
8781         [!libc_feholdsetround_noexl_ctx]: Define
8782         libc_feholdsetround_noexl_ctx.
8783         (libc_feholdsetround_ctx): New function.
8784         (libc_feresetround_ctx): New function.
8785         (libc_feholdsetround_noex_ctx): New function.
8786         (libc_feresetround_noex_ctx): New function.
8787
8788 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8789
8790         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8791         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8792         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8793         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8794         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8795         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8796
8797         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8798         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8799         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8800         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8801         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8802         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8803         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8804         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8805         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8806         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8808         Moved ...
8809         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8810         ... here.
8811         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8812         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8814         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8816         Moved ...
8817         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8818         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8819         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8821         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8822         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8823         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8825         Moved ...
8826         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8828         Moved ...
8829         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8831         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8833         Moved ...
8834         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8836         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8838         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8839         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8840         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8841         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8842         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8843         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8844         Moved ...
8845         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8846         ... here.
8847         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8848         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8849         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8850         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8852         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8853         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8854         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8856         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8858         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8860         Moved ...
8861         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8863         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8865         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8867         Moved ...
8868         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8870         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8871         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8872         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8873
8874         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8875         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8876         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8877         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8878         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8879         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8880         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8881         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8882         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8883         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8886         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8889         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8890         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8891         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8901         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8902
8903 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8904
8905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8906         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8907         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8908         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8909         (IPV6_PMTUDISC_INTERFACE): Likewise.
8910         (IPV6_PMTUDISC_OMIT): Likewise.
8911
8912 2014-06-23  Andreas Schwab  <schwab@suse.de>
8913
8914         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8915         Remove unused errout label.
8916
8917 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8918
8919         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8920         macro: hardware supports Vector Crypto instructions.
8921
8922 2014-06-23  Will Newton  <will.newton@linaro.org>
8923
8924         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8925         rather than __builtin_expect.
8926
8927         * elf/dl-lookup.c (undefined_msg): Remove variable.
8928         (_dl_lookup_symbol_x): Replace undefined_msg with string
8929         literal.
8930
8931         * elf/dl-lookup.c (do_lookup_unique): New function.
8932         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8933         to a separate function.
8934
8935 2014-06-23  Andreas Schwab  <schwab@suse.de>
8936
8937         [BZ #17079]
8938         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8939         before reading the next line.
8940
8941 2014-06-23  Will Newton  <will.newton@linaro.org>
8942
8943         * test-skeleton.c (signal_handler): Use printf and %m
8944         rather than perror.  Use printf rather than fprintf to
8945         stderr.  Use puts rather than fputs to stderr.
8946         (main): Likewise.
8947
8948 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8949
8950         * nscd/nscd.c (thread_info_t): Remove typedef.
8951         (thread_info): Remove variable.
8952
8953 2014-06-21  Allan McRae  <allan@archlinux.org>
8954
8955         * NEWS: Mention CVE-2014-4043.
8956
8957 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8958
8959         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8960         * nptl/smp.h: ... here.
8961
8962         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8963
8964         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8965         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8966         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8967         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8968
8969         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8970         * nptl/stack-aliasing.h: New file.
8971         * sysdeps/i386/i686/stack-aliasing.h: New file.
8972         * sysdeps/i386/i686/nptl/Makefile: File removed.
8973         * sysdeps/x86_64/stack-aliasing.h: New file.
8974         * sysdeps/x86_64/nptl/Makefile
8975         (CFLAGS-pthread_create.c): Variable removed.
8976
8977         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8978         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8979         old file.
8980         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8981         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8982         old file.
8983
8984 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8985
8986         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8987         (__ASSUME_SIGFRAME_V2): Remove macro.
8988         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8989         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8990         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8991         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8992         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8993         Declare as function.  Remove conditional macro definitions.
8994         (__default_rt_sa_restorer): Likewise.
8995         (__default_sa_restorer_v1): Remove declaration.
8996         (__default_sa_restorer_v2): Likewise.
8997         (__default_rt_sa_restorer_v1): Likewise.
8998         (__default_rt_sa_restorer_v2): Likewise.
8999         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9000         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9001         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9002
9003 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9004
9005         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9006         (libpthread-routines): Add sysdep.
9007         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9008         * sysdeps/unix/sysv/linux/sparc/Versions
9009         (libpthread: GLIBC_2.3.3): New version set.
9010         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9011         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9012         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9013         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9014         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9015         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9016         Moved ...
9017         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9018         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9019         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9020         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9021         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9022         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9023         * sysdeps/sparc/nptl/sem_init.c: ... here.
9024         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9025         * sysdeps/sparc/nptl/sem_post.c: ... here.
9026         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9027         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9028         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9029         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9030         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9031         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9032         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9033         (libpthread-routines): Add cpu_relax.
9034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9035         File removed.
9036         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9037         (librt: GLIBC_2.3.3): New version set.
9038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9039         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9040         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9041         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9044         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9046         Moved ...
9047         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9049         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9051         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9053         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9055         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9057         Moved ...
9058         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9059         Update #include.
9060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9061         Moved ...
9062         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9063         Update #include.
9064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9065         Moved ...
9066         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9067         Update #include.
9068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9069         Moved ...
9070         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9071         Update #include.
9072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9073         Moved ...
9074         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9075         Update #include.
9076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9077         Moved ...
9078         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9079         Update #include.
9080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9081         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9083         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9087         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9089         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9091         Moved ...
9092         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9094         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9096         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9097
9098 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9099
9100         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9101         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9102         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9103         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9104         * nscd/nscd.c: Likewise.
9105         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9106         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9107         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9108         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9109
9110         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9111         <kernel-features.h>.
9112         (init_mq_netlink): Remove conditional have_sock_cloexec
9113         definitions.  Remove code conditional on have_sock_cloexec < 0.
9114         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9115         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9116         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9117         <kernel-features.h>.
9118         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9119         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9120
9121 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9122
9123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9124         Add tests for memset_chk and memset.
9125
9126         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9127         with AVX2_Usable.
9128
9129 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9130
9131         [BZ #16046]
9132         * elf/tst-dl-iter-static.c: New file.
9133         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9134
9135         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9136         error.
9137
9138 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9139
9140         * sysdeps/unix/sysv/linux/kernel-features.h
9141         (__ASSUME_F_GETOWN_EX): Remove macro.
9142         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9143         <kernel-features.h>.
9144         (miss_F_GETOWN_EX): Remove variable or macro.
9145         (do_fcntl): Do not check miss_F_GETOWN_EX.
9146         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9147
9148         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9149         Remove macro.
9150         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9151         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9152         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9153
9154         * sysdeps/unix/sysv/linux/kernel-features.h
9155         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9156         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9157         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9158         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9159
9160 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9161
9162         [BZ #17075]
9163         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9164         Fix calculation of the symbol's value.
9165         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9166         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9167         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9168         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9169         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9170         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9171         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9172         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9173         (modules-names): Add `tst-armtlsdescmod',
9174         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9175         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9176         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9177         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9178         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9179         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9180         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9181         ($(objpfx)tst-armtlsdescloc): New dependency.
9182         ($(objpfx)tst-armtlsdescextnow): Likewise.
9183         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9184         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9185         TLS scheme support.
9186         * sysdeps/arm/configure: Regenerate.
9187
9188 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9189
9190         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9191         (__atfct_seterrno_2): Likewise.
9192         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9193         <kernel-features.h>.
9194         (__ASSUME_ATFCTS): Do not undefine and redefine.
9195         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9196         (__have_atfcts): Remove conditional definition.
9197         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9198         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9199         unreachable if [__ASSUME_ATFCTS].
9200         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9201         not undefine and redefine.
9202         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9203         <kernel-features.h>.
9204         (faccessat) [__NR_faccessat]: Make code unconditional.
9205         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9206         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9207         <kernel-features.h>.
9208         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9209         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9210         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9211         <kernel-features.h>.
9212         (fchownat) [__NR_fchownat]: Make code unconditional.
9213         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9214         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9215         <kernel-features.h>.
9216         (futimesat) [__NR_futimesat]: Make code unconditional.
9217         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9218         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9219         <kernel-features.h>.
9220         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9221         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9222         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9223         <kernel-features.h>.
9224         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9225         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9226         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9227         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9228         <kernel-features.h>.
9229         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9230         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9231         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9232         <kernel-features.h>.
9233         (linkat) [__NR_linkat]: Make code unconditional.
9234         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9235         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9236         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9237         <kernel-features.h>.
9238         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9239         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9240         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9241         <kernel-features.h>.
9242         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9243         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9244         * sysdeps/unix/sysv/linux/openat.c: Do not include
9245         <kernel-features.h>.
9246         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9247         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9248         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9249         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9250         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9251         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9252         <kernel-features.h>.
9253         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9254         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9255         result of INLINE_SYSCALL directly, not via int variable.
9256         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9257         <kernel-features.h>.
9258         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9259         (renameat) [__NR_renameat]: Make code unconditional.
9260         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9261         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9262         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9263         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9264         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9265         (__ASSUME_ATFCTS): Do not undefine and redefine.
9266         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9267         <kernel-features.h>.
9268         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9269         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9270         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9271         <kernel-features.h>.
9272         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9273         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9274         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9275         (__ASSUME_ATFCTS): Do not undefine and redefine.
9276         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9277         <kernel-features.h>.
9278         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9279         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9280         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9281         <kernel-features.h>.
9282         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9283         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9284
9285 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9286
9287         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9288
9289 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9290
9291         [BZ #17069]
9292         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9293         constructed tree before returning error.
9294         * posix/bug-regexp36.c: Expand test case.
9295
9296 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9297
9298         [BZ #6803]
9299         * math/libm-test.inc (scalbln_test_date):
9300         Add errno expectations.
9301         * math/w_scalblnf.c: New File.
9302         Add wrapper which checks for setting errno to ERANGE.
9303         Add weak_alias for corresponding scalbln function.
9304         * math/w_scalbln.c: Likewise.
9305         * math/w_scalblnl.c: Likewise.
9306         * math/Makefile (libm-calls): Add w_scalbln.
9307         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9308         Remove weak_alias for corresponding scalbln function.
9309         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9310         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9311         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9312         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9313         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9314         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9315         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9316         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9317         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9318         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9319         Remove long_double_symbol for scalblnl function in libm, libc.
9320         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9321         Add wrapper which checks for setting errno to ERANGE.
9322         Add long_double_symbol for scalblnl function in libm, libc.
9323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9324         Remove long_double_symbol for scalblnl in libm.
9325         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9326         Add wrapper which checks for setting errno to ERANGE.
9327         Add long_double_symbol for scalblnl function in libm.
9328         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9329         Do not use wrapper because of own implementation.
9330
9331 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9332
9333         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9334         3 bytes for __pad1 for x32.
9335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9336
9337 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9338             H.J. Lu  <hongjiu.lu@intel.com>
9339
9340         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9341         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9342         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9343         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9344         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9345
9346 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9347
9348         [BZ #17069]
9349         * posix/regcomp.c (parse_expression): Deallocate partially
9350         constructed tree before returning error.
9351         * posix/Makefile.c (tests): Add bug-regex36.
9352         (generated): Add bug-regex36.mtrace.
9353         (tests-special): Add $(objpfx)bug-regex36-mem.out
9354         (bug-regex36-ENV): New variable.
9355         ($(objpfx)bug-regex36-mem.out): New rule.
9356         * posix/bug-regex36.c: New file.
9357
9358 2014-06-19  Will Newton  <will.newton@linaro.org>
9359
9360         * malloc/malloc.c (systrim): If extra is zero then return
9361         early.
9362
9363 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9364
9365         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9366
9367 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9368
9369         * sysdeps/aarch64/strchr.S: New file.
9370
9371 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9372
9373         [BZ #17022]
9374         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9375         from arguments -2 or below.
9376         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9377         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9378
9379 2014-06-18  Andreas Schwab  <schwab@suse.de>
9380
9381         [BZ #17062]
9382         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9383         of a bracket expr not to run off the end of the string.
9384         * posix/Makefile (tests): Add tst-fnmatch3.
9385         * posix/tst-fnmatch3.c: New file.
9386
9387 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9388
9389         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9390         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9391         [$(cross-compiling) = no]: Likewise.
9392         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9393         [$(cross-compiling) = no]: Likewise.
9394
9395 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9396
9397         [BZ #17031]
9398         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9399         double, adjusted for any remainder from the high double.
9400         * math/libm-test.inc (nearbyint): Add tests.
9401         (rint): Likewise.
9402
9403 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9404
9405         * nptl/sysdeps/powerpc/Makefile: Moved ...
9406         * sysdeps/powerpc/nptl/Makefile: ... here.
9407         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9408         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9409         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9410         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9411         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9412         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9413         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9414         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9415         * nptl/sysdeps/powerpc/tls.h: Moved ...
9416         * sysdeps/powerpc/nptl/tls.h: ... here.
9417
9418 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9419
9420         [BZ #16681]
9421         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9422         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9423         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9424         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9425         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9426         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9427         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9428         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9429         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9430
9431 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9432
9433         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9434
9435 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9436
9437         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9438         defined operator.
9439
9440         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9441         $TIMEOUTFACTOR.
9442
9443 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9444
9445         [BZ #17058]
9446         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9447         non-executed part of the test.
9448
9449 2014-06-16  Andreas Schwab  <schwab@suse.de>
9450
9451         * string/bits/string2.h (strdup, strndup): Update feature guard.
9452
9453 2014-06-14  David S. Miller  <davem@davemloft.net>
9454
9455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9456
9457 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9458
9459         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9460         that was previously under [RESET_PID].
9461         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9462
9463         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9464         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9465         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9466         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9467         (__libc_vfork): New strong alias.
9468         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9469
9470 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9471
9472         * sysdeps/generic/elide.h: New file.
9473
9474 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9475
9476         * Makefile (installed-headers): Adjust path of pthread.h header.
9477
9478 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9479
9480         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9481         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9482         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9483         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9484
9485         * nptl/sysdeps/s390/Makefile: Moved ...
9486         * sysdeps/s390/nptl/Makefile: ... here.
9487         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9488         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9489         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9490         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9491         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9492         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9493         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9494         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9495         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9496         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9497         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9498         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9499         * nptl/sysdeps/s390/tls.h: Moved ...
9500         * sysdeps/s390/nptl/tls.h: ... here.
9501
9502         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9503         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9504
9505 2014-06-13  David S. Miller  <davem@davemloft.net>
9506
9507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9510         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9514         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9515         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9516         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9517         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9518         Remove RESET_PID cpp guards.
9519         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9520         Remove RESET_PID cpp guards.
9521         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9522
9523 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9524
9525         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9526         __sp to uintptr_t.
9527
9528 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9529
9530         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9531         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9532         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9533         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9534         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9535         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9536         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9537         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9538         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9539         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9540         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9541         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9542         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9543         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9544         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9545         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9546         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9547         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9548         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9549         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9550
9551         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9552         (pthread_rwlock_rdlock): Add elision.
9553         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9554         (pthread_rwlock_wrlock): Add elision.
9555         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9556         (pthread_rwlock_trywrlock): Add elision.
9557         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9558         (pthread_rwlock_tryrdlock): Add elision.
9559         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9560         (pthread_rwlock_tryrdlock): Add elision unlock.
9561         * nptl/sysdeps/pthread/pthread.h:
9562         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9563         (PTHREAD_RWLOCK_INITIALIZER,
9564         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9565         Handle new elision field.
9566         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9567         * sysdeps/arm/nptl/bits/pthreadtypes.h
9568         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9569         * sysdeps/sh/nptl/bits/pthreadtypes.h
9570         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9571         * sysdeps/tile/nptl/bits/pthreadtypes.h
9572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9573         * sysdeps/a/nptl/bits/pthreadtypes.h
9574         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9575         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9577         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9578         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9579         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9581         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9583         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9585         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9587         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9589         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9591         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9592         (elision_init): Set try_xbegin to zero when no RTM.
9593         * sysdeps/x86/nptl/bits/pthreadtypes.h
9594         (pthread_rwlock_t): Change __pad1 to __rwelision.
9595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9596
9597 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9598
9599         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9600         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9601         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9602         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9603
9604 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9605
9606         [BZ #16996]
9607         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9608         that the cached result has been set before returning it.
9609
9610 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9611
9612         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9613         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9614         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9615         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9616         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9617         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9618
9619         * nptl/sysdeps/sparc/Makefile: Moved ...
9620         * sysdeps/sparc/nptl/Makefile: ... here.
9621         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9622         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9623         * nptl/sysdeps/sparc/tls.h: Moved ...
9624         * sysdeps/sparc/nptl/tls.h: ... here.
9625         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9626         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9627         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9628         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9629         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9630         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9631         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9632         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9633         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9634         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9635         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9636         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9637         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9638         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9639         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9640         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9641         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9642         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9643         Update #include.
9644         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9645         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9646         Update #include.
9647         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9648         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9649         Update #include.
9650         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9651         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9652         Update #include.
9653
9654         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9655
9656         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9657         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9658
9659         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9660         (struct list_links): Type removed.
9661         (struct thread_node, struct timer_node): Replace struct list_links
9662         with struct list_head.
9663         (list_unlink_ip): Likewise.
9664         * sysdeps/pthread/timer_routines.c
9665         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9666         (list_append, list_insbefore): Likewise.
9667         (list_init): Function removed.
9668         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9669         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9670         * sysdeps/pthread/Makefile: ... here, new file.
9671
9672         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9673         * sysdeps/nptl/Implies: ... here.
9674         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9675         * nptl/sysdeps/pthread/list.h: Moved ...
9676         * include/list.h: ... here.
9677         * nptl/sysdeps/pthread/createthread.c: Moved ...
9678         * nptl/createthread.c: ... here.
9679         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9680         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9681         * nptl/pt-longjmp.c: ... here.
9682         * nptl/sysdeps/pthread/Makefile: Moved ...
9683         * sysdeps/nptl/Makefile: ... here.
9684         * nptl/sysdeps/pthread/Subdirs: Moved ...
9685         * sysdeps/nptl/Subdirs: ... here.
9686         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9687         * sysdeps/nptl/aio_misc.h: ... here.
9688         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9689         * sysdeps/nptl/bits/libc-lock.h: ... here.
9690         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9691         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9692         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9693         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9694         * nptl/sysdeps/pthread/configure: Moved ...
9695         * sysdeps/nptl/configure: ... here.
9696         * nptl/sysdeps/pthread/configure.ac: Moved ...
9697         * sysdeps/nptl/configure.ac: ... here.
9698         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9699         * sysdeps/nptl/gai_misc.h: ... here.
9700         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9701         * sysdeps/nptl/librt-cancellation.c: ... here.
9702         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9703         * sysdeps/nptl/malloc-machine.h: ... here.
9704         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9705         * sysdeps/nptl/pthread-functions.h: ... here.
9706         * nptl/sysdeps/pthread/pthread.h: Moved ...
9707         * sysdeps/nptl/pthread.h: ... here.
9708         * nptl/sysdeps/pthread/setxid.h: Moved ...
9709         * sysdeps/nptl/setxid.h: ... here.
9710         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9711         * sysdeps/nptl/sigfillset.c: ... here.
9712         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9713         * sysdeps/nptl/tcb-offsets.h: ... here.
9714         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9715         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9716         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9717         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9718         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9719         * sysdeps/pthread/allocalim.h: ... here.
9720         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9721         * sysdeps/pthread/bits/sigthread.h: ... here.
9722         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9723         * sysdeps/pthread/flockfile.c: ... here.
9724         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9725         * sysdeps/pthread/ftrylockfile.c: ... here.
9726         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9727         * sysdeps/pthread/funlockfile.c: ... here.
9728         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9729         * sysdeps/pthread/posix-timer.h: ... here.
9730         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9731         * sysdeps/pthread/timer_create.c: ... here.
9732         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9733         * sysdeps/pthread/timer_delete.c: ... here.
9734         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9735         * sysdeps/pthread/timer_getoverr.c: ... here.
9736         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9737         * sysdeps/pthread/timer_gettime.c: ... here.
9738         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9739         * sysdeps/pthread/timer_routines.c: ... here.
9740         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9741         * sysdeps/pthread/timer_settime.c: ... here.
9742         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9743         * sysdeps/pthread/tst-timer.c: ... here.
9744         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9745         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9746
9747         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9748         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9749
9750         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9751         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9752         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9753         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9754         Update #include target.
9755         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9756         * sysdeps/i386/i686/nptl/Makefile: ... here.
9757         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9758         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9759         Update #include target.
9760         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9761         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9762         * nptl/sysdeps/i386/Makefile: Moved ...
9763         * sysdeps/i386/nptl/Makefile: ... here.
9764         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9765         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9766         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9767         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9768         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9769         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9770         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9771         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9772         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9773         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9774         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9775         * nptl/sysdeps/i386/tls.h: Moved ...
9776         * sysdeps/i386/nptl/tls.h: ... here.
9777
9778         * sysdeps/sh/Makefile [$(subdir) = csu]
9779         (gen-as-const-headers): Add tcb-offsets.sym.
9780         * nptl/sysdeps/sh/Makefile: File removed.
9781         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9782         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9783         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9784         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9785         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9786         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9787         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9788         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9789         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9790         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9791         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9792         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9793         * nptl/sysdeps/sh/tls.h: Moved ...
9794         * sysdeps/sh/nptl/tls.h: ... here.
9795         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9796         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9797         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9798         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9799         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9800         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9801         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9802         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9803         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9804         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9805         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9806         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9807         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9808         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9809         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9810         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9811         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9812         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9813         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9814         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9815         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9816         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9818         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9820         Moved ...
9821         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9823         Moved ...
9824         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9826         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9829         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9830         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9831         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9832         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9833         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9834         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9835         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9836         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9837         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9838         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9839         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9840         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9841         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9842         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9843
9844 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9845
9846         * posix/spawn_faction_addopen.c: Include string.h.
9847
9848 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9849
9850         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9851         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9852         * nptl/sysdeps/x86_64/Makefile: Moved ...
9853         * sysdeps/x86_64/nptl/Makefile: ... here.
9854         * nptl/sysdeps/x86_64/configure: Moved ...
9855         * sysdeps/x86_64/nptl/configure: ... here.
9856         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9857         * sysdeps/x86_64/nptl/configure.ac: ... here.
9858         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9859         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9860         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9861         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9862         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9863         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9864         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9865         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9866         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9867         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9868         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9869         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9870         * nptl/sysdeps/x86_64/tls.h: Moved ...
9871         * sysdeps/x86_64/nptl/tls.h: ... here.
9872         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9873         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9874         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9875         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9876
9877         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9878
9879 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9880
9881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9882
9883 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9884
9885         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9886         type.
9887         [POSIX] (off_t): Likewise.
9888         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9889         [POSIX] (S_ISBLK): Require macro.
9890         [POSIX] (S_ISCHR): Likewise.
9891         [POSIX] (S_ISDIR): Likewise.
9892         [POSIX] (S_ISFIFO): Likewise.
9893         [POSIX] (S_ISREG): Likewise.
9894         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9895         optional-macro.
9896         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9897         type.
9898         [POSIX] (time_t): Likewise.
9899         [POSIX] (timer_t): Likewise.
9900
9901 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9902
9903         [BZ #17048]
9904         * posix/spawn_int.h (struct __spawn_action): Make the path string
9905         non-const to support deallocation.
9906         * posix/spawn_faction_addopen.c
9907         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9908         * posix/spawn_faction_destroy.c
9909         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9910         path in all spawn_do_open actions.
9911         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9912         posix_spawn_file_actions_addopen.
9913
9914 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9915
9916         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9917         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9918         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9919         conditional code always true.
9920         (__libc_vfork): New alias.
9921
9922 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9923
9924         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9925         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9926
9927         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9928
9929         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9930         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9931
9932         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9933         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9934
9935         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9936         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9937
9938 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9939
9940         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9941         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9942         multiarch strcmp for PPC64.
9943         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9944         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9946         multiarch optimizations.
9947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9948         (__libc_ifunc_impl_list): Likewise.
9949
9950 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9951
9952         * benchtests/scripts/validate_benchout.py: New script.
9953         * benchtests/Makefile (bench-func): Call it.
9954         * benchtests/scripts/benchout.schema.json: New file.
9955
9956 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9957
9958         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9959         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9960         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9961         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9962         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9963         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9964         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9965         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9966         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9967         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9968         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9969         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9970         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9971         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9972         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9973         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9975         Moved ...
9976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9977         ... here.
9978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9979         Moved ...
9980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9982         Moved ...
9983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9984         ... here.
9985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9986         Moved ...
9987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9988         ... here.
9989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9990         Moved ...
9991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9993         Moved ...
9994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9995         ... here.
9996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9997         Moved ...
9998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9999         ... here.
10000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10001         Moved ...
10002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10004         Moved ...
10005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10006         ... here.
10007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10008         Moved ...
10009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10010         ... here.
10011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10012         Moved ...
10013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10014         ... here.
10015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10016         Moved ...
10017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10019         Moved ...
10020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10021         ... here.
10022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10023         Moved ...
10024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10025         ... here.
10026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10027         Moved ...
10028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10029         ... here.
10030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10031         Moved ...
10032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10034         Moved ...
10035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10036         ... here.
10037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10038         Moved ...
10039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10040         ... here.
10041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10042         Moved ...
10043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10045         Moved ...
10046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10047         ... here.
10048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10049         Moved ...
10050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10052         Moved ...
10053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10055         Moved ...
10056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10057         ... here.
10058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10059         Moved ...
10060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10061         ... here.
10062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10063         Moved ...
10064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10065         ... here.
10066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10067         Moved ...
10068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10070         Moved ...
10071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10072         ... here.
10073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10074         Moved ...
10075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10076         ... here.
10077         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10078         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10079         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10080         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10081         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10082         Moved ...
10083         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10084         ... here.
10085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10086         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10088         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10089         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10090         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10092         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10094         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10096         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10098         Moved ...
10099         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10101         Moved ...
10102         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10104         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10106         Moved ...
10107         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10109         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10110         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10111         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10112         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10113         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10114
10115 2014-06-10  Wilco  <wdijkstr@arm.com>
10116
10117         * math/test-fenv-return.c: New file.
10118         * math/Makefile: Add new test test-fenv-return.
10119
10120 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10121
10122         [BZ #17042]
10123         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10124         when x - 1 is zero.
10125         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10126         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10127         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10128         0.0L for an argument of 1.0L.
10129         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10130         Likewise.
10131         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10132         value when x - 1 is zero.
10133         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10134         * sysdeps/i386/fpu/libm-test-ulps: Update.
10135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10136
10137 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10138
10139         [BZ #15119]
10140         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10141
10142 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10143
10144         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10145         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10146
10147 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10148
10149         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10150         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10151
10152         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10153         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10154
10155         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10156         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10157
10158         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10159         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10160
10161         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10162         if not already defined.
10163         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10164         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10165         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10166         (TLS_INIT_TP): Use it.
10167         (TLS_DEFINE_INIT_TP): New macro.
10168         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10169
10170 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10171
10172         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10173         constant.
10174         [POSIX] (IXANY): Likewise.
10175         [POSIX] (OLCUC): Likewise.
10176         [POSIX || POSIX2008] (CBAUD): Do not allow.
10177         [POSIX || POSIX2008] (DEFECHO): Likewise.
10178         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10179         [POSIX || POSIX2008] (ECHOKE): Likewise.
10180         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10181         [POSIX || POSIX2008] (EXTA): Likewise.
10182         [POSIX || POSIX2008] (EXTB): Likewise.
10183         [POSIX || POSIX2008] (FLUSHO): Likewise.
10184         [POSIX || POSIX2008] (LOBLK): Likewise.
10185         [POSIX || POSIX2008] (PENDIN): Likewise.
10186         [POSIX || POSIX2008] (SWTCH): Likewise.
10187         [POSIX || POSIX2008] (VDISCARD): Likewise.
10188         [POSIX || POSIX2008] (VDSUSP): Likewise.
10189         [POSIX || POSIX2008] (VLNEXT): Likewise.
10190         [POSIX || POSIX2008] (VREPRINT): Likewise.
10191         [POSIX || POSIX2008] (VSTATUS): Likewise.
10192         [POSIX || POSIX2008] (VWERASE): Likewise.
10193         (B*): Change to B[0123456789]*.
10194         * conform/data/time.h-data [POSIX || UNIX98]
10195         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10196         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10197         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10198         [POSIX] (tm_*): Do not allow.
10199
10200 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10201
10202         * Makefile (install): Don't set LANGUAGE.
10203         * Makefile.in (install): Likewise.
10204         * assert/Makefile (test-assert-ENV): Remove variable.
10205         (test-assert-perr-ENV): Likewise.
10206         * elf/Makefile (neededtest4-ENV): Likewise.
10207         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10208         [$(cross-compiling) = no]: Don't set LANGUAGE.
10209         * io/ftwtest-sh (LANG): Remove variable.
10210         * libio/Makefile (tst-widetext-ENV): Likewise.
10211         * manual/install.texi (Running make install): Don't refer to
10212         environment settings for make install.
10213         * INSTALL: Regenerated.
10214         * nptl/tst-tls6.sh: Don't set LANG.
10215         * posix/globtest.sh (LANG): Remove variable.
10216         * string/Makefile (tester-ENV): Likewise.
10217         (inl-tester-ENV): Likewise.
10218         (noinl-tester-ENV): Likewise.
10219         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10220         [$(cross-compiling) = no]: Don't set LANGUAGE.
10221         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10222         without explicit environment settings.
10223
10224 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10225
10226         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10227         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10229         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10230
10231 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10232
10233         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10234         other files in the crypt directory.
10235         * crypt/crypt.c: Remove duplicate includes.
10236         * crypt/crypt-entry.c: Likewise.
10237         * crypt/crypt_util.c: Likewise.
10238
10239 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10240
10241         * Makeconfig (run-program-env): New variable.
10242         (run-program-prefix-before-env): Likewise.
10243         (run-program-prefix-after-env): Likewise.
10244         (run-program-prefix): Define in terms of new variables.
10245         (built-program-cmd-before-env): New variable.
10246         (built-program-cmd-after-env): Likewise.
10247         (built-program-cmd): Define in terms of new variables.
10248         (test-program-prefix-before-env): New variable.
10249         (test-program-prefix-after-env): Likewise.
10250         (test-program-prefix): Define in terms of new variables.
10251         (test-program-cmd-before-env): New variable.
10252         (test-program-cmd-after-env): Likewise.
10253         (test-program-cmd): Define in terms of new variables.
10254         * Rules (make-test-out): Use $(run-program-env).
10255         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10256         (help): Do not mention environment variables.  Mention
10257         --timeoutfactor option.
10258         (timeoutfactor): New variable.
10259         (blacklist_exports): Remove function.
10260         (exports): Remove variable.
10261         (command): Do not include ${exports}.
10262         * manual/install.texi (Configuring and compiling): Do not mention
10263         test wrappers preserving environment variables.  Mention that last
10264         assignment to a variable must take precedence.
10265         * INSTALL: Regenerated.
10266         * benchtests/Makefile (run-bench): Use $(run-program-env).
10267         * catgets/Makefile ($(objpfx)test1.cat): Use
10268         $(built-program-cmd-before-env), $(run-program-env) and
10269         $(built-program-cmd-after-env).
10270         ($(objpfx)test2.cat): Do not specify environment variables
10271         explicitly.
10272         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10273         $(run-program-env) and $(built-program-cmd-after-env).
10274         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10275         $(run-program-env) and $(test-program-cmd-after-env).
10276         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10277         explicitly.
10278         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10279         run_program_env and test_program_cmd_after_env arguments.
10280         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10281         * elf/tst-pathopt.sh: Use run_program_env argument.
10282         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10283         $(test-wrapper-env) and $(run-program-env).
10284         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10285         run_program_env arguments.
10286         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10287         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10288         $(test-program-prefix-before-env), $(run-program-env) and
10289         $(test-program-prefix-after-env).
10290         ($(objpfx)tst-gettext2.out): Likewise.
10291         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10292         run_program_env and test_program_prefix_after_env arguments.
10293         * intl/tst-gettext2.sh: Likewise.
10294         * intl/tst-gettext4.sh: Do not set environment variables
10295         explicitly.
10296         * intl/tst-gettext6.sh: Likewise.
10297         * intl/tst-translit.sh: Likewise.
10298         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10299         $(test-program-prefix-before-env), $(run-program-env) and
10300         $(test-program-prefix-after-env).
10301         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10302         run_program_env and test_program_prefix_after_env arguments.
10303         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10304         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10305         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10306         explicitly with each use of ${test_wrapper_env}.
10307         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10308         $(test-program-prefix-before-env), $(run-program-env) and
10309         $(test-program-prefix-after-env).
10310         * posix/tst-getconf.sh: Do not set environment variables
10311         explicitly.
10312         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10313         run_program_env and test_program_prefix_after_env arguments.
10314         * stdio-common/tst-printf.sh: Do not set environment variables
10315         explicitly.
10316         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10317         $(test-program-prefix-before-env), $(run-program-env) and
10318         $(test-program-prefix-after-env).
10319         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10320         run_program_env and test_program_prefix_after_env arguments.
10321         Split $test calls into $test_pre and $test.
10322         * timezone/Makefile (build-testdata): Use
10323         $(built-program-cmd-before-env), $(run-program-env) and
10324         $(built-program-cmd-after-env).
10325
10326 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10327
10328         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10329         strlen for non SHARED builds.
10330
10331 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10332
10333         * nptl/allocatestack.c (check_list): Inlined function...
10334         (__reclaim_stacks): ... here.
10335
10336 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10337
10338         [BZ #15698]
10339         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10340         memory overrun.
10341
10342 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10343
10344         * Rules (make-test-out): Include
10345         LOCPATH=$(common-objpfx)localedata in default environment.
10346         * debug/Makefile (tst-chk1-ENV): Remove variable.
10347         (tst-chk2-ENV): Likewise.
10348         (tst-chk3-ENV): Likewise.
10349         (tst-chk4-ENV): Likewise.
10350         (tst-chk5-ENV): Likewise.
10351         (tst-chk6-ENV): Likewise.
10352         (tst-lfschk1-ENV): Likewise.
10353         (tst-lfschk2-ENV): Likewise.
10354         (tst-lfschk3-ENV): Likewise.
10355         (tst-lfschk4-ENV): Likewise.
10356         (tst-lfschk5-ENV): Likewise.
10357         (tst-lfschk6-ENV): Likewise.
10358         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10359         (tst-iconv7-ENV): Likewise.
10360         * intl/Makefile (LOCPATH-ENV): Likewise.
10361         (tst-codeset-ENV): Likewise.
10362         (tst-gettext3-ENV): Likewise.
10363         (tst-gettext5-ENV): Likewise.
10364         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10365         (tst-fopenloc-ENV): Likewise.
10366         (tst-fgetws-ENV): Remove variable.
10367         (tst-ungetwc1-ENV): Likewise.
10368         (tst-ungetwc2-ENV): Likewise.
10369         (bug-ungetwc2-ENV): Likewise.
10370         (tst-swscanf-ENV): Likewise.
10371         (bug-ftell-ENV): Likewise.
10372         (tst-fgetwc-ENV): Likewise.
10373         (tst-fseek-ENV): Likewise.
10374         (tst-ftell-partial-wide-ENV): Likewise.
10375         (tst-ftell-active-handler-ENV): Likewise.
10376         (tst-ftell-append-ENV): Likewise.
10377         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10378         (tst-regexloc-ENV): Likewise.
10379         (bug-regex1-ENV): Likewise.
10380         (tst-regex-ENV): Likewise.
10381         (tst-regex2-ENV): Likewise.
10382         (bug-regex5-ENV): Likewise.
10383         (bug-regex6-ENV): Likewise.
10384         (bug-regex17-ENV): Likewise.
10385         (bug-regex18-ENV): Likewise.
10386         (bug-regex19-ENV): Likewise.
10387         (bug-regex20-ENV): Likewise.
10388         (bug-regex22-ENV): Likewise.
10389         (bug-regex23-ENV): Likewise.
10390         (bug-regex25-ENV): Likewise.
10391         (bug-regex26-ENV): Likewise.
10392         (bug-regex30-ENV): Likewise.
10393         (bug-regex32-ENV): Likewise.
10394         (bug-regex33-ENV): Likewise.
10395         (bug-regex34-ENV): Likewise.
10396         (bug-regex35-ENV): Likewise.
10397         (tst-rxspencer-ENV): Likewise.
10398         (tst-rxspencer-no-utf8-ENV): Likewise.
10399         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10400         (tst-sscanf-ENV): Likewise.
10401         (tst-swprintf-ENV): Likewise.
10402         (tst-swscanf-ENV): Likewise.
10403         (test-vfprintf-ENV): Likewise.
10404         (scanf13-ENV): Likewise.
10405         (bug14-ENV): Likewise.
10406         (tst-grouping-ENV): Likewise.
10407         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10408         (tst-strtod3-ENV): Likewise.
10409         (tst-strtod4-ENV): Likewise.
10410         (tst-strtod5-ENV): Likewise.
10411         (testmb2-ENV): Likewise./
10412         * string/Makefile (tst-strxfrm-ENV): Likewise.
10413         (tst-strxfrm2-ENV): Likewise.
10414         (bug-strcoll1-ENV): Likewise.
10415         (test-strcasecmp-ENV): Likewise.
10416         (test-strncasecmp-ENV): Likewise.
10417         * time/Makefile (tst-strptime-ENV): Likewise.
10418         (tst-ftime_l-ENV): Likewise.
10419         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10420         (tst-mbrtowc-ENV): Likewise.
10421         (tst-wcrtomb-ENV): Likewise.
10422         (tst-mbrtowc2-ENV): Likewise.
10423         (tst-c16c32-1-ENV): Likewise.
10424         (tst-mbsnrtowcs-ENV): Likewise.
10425
10426 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10427
10428         * manual/resource.texi (How to get information about the memory
10429         subsystem?): Fix typo.
10430         Reported by Peon de la Parra Ivan <peon@keba.com>
10431
10432 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10433
10434         [BZ #16882]
10435         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10436         (pthread_spin_lock): Branch out of spin loop to proper location.
10437         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10438         (pthread_spin_lock): Likewise.
10439
10440         * nptl/tst-spin4.c: New test.
10441         * nptl/Makefile (tests): Add tst-spin4.
10442
10443 2014-06-03  Andreas Schwab  <schwab@suse.de>
10444
10445         [BZ #15946]
10446         * resolv/res_send.c (send_dg): Reload file descriptor after
10447         calling reopen.
10448
10449 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10450
10451         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10452
10453 2014-06-03  Richard Henderson  <rth@redhat.com>
10454
10455         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10456         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10457         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10458         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10459         in the SAVE_PID block.
10460         (__libc_vfork): New alias.
10461         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10462
10463         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10464         child in registers, not on the stack.  Remove RESET_PID conditionals.
10465         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10466
10467 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10468
10469         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10470
10471 2014-06-03  Wilco  <wdijkstr@arm.com>
10472
10473         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10474         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10475         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10476         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10477         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10478         Likewise.
10479
10480 2014-06-03  Wilco  <wdijkstr@arm.com>
10481
10482         * sysdeps/aarch64/fpu/math_private.h
10483         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10484         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10485         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10486         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10487         Fix declarations.
10488
10489 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10490
10491         * crypt/crypt-private.h: Include ufc-crypt.h.
10492         (__b64_from_24bit): Declare extern.
10493         * crypt/crypt_util.c(__b64_from_24bit): New function.
10494         (b64t): New static const variable.
10495         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10496         (b64t): Remove variable.
10497         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10498         * crypt/sha256-crypt.c: Include crypt-private.h.
10499         (b64t): Remove variable.
10500         (__sha256_crypt_r): Remove b64_from_24bit and replace
10501         with __b64_from_24bit.
10502         * crypt/sha512-crypt.c: Likewise.
10503
10504 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10505
10506         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10507         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10508         Label the code __libc_vfork rather than __vfork.
10509         [!NOT_IN_libc] (vfork): Define as weak alias.
10510         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10511         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10512         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10513
10514 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10515
10516         * malloc/malloc.c (malloc_info): Fix format specifier for
10517         n_mmaps.
10518
10519 2014-06-02  Wilco  <wdijkstr@arm.com>
10520
10521         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10522         FPCR write.
10523
10524 2014-06-02  Wilco  <wdijkstr@arm.com>
10525
10526         [BZ #17009]
10527         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10528         Rewrite to reduce FPCR/FPSR accesses.
10529
10530 2014-06-01  David S. Miller  <davem@davemloft.net>
10531
10532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10533
10534 2014-05-31  David S. Miller  <davem@davemloft.net>
10535
10536         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10537         to occur in round to nearest mode when |x| >= 2.0
10538
10539 2014-05-30  Richard Henderson  <rth@twiddle.net>
10540
10541         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10542         (PSEUDO_RET_NOERRNO): Remove.
10543         (ret): Don't redefine.
10544         (ret_NOERRNO): Define in terms of ret.
10545         (ret_ERRVAL): Likewise.
10546
10547         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10548         use of PSEUDO_RET; perform the error check directly.
10549
10550 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10551
10552         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10553         with __int128_t.
10554
10555 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10556
10557         * malloc/malloc (malloc_info): Fix formatting.
10558
10559 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10560             Roland McGrath  <roland@hack.frob.com>
10561
10562         * malloc/malloc (malloc_info): Also print mmapped statistics.
10563
10564 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10565
10566         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10567         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10568
10569 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10570
10571         * malloc/malloc.c (malloc_info): Inline mi_arena.
10572
10573 2014-05-29  Richard Henderson  <rth@twiddle.net>
10574
10575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10576         Remove comma before expanding ASM_ARGS_##nr.
10577         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10578         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10579         of ASM_ARGS_##nr.
10580         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10581         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10582         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10583         (ASM_ARGS_1): Add leading comma.
10584
10585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10586         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10587         to __errno_location.
10588         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10589         Remove the expected plt for __errno_location.
10590
10591         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10592         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10593         call to __read_tp.
10594
10595         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10596         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10597         it and break it down.
10598         (DOCARGS_0, DOCARGS_1): Do nothing.
10599         (DOCARGS_2): Update to store into the new stack frame.
10600         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10601         (UNDOCARGS_1): Update to restore from the new stack frame.
10602         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10603         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10604
10605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10606         (SINGLE_THREAD_P): New parameter for result regno.
10607         (PSEUDO): Update to match; use cbz instead of beq.
10608
10609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10610         Use ENTRY to define the _nocancel entry point.  Share the syscall
10611         and syscall error check paths with the cancel path.
10612         (PSEUDO_END): New.
10613
10614         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10615         whitespace; tabs before and after asm mnemonics.
10616
10617 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10618
10619         [BZ #15132]
10620         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10621         Call fstat64 or stat64 internally, depending on arguments passed.
10622         Replace stat buffer argument with file descriptor argument.
10623         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10624         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10625         Pass fd to __internal_statvfs instead of calling fstat64.
10626         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10627         Pass fd to __internal_statvfs64 instead of calling fstat64.
10628         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10629         Pass -1 to __internal_statvfs instead of calling stat64.
10630         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10631         Pass -1 to __internal_statvfs64 instead of calling stat64.
10632
10633 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10634
10635         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10636         that was previously under [RESET_PID].
10637         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10638
10639         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10640         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10641
10642 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10643
10644         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10645
10646         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10647         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10648
10649 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10650
10651         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10652
10653 2014-05-27  Andreas Schwab  <schwab@suse.de>
10654
10655         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10656         TLS_INIT_TP macro.
10657         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10658         * elf/rtld.c (init_tls, dl_main): Likewise.
10659         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10660         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10661         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10662         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10663         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10664         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10665         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10666         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10667         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10668         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10669         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10670         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10671         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10672         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10673         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10674         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10675         * sysdeps/generic/tls.h: Update description.
10676
10677 2014-05-27  Will Newton  <will.newton@linaro.org>
10678
10679         [BZ #16990]
10680         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10681         and restore r2 rather than just restoring.
10682
10683 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10684
10685         [BZ #16724]
10686         * libio/tst-ftell-append.c: New test case.
10687         * libio/Makefile (tests): Add test case.
10688         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10689         append mode.
10690         * libio/wfileops.c (do_ftell_wide): Likewise.
10691
10692 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10693
10694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10695
10696         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10697         ...
10698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10700         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10701         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10702         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10703         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10704         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10705         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10707         Moved ...
10708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10710         Moved ...
10711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10712         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10713         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10714         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10715         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10716         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10717         ...
10718         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10719         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10720         Moved ...
10721         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10722         here.
10723         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10724         ...
10725         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10726         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10727         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10728
10729         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10730         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10731         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10732         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10733
10734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10735         merge into ...
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10737         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10738         ...
10739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10741         ...
10742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10744         Moved ...
10745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10746         here.
10747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10748         Moved ...
10749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10751         Moved ...
10752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10753
10754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10755         conditional [RESET_PID].
10756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10758         removed.
10759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10760         removed.
10761
10762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10763         <tcb-offsets.h>.
10764         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10765         (__libc_vfork): New strong alias.
10766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10767         removed.
10768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10769         Removed.
10770
10771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10772         <tcb-offsets.h>.
10773         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10774         (__libc_vfork): New strong alias.
10775         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10776         removed.
10777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10778         removed.
10779
10780 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10781
10782         * malloc/malloc.c (mi_arena): New function.
10783         (malloc_info): Remove nested function mi_arena. Call non-nosted
10784         function mi_arena.
10785
10786 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10787
10788         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10789         by insrwi.
10790         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10791         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10792         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10793         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10794         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10795         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10796         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10797
10798 2014-05-26  Andreas Schwab  <schwab@suse.de>
10799
10800         [BZ #16984]
10801         * locale/programs/repertoire.c (repertoire_read): Add slash
10802         between I18NPATH element and file name.
10803         * locale/programs/locfile.c (locfile_read): Likewise.
10804
10805 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10806
10807         * nptl/pthread_mutexattr_settype.c
10808         (__pthread_mutexattr_settype):
10809         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10810
10811 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10812
10813         * nptl/tst-mutex5 (do_test):
10814         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10815
10816 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10817
10818         * benchtests/README: Document 'init' directive.
10819         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10820         BENCH_INIT.
10821         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10822         (parse_file): Recognize 'init' directive.
10823
10824 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10825
10826         [BZ #16796]
10827         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10828         alignment of struct pthread.
10829
10830 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10831
10832         [BZ #16878]
10833         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10834         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10835         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10836         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10837
10838 2014-05-25  Richard Henderson  <rth@twiddle.net>
10839
10840         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10841         (SINGLE_THREAD_P_PIC): Remove.
10842         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10843         (SINGLE_THREAD_P_PIC): Remove.
10844
10845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10846         branch to syscall error ...
10847         (PSEUDO): ... here.
10848         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10849         from __local_syscall_error to .Lsyscall_error.
10850         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10851         (SYSCALL_ERROR): Update label name.
10852
10853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10854         Do not use DOARGS/UNDOARGS.
10855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10856         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10857         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10858         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10859         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10860
10861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10862         block comment.
10863
10864         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10865         define if !NOT_IN_libc.
10866         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10867         define with non-default symbol versions.
10868
10869 2014-05-23  Richard Henderson  <rth@twiddle.net>
10870
10871         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10872         (vfork, __vfork): Define via compat_symbol.
10873
10874         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10875         [!HAVE_IFUNC] (vfork_compat): Remove.
10876         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10877
10878 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10879
10880         [BZ #16978]
10881         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10882         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10883         variable.
10884
10885 2014-05-23  Richard Henderson  <rth@twiddle.net>
10886
10887         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10888         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10889         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10890         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10891
10892         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10893         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10894         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10895         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10896         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10897         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10898         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10899         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10900         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10901         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10902         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10903         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10904         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10905         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10906         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10907         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10908         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10909         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10910         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10911         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10912         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10913         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10914         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10915         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10916         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10917         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10918         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10919         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10920         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10921         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10922         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10923         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10924         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10925         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10926         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10927         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10928         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10929         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10930         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10931         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10932         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10933         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10934         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10935         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10936         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10937         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10938         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10939         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10940         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10941         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10942         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10943         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10944         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10945         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10947         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10948
10949         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10950         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10951         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10952         before exiting on error.
10953         (__libc_vfork): New strong alias.
10954         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10955         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10956
10957         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10958         that was previously under [RESET_PID].
10959         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10960
10961         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10962
10963 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10964
10965         [BZ #16977]
10966         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10967         value when x - 1 is zero.
10968         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10969         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10970         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10971         0.0L for an argument of 1.0L.
10972         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10973         Likewise.
10974         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10975         value when x - 1 is zero.
10976         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10977         * sysdeps/i386/fpu/libm-test-ulps: Update.
10978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10979
10980 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10981
10982         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10983         alphasort and versionsort.
10984
10985 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10986
10987         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10988         macro.
10989         [copysignf]: Likewise.
10990
10991 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10992
10993         * crypt/md5-crypt.c: Fix formatting.
10994
10995 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10996
10997         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10998         (b64_from_24bit): New function.
10999
11000 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11001
11002         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11003         libc_hidden_builtin_def to ifunc.
11004         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11005         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11006
11007 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11008
11009         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11010         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11011
11012 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11013
11014         * nscd/Depend (linuxthreads): Remove.
11015         (nptl): Add.
11016         * resolv/Depend (linuxthreads): Remove.
11017         * rt/Depend (linuxthreads): Remove.
11018
11019         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11020         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11021         $(common-objpfx)elf/.
11022         (link-libc-before-gnulib): Likewise.
11023         (elfobjdir): Remove variable.
11024         * Makefile (install): Use $(elf-objpfx) instead of
11025         $(common-objpfx)elf/.
11026         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11027         $(elfobjdir)/.
11028         (link-libc-deps): Likewise.
11029         ($(common-objpfx)libc.so): Likewise.
11030         ($(common-objpfx)linkobj/libc.so): Likewise.
11031         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11032         instead of $(common-objpfx)elf/.
11033         (symbolic-link-list): Likewise.
11034         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11035         [$(cross-compiling) = no]: Likewise.
11036         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11037         $(elfobjdir)/.
11038         (static-gnulib-arch): Likewise.
11039         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11040         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11041         $(common-objpfx)elf/.
11042
11043 2014-05-21  Richard Henderson  <rth@redhat.com>
11044
11045         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11046         (SINGLE_THREAD_P): Use the correct width load.  Fold
11047         into the ldr offset.
11048
11049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11050         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11051
11052 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11053
11054         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11055         (libgcc_s_resume): Use __attribute_used__.
11056         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11057         Likewise.
11058
11059 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11060
11061         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11062         optimization when used with float constants.
11063
11064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11065
11066 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11067
11068         [BZ #16915]
11069         * locale/nl_langinfo_l.c: Make direct reference to every
11070         _nl_current_CATEGORY symbol.
11071         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11072         (tests-static): Add tst-langinfo-static.
11073         (tests-special): Add tst-langinfo-static.out.
11074         ($(objpfx)tst-langinfo.out): Redirect output.
11075         ($(objpfx)tst-langinfo-static.out): New.
11076         * localedata/tst-langinfo.sh: Send output to stdout.
11077         * localedata/tst-langinfo-static.c: New file.
11078
11079         [BZ #16965]
11080         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11081         when the shift amount is modulo the limb size.
11082
11083 2014-05-20  Richard Henderson  <rth@redhat.com>
11084
11085         [BZ #16967]
11086         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11087         Change type of sa_flags from unsigned int to int.
11088
11089         [BZ #16966]
11090         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11091
11092         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11093
11094 2014-05-20  Will Newton  <will.newton@linaro.org>
11095
11096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11097         Test the return value of the system call in the nocancel case.
11098
11099 2014-05-20  Will Newton  <will.newton@linaro.org>
11100             Yvan Roux  <yvan.roux@linaro.org>
11101
11102         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11103         #include of asm/ptrace.h.
11104         (PTRACE_GET_THREAD_AREA): Remove #undef.
11105         (PTRACE_GETHBPREGS): Likewise.
11106         (PTRACE_SETHBPREGS): Likewise.
11107         (struct user_regs_struct): New structure.
11108         (struct user_fpsimd_struct): New structure.
11109         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11110         #include of asm/ptrace.h and second #include of sys/user.h.
11111         (PTRACE_GET_THREAD_AREA): Remove #undef.
11112         (PTRACE_GETHBPREGS): Likewise.
11113         (PTRACE_SETHBPREGS): Likewise.
11114         (ELF_NGREG): Use new struct user_regs_struct.
11115         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11116
11117 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11118
11119         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11120         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11121
11122 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11123
11124         [BZ #16958]
11125         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11126         membar to avoid block loads/stores to overlap previous stores.
11127
11128 2014-05-17  Richard Henderson  <rth@redhat.com>
11129
11130         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11131         Create the __##syscall_name##_nocancel entry point.
11132         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11133         Remove; let the sysdep-cancel.h code create it.
11134
11135 2014-05-17  David S. Miller  <davem@davemloft.net>
11136
11137         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11138         Protect with __USE_GNU.
11139         (TIOCSET_TEMPT): Likewise.
11140         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11141         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11142         these are already provided in bits/ioctl-types.h
11143
11144 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11145
11146         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11147         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11148
11149         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11150         Use wait4 regardless of [__NR_waitpid].
11151
11152 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11153
11154         PR libgcc/60166
11155         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11156         (_FP_NANSIGN_Q): Set the quiet bit.
11157
11158 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11159
11160         * benchtests/Makefile
11161         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11162         not $(common-objpfx)math/libm.so.
11163         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11164         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11165         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11166         $(common-objpfx)dlfcn/libdl.so.
11167         ($(objpfx)tst-audit8): Depend on $(libm), not
11168         $(common-objpfx)math/libm.so.
11169         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11170         not $(common-objpfx)dlfcn/libdl.so.
11171         * math/Makefile
11172         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11173         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11174         [$(build-shared) = yes].
11175         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11176         $(common-objpfx)nptl/libpthread.so.
11177         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11178         $(common-objpfx)math/libm.so$(libm.so-version) or
11179         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11180         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11181         $(common-objpfx)dlfcn/libdl.so.
11182         * setjmp/Makefile (link-libm): Remove variable.
11183         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11184         * stdio-common/Makefile (link-libm): Remove variable.
11185         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11186         * stdlib/Makefile (link-libm): Remove variable.
11187         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11188         ($(objpfx)tst-strtod-round): Likewise.
11189         ($(objpfx)tst-tininess): Likewise.
11190         ($(objpfx)tst-strtod-underflow): Likewise.
11191         ($(objpfx)tst-strtod6): Likewise.
11192         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11193         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11194         $(common-objpfx)dlfcn/libdl.so.
11195
11196 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11197
11198         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11199         BSD terminal modes definitions.
11200
11201 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11202
11203         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11204         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11205
11206         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11207         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11208         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11209         Don't do #include_next.
11210         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11211         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11212         Don't do #include_next.
11213         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11214         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11215         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11216         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11217
11218 2014-05-16  Allan McRae  <allan@archlinux.org>
11219
11220         * po/sv.po: Update Swedish translation from translation project.
11221
11222         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11223         in sed expression.
11224
11225 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11226
11227         [BZ #16917]
11228         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11229         errno if the TIOCGPTN ioctl fails with an error different than
11230         EINVAL.
11231         * login/tst-ptsname.c: New file.
11232         * login/Makefile (tests): Add tst-ptsname.
11233
11234         [BZ #16943]
11235         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11236         and prlimit64.
11237
11238 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11239
11240         [BZ #16849]
11241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11242         herrno to return EAI_AGAIN.
11243
11244 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11245
11246         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11247         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11248         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11249         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11250         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11251         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11252         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11253         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11255         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11256         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11257         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11258         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11259         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11260         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11261         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11262         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11263         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11264         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11265         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11266         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11267         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11268         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11269         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11271         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11272         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11273         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11274         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11275         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11277         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11279         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11281         Moved ...
11282         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11284         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11286         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11288         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11290         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11292         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11294         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11296         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11298         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11300         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11302         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11304         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11306         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11308         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11310         Moved ...
11311         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11313         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11315         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11317         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11319         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11321         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11323         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11325         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11327         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11329         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11331         Moved ...
11332         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11334         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11335
11336         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11337         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11338         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11339         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11340         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11341         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11342         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11343         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11344         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11345         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11346         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11347         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11348         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11349         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11350         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11351         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11352         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11353         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11354         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11355         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11356         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11357         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11358         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11359         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11360         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11361         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11362         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11363         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11364         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11365         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11366         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11367
11368         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11369         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11370
11371         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11372         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11373         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11374         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11375         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11376         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11377         Moved ...
11378         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11379         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11380         Moved ...
11381         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11382         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11383         Moved ...
11384         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11385         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11386         Moved ...
11387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11388         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11389         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11391         Moved ...
11392         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11393         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11394         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11396         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11397         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11398         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11400         Moved ...
11401         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11402         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11403         Moved ...
11404         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11405         ... here.
11406         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11407         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11408         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11409         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11410         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11411         Moved ...
11412         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11413         ... here.
11414         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11415         Moved ...
11416         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11417         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11418         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11419         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11420         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11421         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11422         Moved ...
11423         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11424         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11425         Moved ...
11426         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11427         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11428         Moved ...
11429         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11430         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11431         Moved ...
11432         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11433         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11434         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11436         Moved ...
11437         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11438         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11439         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11441         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11442         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11443         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11445         Moved ...
11446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11447         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11448         Moved ...
11449         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11450         ... here.
11451         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11452         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11453         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11454         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11455         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11456         Moved ...
11457         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11458         ... here.
11459         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11460         Moved ...
11461         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11462         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11463         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11464         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11465         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11466         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11467         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11468         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11469         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11470         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11471         Moved ...
11472         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11473         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11474         Moved ...
11475         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11476         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11477         Moved ...
11478         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11479         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11480         Moved ...
11481         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11482         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11483         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11484         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11485         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11487         Moved ...
11488         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11489         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11490         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11491         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11493         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11494         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11495         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11496         Moved ...
11497         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11498         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11499         Moved ...
11500         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11501         ... here.
11502         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11503         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11504         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11505         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11506         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11507         Moved ...
11508         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11509         ... here.
11510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11511         Moved ...
11512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11513         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11514         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11515         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11516         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11517         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11518         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11519         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11520         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11521         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11522         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11523
11524         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11525         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11526
11527         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11528         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11529
11530         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11531         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11532         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11533         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11534         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11535         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11536         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11537         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11538         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11539         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11540         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11541         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11542         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11543         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11544         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11545         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11546         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11547         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11548         Moved ...
11549         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11550         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11551         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11553         Moved ...
11554         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11555         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11558         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11562         Moved ...
11563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11565         Moved ...
11566         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11568         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11570         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11572         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11573         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11574         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11575         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11576         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11577         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11578         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11579         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11580         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11581         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11582         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11583
11584         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11585         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11586         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11587         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11588         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11589
11590         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11591         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11592         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11593         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11594         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11595         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11596         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11597         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11598         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11599         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11600
11601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11602         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11603
11604         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11605         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11606         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11607         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11608         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11609         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11610         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11611         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11612         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11613         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11614         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11615         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11616         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11617         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11619         Update #include.
11620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11621         Likewise.
11622         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11623         Likewise.
11624         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11625         Likewise.
11626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11627         Likewise.
11628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11629         Likewise.
11630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11631         Likewise.
11632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11633         Likewise.
11634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11635         Likewise.
11636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11637         Likewise.
11638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11639         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11643         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11644         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11646         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11648         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11649         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11650         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11651         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11652         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11653
11654         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11655         that was previously under [RESET_PID].
11656         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11657         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11658         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11659
11660         * sysdeps/i386/nptl/Implies: New file.
11661         * sysdeps/x86_64/nptl/Implies: New file.
11662         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11663         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11664         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11665         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11666
11667         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11668         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11669         (__libc_vfork): New strong alias.
11670         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11671         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11672
11673         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11674         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11675         (__libc_vfork): New strong alias.
11676         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11677         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11678
11679         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11680         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11681         (__libc_vfork): New strong alias.
11682         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11683         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11684         * nptl/pt-vfork.c: New file.
11685         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11686         (libpthread: GLIBC_2.20): New version set (empty).
11687
11688 2014-05-14  Will Newton  <will.newton@linaro.org>
11689
11690         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11691         rather than #if.
11692
11693 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11694
11695         [BZ #16564]
11696         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11697         arguments with exponent 65 or above.
11698         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11699         arguments 0x1p113L or above.
11700         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11701         to arguments 0x1p107L or above.
11702         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11703         positive arguments with exponent 65 or above.
11704         * math/auto-libm-test-in: Add more tests of log1p.
11705         * math/auto-libm-test-out: Regenerated.
11706
11707         [BZ #16928]
11708         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11709         non-finite arguments is +0.
11710         * math/s_cacosf.c (__cacosf): Likewise.
11711         * math/s_cacosl.c (__cacosl): Likewise.
11712         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11713         * sysdeps/i386/fpu/libm-test-ulps: Update.
11714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11715
11716         [BZ #16927]
11717         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11718         value.
11719         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11720         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11721         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11722         for explicit high bit of mantissa when testing for argument equal
11723         to 1.
11724         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11725         * sysdeps/i386/fpu/libm-test-ulps: Update.
11726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11727
11728         [BZ #16516]
11729         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11730         (__erf): Scale by 16 instead of 8 in potentially underflowing
11731         case.  Ensure exception if result actually underflows.
11732         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11733         (__erff): Scale by 16 instead of 8 in potentially underflowing
11734         case.  Ensure exception if result actually underflows.
11735         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11736         (efx8): Remove variable.
11737         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11738         case.  Ensure exception if result actually underflows.
11739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11740         (efx8): Remove variable.
11741         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11742         case.  Ensure exception if result actually underflows.
11743         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11744         (efx8): Remove variable.
11745         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11746         case.  Ensure exception if result actually underflows.
11747         * math/auto-libm-test-in: Add more tests of erf.
11748         * math/auto-libm-test-out: Regenerated.
11749
11750 2014-05-14  Andreas Schwab  <schwab@suse.de>
11751
11752         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11753         Remove code conditionalized on USE___THREAD.
11754
11755         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11756         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11757         not definedness.
11758
11759 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11760
11761         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11762         Define unconditionally.
11763         (__ASSUME_O_CLOEXEC): Likewise.
11764         (__ASSUME_SOCK_CLOEXEC): Likewise.
11765         (__ASSUME_IN_NONBLOCK): Likewise.
11766         (__ASSUME_PIPE2): Likewise.
11767         (__ASSUME_EVENTFD2): Likewise.
11768         (__ASSUME_SIGNALFD4): Likewise.
11769         (__ASSUME_DUP3): Likewise.
11770         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11771         (__ASSUME_DUP3): Do not define.
11772         (__ASSUME_EVENTFD2): Likewise.
11773         (__ASSUME_IN_NONBLOCK): Likewise.
11774         (__ASSUME_O_CLOEXEC): Likewise.
11775         (__ASSUME_PIPE2): Likewise.
11776         (__ASSUME_SIGNALFD4): Likewise.
11777         (__ASSUME_SOCK_CLOEXEC): Likewise.
11778         (__ASSUME_UTIMES): Undefine.
11779         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11780         (__ASSUME_UTIMES): Do not define.
11781         (__ASSUME_O_CLOEXEC): Likewise.
11782         (__ASSUME_SOCK_CLOEXEC): Likewise.
11783         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11784         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11785         0x020621].
11786         (__ASSUME_PIPE2): Likewise.
11787         (__ASSUME_EVENTFD2): Likewise.
11788         (__ASSUME_SIGNALFD4): Likewise.
11789         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11790         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11791         Do not define.
11792         (__ASSUME_EVENTFD2): Likewise.
11793         (__ASSUME_SIGNALFD4): Likewise.
11794         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11795         (__ASSUME_32BITUIDS): Likewise.
11796         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11797         (__ASSUME_IPC64): Likewise.
11798         (__ASSUME_ST_INO_64_BIT): Likewise.
11799         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11800         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11801         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11802         (__ASSUME_UTIMES): Do not define.
11803         (__ASSUME_PSELECT): Likewise.
11804         (__ASSUME_PPOLL): Likewise.
11805         (__ASSUME_O_CLOEXEC): Likewise.
11806         (__ASSUME_SOCK_CLOEXEC): Likewise.
11807         (__ASSUME_IN_NONBLOCK): Likewise.
11808         (__ASSUME_PIPE2): Likewise.
11809         (__ASSUME_EVENTFD2): Likewise.
11810         (__ASSUME_SIGNALFD4): Likewise.
11811         (__ASSUME_DUP3): Likewise.
11812         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11813         (__ASSUME_UTIMES): Likewise.
11814         (__ASSUME_O_CLOEXEC): Likewise.
11815         (__ASSUME_SOCK_CLOEXEC): Likewise.
11816         (__ASSUME_IN_NONBLOCK): Likewise.
11817         (__ASSUME_PIPE2): Likewise.
11818         (__ASSUME_EVENTFD2): Likewise.
11819         (__ASSUME_SIGNALFD4): Likewise.
11820         (__ASSUME_DUP3): Likewise.
11821         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11822         (__ASSUME_UTIMES): Likewise.
11823         (__ASSUME_O_CLOEXEC): Likewise.
11824         (__ASSUME_SOCK_CLOEXEC): Likewise.
11825         (__ASSUME_IN_NONBLOCK): Likewise.
11826         (__ASSUME_PIPE2): Likewise.
11827         (__ASSUME_EVENTFD2): Likewise.
11828         (__ASSUME_SIGNALFD4): Likewise.
11829         (__ASSUME_DUP3): Likewise.
11830         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11831         Likewise.
11832         (__ASSUME_UTIMES): Likewise.
11833         (__ASSUME_EVENTFD2): Likewise.
11834         (__ASSUME_SIGNALFD4): Likewise.
11835         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11836         (__ASSUME_O_CLOEXEC): Likewise.
11837         (__ASSUME_SOCK_CLOEXEC): Likewise.
11838         (__ASSUME_IN_NONBLOCK): Likewise.
11839         (__ASSUME_PIPE2): Likewise.
11840         (__ASSUME_EVENTFD2): Likewise.
11841         (__ASSUME_SIGNALFD4): Likewise.
11842         (__ASSUME_DUP3): Likewise.
11843         (__ASSUME_UTIMES): Undefine.
11844
11845         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11846         feclearexcept.  Remove symbol versioning code.
11847         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11848         symbol versioning code.
11849         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11850         symbol versioning code.
11851         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11852         feupdateenv.  Remove symbol versioning code.
11853         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11854         fegetexceptflag.  Remove symbol versioning code.
11855         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11856         fesetexceptflag.  Remove symbol versioning code.
11857         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11858         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11859         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11860         (__posix_fadvise64_l32): Remove prototype.
11861         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11862         code.
11863
11864 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11865
11866         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11867         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11868         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11869         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11870
11871 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11872
11873         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11874         current working directory
11875
11876 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11877
11878         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11879         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11880         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11881         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11882         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11883         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11884         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11885         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11886         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11887         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11888         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11889         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11890         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11891         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11892         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11893         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11894         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11895         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11896         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11897         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11898         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11899         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11900         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11901         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11902         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11903         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11904         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11905         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11906         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11907         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11908         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11909         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11910         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11911         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11912         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11913         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11914         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11915         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11916         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11917         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11918         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11919         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11920
11921         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11922         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11923
11924         * sysdeps/unix/sysv/linux/arm/Makefile
11925         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11926         Add rt-aeabi_unwind_cpp_pr1.
11927         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11928         Add nptl-aeabi_unwind_cpp_pr1.
11929         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11930         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11931         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11932         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11933         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11934         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11935
11936         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11937         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11938         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11939         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11940
11941         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11942         Deconditionalize the code that was previously under [RESET_PID].
11943         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11944
11945         * sysdeps/generic/exit-thread.h: New file.
11946         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11947         * include/unistd.h (__exit_thread): Remove declaration.
11948         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11949         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11950         * csu/libc-start.c: Include <exit-thread.h>.
11951         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11952         * nptl/pthread_create.c: Include <exit-thread.h>.
11953         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11954         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11955         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11956         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11957         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11958         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11959         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11960         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11961         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11962         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11963         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11964         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11965         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11966         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11967         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11968         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11969         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11970
11971 2014-05-13  Andreas Schwab  <schwab@suse.de>
11972
11973         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11974
11975 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11976
11977         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11978         (__ASSUME_UTIMES): Do not condition on kernel version.
11979         (__ASSUME_PSELECT): Define unconditionally.
11980         (__ASSUME_PPOLL): Likewise.
11981         (__ASSUME_ATFCTS): Likewise.
11982         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11983         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11984         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11985         (__ASSUME_UTIMENSAT): Define unconditionally.
11986         (__ASSUME_PRIVATE_FUTEX): Likewise.
11987         (__ASSUME_FALLOCATE): Likewise.
11988         (__ASSUME_O_CLOEXEC): Likewise.
11989         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11990         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11991         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11992         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11993         (__ASSUME_IN_NONBLOCK): Likewise.
11994         (__ASSUME_PIPE2): Likewise.
11995         (__ASSUME_EVENTFD2): Likewise.
11996         (__ASSUME_SIGNALFD4): Likewise.
11997         (__ASSUME_DUP3): Likewise.
11998         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11999         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12000         (__ASSUME_AT_RANDOM): Likewise.
12001         (__ASSUME_PREADV): Likewise.
12002         (__ASSUME_PWRITEV): Likewise.
12003         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12004         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12005         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12006         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12007         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12008         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12009         (__ASSUME_O_CLOEXEC): Define unconditionally.
12010         (__ASSUME_PSELECT): Do not undefine conditionally.
12011         (__ASSUME_PPOLL): Likewise.
12012         (__ASSUME_ATFCTS): Likewise.
12013         (__ASSUME_SET_ROBUST_LIST): Likewise.
12014         (__ASSUME_UTIMENSAT): Likewise.
12015         (__ASSUME_FDATASYNC): Define unconditionally.
12016         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12017         (__ASSUME_SIGFRAME_V2): Likewise.
12018         )__ASSUME_EVENTFD2): Likewise.
12019         (__ASSUME_SIGNALFD4): Likewise.
12020         (__ASSUME_PSELECT): Do not undefine conditionally.
12021         (__ASSUME_PPOLL): Likewise.
12022         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12023         (__ASSUME_PSELECT): Define unconditionally.
12024         (__ASSUME_PPOLL): Likewise.
12025         (__ASSUME_O_CLOEXEC): Likewise.
12026         (__ASSUME_SOCK_CLOEXEC): Likewise.
12027         (__ASSUME_IN_NONBLOCK): Likewise.
12028         (__ASSUME_PIPE2): Likewise.
12029         (__ASSUME_EVENTFD2): Likewise.
12030         (__ASSUME_SIGNALFD4): Likewise.
12031         (__ASSUME_DUP3): Likewise.
12032         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12033         (__ASSUME_O_CLOEXEC): Likewise.
12034         (__ASSUME_SOCK_CLOEXEC): Likewise.
12035         (__ASSUME_IN_NONBLOCK): Likewise.
12036         (__ASSUME_PIPE2): Likewise.
12037         (__ASSUME_EVENTFD2): Likewise.
12038         (__ASSUME_SIGNALFD4): Likewise.
12039         (__ASSUME_DUP3): Likewise.
12040         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12041         (__ASSUME_EVENTFD2): Likewise.
12042         (__ASSUME_SIGNALFD4): Likewise.
12043         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12044
12045 2014-05-12  Andreas Schwab  <schwab@suse.de>
12046
12047         [BZ #16932]
12048         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12049         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12050         than maximum RPC packet size.
12051         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12052         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12053         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12054         (_nss_nis_getservbyport_r): Likewise.
12055
12056 2014-05-12  Will Newton  <will.newton@linaro.org>
12057
12058         * malloc/Makefile (tests): Add tst-mallopt.
12059         * malloc/tst-mallopt.c: New file.
12060
12061 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12062
12063         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12064         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12065
12066 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12067
12068         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12069         (tst-tlsmod6.so): Likewise.
12070
12071 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12072
12073         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12074
12075 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12076
12077         [BZ #16064]
12078         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12079         and <dl-procinfo.h>.
12080         (__fegetenv): Save SSE state in envp->__eip if supported.
12081         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12082         envp->__eip if supported.
12083         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12084         and <dl-procinfo.h>.
12085         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12086         __data_offset and __data_selector in environment to 0.  Set SSE
12087         state if supported.
12088         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12089         test-fenv-sse.
12090         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12091         -mfpmath=sse.
12092         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12093
12094 2014-05-09  Will Newton  <will.newton@linaro.org>
12095
12096         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12097         and libc_relro_required for ARM.
12098         * sysdeps/arm/preconfigure: Regenerate.
12099
12100 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12101             Stefan Liebler  <stli@linux.vnet.ibm.com>
12102
12103         * config.make.in (enable-lock-elision): New Makefile variable.
12104         * configure.ac: Likewise.
12105         * configure: Regenerate.
12106         * sysdeps/s390/configure.ac:
12107         Add check for gcc transactions support.
12108         * sysdeps/s390/configure: Regenerate.
12109         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12110         Build elision files if enabled.
12111         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12112         Add lock elision support for s390.
12113         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12114         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12115         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12116         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12117         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12118         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12119         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12120         Likewise.
12121         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12122         Likewise.
12123         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12124         Likewise.
12125         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12126         Likewise.
12127         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12128         (__lll_timedlock_elision, __lll_lock_elision)
12129         (__lll_unlock_elision, __lll_trylock_elision)
12130         (lll_timedlock_elision, lll_lock_elision)
12131         (lll_unlock_elision, lll_trylock_elision): Add.
12132         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12133         (pthread_mutex_t): Add lock elision support for s390.
12134
12135 2014-05-14  Wilco  <wdijkstr@arm.com>
12136
12137         * sysdeps/arm/fclrexcpt.c: Cleanup.
12138         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12139         * sysdeps/arm/feenablxcpt.c: Cleanup.
12140         * sysdeps/arm/fegetenv.c: Cleanup.
12141         * sysdeps/arm/fegetexcept.c: Cleanup.
12142         * sysdeps/arm/fegetround.c: Cleanup.
12143         * sysdeps/arm/feholdexcpt.c: Cleanup.
12144         * sysdeps/arm/fesetenv.c: Cleanup.
12145         * sysdeps/arm/fesetround.c: Cleanup.
12146         * sysdeps/arm/feupdateenv.c: Cleanup.
12147         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12148         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12149         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12150         * sysdeps/arm/ftestexcept.c: Cleanup.
12151         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12152         * sysdeps/arm/setfpucw.c: Cleanup.
12153
12154 2014-05-09  Will Newton  <will.newton@linaro.org>
12155
12156         * sysdeps/arm/armv7/strcmp.S: New file.
12157         * NEWS: Mention addition of ARMv7 optimized strcmp.
12158
12159 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12160
12161         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12162         look for %.ac rather than %.in.
12163
12164         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12165         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12166         * sysdeps/mach/hurd/configure: Regenerated.
12167         * sysdeps/unix/sysv/linux/configure: Regenerated.
12168
12169         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12170
12171 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12172
12173         [BZ# 16922]
12174         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12175         (LONG_SUB): Ditto.
12176         (PTR_SUB): Ditto.
12177
12178 2014-05-07  Andreas Schwab  <schwab@suse.de>
12179
12180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12181         when skipping over non-matching result from nscd.
12182
12183 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12184
12185         [BZ #16876]
12186         * nptl/sockperf.c (client): Check socket return value.
12187
12188         [BZ #16877]
12189         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12190         nscd security class.
12191
12192 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12193
12194         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12195         * sysdeps/arm/unwind.h: ... here.
12196
12197 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12198
12199         [BZ# 16916]
12200         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12201         Define.
12202
12203 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12204
12205         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12206         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12207         multiarch strncpy for PPC64.
12208         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12209         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12211         multiarch optimizations.
12212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12213         (__libc_ifunc_impl_list): Likewise.
12214         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12215         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12216         multiarch stpncpy for PPC64.
12217         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12218         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12219
12220 2014-05-06  Andreas Schwab  <schwab@suse.de>
12221
12222         [BZ #16912]
12223         * gmon/mcount.c (_MCOUNT_DECL): Use
12224         atomic_compare_and_exchange_bool_acq instead of
12225         catomic_compare_and_exchange_bool_acq.
12226
12227 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12228
12229         * elf/Makefile (others, install-bin): Remove pldd.
12230         (pldd-modules): Variable removed.
12231         ($(objpfx)pldd): Target removed.
12232         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12233         (others, install-bin): Append pldd here.
12234         ($(objpfx)pldd): New target.
12235
12236         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12237         to 0, so the first #if test emitted later doesn't see it undefined.
12238         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12239         * sysdeps/gnu/errlist.c: Regenerated.
12240
12241 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12242
12243         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12244         [libc_hidden_builtin_def]: Define to empty value.
12245         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12246         [libc_hidden_builtin_def]: Likewise.
12247         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12248         [libc_hidden_builtin_def]: Likewise.
12249         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12250         [libc_hidden_builtin_def]: Likewise.
12251         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12252         __redirect_memcpy and define ifunc as default hidden symbol.
12253         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12254         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12255
12256 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12257
12258         * locale/iso-4217.def: Reintroduce XDR currency.
12259
12260 2014-05-04  Allan McRae  <allan@archlinux.org>
12261
12262         * po/eo.po: Update Esperanto translation from translation project.
12263
12264 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12265
12266         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12267         and FEATURE_INDEX_MAX to 1.
12268         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12269
12270 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12271
12272         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12273         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12274         * iconvdata/big5.c (ONE_DIRECTION): Define.
12275         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12276         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12277         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12278         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12279         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12280         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12281         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12282         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12283         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12284         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12285         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12286         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12287         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12288         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12289         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12290         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12291         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12292         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12293         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12294         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12295         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12296         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12297         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12298         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12299         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12300         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12301         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12302         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12303         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12304         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12305         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12306         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12307         * iconvdata/johab.c (ONE_DIRECTION): Define.
12308         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12309         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12310         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12311         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12312         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12313         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12314         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12315         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12316         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12317         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12318
12319 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12320
12321         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12322         (_IO_JUMPS_OFFSET): Define to 0.
12323
12324         * nptl/sysdeps/pthread/bits/libc-lock.h
12325         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12326         (__libc_lock_define_initialized_recursive): Always define using
12327         initializer.  Modern compilers treat uninitialized (implicit zero) and
12328         explicit zero initializers the same (i.e. put the datum in bss).
12329
12330 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12331
12332         * nscd/nscd-client.h: Include <string.h>.
12333
12334 2014-05-01  David S. Miller  <davem@davemloft.net>
12335
12336         [BZ #16885]
12337         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12338         multiple zero bytes exist at the end of a string.
12339         Reported by Aurelien Jarno <aurelien@aurel32.net>
12340
12341         * string/test-strcmp.c (check): Add explicit test for situations where
12342         there are multiple zero bytes after the first.
12343
12344 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12345
12346         [BZ #16890]
12347         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12348         when compiling wprintf.
12349         * stdio-common/tstdiomisc.c (t3): New function.
12350         (main): Call it.
12351
12352 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12353
12354         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12355         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12356         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12357         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12358
12359 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12360
12361         * stdlib/longlong.h: Updated from GCC.
12362
12363 2014-05-01  Will Newton  <will.newton@linaro.org>
12364             Bernard Ogden  <bernie.ogden@linaro.org>
12365
12366         * NEWS: Update fixed bug list.
12367
12368         [BZ #15119]
12369         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12370
12371 2014-04-30  David S. Miller  <davem@davemloft.net>
12372
12373         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12374         (libc_feholdexcept_setround_sparc_ctx): New function.
12375         (libc_fesetenv_sparc_ctx): Likewise.
12376         (libc_feupdateenv_sparc_ctx): Likewise.
12377         (libc_feholdsetround_sparc_ctx): Likewise.
12378         (libc_feholdexcept_setround_ctx): Define.
12379         (libc_feholdexcept_setroundf_ctx): Likewise.
12380         (libc_feholdexcept_setroundl_ctx): Likewise.
12381         (libc_fesetenv_ctx): Likewise.
12382         (libc_fesetenvf_ctx): Likewise.
12383         (libc_fesetenvl_ctx): Likewise.
12384         (libc_feupdateenv_ctx): Likewise.
12385         (libc_feupdateenvf_ctx): Likewise.
12386         (libc_feupdateenvl_ctx): Likewise.
12387         (libc_feresetround_ctx): Likewise.
12388         (libc_feresetroundf_ctx): Likewise.
12389         (libc_feresetroundl_ctx): Likewise.
12390         (libc_feholdsetround_ctx): Likewise.
12391         (libc_feholdsetroundf_ctx): Likewise.
12392         (libc_feholdsetroundl_ctx): Likewise.
12393
12394         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12395         with __USE_GNU instead of XOPEN cpp guards.
12396
12397         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12398         0.
12399
12400         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12401         with XOPEN cpp guards.
12402
12403 2014-04-30  Julian Brown  <julian@codesourcery.com>
12404
12405         [BZ #16888]
12406         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12407         handling.
12408
12409 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12410
12411         [BZ #9894]
12412         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12413         Change to 2.6.32.
12414         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12415         * sysdeps/unix/sysv/linux/configure: Regenerated.
12416         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12417         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12418         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12419         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12420         * README: Update reference to required Linux kernel version.
12421         * manual/install.texi (Linux): Update reference to required Linux
12422         kernel headers version.
12423         * INSTALL: Regenerated.
12424
12425         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12426         header inclusion.
12427         [POSIX] (limits.h): Likewise.
12428         [POSIX] (math.h): Likewise.
12429         [POSIX] (sys/wait.h): Likewise.
12430         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12431         function.
12432         [POSIX] (stddef.h): Do not allow header inclusion.
12433
12434 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12435
12436         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12437
12438 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12439
12440         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12441         Return immediately after lll_futex_wake.
12442
12443 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12444
12445         [BZ #16791]
12446         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12447         structure.
12448         (datahead_init_pos): Call datahead_init_common early.
12449         (datahead_init_neg): Likewise.
12450
12451         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12452         datahead_init_neg): New functions.
12453         * nscd/aicache.c (addhstaiX): Use them.
12454         * nscd/grpcache.c (cache_addgr): Likewise.
12455         * nscd/hstcache.c (cache_addhst): Likewise.
12456         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12457         * nscd/netgroupcache.c (do_notfound): Likewise.
12458         (addgetnetgrentX): Likewise.
12459         (addinnetgrX): Likewise.
12460         * nscd/pwdcache.c (cache_addpw): Likewise.
12461         * nscd/servicescache.c (cache_addserv): Likewise.
12462
12463 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12464             Atsushi Onoe  <atsushi@onoe.org>
12465
12466         [BZ #14308]
12467         [BZ #12994]
12468         [BZ #13651]
12469         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12470         one response is valid.
12471         * resolv/res_send.c (send_dg): Check for validity of other
12472         response if the current response is a referral.
12473
12474 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12475
12476         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12477
12478 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12479
12480         [BZ #16823]
12481         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12482         Always divide by positive zero when computing -Inf result.
12483         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12484         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12485
12486 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12487
12488         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12489         FPSCR if value do not change.
12490         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12491         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12492         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12493         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12494         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12495         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12496         function.
12497
12498 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12499
12500         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12501         * sysdeps/unix/sysv/linux/hppa: Move directory from
12502         ports/systeps/unix/sysv/linux/hppa.
12503         * README: Update listing for hppa-*-linux-gnu.
12504
12505 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12506
12507         [BZ #16754]
12508         * manual/stdio.texi (Hook functions): Fix types of stream hook
12509         functions.
12510         [BZ #16854]
12511         * socket/sys/socket.h: Fix typo in comment.
12512
12513 2014-04-28  Wilco  <wdijkstr@arm.com>
12514
12515         * sysdeps/arm/fenv_private.h: New file.
12516         * sysdeps/arm/math_private.h: New file.
12517         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12518
12519 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12520
12521         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12522         with __int128_t.
12523         (La_x86_64_retval): Likewise.
12524
12525 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12526
12527         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12528         fpsr if value didn't change.
12529         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12530         to fpcr if value didn't change.
12531         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12532         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12533         fpsr or fpcr if value didn't change.
12534         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12535         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12536         fpcr if value didn't change.
12537         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12538         to fpsr if value didn't change.
12539
12540 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12541
12542         * nptl/tst-sem3.c: Use test-skeleton.c
12543         (main): Rename to do_test.  Use return instead of
12544         exit.
12545         * nptl/tst-sem4.c: Use test-skeleton.c
12546         (main): Rename to do_test.
12547
12548 2014-04-22  David S. Miller  <davem@davemloft.net>
12549
12550         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12551         (struct sigaction): New struct member __glibc_reserved0, change
12552         type of sa_flags to int.
12553
12554 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12555
12556         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12557         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12558
12559 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12560
12561         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12562         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12563
12564 2014-04-22  Will Newton  <will.newton@linaro.org>
12565             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12566
12567         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12568         (__longjmp): Add longjmp and longjmp_target SystemTap
12569         probes.
12570         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12571         (__sigsetjmp): Add setjmp SystemTap probe.
12572
12573 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12574
12575         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12576         match manual order.
12577
12578 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12579
12580         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12581
12582         * sysdeps/powerpc/fpu/fenv_private.h
12583         (libc_feholdexcept_setroundl_ctx): Define to
12584         libc_feholdexcept_setround_ppc_ctx.
12585         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12586         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12587         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12588         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12589
12590 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12591
12592         * sysdeps/aarch64/math-tests.h: New file.
12593
12594 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12595
12596         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12597         New.
12598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12599         Check and set bit_AVX2_Usable.
12600         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12601         macro.
12602         (bit_AVX2): Likewise.
12603         (index_AVX2_Usable): Likewise.
12604         (CPUID_AVX2): Likewise.
12605         (HAS_AVX2): Likewise.
12606
12607 2014-04-17  Will Newton  <will.newton@linaro.org>
12608
12609         * manual/setjmp.texi (System V contexts): Add note that
12610         calling setcontext on a context created by a call to a
12611         signal handler is undefined.  Update text to note that
12612         setcontext from a signal handler is possible but not
12613         recommended.
12614
12615         [BZ #16629]
12616         * stdlib/tst-setcontext.c: Include signal.h.
12617         (main): Check that the signal stack before and
12618         after swapcontext is the same.
12619
12620         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12621         Re-implement to restore registers in user code and avoid
12622         rt_sigreturn system call.
12623
12624 2014-04-17  Wilco  <wdijkstr@arm.com>
12625
12626         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12627         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12628         * math/test-fenv.c: Skip exception trap tests on targets which only
12629         support non-stop mode.
12630
12631 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12632             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12633
12634         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12635         (libc_feholdsetround_aarch64_ctx)
12636         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12637         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12638         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12639         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12640         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12641         (libc_feresetround_noexl_ctx): Define.
12642
12643 2014-04-16  Richard Henderson  <rth@redhat.com>
12644
12645         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12646
12647         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12648         unwind tables.
12649
12650         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12651         const from the non-libc, non-ldso copy.
12652
12653         * sysdeps/alpha/libm-test-ulps: Regenerate.
12654
12655 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12656             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12657
12658         * sysdeps/aarch64/fpu/math_private.h: New file.
12659
12660 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12661
12662         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12663
12664 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12665
12666         [BZ #16275]
12667         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12668         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12669         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12670         Intel MPX bound registers before _dl_profile_fixup.
12671         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12672         registers after _dl_profile_fixup.  Save and restore bound
12673         registers bnd0/bnd1 when calling _dl_call_pltexit.
12674         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12675         (LR_BND_OFFSET): Likewise.
12676         (LRV_BND0_OFFSET): Likewise.
12677         (LRV_BND1_OFFSET): Likewise.
12678
12679 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12680
12681         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12682         to...
12683         * sysdeps/mach/hurd/i386/tls.h: ... here.
12684         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12685         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12686         fields.
12687
12688 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12689
12690         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12691
12692 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12693
12694         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12695
12696 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12697
12698         [BZ #14770]
12699         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12700         * sysdeps/s390/configure: Regenerate.
12701
12702         [BZ #16824]
12703         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12704         Set round-to-nearest internally to reduce error accumulation.
12705
12706 2014-04-16  Alan Modra  <amodra@gmail.com>
12707
12708         [BZ #16740]
12709         [BZ #16619]
12710         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12711         * math/libm-test.inc (frexp_test_data): Add tests.
12712         * NEWS: Update fixed bug list.
12713
12714 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12715
12716         * benchtests/Makefile: Depend on libraries in build directory.
12717         (bench-math): Separate out math tests.
12718         (bench-pthread): Separate out pthread tests.
12719         (bench): Include math and pthread tests.
12720
12721 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12722
12723         [BZ #16831]
12724         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12725         _dl_debug_initialize.
12726
12727         * configure.ac: Remove SELinux header check.
12728         * configure: Regenerate.
12729         * nscd/selinux.c (perms): Array of const char* to permission names.
12730         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12731         default policy. Call string_to_security_class and string_to_av_perm to
12732         translate strings. Enforce default policy and call avs_has_perm with
12733         results of translated strings.
12734
12735 2014-04-13  David S. Miller  <davem@davemloft.net>
12736
12737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12738
12739 2014-04-12  Allan McRae  <allan@archlinux.org>
12740
12741         [BZ #16838]
12742         * manual/string.texi (Collation Functions): Fix qsort argument
12743         order in example.
12744         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12745
12746 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12747
12748         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12749         Make the test a no-op if there are no exceptions defined.
12750
12751 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12752
12753         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12754         enable-hardcoded-path-in-tests
12755
12756 2014-04-11  Will Newton  <will.newton@linaro.org>
12757
12758         * benchtests/Makefile (extra-objs): Add json-lib.o.
12759         (bench-func): Tidy up JSON output.
12760         * benchtests/bench-skeleton.c: Include json-lib.h.
12761         (main): Use JSON library functions to do output of
12762         benchmark results.
12763         * benchtests/bench-timing-type.c (main): Output the
12764         timing type simply, leaving formatting to the user.
12765         * benchtests/json-lib.c: New file.
12766         * benchtests/json-lib.h: Likewise.
12767
12768 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12769
12770         [BZ #15215]
12771         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12772         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12773         memory barriers.  Add comments.
12774         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12775         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12776         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12777         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12778         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12779         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12780
12781 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12782
12783         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12784         * sysdeps/s390/s390-64/configure.ac: ... this ...
12785         * sysdeps/s390/configure.ac: ... to here.
12786         * sysdeps/s390/s390-32/configure: Delete file.
12787         * sysdeps/s390/s390-64/configure: Delete file.
12788         * sysdeps/s390/configure: Regenerate.
12789
12790 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12791
12792         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12793
12794 2014-04-11  Will Newton  <will.newton@linaro.org>
12795
12796         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12797         to zero if it is not defined elsewhere.  (mtrim): Test
12798         the value of MALLOC_DEBUG with #if rather than #ifdef.
12799
12800 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12801
12802         * benchtests/pthread_once-inputs: New file.
12803         * benchtests/pthread_once-source.c: New file.
12804         * benchtests/README: Update documentation.
12805
12806 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12807             H.J. Lu  <hongjiu.lu@intel.com>
12808
12809         [BZ #16275]
12810         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12811         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12812         * sysdeps/x86_64/configure: Regenerated.
12813         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12814         macro.
12815         (REGISTER_SAVE_RAX): Likewise.
12816         (REGISTER_SAVE_RCX): Likewise.
12817         (REGISTER_SAVE_RDX): Likewise.
12818         (REGISTER_SAVE_RSI): Likewise.
12819         (REGISTER_SAVE_RDI): Likewise.
12820         (REGISTER_SAVE_R8): Likewise.
12821         (REGISTER_SAVE_R9): Likewise.
12822         (REGISTER_SAVE_BND0): Likewise.
12823         (REGISTER_SAVE_BND1): Likewise.
12824         (REGISTER_SAVE_BND2): Likewise.
12825         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12826         bound registers when calling _dl_fixup.
12827
12828 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12829
12830         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12831         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12832         of its definition.
12833         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12834         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12835         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12836         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12837         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12838         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12839         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12840
12841 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12842
12843         [BZ #15514]
12844         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12845         pathconf(_PC_NAME_MAX).
12846
12847 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12848
12849         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12850         Remove macro usage.
12851         (__PTHREAD_SPINS): Move definition to ...
12852         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12853         (__PTHREAD_SPINS): ... here.
12854         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12855         (__PTHREAD_SPIN): Likewise.
12856         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12857         (__PTHREAD_SPIN): Likewise.
12858         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12859         (__PTHREAD_SPIN): Likewise.
12860         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12861         (__PTHREAD_SPIN): Likewise.
12862         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12863         (__PTHREAD_SPIN): Likewise.
12864         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12865         (__PTHREAD_SPIN): Likewise.
12866         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12867         (__PTHREAD_SPIN): Likewise.
12868         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12869         (__PTHREAD_SPIN): Likewise.
12870         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12871         (__PTHREAD_SPIN): Likewise.
12872         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12873         (__PTHREAD_SPIN): Likewise.
12874         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12875         (__PTHREAD_SPIN): Likewise.
12876         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12877         (__PTHREAD_SPIN): Likewise.
12878
12879         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12880         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12881         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12882         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12883         imply folder.
12884         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12885         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12886         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12887         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12888         correct imply path.
12889         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12890         strlen symbol for non multi-arch builds.
12891         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12892         missing hidden_def and weak_alias.
12893
12894 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12895
12896         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12897
12898 2014-04-07  Will Newton  <will.newton@linaro.org>
12899
12900         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12901         and contents.  [!_LIBC] Remove #ifndef and contents.
12902         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12903         * string/memccpy.c (__memccpy): Use ANSI prototype.
12904         * string/memfrob.c (memfrob): Likewise.
12905         * string/strcoll.c (STRCOLL): Likewise.
12906         * string/strlen.c (strlen): Likewise.
12907         * string/strtok.c (STRTOK): Likewise.
12908         * string/strcat.c: Remove unused #include of memcopy.h.
12909         (strcat): Use ANSI prototype.
12910         * string/strchr.c: Remove unused #include of memcopy.h.
12911         (strchr): Use ANSI prototype.
12912         * string/strcmp.c: Remove unused #include of memcopy.h.
12913         (strcmp): Use ANSI prototype.
12914         * string/strcpy.c: Remove unused #include of memcopy.h.
12915         (strcpy): Use ANSI prototype.
12916
12917 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12918
12919         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12920         * config.make.in (config-extra-cppflags): Set it from
12921         libc_extra_cppflags.
12922         * configure.ac (libc_extra_cflags): Make it accumulate over
12923         configure fragments.
12924         (libc_extra_cppflags): New flag.
12925         * configure. Regenerate.
12926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12927         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12928         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12930
12931         [BZ #16815]
12932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12933         result for FE_DOWNWARD rounding mode.
12934         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12935         Likewise.
12936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12937
12938 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12939
12940         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12941         in function argument name.
12942
12943 2014-04-03  David Svoboda  <svoboda@cert.org>
12944
12945         [BZ #5666]
12946         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12947         explicitly.
12948
12949 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12950
12951         * elf/dl-unmap-segments.h: New file.
12952         * sysdeps/generic/ldsodefs.h
12953         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12954         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12955         * elf/dl-fptr.c: Likewise.
12956         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12957         * sysdeps/aarch64/tlsdesc.c: Likewise.
12958         * sysdeps/arm/tlsdesc.c: Likewise.
12959         * sysdeps/i386/tlsdesc.c: Likewise.
12960         * sysdeps/tile/dl-runtime.c: Likewise.
12961         * sysdeps/x86_64/tlsdesc.c: Likewise.
12962         * elf/dl-load.h: New file.
12963         * elf/dl-load.c: Include it.
12964         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12965         Macros moved to dl-load.h.
12966         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12967         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12968         Use _dl_unmap_segments in place of __munmap.
12969         Break out segment-mapping loop into ...
12970         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12971
12972 2014-04-03  Will Newton  <will.newton@linaro.org>
12973
12974         * elf/dl-lookup.c (do_lookup_x): Remove comment
12975         referring to nested function and move variable
12976         declarations down to before first use.
12977
12978 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12979
12980         [BZ #16799]
12981         [BZ #16800]
12982         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12983         with 0 numerator.
12984         * math/s_catanf.c (__catanf): Likewise.
12985         * math/s_catanh.c (__catanh): Likewise.
12986         * math/s_catanhf.c (__catanhf): Likewise.
12987         * math/s_catanhl.c (__catanhl): Likewise.
12988         * math/s_catanl.c (__catanl): Likewise.
12989         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12990         by positive zero when computing -Inf result.
12991         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12992         (catanh_test): Likewise.
12993         * sysdeps/i386/fpu/libm-test-ulps: Update.
12994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12995
12996         [BZ #16789]
12997         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12998         instead of using underflowing value in computing result.
12999         * math/s_clog10.c (__clog10): Likewise.
13000         * math/s_clog10f.c (__clog10f): Likewise.
13001         * math/s_clog10l.c (__clog10l): Likewise.
13002         * math/s_clogf.c (__clogf): Likewise.
13003         * math/s_clogl.c (__clogl): Likewise.
13004         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13005         (clog10_test): Likewise.
13006         * sysdeps/i386/fpu/libm-test-ulps: Update.
13007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13008
13009 2014-04-02  Alan Modra  <amodra@gmail.com>
13010
13011         [BZ #16739]
13012         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13013         output when value is near a power of two.  Use int64_t for lx and
13014         remove casts.  Use decimal rather than hex exponent constants.
13015         Don't use long double multiplication when double will suffice.
13016         * math/libm-test.inc (nextafter_test_data): Add tests.
13017         * NEWS: Add 16739 and 16786 to bug list.
13018
13019         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13020
13021         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13022
13023 2014-04-01  Will Newton  <will.newton@linaro.org>
13024
13025         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13026         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13027
13028 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13029
13030         [BZ #13347]
13031         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13032         * nptl/tst-setuid2.c: New file.
13033         * nptl/Makefile (xtests): Add tst-setuid2.
13034
13035 2014-04-01  Alan Modra  <amodra@gmail.com>
13036
13037         [BZ #16786]
13038         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13039
13040 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13041
13042         [BZ #6803]
13043         [BZ #6804]
13044         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13045         set errno as appropriate.
13046         * math/w_scalbf.c (__scalbf): Likewise.
13047         * math/w_scalbl.c (__scalbl): Likewise.
13048         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13049         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13050         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13051         Add more NaN tests.
13052
13053         [BZ #16349]
13054         * math/w_atan2.c: Include <errno.h>.
13055         (__atan2): Set errno for result underflowing to zero.
13056         * math/w_atan2f.c: Include <errno.h>.
13057         (__atan2f): Set errno for result underflowing to zero.
13058         * math/w_atan2l.c: Include <errno.h>.
13059         (__atan2l): Set errno for result underflowing to zero.
13060         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13061         tests.
13062         * math/auto-libm-test-out: Regenerated.
13063
13064 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13065
13066         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13067         Encode instruction correctly in little endian.
13068         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13069         Likewise.
13070         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13071         Likewise.
13072         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13073         Likewise.
13074         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13075         Likewise.
13076
13077 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13078
13079         [BZ #9894]
13080         * sysdeps/unix/sysv/linux/kernel-features.h
13081         [__sparc__ && !__arch64__ && !__sparc_v9__]
13082         (__ASSUME_SET_ROBUST_LIST): Do not define.
13083         [__sparc__ && !__arch64__ && !__sparc_v9__]
13084         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13085         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13086         Likewise.
13087         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13088         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13089         (__ASSUME_REQUEUE_PI): Likewise.
13090         (__ASSUME_SET_ROBUST_LIST): Likewise.
13091         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13092         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13093         Undefine.
13094         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13095         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13096         Likewise.
13097         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13098         Likewise.
13099         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13100         Likewise.
13101         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13102         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13103         Undefine.
13104         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13105         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13106         Likewise.
13107
13108         [BZ #16648]
13109         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13110         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13111         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13112
13113 2014-03-31  Will Newton  <will.newton@linaro.org>
13114
13115         * benchtests/Makefile (bench): Add ffs and ffsll to list
13116         of tests.
13117         * benchtests/ffs-inputs: New file.
13118         * benchtests/ffsll-inputs: Likewise.
13119
13120 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13121
13122         [BZ #16770]
13123         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13124         too large before casting to int.
13125         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13126         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13127         * math/libm-test.inc (scalb_test_data): Add more tests.
13128
13129 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13130
13131         * benchtests/Makefile (DETAILED_OPT): New make option.
13132         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13133         set.
13134         * benchtests/bench-skeleton.c: Include stdbool.h.
13135         (main): Store and print timings per input.
13136         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13137         member to each argument value.
13138         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13139         (_print_arg_data): Initialize per-input timing to 0.
13140
13141         * benchtests/Makefile (timing-type): New binary.
13142         (bench-clean): Also remove bench-timing-type.
13143         (bench): New target for timing-type.
13144         (bench-func): Print output in JSON format.
13145         * benchtests/bench-skeleton.c (main): Print output in JSON
13146         format.
13147         * benchtests/bench-timing-type.c: New file.
13148         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13149         (TIMING_PRINT_STATS): Remove.
13150         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13151         name separately.
13152
13153         * benchtests/bench-modf.c: Remove.
13154         * benchtests/modf-inputs: New inputs file.
13155
13156 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13157
13158         [BZ #16362]
13159         * math/s_clog10.c (M_PI_LOG10E): New macro.
13160         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13161         imaginary parts are 0.
13162         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13163         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13164         imaginary parts are 0.
13165         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13166         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13167         imaginary parts are 0.
13168         * math/libm-test.inc (clog10_test_data): Update expected results
13169         for when real and imaginary parts are 0.
13170
13171 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13172
13173         * elf/dl-load.c: Finish conversion of __builtin_expect into
13174         __glibc_{un}likely.
13175
13176 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13177
13178         [BZ #16348]
13179         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13180         1+x for argument with exponent below -67.
13181         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13182         Likewise.
13183         * math/auto-libm-test-in: Add more tests of exp.
13184         * math/auto-libm-test-out: Regenerated.
13185
13186 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13187
13188         [BZ #16759]
13189         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13190         (nscd_getnetgrent): Use it.
13191
13192         [BZ #16760]
13193         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13194         of stpcpy.
13195
13196 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13197
13198         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13199         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13200         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13201         (lll_robust_unlock): Remove out of line section. Use cfi
13202         intrinsics.
13203         (LLL_STUB_UNWIND_INFO*): Remove.
13204         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13205         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13206         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13207         (lll_robust_unlock): Remove out of line section. Use cfi
13208         intrinsics.
13209         (LLL_STUB_UNWIND_INFO*): Remove.
13210
13211 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13212
13213         [BZ #16758]
13214         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13215         blank values.
13216
13217 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13218
13219         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13220
13221 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13222
13223         [BZ #16198]
13224         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13225         fnstenv.
13226         * math/test-fenv-preserve.c: New file.
13227         * math/Makefile (tests): Add test-fenv-preserve.
13228
13229 2014-03-26  Will Newton <will.newton@linaro.org>
13230
13231         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13232
13233 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13234
13235         * scripts/versionlist.awk: Partition the version sets and emit all
13236         GLIBC_* (sorted) before all others (sorted).
13237
13238 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13239
13240         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13241         GLIBC_2.2.5 version.
13242
13243 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13244
13245         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13246         calls.
13247
13248         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13249         previous change.
13250
13251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13252
13253 2014-03-25  Andreas Schwab  <schwab@suse.de>
13254
13255         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13256         label to be used after in6ailist is initialized.
13257
13258 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13259
13260         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13261         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13262
13263 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13264
13265         [BZ #16357]
13266         [BZ #16599]
13267         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13268         min_plus_half.
13269         (fp_formats): Update initializers.
13270         (init_fp_formats): Initialize new field.
13271         (output_for_one_input_case): Allow underflow for results up to
13272         min_plus_half.
13273         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13274         * math/auto-libm-test-in: Don't mark some underflows from asin and
13275         atanh as spurious.
13276         * math/auto-libm-test-out: Regenerated.
13277         * sysdeps/i386/fpu/libm-test-ulps: Update.
13278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13279
13280 2014-03-25  Andreas Schwab  <schwab@suse.de>
13281
13282         * libio/Makefile (tst-ftell-partial-wide-ENV)
13283         (tst-ftell-active-handler-ENV): Define.
13284
13285 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13286
13287         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13288
13289 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13290
13291         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13292
13293 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13294
13295         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13296         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13297         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13298
13299 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13300
13301         [BZ #16634]
13302         * elf/dl-load.c (open_verify): Add mode parameter.
13303         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13304         (open_path): Change from boolean 'secure' to complete flag 'mode'
13305         (_dl_map_object): Adjust.
13306         * elf/Makefile (tests): Add tst-dlopen-aout.
13307         * elf/tst-dlopen-aout.c: New test.
13308
13309 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13310
13311         [BZ #16714]
13312         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13313         (struct stat): Rename member pad0 to __glibc_reserved0.
13314
13315         [BZ #16712]
13316         * sysdeps/s390/s390-32/bits/wordsize.h
13317         (__WORDSIZE32_SIZE_ULONG): New define.
13318         * sysdeps/s390/s390-64/bits/wordsize.h
13319         (__WORDSIZE32_SIZE_ULONG): Likewise.
13320         * sysdeps/generic/stdint.h (SIZE_MAX):
13321         Define as UL if __WORDSIZE32_SIZE_ULONG.
13322
13323         [BZ #16713]
13324         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13325         (__glibc_reserved0): New variable.
13326         (sa_flags): Change type to int.
13327
13328         * posix/Makefile (before-compile): Use += before-compile instead
13329         of a :=.
13330
13331         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13332         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13333
13334 2014-03-20  Andreas Schwab  <schwab@suse.de>
13335
13336         [BZ #16743]
13337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13338         non-matching result from nscd.
13339
13340 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13341
13342         * scripts/bench.py: Moved to ...
13343         * benchtests/scripts/bench.py: ... here.
13344         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13345
13346 2014-03-24  Andreas Schwab  <schwab@suse.de>
13347
13348         [BZ #16002]
13349         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13350         alloca_account and account alloca use for struct in6ailist.
13351
13352 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13353
13354         [BZ #16284]
13355         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13356         rounding mode to recompute results that overflow to infinity or
13357         underflow to zero.
13358         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13359         bug 16284.
13360         * math/auto-libm-test-out: Regenerated.
13361         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13362         (ccosh_test): Likewise.
13363         (csin_test_data): Use plus_oflow.
13364         (csin_test): Use ALL_RM_TEST.
13365         (csinh_test_data): Use plus_oflow.
13366         (csinh_test): Use ALL_RM_TEST.
13367         * sysdeps/i386/fpu/libm-test-ulps: Update.
13368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13369
13370 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13371
13372         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13373         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13374         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13375
13376         [BZ #16731]
13377         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13378         when x - 1 is zero.
13379         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13380         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13381         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13382         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13383         argument is 1.
13384         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13385         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13386         zero.
13387         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13388         * sysdeps/i386/fpu/libm-test-ulps: Update.
13389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13390
13391 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13392
13393         * scripts/bench.pl: Remove file.
13394         * scripts/bench.py: New benchmark script.
13395         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13396         * benchtests/README: Mention python dependency.
13397         * scripts/pylintrc: New file.
13398         * scripts/pylint: New file.
13399
13400         * bits/mathdef.h: Use #ifdef instead of #if.
13401         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13402         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13403         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13404         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13405         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13406         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13407
13408 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13409             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13410
13411         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13413         and strpbrk-ppc64 objects.
13414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13415         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13416         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13417         multiarch strpbrk for POWER7.
13418         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13419         multiarch strpbrk for PPC64.
13420         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13421         ifunc selector.
13422         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13423         strpbrk for POWER7.
13424
13425 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13426
13427         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13428         (atan_test): Likewise.
13429         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13430         (atanh_test): Use ALL_RM_TEST.
13431         (atan2_test_data): Likewise.
13432         (cabs_test): Likewise.
13433         (cacosh_test): Likewise.
13434         (carg_test): Likewise.
13435         (casin_test): Likewise.
13436         (casinh_test): Likewise.
13437         (cbrt_test): Likewise.
13438         (csqrt_test): Likewise.
13439         (erf_test): Likewise.
13440         (erfc_test): Likewise.
13441         (pow10_test): Likewise.
13442         (exp2_test): Likewise.
13443         (hypot_test): Likewise.
13444         (j0_test): Likewise.
13445         (j1_test): Likewise.
13446         (lgamma_test): Likewise.
13447         (gamma_test): Likewise.
13448         (sincos_test): Likewise.
13449         (tanh_test): Likewise.
13450         (y0_test): Likewise.
13451         (y1_test): Likewise.
13452         * sysdeps/i386/fpu/libm-test-ulps: Update.
13453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13454
13455 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13456
13457         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13459         and strcspn-ppc64 objects.
13460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13461         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13462         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13463         multiarch strcspn for POWER7.
13464         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13465         multiarch strcspn for PPC64.
13466         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13467         ifunc selector.
13468         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13469         strcspn for POWER7.
13470
13471 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13472
13473         * math/gen-libm-test.pl (generate_testfile): Expect only function
13474         name as argument to AUTO_TESTS_* and pass results for all rounding
13475         modes to parse_args.
13476         (parse_auto_input): Separate inputs of automatic tests from
13477         outputs before storing in %auto_tests.
13478         * math/libm-test.inc (acos_test_data): Update call to
13479         AUTO_TESTS_f_f.
13480         (acos_test): Use ALL_RM_TEST.
13481         (acos_tonearest_test_data): Remove.
13482         (acos_test_tonearest): Likewise.
13483         (acos_towardzero_test_data): Likewise.
13484         (acos_test_towardzero): Likewise.
13485         (acos_downward_test_data): Likewise.
13486         (acos_test_downward): Likewise.
13487         (acos_upward_test_data): Likewise.
13488         (acos_test_upward): Likewise.
13489         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13490         (asin_test_data): Likewise.
13491         (asin_test): Use ALL_RM_TEST.
13492         (asin_tonearest_test_data): Remove.
13493         (asin_test_tonearest): Likewise.
13494         (asin_towardzero_test_data): Likewise.
13495         (asin_test_towardzero): Likewise.
13496         (asin_downward_test_data): Likewise.
13497         (asin_test_downward): Likewise.
13498         (asin_upward_test_data): Likewise.
13499         (asin_test_upward): Likewise.
13500         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13501         (atan_test_data): Likewise.
13502         (atanh_test_data): Likewise.
13503         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13504         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13505         (carg_test_data): Likewise.
13506         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13507         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13508         (ccosh_test_data): Likewise.
13509         (cexp_test_data): Likewise.
13510         (clog_test_data): Likewise.
13511         (clog10_test_data): Likewise.
13512         (cos_test_data): Update call to AUTO_TESTS_f_f.
13513         (cos_test): Use ALL_RM_TEST.
13514         (cos_tonearest_test_data): Remove.
13515         (cos_test_tonearest): Likewise.
13516         (cos_towardzero_test_data): Likewise.
13517         (cos_test_towardzero): Likewise.
13518         (cos_downward_test_data): Likewise.
13519         (cos_test_downward): Likewise.
13520         (cos_upward_test_data): Likewise.
13521         (cos_test_upward): Likewise.
13522         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13523         (cosh_test): Use ALL_RM_TEST.
13524         (cosh_tonearest_test_data): Remove.
13525         (cosh_test_tonearest): Likewise.
13526         (cosh_towardzero_test_data): Likewise.
13527         (cosh_test_towardzero): Likewise.
13528         (cosh_downward_test_data): Likewise.
13529         (cosh_test_downward): Likewise.
13530         (cosh_upward_test_data): Likewise.
13531         (cosh_test_upward): Likewise.
13532         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13533         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13534         (ctan_test_data): Likewise.
13535         (ctan_test): Use ALL_RM_TEST.
13536         (ctan_tonearest_test_data): Remove.
13537         (ctan_test_tonearest): Likewise.
13538         (ctan_towardzero_test_data): Likewise.
13539         (ctan_test_towardzero): Likewise.
13540         (ctan_downward_test_data): Likewise.
13541         (ctan_test_downward): Likewise.
13542         (ctan_upward_test_data): Likewise.
13543         (ctan_test_upward): Likewise.
13544         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13545         (ctanh_test): Use ALL_RM_TEST.
13546         (ctanh_tonearest_test_data): Remove.
13547         (ctanh_test_tonearest): Likewise.
13548         (ctanh_towardzero_test_data): Likewise.
13549         (ctanh_test_towardzero): Likewise.
13550         (ctanh_downward_test_data): Likewise.
13551         (ctanh_test_downward): Likewise.
13552         (ctanh_upward_test_data): Likewise.
13553         (ctanh_test_upward): Likewise.
13554         (erf_test_data): Update call to AUTO_TESTS_f_f.
13555         (erfc_test_data): Likewise.
13556         (exp_test_data): Likewise.
13557         (exp_test): Use ALL_RM_TEST.
13558         (exp_tonearest_test_data): Remove.
13559         (exp_test_tonearest): Likewise.
13560         (exp_towardzero_test_data): Likewise.
13561         (exp_test_towardzero): Likewise.
13562         (exp_downward_test_data): Likewise.
13563         (exp_test_downward): Likewise.
13564         (exp_upward_test_data): Likewise.
13565         (exp_test_upward): Likewise.
13566         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13567         (exp10_test): Use ALL_RM_TEST.
13568         (exp10_tonearest_test_data): Remove.
13569         (exp10_test_tonearest): Likewise.
13570         (exp10_towardzero_test_data): Likewise.
13571         (exp10_test_towardzero): Likewise.
13572         (exp10_downward_test_data): Likewise.
13573         (exp10_test_downward): Likewise.
13574         (exp10_upward_test_data): Likewise.
13575         (exp10_test_upward): Likewise.
13576         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13577         (expm1_test_data): Likewise.
13578         (expm1_test): Use ALL_RM_TEST.
13579         (expm1_tonearest_test_data): Remove.
13580         (expm1_test_tonearest): Likewise.
13581         (expm1_towardzero_test_data): Likewise.
13582         (expm1_test_towardzero): Likewise.
13583         (expm1_downward_test_data): Likewise.
13584         (expm1_test_downward): Likewise.
13585         (expm1_upward_test_data): Likewise.
13586         (expm1_test_upward): Likewise.
13587         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13588         (fma_test): Use ALL_RM_TEST.
13589         (fma_towardzero_test_data): Remove.
13590         (fma_test_towardzero): Likewise.
13591         (fma_downward_test_data): Likewise.
13592         (fma_test_downward): Likewise.
13593         (fma_upward_test_data): Likewise.
13594         (fma_test_upward): Likewise.
13595         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13596         (j0_test_data): Update call to AUTO_TESTS_f_f.
13597         (j1_test_data): Likewise.
13598         (jn_test_data): Update call to AUTO_TESTS_if_f.
13599         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13600         (log_test_data): Update call to AUTO_TESTS_f_f.
13601         (log10_test_data): Likewise.
13602         (log1p_test_data): Likewise.
13603         (log2_test_data): Likewise.
13604         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13605         (pow_tonearest_test_data): Likewise.
13606         (sin_test_data): Update call to AUTO_TESTS_f_f.
13607         (sin_test): Use ALL_RM_TEST.
13608         (sin_tonearest_test_data): Remove.
13609         (sin_test_tonearest): Likewise.
13610         (sin_towardzero_test_data): Likewise.
13611         (sin_test_towardzero): Likewise.
13612         (sin_downward_test_data): Likewise.
13613         (sin_test_downward): Likewise.
13614         (sin_upward_test_data): Likewise.
13615         (sin_test_upward): Likewise.
13616         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13617         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13618         (sinh_test): Use ALL_RM_TEST.
13619         (sinh_tonearest_test_data): Remove.
13620         (sinh_test_tonearest): Likewise.
13621         (sinh_towardzero_test_data): Likewise.
13622         (sinh_test_towardzero): Likewise.
13623         (sinh_downward_test_data): Likewise.
13624         (sinh_test_downward): Likewise.
13625         (sinh_upward_test_data): Likewise.
13626         (sinh_test_upward): Likewise.
13627         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13628         (sqrt_test): Use ALL_RM_TEST.
13629         (sqrt_tonearest_test_data): Remove.
13630         (sqrt_test_tonearest): Likewise.
13631         (sqrt_towardzero_test_data): Likewise.
13632         (sqrt_test_towardzero): Likewise.
13633         (sqrt_downward_test_data): Likewise.
13634         (sqrt_test_downward): Likewise.
13635         (sqrt_upward_test_data): Likewise.
13636         (sqrt_test_upward): Likewise.
13637         (tan_test_data): Update call to AUTO_TESTS_f_f.
13638         (tan_test): Use ALL_RM_TEST.
13639         (tan_tonearest_test_data): Remove.
13640         (tan_test_tonearest): Likewise.
13641         (tan_towardzero_test_data): Likewise.
13642         (tan_test_towardzero): Likewise.
13643         (tan_downward_test_data): Likewise.
13644         (tan_test_downward): Likewise.
13645         (tan_upward_test_data): Likewise.
13646         (tan_test_upward): Likewise.
13647         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13648         (tgamma_test_data): Likewise.
13649         (y0_test_data): Likewise.
13650         (y1_test_data): Likewise.
13651         (yn_test_data): Update call to AUTO_TESTS_if_f.
13652         (main): Do not call removed functions.
13653
13654 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13655
13656         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13657         (ldexp_test_data): Remove.
13658         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13659         scalbn_test_data.
13660         (scalb_test): Use ALL_RM_TEST.
13661
13662 2014-03-19  Andreas Schwab  <schwab@suse.de>
13663
13664         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13665
13666 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13667
13668         [BZ #16649]
13669         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13670         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13671         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13673         (__ASSUME_PREADV): Undefine.
13674         (__ASSUME_PWRITEV): Likewise.
13675
13676 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13677
13678         * bits/mman-linux.h: Add comment about non-Linux use.
13679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13680         bits/mman-linux.h resting place.
13681
13682         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13683         * bits/mman-linux.h: ... here.
13684
13685 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13686
13687         * conform/conformtest.pl: Add standard definition when calling C
13688         preprocessor on data files.
13689         (checknamespace): Remove unused variable.
13690
13691 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13692
13693         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13694         minus_oflow, plus_uflow and minus_uflow in expected results.
13695         * math/libm-test.inc (scalbn_test_data): Add more tests of
13696         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13697         minus_uflow.
13698         (scalbn_test): Use ALL_RM_TEST.
13699         (scalbln_test_data): Add more tests of negative arguments.  Use
13700         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13701         (scalbln_test): Use ALL_RM_TEST.
13702
13703 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13704
13705         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13706
13707 2014-03-18  Will Newton  <will.newton@linaro.org>
13708
13709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13710         inaccurate comment.
13711
13712 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13713
13714         * Makerules [!subdir] (check-abi): Exit with error status if a
13715         test failed.
13716
13717 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13718
13719         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13720         for rint.  Include results for all rounding modes.
13721         (nearbyint_test): Use ALL_RM_TEST.
13722         (rint_test_data): Include all tests used for nearbyint.
13723
13724 2014-03-17  Will Newton  <will.newton@linaro.org>
13725
13726         * nptl/sysdeps/pthread/pthread.h: Revert previous
13727         change.
13728
13729         * sysdeps/generic/ldsodefs.h: Revert previous
13730         change.
13731
13732         * libio/genops.c: Revert previous change.
13733         * libio/libioP.h: Likewise.
13734         * stdio-common/vfprintf.c: Likewise.
13735
13736         * sysdeps/generic/math_private.h: Revert previous
13737         change.
13738
13739         * sysdeps/generic/math_private.h: Check whether
13740         HAVE_RM_CTX is defined with #ifdef rather
13741         than #if.
13742
13743         * argp/argp-fmtstream.h: Check whether
13744         __STRICT_ANSI__ is defined with #ifdef rather
13745         than #if.
13746         * argp/argp.h: Likewise.
13747
13748         * libio/genops.c: Check whether
13749         _IO_JUMPS_OFFSET is defined with #ifdef rather
13750         than #if.
13751         * libio/libioP.h: Likewise.
13752         * stdio-common/vfprintf.c: Likewise.
13753
13754         * sysdeps/generic/ldsodefs.h: Check whether
13755         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13756         than #if.
13757
13758         * nptl/sysdeps/pthread/pthread.h: Check
13759         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13760         its value.
13761
13762 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13763
13764         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13765         setting O_APPEND.
13766         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13767         test case.
13768
13769         [BZ #16680]
13770         * libio/fileops.c (_IO_file_open): Seek to end of file but
13771         don't cache the offset.
13772         (get_file_offset): Remove function.
13773         (do_ftell): Use cached offset when available.
13774         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13775         don't cache the offset.
13776         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13777         case.
13778         (do_one_test): Call it.
13779         (do_ftell_test): Fix up expected old offset for a+ mode.
13780         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13781         available.
13782
13783         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13784         up test status with function return status.
13785         (do_write_test): Likewise.
13786         (do_append_test): Likewise.
13787
13788         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13789         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13790         Remove.
13791
13792 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13793
13794         * math/gen-libm-test.pl (parse_args): Handle results specified for
13795         each rounding mode separately.
13796         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13797         tests and results from lrint_tonearest_test_data,
13798         lrint_towardzero_test_data, lrint_downward_test_data and
13799         lrint_upward_test_data.
13800         (lrint_test): Use ALL_RM_TEST.
13801         (lrint_tonearest_test_data): Remove.
13802         (lrint_test_tonearest): Likewise.
13803         (lrint_towardzero_test_data): Likewise.
13804         (lrint_test_towardzero): Likewise.
13805         (lrint_downward_test_data): Likewise.
13806         (lrint_test_downward): Likewise.
13807         (lrint_upward_test_data): Likewise.
13808         (lrint_test_upward): Likewise.
13809         (llrint_test_data): Merge in per-rounding-mode tests and results
13810         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13811         llrint_downward_test_data and llrint_upward_test_data.
13812         (llrint_test): Use ALL_RM_TEST.
13813         (llrint_tonearest_test_data): Remove.
13814         (llrint_test_tonearest): Likewise.
13815         (llrint_towardzero_test_data): Likewise.
13816         (llrint_test_towardzero): Likewise.
13817         (llrint_downward_test_data): Likewise.
13818         (llrint_test_downward): Likewise.
13819         (llrint_upward_test_data): Likewise.
13820         (llrint_test_upward): Likewise.
13821         (rint_test_data): Merge in per-rounding-mode tests and results
13822         from rint_tonearest_test_data, rint_towardzero_test_data,
13823         rint_downward_test_data and rint_upward_test_data.  Add
13824         per-rounding-mode results for tests not in those arrays.
13825         (rint_test): Use ALL_RM_TEST.
13826         (rint_tonearest_test_data): Remove.
13827         (rint_test_tonearest): Likewise.
13828         (rint_towardzero_test_data): Likewise.
13829         (rint_test_towardzero): Likewise.
13830         (rint_downward_test_data): Likewise.
13831         (rint_test_downward): Likewise.
13832         (rint_upward_test_data): Likewise.
13833         (rint_test_upward): Likewise.
13834         (main): Don't call removed functions.
13835
13836 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13837
13838         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13839         "Compiled on ..." crapola.  It is anti-useful.
13840
13841 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13842
13843         * scripts/evaluate-test.sh: Handle fourth argument to determine
13844         whether test run should stop on failure.
13845         * Makeconfig (stop-on-test-failure): New variable.
13846         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13847         $(stop-on-test-failure).
13848         * Makefile (tests): Give a summary of results from testing and
13849         exit with failure status if they include an ERROR or FAIL.
13850         (xtests): Likewise.
13851         * manual/install.texi (Configuring and compiling): Mention
13852         stop-on-test-failure=y.
13853         * INSTALL: Regenerated.
13854
13855 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13856
13857         * scripts/versionlist.awk: New file.
13858         * Makerules [$(build-shared) = yes]
13859         (postclean-generated): Add Versions.def, not Versions.def.v and
13860         Versions.def.v.i.
13861         ($(common-objpfx)Versions.def.v.i): Target removed.
13862         ($(common-objpfx)Versions.def): New target.
13863         ($(common-objpfx)Versions.all): Depend on that rather that
13864         $(common-objpfx)Versions.def.v.
13865         * Versions.def: File removed.
13866
13867         * Makeconfig (+gccwarn): Add -Wundef.
13868         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13869         a dl-sysdep.h breaking its contract.
13870         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13871         * include/stackinfo.h: New file.
13872         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13873         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13874         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13875         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13876         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13877         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13878         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13879         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13880         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13881         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13882         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13883         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13884         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13885         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13886         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13887
13888 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13889
13890         [BZ #16707]
13891         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13892         implementation.
13893         * math/libm-test.inc (round_test_data): Add more tests.
13894
13895         [BZ #16706]
13896         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13897         implementation.
13898         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13899
13900         [BZ #16701]
13901         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13902         implementation.
13903         * math/libm-test.inc (ceil_test_data): Add more tests.
13904
13905         * math/libm-test.inc (trunc_test_data): Add more tests related to
13906         BZ#16414.
13907
13908 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13909
13910         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13911         with #if rather than #ifdef.
13912         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13913
13914 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13915
13916         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13917         first.  Disable AVX-512 GCC support if assembler doesn't support
13918         it.
13919         * sysdeps/x86_64/configure: Regenerated.
13920
13921 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13922
13923         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13924         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13925         (__old_pthread_attr_setstack): Likewise.
13926         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13927         [!_STACK_GROWS_DOWN]: Likewise.
13928
13929 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13930
13931         * config.make.in (have-bash2): Delete.
13932         * configure.ac (libc_cv_have_bash2): Delete.
13933         * configure: Regenerate.
13934         * elf/Makefile (common-ldd-rewrite): Rename to ...
13935         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13936         (sh-ldd-rewrite): Delete.
13937         (bash-ldd-rewrite): Delete.
13938         (have-bash2): Delete checks.
13939         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13940         ldd-rewrite.
13941
13942         * config.make.in (have-ksh): Delete.
13943         (KSH): Delete.
13944         * configure.ac (libc_cv_have_ksh): Delete.
13945         * configure: Regenerate.
13946
13947         * elf/Makefile: Delete $(have-ksh) check.
13948         ($(objpfx)sotruss): Change KSH to BASH.
13949         * elf/sotruss.ksh: Rename to ...
13950         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13951         function style to match POSIX.  Drop ksh vim mode setting.
13952
13953         * manual/time.texi (Specifying the Time Zone with TZ): Change
13954         Tuesday to Thursday.
13955
13956         * debug/tst-longjmp_chk2.c: Update header comment.
13957         (stackoverflow_handler): Add comment.  Call assert on pass value.
13958
13959 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13960
13961         [BZ #16194]
13962         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13963         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13964         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13965         (La_x86_64_vector): Add zmm.
13966         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13967         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13968         ($(objpfx)tst-audit10): New target.
13969         ($(objpfx)tst-audit10.out): Likewise.
13970         (tst-audit10-ENV): New.
13971         (AVX512-CFLAGS): Likewise.
13972         (CFLAGS-tst-audit10.c): Likewise.
13973         (CFLAGS-tst-auditmod10a.c): Likewise.
13974         (CFLAGS-tst-auditmod10b.c): Likewise.
13975         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13976         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13977         * sysdeps/x86_64/configure: Regenerated.
13978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13979         AVX-512 zmm register support.
13980         (_dl_x86_64_save_sse): Likewise.
13981         (_dl_x86_64_restore_sse): Likewise.
13982         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13983         size vector registers.
13984         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13985         (ZMM_SIZE): Likewise.
13986         * sysdeps/x86_64/tst-audit10.c: New file.
13987         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13988         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13989
13990 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13991
13992         * configure.ac (HAVE_EHDR_START): New check.
13993         * configure: Regenerated.
13994         * config.h.in (HAVE_EHDR_START): New #undef.
13995         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13996         assuming the lowest-addressed segment maps the start of the file.
13997
13998 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13999
14000         * INSTALL: Regenerated.
14001
14002 2014-03-13  Will Newton  <will.newton@linaro.org>
14003
14004         * manual/setjmp.texi (System V contexts): Improve
14005         clarity and grammar of documentation.
14006
14007 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14008
14009         [BZ #16381]
14010         * elf/Makefile (tests): Add tst-pie2.
14011         (tests-pie): Add tst-pie2.
14012         * elf/tst-pie2.c: New file.
14013         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14014         for ET_EXEC.
14015         * elf/rtld.c (map_doit): Load executable as lt_executable.
14016         (dl_main): Likewise.
14017
14018 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14019
14020         [BZ #16642]
14021         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14022         (__ASSUME_PSELECT): Undefine.
14023
14024 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14025
14026         [BZ #16689]
14027         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14028         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14029         static build.
14030         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14031         selector for static builds.
14032
14033 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14034
14035         [BZ #16695]
14036         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14037         key in the buffer.
14038
14039 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14040
14041         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14042         IFUNC selector for static builds.
14043
14044 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14045
14046         * sysdeps/mips/math_private.h [__mips_hard_float]
14047         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14048         libc_feresetround_mips_ctx.
14049         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14050         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14051         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14052
14053         [BZ #16677]
14054         * math/s_nextafter.c (__nextafter): Do not return value from
14055         overflowing computation.
14056         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14057         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14058         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14059         Likewise.
14060         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14061         Likewise.
14062         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14063         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14064
14065 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14066
14067         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14068         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14069         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14070         the new mov targetting sp.
14071
14072 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14073
14074         [BZ #16683]
14075         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14076         Define it for static builds as well.
14077         (NO_BZERO_IMPL): Likewise.
14078
14079 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14080
14081         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14082         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14083         multiarch strspn for PPC64.
14084         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14085         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14087         (__libc_ifunc_impl_list): Likewise.
14088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14089         multiarch optimizations
14090         * string/strspn.c (strspn): Using macro to redefine symbol name.
14091
14092 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14093             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14094
14095         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14096         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14097         multiarch strncat for PPC64.
14098         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14099         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14101         (__libc_ifunc_impl_list): Likewise.
14102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14103         multiarch optimizations
14104
14105 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14106
14107         [BZ #16639]
14108         * nscd/nscd.service: Make service type forking.
14109
14110 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14111
14112         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14113         sign in non default rounding modes.
14114         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14115
14116 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14117
14118         * math/libm-test.inc (ALL_RM_TEST): New macro.
14119         (ceil_test): Use ALL_RM_TEST.
14120         (cimag_test): Likewise.
14121         (conj_test): Likewise.
14122         (copysign_test): Likewise.
14123         (cproj_test): Likewise.
14124         (creal_test): Likewise.
14125         (fabs_test): Likewise.
14126         (floor_test): Likewise.
14127         (fmax_test): Likewise.
14128         (fmin_test): Likewise.
14129         (fmod_test): Likewise.
14130         (fpclassify_test): Likewise.
14131         (frexp_test): Likewise.
14132         (ilogb_test): Likewise.
14133         (isfinite_test): Likewise.
14134         (finite_test): Likewise.
14135         (isgreater_test): Likewise.
14136         (isgreaterequal_test): Likewise.
14137         (isinf_test): Likewise.
14138         (isless_test): Likewise.
14139         (islessequal_test): Likewise.
14140         (islessgreater_test): Likewise.
14141         (isnan_test): Likewise.
14142         (isnormal_test): Likewise.
14143         (issignaling_test): Likewise.
14144         (isunordered_test): Likewise.
14145         (logb_test): Likewise.
14146         (logb_downward_test_data): Remove.
14147         (logb_test_downward): Likewise.
14148         (lround_test): Use ALL_RM_TEST.
14149         (llround_test): Likewise.
14150         (modf_test): Likewise.
14151         (nexttoward_test): Likewise.
14152         (remainder_test): Likewise.
14153         (drem_test): Likewise.
14154         (remainder_tonearest_test_data): Likewise.
14155         (remainder_test_tonearest): Likewise.
14156         (drem_test_tonearest): Likewise.
14157         (remainder_towardzero_test_data): Likewise.
14158         (remainder_test_towardzero): Likewise.
14159         (drem_test_towardzero): Likewise.
14160         (remainder_downward_test_data): Likewise.
14161         (remainder_test_downward): Likewise.
14162         (drem_test_downward): Likewise.
14163         (remainder_upward_test_data): Likewise.
14164         (remainder_test_upward): Likewise.
14165         (drem_test_upward): Likewise.
14166         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14167         (round_test): Use ALL_RM_TEST.
14168         (signbit_test): Likewise.
14169         (trunc_test): Likewise.
14170         (significand_test): Likewise.
14171         (main): Don't call removed functions.
14172
14173 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14174
14175         [BZ #16674]
14176         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14177         || __USE_XOPEN2K8].
14178         (ILL_ILLOPN): Likewise.
14179         (ILL_ILLADR): Likewise.
14180         (ILL_ILLTRP): Likewise.
14181         (ILL_PRVOPC): Likewise.
14182         (ILL_PRVREG): Likewise.
14183         (ILL_COPROC): Likewise.
14184         (ILL_BADSTK): Likewise.
14185         (FPE_INTDIV): Likewise.
14186         (FPE_INTOVF): Likewise.
14187         (FPE_FLTDIV): Likewise.
14188         (FPE_FLTOVF): Likewise.
14189         (FPE_FLTUND): Likewise.
14190         (FPE_FLTRES): Likewise.
14191         (FPE_FLTINV): Likewise.
14192         (FPE_FLTSUB): Likewise.
14193         (SEGV_MAPERR): Likewise.
14194         (SEGV_ACCERR): Likewise.
14195         (BUS_ADRALN): Likewise.
14196         (BUS_ADRERR): Likewise.
14197         (BUS_OBJERR): Likewise.
14198         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14199         (TRAP_TRACE): Likewise.
14200         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14201         __USE_XOPEN2K8].
14202         (CLD_KILLED): Likewise.
14203         (CLD_DUMPED): Likewise.
14204         (CLD_TRAPPED): Likewise.
14205         (CLD_STOPPED): Likewise.
14206         (CLD_CONTINUED): Likewise.
14207         (POLL_IN): Likewise.
14208         (POLL_OUT): Likewise.
14209         (POLL_MSG): Likewise.
14210         (POLL_ERR): Likewise.
14211         (POLL_PRI): Likewise.
14212         (POLL_HUP): Likewise.
14213         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14214         Likewise.
14215         (ILL_ILLOPN): Likewise.
14216         (ILL_ILLADR): Likewise.
14217         (ILL_ILLTRP): Likewise.
14218         (ILL_PRVOPC): Likewise.
14219         (ILL_PRVREG): Likewise.
14220         (ILL_COPROC): Likewise.
14221         (ILL_BADSTK): Likewise.
14222         (FPE_INTDIV): Likewise.
14223         (FPE_INTOVF): Likewise.
14224         (FPE_FLTDIV): Likewise.
14225         (FPE_FLTOVF): Likewise.
14226         (FPE_FLTUND): Likewise.
14227         (FPE_FLTRES): Likewise.
14228         (FPE_FLTINV): Likewise.
14229         (FPE_FLTSUB): Likewise.
14230         (SEGV_MAPERR): Likewise.
14231         (SEGV_ACCERR): Likewise.
14232         (BUS_ADRALN): Likewise.
14233         (BUS_ADRERR): Likewise.
14234         (BUS_OBJERR): Likewise.
14235         (BUS_MCEERR_AR): Likewise.
14236         (BUS_MCEERR_AO): Likewise.
14237         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14238         (TRAP_TRACE): Likewise.
14239         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14240         __USE_XOPEN2K8].
14241         (CLD_KILLED): Likewise.
14242         (CLD_DUMPED): Likewise.
14243         (CLD_TRAPPED): Likewise.
14244         (CLD_STOPPED): Likewise.
14245         (CLD_CONTINUED): Likewise.
14246         (POLL_IN): Likewise.
14247         (POLL_OUT): Likewise.
14248         (POLL_MSG): Likewise.
14249         (POLL_ERR): Likewise.
14250         (POLL_PRI): Likewise.
14251         (POLL_HUP): Likewise.
14252         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14253         (ILL_ILLOPN): Likewise.
14254         (ILL_ILLADR): Likewise.
14255         (ILL_ILLTRP): Likewise.
14256         (ILL_PRVOPC): Likewise.
14257         (ILL_PRVREG): Likewise.
14258         (ILL_COPROC): Likewise.
14259         (ILL_BADSTK): Likewise.
14260         (FPE_INTDIV): Likewise.
14261         (FPE_INTOVF): Likewise.
14262         (FPE_FLTDIV): Likewise.
14263         (FPE_FLTOVF): Likewise.
14264         (FPE_FLTUND): Likewise.
14265         (FPE_FLTRES): Likewise.
14266         (FPE_FLTINV): Likewise.
14267         (FPE_FLTSUB): Likewise.
14268         (SEGV_MAPERR): Likewise.
14269         (SEGV_ACCERR): Likewise.
14270         (BUS_ADRALN): Likewise.
14271         (BUS_ADRERR): Likewise.
14272         (BUS_OBJERR): Likewise.
14273         (BUS_MCEERR_AR): Likewise.
14274         (BUS_MCEERR_AO): Likewise.
14275         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14276         (TRAP_TRACE): Likewise.
14277         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14278         __USE_XOPEN2K8].
14279         (CLD_KILLED): Likewise.
14280         (CLD_DUMPED): Likewise.
14281         (CLD_TRAPPED): Likewise.
14282         (CLD_STOPPED): Likewise.
14283         (CLD_CONTINUED): Likewise.
14284         (POLL_IN): Likewise.
14285         (POLL_OUT): Likewise.
14286         (POLL_MSG): Likewise.
14287         (POLL_ERR): Likewise.
14288         (POLL_PRI): Likewise.
14289         (POLL_HUP): Likewise.
14290         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14291         Likewise.
14292         (ILL_ILLOPN): Likewise.
14293         (ILL_ILLADR): Likewise.
14294         (ILL_ILLTRP): Likewise.
14295         (ILL_PRVOPC): Likewise.
14296         (ILL_PRVREG): Likewise.
14297         (ILL_COPROC): Likewise.
14298         (ILL_BADSTK): Likewise.
14299         (ILL_BADIADDR): Likewise.
14300         (ILL_BREAK): Likewise.
14301         (FPE_INTDIV): Likewise.
14302         (FPE_INTOVF): Likewise.
14303         (FPE_FLTDIV): Likewise.
14304         (FPE_FLTOVF): Likewise.
14305         (FPE_FLTUND): Likewise.
14306         (FPE_FLTRES): Likewise.
14307         (FPE_FLTINV): Likewise.
14308         (FPE_FLTSUB): Likewise.
14309         (FPE_DECOVF): Likewise.
14310         (FPE_DECDIV): Likewise.
14311         (FPE_DECERR): Likewise.
14312         (FPE_INVASC): Likewise.
14313         (FPE_INVDEC): Likewise.
14314         (SEGV_MAPERR): Likewise.
14315         (SEGV_ACCERR): Likewise.
14316         (SEGV_PSTKOVF): Likewise.
14317         (BUS_ADRALN): Likewise.
14318         (BUS_ADRERR): Likewise.
14319         (BUS_OBJERR): Likewise.
14320         (BUS_MCEERR_AR): Likewise.
14321         (BUS_MCEERR_AO): Likewise.
14322         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14323         (TRAP_TRACE): Likewise.
14324         (TRAP_BRANCH): Likewise.
14325         (TRAP_HWBKPT): Likewise.
14326         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14327         __USE_XOPEN2K8].
14328         (CLD_KILLED): Likewise.
14329         (CLD_DUMPED): Likewise.
14330         (CLD_TRAPPED): Likewise.
14331         (CLD_STOPPED): Likewise.
14332         (CLD_CONTINUED): Likewise.
14333         (POLL_IN): Likewise.
14334         (POLL_OUT): Likewise.
14335         (POLL_MSG): Likewise.
14336         (POLL_ERR): Likewise.
14337         (POLL_PRI): Likewise.
14338         (POLL_HUP): Likewise.
14339         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14340         (ILL_ILLOPN): Likewise.
14341         (ILL_ILLADR): Likewise.
14342         (ILL_ILLTRP): Likewise.
14343         (ILL_PRVOPC): Likewise.
14344         (ILL_PRVREG): Likewise.
14345         (ILL_COPROC): Likewise.
14346         (ILL_BADSTK): Likewise.
14347         (FPE_INTDIV): Likewise.
14348         (FPE_INTOVF): Likewise.
14349         (FPE_FLTDIV): Likewise.
14350         (FPE_FLTOVF): Likewise.
14351         (FPE_FLTUND): Likewise.
14352         (FPE_FLTRES): Likewise.
14353         (FPE_FLTINV): Likewise.
14354         (FPE_FLTSUB): Likewise.
14355         (SEGV_MAPERR): Likewise.
14356         (SEGV_ACCERR): Likewise.
14357         (BUS_ADRALN): Likewise.
14358         (BUS_ADRERR): Likewise.
14359         (BUS_OBJERR): Likewise.
14360         (BUS_MCEERR_AR): Likewise.
14361         (BUS_MCEERR_AO): Likewise.
14362         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14363         (TRAP_TRACE): Likewise.
14364         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14365         __USE_XOPEN2K8].
14366         (CLD_KILLED): Likewise.
14367         (CLD_DUMPED): Likewise.
14368         (CLD_TRAPPED): Likewise.
14369         (CLD_STOPPED): Likewise.
14370         (CLD_CONTINUED): Likewise.
14371         (POLL_IN): Likewise.
14372         (POLL_OUT): Likewise.
14373         (POLL_MSG): Likewise.
14374         (POLL_ERR): Likewise.
14375         (POLL_PRI): Likewise.
14376         (POLL_HUP): Likewise.
14377         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14378         (ILL_ILLOPN): Likewise.
14379         (ILL_ILLADR): Likewise.
14380         (ILL_ILLTRP): Likewise.
14381         (ILL_PRVOPC): Likewise.
14382         (ILL_PRVREG): Likewise.
14383         (ILL_COPROC): Likewise.
14384         (ILL_BADSTK): Likewise.
14385         (FPE_INTDIV): Likewise.
14386         (FPE_INTOVF): Likewise.
14387         (FPE_FLTDIV): Likewise.
14388         (FPE_FLTOVF): Likewise.
14389         (FPE_FLTUND): Likewise.
14390         (FPE_FLTRES): Likewise.
14391         (FPE_FLTINV): Likewise.
14392         (FPE_FLTSUB): Likewise.
14393         (SEGV_MAPERR): Likewise.
14394         (SEGV_ACCERR): Likewise.
14395         (BUS_ADRALN): Likewise.
14396         (BUS_ADRERR): Likewise.
14397         (BUS_OBJERR): Likewise.
14398         (BUS_MCEERR_AR): Likewise.
14399         (BUS_MCEERR_AO): Likewise.
14400         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14401         (TRAP_TRACE): Likewise.
14402         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14403         __USE_XOPEN2K8].
14404         (CLD_KILLED): Likewise.
14405         (CLD_DUMPED): Likewise.
14406         (CLD_TRAPPED): Likewise.
14407         (CLD_STOPPED): Likewise.
14408         (CLD_CONTINUED): Likewise.
14409         (POLL_IN): Likewise.
14410         (POLL_OUT): Likewise.
14411         (POLL_MSG): Likewise.
14412         (POLL_ERR): Likewise.
14413         (POLL_PRI): Likewise.
14414         (POLL_HUP): Likewise.
14415         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14416         (ILL_ILLOPN): Likewise.
14417         (ILL_ILLADR): Likewise.
14418         (ILL_ILLTRP): Likewise.
14419         (ILL_PRVOPC): Likewise.
14420         (ILL_PRVREG): Likewise.
14421         (ILL_COPROC): Likewise.
14422         (ILL_BADSTK): Likewise.
14423         (FPE_INTDIV): Likewise.
14424         (FPE_INTOVF): Likewise.
14425         (FPE_FLTDIV): Likewise.
14426         (FPE_FLTOVF): Likewise.
14427         (FPE_FLTUND): Likewise.
14428         (FPE_FLTRES): Likewise.
14429         (FPE_FLTINV): Likewise.
14430         (FPE_FLTSUB): Likewise.
14431         (SEGV_MAPERR): Likewise.
14432         (SEGV_ACCERR): Likewise.
14433         (BUS_ADRALN): Likewise.
14434         (BUS_ADRERR): Likewise.
14435         (BUS_OBJERR): Likewise.
14436         (BUS_MCEERR_AR): Likewise.
14437         (BUS_MCEERR_AO): Likewise.
14438         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14439         (TRAP_TRACE): Likewise.
14440         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14441         __USE_XOPEN2K8].
14442         (CLD_KILLED): Likewise.
14443         (CLD_DUMPED): Likewise.
14444         (CLD_TRAPPED): Likewise.
14445         (CLD_STOPPED): Likewise.
14446         (CLD_CONTINUED): Likewise.
14447         (POLL_IN): Likewise.
14448         (POLL_OUT): Likewise.
14449         (POLL_MSG): Likewise.
14450         (POLL_ERR): Likewise.
14451         (POLL_PRI): Likewise.
14452         (POLL_HUP): Likewise.
14453         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14454         (ILL_ILLOPN): Likewise.
14455         (ILL_ILLADR): Likewise.
14456         (ILL_ILLTRP): Likewise.
14457         (ILL_PRVOPC): Likewise.
14458         (ILL_PRVREG): Likewise.
14459         (ILL_COPROC): Likewise.
14460         (ILL_BADSTK): Likewise.
14461         (ILL_DBLFLT): Likewise.
14462         (ILL_HARDWALL): Likewise.
14463         (FPE_INTDIV): Likewise.
14464         (FPE_INTOVF): Likewise.
14465         (FPE_FLTDIV): Likewise.
14466         (FPE_FLTOVF): Likewise.
14467         (FPE_FLTUND): Likewise.
14468         (FPE_FLTRES): Likewise.
14469         (FPE_FLTINV): Likewise.
14470         (FPE_FLTSUB): Likewise.
14471         (SEGV_MAPERR): Likewise.
14472         (SEGV_ACCERR): Likewise.
14473         (BUS_ADRALN): Likewise.
14474         (BUS_ADRERR): Likewise.
14475         (BUS_OBJERR): Likewise.
14476         (BUS_MCEERR_AR): Likewise.
14477         (BUS_MCEERR_AO): Likewise.
14478         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14479         (TRAP_TRACE): Likewise.
14480         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14481         __USE_XOPEN2K8].
14482         (CLD_KILLED): Likewise.
14483         (CLD_DUMPED): Likewise.
14484         (CLD_TRAPPED): Likewise.
14485         (CLD_STOPPED): Likewise.
14486         (CLD_CONTINUED): Likewise.
14487         (POLL_IN): Likewise.
14488         (POLL_OUT): Likewise.
14489         (POLL_MSG): Likewise.
14490         (POLL_ERR): Likewise.
14491         (POLL_PRI): Likewise.
14492         (POLL_HUP): Likewise.
14493         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14494         (ILL_ILLOPN): Likewise.
14495         (ILL_ILLADR): Likewise.
14496         (ILL_ILLTRP): Likewise.
14497         (ILL_PRVOPC): Likewise.
14498         (ILL_PRVREG): Likewise.
14499         (ILL_COPROC): Likewise.
14500         (ILL_BADSTK): Likewise.
14501         (FPE_INTDIV): Likewise.
14502         (FPE_INTOVF): Likewise.
14503         (FPE_FLTDIV): Likewise.
14504         (FPE_FLTOVF): Likewise.
14505         (FPE_FLTUND): Likewise.
14506         (FPE_FLTRES): Likewise.
14507         (FPE_FLTINV): Likewise.
14508         (FPE_FLTSUB): Likewise.
14509         (SEGV_MAPERR): Likewise.
14510         (SEGV_ACCERR): Likewise.
14511         (BUS_ADRALN): Likewise.
14512         (BUS_ADRERR): Likewise.
14513         (BUS_OBJERR): Likewise.
14514         (BUS_MCEERR_AR): Likewise.
14515         (BUS_MCEERR_AO): Likewise.
14516         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14517         (TRAP_TRACE): Likewise.
14518         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14519         __USE_XOPEN2K8].
14520         (CLD_KILLED): Likewise.
14521         (CLD_DUMPED): Likewise.
14522         (CLD_TRAPPED): Likewise.
14523         (CLD_STOPPED): Likewise.
14524         (CLD_CONTINUED): Likewise.
14525         (POLL_IN): Likewise.
14526         (POLL_OUT): Likewise.
14527         (POLL_MSG): Likewise.
14528         (POLL_ERR): Likewise.
14529         (POLL_PRI): Likewise.
14530         (POLL_HUP): Likewise.
14531         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14532         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14533
14534         [BZ #16670]
14535         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14536         before #include of <time.h>.
14537         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14538         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14539         (test-xfail-UNIX98/sched.h/conform): Likewise.
14540
14541 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14542
14543         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14544         error absence of trapping exception support.
14545         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14546
14547 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14548
14549         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14550         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14551         * timezone/Makefile (testdata): Move definition above include of
14552         Rules.
14553         (test-zones): New variable.
14554         (tests-special): Add zone files.
14555         (build-testdata): Use $(evaluate-test).
14556
14557         * elf/Makefile (tests-special): Rename tests to end with .out.
14558         ($(objpfx)noload-mem): Likewise.
14559         ($(objpfx)tst-leaks1-mem): Likewise.
14560         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14561         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14562         $(objpfx)test-iconvconfig.out.
14563         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14564         set -e inside subshell and redirect output to file.
14565         * iconvdata/Makefile (generated): Rename tests to end with .out.
14566         Correct type.
14567         (tests-special): Rename tests to end with .out.
14568         ($(objpfx)mtrace-tst-loading): Likewise.
14569         * intl/Makefile (generated): Likewise.
14570         (tests-special): Likewise.
14571         ($(objpfx)mtrace-tst-gettext): Likewise.
14572         * misc/Makefile (generated): Likewise.
14573         (tests-special): Likewise.
14574         ($(objpfx)tst-error1-mem): Likewise.
14575         * nptl/Makefile (tests-special): Likewise.
14576         ($(objpfx)tst-stack3-mem): Likewise.
14577         (generated): Likewise.
14578         * posix/Makefile (generated): Likewise.
14579         (tests-special): Likewise.
14580         (xtests-special): Likewise.
14581         ($(objpfx)tst-fnmatch-mem): Likewise.
14582         ($(objpfx)bug-regex2-mem): Likewise.
14583         ($(objpfx)bug-regex14-mem): Likewise.
14584         ($(objpfx)bug-regex21-mem): Likewise.
14585         ($(objpfx)bug-regex31-mem): Likewise.
14586         ($(objpfx)tst-vfork3-mem): Likewise.
14587         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14588         ($(objpfx)tst-pcre-mem): Likewise.
14589         ($(objpfx)tst-boost-mem): Likewise.
14590         ($(objpfx)bug-ga2-mem): Likewise.
14591         ($(objpfx)bug-glob2-mem): Likewise.
14592         * resolv/Makefile (generate): Likewise.
14593         (tests-special): Likewise.
14594         (xtests-special): Likewise.
14595         (generated): Likewise.
14596         ($(objpfx)mtrace-tst-leaks): Likewise.
14597         ($(objpfx)mtrace-tst-leaks2): Likewise.
14598
14599         * scripts/merge-test-results.sh: New file.
14600         * Makefile (tests-special-notdir): New variable.
14601         (tests): Run merge-test-results.sh.
14602         (xtests): Likewise.
14603         * Rules (tests-special-notdir): New variable.
14604         (xtests-special-notdir): Likewise.
14605         (tests): Run merge-test-results.sh
14606         (xtests): Likewise.
14607
14608         * Makeconfig (test-xfail-name): New variable.
14609         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14610         compute variable name for expected failures.
14611         * conform/Makefile (conformtest-headers-data): New variable.
14612         (conformtest-standards): Likewise.
14613         (conformtest-headers-ISO): Likewise.
14614         (conformtest-headers-ISO99): Likewise.
14615         (conformtest-headers-ISO11): Likewise.
14616         (conformtest-headers-POSIX): Likewise.
14617         (conformtest-headers-XPG3): Likewise.
14618         (conformtest-headers-XPG4): Likewise.
14619         (conformtest-headers-UNIX98): Likewise.
14620         (conformtest-headers-XOPEN2K): Likewise.
14621         (conformtest-headers-POSIX2008): Likewise.
14622         (conformtest-headers-XOPEN2K8): Likewise.
14623         (conformtest-header-list-base): Likewise.
14624         (conformtest-header-list-tests): Likewise.
14625         (conformtest-header-base): Likewise.
14626         (conformtest-header-tests): Likewise.
14627         (tests-special): Add $(conformtest-header-list-tests).  If
14628         [$(fast-check) && !$(cross-compiling)], add
14629         $(conformtest-header-tests) instead of
14630         $(objpfx)run-conformtest.out.
14631         (generated): Add $(conformtest-header-list-base).  If
14632         [$(fast-check) && !$(cross-compiling)], add
14633         $(conformtest-header-base).  Remove previous setting.
14634         ($(conformtest-header-list-tests)): New target.
14635         (test-xfail-run-conformtest): Remove variable.
14636         ($(objpfx)run-conformtest.out): Remove target.
14637         (test-xfail-ISO11/complex.h/conform): New variable.
14638         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14639         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14640         (test-xfail-XPG3/varargs.h/conform): Likewise.
14641         (test-xfail-XPG4/varargs.h/conform): Likewise.
14642         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14643         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14644         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14645         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14646         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14647         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14648         (test-xfail-XPG3/ftw.h/conform): Likewise.
14649         (test-xfail-XPG3/grp.h/conform): Likewise.
14650         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14651         (test-xfail-XPG3/limits.h/conform): Likewise.
14652         (test-xfail-XPG3/pwd.h/conform): Likewise.
14653         (test-xfail-XPG3/search.h/conform): Likewise.
14654         (test-xfail-XPG3/signal.h/conform): Likewise.
14655         (test-xfail-XPG3/stdio.h/conform): Likewise.
14656         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14657         (test-xfail-XPG3/string.h/conform): Likewise.
14658         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14659         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14660         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14661         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14662         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14663         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14664         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14665         (test-xfail-XPG3/termios.h/conform): Likewise.
14666         (test-xfail-XPG3/time.h/conform): Likewise.
14667         (test-xfail-XPG3/unistd.h/conform): Likewise.
14668         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14669         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14670         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14671         (test-xfail-XPG4/netdb.h/conform): Likewise.
14672         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14673         (test-xfail-XPG4/signal.h/conform): Likewise.
14674         (test-xfail-XPG4/stdio.h/conform): Likewise.
14675         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14676         (test-xfail-XPG4/stropts.h/conform): Likewise.
14677         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14678         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14679         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14680         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14681         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14682         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14683         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14684         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14685         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14686         (test-xfail-XPG4/termios.h/conform): Likewise.
14687         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14688         (test-xfail-XPG4/unistd.h/conform): Likewise.
14689         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14690         (test-xfail-POSIX/sched.h/conform): Likewise.
14691         (test-xfail-POSIX/signal.h/conform): Likewise.
14692         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14693         (test-xfail-POSIX/tar.h/conform): Likewise.
14694         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14695         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14696         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14697         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14698         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14699         (test-xfail-UNIX98/sched.h/conform): Likewise.
14700         (test-xfail-UNIX98/signal.h/conform): Likewise.
14701         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14702         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14703         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14704         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14705         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14706         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14707         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14708         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14709         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14710         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14711         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14712         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14713         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14714         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14715         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14716         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14717         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14718         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14719         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14720         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14721         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14722         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14723         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14724         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14725         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14726         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14727         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14728         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14729         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14730         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14731         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14732         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14733         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14734         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14735         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14736         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14737         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14738         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14739         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14740         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14741         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14742         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14743         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14744         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14745         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14746         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14747         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14748         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14749         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14750         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14751         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14752         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14753         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14754         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14755         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14756         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14757         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14758         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14759         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14760         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14761         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14762         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14763         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14764         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14765         (conformtest-cc-flags): Likewise.
14766         ($(conformtest-header-tests): New target.
14767         * conform/check-header-lists.sh: New file.
14768         * conform/run-conformtest.sh: Remove.
14769
14770         * conform/conformtest.pl: Allow ' and \ in values given for
14771         constants.
14772         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14773         inclusion.
14774         [POSIX] (sys/types.h): Likewise.
14775         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14776         inclusion.
14777         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14778         inclusion.
14779         * conform/data/signal.h-data (SIGIO): Remove expectation.
14780         [XPG3] (SIGBUS): Do not expect.
14781         [POSIX || XPG3] (SIGPOLL): Likewise.
14782         [POSIX || XPG3] (SIGPROF): Likewise.
14783         [POSIX || XPG3] (SIGSYS): Likewise.
14784         [XPG3] (SIGTRAP): Likewise.
14785         [POSIX || XPG3] (SIGURG): Likewise.
14786         [POSIX || XPG3] (SIGVTALRM): Likewise.
14787         [POSIX || XPG3] (SIGXCPU): Likewise.
14788         [POSIX || XPG3] (SIGXFSZ): Likewise.
14789         [POSIX] (SA_SIGINFO): Expect.
14790         [XPG3] (siginfo_t): Do not expect type or contents.
14791         [POSIX] (si_pid): Do not expect element.
14792         [POSIX] (si_uid): Likewise.
14793         [POSIX] (si_addr): Likewise.
14794         [POSIX] (si_status): Likewise.
14795         [POSIX] (si_band): Likewise.
14796         [XPG4] (si_value): Likewise.
14797         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14798         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14799         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14800         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14801         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14802         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14803         [POSIX || XPG3] (ILL_COPROC): Likewise.
14804         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14805         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14806         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14807         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14808         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14809         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14810         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14811         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14812         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14813         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14814         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14815         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14816         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14817         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14818         [POSIX || XPG3] (CLD_EXITED): Likewise.
14819         [POSIX || XPG3] (CLD_KILLED): Likewise.
14820         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14821         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14822         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14823         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14824         [POSIX || XPG3] (POLL_IN): Likewise.
14825         [POSIX || XPG3] (POLL_OUT): Likewise.
14826         [POSIX || XPG3] (POLL_MSG): Likewise.
14827         [POSIX || XPG3] (POLL_ERR): Likewise.
14828         [POSIX || XPG3] (POLL_PRI): Likewise.
14829         [POSIX || XPG3] (POLL_HUP): Likewise.
14830         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14831         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14832         (SIG*): Do not allow.
14833         [XPG3] (si_*): Likewise.
14834         [XPG3] (SI_*): Likewise.
14835         [XPG3 || XPG4] (sigev_*): Likewise.
14836         [XPG3 || XPG4] (SIGEV_*): Likewise.
14837         [XPG3 || XPG4] (sival_*): Likewise.
14838         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14839         [POSIX || XPG3] (BUS_*): Likewise.
14840         [POSIX || XPG3] (CLD_*): Likewise.
14841         [POSIX || XPG3] (FPE_*): Likewise.
14842         [POSIX || XPG3] (ILL_*): Likewise.
14843         [POSIX || XPG3] (POLL_*): Likewise.
14844         [POSIX || XPG3] (SEGV_*): Likewise.
14845         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14846         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14847         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14848         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14849         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14850         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14851         Specify type and value.
14852         (TVERSLEN): Likewise.
14853         (REGTYPE): Likewise.
14854         (AREGTYPE): Likewise.
14855         (LNKTYPE): Likewise.
14856         (SYMTYPE): Likewise.
14857         (CHRTYPE): Likewise.
14858         (BLKTYPE): Likewise.
14859         (DIRTYPE): Likewise.
14860         (FIFOTYPE): Likewise.
14861         (CONTTYPE): Likewise.
14862         (TSUID): Likewise.
14863         (TSGID): Likewise.
14864         (TSVTX): Likewise.
14865         (TUREAD): Likewise.
14866         (TUWRITE): Likewise.
14867         (TUEXEC): Likewise.
14868         (TGREAD): Likewise.
14869         (TGWRITE): Likewise.
14870         (TGEXEC): Likewise.
14871         (TOREAD): Likewise.
14872         (TOWRITE): Likewise.
14873         (TOEXEC): Likewise.
14874         [POSIX] (TSVTX): Expect constant.
14875
14876 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14877
14878         * Makefile (tests): Change dependencies to ....
14879         (tests-special): ... additions to this variable.
14880         (tests): Depend on $(tests-special).
14881         * Makerules (check-abi-list): New variable.
14882         (check-abi): Depend on $(check-abi-list).
14883         [$(subdir) = elf] (tests-special): Add
14884         $(objpfx)check-abi-libc.out.
14885         [$(build-shared) = yes && subdir] (tests-special): Add
14886         $(check-abi-list).
14887         [$(build-shared) = yes && subdir] (tests): Do not depend on
14888         check-abi.
14889         * Rules (tests): Depend on $(tests-special).
14890         (xtests): Depend on $(xtests-special).
14891         * catgets/Makefile (tests): Change dependencies to ....
14892         (tests-special): ... additions to this variable.
14893         * conform/Makefile (tests): Change dependencies to ....
14894         (tests-special): ... additions to this variable.
14895         * elf/Makefile (tests): Change dependencies to ....
14896         (tests-special): ... additions to this variable.
14897         * grp/Makefile (tests): Change dependencies to ....
14898         (tests-special): ... additions to this variable.
14899         * iconv/Makefile (xtests): Change dependencies to ....
14900         (xtests-special): ... additions to this variable.
14901         * iconvdata/Makefile (tests): Change dependencies to ....
14902         (tests-special): ... additions to this variable.
14903         * intl/Makefile (tests): Change dependencies to ....
14904         (tests-special): ... additions to this variable.  Also add
14905         $(objpfx)tst-gettext.out.
14906         * io/Makefile (tests): Change dependencies to ....
14907         (tests-special): ... additions to this variable.
14908         * libio/Makefile (tests): Change dependencies to ....
14909         (tests-special): ... additions to this variable.
14910         * malloc/Makefile (tests): Change dependencies to ....
14911         (tests-special): ... additions to this variable.
14912         * misc/Makefile (tests): Change dependencies to ....
14913         (tests-special): ... additions to this variable.
14914         * nptl/Makefile (tests): Change dependencies to ....
14915         (tests-special): ... additions to this variable.
14916         * nptl_db/Makefile (tests): Change dependencies to ....
14917         (tests-special): ... additions to this variable.
14918         * posix/Makefile (tests): Change dependencies to ....
14919         (tests-special): ... additions to this variable.
14920         (xtests): Change dependencies to ....
14921         (xtests-special): ... additions to this variable.
14922         * resolv/Makefile (tests): Change dependencies to ....
14923         (tests-special): ... additions to this variable.
14924         (xtests): Change dependencies to ....
14925         (xtests-special): ... additions to this variable.
14926         * stdio-common/Makefile (tests): Change dependencies to ....
14927         (tests-special): ... additions to this variable.
14928         (do-tst-unbputc): Remove target.
14929         (do-tst-printf): Likewise.
14930         * stdlib/Makefile (tests): Change dependencies to ....
14931         (tests-special): ... additions to this variable.
14932         * string/Makefile (tests): Change dependencies to ....
14933         (tests-special): ... additions to this variable.
14934         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14935         (tests-special): ... additions to this variable.
14936
14937         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14938         whole file.
14939         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14940         whole file.
14941         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14942         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14943
14944         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14945         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14946         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14947         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14948         * conform/data/libgen.h-data [XPG3]: Likewise.
14949         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14950         * conform/data/ndbm.h-data [XPG3]: Likewise.
14951         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14952         * conform/data/netdb.h-data [XPG3]: Likewise.
14953         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14954         * conform/data/poll.h-data [XPG3]: Likewise.
14955         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14956         * conform/data/strings.h-data [XPG3]: Likewise.
14957         * conform/data/stropts.h-data [XPG3]: Likewise.
14958         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14959         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14960         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14961         Likewise.
14962         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14963         * conform/data/sys/time.h-data [XPG3]: Likewise.
14964         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14965         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14966         * conform/data/sys/un.h-data [XPG3]: Likewise.
14967         * conform/data/syslog.h-data [XPG3]: Likewise.
14968         * conform/data/ucontext.h-data [XPG3]: Likewise.
14969         * conform/data/utmpx.h-data [XPG3]: Likewise.
14970         * conform/data/varargs.h-data [UNIX98]: Enable file.
14971
14972         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14973
14974         * math/libm-test.inc (struct test_f_f_data): Move expected results
14975         into structure for each rounding mode.
14976         (struct test_ff_f_data): Likewise.
14977         (struct test_ff_f_data_nexttoward): Likewise.
14978         (struct test_fi_f_data): Likewise.
14979         (struct test_fl_f_data): Likewise.
14980         (struct test_if_f_data): Likewise.
14981         (struct test_fff_f_data): Likewise.
14982         (struct test_c_f_data): Likewise.
14983         (struct test_f_f1_data): Likewise.
14984         (struct test_fF_f1_data): Likewise.
14985         (struct test_ffI_f1_data): Likewise.
14986         (struct test_c_c_data): Likewise.
14987         (struct test_cc_c_data): Likewise.
14988         (struct test_f_i_data): Likewise.
14989         (struct test_ff_i_data): Likewise.
14990         (struct test_f_l_data): Likewise.
14991         (struct test_f_L_data): Likewise.
14992         (struct test_fFF_11_data): Likewise.
14993         (RM_): New macro.
14994         (RM_FE_DOWNWARD): Likewise.
14995         (RM_FE_TONEAREST): Likewise.
14996         (RM_FE_TOWARDZERO): Likewise.
14997         (RM_FE_UPWARD): Likewise.
14998         (RUN_TEST_LOOP_f_f): Update references to expected results.
14999         (RUN_TEST_LOOP_2_f): Likewise.
15000         (RUN_TEST_LOOP_fff_f): Likewise.
15001         (RUN_TEST_LOOP_c_f): Likewise.
15002         (RUN_TEST_LOOP_f_f1): Likewise.
15003         (RUN_TEST_LOOP_fF_f1): Likewise.
15004         (RUN_TEST_LOOP_fI_f1): Likewise.
15005         (RUN_TEST_LOOP_ffI_f1): Likewise.
15006         (RUN_TEST_LOOP_c_c): Likewise.
15007         (RUN_TEST_LOOP_cc_c): Likewise.
15008         (RUN_TEST_LOOP_f_i): Likewise.
15009         (RUN_TEST_LOOP_f_i_tg): Likewise.
15010         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15011         (RUN_TEST_LOOP_f_b): Likewise.
15012         (RUN_TEST_LOOP_f_b_tg): Likewise.
15013         (RUN_TEST_LOOP_f_l): Likewise.
15014         (RUN_TEST_LOOP_f_L): Likewise.
15015         (RUN_TEST_LOOP_fFF_11): Likewise.
15016         * math/gen-libm-test.pl (parse_args): Output four copies of
15017         expected results for each test.
15018
15019         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15020         (__ASSUME_UTIMES): Remove.
15021         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15022         (__ASSUME_UTIMES): Likewise.
15023
15024         * math/gen-auto-libm-tests.c: Update comment on output format.
15025         (output_for_one_input_case): Generate before-rounding and
15026         after-rounding information as conditions on output flags not
15027         floating-point format.
15028         * math/auto-libm-test-out: Regenerated.
15029         * math/gen-libm-test.pl (cond_value): New function.
15030         (or_cond_value): Use cond_value.
15031         (generate_testfile): Handle conditional exceptions.
15032
15033 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15034
15035         * math/libm-test.inc (max_valid_error): New variable.
15036         (init_max_error): Take new argument specifying whether function
15037         results are exactly determined.  Set max_valid_error and bound
15038         other variables for errors based on this argument.
15039         (set_max_error): Do not record results above max_valid_error.
15040         (check_float_internal): Only accept errors of up to 0.5ulps if
15041         also at most max_valid_error.
15042         (START): Take new argument EXACT and pass it to init_max_error.
15043         (acos_test): Update call to START.
15044         (acos_test_tonearest): Likewise.
15045         (acos_test_towardzero): Likewise.
15046         (acos_test_downward): Likewise.
15047         (acos_test_upward): Likewise.
15048         (acosh_test): Likewise.
15049         (asin_test): Likewise.
15050         (asin_test_tonearest): Likewise.
15051         (asin_test_towardzero): Likewise.
15052         (asin_test_downward): Likewise.
15053         (asin_test_upward): Likewise.
15054         (asinh_test): Likewise.
15055         (atan_test): Likewise.
15056         (atanh_test): Likewise.
15057         (atan2_test): Likewise.
15058         (cabs_test): Likewise.
15059         (cacos_test): Likewise.
15060         (cacosh_test): Likewise.
15061         (carg_test): Likewise.
15062         (casin_test): Likewise.
15063         (casinh_test): Likewise.
15064         (catan_test): Likewise.
15065         (catanh_test): Likewise.
15066         (cbrt_test): Likewise.
15067         (ccos_test): Likewise.
15068         (ccosh_test): Likewise.
15069         (ceil_test): Likewise.
15070         (cexp_test): Likewise.
15071         (cimag_test): Likewise.
15072         (clog_test): Likewise.
15073         (clog10_test): Likewise.
15074         (conj_test): Likewise.
15075         (copysign_test): Likewise.
15076         (cos_test): Likewise.
15077         (cos_test_tonearest): Likewise.
15078         (cos_test_towardzero): Likewise.
15079         (cos_test_downward): Likewise.
15080         (cos_test_upward): Likewise.
15081         (cosh_test): Likewise.
15082         (cosh_test_tonearest): Likewise.
15083         (cosh_test_towardzero): Likewise.
15084         (cosh_test_downward): Likewise.
15085         (cosh_test_upward): Likewise.
15086         (cpow_test): Likewise.
15087         (cproj_test): Likewise.
15088         (creal_test): Likewise.
15089         (csin_test): Likewise.
15090         (csinh_test): Likewise.
15091         (csqrt_test): Likewise.
15092         (ctan_test): Likewise.
15093         (ctan_test_tonearest): Likewise.
15094         (ctan_test_towardzero): Likewise.
15095         (ctan_test_downward): Likewise.
15096         (ctan_test_upward): Likewise.
15097         (ctanh_test): Likewise.
15098         (ctanh_test_tonearest): Likewise.
15099         (ctanh_test_towardzero): Likewise.
15100         (ctanh_test_downward): Likewise.
15101         (ctanh_test_upward): Likewise.
15102         (erf_test): Likewise.
15103         (erfc_test): Likewise.
15104         (exp_test): Likewise.
15105         (exp_test_tonearest): Likewise.
15106         (exp_test_towardzero): Likewise.
15107         (exp_test_downward): Likewise.
15108         (exp_test_upward): Likewise.
15109         (exp10_test): Likewise.
15110         (exp10_test_tonearest): Likewise.
15111         (exp10_test_towardzero): Likewise.
15112         (exp10_test_downward): Likewise.
15113         (exp10_test_upward): Likewise.
15114         (pow10_test): Likewise.
15115         (exp2_test): Likewise.
15116         (expm1_test): Likewise.
15117         (expm1_test_tonearest): Likewise.
15118         (expm1_test_towardzero): Likewise.
15119         (expm1_test_downward): Likewise.
15120         (expm1_test_upward): Likewise.
15121         (fabs_test): Likewise.
15122         (fdim_test): Likewise.
15123         (floor_test): Likewise.
15124         (fma_test): Likewise.
15125         (fma_test_towardzero): Likewise.
15126         (fma_test_downward): Likewise.
15127         (fma_test_upward): Likewise.
15128         (fmax_test): Likewise.
15129         (fmin_test): Likewise.
15130         (fmod_test): Likewise.
15131         (fpclassify_test): Likewise.
15132         (frexp_test): Likewise.
15133         (hypot_test): Likewise.
15134         (ilogb_test): Likewise.
15135         (isfinite_test): Likewise.
15136         (finite_test): Likewise.
15137         (isgreater_test): Likewise.
15138         (isgreaterequal_test): Likewise.
15139         (isinf_test): Likewise.
15140         (isless_test): Likewise.
15141         (islessequal_test): Likewise.
15142         (islessgreater_test): Likewise.
15143         (isnan_test): Likewise.
15144         (isnormal_test): Likewise.
15145         (issignaling_test): Likewise.
15146         (isunordered_test): Likewise.
15147         (j0_test): Likewise.
15148         (j1_test): Likewise.
15149         (jn_test): Likewise.
15150         (ldexp_test): Likewise.
15151         (lgamma_test): Likewise.
15152         (gamma_test): Likewise.
15153         (lrint_test): Likewise.
15154         (lrint_test_tonearest): Likewise.
15155         (lrint_test_towardzero): Likewise.
15156         (lrint_test_downward): Likewise.
15157         (lrint_test_upward): Likewise.
15158         (llrint_test): Likewise.
15159         (llrint_test_tonearest): Likewise.
15160         (llrint_test_towardzero): Likewise.
15161         (llrint_test_downward): Likewise.
15162         (llrint_test_upward): Likewise.
15163         (log_test): Likewise.
15164         (log10_test): Likewise.
15165         (log1p_test): Likewise.
15166         (log2_test): Likewise.
15167         (logb_test): Likewise.
15168         (logb_test_downward): Likewise.
15169         (lround_test): Likewise.
15170         (llround_test): Likewise.
15171         (modf_test): Likewise.
15172         (nearbyint_test): Likewise.
15173         (nextafter_test): Likewise.
15174         (nexttoward_test): Likewise.
15175         (pow_test): Likewise.
15176         (pow_test_tonearest): Likewise.
15177         (pow_test_towardzero): Likewise.
15178         (pow_test_downward): Likewise.
15179         (pow_test_upward): Likewise.
15180         (remainder_test): Likewise.
15181         (drem_test): Likewise.
15182         (remainder_test_tonearest): Likewise.
15183         (drem_test_tonearest): Likewise.
15184         (remainder_test_towardzero): Likewise.
15185         (drem_test_towardzero): Likewise.
15186         (remainder_test_downward): Likewise.
15187         (drem_test_downward): Likewise.
15188         (remainder_test_upward): Likewise.
15189         (drem_test_upward): Likewise.
15190         (remquo_test): Likewise.
15191         (rint_test): Likewise.
15192         (rint_test_tonearest): Likewise.
15193         (rint_test_towardzero): Likewise.
15194         (rint_test_downward): Likewise.
15195         (rint_test_upward): Likewise.
15196         (round_test): Likewise.
15197         (scalb_test): Likewise.
15198         (scalbn_test): Likewise.
15199         (scalbln_test): Likewise.
15200         (signbit_test): Likewise.
15201         (sin_test): Likewise.
15202         (sin_test_tonearest): Likewise.
15203         (sin_test_towardzero): Likewise.
15204         (sin_test_downward): Likewise.
15205         (sin_test_upward): Likewise.
15206         (sincos_test): Likewise.
15207         (sinh_test): Likewise.
15208         (sinh_test_tonearest): Likewise.
15209         (sinh_test_towardzero): Likewise.
15210         (sinh_test_downward): Likewise.
15211         (sinh_test_upward): Likewise.
15212         (sqrt_test): Likewise.
15213         (sqrt_test_tonearest): Likewise.
15214         (sqrt_test_towardzero): Likewise.
15215         (sqrt_test_downward): Likewise.
15216         (sqrt_test_upward): Likewise.
15217         (tan_test): Likewise.
15218         (tan_test_tonearest): Likewise.
15219         (tan_test_towardzero): Likewise.
15220         (tan_test_downward): Likewise.
15221         (tan_test_upward): Likewise.
15222         (tanh_test): Likewise.
15223         (tgamma_test): Likewise.
15224         (trunc_test): Likewise.
15225         (y0_test): Likewise.
15226         (y1_test): Likewise.
15227         (yn_test): Likewise.
15228         (significand_test): Likewise.
15229
15230         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15231         individual tests in comment.
15232         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15233         (prev_max_error): New variable.
15234         (prev_real_max_error): Likewise.
15235         (prev_imag_max_error): Likewise.
15236         (compare_ulp_data): Don't refer to test names in comment.
15237         (find_test_ulps): Remove function.
15238         (find_function_ulps): Likewise.
15239         (find_complex_function_ulps): Likewise.
15240         (init_max_error): Take function name as argument.  Look up ulps
15241         for that function.
15242         (print_ulps): Remove function.
15243         (print_max_error): Use prev_max_error instead of calling
15244         find_function_ulps.
15245         (print_complex_max_error): Use prev_real_max_error and
15246         prev_imag_max_error instead of calling find_complex_function_ulps.
15247         (check_float_internal): Take max_ulp parameter instead of calling
15248         find_test_ulps.  Don't call print_ulps.
15249         (check_float): Update call to check_float_internal.
15250         (check_complex): Update calls to check_float_internal.
15251         (START): Pass argument to init_max_error.
15252         * math/gen-libm-test.pl (%results): Don't include "kind"
15253         information.
15254         (parse_ulps): Don't handle ulps of individual tests.
15255         (print_ulps_file): Likewise.
15256         (output_ulps): Likewise.
15257         * math/README.libm-test: Update.
15258         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15259         individual tests.
15260         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15261         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15262         * sysdeps/arm/libm-test-ulps: Likewise.
15263         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15264         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15265         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15266         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15267         * sysdeps/microblaze/libm-test-ulps: Likewise.
15268         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15269         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15271         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15272         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15273         * sysdeps/sh/libm-test-ulps: Likewise.
15274         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15275         * sysdeps/tile/libm-test-ulps: Likewise.
15276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15277
15278 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15279
15280         * math/libm-test.inc (print_complex_max_error): Check separately
15281         whether real and imaginary errors are within allowed range and
15282         pass 0 to print_complex_function_ulps instead of value within
15283         allowed range.
15284
15285 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15286
15287         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15288         formatting.
15289         (get_handles_fopen): Likewise.
15290         (do_write_test): Likewise.
15291
15292         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15293
15294         * libio/fileops.c (do_ftell): Use cached offset when
15295         available.
15296         * libio/iofwide.c (do_ftell_wide): Likewise.
15297         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15298         _IO_file_attach.
15299         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15300
15301         [BZ #16532]
15302         * libio/libioP.h (get_file_offset): New function.
15303         * libio/fileops.c (get_file_offset): Likewise.
15304         (do_ftell): Likewise.
15305         (_IO_new_file_seekoff): Split out ftell logic.
15306         * libio/wfileops.c (do_ftell_wide): Likewise.
15307         (_IO_wfile_seekoff): Split out ftell logic.
15308         * libio/tst-ftell-active-handler.c: New test case.
15309         * libio/Makefile (tests): Add it.
15310
15311 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15312
15313         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15314         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15315
15316 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15317
15318         [BZ #16639]
15319         * nscd/connections.c (nscd_init): Call do_exit.
15320         (start_threads): Call do_exit and notify_parent.
15321         (begin_drop_privileges): Call do_exit.
15322         (finish_drop_privileges): Likewise.
15323         * nscd/selinux.c (preserve_capabilities): Likewise.
15324         (install_real_capabilities): Likewise.
15325         (nscd_selinux_enabled): Likewise.
15326         (avc_create_thread): Likewise.
15327         (avc_alloc_lock): Likewise.
15328         (nscd_avc_init): Likewise.
15329         * nscd/nscd.c (parent_fd): New static variable.
15330         (main): Create a pipe between parent and child processes.
15331         Skip closing parent_fd.
15332         (monitor_child): New function.
15333         (do_exit): Likewise.
15334         (notify_parent): Likewise.
15335         * nscd/nscd.h (notify_parent): Likewise.
15336         (do_exit): Likewise.
15337
15338 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15339
15340         * malloc/malloc.c (__libc_calloc): Revert last change.
15341
15342 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15343
15344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15345
15346 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15347
15348         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15350         implementation.
15351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15352         (__libc_ifunc_impl_list): Likewise.
15353         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15354         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15355         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15356         * string/strrchr.c: Define STRRCHR.
15357
15358 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15359
15360         * benchtest/bench-strtok.c (simple_strtok): Delete.
15361         (strtok_string): Use as benchmark.
15362         * string/strtok (STRTOK): New macro.
15363
15364 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15365
15366         * manual/threads.texi: Add header and standard comments to all
15367         functions.
15368
15369         * elf/dl-lookup.c (check_match): New function.
15370         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15371         (do_lookup_x): Remove nested function check_match. Use non-nested
15372         function check_match.
15373
15374 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15375
15376         * csu/Makefile (generated, before-compile): Use += rather than =.
15377         * catgets/Makefile (generated, generated-dirs): Likewise.
15378         * debug/Makefile (generated): Likewise.
15379         * dlfcn/Makefile (generated): Likewise.
15380         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15381         * iconvdata/Makefile (before-compile, generated): Likewise.
15382         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15383         * libio/Makefile (generated): Likewise.
15384         * malloc/Makefile (generated): Likewise.
15385         * manual/Makefile (generated, generated-dirs): Likewise.
15386         * misc/Makefile (generated): Likewise.
15387         * posix/Makefile (generated): Likewise.
15388         * resolv/Makefile (generated): Likewise.
15389         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15390         * timezone/Makefile (generated, generated-dirs): Likewise.
15391
15392         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15393
15394 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15395
15396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15397         power8 implementation.
15398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15399         file: POWER8 llround ifunc implementation.
15400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15401         (__lllround): Add POWER8 implementation.
15402         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15403         POWER8 llround implementation.
15404
15405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15406         power8 implementation.
15407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15408         file: POWER8 llrint ifunc implementation.
15409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15410         Add POWER8 implementation.
15411         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15412         POWER8 llrint implementation.
15413
15414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15415         power8 implementation.
15416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15417         file: POWER8 finite ifunc implementation.
15418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15419         Add POWER8 implementation.
15420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15421         Likewise.
15422         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15423         POWER8 finite implementation.
15424         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15425
15426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15427         power8 implementation.
15428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15429         file: POWER8 isinf ifunc implementation.
15430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15431         POWER8 implementation.
15432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15433         Likewise.
15434         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15435         isinf implementation.
15436         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15437
15438         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15439         (INIT_ARCH): Add hwcap2 initialization.
15440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15441         power8 implementation.
15442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15443         file: POWER8 isnan ifunc implementation.
15444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15445         POWER8 implementation.
15446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15447         Likewise.
15448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15449         isnan implementation.
15450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15451
15452 2014-02-27  Joey Ye  <joey.ye@arm.com>
15453
15454         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15455         (_FP_NANFRAC_Q): Set to zero.
15456
15457 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15458
15459         [BZ #16623]
15460         * math/auto-libm-test-in: New test inputs.
15461         * math/auto-libm-test-out: Regenerate.
15462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15463         and DA.
15464         (__cos): Likewise.
15465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15466
15467 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15468
15469         * scripts/evaluate-test.sh: Take new argument indicating whether
15470         failure is expected.
15471         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15472         indicating whether failure is expected.
15473         * conform/Makefile (test-xfail-run-conformtest): New variable.
15474         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15475         level.
15476         * posix/Makefile (test-xfail-annexc): New variable.
15477         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15478
15479 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15480
15481         * argp/Makefile: Include Makeconfig immediately after defining
15482         subdir.
15483         * assert/Makefile: Likewise.
15484         * benchtests/Makefile: Likewise.
15485         * catgets/Makefile: Likewise.
15486         * conform/Makefile: Likewise.
15487         * crypt/Makefile: Likewise.
15488         * csu/Makefile: Likewise.
15489         (all): Remove target.
15490         * ctype/Makefile: Include Makeconfig immediately after defining
15491         subdir.
15492         * debug/Makefile: Likewise.
15493         * dirent/Makefile: Likewise.
15494         * dlfcn/Makefile: Likewise.
15495         * gmon/Makefile: Likewise.
15496         * gnulib/Makefile: Likewise.
15497         * grp/Makefile: Likewise.
15498         * gshadow/Makefile: Likewise.
15499         * hesiod/Makefile: Likewise.
15500         * hurd/Makefile: Likewise.
15501         (all): Remove target.
15502         * iconvdata/Makefile: Include Makeconfig immediately after
15503         defining subdir.
15504         * inet/Makefile: Likewise.
15505         * intl/Makefile: Likewise.
15506         * io/Makefile: Likewise.
15507         * libio/Makefile: Likewise.
15508         (all): Remove target.
15509         * locale/Makefile: Include Makeconfig immediately after defining
15510         subdir.
15511         * login/Makefile: Likewise.
15512         * mach/Makefile: Likewise.
15513         (all): Remove target.
15514         * malloc/Makefile: Include Makeconfig immediately after defining
15515         subdir.
15516         (all): Remove target.
15517         * manual/Makefile: Include Makeconfig immediately after defining
15518         subdir.
15519         * math/Makefile: Likewise.
15520         * misc/Makefile: Likewise.
15521         * nis/Makefile: Likewise.
15522         * nss/Makefile: Likewise.
15523         * po/Makefile: Likewise.
15524         (all): Remove target.
15525         * posix/Makefile: Include Makeconfig immediately after defining
15526         subdir.
15527         * pwd/Makefile: Likewise.
15528         * resolv/Makefile: Likewise.
15529         * resource/Makefile: Likewise.
15530         * rt/Makefile: Likewise.
15531         * setjmp/Makefile: Likewise.
15532         * shadow/Makefile: Likewise.
15533         * signal/Makefile: Likewise.
15534         * socket/Makefile: Likewise.
15535         * soft-fp/Makefile: Likewise.
15536         * stdio-common/Makefile: Likewise.
15537         * stdlib/Makefile: Likewise.
15538         * streams/Makefile: Likewise.
15539         * string/Makefile: Likewise.
15540         * sunrpc/Makefile: Likewise.
15541         (all): Remove target.
15542         * sysvipc/Makefile: Include Makeconfig immediately after defining
15543         subdir.
15544         * termios/Makefile: Likewise.
15545         * time/Makefile: Likewise.
15546         * timezone/Makefile: Likewise.
15547         (all): Remove target.
15548         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15549         subdir.
15550         * wctype/Makefile: Likewise.
15551
15552 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15553
15554         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15555         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15556         (libc_feholdexcept_setround_mips): Ditto.
15557         (libc_feholdsetround): New.
15558         (libc_feholdsetroundf): New.
15559         (libc_feholdsetroundl): New.
15560         (libc_feupdateenv_test_mips): New.
15561         (libc_feupdateenv_test): New.
15562         (libc_feupdateenv_testf): New.
15563         (libc_feupdateenv_testl): New.
15564         (libc_feresetround): New.
15565         (libc_feresetroundf): New.
15566         (libc_feresetroundl): New.
15567         (libc_fetestexcept_mips): New.
15568         (libc_fetestexcept): New.
15569         (libc_fetestexceptf): New.
15570         (libc_fetestexceptl): New.
15571         (HAVE_RM_CTX): New.
15572         (libc_feholdexcept_setround_mips_ctx): New.
15573         (libc_feholdexcept_setround_ctx): New.
15574         (libc_feholdexcept_setroundf_ctx): New.
15575         (libc_feholdexcept_setroundl_ctx): New.
15576         (libc_fesetenv_mips_ctx): New.
15577         (libc_fesetenv_ctx): New.
15578         (libc_fesetenv_ctxf): New.
15579         (libc_fesetenv_ctxl): New.
15580         (libc_feupdateenv_mips_ctx): New.
15581         (libc_feupdateenv_ctx): New.
15582         (libc_feupdateenvf_ctx): New.
15583         (libc_feupdateenvl_ctx): New.
15584         (libc_feholdsetround_mips_ctx): New.
15585         (libc_feholdsetround_ctx): New.
15586         (libc_feholdsetroundf_ctx): New.
15587         (libc_feholdsetroundl_ctx): New.
15588         (libc_feresetround_mips_ctx): New.
15589         (libc_feresetround_ctx): New.
15590         (libc_feresetroundf_ctx): New.
15591         (libc_feresetroundl_ctx): New.
15592
15593 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15594
15595         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15596
15597         * manual/ipc.texi: New file.
15598         * manual/Makefile (chapters): Add ipc.
15599         * manual/job.texi: Add "Inter-Process Communication" to next.
15600         * manual/process.texi: Add "Inter-Process Communication" to prev.
15601
15602 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15603
15604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15605
15606 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15607
15608         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15609
15610         * manual/arith.texi: Fix spaces after sentences.
15611         * manual/charset.texi: Likewise.
15612         * manual/errno.texi: Likewise.
15613         * manual/install.texi: Likewise.
15614         * manual/llio.texi: Likewise.
15615         * manual/locale.texi: Likewise.
15616         * manual/maint.texi: Likewise.
15617         * manual/math.texi: Likewise.
15618         * manual/memory.texi: Likewise.
15619         * manual/message.texi: Likewise.
15620         * manual/probes.texi: Likewise.
15621         * manual/resource.texi: Likewise.
15622         * manual/signal.texi: Likewise.
15623         * manual/socket.texi: Likewise.
15624         * manual/stdio.texi: Likewise.
15625         * manual/string.texi: Likewise.
15626         * manual/time.texi: Likewise.
15627         * manual/users.texi: Likewise.
15628
15629 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15630
15631         [BZ #16632]
15632         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15633         _DEFAULT_SOURCE is defined.
15634
15635 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15636             Carlos O'Donell  <carlos@redhat.com>
15637
15638         [BZ #16613]
15639         * elf/dl-tls.c (_dl_count_modids): New function.
15640         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15641         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15642         audit library and increment generation counter.
15643         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15644         * elf/tst-audit9.c: New file.
15645         * elf/tst-auditmod9a.c: New file.
15646         * elf/tst-auditmod9b.c: New file.
15647         * elf/Makefile: Add rules to build and run tst-audit9.
15648
15649 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15650
15651         [BZ #15347]
15652         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15653
15654 2014-02-25  Will Newton  <will.newton@linaro.org>
15655
15656         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15657         (__longjmp): Restore sp and lr before restoring callee
15658         saved registers.  Add longjmp and longjmp_target
15659         SystemTap probe point.
15660         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15661         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15662         Define to zero to match jmpbuf layout.
15663         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15664         (__sigsetjmp): Save sp and lr before saving callee
15665         saved registers.  Add setjmp SystemTap probe point.
15666
15667 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15668
15669         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15670
15671 2014-02-24  Andreas Schwab  <schwab@suse.de>
15672
15673         [BZ #15804]
15674         * elf/pldd.c (wait_for_ptrace_stop): New function.
15675         (main): Call it after attaching.
15676
15677 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15678
15679         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15680         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15681         Versions files is now verboten.
15682         * hurd/Versions (libc: GLIBC_2.0):
15683         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15684         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15685         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15686         * mach/Versions: Likewise.
15687
15688         * csu/Versions: Remove unused %include.
15689         * resolv/Versions: Likewise.
15690
15691 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15692
15693         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15694         ($(objpfx)check-local-headers.out): Likewise.
15695         ($(objpfx)begin-end-check.out): Likewise.
15696         * Makerules (check-abi-%.out): Likewise.
15697         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15698         ($(objpfx)test2.cat): Likewise.
15699         ($(objpfx)de/libc.cat): Likewise.
15700         ($(objpfx)test-gencat.out): Likewise.
15701         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15702         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15703         ($(objpfx)noload-mem): Likewise.
15704         ($(objpfx)tst-pathopt.out): Likewise.
15705         ($(objpfx)tst-rtld-load-self.out): Likewise.
15706         ($(objpfx)tst-array1-cmp.out): Likewise.
15707         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15708         ($(objpfx)tst-array2-cmp.out): Likewise.
15709         ($(objpfx)tst-array3-cmp.out): Likewise.
15710         ($(objpfx)tst-array4-cmp.out): Likewise.
15711         ($(objpfx)tst-array5-cmp.out): Likewise.
15712         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15713         ($(objpfx)check-textrel.out): Likewise.
15714         ($(objpfx)check-execstack.out): Likewise.
15715         ($(objpfx)check-localplt.out): Likewise.
15716         ($(objpfx)order2-cmp.out): Likewise.
15717         ($(objpfx)tst-leaks1-mem): Likewise.
15718         ($(objpfx)tst-leaks1-static-mem): Likewise.
15719         ($(objpfx)tst-initorder-cmp.out): Likewise.
15720         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15721         ($(objpfx)tst-unused-dep.out): Likewise.
15722         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15723         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15724         * iconv/Makefile (test-iconvconfig): Likewise.
15725         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15726         ($(objpfx)iconv-test.out): Likewise.
15727         ($(objpfx)tst-tables.out): Likewise.
15728         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15729         ($(objpfx)tst-gettext.out): Likewise.
15730         ($(objpfx)tst-translit.out): Likewise.
15731         ($(objpfx)tst-gettext2.out): Likewise.
15732         ($(objpfx)tst-gettext4.out): Likewise.
15733         ($(objpfx)tst-gettext6.out): Likewise.
15734         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15735         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15736         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15737         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15738         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15739         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15740         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15741         ($(objpfx)wordexp-tst.out): Likewise.
15742         ($(objpfx)annexc.out): Likewise.
15743         ($(objpfx)tst-fnmatch-mem): Likewise.
15744         ($(objpfx)bug-regex2-mem): Likewise.
15745         ($(objpfx)bug-regex14-mem): Likewise.
15746         ($(objpfx)bug-regex21-mem): Likewise.
15747         ($(objpfx)bug-regex31-mem): Likewise.
15748         ($(objpfx)tst-vfork3-mem): Likewise.
15749         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15750         ($(objpfx)tst-pcre-mem): Likewise.
15751         ($(objpfx)tst-boost-mem): Likewise.
15752         ($(objpfx)tst-getconf.out): Likewise.
15753         ($(objpfx)bug-ga2-mem): Likewise.
15754         ($(objpfx)bug-glob2-mem): Likewise.
15755         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15756         ($(objpfx)mtrace-tst-leaks2): Likewise.
15757         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15758         ($(objpfx)tst-printf.out): Likewise.
15759         ($(objpfx)tst-setvbuf1.out): Likewise.
15760         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15761         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15762         ($(objpfx)tst-fmtmsg.out): Likewise.
15763         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15764         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15765
15766         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15767         * bits/sigaction.h [__USE_MISC]: Likewise.
15768         * bits/waitstatus.h: Update #endif comments.
15769         * ctype/ctype.h: Likewise.
15770         * dirent/dirent.h: Likewise.
15771         [__USE_MISC]: Remove redundant conditionals.
15772         * grp/grp.h: Update #endif comments.
15773         [__USE_GNU]: Remove redundant conditionals.
15774         [__USE_MISC]: Likewise.
15775         * inet/netinet/in.h [__USE_GNU]: Likewise.
15776         * io/sys/stat.h [__USE_MISC]: Likewise.
15777         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15778         * libio/bits/stdio.h: Update #endif comments.
15779         [__USE_MISC]: Remove redundant conditionals.
15780         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15781         * libio/stdio.h: Update #endif comments.
15782         [__USE_MISC]: Remove redundant conditionals.
15783         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15784         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15785         * math/math.h: Update #else and #endif comments.
15786         [__USE_MISC]: Remove redundant conditionals.
15787         * misc/sys/uio.h: Update #endif comments.
15788         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15789         * posix/glob.h [__USE_MISC]: Likewise.
15790         * posix/sys/types.h: Update #endif comments.
15791         [__USE_MISC]: Remove redundant conditionals.
15792         * posix/sys/wait.h: Update #endif comments.
15793         [__USE_MISC]: Remove redundant conditionals.
15794         * posix/unistd.h: Update #endif comments.
15795         [__USE_MISC]: Remove redundant conditionals.
15796         * pwd/pwd.h [__USE_GNU]: Likewise.
15797         [__USE_MISC]: Likewise.
15798         * resolv/netdb.h [__USE_GNU]: Likewise.
15799         * signal/signal.h: Update #endif comments.
15800         [__USE_MISC]: Remove redundant conditionals.
15801         * stdlib/stdlib.h: Update #else and #endif comments.
15802         [__USE_MISC]: Remove redundant conditionals.
15803         [__USE_GNU]: Likewise.
15804         * string/bits/string2.h [__USE_MISC]: Likewise.
15805         * string/string.h: Update #endif comments.
15806         [__USE_MISC]: Remove redundant conditionals.
15807         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15808         Likewise.
15809         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15810         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15811         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15812         Likewise.
15813         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15814         Likewise.
15815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15816         comments.
15817         [__USE_MISC]: Remove redundant conditionals.
15818         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15819         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15820         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15821         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15822         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15823         Likewise.
15824         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15825         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15826         Likewise.
15827         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15828         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15829         Likewise.
15830         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15831         Likewise.
15832         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15833         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15834         Likewise.
15835         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15836         Likewise.
15837         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15838         * sysdeps/x86/bits/string.h: Update #endif comments.
15839         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15840         conditionals.
15841         * time/sys/time.h: Update #endif comments.
15842         * time/time.h: Likewise.
15843         [__USE_MISC]: Remove redundant conditionals.
15844
15845 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15846
15847         [BZ #16600]
15848         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15849
15850 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15851
15852         * Versions.def (librt): Add GLIBC_2.17.
15853
15854 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15855
15856         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15857         synonym for _SYS_AUXV_H to allow direct inclusion.
15858         * sysdeps/sparc/bits/hwcap.h: Likewise.
15859         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15860         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15861         * sysdeps/sparc/sysdep.h: Likewise.
15862
15863 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15864
15865         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15866
15867 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15868
15869         * benchtests/bench-strrchr.c: Print length instead of position.
15870
15871 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15872
15873         [BZ #16611]
15874         * sysdeps/unix/sysv/linux/kernel-features.h
15875         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15876         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15877         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15878         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15879         Likewise.
15880         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15881         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15882         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15883         (__ASSUME_SENDMMSG): Define instead of using previous
15884         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15885         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15886         (__ASSUME_SENDMMSG_SYSCALL): Define.
15887         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15888         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15889         Likewise.
15890         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15891         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15892         Likewise.
15893         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15894         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15895         Likewise.
15896         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15897         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15898         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15899         [__ASSUME_SENDMMSG]: Change conditionals to
15900         [__ASSUME_SENDMMSG_SOCKETCALL].
15901         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15902         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15903         Define.
15904         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15905         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15906         Likewise.
15907         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15908         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15909         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15910         [!__ASSUME_SENDMMSG]: Change conditional to
15911         [!__ASSUME_SENDMMSG_SOCKETCALL].
15912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15913         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15914         Define.
15915
15916         [BZ #16610]
15917         * sysdeps/unix/sysv/linux/kernel-features.h
15918         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15919         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15920         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15921         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15922         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15923         [__i386__ || __sparc__]
15924         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15925         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15926         (__ASSUME_RECVMMSG): Define instead of using previous
15927         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15928         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15929         (__ASSUME_RECVMMSG_SYSCALL): Define.
15930         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15931         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15932         Likewise.
15933         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15934         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15935         Likewise.
15936         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15937         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15938         Likewise.
15939         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15940         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15941         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15942         [__ASSUME_RECVMMSG]: Change condition to
15943         [__ASSUME_RECVMMSG_SOCKETCALL].
15944         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15946         Define.
15947         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15948         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15950         Likewise.
15951         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15952         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15953         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15954         [!__ASSUME_RECVMMSG]: Change condition to
15955         [!__ASSUME_RECVMMSG_SOCKETCALL].
15956         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15957         (__ASSUME_RECVMMSG_SYSCALL): Define.
15958
15959         [BZ #16609]
15960         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15961         __powerpc__ || __s390__ || __sh__ || __sparc__]
15962         (__ASSUME_SOCKETCALL): Define.
15963         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15964         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15965         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15966         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15967         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15968         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15969         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15970         (__ASSUME_ACCEPT4): Define instead of using previous
15971         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15972         __powerpc__ || __sparc__ || __s390__)] condition.
15973         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15974         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15975         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15976         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15977         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15978         [!__ASSUME_ACCEPT4]: Change condition to
15979         [!__ASSUME_ACCEPT4_SOCKETCALL].
15980         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15981         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15982         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15983         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15984         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15985         __ASSUME_ACCEPT4_SYSCALL.
15986         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15987         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15988         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15989         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15990         __ASSUME_ACCEPT4_SYSCALL.
15991         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15992         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15993         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15994         [__ASSUME_ACCEPT4]: Change condition to
15995         [__ASSUME_ACCEPT4_SOCKETCALL].
15996         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15997         (__ASSUME_SOCKETCALL): Define.
15998         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15999         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16000         (__ASSUME_SOCKETCALL): Define.
16001         (__ASSUME_ACCEPT4): Remove.
16002         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16003         Define.
16004         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16005         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16006         Likewise.
16007         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16008         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16009
16010         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16011         macro.
16012         (HWCAP_ARM_LPAE): Likewise.
16013         (HWCAP_ARM_EVTSTRM): Likewise.
16014         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16015         Add vpfd32, lpae and evtstrm.
16016         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16017         Increase to 22.
16018
16019 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16020
16021         * math/auto-libm-test-in: Add tests of clog10.
16022         * math/auto-libm-test-out: Regenerated.
16023         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16024         * sysdeps/i386/fpu/libm-test-ulps: Update.
16025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16026
16027 2014-02-18  Andreas Schwab  <schwab@suse.de>
16028
16029         [BZ #16574]
16030         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16031         Store non-zero if the second buffer was newly allocated.
16032         (send_dg): Likewise.
16033         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16034         to send_vc and send_dg.
16035         (res_nsend): Pass NULL for ansp2_malloced.
16036         * resolv/res_query.c (__libc_res_nquery): Add parameter
16037         answerp2_malloced and pass it down to __libc_res_nsend.
16038         (res_nquery): Pass additional NULL to __libc_res_nquery.
16039         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16040         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16041         second answer buffer if answerp2_malloced was set.
16042         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16043         (__libc_res_nquerydomain): Add parameter
16044         answerp2_malloced and pass it down to __libc_res_nquery.
16045         (res_nquerydomain): Pass additional NULL to
16046         __libc_res_nquerydomain.
16047         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16048         additional NULL to __libc_res_nsend and __libc_res_nquery.
16049         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16050         additional NULL to __libc_res_nsearch.
16051         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16052         parameter of __libc_res_nsearch to check for separately allocated
16053         second buffer.
16054         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16055         __libc_res_nquery.
16056         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16057         additional NULL to __libc_res_nquery.
16058         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16059         __libc_res_nsearch.
16060         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16061         * include/resolv.h: Update prototypes of __libc_res_nquery,
16062         __libc_res_nsearch, __libc_res_nsend.
16063
16064 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16065
16066         * math/auto-libm-test-in: Add tests of fma.
16067         * math/auto-libm-test-out: Regenerated.
16068         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16069         (fma_towardzero_test_data): Likewise.
16070         (fma_downward_test_data): Likewise.
16071         (fma_upward_test_data): Likewise.
16072         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16073         mpc_mode.
16074         (rounding_modes): Add values for new field.
16075         (func_calc_method): Add value mpfr_fff_f.
16076         (func_calc_desc): Add mpfr_fff_f union field.
16077         (test_function): Add field exact_args.
16078         (FUNC): Add macro argument EXACT_ARGS.
16079         (FUNC_mpfr_f_f): Update call to FUNC.
16080         (FUNC_mpfr_f_f): Likewise.
16081         (FUNC_mpfr_ff_f): Likewise.
16082         (FUNC_mpfr_if_f): Likewise.
16083         (FUNC_mpc_c_f): Likewise.
16084         (FUNC_mpc_c_c): Likewise.
16085         (test_functions): Add fma.  Update calls to FUNC.
16086         (handle_input_arg): Add argument exact_args.
16087         (add_test): Update call to handle_input_arg.
16088         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16089         (output_for_one_input_case): Update call to calc_generic_results.
16090         Recalculate exact zero results in each rounding mode.
16091
16092         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16093         non-negative before setting low bit.
16094         * math/auto-libm-test-in: Mark one asin test possibly having
16095         spurious underflow.
16096         * math/auto-libm-test-out: Regenerated.
16097         * sysdeps/i386/fpu/libm-test-ulps: Update.
16098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16099
16100 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16101
16102         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16103         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16104         ports/sysdeps/unix/sysv/linux/microblaze.
16105         * README: Add missing listing for microblaze*-*-linux-gnu.
16106
16107 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16108
16109         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16110         duplicate code
16111
16112 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16113
16114         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16115         * sysdeps/unix/sysv/linux/ia64: Move directory from
16116         ports/sysdeps/unix/sysv/linux/ia64.
16117         * README: Update listing for ia64-*-linux-gnu.
16118
16119 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16120             Joseph Myers  <joseph@codesourcery.com>
16121
16122         * Makeconfig (test-name): New variable.
16123         (evaluate-test): Likewise.
16124         * Makerules (do-test-clean): Remove .test-result files.
16125         (common-mostlyclean): Likewise.
16126         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16127         * scripts/evaluate-test.sh: New file.
16128
16129 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16130
16131         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16132         separate $(objpfx)tst-fopenloc-cmp.out and
16133         $(objpfx)tst-fopenloc-mem.out targets.
16134         (tests): Update dependencies.
16135         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16136         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16137         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16138         (tst-rxspencer-no-utf8-ARGS): New variable.
16139         (tst-rxspencer-no-utf8-ENV): Likewise.
16140         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16141         instead of $(objpfx)tst-rxspencer-mem.
16142         ($(objpfx)tst-rxspencer-mem): Change target to
16143         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16144         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16145         * posix/tst-rxspencer-no-utf8.c: New file.
16146
16147         * elf/Makefile ($(objpfx)order.out): Remove rule.
16148         [$(run-built-tests) = yes] (tests): Depend on
16149         $(objpfx)order-cmp.out.
16150         ($(objpfx)order-cmp.out): New rule.
16151         [$(run-built-tests) = yes] (tests): Depend on
16152         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16153         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16154         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16155         $(objpfx)tst-array5-static-cmp.out.
16156         ($(objpfx)tst-array1.out): Remove rule.
16157         ($(objpfx)tst-array1-cmp.out): New rule.
16158         ($(objpfx)tst-array1-static.out): Remove rule.
16159         ($(objpfx)tst-array1-static-cmp.out): New rule.
16160         ($(objpfx)tst-array2.out): Remove rule.
16161         ($(objpfx)tst-array2-cmp.out): New rule.
16162         ($(objpfx)tst-array3.out): Remove rule.
16163         ($(objpfx)tst-array3-cmp.out): New rule.
16164         ($(objpfx)tst-array4.out): Remove rule.
16165         ($(objpfx)tst-array4-cmp.out): New rule.
16166         ($(objpfx)tst-array5.out): Remove rule.
16167         ($(objpfx)tst-array5-cmp.out): New rule.
16168         ($(objpfx)tst-array5-static.out): Remove rule.
16169         ($(objpfx)tst-array5-static-cmp.out): New rule.
16170         [$(run-built-tests) = yes] (tests): Depend on
16171         $(objpfx)order2-cmp.out.
16172         ($(objpfx)order2.out): Remove rule.
16173         ($(objpfx)order2-cmp.out): New rule.
16174         ($(objpfx)tst-initorder.out): Remove rule.
16175         [$(run-built-tests) = yes] (tests): Depend on
16176         $(objpfx)tst-initorder-cmp.out.
16177         ($(objpfx)tst-initorder-cmp.out): New rule.
16178         ($(objpfx)tst-initorder2.out): Remove rule.
16179         [$(run-built-tests) = yes] (tests): Depend on
16180         $(objpfx)tst-initorder2-cmp.out.
16181         ($(objpfx)tst-initorder2-cmp.out): New rule.
16182         [$(run-built-tests) = yes] (tests): Depend on
16183         $(objpfx)tst-unused-dep-cmp.out.
16184         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16185         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16186         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16187         on $(objpfx)tst-setvbuf1-cmp.out.
16188         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16189         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16190         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16191         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16192         ($(objpfx)tst-svc.out): Remove rule.
16193         ($(objpfx)tst-svc-cmp.out): New rule.
16194
16195 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16196
16197         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16198         * ctype/ctype.h [__USE_MISC]: Likewise.
16199         * dirent/dirent.h [__USE_MISC]: Likewise.
16200         * grp/grp.h [__USE_MISC]: Likewise.
16201         * io/fcntl.h [__USE_MISC]: Likewise.
16202         * io/sys/stat.h [__USE_MISC]: Likewise.
16203         * libio/stdio.h [__USE_MISC]: Likewise.
16204         * posix/unistd.h [__USE_MISC]: Likewise.
16205         * pwd/pwd.h [__USE_MISC]: Likewise.
16206         * stdlib.h [__USE_MISC]: Likewise.
16207         * string/bits/string2.h [__USE_MISC]: Likewise.
16208         * string/string.h [__USE_MISC]: Likewise.
16209         * time/time.h [__USE_MISC]: Likewise.
16210
16211 2014-02-13  Andreas Schwab  <schwab@suse.de>
16212
16213         [BZ #16574]
16214         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16215         second answer buffer if it was separately allocated.
16216
16217 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16218
16219         * sysdeps/mips/math-tests.h: Include <features.h>.
16220         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16221         (ROUNDING_TESTS_long_double): Do not define.
16222         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16223         (EXCEPTION_TESTS_long_double): Likewise.
16224         * sysdeps/mips/mips64/libm-test-ulps: Update.
16225
16226         * include/features.h (__USE_BSD): Remove macro definitions.
16227         (__USE_SVID): Likewise.
16228         (_BSD_SOURCE): Likewise.
16229         (_SVID_SOURCE): Likewise.
16230         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16231         from definition of _DEFAULT_SOURCE.
16232         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16233         [_DEFAULT_SOURCE].
16234         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16235         * bits/mman.h [__USE_BSD]: Likewise.
16236         * bits/termios.h [__USE_BSD]: Likewise.
16237         * bits/waitstatus.h [__USE_BSD]: Likewise.
16238         * ctype/ctype.h [__USE_SVID]: Likewise.
16239         * dirent/dirent.h [__USE_BSD]: Likewise.
16240         * grp/grp.h [__USE_SVID]: Likewise.
16241         [__USE_BSD]: Likewise.
16242         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16243         * io/fcntl.h [__USE_BSD]: Likewise.
16244         * io/ftw.h [__USE_BSD]: Likewise.
16245         * io/sys/stat.h [__USE_BSD]: Likewise.
16246         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16247         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16248         * libio/stdio.h [__USE_SVID]: Likewise.
16249         [__USE_BSD]: Likewise.
16250         * math/math.h [__USE_SVID]: Likewise.
16251         [__USE_BSD]: Likewise.
16252         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16253         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16254         * misc/search.h [__USE_SVID]: Likewise.
16255         * misc/sys/mman.h [__USE_BSD]: Likewise.
16256         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16257         * misc/sys/uio.h [__USE_BSD]: Likewise.
16258         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16259         * posix/glob.h [__USE_BSD]: Likewise.
16260         * posix/regex.h [__USE_BSD]: Likewise.
16261         * posix/sys/types.h [__USE_BSD]: Likewise.
16262         [__USE_SVID]: Likewise.
16263         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16264         * posix/sys/wait.h [__USE_BSD]: Likewise.
16265         [__USE_SVID]: Likewise.
16266         * posix/unistd.h [__USE_BSD]: Likewise.
16267         [__USE_SVID]: Likewise.
16268         * pwd/pwd.h [__USE_SVID]: Likewise.
16269         * resolv/netdb.h [__USE_BSD]: Likewise.
16270         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16271         * signal/signal.h [__USE_BSD]: Likewise.
16272         [__USE_SVID]: Likewise.
16273         * socket/sys/socket.h [__USE_BSD]: Likewise.
16274         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16275         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16276         [__USE_SVID]: Likewise.
16277         * string/bits/string2.h [__USE_BSD]: Likewise.
16278         [__USE_SVID]: Likewise.
16279         * string/bits/string3.h [__USE_BSD]: Likewise.
16280         * string/endian.h [__USE_BSD]: Likewise.
16281         * string/string.h [__USE_SVID]: Likewise.
16282         [__USE_BSD]: Likewise.
16283         * string/strings.h [__USE_BSD]: Likewise.
16284         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16285         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16286         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16287         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16288         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16289         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16290         Likewise.
16291         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16292         Likewise.
16293         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16294         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16295         Likewise.
16296         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16297         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16298         Likewise.
16299         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16300         Likewise.
16301         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16302         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16303         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16304         Likewise.
16305         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16306         Likewise.
16307         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16308         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16309         * termios/termios.h [__USE_BSD]: Likewise.
16310         * time/sys/time.h [__USE_BSD]: Likewise.
16311         * time/time.h [__USE_BSD]: Likewise.
16312         [__USE_SVID]: Likewise.
16313
16314         * Makefile (subdir_targets): Remove subdir_lint.out.
16315
16316         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16317         (do-tst-printf): Likewise.
16318         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16319         $(objpfx)tst-printf.out.
16320
16321         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16322
16323         * Makerules (check-abi-%): Change target to
16324         $(objpfx)check-abi-%.out.
16325         (check-abi target): Update dependencies.
16326         (check-abi-pattern variable): Redirect output of diff to $@.
16327         (check-abi variable): Likewise.
16328         * elf/Makefile (check-abi): Update dependencies.
16329
16330         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16331         unused.
16332         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16333         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16334         subnormal range.
16335         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16336         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16337         value has largest subnormal exponent.
16338         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16339         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16340         * sysdeps/aarch64/soft-fp/sfp-machine.h
16341         (_FP_TININESS_AFTER_ROUNDING): New macro.
16342         * sysdeps/alpha/soft-fp/sfp-machine.h
16343         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16344         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16345         Likewise.
16346         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16347         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16348         * sysdeps/mips/soft-fp/sfp-machine.h
16349         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16350         * sysdeps/powerpc/soft-fp/sfp-machine.h
16351         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16352         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16353         Likewise.
16354         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16355         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16356         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16358         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16359         Likewise.
16360
16361 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16362
16363         [BZ #16545]
16364         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16365         model 1.
16366
16367 2014-02-12  Richard Henderson  <rth@redhat.com>
16368
16369         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16370         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16371         * sysdeps/unix/sysv/linux/alpha: Move directory from
16372         ports/sysdeps/unix/sysv/linux/alpha.
16373         * README: Update listing for alpha-*-linux-gnu.
16374
16375 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16376
16377         * include/features.h: Update comment documenting feature test
16378         macros.
16379         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16380         _DEFAULT_SOURCE.
16381         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16382         (_SVID_SOURCE): Likewise.
16383         (_DEFAULT_SOURCE): Update description of default features.
16384         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16385         with _GNU_SOURCE.
16386         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16387         (S_ISVTX): Likewise.
16388         * manual/math.texi (Mathematical Constants): Likewise.
16389         * manual/signal.texi (Interrupted Primitives): Likewise.
16390         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16391         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16392         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16393         Don't refer to _SVID_SOURCE in warning text.
16394
16395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16396
16397         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16398         already defined.
16399         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16400         * sysdeps/mips/dl-lookup.c: Remove.
16401         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16402
16403 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16404
16405         [BZ #16447]
16406         * math/auto-libm-test-in: Add testcase for expl.
16407         * math/auto-libm-test-out: Regenerate.
16408         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16409         calculation of unsafe.
16410         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16411
16412 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16413
16414         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16415         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16416         ports/sysdeps/unix/sysv/linux/aarch64.
16417         * README: Update listing for aarch64*-*-linux-gnu.
16418
16419 2014-02-11  Will Newton  <will.newton@linaro.org>
16420
16421         * manual/probes.texi (Mathematical Function Probes): Use
16422         "triggered" instead of "hit".
16423
16424         * manual/probes.texi (Internal Probes): Add documentation
16425         of setjmp, longjmp and longjmp_target probes.
16426
16427         * include/stap-probe.h: Add comment about probe argument
16428         format.
16429
16430         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16431         definition.  (tr_where, tr_freehook, tr_mallochook,
16432         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16433
16434 2014-02-11  David S. Miller  <davem@davemloft.net>
16435
16436         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16437         processing int_tests.
16438
16439 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16440
16441         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16442         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16443         * sysdeps/unix/sysv/linux/mips: Move directory from
16444         ports/sysdeps/unix/sysv/linux/mips.
16445         * README: Update listing for mips-*-linux-gnu and
16446         mips64-*-linux-gnu.
16447
16448 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16449
16450         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16451         * sysdeps/unix/sysv/linux/m68k: Move directory from
16452         ports/sysdeps/unix/sysv/linux/m68k.
16453         * README: Update listing for m68k-*-linux-gnu.
16454
16455 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16456
16457         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16458         * sysdeps/unix/sysv/linux/generic: Move directory from
16459         ports/sysdeps/unix/sysv/linux/generic.
16460         * sysdeps/unix/sysv/linux/tile: Move directory from
16461         ports/sysdeps/unix/sysv/linux/tile.
16462         * README: Update listing for tile*-*-linux-gnu.
16463
16464 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16465
16466         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16467         __builtin_expect.
16468         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16469         * catgets/open_catalog.c (__open_catalog): Likewise.
16470         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16471         * debug/confstr_chk.c: Likewise.
16472         * debug/fread_chk.c (__fread_chk): Likewise.
16473         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16474         * debug/getgroups_chk.c: Likewise.
16475         * debug/mbsnrtowcs_chk.c: Likewise.
16476         * debug/mbsrtowcs_chk.c: Likewise.
16477         * debug/mbstowcs_chk.c: Likewise.
16478         * debug/memcpy_chk.c: Likewise.
16479         * debug/memmove_chk.c: Likewise.
16480         * debug/mempcpy_chk.c: Likewise.
16481         * debug/memset_chk.c: Likewise.
16482         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16483         * debug/strcat_chk.c (__strcat_chk): Likewise.
16484         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16485         * debug/strncat_chk.c (__strncat_chk): Likewise.
16486         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16487         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16488         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16489         * debug/wcpncpy_chk.c: Likewise.
16490         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16491         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16492         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16493         * debug/wcsncpy_chk.c: Likewise.
16494         * debug/wcsnrtombs_chk.c: Likewise.
16495         * debug/wcsrtombs_chk.c: Likewise.
16496         * debug/wcstombs_chk.c: Likewise.
16497         * debug/wmemcpy_chk.c: Likewise.
16498         * debug/wmemmove_chk.c: Likewise.
16499         * debug/wmempcpy_chk.c: Likewise.
16500         * debug/wmemset_chk.c: Likewise.
16501         * dirent/scandirat.c (SCANDIRAT): Likewise.
16502         * dlfcn/dladdr1.c (dladdr1): Likewise.
16503         * dlfcn/dladdr.c (dladdr): Likewise.
16504         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16505         * dlfcn/dlerror.c (__dlerror): Likewise.
16506         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16507         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16508         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16509         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16510         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16511         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16512         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16513         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16514         Likewise.
16515         * elf/dl-conflict.c: Likewise.
16516         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16517         * elf/dl-dst.h: Likewise.
16518         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16519         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16520         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16521         * elf/dl-init.c (call_init, _dl_init): Likewise.
16522         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16523         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16524         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16525         Likewise.
16526         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16527         Likewise.
16528         * elf/dl-minimal.c (__libc_memalign): Likewise.
16529         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16530         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16531         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16532         * elf/dl-sym.c (do_sym): Likewise.
16533         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16534         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16535         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16536         * elf/dl-writev.h (_dl_writev): Likewise.
16537         * elf/ldconfig.c (search_dir): Likewise.
16538         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16539         (dl_main): Likewise.
16540         * elf/setup-vdso.h (setup_vdso): Likewise.
16541         * grp/compat-initgroups.c (compat_call): Likewise.
16542         * grp/fgetgrent.c (fgetgrent): Likewise.
16543         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16544         * grp/putgrent.c (putgrent): Likewise.
16545         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16546         Likewise.
16547         * hurd/hurdinit.c: Likewise.
16548         * iconvdata/8bit-gap.c (struct): Likewise.
16549         * iconvdata/ansi_x3.110.c : Likewise.
16550         * iconvdata/big5.c : Likewise.
16551         * iconvdata/big5hkscs.c : Likewise.
16552         * iconvdata/cp1255.c: Likewise.
16553         * iconvdata/cp1258.c : Likewise.
16554         * iconvdata/cp932.c : Likewise.
16555         * iconvdata/euc-cn.c: Likewise.
16556         * iconvdata/euc-jisx0213.c : Likewise.
16557         * iconvdata/euc-jp.c: Likewise.
16558         * iconvdata/euc-jp-ms.c : Likewise.
16559         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16560         * iconvdata/gb18030.c : Likewise.
16561         * iconvdata/gbbig5.c (const): Likewise.
16562         * iconvdata/gbgbk.c: Likewise.
16563         * iconvdata/gbk.c : Likewise.
16564         * iconvdata/ibm1364.c : Likewise.
16565         * iconvdata/ibm930.c : Likewise.
16566         * iconvdata/ibm932.c: Likewise.
16567         * iconvdata/ibm933.c : Likewise.
16568         * iconvdata/ibm935.c : Likewise.
16569         * iconvdata/ibm937.c : Likewise.
16570         * iconvdata/ibm939.c : Likewise.
16571         * iconvdata/ibm943.c: Likewise.
16572         * iconvdata/iso_11548-1.c: Likewise.
16573         * iconvdata/iso-2022-cn.c : Likewise.
16574         * iconvdata/iso-2022-cn-ext.c : Likewise.
16575         * iconvdata/iso-2022-jp-3.c: Likewise.
16576         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16577         * iconvdata/iso-2022-kr.c : Likewise.
16578         * iconvdata/iso646.c (gconv_end): Likewise.
16579         * iconvdata/iso_6937-2.c : Likewise.
16580         * iconvdata/iso_6937.c : Likewise.
16581         * iconvdata/iso8859-1.c: Likewise.
16582         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16583         * iconvdata/shift_jisx0213.c : Likewise.
16584         * iconvdata/sjis.c : Likewise.
16585         * iconvdata/t.61.c : Likewise.
16586         * iconvdata/tcvn5712-1.c : Likewise.
16587         * iconvdata/tscii.c: Likewise.
16588         * iconvdata/uhc.c : Likewise.
16589         * iconvdata/unicode.c (gconv_end): Likewise.
16590         * iconvdata/utf-16.c (gconv_end): Likewise.
16591         * iconvdata/utf-32.c (gconv_end): Likewise.
16592         * iconvdata/utf-7.c (base64): Likewise.
16593         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16594         * iconv/gconv_close.c (__gconv_close): Likewise.
16595         * iconv/gconv_open.c (__gconv_open): Likewise.
16596         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16597         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16598         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16599         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16600         (ucs4le_internal_loop_single): Likewise.
16601         * iconv/iconv.c (iconv): Likewise.
16602         * iconv/iconv_close.c: Likewise.
16603         * iconv/loop.c (SINGLE): Likewise.
16604         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16605         * include/atomic.h: Likewise.
16606         * inet/inet6_option.c (option_alloc): Likewise.
16607         * intl/bindtextdom.c (set_binding_values): Likewise.
16608         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16609         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16610         * intl/localealias.c (read_alias_file): Likewise.
16611         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16612         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16613         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16614         * libio/fmemopen.c (fmemopen): Likewise.
16615         * libio/iofgets.c (_IO_fgets): Likewise.
16616         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16617         * libio/iofgetws.c (fgetws): Likewise.
16618         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16619         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16620         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16621         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16622         * locale/findlocale.c (_nl_find_locale): Likewise.
16623         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16624         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16625         Likewise.
16626         * locale/setlocale.c (setlocale): Likewise.
16627         * login/programs/pt_chown.c (main): Likewise.
16628         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16629         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16630         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16631         (mmap, mmap64, mremap, munmap): Likewise.
16632         * math/e_exp2l.c: Likewise.
16633         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16634         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16635         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16636         * math/s_catan.c (__catan): Likewise.
16637         * math/s_catanf.c (__catanf): Likewise.
16638         * math/s_catanh.c (__catanh): Likewise.
16639         * math/s_catanhf.c (__catanhf): Likewise.
16640         * math/s_catanhl.c (__catanhl): Likewise.
16641         * math/s_catanl.c (__catanl): Likewise.
16642         * math/s_ccosh.c (__ccosh): Likewise.
16643         * math/s_ccoshf.c (__ccoshf): Likewise.
16644         * math/s_ccoshl.c (__ccoshl): Likewise.
16645         * math/s_cexp.c (__cexp): Likewise.
16646         * math/s_cexpf.c (__cexpf): Likewise.
16647         * math/s_cexpl.c (__cexpl): Likewise.
16648         * math/s_clog10.c (__clog10): Likewise.
16649         * math/s_clog10f.c (__clog10f): Likewise.
16650         * math/s_clog10l.c (__clog10l): Likewise.
16651         * math/s_clog.c (__clog): Likewise.
16652         * math/s_clogf.c (__clogf): Likewise.
16653         * math/s_clogl.c (__clogl): Likewise.
16654         * math/s_csin.c (__csin): Likewise.
16655         * math/s_csinf.c (__csinf): Likewise.
16656         * math/s_csinh.c (__csinh): Likewise.
16657         * math/s_csinhf.c (__csinhf): Likewise.
16658         * math/s_csinhl.c (__csinhl): Likewise.
16659         * math/s_csinl.c (__csinl): Likewise.
16660         * math/s_csqrt.c (__csqrt): Likewise.
16661         * math/s_csqrtf.c (__csqrtf): Likewise.
16662         * math/s_csqrtl.c (__csqrtl): Likewise.
16663         * math/s_ctan.c (__ctan): Likewise.
16664         * math/s_ctanf.c (__ctanf): Likewise.
16665         * math/s_ctanh.c (__ctanh): Likewise.
16666         * math/s_ctanhf.c (__ctanhf): Likewise.
16667         * math/s_ctanhl.c (__ctanhl): Likewise.
16668         * math/s_ctanl.c (__ctanl): Likewise.
16669         * math/w_pow.c: Likewise.
16670         * math/w_powf.c: Likewise.
16671         * math/w_powl.c: Likewise.
16672         * math/w_scalb.c (sysv_scalb): Likewise.
16673         * math/w_scalbf.c (sysv_scalbf): Likewise.
16674         * math/w_scalbl.c (sysv_scalbl): Likewise.
16675         * misc/error.c (error_tail): Likewise.
16676         * misc/pselect.c (__pselect): Likewise.
16677         * nis/nis_callback.c (__nis_create_callback): Likewise.
16678         * nis/nis_call.c (__nisfind_server): Likewise.
16679         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16680         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16681         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16682         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16683         * nis/nis_lookup.c (nis_lookup): Likewise.
16684         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16685         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16686         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16687         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16688         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16689         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16690         * nis/nss_compat/compat-initgroups.c (add_group)
16691         (internal_getgrent_r): Likewise.
16692         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16693         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16694         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16695         (internal_getspnam_r): Likewise.
16696         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16697         (_nss_nis_getaliasbyname_r): Likewise.
16698         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16699         (_nss_nis_getntohost_r): Likewise.
16700         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16701         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16702         (_nss_nis_getgrgid_r): Likewise.
16703         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16704         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16705         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16706         (_nss_nis_gethostbyname4_r): Likewise.
16707         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16708         (initgroups_netid): Likewise.
16709         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16710         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16711         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16712         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16713         (_nss_nis_getprotobynumber_r): Likewise.
16714         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16715         (_nss_nis_getsecretkey): Likewise.
16716         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16717         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16718         (_nss_nis_getpwuid_r): Likewise.
16719         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16720         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16721         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16722         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16723         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16724         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16725         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16726         Likewise.
16727         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16728         (_nss_nisplus_getntohost_r): Likewise.
16729         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16730         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16731         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16732         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16733         Likewise.
16734         * nis/nss_nisplus/nisplus-initgroups.c
16735         (_nss_nisplus_initgroups_dyn): Likewise.
16736         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16737         (_nss_nisplus_getnetbyaddr_r): Likewise.
16738         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16739         (_nss_nisplus_getprotobynumber_r): Likewise.
16740         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16741         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16742         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16743         Likewise.
16744         * nis/nss_nisplus/nisplus-service.c
16745         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16746         (_nss_nisplus_getservbyport_r): Likewise.
16747         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16748         (_nss_nisplus_getspnam_r): Likewise.
16749         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16750         Likewise.
16751         * nscd/aicache.c (addhstaiX): Likewise.
16752         * nscd/cache.c (cache_search, prune_cache): Likewise.
16753         * nscd/connections.c (register_traced_file, send_ro_fd)
16754         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16755         (main_loop_epoll): Likewise.
16756         * nscd/grpcache.c (addgrbyX): Likewise.
16757         * nscd/hstcache.c (addhstbyX): Likewise.
16758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16759         * nscd/mem.c (gc, mempool_alloc): Likewise.
16760         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16761         (addinnetgrX): Likewise.
16762         * nscd/nscd-client.h (__nscd_acquire_maplock)
16763         (__nscd_drop_map_ref): Likewise.
16764         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16765         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16766         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16767         Likewise.
16768         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16769         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16770         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16771         (__nscd_get_map_ref): Likewise.
16772         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16773         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16774         Likewise.
16775         * nscd/pwdcache.c (addpwbyX): Likewise.
16776         * nscd/selinux.c (preserve_capabilities): Likewise.
16777         * nscd/servicescache.c (addservbyX): Likewise.
16778         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16779         * posix/fnmatch.c (fnmatch): Likewise.
16780         * posix/getopt.c (_getopt_internal_r): Likewise.
16781         * posix/glob.c (glob, glob_in_dir): Likewise.
16782         * posix/wordexp.c (exec_comm_child): Likewise.
16783         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16784         (getanswer_r, gaih_getanswer_slice): Likewise.
16785         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16786         * resolv/res_init.c: Likewise.
16787         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16788         * resolv/res_query.c (__libc_res_nquery): Likewise.
16789         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16790         Likewise.
16791         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16792         * stdio-common/perror.c (perror): Likewise.
16793         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16794         * stdio-common/tmpnam.c (tmpnam): Likewise.
16795         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16796         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16797         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16798         Likewise.
16799         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16800         * stdlib/putenv.c (putenv): Likewise.
16801         * stdlib/setenv.c (__add_to_environ): Likewise.
16802         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16803         * stdlib/strtol_l.c (INTERNAL): Likewise.
16804         * string/memmem.c (memmem): Likewise.
16805         * string/strerror.c (strerror): Likewise.
16806         * string/strnlen.c (__strnlen): Likewise.
16807         * string/test-memmem.c (simple_memmem): Likewise.
16808         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16809         * sunrpc/pm_getport.c (__get_socket): Likewise.
16810         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16811         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16812         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16813         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16814         Likewise.
16815         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16816         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16817         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16818         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16819         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16820         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16821         Likewise.
16822         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16823         Likewise.
16824         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16825         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16826         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16827         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16828         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16829         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16830         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16831         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16832         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16833         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16834         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16835         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16836         Likewise.
16837         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16838         Likewise.
16839         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16840         Likewise.
16841         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16842         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16843         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16844         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16845         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16846         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16847         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16850         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16851         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16852         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16853         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16854         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16856         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16857         Likewise.
16858         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16859         Likewise.
16860         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16861         Likewise.
16862         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16863         Likewise.
16864         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16866         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16867         Likewise.
16868         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16869         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16870         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16871         * sysdeps/posix/sleep.c: Likewise.
16872         * sysdeps/posix/tempname.c: Likewise.
16873         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16874         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16875         Likewise.
16876         * sysdeps/powerpc/powerpc32/dl-machine.h
16877         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16878         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16879         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16880         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16881         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16882         Likewise.
16883         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16884         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16885         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16886         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16887         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16888         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16889         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16890         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16891         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16892         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16893         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16894         (elf_machine_lazy_rel): Likewise.
16895         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16896         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16897         (elf_machine_lazy_rel): Likewise.
16898         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16899         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16900         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16901         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16902         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16903         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16904         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16905         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16906         Likewise.
16907         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16908         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16909         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16910         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16911         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16912         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16913         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16914         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16915         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16916         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16917         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16918         Likewise.
16919         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16920         (__posix_fallocate64_l64): Likewise.
16921         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16922         (posix_fallocate): Likewise.
16923         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16924         Likewise.
16925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16926         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16927         (getifaddrs_internal): Likewise.
16928         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16929         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16930         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16931         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16932         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16933         (__posix_fallocate64_l64): Likewise.
16934         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16935         Likewise.
16936         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16937         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16938         (__get_clockfreq): Likewise.
16939         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16940         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16941         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16942         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16943         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16944         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16945         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16946         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16947         Likewise.
16948         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16949         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16950         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16951         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16952         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16953         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16954         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16955         Likewise.
16956         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16957         (posix_fallocate): Likewise.
16958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16959         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16960         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16961         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16962         (elf_machine_rela, elf_machine_rela_relative)
16963         (elf_machine_lazy_rel): Likewise.
16964         * time/asctime.c (asctime_internal): Likewise.
16965         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16966         * time/tzset.c (__tzset_parse_tz): Likewise.
16967         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16968         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16969         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16970         * wcsmbs/wcsmbsload.h: Likewise.
16971
16972         [BZ #15894]
16973         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16974
16975         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16976         (arena_get2): Remove THREAD_STATS conditionals.
16977         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16978         (__malloc_stats, int): Likewise.
16979
16980 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16981
16982         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16983         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16984
16985         * manual/setjmp.texi: Fix typos/grammar errors.
16986
16987         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16988         Only return early when n is <= 0.  Delete unused return statement.
16989
16990         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16991         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16992         * debug/tst-longjmp_chk3.c: New file.
16993
16994         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16995         (test_main): Replace code with set_fortify_handler call.
16996         * debug/test-strcpy_chk.c: Likewise.
16997         * debug/tst-chk1.c: Likewise.
16998         * debug/tst-longjmp_chk.c: Likewise.
16999         * test-skeleton.c: Include fcntl.h & paths.h
17000         (set_fortify_handler): Define.
17001
17002         * debug/tst-longjmp_chk.c: Add header comment and include
17003         ../test-skeleton.c.
17004         (do_test): Mark static.
17005         (TEST_FUNCTION): Define.
17006
17007         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17008         (IP_PMTUDISC_INTERFACE): Likewise.
17009         (IP_MULTICAST_IF): Likewise.
17010         (IP_MULTICAST_TTL): Likewise.
17011         (IP_MULTICAST_LOOP): Likewise.
17012         (IP_ADD_MEMBERSHIP): Likewise.
17013         (IP_DROP_MEMBERSHIP): Likewise.
17014         (IP_UNBLOCK_SOURCE): Likewise.
17015         (IP_BLOCK_SOURCE): Likewise.
17016         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17017         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17018         (IP_MSFILTER): Likewise.
17019         (MCAST_JOIN_GROUP): Likewise.
17020         (MCAST_BLOCK_SOURCE): Likewise.
17021         (MCAST_UNBLOCK_SOURCE): Likewise.
17022         (MCAST_LEAVE_GROUP): Likewise.
17023         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17024         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17025         (MCAST_MSFILTER): Likewise.
17026         (IP_MULTICAST_ALL): Likewise.
17027         (IP_UNICAST_IF): Likewise.
17028
17029         * timezone/Makefile: Delete $(have-ksh) check.
17030         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17031         * timezone/tzselect.ksh: Add +x mode bits.
17032
17033         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17034         (ANON_INODE_FS_MAGIC): Likewise.
17035         (BDEVFS_MAGIC): Likewise.
17036         (BINFMTFS_MAGIC): Likewise.
17037         (BTRFS_TEST_MAGIC): Likewise.
17038         (CRAMFS_MAGIC_WEND): Likewise.
17039         (DEBUGFS_MAGIC): Likewise.
17040         (ECRYPTFS_SUPER_MAGIC): Likewise.
17041         (EXT3_SUPER_MAGIC): Likewise.
17042         (EXT4_SUPER_MAGIC): Likewise.
17043         (FUTEXFS_SUPER_MAGIC): Likewise.
17044         (HOSTFS_SUPER_MAGIC): Likewise.
17045         (HUGETLBFS_MAGIC): Likewise.
17046         (MINIX3_SUPER_MAGIC): Likewise.
17047         (MTD_INODE_FS_MAGIC): Likewise.
17048         (NILFS_SUPER_MAGIC): Likewise.
17049         (OPENPROM_SUPER_MAGIC): Likewise.
17050         (PIPEFS_MAGIC): Likewise.
17051         (PSTOREFS_MAGIC): Likewise.
17052         (QNX6_SUPER_MAGIC): Likewise.
17053         (RAMFS_MAGIC): Likewise.
17054         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17055         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17056         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17057         (SECURITYFS_MAGIC): Likewise.
17058         (SELINUX_MAGIC): Likewise.
17059         (SMACK_MAGIC): Likewise.
17060         (SOCKFS_MAGIC): Likewise.
17061         (SQUASHFS_MAGIC): Likewise.
17062         (STACK_END_MAGIC): Likewise.
17063         (TMPFS_MAGIC): Likewise.
17064         (USBDEVICE_SUPER_MAGIC): Likewise.
17065         (V9FS_MAGIC): Likewise.
17066         (XENFS_SUPER_MAGIC): Likewise.
17067         (CRAMFS_MAGIC): Fix typo in comment.
17068         (EXT2_SUPER_MAGIC): Update comment.
17069         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17070
17071 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17072
17073         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17074         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17075         * sysdeps/unix/sysv/linux/arm: Move directory from
17076         ports/sysdeps/unix/sysv/linux/arm.
17077         * README: Update listing for arm-*-linux-gnueabi.
17078
17079         * README: Remove mention of am33.
17080
17081 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17082
17083         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17084         than the comma operator, to avoid "rhs of comma has no effect"
17085         compiler warnings.
17086         (__sigfillset, __sigandset, __sigorset): Likewise.
17087         * include/signal.h (__sigemptyset): Likewise.
17088         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17089
17090 2014-02-07  Allan McRae  <allan@archlinux.org>
17091
17092         * version.h (RELEASE): Set to "development".
17093         (VERSION): Set to "2.19.90"
17094         * NEWS: Add 2.20 section.
17095
17096 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17097
17098         [BZ #16529]
17099         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17100
17101 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17102
17103         * manual/contrib.texi: Update entry for Carlos O'Donell,
17104         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17105
17106 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17107
17108         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17109
17110         * sysdeps/unix/sysv/linux/kernel-features.h
17111         [__LINUX_KERNEL_VERSION >= 0x020621]
17112         (__ASSUME_PROC_PID_TASK_COMM): Define.
17113
17114 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17115
17116         [BZ #16398]
17117         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17118         conversion when destination buffer does not have enough space.
17119         * libio/tst-ftell-partial-wide.c: New test case.
17120         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17121
17122         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17123         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17124         Leonard and Allan McRae.
17125
17126 2014-02-04  David S. Miller  <davem@davemloft.net>
17127
17128         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17129         32-bit.
17130
17131 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17132
17133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17134         New file
17135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17136         New file
17137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17138         New file.
17139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17140         New file.
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17142         New file.
17143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17144         New file.
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17146         New file.
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17148         New file.
17149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17150         New file.
17151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17152         New file.
17153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17154         New file.
17155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17156         New file.
17157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17158         New file.
17159
17160 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17161
17162         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17163         * shlib-versions: Likewise.
17164
17165 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17166             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17167
17168         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17169         (abilist-pattern): New variable, set to %-le.abilist.
17170
17171         * Makerules (abilist-pattern): New variable.
17172         (vpath): Use $(abilist-pattern) in place of %.abilist.
17173         (check-abi-% pattern rule): Likewise.
17174         (check-abi, update-abi): Likewise.
17175
17176 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17177
17178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17179
17180 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17181
17182         * manual/startup.texi: Add next, previous, and top entries for
17183         the `Program Arguments' and `Environment Variables' nodes.
17184
17185 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17186
17187         * manual/macros.texi: Add comments before MTASC-safety macros.
17188
17189         * manual/users.texi: Document MTASC-safety properties.
17190
17191         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17192         (pthread_getspecific, pthread_setspecific): Format with
17193         @deftypefun, and add @safety note.
17194         * manual/signal.texi: Move comments that analyze the above
17195         functions to their home place.
17196
17197 2014-02-03  Allan McRae  <allan@archlinux.org>
17198
17199         * po/sl.po: Update Slovenian translation from translation project.
17200
17201 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17202
17203         * manual/time.texi (timegm): Add missing blank after @c.
17204         Reported by Joseph Myers <joseph@codesourcery.com>.
17205
17206 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17207
17208         * manual/check-safety.sh: New.
17209         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17210
17211         * manual/terminal.texi: Document MTASC-safety properties.
17212
17213         * manual/filesys.texi: Document MTASC-safety properties.
17214
17215         * manual/errno.texi: Document MTASC-safety properties.
17216
17217         * manual/intro.texi: Document safety identifiers and
17218         conditionals.
17219
17220         * manual/string.texi (wcstok): Fix prototype.
17221         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17222
17223         * manual/time.texi: Document MTASC-safety properties.
17224
17225         * manual/string.texi: Document MTASC-safety properties.
17226
17227         * manual/threads.texi: Document MTASC-safety properties.
17228
17229         * manual/stdio.texi: Document MTASC-safety properties.
17230
17231         * manual/syslog.texi: Document MTASC-safety properties.
17232
17233         * manual/sysinfo.texi: Document MTASC-safety properties.
17234
17235         * manual/startup.texi: Document MTASC-safety properties.
17236
17237         * manual/socket.texi: Document MTASC-safety properties.
17238
17239         * manual/signal.texi: Document MTASC-safety properties.
17240
17241 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17242
17243         * manual/setjmp.texi: Document MTASC-safety properties.
17244
17245         * manual/search.texi: Document MTASC-safety properties.
17246
17247         * manual/resource.texi: Document MTASC-safety properties.
17248
17249         * manual/process.texi: Document MTASC-safety properties.
17250
17251         * manual/platform.texi: Document MTASC-safety properties.
17252
17253         * manual/pipe.texi: Document MTASC-safety properties.
17254
17255         * manual/pattern.texi: Document MTASC-safety properties.
17256
17257         * manual/message.texi: Document MTASC-safety properties.
17258
17259         [BZ #12751]
17260         * manual/memory.texi: Document MTASC-safety properties.
17261
17262         * manual/math.texi: Document MTASC-safety properties.
17263
17264         * manual/locale.texi: Document MTASC-safety properties.
17265
17266         * manual/llio.texi: Document MTASC-safety properties.
17267
17268         * manual/libdl.texi: New.
17269
17270         * manual/lang.texi: Document MTASC-safety properties.
17271
17272         * manual/job.texi: Document MTASC-safety properties.
17273
17274         * manual/getopt.texi: Document MTASC-safety properties.
17275
17276         * manual/ctype.texi: Document MTASC-safety properties.
17277
17278 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17279
17280         [BZ #16046]
17281         * csu/libc-tls.c (static_map): Remove variable.
17282         (__libc_setup_tls): Use main executable's link map for TLS data.
17283         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17284         casing for LM_ID_BASE and GL(dl_nns).
17285         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17286         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17287         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17288         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17289         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17290         member.
17291         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17292         l_phnum members.
17293
17294 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17295
17296         * manual/debug.texi: Document MTASC-safety properties.
17297
17298 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17299
17300         [BZ #16510]
17301         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17302         of __x86_64__ when disabling x87 inline functions.
17303
17304 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17305
17306         * manual/charset.texi: Document MTASC-safety properties.
17307
17308         * manual/crypt.texi: Document MTASC-safety properties.
17309
17310         * manual/conf.texi: Document MTASC-safety properties.
17311
17312         * manual/arith.texi: Document MTASC-safety properties.
17313
17314         * manual/argp.texi: Document MTASC-safety properties.
17315
17316         * manual/macros.texi: Introduce macros to document multi
17317         thread, asynchronous signal and asynchronous cancellation
17318         safety properties.
17319         * manual/intro.texi: Introduce the properties themselves.
17320
17321 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17322
17323         * sysdeps/sh/sh4/Makefile: New file.
17324
17325 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17326
17327         * math/gen-libm-test.pl ($srcdir): New variable.
17328         ($auto_input): Use it.
17329
17330 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17331
17332         [BZ #16506]
17333         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17334         access beyond array bounds when parsing netgroups file.
17335
17336         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17337         the old buffer before realloc.
17338
17339 2014-01-27  Allan McRae  <allan@archlinux.org>
17340
17341         * po/fr.po: Update French translation from translation project.
17342
17343 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17344
17345         * sysdeps/sh/libm-test-ulps: Regenerate.
17346
17347 2014-01-24  David S. Miller  <davem@davemloft.net>
17348
17349         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17350
17351 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17352
17353         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17354         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17355
17356 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17357
17358         [BZ #16474]
17359         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17360         string pointers after reallocation.
17361
17362 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17363
17364         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17365         __SH4A__ instead of __SH_FPU_ANY__.
17366
17367 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17368
17369         * sysdeps/sh/fpu_control.h: New file.
17370         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17371         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17372         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17373         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17374         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17375         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17376         * sysdeps/sh/sys/ucontext.h: Remove.
17377         * sysdeps/sh/sys: Remove directory.
17378
17379 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17380
17381         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17382         s390/sys/ucontext.h.
17383         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17384         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17385
17386 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17387
17388         [BZ #15605]
17389         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17390
17391 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17392
17393         [BZ#16431]
17394         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17395         Adjust the vDSO correctly for internal calls.
17396         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17397
17398 2014-01-20  Allan McRae  <allan@archlinux.org>
17399
17400         * po/ca.po: Update Catalan translation from translation project.
17401
17402 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17403
17404         * sysdeps/s390/sotruss-lib.c: New file.
17405
17406 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17407
17408         [BZ#16430]
17409         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17410         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17411         local calls issues by not having a PLT stub required for IFUNC calls.
17412         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17413
17414 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17415
17416         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17417         * math/test-fpucw-static.c: Likewise.
17418
17419 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17420
17421         [BZ #16453]
17422         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17423
17424 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17425
17426         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17427         implementation for powerpc.
17428
17429 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17430
17431         [BZ #14782]
17432         * sysdeps/posix/system.c (__libc_system): Do not enable
17433         asynchronous cancellation.
17434
17435 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17436
17437         [BZ #16427]
17438         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17439         handling only for numbers special also in the IEEE case.
17440
17441 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17442
17443         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17444
17445 2014-01-11  Allan McRae  <allan@archlinux.org>
17446
17447         * po/bg.po: Update Bulgarian translation from translation project.
17448
17449         * po/de.po: Update German translation from translation project.
17450
17451 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17452
17453         * sysdeps/generic/gcc-compat.h: New file.
17454
17455 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17456
17457         * benchtests/asin-inputs: Correct slow inputs.
17458         * benchtests/acos-inputs: Likewise.
17459
17460 2014-01-10  Allan McRae  <allan@archlinux.org>
17461
17462         * po:sv.po: Update Swedish translation from translation project.
17463
17464         * po/vi.po: Update Vietnamese translation from translation project.
17465
17466         * po/eo.po: Update Esperanto translation from translation project.
17467
17468         * po/cs.po: Update Czech translation from translation project.
17469
17470         * po/nl.po: Update Dutch translation from translation project.
17471
17472         * po/pl.po: Update Polish translation from translation project.
17473
17474         * po/ru.po: Update Russian translation from translation project.
17475
17476         * po/uk.po: Update Ukrainian translation from translation project.
17477
17478 2014-01-08  Brooks Moses  <bmoses@google.com>
17479
17480         * elf/dl-load.c: Fix comment typo.
17481
17482 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17483
17484         * po/header.pot: Rename to...
17485         * po/pot.header: ... this.
17486         * po/Makefile: Use pot.header.
17487
17488 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17489             Maxim Kuvyrkov  <maxim@kugelworks.com>
17490
17491         [BZ #16394]
17492         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17493         SRC and DEST against LEN.
17494
17495 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17496
17497         [BZ #16414]
17498         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17499         implementation.
17500         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17501
17502 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17503
17504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17505
17506 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17507
17508         [BZ #16408]
17509         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17510         for large positive arguments.
17511
17512 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17513
17514         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17515
17516         * math/auto-libm-test-in: Mark various tests with
17517         xfail-rounding:ldbl-128ibm.
17518         * math/auto-libm-test-out: Regenerated.
17519
17520         [BZ #16407]
17521         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17522         Increase overflow threshold.
17523
17524 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17525
17526         [BZ #14286]
17527         * stdio-common/vfprintf.c: Check for integer overflow.
17528
17529 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17530
17531         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17532         the first argument and return value of __tls_get_addr_internal.
17533
17534 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17535
17536         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17537         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17538
17539 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17540
17541         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17542         * sysdeps/s390/rtld-global-offsets.sym: New file.
17543         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17544         GLIBC_2.19 symbol.
17545         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17546         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17547         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17548         ... this.
17549         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17550         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17551         ... this.
17552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17553         Regenerate.
17554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17555         Regenerate.
17556         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17557         halfs of GPRs for high_gprs contexts.
17558         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17559         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17560         field.
17561         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17562         uc_flags field.
17563         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17564         64 bit versions:
17565         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17566         for high GPRs (uc_high_gprs) and for future extensions
17567         (__reserved).
17568         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17569         for future extensions (__reserved).
17570         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17571         64 bit versions:
17572         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17573         SC_HIGHGPRS offset definition.
17574         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17575         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17576
17577         * Versions.def: Add GLIBC_2.19 for libpthread.
17578         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17579         siglongjmp for libpthread with GLIBC_2.19 symver.
17580         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17581         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17582         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17583         * sysdeps/s390/__longjmp.c: New file.
17584         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17585         * sysdeps/s390/longjmp.c: New file.
17586         * sysdeps/s390/setjmp.S: New file.
17587         * sysdeps/s390/sigjmp.S: New file.
17588         * sysdeps/s390/v1-longjmp.c: New file.
17589         * sysdeps/s390/v1-setjmp.h: New file.
17590         * sysdeps/s390/v1-sigjmp.c: New file.
17591         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17592         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17593         GLIBC_2.19 version.
17594         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17595         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17596         versioned symbols for ____longjmp_chk.
17597         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17598         Likewise.
17599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17600         Regenerate.
17601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17602         Regenerate.
17603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17604         Regenerate.
17605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17606         Regenerate.
17607         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17608         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17609         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17610         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17611         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17612         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17613         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17614         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17615         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17616         * sysdeps/s390/rtld-__longjmp.c: New file.
17617         * sysdeps/s390/rtld-setjmp.S: New file.
17618
17619 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17620
17621         [BZ #16400]
17622         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17623         Return -__logl (x) for small positive arguments without evaluating
17624         a polynomial.
17625
17626 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17627
17628         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17629         Rename to ...
17630         (__ptrace_peeksiginfo_args): ... this.
17631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17632         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17633         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17634
17635 2014-01-06  Allan McRae  <allan@archlinux.org>
17636
17637         * inet/netinet/in.h: Fix typo in comment.
17638
17639 2014-01-05  Andreas Jaeger  <aj@suse.de>
17640
17641         * sysdeps/i386/fpu/libm-test-ulps: Update.
17642
17643 2014-01-05  Allan McRae  <allan@archlinux.org>
17644
17645         * po/libc.pot: Regenerated.
17646
17647         * malloc/memusagestat.c: Fix gettext call formatting.
17648
17649 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17650
17651         * nscd/nscd.c: Improve usage() output.
17652
17653 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17654
17655         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17656         * sysdeps/unix/sysv/linux/configure: Regenerated.
17657         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17658         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17659
17660 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17661
17662         [BZ #16390]
17663         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17664         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17665
17666 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17667
17668         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17669         extra tokens at end of #undef directive.
17670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17671         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17673
17674 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17675
17676         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17677
17678         * math/auto-libm-test-in: Mark various tests with
17679         xfail-rounding:ldbl-128ibm.
17680         * math/auto-libm-test-out: Regenerated.
17681
17682 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17683
17684         [BZ #16386]
17685         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17686         numbers with subnormal high part when calculating exponent.
17687
17688         [BZ #16385]
17689         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17690         fabs.
17691
17692         [BZ #16384]
17693         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17694         M_LN2l.
17695         (__ieee754_acoshl): Use __log1pl not __log1p.
17696
17697 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17698
17699         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17700         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17701         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17702         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17703         (reused_arena, arena_get2): Convert to GNU style.
17704         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17705         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17706         (memalign_check, __malloc_set_state): Likewise.
17707         * malloc/mallocbug.c (main): Likewise.
17708         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17709         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17710         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17711         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17712         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17713         (__posix_memalign, malloc_info): Likewise.
17714         * malloc/malloc.h: Likewise.
17715         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17716         (mallochook, memalignhook, reallochook, mabort): Likewise.
17717         * malloc/mcheck.h: Likewise.
17718         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17719         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17720         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17721         * malloc/morecore.c (__default_morecore): Likewise.
17722         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17723         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17724         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17725         (print_and_abort): Likewise.
17726         * malloc/obstack.h: Likewise.
17727         * malloc/set-freeres.c (__libc_freeres): Likewise.
17728         * malloc/tst-mallocstate.c (main): Likewise.
17729         * malloc/tst-mtrace.c (main): Likewise.
17730         * malloc/tst-realloc.c (do_test): Likewise.
17731
17732 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17733
17734         [BZ #16366]
17735         * nscd/netgroupcache.c (do_notfound): New function.
17736         (addgetnetgrentX): Use it.
17737
17738         [BZ # 16365]
17739         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17740         NSS_STATUS_NOTFOUND.
17741
17742 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17743
17744         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17746
17747 2014-01-01  Allan McRae  <allan@archlinux.org>
17748
17749         * scripts/update-copyrights: Update configure input file suffix.
17750
17751         * NEWS: Update copyright year.
17752         * catgets/gencat.c: Likewise.
17753         * csu/version.c: Likewise.
17754         * debug/catchsegv.sh: Likewise.
17755         * debug/pcprofiledump.c: Likewise.
17756         * debug/xtrace.sh: Likewise.
17757         * elf/ldconfig.c: Likewise.
17758         * elf/ldd.bash.in: Likewise.
17759         * elf/pldd.c: Likewise.
17760         * elf/sotruss.ksh: Likewise.
17761         * elf/sprof.c: Likewise.
17762         * iconv/iconv_prog.c: Likewise.
17763         * iconv/iconvconfig.c: Likewise.
17764         * locale/programs/locale.c: Likewise.
17765         * locale/programs/localedef.c: Likewise.
17766         * login/programs/pt_chown.c: Likewise.
17767         * malloc/memusage.sh: Likewise.
17768         * malloc/memusagestat.c: Likewise.
17769         * malloc/mtrace.pl: Likewise.
17770         * manual/libc.texinfo: Likewise.
17771         * nscd/nscd.c: Likewise.
17772         * nss/getent.c: Likewise.
17773         * nss/makedb.c: Likewise.
17774         * posix/getconf.c: Likewise.
17775         * scripts/test-installation.pl: Likewise.
17776
17777         * All files with FSF copyright notices: Update copyright dates
17778         using scripts/update-copyrights.
17779         * intl/plural.c: Regenerated.
17780         * locale/programs/charmap-kw.h: Likewise.
17781         * locale/programs/locfile-kw.h: Likewise.
17782
17783 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17784
17785         * sysdeps/unix/sysv/linux/configure: Regenerated.
17786         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17787         the linux/fanotify.h header.
17788         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17789         HAVE_LINUX_FANOTIFY_H is defined.
17790
17791 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17792
17793         * benchtests/cos-inputs: New inputs.
17794         * benchtests/sin-inputs: Likewise.
17795
17796         * benchtests/atan-inputs: New inputs. Fix name of multiple
17797         precision fallback inputs.
17798
17799         * benchtests/atanh-inputs: New inputs.
17800         * benchtests/tanh-inputs: Likewise.
17801
17802         * benchtests/acosh-inputs: New inputs.
17803         * benchtests/asinh-inputs: Likewise.
17804
17805         * benchtests/cosh-inputs: New inputs.
17806         * benchtests/sinh-inputs: Likewise.
17807
17808         * benchtests/acos-inputs: Add more inputs.
17809         * benchtests/asin-inputs: Likewise.
17810
17811 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17812
17813         [BZ #16375]
17814         * manual/arith.texi: Fix spelling.
17815         * manual/charset.texi: Likewise.
17816         * manual/errno.texi: Likewise.
17817         * manual/filesys.texi: Likewise.
17818         * manual/lang.texi: Likewise.
17819         * manual/llio.texi: Likewise.
17820         * manual/locale.texi: Likewise.
17821         * manual/message.texi: Likewise.
17822         * manual/resource.texi: Likewise.
17823         * manual/search.texi: Likewise.
17824         * manual/setjmp.texi: Likewise.
17825         * manual/stdio.texi: Likewise.
17826         * manual/string.texi: Likewise.
17827         * manual/sysinfo.texi: Likewise.
17828         * manual/time.texi: Likewise.
17829
17830 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17831
17832         * po/sl.po: New file.
17833
17834 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17835
17836         * .gitignore: Add core/.gdbinit/.gdb_history.
17837
17838 2013-12-27  Allan McRae  <allan@archlinux.org>
17839
17840         [BZ #16369]
17841         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17842         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17843
17844 2013-12-24  Brooks Moses  <bmoses@google.com>
17845
17846         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17847         all compilers that claim C++98 compliance, not just GCC.
17848         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17849         Likewise.
17850
17851 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17852
17853         * NEWS: Restore accidentally deleted bug-fix entries.
17854
17855 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17856             Ondřej Bílka  <neleai@seznam.cz>
17857
17858         [BZ #15073]
17859         * malloc/malloc.c (_int_free): Perform sanity check only if we
17860         have_lock.
17861
17862 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17863
17864         [BZ #12986]
17865         * manual/stdio.texi (String Input Conversions): Clarify that character
17866         classes are not supported.
17867
17868 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17869
17870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17871
17872 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17873
17874         [BZ #16337]
17875         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17876         Calculate results for small negative arguments directly rather
17877         than using reflection formula with special underflow handling.
17878
17879         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17880         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17881         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17882         (fchflags): Likewise.
17883         (revoke): Likewise.
17884         (setlogin): Likewise.
17885         (sigaltstack): Likewise.
17886         (wait4): Likewise.
17887         (sigblock): Remove.
17888         (sigsetmask): Likewise.
17889         (wait3): Likewise.
17890         (waitpid): Likewise.
17891         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17892         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17893         file.
17894         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17895         * sysdeps/unix/bsd/Makefile: ... here.
17896         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17897         * sysdeps/unix/bsd/Versions: ... here.
17898         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17899         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17900         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17901         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17902         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17903         * sysdeps/unix/bsd/sigblock.c: ... here.
17904         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17905         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17906         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17907         * sysdeps/unix/bsd/sigvec.c: ... here.
17908         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17909         * sysdeps/unix/bsd/tcdrain.c: ... here.
17910         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17911         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17912         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17913         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17914         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17915         * sysdeps/unix/bsd/wait.c: ... here.
17916         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17917         * sysdeps/unix/bsd/wait3.c: ... here.
17918         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17919         * sysdeps/unix/bsd/waitpid.c: ... here.
17920
17921 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17922
17923         [BZ #16356]
17924         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17925         round-to-nearest for [!USE_AS_EXPM1L].
17926         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17927         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17928         more tests of exp and exp10.  Expect some exp10 tests to miss
17929         exceptions or fail in directed rounding modes.
17930         * math/auto-libm-test-out: Regenerated.
17931         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17932         (exp10_test_tonearest): New function.
17933         (exp10_towardzero_test_data): New array.
17934         (exp10_test_towardzero): New function.
17935         (exp10_downward_test_data): New array.
17936         (exp10_test_downward): New function.
17937         (exp10_upward_test_data): New array.
17938         (exp10_test_upward): New function.
17939         (main): Call the new functions.
17940         * sysdeps/i386/fpu/libm-test-ulps: Update.
17941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17942
17943 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17944
17945         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17946         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17947         * math/auto-libm-test-out: Regenerated.
17948         * math/libm-test.inc (acosh_test_data): Add more tests.
17949         (atanh_test_data): Likewise.
17950         (ceil_test_data): Likewise.
17951         (copysign_test_data): Likewise.
17952         * sysdeps/i386/fpu/libm-test-ulps: Update.
17953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17954
17955         * timezone/checktab.awk: Update from tzcode 2013i.
17956         * timezone/private.h: Likewise.
17957         * timezone/scheck.c: Likewise.
17958         * timezone/tzfile.h: Likewise.
17959         * timezone/tzselect.ksh: Likewise.
17960         * timezone/zdump.c: Likewise.
17961         * timezone/zic.c: Likewise.
17962
17963         * math/auto-libm-test-in: Add tests of cpow.
17964         * math/auto-libm-test-out: Regenerated.
17965         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17967         mpc_cc_c.
17968         (func_calc_desc): Add mpc_cc_c union field.
17969         (test_functions): Add cpow.
17970         (special_fill_2pi): New function.
17971         (special_real_inputs): Add 2pi.
17972         (calc_generic_results): Handle mpc_cc_c.
17973         * sysdeps/i386/fpu/libm-test-ulps: Update.
17974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17975
17976         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17977         csqrt, ctan and ctanh.
17978         * math/auto-libm-test-out: Regenerated.
17979         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17980         (TEST_COND_x86): Likewise.
17981         (ccos_test_data): Use AUTO_TESTS_c_c.
17982         (ccosh_test_data): Likewise.
17983         (cexp_test_data): Likewise.
17984         (clog_test_data): Likewise.
17985         (csqrt_test_data): Likewise.
17986         (ctan_test_data): Likewise.
17987         (ctan_tonearest_test_data): Likewise.
17988         (ctan_towardzero_test_data): Likewise.
17989         (ctan_downward_test_data): Likewise.
17990         (ctan_upward_test_data): Likewise.
17991         (ctanh_test_data): Likewise.
17992         (ctanh_tonearest_test_data): Likewise.
17993         (ctanh_towardzero_test_data): Likewise.
17994         (ctanh_downward_test_data): Likewise.
17995         (ctanh_upward_test_data): Likewise.
17996         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17997         mpc_c_c.
17998         (func_calc_desc): Add mpc_c_c union field.
17999         (FUNC_mpc_c_c): New macro.
18000         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18001         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18002         ctanh.
18003         (special_fill_min_subnorm_p120): New function.
18004         (special_real_inputs): Add min_subnorm_p120.
18005         (calc_generic_results): Handle mpc_c_c.
18006         * sysdeps/i386/fpu/libm-test-ulps: Update.
18007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18008
18009 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18010
18011         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18012         (do_sin_slow): New functions.
18013         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18014         (cslow2, csloww1, csloww2): Use the new functions.
18015
18016         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18017         Use M to change sign of result instead of X.  Assume X is
18018         positive.
18019         (csloww1): Likewise.
18020         (__sin): Adjust.
18021         (__cos): Adjust.
18022
18023         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18024         arguments A and DA.
18025         (__sin): Adjust.
18026         (__cos): Likewise.
18027
18028         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18029         (__cos): Likewise.
18030         (sloww1): Don't adjust sign of DX.
18031         (csloww1): Likewise.
18032         (sloww2): Use X directly and don't adjust sign of DX.
18033         (csloww2): Likewise.
18034
18035 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18036
18037         * math/auto-libm-test-in: Add tests of cabs and carg.
18038         * math/auto-libm-test-out: Regenerated.
18039         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18040         (carg_test_data): Likewise.
18041         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18042         mpc_c_f.
18043         (func_calc_desc): Add mpc_c_f union field.
18044         (test_functions): Add cabs and carg.
18045         (calc_generic_results): Handle mpc_c_f.
18046
18047         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18048         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18049         as a macro and a compat symbol.
18050         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18051         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18052         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18053         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18054         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18055         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18056         not use .hidden.
18057         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18058         Likewise.
18059         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18060         Likewise.
18061         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18062         Likewise.
18063         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18064         Likewise.
18065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18066         Likewise.
18067         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18068         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18069         from GLIBC_2.3.2.
18070
18071 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18072
18073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18074
18075 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18076
18077         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18078         trailing whitespace removed.
18079         * scripts/config.guess: Update to version 2013-11-29.
18080         * scripts/config.sub: Update to version 2013-10-01.
18081
18082         * math/auto-libm-test-in: Add tests of sincos.
18083         * math/auto-libm-test-out: Regenerated.
18084         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18085         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18086         mpfr_f_11.
18087         (func_calc_desc): Add mpfr_f_11 union field.
18088         (test_functions): Add sincos.
18089         (calc_generic_results): Handle mpfr_f_11.
18090         * sysdeps/i386/fpu/libm-test-ulps: Update.
18091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18092
18093 2013-12-19  Andreas Schwab  <schwab@suse.de>
18094
18095         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18096         CALL_MCOUNT.
18097         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18098         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18099         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18100
18101 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18102
18103         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18104         * sysdeps/i386/fpu/libm-test-ulps: Update.
18105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18106
18107         [BZ #16293]
18108         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18109         round-to-nearest mode when using frndint.
18110         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18111         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18112         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18113         Likewise.
18114         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18115         sinh test to fail.
18116         * math/auto-libm-test-out: Regenerated.
18117         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18118         (TEST_COND_x86): Likewise.
18119         (expm1_tonearest_test_data): New array.
18120         (expm1_test_tonearest): New function.
18121         (expm1_towardzero_test_data): New array.
18122         (expm1_test_towardzero): New function.
18123         (expm1_downward_test_data): New array.
18124         (expm1_test_downward): New function.
18125         (expm1_upward_test_data): New array.
18126         (expm1_test_upward): New function.
18127         (main): Run the new test functions.
18128         * sysdeps/i386/fpu/libm-test-ulps: Update.
18129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18130
18131         * include/features.h: Update comment documenting feature test
18132         macros.  Mention _DEFAULT_SOURCE in comment.
18133         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18134         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18135         _BSD_SOURCE and _SVID_SOURCE.
18136         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18137         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18138         !_SVID_SOURCE]: Likewise.
18139         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18140         (__USE_POSIX_IMPLICITLY): Define.
18141         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18142         (_POSIX_SOURCE): Undefine and redefine.
18143         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18144         (_POSIX_C_SOURCE): Likewise.
18145         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18146         (Feature Test Macros): Update documentation of default features.
18147
18148 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18149
18150         * benchtests/Makefile: Add bench-strtok.
18151         * benchtests/bench-strtok.c: New file: strtok benchtest.
18152
18153 2013-12-19  Allan McRae  <allan@archlinux.org>
18154
18155         * manual/install.texi: Suppress menu for plain text output.
18156         * INSTALL: Regenerated.
18157
18158 2013-12-18  Brooks Moses  <bmoses@google.com>
18159
18160         [BZ #15846]
18161         * misc/getauxval.c: Include errno.h.
18162         (__getauxval): Set errno to ENOENT if the requested type is not
18163         found.
18164         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18165         don't declare with __attribute_const__.
18166         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18167         * manual/startup.texi: Document that getauxval sets errno.
18168
18169 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18170
18171         * math/auto-libm-test-in: Add tests of jn and yn.
18172         * math/auto-libm-test-out: Regenerated.
18173         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18174         (yn_test_data): Likewise.
18175         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18176         mpfr_if_f.
18177         (func_calc_desc): Add mpfr_if_f union field.
18178         (FUNC_mpfr_if_f): New macro.
18179         (test_functions): Add jn and yn.
18180         (calc_generic_results): Assert type of second input for
18181         mpfr_ff_f.  Handle mpfr_if_f.
18182         (output_for_one_input_case): Disable all checking for arguments
18183         fitting floating-point types in case of an integer argument.
18184         * sysdeps/i386/fpu/libm-test-ulps: Update.
18185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18186
18187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18188         Don't expect fegetround reference in libm.so.
18189
18190 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18191
18192         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18193         $(config-cflags-nofma).
18194
18195 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18196
18197         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18198         * math/auto-libm-test-out: Regenerated.
18199
18200         [BZ #16338]
18201         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18202         to determine exponent and adjust argument to have exponent of -1.
18203         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18204         log2.
18205         * math/auto-libm-test-out: Regenerated.
18206         * sysdeps/i386/fpu/libm-test-ulps: Update.
18207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18208
18209 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18210
18211         * manual/probes.texi: Remove cases when per-thread arenas are
18212         disabled.
18213
18214 2013-12-18  Andreas Schwab  <schwab@suse.de>
18215
18216         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18217         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18218         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18219         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18220         * sysdeps/i386/i686/multiarch/Makefile: Update.
18221         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18222
18223 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18224
18225         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18226         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18227
18228 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18229
18230         [BZ #15968]
18231         Support TZ transition times < 00:00:00.
18232         This is needed for version-3 tz-format files; it supports time
18233         stamps past 2037 for America/Godthab (the only entry in the tz
18234         database for which this change is relevant).
18235         * manual/time.texi (TZ Variable): Document transition times
18236         from -167:59:59 through -00:00:01.
18237         * time/tzset.c (tz_rule): Time of day is now signed.
18238         (__tzset_parse_tz): Parse negative time of day.
18239
18240         Document TZ transition times >= 25:00:00.
18241         * manual/time.texi (TZ Variable): Document transition times from
18242         25:00:00 through 167:59:59.  These are already supported, and this
18243         support will help with version-3 tz-format files.
18244
18245         * manual/time.texi (TZ Variable): Modernize North America example
18246         to reflect current (i.e., 2007-and-later) daylight saving rules.
18247
18248         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18249
18250 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18251
18252         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18253         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18254         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18255         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18256         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18257         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18258         * sysdeps/unix/bsd/clock.c: Likewise.
18259         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18260         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18261         * sysdeps/unix/bsd/init-posix.c: Likewise.
18262         * sysdeps/unix/bsd/poll.c: Likewise.
18263         * sysdeps/unix/bsd/ptsname.c: Likewise.
18264         * sysdeps/unix/bsd/seekdir.c: Likewise.
18265         * sysdeps/unix/bsd/setegid.c: Likewise.
18266         * sysdeps/unix/bsd/seteuid.c: Likewise.
18267         * sysdeps/unix/bsd/setgid.c: Likewise.
18268         * sysdeps/unix/bsd/setrgid.c: Likewise.
18269         * sysdeps/unix/bsd/setruid.c: Likewise.
18270         * sysdeps/unix/bsd/setsid.c: Likewise.
18271         * sysdeps/unix/bsd/setuid.c: Likewise.
18272         * sysdeps/unix/bsd/sigaction.c: Likewise.
18273         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18274         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18275         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18276         * sysdeps/unix/bsd/telldir.c: Likewise.
18277         * sysdeps/unix/bsd/times.c: Likewise.
18278         * sysdeps/unix/bsd/usleep.c: Likewise.
18279
18280         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18281         ($(objpfx)libbsd-compat.a): Remove rule.
18282
18283         * include/features.h (__FAVOR_BSD): Do not define.
18284         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18285         features conflicting with POSIX.
18286         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18287         (_BSD_SOURCE): Remove description of not being a subset of other
18288         feature test macros.
18289         * manual/job.texi (getpgrp): Do not document BSD version.
18290         (getpgid): Do not document by reference to BSD getpgrp.
18291         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18292         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18293         * signal/signal.h [__FAVOR_BSD]: Likewise.
18294         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18295         instead of making contents conditional on [__FAVOR_BSD].
18296         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18297
18298 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18299
18300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18301
18302 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18303
18304         [BZ #16314]
18305         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18306         values below 2**-450, not 2**-500.
18307         * math/auto-libm-test-in: Don't allow spurious underflow from
18308         hypot.
18309         * math/auto-libm-test-out: Regenerated.
18310
18311         [BZ #16316]
18312         [BZ #16330]
18313         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18314         values of ha and hb and sort them after adjusting subnormal
18315         arguments.
18316         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18317         Likewise.
18318         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18319         values of ea and eb and sort them after adjusting subnormal
18320         arguments.
18321         * math/auto-libm-test-in: Do not expect some hypot tests of
18322         subnormals to fail.  Add more hypot tests.
18323         * math/auto-libm-test-out: Regenerated.
18324
18325 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18326
18327         [BZ #13304]
18328         * sysdeps/sh/s_fma.c: New file.
18329         * sysdeps/sh/s_fmaf.c: New file.
18330         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18331         version.
18332         * sysdeps/sh/Implies: Add sh/soft-fp.
18333
18334 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18335
18336         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18337         level of indirection to members `objname', `errstring', `malloced'.
18338         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18339         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18340         it as the __longjmp argument (just pass 1 instead).
18341         (_dl_catch_error): Initialize C with argument pointers and address of
18342         volatile local ERRCODE rather than copying values out of C at return.
18343
18344 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18345
18346         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18347         * math/auto-libm-test-out: Regenerated.
18348         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18349         (hypot_test_data): Likewise.
18350         (pow_test_data): Likewise.
18351         (pow_tonearest_test_data): Likewise.
18352         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18353         mpfr_ff_f.
18354         (func_calc_desc): Add mpfr_ff_f union field.
18355         (FUNC_mpfr_ff_f): New macro.
18356         (test_functions): Add atan2, hypot and pow.
18357         (special_fill_min): New function.
18358         (special_fill_minus_min): Likewise.
18359         (special_fill_min_subnorm): Likewise.
18360         (special_fill_minus_min_subnorm): Likewise.
18361         (special_real_inputs): Add min, -min, min_subnorm and
18362         -min_subnorm.
18363         (calc_generic_results): Handle mpfr_ff_f.
18364         * sysdeps/i386/fpu/libm-test-ulps: Update.
18365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18366
18367 2013-12-16  Will Newton  <will.newton@linaro.org>
18368
18369         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18370         (Aligned Memory Blocks): Add documentation for aligned_alloc
18371         and suggest it as an alternative to posix_memalign.
18372         (Hooks for Malloc): Document __memalign_hook is also called
18373         for aligned_alloc.  (Summary of Malloc): Add summary for
18374         aligned alloc.  Document __memalign_hook is also called
18375         for aligned_alloc.
18376
18377 2013-12-16  Will Newton  <will.newton@linaro.org>
18378
18379         * manual/memory.texi (Malloc Examples): Clarify default
18380         alignment documentation.  Suggest posix_memalign rather
18381         than memalign or valloc.
18382         (Aligned Memory Blocks): Remove suggestion to use memalign
18383         or valloc.  Remove obsolete comment about BSD.
18384         Document memalign errno values and mark the function obsolete.
18385         Document posix_memalign returned error codes.  Mark valloc
18386         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18387         called for posix_memalign and valloc.
18388         (Summary of Malloc): Add posix_memalign to function summary.
18389         __memalign_hook is also called for posix_memalign and valloc.
18390
18391 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392
18393         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18394         TAYLOR_SIN.
18395         (__sin): Adjust.
18396         (__cos): Likewise.
18397         (sloww): Use mynumber union.  Expand ternary operator into
18398         if-else statements.
18399         (cslow): use mynumber union.
18400
18401 2013-12-16  Allan McRae  <allan@archlinux.org>
18402
18403         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18404         * configure: Regenerated.
18405
18406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18407
18408         [BZ #14120]
18409         * configure.ac: Added --enable-maintainer-mode. Check for
18410         autoconf when enabled.
18411         * configure: Regenerated.
18412
18413         * nscd/nscd.service: New file.
18414         * nscd/nscd.tmpfiles: New file.
18415
18416 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18417
18418         [BZ #12100]
18419         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18420         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18421         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18422         (strstr): Add __strstr_sse2_unaligned ifunc.
18423         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18424         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18425         (strcasestr): Remove __strcasestr_sse42 ifunc.
18426         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18427         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18429
18430 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18431
18432         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18433         * sysdeps/sh/bits/fenv.h: ... here.
18434         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18435
18436 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18437
18438         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18439
18440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18441         hypotf multiarch implementations.
18442         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18443         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18444         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18445         multiarch hypot for PPC64.
18446         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18447         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18448         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18449         multiarch hypotf for PPC64.
18450
18451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18452         modff multiarch implementations.
18453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18456         multiarch modf for PPC64.
18457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18460         multiarch modff for PPC64.
18461
18462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18463         and logl multiarch implementations.
18464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18467         multiarch logb for PPC64.
18468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18471         multiarch logb for PPC64.
18472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18475         multiarch logb for PPC64.
18476
18477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18478         isinff multiarch implementation.
18479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18480         file.
18481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18483         multiarch isinf for PPC64.
18484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18485         file.
18486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18487         multiarch isinff for PPC64.
18488
18489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18490         finitef multiarch implementation.
18491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18492         file.
18493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18495         multiarch finite for PPC64.
18496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18497         file.
18498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18499         multiarch finitef for PPC64.
18500
18501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18502         lrint multiarch implementation.
18503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18504         file.
18505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18507         multiarch llrint for PPC64.
18508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18509         multiarch lrint for PPC64.
18510
18511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18512         copysignf multiarch implementation.
18513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18514         file.
18515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18516         file.
18517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18518         multiarch copysign for PPC64.
18519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18520         multiarch copysignf for PPC64.
18521
18522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18523         multiarch implementation.
18524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18525         file.
18526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18527         file.
18528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18529         file.
18530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18531         file.
18532         multiarch llround for PPC64.
18533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18534         multiarch trunc for PPC64.
18535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18536         multiarch truncf for PPC64.
18537
18538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18539         multiarch implementation.
18540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18541         file.
18542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18543         file.
18544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18545         file.
18546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18547         file.
18548         multiarch llround for PPC64.
18549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18550         multiarch round for PPC64.
18551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18552         multiarch roundf for PPC64.
18553
18554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18555         multiarch implementation.
18556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18557         file.
18558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18559         file.
18560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18561         file.
18562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18563         file.
18564         multiarch llround for PPC64.
18565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18566         multiarch floor for PPC64.
18567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18568         multiarch floorf for PPC64.
18569
18570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18571         multiarch implementation.
18572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18573         file.
18574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18575         file.
18576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18577         file.
18578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18579         file.
18580         multiarch llround for PPC64.
18581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18582         multiarch ceil for PPC64.
18583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18584         multiarch ceilf for PPC64.
18585
18586         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18587         multiarch implementation.
18588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18589         file.
18590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18591         file.
18592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18593         file.
18594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18595         multiarch llround for PPC64.
18596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18597         multiarch lround for PPC64.
18598
18599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18600         multiarch implementation.
18601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18604         file.
18605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18608         multiarch isnan for PPC64.
18609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18610         multiarch isnanf for PPC64.
18611
18612         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18613         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18614         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18615         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18616         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18618
18619         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18620         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18621         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18622         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18623
18624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18625         multiarch implementations.
18626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18627         (__libc_ifunc_impl_list): Likewise.
18628         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18629         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18630         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18631         multiarch stpcpy for PPC64.
18632
18633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18634         multiarch implementations.
18635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18636         (__libc_ifunc_impl_list): Likewise.
18637         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18638         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18639         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18640         multiarch strcpy for PPC64.
18641
18642         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18643         redefine function name.
18644         (_wordcopy_fwd_dest_aligned): Likewise.
18645         (_wordcopy_bwd_aligned): Likewise.
18646         (_wordcopy_bwd_dest_aligned): Likewise.
18647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18648         multiarch implementations.
18649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18650         (__libc_ifunc_impl_list): Likewise.
18651         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18652         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18653         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18654         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18655         multiarch wcscpy for PPC64.
18656
18657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18658         multiarch implementations.
18659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18660         (__libc_ifunc_impl_list): Likewise.
18661         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18662         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18663         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18664         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18665         multiarch wcscpy for PPC64.
18666
18667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18668         multiarch implementations.
18669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18670         (__libc_ifunc_impl_list): Likewise.
18671         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18672         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18673         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18674         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18675         multiarch wcsrchr for PPC64.
18676
18677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18678         multiarch implementations.
18679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18680         (__libc_ifunc_impl_list): Likewise.
18681         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18682         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18683         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18684         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18685         multiarch wcschr for PPC64.
18686
18687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18688         multiarch implementations.
18689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18690         (__libc_ifunc_impl_list): Likewise.
18691         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18692         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18693         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18694         multiarch strchrnul for PPC64.
18695
18696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18697         implementations.
18698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18699         (__libc_ifunc_impl_list): Likewise.
18700         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18701         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18702         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18703         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18704         strchr for PPC64.
18705
18706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18707         implementations.
18708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18709         (__libc_ifunc_impl_list): Likewise.
18710         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18711         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18712         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18713         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18714         strncmp for PPC64.
18715
18716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18717         multiarch implementations.
18718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18719         (__libc_ifunc_impl_list): Likewise.
18720         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18721         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18722         strncasecmp for PPC64.
18723         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18724         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18725         multiarch strncasecmp_l for PPC64.
18726
18727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18728         multiarch implementations.
18729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18730         (__libc_ifunc_impl_list): Likewise.
18731         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18732         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18733         multiarch strcasecmp for PPC64.
18734         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18735         file.
18736         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18737         multiarch strcasecmp_l for PPC64.
18738
18739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18740         implementations.
18741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18742         (__libc_ifunc_impl_list): Likewise.
18743         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18744         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18745         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18746         strnlen for PPC64.
18747
18748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18749         implementations.
18750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18751         (__libc_ifunc_impl_list): Likewise.
18752         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18753         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18754         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18755         strlen for PPC64.
18756
18757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18758         implementations.
18759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18760         (__libc_ifunc_impl_list): Likewise.
18761         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18762         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18763         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18764         rawmemrchr for PPC64.
18765
18766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18767         implementation.
18768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18769         (__libc_ifunc_impl_list): Likewise.
18770         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18771         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18772         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18773         memrchr for PPC64.
18774
18775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18776         implementation.
18777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18778         (__libc_ifunc_impl_list): Likewise.
18779         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18780         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18781         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18782         memchr for PPC64.
18783
18784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18785         implementation.
18786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18787         (__libc_ifunc_impl_list): Likewise.
18788         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18789         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18790         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18791         mempcpy for PPC64.
18792
18793         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18794         avoid cretion of __bzero symbol.
18795         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18796         Likewise.
18797         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18798         Likewise.
18799         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18800         Likewise.
18801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18802         multiarch implementations.
18803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18804         (__libc_ifunc_impl_list): Likewise.
18805         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18806         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18807         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18808         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18809         bzero for PPC32.
18810         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18811         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18812         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18813         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18814         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18815         memset for PPC64.
18816         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18817
18818         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18820         implementations.
18821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18822         (__libc_ifunc_impl_list): Likewise.
18823         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18824         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18825         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18826         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18827         memcmp for PPC64.
18828
18829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18830         multiarch for POWER/PPC64.
18831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18832         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18833         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18834         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18835         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18836         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18837         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18838         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18839         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18840         memcpy for PPC64.
18841
18842         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18843         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18844         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18845         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18846         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18847         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18848         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18849         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18850         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18851         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18852         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18853         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18854         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18855         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18856         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18864
18865 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18866
18867         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18868
18869 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18870
18871         * benchtests/Makefile (bench): Add exp2 and log2.
18872         (LDLIBS-bench-exp2): Add -lm.
18873         (LDLIBS-bench-log2): Likewise.
18874         * benchtests/exp2-inputs: New inputs file.
18875         * benchtests/log2-inputs: New inputs file.
18876         * benchtests/log-inputs: Add new inputs.
18877         * benchtests/tan-inputs: Likewise.
18878
18879 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18880
18881         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18882         definition...
18883         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18884         (csloww2): ... from here.
18885
18886         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18887         instead of structures.
18888         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18889         (POLYNOMIAL): Likewise.
18890         (TAYLOR_SLOW): Likewise.
18891         (__sin): Likewise.
18892         (__cos): Likewise.
18893         (slow1): Likewise.
18894         (slow2): Likewise.
18895         (sloww): Likewise.
18896         (sloww1); Likewise.
18897         (sloww2): Likewise.
18898         (bsloww1): Likewise.
18899         (bsloww2): Likewise.
18900         (cslow2): Likewise.
18901         (csloww): Likewise.
18902         (csloww1): Likewise.
18903         (csloww2): Likewise.
18904
18905 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18906
18907         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18908         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18909         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18910         * malloc/hooks.c (realloc_check): Likewise.
18911
18912         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18913         * malloc/arena.c: Remove PER_THREAD conditional.
18914         [!PER_THREAD]: Remove code.
18915         (ptmalloc_unlock_all2): Likewise.
18916         (ptmalloc_init): Likewise.
18917         (_int_new_arena): Likewise.
18918         (arena_get2): Likewise.
18919         * malloc/hooks.c (__malloc_get_state): Likewise.
18920         (__malloc_set_state): Likewise.
18921         * malloc/malloc.c: Likewise.
18922         (struct malloc_state): Likewise.
18923         (struct malloc_par): Likewise.
18924         (__libc_realloc): Likewise.
18925         (__libc_mallopt): Likewise.
18926
18927 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18928
18929         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18930
18931 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18932
18933         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18934         macro to a function.  Check for zero perturb_byte.
18935         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18936
18937         * malloc/malloc.c: (force_reg): Remove.
18938         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18939         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18940         force_reg by atomic_forced_read.
18941         * malloc/arena.c (ptmalloc_init): Likewise.
18942         * malloc/hooks.c (top_check): Likewise.
18943
18944 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18945
18946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18947
18948 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18949
18950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18951
18952 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18953
18954         * math/auto-libm-test-in: Add tests of lgamma.
18955         * math/auto-libm-test-out: Regenerated.
18956         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18957         (M_LOG_2_SQRT_PIl): Likewise.
18958         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18959         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18960         mpfr_f_f1.
18961         (func_calc_desc): Add mpfr_f_f1 union field.
18962         (ARGS1): New macro.
18963         (ARGS2): Likewise.
18964         (ARGS3): Likewise.
18965         (ARGS4): Likewise.
18966         (RET1): Likewise.
18967         (RET2): Likewise.
18968         (CALC): Likewise.
18969         (FUNC): Likewise.
18970         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18971         (test_functions): Add lgamma.
18972         (calc_generic_results): Handle mpfr_f_f1.
18973         * sysdeps/i386/fpu/libm-test-ulps: Update.
18974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18975
18976 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18977
18978         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18979         __mpn_add_n for PowerPC64/POWER7.
18980         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18981         __mpn_sub_n for PowerPC64/POWER7.
18982
18983         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18984         __mpn_addmul_1 for PowerPC64.
18985         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18986         __mpn_submul_1 for PowerPC64.
18987         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18988         for PowerPC64.
18989         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18990         for PowerPC64.
18991
18992 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18993
18994         [BZ #15089]
18995         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18996
18997 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18998
18999         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19000
19001         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19002         add multiarch folders.
19003         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19004         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19005         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19006         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19007         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19008         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19009         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19010         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19011         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19012         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19013         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19020
19021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19022         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19024         New file.
19025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19026         New file.
19027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19028         multiarch __ieee754_hypot for PowerPC32.
19029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19030         New file.
19031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19032         New file.
19033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19034         multiarch __ieee754_hypotf for PowerPC32.
19035
19036         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19037         long_double_symbol only if __logbl is defined.
19038         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19039         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19040         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19041         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19043         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19044         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19045         path for implementation.
19046         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19047         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19049         logb, and logbl multiarch implementations for PowerPC32.
19050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19051         file.
19052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19053         file.
19054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19055         multiarch logb for PowerPC32.
19056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19057         file.
19058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19059         file.
19060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19061         multiarch logbf for PowerPC32.
19062         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19064         file.
19065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19066         multiarch logbl implementation for PowerPC32.
19067
19068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19069         and modff multiarch implementations.
19070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19071         New file.
19072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19073         New file.
19074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19075         multiarch modf for PowerPC32.
19076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19077         New file.
19078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19079         New file.
19080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19081         multiarch modff for PowerPC32.
19082
19083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19084         and lrintf multiarch implementations.
19085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19086         New file.
19087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19088         New file.
19089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19090         multiarch lrint for PowerPC32.
19091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19092         file: multiarch lrintf for PowerPC32.
19093
19094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19095         and lroundf multiarch implementations.
19096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19097         New file.
19098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19099         New file.
19100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19101         New file.
19102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19103         multiarch lround for PowerPC32.
19104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19105         file: multiarch lroundf for PowerPC32.
19106
19107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19108         copysign and copysignf multiarch implementations.
19109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19110         New file.
19111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19112         New file.
19113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19114         file: multiarch copysign for PowerPC32.
19115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19116         file: multiarch copysignf for PowerPC32.
19117
19118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19119         and truncf multiarch implementations.
19120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19121         New file.
19122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19123         file.
19124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19125         multiarch trunc for PowerPC32.
19126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19127         New file.
19128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19129         New file.
19130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19131         multiarch truncf for PowerPC32.
19132
19133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19134         and roundf multiarch implementations.
19135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19136         New file.
19137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19138         file.
19139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19140         multiarch round for PowerPC32.
19141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19142         New file.
19143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19144         New file.
19145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19146         multiarch roundf for PowerPC32.
19147
19148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19149         and floorf multiarch implementations.
19150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19151         New file.
19152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19153         file.
19154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19155         multiarch floor for PowerPC32.
19156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19157         New file.
19158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19159         New file.
19160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19161         multiarch floorf for PowerPC32.
19162
19163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19164         and ceilf multiarch implementations.
19165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19166         New file.
19167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19168         file.
19169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19170         multiarch ceil for PowerPC32.
19171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19172         New file.
19173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19174         file.
19175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19176         multiarch ceilf for PowerPC32.
19177
19178         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19179         is defined.
19180         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19181         FINITEF is defined.
19182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19183         and finitef multiarch implementations.
19184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19185         New file.
19186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19187         file.
19188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19189         multiarch finite for PowerPC32.
19190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19191         New file.
19192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19193         file: multiarch finitef for PowerPC32.
19194
19195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19196         and isinff multiarch implementations.
19197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19198         file.
19199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19200         file.
19201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19202         multiarch isinf for PowerPC32.
19203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19204         New file.
19205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19206         multiarch isinff for PowerPC32.
19207
19208         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19209         alias when __isnan is defined.
19210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19211         and isnanf multiarch implementations.
19212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19213         file.
19214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19215         file.
19216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19217         file.
19218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19219         file.
19220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19221         multiarch isnan for PowerPC32.
19222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19223         New file.
19224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19225         New file.
19226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19227         multiarch isnanf for PowerPC32.
19228
19229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19230         and sqrtf multiarch implementations.
19231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19232         file.
19233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19234         file.
19235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19236         multiarch sqrt for PowerPC32.
19237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19238         file.
19239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19240         file.
19241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19242         multiarch sqrtf for PowerPC32.
19243
19244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19245         and llroundf multiarch implementations.
19246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19247         New file.
19248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19249         New file.
19250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19251         New file.
19252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19253         file: multiarch llround for PowerPC32.
19254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19255         file: multiarch llroundf for PowerPC32.
19256
19257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19258         multiarch PowerPC32 fpu implementations.
19259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19260         New file.
19261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19262         New file.
19263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19264         multiarch llrint for PowerPC32.
19265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19266         New file.
19267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19268         New file.
19269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19270         file.
19271
19272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19273
19274         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19275         file.
19276         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19277         file.
19278         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19279         file.
19280         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19281         multiarch wordcopy for PPC32.
19282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19283         wordcopy objects.
19284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19285         (__libc_ifunc_impl_list): Likewise.
19286         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19287         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19288         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19289         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19291         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19292
19293         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19295         file.
19296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19297         file.
19298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19299         file.
19300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19301         multiarch wcscpy for PPC32.
19302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19303         multiarch objects.
19304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19305         (__libc_ifunc_impl_list): Likewise.
19306         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19307         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19308         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19309         sysdeps/powerpc/power6/wcscpy.c.
19310
19311         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19313         file.
19314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19315         file.
19316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19317         file.
19318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19319         multiarch wcsrchr for PPC32.
19320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19321         multiarch objects.
19322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19323         (__libc_ifunc_impl_list): Likewise.
19324         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19325         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19326         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19327         sysdeps/powerpc/power6/wcsrchr.c.
19328
19329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19330         file.
19331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19332         file.
19333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19334         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19335         multiarch wcschr for PPc32.
19336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19337         multiarch objects.
19338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19339         (__libc_ifunc_impl_list): Likewise.
19340         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19341         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19342         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19343         sysdeps/powerpc/power6/wcschr.c.
19344
19345         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19346         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19347         file.
19348         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19349         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19350         file: multiarch strchr for PPC32.
19351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19352         multiarch objects.
19353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19354         (__libc_ifunc_impl_list): Likewise.
19355
19356         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19357         name.
19358         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19359         file.
19360         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19361         file.
19362         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19363         multiarch strchrnul for PPC32.
19364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19365         multiarch objects.
19366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19367         (__libc_ifunc_impl_list): Likewise.
19368
19369         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19370         file.
19371         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19372         multiarch strncasecmp for PPC32.
19373         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19374         file.
19375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19376         multiarch strncasecmp_l for PPC32.
19377         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19378         strncasecmp multiarch objects.
19379         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19380         (__libc_ifunc_impl_list): Likewise.
19381
19382         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19383         file.
19384         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19385         multiarch strncasecmp for PPC32.
19386         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19387         New file.
19388         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19389         multiarch strcasecmp_l for PPC32.
19390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19391         multiarch objects.
19392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19393         (__libc_ifunc_impl_list): Likewise.
19394
19395         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19396         file.
19397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19398         file.
19399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19400         multiarch strncmp for PPC32.
19401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19402         multiarch objects.
19403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19404         (__libc_ifunc_impl_list): Likewise.
19405
19406         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19407         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19408         file.
19409         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19410         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
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/strlen-power7.S: New
19417         file.
19418         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19419         file.
19420         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
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/rawmemchr-power7.S: New
19427         file.
19428         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19429         file.
19430         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19431         multiarch rawmemchr for PPC32.
19432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19433         multiarch objects.
19434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19435         (__libc_ifunc_impl_list): Likewise.
19436
19437         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19438         file.
19439         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19440         file.
19441         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19442         file: memrchr multiarch for PPC32.
19443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19444         multiarch objects.
19445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19446         (__libc_ifunc_impl_list): Likewise.
19447
19448         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19449         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19450         file.
19451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19452         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19453         multiarch memchr for PPC32.
19454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19455         multiarch objects.
19456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19457         (__libc_ifunc_impl_list): Likewise.
19458
19459         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19460         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19461         file.
19462         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19463         file.
19464         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19465         file: multiarch mempcpy for PPC32.
19466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19467         multiarch objects.
19468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19469         (__libc_ifunc_impl_list): Likewise.
19470
19471         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19472         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19473         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19474         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19475         multiarch bzero for PPC32.
19476         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19477         file.
19478         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19479         file.
19480         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19481         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19482         file: multiarch memset for PPC32.
19483         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19485         memset multiarch objects.
19486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19487         (__libc_ifunc_impl_list): Likewise.
19488
19489         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19490         file.
19491         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19492         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19493         memcmp for PPC32.
19494         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19496         multiarch objects.
19497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19498         (__libc_ifunc_impl_list): Likewise.
19499
19500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19503         file.
19504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19505         file.
19506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19507         file.
19508         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19509         multiarch memcpy for PPC32.
19510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19511         multiarch objects.
19512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19513         (__libc_ifunc_impl_list): Likewise.
19514
19515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19516         support multiarch for POWER/PPC32.
19517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19518         Likewise.
19519         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19521         Implies file to make multiarch folder appers before the fpu and
19522         default folder for power4 configuration.
19523
19524 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19525
19526         * scripts/bench.pl: Append volatile keyword to type.
19527
19528 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19529
19530         * sysdeps/sh/sotruss-lib.c: New file.
19531         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19532
19533 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19534
19535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19536
19537 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19538
19539         [BZ #6810]
19540         * math/w_tgamma.c: Include <errno.h>.
19541         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19542         * math/w_tgammaf.c: Include <errno.h>.
19543         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19544         * math/w_tgammal.c: Include <errno.h>.
19545         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19546         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19547         underflow.  Add more tgamma tests.
19548         * math/auto-libm-test-out: Regenerated.
19549         * sysdeps/i386/fpu/libm-test-ulps: Update.
19550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19551
19552         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19553         sin, sinh, tan, tanh, tgamma, y0 and y1.
19554         * math/auto-libm-test-out: Regenerated.
19555         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19556         (TEST_COND_x86): Likewise.
19557         (M_E2l): Remove macro.
19558         (M_E3l): Likewise.
19559         (M_2_SQRT_PIl): Likewise.
19560         (M_SQRT_PIl): Likewise.
19561         (M_1_DIV_El): Likewise.
19562         (log_test_data): Use AUTO_TESTS_f_f.
19563         (log10_test_data): Likewise.
19564         (log1p_test_data): Likewise.
19565         (log2_test_data): Likewise.
19566         (sin_test_data): Likewise.
19567         (sin_tonearest_test_data): Likewise.
19568         (sin_towardzero_test_data): Likewise.
19569         (sin_downward_test_data): Likewise.
19570         (sin_upward_test_data): Likewise.
19571         (sinh_test_data): Likewise.
19572         (sinh_tonearest_test_data): Likewise.
19573         (sinh_towardzero_test_data): Likewise.
19574         (sinh_downward_test_data): Likewise.
19575         (sinh_upward_test_data): Likewise.
19576         (tan_test_data): Likewise.
19577         (tan_tonearest_test_data): Likewise.
19578         (tan_towardzero_test_data): Likewise.
19579         (tan_downward_test_data): Likewise.
19580         (tan_upward_test_data): Likewise.
19581         (tanh_test_data): Likewise.
19582         (tgamma_test_data): Likewise.
19583         (y0_test_data): Likewise.
19584         (y1_test_data): Likewise.
19585         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19586         (special_real_inputs): Add pi/4.
19587         * sysdeps/i386/fpu/libm-test-ulps: Update.
19588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19589
19590 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19591
19592         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19593         "longjmp_target" static probes.
19594         (__longjmp): Rename to __longjmp_symbol.
19595         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19596         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19597         on which longjmp to generate.
19598         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19599         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19600         probe.
19601         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19602         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19603         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19604         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19605         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19606         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19608         __longjmp_symbol based on which __longjmp to generate.
19609         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19610         probe.
19611         (setjmp): Rename to setjmp_symbol.
19612         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19613         (_setjmp): Rename to _setjmp_symbol.
19614         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19615         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19616         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19617         which setjmp to generate.
19618         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19619         "longjmp_target" static probes.
19620
19621 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19622
19623         * benchtests/README: Add note about output arguments.
19624         * benchtests/bench-sincos.c: Remove file.
19625         * benchtests/sincos-inputs: New file.
19626         * scripts/bench.pl: Identify output arguments and define
19627         static variables for them.
19628
19629         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19630
19631         [BZ #15941]
19632         * Makefile (INSTALL): Add install-plain.texi as the primary
19633         dependency.
19634         * manual/install-plain.texi: New file.
19635         * manual/install.texi: Include node directive only for
19636         non-plaintext output.
19637
19638 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19639
19640         * stdlib/longlong.h: Update from GCC.
19641
19642         [BZ #6807]
19643         [BZ #15901]
19644         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19645         * math/w_j0f.c (y0f): Likewise.
19646         * math/w_j0l.c (__y0l): Likewise.
19647         * math/w_j1.c (y1): Likewise.
19648         * math/w_j1f.c (y1f): Likewise.
19649         * math/w_j1l.c (__y1l): Likewise
19650         * math/w_jn.c (yn): Likewise.
19651         * math/w_jnf.c (ynf): Likewise.
19652         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19653         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19654         value for Bessel function domain errors outside _SVID_ mode.
19655         Adjust sign of return value for yn (negative integer, 0).
19656         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19657         by zero in return for negative x and set sign appropriately for
19658         negative n.
19659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19660         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19661         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19662         expectations in error cases.
19663         (y1_test_data): Likewise.
19664         (yn_test_data): Likewise.
19665         * sysdeps/i386/fpu/libm-test-ulps: Update.
19666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19667
19668 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19669
19670         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19671         "64" to "64-v1".  Add "64-v2".
19672         (abi-64-options): Rename to ...
19673         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19674         (abi-64-condition): Rename to ...
19675         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19676         (abi-64-ld-soname): Rename to ...
19677         (abi-64-v1-ld-soname): ... this.
19678         (abi-64-v2-options): Define.
19679         (abi-64-v2-condition): Likewise.
19680         (abi-64-v2-ld-soname): Likewise.
19681         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19682         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19686
19687 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19688             Alan Modra  <amodra@gmail.com>
19689
19690         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19691         New versions for use with the ELFv2 ABI.
19692         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19693         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19694         declaration.
19695         (struct La_ppc64v2_retval): Likewise.
19696         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19697         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19698         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19699         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19700         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19701         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19702         Do not save or restore CR.
19703         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19704         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19705         return values for ELFv2 ABI.  Fix location of FPR return registers.
19706         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19707         updated values for _CALL_ELF == 2.
19708         (La_regs, La_retval, int_retval): Likewise.
19709
19710 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19711
19712         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19713         (FRAME_MIN_SIZE_PARM): Likewise.
19714         (FRAME_BACKCHAIN): Likewise.
19715         (FRAME_CR_SAVE): Likewise.
19716         (FRAME_LR_SAVE): Likewise.
19717         (FRAME_TOC_SAVE): Likewise.
19718         (FRAME_PARM_SAVE): Likewise.
19719         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19720         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19721         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19722         (call_mcount_parm_offset): New macro.
19723         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19724         (PROF): Use symbolic stack frame offsets.
19725         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19726         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19727         Redefine in terms of FRAME_MIN_SIZE.
19728         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19729         (_dl_profile_resolve): Likewise.  Update comment.
19730         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19731         symbols stack frame offsets.
19732         (__sigsetjmp): Likewise.
19733         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19734         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19735         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19736         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19737
19738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19739         (FRAME_BACKCHAIN): Remove.
19740         (FRAME_CR_SAVE): Likewise.
19741         (FRAME_LR_SAVE): Likewise.
19742         (FRAME_COMPILER_DW): Likewise.
19743         (FRAME_LINKER_DW): Likewise.
19744         (FRAME_TOC_SAVE): Likewise.
19745         (FRAME_PARM_SAVE): Likewise.
19746         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19747         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19748         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19750         (CHECK_SP): Use symbolic stack frame offsets.
19751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19752         zone" instead of caller's parameter save area for temp storage.
19753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19754         Likewise.  Also, use symbolic stack frame offsets.
19755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19756         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19757         our own stack frame instead of the caller's.
19758         (__socket): Use symbolic stack frame offsets.
19759
19760 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19761             Alan Modra  <amodra@gmail.com>
19762
19763         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19764         Define.
19765         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19766         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19767         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19768         New function.
19769         (elf_machine_fixup_plt): Call it.
19770         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19771         reloc arguments.
19772         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19773         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19774         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19775         r2 before calling target.
19776
19777 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19778             Alan Modra  <amodra@gmail.com>
19779
19780         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19781         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19782         versions of macros to support ELFv2 ABI.
19783         (LOCALENTRY): New macro.
19784         (ENTRY, EALIGN): Use it.
19785         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19786         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19787         fall through into ENTRY entry point.
19788         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19789         Only define if _CALL_ELF != 2.
19790
19791         (elf_machine_matches_host): Verify ABI version matches.
19792         (RTLD_START): Use LOCALENTRY.
19793         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19794         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19795         (PLT_ENTRY_WORDS): New macro.
19796         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19797         (elf_machine_runtime_setup): Support ELFv2 ABI.
19798         (elf_machine_fixup_plt): Likewise.
19799         (elf_machine_plt_conflict): Likewise.
19800         (resolve_ifunc): Likewise.
19801         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19802         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19803         Likewise.
19804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19805         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19807         (makecontext): Support ELFv2 ABI.
19808         * elf/elf.h (EF_PPC64_ABI): Define.
19809
19810 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19811
19812         * sysdeps/powerpc/powerpc64/sysdep.h
19813         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19814         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19815         (ENTRY) [ASSEMBLER]: ... but instead here ...
19816         (EALIGN) [ASSEMBLER]: ... and here.
19817         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19818         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19819         (ENTRY_2) [!ASSEMBLER]: Use it.
19820         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19821         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19822         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19823         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19824         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19826         Use PPC64_LOAD_FUNCPTR.
19827
19828         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19829
19830 2013-12-04  Alan Modra  <amodra@gmail.com>
19831
19832         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19833         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19834         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19835         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19836
19837         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19838         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19839         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19840         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19841         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19842         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19843
19844 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19845
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19847         (__makecontext): Fix incorrect CFI when backtracing out of
19848         context created via makecontext.
19849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19850         (__setcontext): Fix incorrect CFI during switch to new context.
19851         (__novec_setcontext): Likewise.
19852
19853 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19854
19855         [BZ #4772]
19856         * time/strptime_l.c (__strptime_internal): Allow modifiers
19857         in strptime.
19858         * time/tst-strptime.c (day_tests): Add testcase.
19859
19860 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19861
19862         * scripts/bench.pl: Skip over blank lines.
19863
19864 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19865
19866         [BZ #926]
19867         * manual/time.texi (Calendar Time): Clarify what timezone functions
19868         use.
19869
19870 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19871
19872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19873
19874 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19875
19876         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19877         implementation.
19878         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19879         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19880         * debug/memset_chk.c (__memset_chk): Likewise.
19881         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19882         * debug/strncpy_chk.c: Likewise.
19883
19884 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19885
19886         [BZ #15268]
19887         [BZ #15425]
19888         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19889         (__ieee754_exp): For possibly underflowing results, check size of
19890         result and force underflow exception if required.
19891         * math/auto-libm-test-in: Add more tests of exp.
19892         * math/auto-libm-test-out: Regenerated.
19893         * sysdeps/i386/fpu/libm-test-ulps: Update.
19894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19895
19896         [BZ #16283]
19897         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19898         * math/w_exp2f.c (__exp2f): Likewise.
19899         * math/w_exp2l.c (__exp2l): Likewise.
19900         * math/auto-libm-test-in: Do not allow missing errno on exp2
19901         underflow.
19902         * math/auto-libm-test-out: Regenerated.
19903
19904 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19905
19906         [BZ #16274]
19907         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19908         handle filename validation.
19909         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19910         (do_open): Delete.
19911
19912 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19913
19914         [BZ #6786]
19915         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19916         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19917         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19918         <float.h>.
19919         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19920         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19921         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19922         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19923         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19924         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19925         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19926         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19927         Add more erfc tests.
19928         * math/auto-libm-test-out: Regenerated.
19929         * sysdeps/i386/fpu/libm-test-ulps: Update.
19930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19931
19932         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19933         exp2, expm1, j0 and j1.
19934         * math/auto-libm-test-out: Regenerated.
19935         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19936         (erfc_test_data): Likewise.
19937         (exp_test_data): Likewise.
19938         (exp_tonearest_test_data): Likewise.
19939         (exp_towardzero_test_data): Likewise.
19940         (exp_downward_test_data): Likewise.
19941         (exp_upward_test_data): Likewise.
19942         (exp10_test_data): Likewise.
19943         (exp2_test_data): Likewise.
19944         (expm1_test_data): Likewise.
19945         (j0_test_data): Likewise.
19946         (j1_test_data): Likewise.
19947         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19948         (input_flag_type): Add flag_xfail_rounding.
19949         (input_flags): Add xfail-rounding.
19950         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19951         (output_for_one_input_case): Handle flag_xfail_rounding.
19952         * sysdeps/i386/fpu/libm-test-ulps: Update.
19953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954
19955 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19956
19957         [BZ #16289]
19958         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19959         division by 0.
19960
19961 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19962
19963         [BZ #16195]
19964         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19965         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19966         (STAP_PROBE0): New macro.
19967         (STAP_PROBE1): Likewise.
19968         (STAP_PROBE2): Likewise.
19969         (STAP_PROBE3): Likewise.
19970         (STAP_PROBE4): Likewise.
19971
19972 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19973
19974         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19975
19976 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19977
19978         * benchtests/Makefile (bench): Add sqrt.
19979         (LDLIBS-bench-sqrt): New.
19980         * benchtests/sqrt-input: New.
19981
19982 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19983
19984         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19985         (GAIH_EAI): Likewise.
19986         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19987         (gaih_inet): Likewise.
19988         (getaddrinfo): Don't use GAIH_EAI.
19989
19990         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19991         (struct gaih): Remove definition.
19992
19993 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19994
19995         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19996         Use HERRNOP directly.
19997
19998 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19999
20000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20001
20002 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20003
20004         * math/gen-auto-libm-tests.c (test_functions): Add more
20005         single-argument functions.
20006         (special_fill_pi_2): New function.
20007         (special_fill_minus_pi_2): Likewise.
20008         (special_fill_pi_6): Likewise.
20009         (special_fill_minus_pi_6): Likewise.
20010         (special_fill_pi_3): Likewise.
20011         (special_fill_2pi_3): Likewise.
20012         (special_fill_e): Likewise.
20013         (special_fill_1_e): Likewise.
20014         (special_fill_e_minus_1): Likewise.
20015         (special_real_inputs): Add more special inputs.
20016         (output_for_one_input_case): Do not require ERANGE on underflow to
20017         zero if round-to-nearest result does not underflow to zero, unless
20018         exact results required.
20019         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20020         atan, atanh, cbrt, cos and cosh.
20021         * math/auto-libm-test-out: Regenerated.
20022         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20023         (acos_tonearest_test_data): Likewise.
20024         (acos_towardzero_test_data): Likewise.
20025         (acos_downward_test_data): Likewise.
20026         (acos_upward_test_data): Likewise.
20027         (acosh_test_data): Likewise.
20028         (asin_test_data): Likewise.
20029         (asin_tonearest_test_data): Likewise.
20030         (asin_towardzero_test_data): Likewise.
20031         (asin_upward_test_data): Likewise.
20032         (asinh_test_data): Likewise.
20033         (atan_test_data): Likewise.
20034         (atanh_test_data): Likewise.
20035         (cbrt_test_data): Likewise.
20036         (cos_test_data): Likewise.
20037         (cos_tonearest_test_data): Likewise.
20038         (cos_towardzero_test_data): Likewise.
20039         (cos_downward_test_data): Likewise.
20040         (cos_upward_test_data): Likewise.
20041         (cosh_test_data): Likewise.
20042         (cosh_tonearest_test_data): Likewise.
20043         (cosh_towardzero_test_data): Likewise.
20044         (cosh_downward_test_data): Likewise.
20045         (cosh_upward_test_data): Likewise.
20046         * sysdeps/i386/fpu/libm-test-ulps: Update.
20047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20048
20049 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20050
20051         [BZ #6787]
20052         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20053         * math/w_exp10f.c (__exp10f): Likewise.
20054         * math/w_exp10l.c (__exp10l): Likewise.
20055         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20056         errno settings in existing tests.
20057
20058         [BZ #14032]
20059         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20060         precision control set to double precision.
20061         * sysdeps/i386/fpu/w_sqrt.c: New file.
20062         * math/auto-libm-test-in: Add more tests.
20063         * math/auto-libm-test-out: Update.
20064
20065         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20066         (sqrt_test_tonearest): New function.
20067         (sqrt_towardzero_test_data): New variable.
20068         (sqrt_test_towardzero): New function.
20069         (sqrt_downward_test_data): New variable.
20070         (sqrt_test_downward): New function.
20071         (sqrt_upward_test_data): New variable.
20072         (sqrt_test_upward): New function.
20073         (main): Call the new functions.
20074
20075         * math/gen-auto-libm-tests.c: New file.
20076         * math/auto-libm-test-in: Likewise.
20077         * math/auto-libm-test-out: New generated file.
20078         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20079         variables.
20080         (%beautify): Add generated representations of zero.
20081         (top level): Set $auto_input and call parse_auto_input.
20082         (beautify): Remove trailing "f" from hex float constants.
20083         (parse_args): Handle XFAIL_TEST.
20084         (convert_condition): New function.
20085         (or_value): Likewise.
20086         (or_cond_value): Likewise.
20087         (generate_testfile): Handle AUTO_TESTS_* lines.
20088         (parse_auto_input): New function.
20089         * math/libm-test.inc (XFAIL_TEST): New macro.
20090         (ERRNO_UNCHANGED): Update value.
20091         (ERRNO_EDOM): Likewise.
20092         (ERRNO_ERANGE): Likewise.
20093         (IGNORE_RESULT): Likewise.
20094         (TEST_COND_flt_32): New macro.
20095         (TEST_COND_dbl_64): Likewise.
20096         (TEST_COND_ldbl_96_intel): Likewise.
20097         (TEST_COND_ldbl_96_m68k): Likewise.
20098         (TEST_COND_ldbl_128): Likewise.
20099         (TEST_COND_ldbl_128ibm): Likewise.
20100         (TEST_COND_long32): Likewise.
20101         (TEST_COND_long64): Likewise.
20102         (TEST_COND_before_rounding): Likewise.
20103         (TEST_COND_after_rounding): Likewise.
20104         (enable_test): Handle XFAIL_TEST flag.
20105         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20106         with finite results.
20107         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20108         auto-libm-test-out.
20109
20110 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20111             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20112
20113         [BZ #16214]
20114         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20115         __tls_get_addr_internal instead of __tls_get_offset in order to
20116         avoid GOT pointer dependency.  Make rtld export
20117         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20118         __tls_get_addr since we are a __tls_get_offset platform.
20119         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20120         GOT pointer being set up before.
20121         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20122
20123 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20124
20125         * manual/math.texi (Errors in Math Functions): Document accuracy
20126         goals.
20127
20128         [BZ #15004]
20129         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20130         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20131         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20132         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20133         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20134         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20135         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20136         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20137         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20138         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20139         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20140         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20141         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20142         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20143         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20144         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20145
20146         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20147         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20148         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20149         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20150         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20151         Likewise.
20152         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20153         Likewise.
20154         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20155         Likewise.
20156         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20157         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20158         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20159         atomic-feupdateenv and flt-rounds.
20160         * sysdeps/powerpc/nofpu/Versions (libc): Add
20161         __atomic_feholdexcept, __atomic_feclearexcept,
20162         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20163         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20164         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20165         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20166         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20167         here.
20168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20169         Update.
20170
20171         * manual/arith.texi (FP Exceptions): Document that exceptions may
20172         not be raised when matherr is used.
20173         (Math Error Reporting): Document overflow in directed rounding
20174         modes.  Document that errno may not be set when finite values are
20175         returned on overflow.  Document intent to set errno on underflow
20176         only for underflow to zero.
20177
20178         [BZ #16271]
20179         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20180         round-to-nearest then adjust result for other rounding modes.
20181         * include/fenv.h (fegetround): Use libm_hidden_proto.
20182         * math/fegetround.c (fegetround): Use libm_hidden_def.
20183         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20184         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20185         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20186         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20187         Likewise.
20188         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20189         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20190         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20191         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20192
20193 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20194
20195         [BZ #16077]
20196         * nss/Versions (libnss_files): Add
20197         _nss_files_gethostbyname3_r.
20198         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20199         New function.
20200         (HOST_DB_LOOKUP): Remove macro.
20201         (_nss_files_gethostbyname_r): Implement function without the
20202         HOST_DB_LOOKUP macro.
20203         (_nss_files_gethostbyname2_r): Likewise.
20204
20205 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20206
20207         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20208
20209 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20210
20211         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20212         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20213         warning.
20214
20215 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20216
20217         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20218         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20219         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20220         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20221         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20222         __fe_nomask_env_priv and attribute_hidden.
20223         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20224         (libc_feupdateenv_test_ppc): Likewise.
20225         (libc_feresetround_ppc): Likewise.
20226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20227         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20228         compat_symbol macro.
20229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20230         (__fe_nomask_env): Likewise.
20231         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20232
20233 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20234
20235         * string/Makefile: Remove ifunc tests.
20236         * string/test-string.h: Define TEST_IFUNC.
20237         * string/test-bcopy-ifunc.c: Remove.
20238         * string/test-bzero-ifunc.c: Likewise.
20239         * string/test-memccpy-ifunc.c: Likewise.
20240         * string/test-memchr-ifunc.c: Likewise.
20241         * string/test-memcmp-ifunc.c: Likewise.
20242         * string/test-memcpy-ifunc.c: Likewise.
20243         * string/test-memmem-ifunc.c: Likewise.
20244         * string/test-memmove-ifunc.c: Likewise.
20245         * string/test-mempcpy-ifunc.c: Likewise.
20246         * string/test-memrchr-ifunc.c: Likewise.
20247         * string/test-memset-ifunc.c: Likewise.
20248         * string/test-rawmemchr-ifunc.c: Likewise.
20249         * string/test-stpcpy-ifunc.c: Likewise.
20250         * string/test-stpncpy-ifunc.c: Likewise.
20251         * string/test-strcasecmp-ifunc.c: Likewise.
20252         * string/test-strcasestr-ifunc.c: Likewise.
20253         * string/test-strcat-ifunc.c: Likewise.
20254         * string/test-strchr-ifunc.c: Likewise.
20255         * string/test-strchrnul-ifunc.c: Likewise.
20256         * string/test-strcmp-ifunc.c: Likewise.
20257         * string/test-strcpy-ifunc.c: Likewise.
20258         * string/test-strcspn-ifunc.c: Likewise.
20259         * string/test-strlen-ifunc.c: Likewise.
20260         * string/test-strncasecmp-ifunc.c: Likewise.
20261         * string/test-strncat-ifunc.c: Likewise.
20262         * string/test-strncmp-ifunc.c: Likewise.
20263         * string/test-strncpy-ifunc.c: Likewise.
20264         * string/test-strnlen-ifunc.c: Likewise.
20265         * string/test-strpbrk-ifunc.c: Likewise.
20266         * string/test-strrchr-ifunc.c: Likewise.
20267         * string/test-strspn-ifunc.c: Likewise.
20268         * string/test-strstr-ifunc.c: Likewise.
20269
20270 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20271
20272         * benchtests/Makefile: Remove ifunc tests.
20273         * benchtests/bench-string.h: Define TEST_IFUNC.
20274         * benchtests/bench-bcopy-ifunc.c: Remove.
20275         * benchtests/bench-bzero-ifunc.c: Likewise.
20276         * benchtests/bench-memccpy-ifunc.c: Likewise.
20277         * benchtests/bench-memchr-ifunc.c: Likewise.
20278         * benchtests/bench-memcmp-ifunc.c: Likewise.
20279         * benchtests/bench-memcpy-ifunc.c: Likewise.
20280         * benchtests/bench-memmem-ifunc.c: Likewise.
20281         * benchtests/bench-memmove-ifunc.c: Likewise.
20282         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20283         * benchtests/bench-memrchr-ifunc.c: Likewise.
20284         * benchtests/bench-memset-ifunc.c: Likewise.
20285         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20286         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20287         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20288         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20289         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20290         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20291         * benchtests/bench-strcat-ifunc.c: Likewise.
20292         * benchtests/bench-strchr-ifunc.c: Likewise.
20293         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20294         * benchtests/bench-strcmp-ifunc.c: Likewise.
20295         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20296         * benchtests/bench-strcpy-ifunc.c: Likewise.
20297         * benchtests/bench-strcspn-ifunc.c: Likewise.
20298         * benchtests/bench-strlen-ifunc.c: Likewise.
20299         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20300         * benchtests/bench-strncat-ifunc.c: Likewise.
20301         * benchtests/bench-strncmp-ifunc.c: Likewise.
20302         * benchtests/bench-strncpy-ifunc.c: Likewise.
20303         * benchtests/bench-strnlen-ifunc.c: Likewise.
20304         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20305         * benchtests/bench-strrchr-ifunc.c: Likewise.
20306         * benchtests/bench-strsep-ifunc.c: Likewise.
20307         * benchtests/bench-strspn-ifunc.c: Likewise.
20308         * benchtests/bench-strstr-ifunc.c: Likewise.
20309
20310 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20311
20312         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20313
20314 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20315
20316         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20317         * rt/aio.h: Likewise.
20318         * sysdeps/gnu/bits/utmp.h: Likewise.
20319         * sysdeps/gnu/bits/utmpx.h: Likewise.
20320         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20321         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20322         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20323         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20324         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20325         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20326         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20327         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20328         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20329         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20330         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20331         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20332         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20334         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20335         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20336         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20337         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20338         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20339         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20340         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20341         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20342         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20343         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20344         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20346         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20347         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20348         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20349         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20350         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20351         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20352         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20353         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20354         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20355         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20356         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20357         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20358         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20359         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20360         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20361         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20362
20363 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20364
20365         [BZ #16245]
20366         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20367         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20368
20369 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20370
20371         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20373         Likewise.
20374
20375 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20376
20377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20378         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20379         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20380         (__fesetround): Remove define.
20381         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20382         rounding and exceptions handling.
20383         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20384         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20385         (__fe_nomask_env): Likewise.
20386         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20387         __fegetround instead of fegetround.
20388         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20389         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20390
20391 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20392
20393         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20394         it's there.
20395
20396         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20397
20398 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20399
20400         [BZ #11157]
20401         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20402         (encrypt_r): Likewise.
20403         * malloc/obstack.h (obstack_free): Likewise.
20404         * posix/unistd.h (encrypt): Likewise.
20405
20406 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20407
20408         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20409         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20410         DL_CALL_DT_FINI() that call the functions directly.
20411         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20412         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20413         * elf/dl-fini.c: Likewise.
20414
20415 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20416
20417         * malloc/hooks.c (memalign_check): Add alignment rounding.
20418         * malloc/malloc.c (_mid_memalign): New function.
20419         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20420         Implement by calling _mid_memalign.
20421         * manual/probes.texi (Memory Allocation Probes): Remove
20422         memory_valloc_retry and memory_pvalloc_retry.
20423
20424 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20425
20426         * locale/programs/locarchive.c (open_archive): Add const
20427         qualifier to ARCHIVEFNAME and copy default fname to
20428         DEFAULT_FNAME.
20429
20430         [BZ #15601]
20431         * libio/tst-widetext.input: Rename Oriya to Odia.
20432         * locale/iso-639.def: Likewise.
20433
20434         * manual/probes.texi (Mathematical Function Probes): Add
20435         documentation for sin, cos, asin and acos probes.
20436         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20437         (__sin32): Add slowasin probe.
20438         (__cos32): Add slowacos probe.
20439         (__mpsin): Add slowsin probe.
20440         (__mpcos): Add slowcos probe.
20441
20442 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20443
20444         [BZ #15483]
20445         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20446         thread-local __sim_exceptions_thread and global
20447         __sim_exceptions_global.
20448         (__sim_disabled_exceptions): Change to thread-local
20449         __sim_disabled_exceptions_thread and global
20450         __sim_disabled_exceptions_global.
20451         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20452         and global __sim_round_mode_global.
20453         (__simulate_exceptions): Use thread-local floating-point state and
20454         set global state from it as needed.
20455         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20456         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20457         __sim_round_mode_thread.
20458         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20459         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20460         and global __sim_exceptions_global.
20461         (__sim_disabled_exceptions): Change to thread-local
20462         __sim_disabled_exceptions_thread and global
20463         __sim_disabled_exceptions_global.
20464         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20465         and global __sim_round_mode_global.
20466         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20467         (SIM_SET_GLOBAL): Likewise.
20468         * sysdeps/powerpc/soft-fp/sfp-machine.h
20469         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20470         __sim_round_mode_thread.
20471         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20472         __sim_disabled_exceptions_thread.
20473         (__sim_exceptions): Change to __sim_exceptions_thread.
20474         (__sim_disabled_exceptions): Change to
20475         __sim_disabled_exceptions_thread.
20476         (__sim_round_mode): Change to __sim_round_mode_thread.
20477         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20478         thread-local floating-point state and set global state from it as
20479         needed.
20480         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20481         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20482         (__sim_disabled_exceptions): Remove extern declaration.
20483         (feenableexcept): Use thread-local floating-point state and set
20484         global state from it as needed.
20485         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20486         extern declaration.
20487         (__sim_disabled_exceptions): Likewise.
20488         (__sim_round_mode): Likewise.
20489         (__fegetenv): Use thread-local floating-point state.
20490         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20491         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20492         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20493         floating-point state and set global state from it as needed.
20494         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20495         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20496         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20497         Likewise.
20498         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20499         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20500         Likewise.
20501         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20502         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20503         Use __sim_round_mode_thread.
20504         * math/test-fenv-tls.c: New file.
20505         * math/Makefile (tests): Add test-fenv-tls.
20506         ($(objpfx)test-fenv-tls): Depend on
20507         $(common-objpfx)nptl/libpthread.so.
20508
20509 2013-11-19  Andreas Schwab  <schwab@suse.de>
20510
20511         * locale/programs/locale.c (show_info): Decode wordarray elements.
20512         * locale/categories.def (LC_MONETARY): Add element for
20513         _NL_MONETARY_CRNCYSTR.
20514         * locale/C-monetary.c (conversion_rate): New variable.
20515         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20516         element.
20517
20518 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20519
20520         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20521         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20522
20523 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20524
20525         * elf/Makefile (tst-auxv): New test.
20526         * elf/tst-auxv.c: New
20527         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20528
20529 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20530
20531         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20532         (hidden_proto): Caller changed.
20533         (hidden_tls_proto): New macro.
20534         (libc_hidden_tls_proto): Likewise.
20535         (rtld_hidden_tls_proto): Likewise.
20536         (libm_hidden_tls_proto): Likewise.
20537         (libresolv_hidden_tls_proto): Likewise.
20538         (librt_hidden_tls_proto): Likewise.
20539         (libdl_hidden_tls_proto): Likewise.
20540         (libnss_files_hidden_tls_proto): Likewise.
20541         (libnsl_hidden_tls_proto): Likewise.
20542         (libnss_nisplus_hidden_tls_proto): Likewise.
20543         (libutil_hidden_tls_proto): Likewise.
20544
20545 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20546
20547         [BZ #10253]
20548         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20549         (decompose_rpath): Defer expansion to fillin_rpath.
20550         (_dl_init_paths): Pass linkmap to fillin_rpath.
20551
20552 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20553
20554         * benchtests/Makefile: Add strsep.
20555         * benchtests/bench-strsep.c: New file: strsep benchtest.
20556         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20557
20558 2013-11-18  Andreas Schwab  <schwab@suse.de>
20559
20560         * locale/programs/locale.c (show_info) [case byte]: Check for
20561         '\377' instead of '\177'.
20562         * locale/C-monetary.c (not_available): Always use "\377".
20563         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20564         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20565         detect unavailable sign_posn locale elements.
20566         * locale/localeconv.c (__localeconv): For grouping and
20567         mon_grouping handle "\177" and "\377" like no grouping.
20568         (INT_ELEM): New macro.  Use it to set all numeric members.
20569         * locale/programs/ld-monetary.c (monetary_read)
20570         <tok_mon_grouping>: Normalize single -1 to the empty string.
20571         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20572         Likewise.
20573
20574 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20575
20576         [BZ #16055]
20577         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20578         when we match (nil).
20579         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20580
20581 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20582
20583         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20584         (NO_TEST_INLINE): Update value.
20585         (ERRNO_UNCHANGED): Likewise.
20586         (ERRNO_EDOM): Likewise.
20587         (ERRNO_ERANGE): Likewise.
20588         (IGNORE_RESULT): Likewise.
20589         (check_float_internal): Check signs of NaN results if
20590         TEST_NAN_SIGN used.
20591         (check_complex): Pass TEST_NAN_SIGN flag through to second
20592         check_float_internal call.
20593         (copysign_test_data): Add tests with quiet NaNs as second
20594         argument.  Use TEST_NAN_SIGN.
20595         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20596         TEST_NAN_SIGN.
20597         (signbit_test_data): Add tests of quiet NaN argument.
20598         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20599
20600         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20601         $ignore_result.
20602         (parse_args): Handle function results specified as IGNORE.
20603         * math/libm-test.inc (IGNORE_RESULT): New macro.
20604         (check_float_internal): Do not check numerical result if flag
20605         IGNORE_RESULT set.
20606         (check_complex): Pass through IGNORE_RESULT to second
20607         check_float_internal call.
20608         (check_int): Do not check numerical result if flag IGNORE_RESULT
20609         set.
20610         (check_long): Likewise.
20611         (check_bool): Likewise.
20612         (check_longlong): Likewise.
20613         (lrint_test_data): Add tests of infinite and NaN arguments.
20614         (lrint_tonearest_test_data): Likewise.
20615         (lrint_towardzero_test_data): Likewise.
20616         (lrint_downward_test_data): Likewise.
20617         (lrint_upward_test_data): Likewise.
20618         (llrint_test_data): Likewise.
20619         (llrint_tonearest_test_data): Likewise.
20620         (llrint_towardzero_test_data): Likewise.
20621         (llrint_downward_test_data): Likewise.
20622         (llrint_upward_test_data): Likewise.
20623         (lround_test_data): Likewise.
20624         (llround_test_data): Likewise.
20625
20626         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20627         (ERRNO_UNCHANGED): Update value.
20628         (ERRNO_EDOM): Likewise.
20629         (ERRNO_ERANGE): Likewise.
20630         (NO_TEST_INLINE_FLOAT): New macro.
20631         (NO_TEST_INLINE_DOUBLE): Likewise.
20632         (enable_test): New function.
20633         (RUN_TEST_f_f): Check enable_test before running test.
20634         (RUN_TEST_2_f): Likewise.
20635         (RUN_TEST_fff_f): Likewise.
20636         (RUN_TEST_c_f): Likewise.
20637         (RUN_TEST_f_f1): Likewise.
20638         (RUN_TEST_fF_f1): Likewise.
20639         (RUN_TEST_fI_f1): Likewise.
20640         (RUN_TEST_ffI_f1): Likewise.
20641         (RUN_TEST_c_c): Likewise.
20642         (RUN_TEST_cc_c): Likewise.
20643         (RUN_TEST_f_i): Likewise.
20644         (RUN_TEST_f_i_tg): Likewise.
20645         (RUN_TEST_ff_i_tg): Likewise.
20646         (RUN_TEST_f_b): Likewise.
20647         (RUN_TEST_f_b_tg): Likewise.
20648         (RUN_TEST_f_l): Likewise.
20649         (RUN_TEST_f_L): Likewise.
20650         (RUN_TEST_fFF_11): Likewise.
20651         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20652         conditionals.
20653         (cosh_test_data): Likewise.
20654         (exp_test_data): Likewise.
20655         (expm1_test_data): Likewise.
20656         (hypot_test_data): Likewise.
20657         (pow_test_data): Likewise.
20658         (sinh_test_data): Likewise.
20659         (tanh_test_data): Likewise.
20660         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20661         flags argument.
20662
20663         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20664         tests with quiet NaN input and output.
20665         (acosh_test_data): Likewise.
20666         (asin_test_data): Likewise.
20667         (asinh_test_data): Likewise.
20668         (atan_test_data): Likewise.
20669         (atanh_test_data): Likewise.
20670         (atan2_test_data): Likewise.
20671         (cbrt_test_data): Likewise.
20672         (cos_test_data): Likewise.
20673         (cosh_test_data): Likewise.
20674         (erf_test_data): Likewise.
20675         (erfc_test_data): Likewise.
20676         (exp_test_data): Likewise.
20677         (exp10_test_data): Likewise.
20678         (exp2_test_data): Likewise.
20679         (expm1_test_data): Likewise.
20680         (hypot_test_data): Likewise.
20681         (j0_test_data): Likewise.
20682         (j1_test_data): Likewise.
20683         (jn_test_data): Likewise.
20684         (lgamma_test_data): Likewise.
20685         (log_test_data): Likewise.
20686         (log10_test_data): Likewise.
20687         (log1p_test_data): Likewise.
20688         (log2_test_data): Likewise.
20689         (pow_test_data): Likewise.
20690         (scalb_test_data): Likewise.
20691         (sin_test_data): Likewise.
20692         (sincos_test_data): Likewise.
20693         (sinh_test_data): Likewise.
20694         (tan_test_data): Likewise.
20695         (tanh_test_data): Likewise.
20696         (tgamma_test_data): Likewise.
20697         (y0_test_data): Likewise.
20698         (y1_test_data): Likewise.
20699         (yn_test_data): Likewise.
20700
20701         [BZ #16167]
20702         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20703         argument being NaN and avoid computations with second argument in
20704         that case.
20705         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20706         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20707         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20708
20709 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20710
20711         * locale/iso-639.def: Add Chitwani Tharu (the).
20712
20713 2013-11-14  Andreas Schwab  <schwab@suse.de>
20714
20715         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20716         word instead of empty string.
20717
20718 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20719
20720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20721         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20723         (__fe_nomask_env): Likewise.
20724
20725 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20726
20727         * benchtests/bench-timing.h: Include time.h.
20728
20729 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20730
20731         [BZ #15997]
20732         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20733         to 3.4.0 for x32.
20734         * sysdeps/unix/sysv/linux/configure: Regenerated.
20735
20736 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20737
20738         [BZ #16151]
20739         * stdlib/strtod_l.c (round_and_return): Do not consider
20740         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20741         exponent one less than half the least subnormal exponent.
20742         * stdlib/test-strtod-round-data: Add more tests.
20743         * stdlib/tst-strtod-round.c (tests): Regenerated.
20744
20745 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20746
20747         [BZ #14143]
20748         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20749         (__fe_mask_env): Likewise.
20750         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20751         libm_hidden_proto and add function prototype.
20752         (__fe_mask_env): Add function prototype.
20753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20754         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20756         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20758         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20759
20760 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20761
20762         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20763         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20764
20765 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20766
20767         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20768         of htab_find_slot().
20769
20770 2013-11-11  David S. Miller  <davem@davemloft.net>
20771
20772         [BZ #16150]
20773         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20774         symbol in the non-vis3 case in static builds.
20775         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20776         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20777         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20778         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20779
20780 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20781
20782         [BZ #387]
20783         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20784         it is empty.
20785
20786 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20787
20788         * benchtests/Makefile: Add bench-strtod.
20789         * benchtests/bench-strtod.c: New file: strtod benchtest
20790
20791 2013-11-11  Andreas Schwab  <schwab@suse.de>
20792
20793         [BZ #16153]
20794         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20795         terminating NUL in key length.
20796
20797 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20798
20799         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20800         Add artificial ODP entry for vDSO symbol for PPC64.
20801         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20802         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20803
20804 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20805
20806         [BZ #15374]
20807         * nss/getent.c (services_keys): Recognize services starting with digit.
20808
20809 2013-11-06  David S. Miller  <davem@davemloft.net>
20810
20811         [BZ #15985]
20812         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20813         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20814
20815 2013-11-06  Will Newton  <will.newton@linaro.org>
20816
20817         * manual/memory.texi (Malloc Examples): Remove register
20818         keyword from examples.
20819
20820 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20821
20822         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20823
20824 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20825
20826         [BZ #6981]
20827         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20828         depending on [__GCC_IEC_559 > 0].
20829         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20830         depending on [__GCC_IEC_559_COMPLEX > 0].
20831
20832 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20833
20834         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20835         to iso-639.def.
20836
20837 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20838
20839         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20840
20841 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20842
20843         [BZ #16112]
20844         * malloc/malloc (malloc_info): Do not handle first bin as
20845         special case.
20846
20847 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20848
20849         * locale/iso-639.def: Add Central Nahuatl (nhn).
20850
20851 2013-11-01  Bruno Haible  <bruno@clisp.org>
20852
20853         [BZ #7003]
20854         * manual/math.texi (BSD Random): Specify range upper bound as
20855         in POSIX.
20856
20857 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20858
20859         * locale/iso-639.def: Add Meadow Mari (mhr).
20860
20861 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20862
20863         [BZ #14752], [BZ #15763]
20864         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20865         Validate name.
20866         * rt/tst_shm.c: Add test for escaping directory.
20867
20868 2013-10-31  Andreas Schwab  <schwab@suse.de>
20869
20870         [BZ #15917]
20871         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20872         followed by 'x' as part of digit sequence.
20873         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20874
20875 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20876
20877         [BZ #16037]
20878         * configure.ac: allow GNU Make 4.0 and greater.
20879         * configure: Regenerated.
20880
20881 2013-10-30  Will Newton  <will.newton@linaro.org>
20882
20883         [BZ #16038]
20884         * malloc/hooks.c (memalign_check): Limit alignment to the
20885         maximum representable power of two.
20886         * malloc/malloc.c (__libc_memalign): Likewise.
20887         * malloc/tst-memalign.c (do_test): Add test for very
20888         large alignment values.
20889         * malloc/tst-posix_memalign.c (do_test): Likewise.
20890
20891 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20892
20893         [BZ #11087]
20894         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20895         (munmap_chunk): Likewise.
20896         (mremap_chunk): Likewise.
20897
20898 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20899
20900         [BZ #15799]
20901         * stdlib/div.c (div): Remove obsolete code.
20902         * stdlib/ldiv.c (ldiv): Likewise.
20903         * stdlib/lldiv.c (lldiv): Likewise.
20904
20905 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20906
20907         [BZ #16071]
20908         * nss/nss_files/files-XXX.c (get_contents_ret): New
20909         enumerator.
20910         (get_contents): New function.
20911         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20912
20913 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20914
20915         * configure.in: Moved to ...
20916         * configure.ac: ... here. Change reference to configure.in
20917         to configure.ac.
20918         * sysdeps/arm/preconfigure.ac: ... here.
20919         configure.in to configure.ac.
20920         * sysdeps/gnu/configure.in: Moved to ...
20921         * sysdeps/gnu/configure.ac: ... here.
20922         * sysdeps/i386/configure.in: Moved to ...
20923         * sysdeps/i386/configure.ac: ... here.
20924         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20925         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20926         * sysdeps/mach/configure.in: Moved to ...
20927         * sysdeps/mach/configure.ac: ... here.
20928         * sysdeps/mach/hurd/configure.in: Moved to ...
20929         * sysdeps/mach/hurd/configure.ac: ... here.
20930         * sysdeps/powerpc/configure.in: Moved to ...
20931         * sysdeps/powerpc/configure.ac: ... here.
20932         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20933         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20934         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20935         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20936         * sysdeps/s390/s390-32/configure.in: Moved to ...
20937         * sysdeps/s390/s390-32/configure.ac: ... here.
20938         * sysdeps/s390/s390-64/configure.in: Moved to ...
20939         * sysdeps/s390/s390-64/configure.ac: ... here.
20940         * sysdeps/sh/configure.in: Moved to ...
20941         * sysdeps/sh/configure.ac: ... here.
20942         * sysdeps/sparc/configure.in: Moved to ...
20943         * sysdeps/sparc/configure.ac: ... here.
20944         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20945         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20946         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20947         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20948         * sysdeps/x86_64/configure.in: Moved to ...
20949         * sysdeps/x86_64/configure.ac: ... here.
20950         * sysdeps/x86_64/preconfigure.in: Moved to ...
20951         * sysdeps/x86_64/preconfigure.ac: ... here.
20952         * aclocal.m4: Change reference to configure.in to configure.ac.
20953         * config.h.in: Likewise.
20954         * manual/install.texi: Likewise.
20955         * manual/maint.texi: Likewise.
20956         * Makefile: Likewise.
20957         * malloc/Makefile: Likewise.
20958         * nscd/Makefile: Likewise.
20959         * Makeconfig: Change reference to configure.in and
20960         preconfigure.in to configure.ac and preconfigure.ac
20961         respectively.
20962         * INSTALL: Regenerated.
20963         * configure: Likewise.
20964         * sysdeps/gnu/configure: Likewise.
20965         * sysdeps/i386/configure: Likewise.
20966         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20967         * sysdeps/mach/configure: Likewise.
20968         * sysdeps/mach/hurd/configure: Likewise.
20969         * sysdeps/powerpc/configure: Likewise.
20970         * sysdeps/powerpc/powerpc32/configure: Likewise.
20971         * sysdeps/powerpc/powerpc64/configure: Likewise.
20972         * sysdeps/s390/s390-32/configure: Likewise.
20973         * sysdeps/s390/s390-64/configure: Likewise.
20974         * sysdeps/sh/configure: Likewise.
20975         * sysdeps/sparc/configure: Likewise.
20976         * sysdeps/unix/sysv/linux/configure: Likewise.
20977         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20978         * sysdeps/x86_64/configure: Likewise.
20979         * sysdeps/x86_64/preconfigure: Likewise.
20980
20981 2013-10-29  Andreas Schwab  <schwab@suse.de>
20982
20983         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20984
20985 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20986
20987         * benchtests/pow-inputs: Add new inputs.
20988
20989         * benchtests/exp-inputs: Add new inputs.
20990
20991         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20992         conditional check for return value.
20993         (__cos32): Likewise.
20994
20995 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20996
20997         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20998         to provide a boost for large inputs with word alignment.
20999         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21000         implementation based on optimized PPC64 strcpy.
21001         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21002         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21003         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21004         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21005
21006 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21007
21008         [BZ #2801]
21009         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21010
21011 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21012
21013         [BZ #14876]
21014         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21015         * time/tst-strptime.c (day_tests): Add testcase.
21016
21017 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21018
21019         [BZ #14029]
21020         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21021
21022 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21023
21024         [BZ #16074]
21025         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21026         MAP_FAILED on error.
21027
21028 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21029
21030         [BZ #16072]
21031         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21032         heap for large requests.
21033
21034 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21035
21036         [BZ #9954]
21037         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21038         result if the result has no associated interface.
21039         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21040         interface for all 127.X.Y.Z addresses.
21041
21042 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21043
21044         * locale/iso-639.def: Add Ligurian (lij)
21045
21046 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21047
21048         [BZ #15825]
21049         * sunrpc/rpc_main.c: Document rpcgen -5.
21050
21051 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21052
21053         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21054
21055 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21056
21057         [BZ #10278]
21058         * posix/glob.c: Match only directories when trailing slash is present.
21059         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21060         (main): Add testcase.
21061
21062 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21063
21064         [BZ #15670]
21065         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21066
21067 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21068
21069         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21070         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21071         AUTH_DES and cindex for FIPS 140-2.
21072         (DES Encryption): Add cindex FIPS 46-3.
21073
21074         * locale/locarchive.h (struct locarhandle): Add fname.
21075         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21076         if an optional argument was specified to --list-archive,
21077         otherwise NULL.
21078         * locale/programs/locarchive.c (show_archive_content): Take new
21079         argument fname and pass it via ah.fname to open_archive.
21080         * locale/programs/localedef.h: Update decl.
21081         (open_archive): If AH->fname is non-null, open that file
21082         rather than the default file name, and don't ignore ENOENT.
21083         (create_archive): Set AH.fname to NULL.
21084         (delete_locales_from_archive): Likewise.
21085         (add_locales_to_archive): Likewise.
21086         * locale/programs/locfile.c (write_all_categories): Likewise.
21087
21088 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21089             Aldy Hernandez  <aldyh@redhat.com>
21090
21091         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21092         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21093         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21094         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21095         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21096         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21097         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21098         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21099         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21100         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21101         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21102         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21103         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21104         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21105         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21106         Likewise.
21107         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21108         Likewise.
21109         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21110         Likewise.
21111         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21112         Likewise.
21113         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21114         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21115         Likewise.
21116         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21117         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21118         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21119         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21120         Likewise.
21121         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21122         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21123         * sysdeps/powerpc/preconfigure: Likewise.
21124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21125         Likewise.
21126         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21127         Replace contents of file by #include of <fenv_libc.h>.
21128         * sysdeps/powerpc/soft-fp/sfp-machine.h
21129         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21130         and <sys/prctl.h>.
21131         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21132         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21133         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21134         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21135         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21136         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21138         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21139         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21140         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21144         Allow copysignl PLT reference to be missing.
21145
21146 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21147             Joseph Myers  <joseph@codesourcery.com
21148
21149         [BZ #15948]
21150         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21151         single character.
21152         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21153
21154 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21155
21156         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21157         * elf/tst-tls1.c: Likewise.
21158         * elf/tst-tls10.h: Likewise.
21159         * elf/tst-tls14.c: Likewise.
21160         * elf/tst-tls2.c: Likewise.
21161         * elf/tst-tls3.c: Likewise.
21162         * elf/tst-tls4.c: Likewise.
21163         * elf/tst-tls5.c: Likewise.
21164         * elf/tst-tls6.c: Likewise.
21165         * elf/tst-tls7.c: Likewise.
21166         * elf/tst-tls8.c: Likewise.
21167         * elf/tst-tls9.c: Likewise.
21168         * elf/tst-tlsmod1.c: Likewise.
21169         * elf/tst-tlsmod13.c: Likewise.
21170         * elf/tst-tlsmod13a.c: Likewise.
21171         * elf/tst-tlsmod14a.c: Likewise.
21172         * elf/tst-tlsmod16a.c: Likewise.
21173         * elf/tst-tlsmod16b.c: Likewise.
21174         * elf/tst-tlsmod2.c: Likewise.
21175         * elf/tst-tlsmod3.c: Likewise.
21176         * elf/tst-tlsmod4.c: Likewise.
21177         * elf/tst-tlsmod5.c: Likewise.
21178         * elf/tst-tlsmod6.c: Likewise.
21179
21180 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21181
21182         [BZ #12486]
21183         * malloc/malloc.c: remove checks for statistics.
21184
21185 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21186
21187         [BZ #15277]
21188         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21189         * inet/tst-network.c: Add testcase.
21190
21191 2013-10-17  Andreas Schwab  <schwab@suse.de>
21192
21193         [BZ #15218]
21194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21195         to determine canonical name.
21196
21197 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21198
21199         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21200         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21202         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21204         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21205         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21206         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21207         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21208         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21209         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21210         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21211         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21212         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21213         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21214         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21216         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21217         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21218         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21219         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21220         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21221         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21222         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21223         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21224         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21225         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21226         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21227         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21228         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21229         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21230         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21231         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21232         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21233         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21234         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21235         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21236         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21237         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21238         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21239         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21240         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21241         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21242         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21243         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21244         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21245         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21246         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21247         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21248         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21249         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21250         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21251         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21252         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21253         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21254         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21255         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21256         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21257
21258 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21259
21260         [BZ #16041]
21261         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21262         make result into a quiet NaN.
21263
21264 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21265
21266         * soft-fp/adddf3.c: Fix horizontal whitespace.
21267         * soft-fp/addsf3.c: Likewise.
21268         * soft-fp/addtf3.c: Likewise.
21269         * soft-fp/divdf3.c: Likewise.
21270         * soft-fp/divsf3.c: Likewise.
21271         * soft-fp/divtf3.c: Likewise.
21272         * soft-fp/double.h: Likewise.
21273         * soft-fp/eqdf2.c: Likewise.
21274         * soft-fp/eqsf2.c: Likewise.
21275         * soft-fp/eqtf2.c: Likewise.
21276         * soft-fp/extenddftf2.c: Likewise.
21277         * soft-fp/extended.h: Likewise.
21278         * soft-fp/extendsfdf2.c: Likewise.
21279         * soft-fp/extendsftf2.c: Likewise.
21280         * soft-fp/extendxftf2.c: Likewise.
21281         * soft-fp/fixdfdi.c: Likewise.
21282         * soft-fp/fixdfsi.c: Likewise.
21283         * soft-fp/fixdfti.c: Likewise.
21284         * soft-fp/fixsfdi.c: Likewise.
21285         * soft-fp/fixsfsi.c: Likewise.
21286         * soft-fp/fixsfti.c: Likewise.
21287         * soft-fp/fixtfdi.c: Likewise.
21288         * soft-fp/fixtfsi.c: Likewise.
21289         * soft-fp/fixtfti.c: Likewise.
21290         * soft-fp/fixunsdfdi.c: Likewise.
21291         * soft-fp/fixunsdfsi.c: Likewise.
21292         * soft-fp/fixunsdfti.c: Likewise.
21293         * soft-fp/fixunssfdi.c: Likewise.
21294         * soft-fp/fixunssfsi.c: Likewise.
21295         * soft-fp/fixunssfti.c: Likewise.
21296         * soft-fp/fixunstfdi.c: Likewise.
21297         * soft-fp/fixunstfsi.c: Likewise.
21298         * soft-fp/fixunstfti.c: Likewise.
21299         * soft-fp/floatdidf.c: Likewise.
21300         * soft-fp/floatdisf.c: Likewise.
21301         * soft-fp/floatditf.c: Likewise.
21302         * soft-fp/floatsidf.c: Likewise.
21303         * soft-fp/floatsisf.c: Likewise.
21304         * soft-fp/floatsitf.c: Likewise.
21305         * soft-fp/floattidf.c: Likewise.
21306         * soft-fp/floattisf.c: Likewise.
21307         * soft-fp/floattitf.c: Likewise.
21308         * soft-fp/floatundidf.c: Likewise.
21309         * soft-fp/floatundisf.c: Likewise.
21310         * soft-fp/floatunditf.c: Likewise.
21311         * soft-fp/floatunsidf.c: Likewise.
21312         * soft-fp/floatunsisf.c: Likewise.
21313         * soft-fp/floatunsitf.c: Likewise.
21314         * soft-fp/floatuntidf.c: Likewise.
21315         * soft-fp/floatuntisf.c: Likewise.
21316         * soft-fp/floatuntitf.c: Likewise.
21317         * soft-fp/fmadf4.c: Likewise.
21318         * soft-fp/fmasf4.c: Likewise.
21319         * soft-fp/fmatf4.c: Likewise.
21320         * soft-fp/gedf2.c: Likewise.
21321         * soft-fp/gesf2.c: Likewise.
21322         * soft-fp/getf2.c: Likewise.
21323         * soft-fp/ledf2.c: Likewise.
21324         * soft-fp/lesf2.c: Likewise.
21325         * soft-fp/letf2.c: Likewise.
21326         * soft-fp/muldf3.c: Likewise.
21327         * soft-fp/mulsf3.c: Likewise.
21328         * soft-fp/multf3.c: Likewise.
21329         * soft-fp/negdf2.c: Likewise.
21330         * soft-fp/negsf2.c: Likewise.
21331         * soft-fp/negtf2.c: Likewise.
21332         * soft-fp/op-1.h: Likewise.
21333         * soft-fp/op-2.h: Likewise.
21334         * soft-fp/op-4.h: Likewise.
21335         * soft-fp/op-8.h: Likewise.
21336         * soft-fp/op-common.h: Likewise.
21337         * soft-fp/quad.h: Likewise.
21338         * soft-fp/single.h: Likewise.
21339         * soft-fp/soft-fp.h: Likewise.
21340         * soft-fp/sqrtdf2.c: Likewise.
21341         * soft-fp/sqrtsf2.c: Likewise.
21342         * soft-fp/sqrttf2.c: Likewise.
21343         * soft-fp/subdf3.c: Likewise.
21344         * soft-fp/subsf3.c: Likewise.
21345         * soft-fp/subtf3.c: Likewise.
21346         * soft-fp/truncdfsf2.c: Likewise.
21347         * soft-fp/trunctfdf2.c: Likewise.
21348         * soft-fp/trunctfsf2.c: Likewise.
21349         * soft-fp/trunctfxf2.c: Likewise.
21350         * soft-fp/unorddf2.c: Likewise.
21351         * soft-fp/unordsf2.c: Likewise.
21352         * soft-fp/unordtf2.c: Likewise.
21353
21354 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21355
21356         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21357         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21358
21359 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21360
21361         * elf/dl-libc.c: Clear initfini list after freeing.
21362
21363 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21364
21365         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21366         * soft-fp/addsf3.c: Likewise.
21367         * soft-fp/addtf3.c: Likewise.
21368         * soft-fp/divdf3.c: Likewise.
21369         * soft-fp/divsf3.c: Likewise.
21370         * soft-fp/divtf3.c: Likewise.
21371         * soft-fp/double.h: Likewise.
21372         * soft-fp/eqdf2.c: Likewise.
21373         * soft-fp/eqsf2.c: Likewise.
21374         * soft-fp/eqtf2.c: Likewise.
21375         * soft-fp/extenddftf2.c: Likewise.
21376         * soft-fp/extended.h: Likewise.
21377         * soft-fp/extendsfdf2.c: Likewise.
21378         * soft-fp/extendsftf2.c: Likewise.
21379         * soft-fp/extendxftf2.c: Likewise.
21380         * soft-fp/fixdfdi.c: Likewise.
21381         * soft-fp/fixdfsi.c: Likewise.
21382         * soft-fp/fixdfti.c: Likewise.
21383         * soft-fp/fixsfdi.c: Likewise.
21384         * soft-fp/fixsfsi.c: Likewise.
21385         * soft-fp/fixsfti.c: Likewise.
21386         * soft-fp/fixtfdi.c: Likewise.
21387         * soft-fp/fixtfsi.c: Likewise.
21388         * soft-fp/fixtfti.c: Likewise.
21389         * soft-fp/fixunsdfdi.c: Likewise.
21390         * soft-fp/fixunsdfsi.c: Likewise.
21391         * soft-fp/fixunsdfti.c: Likewise.
21392         * soft-fp/fixunssfdi.c: Likewise.
21393         * soft-fp/fixunssfsi.c: Likewise.
21394         * soft-fp/fixunssfti.c: Likewise.
21395         * soft-fp/fixunstfdi.c: Likewise.
21396         * soft-fp/fixunstfsi.c: Likewise.
21397         * soft-fp/fixunstfti.c: Likewise.
21398         * soft-fp/floatdidf.c: Likewise.
21399         * soft-fp/floatdisf.c: Likewise.
21400         * soft-fp/floatditf.c: Likewise.
21401         * soft-fp/floatsidf.c: Likewise.
21402         * soft-fp/floatsisf.c: Likewise.
21403         * soft-fp/floatsitf.c: Likewise.
21404         * soft-fp/floattidf.c: Likewise.
21405         * soft-fp/floattisf.c: Likewise.
21406         * soft-fp/floattitf.c: Likewise.
21407         * soft-fp/floatundidf.c: Likewise.
21408         * soft-fp/floatundisf.c: Likewise.
21409         * soft-fp/floatunsidf.c: Likewise.
21410         * soft-fp/floatunsisf.c: Likewise.
21411         * soft-fp/floatuntidf.c: Likewise.
21412         * soft-fp/floatuntisf.c: Likewise.
21413         * soft-fp/floatuntitf.c: Likewise.
21414         * soft-fp/fmadf4.c: Likewise.
21415         * soft-fp/fmasf4.c: Likewise.
21416         * soft-fp/fmatf4.c: Likewise.
21417         * soft-fp/gedf2.c: Likewise.
21418         * soft-fp/gesf2.c: Likewise.
21419         * soft-fp/getf2.c: Likewise.
21420         * soft-fp/ledf2.c: Likewise.
21421         * soft-fp/lesf2.c: Likewise.
21422         * soft-fp/letf2.c: Likewise.
21423         * soft-fp/muldf3.c: Likewise.
21424         * soft-fp/mulsf3.c: Likewise.
21425         * soft-fp/multf3.c: Likewise.
21426         * soft-fp/negdf2.c: Likewise.
21427         * soft-fp/negsf2.c: Likewise.
21428         * soft-fp/negtf2.c: Likewise.
21429         * soft-fp/op-1.h: Likewise.
21430         * soft-fp/op-2.h: Likewise.
21431         * soft-fp/op-4.h: Likewise.
21432         * soft-fp/op-8.h: Likewise.
21433         * soft-fp/op-common.h: Likewise.
21434         * soft-fp/quad.h: Likewise.
21435         * soft-fp/single.h: Likewise.
21436         * soft-fp/soft-fp.h: Likewise.
21437         * soft-fp/sqrtdf2.c: Likewise.
21438         * soft-fp/sqrtsf2.c: Likewise.
21439         * soft-fp/sqrttf2.c: Likewise.
21440         * soft-fp/subdf3.c: Likewise.
21441         * soft-fp/subsf3.c: Likewise.
21442         * soft-fp/subtf3.c: Likewise.
21443         * soft-fp/truncdfsf2.c: Likewise.
21444         * soft-fp/trunctfdf2.c: Likewise.
21445         * soft-fp/trunctfsf2.c: Likewise.
21446         * soft-fp/trunctfxf2.c: Likewise.
21447         * soft-fp/unorddf2.c: Likewise.
21448         * soft-fp/unordsf2.c: Likewise.
21449         * soft-fp/unordtf2.c: Likewise.
21450
21451 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21452
21453         [BZ #15672]
21454         * misc/error.c (error_tail): Fix possible buffer overflow.
21455
21456 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21457
21458         [BZ #13028]
21459         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21460         address.
21461
21462 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21463
21464         [BZ #832]
21465         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21466         testing pipefail option.
21467
21468 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21469
21470         * soft-fp/double.h: Indent preprocessor directives inside #if.
21471         * soft-fp/extended.h: Likewise.
21472         * soft-fp/op-2.h: Likewise.
21473         * soft-fp/op-4.h: Likewise.
21474         * soft-fp/op-common.h: Likewise.
21475         * soft-fp/quad.h: Likewise.
21476         * soft-fp/single.h: Likewise.
21477         * soft-fp/soft-fp.h: Likewise.
21478
21479 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21480
21481         * iconv/iconv_prog.c: Fix typos.
21482         * stdio-common/psiginfo-data.h: Likewise.
21483
21484 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21485
21486         [BZ #15764]
21487         * locale/setlocale.c: Fix typo.
21488
21489 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21490
21491         [BZ #16036]
21492         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21493         signaling NaN arguments.
21494         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21495         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21496
21497         [BZ #14910]
21498         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21499         unordered operands.
21500         * soft-fp/gesf2.c (__gesf2): Likewise.
21501         * soft-fp/getf2.c (__getf2): Likewise.
21502         * soft-fp/ledf2.c (__ledf2): Likewise.
21503         * soft-fp/lesf2.c (__lesf2): Likewise.
21504         * soft-fp/letf2.c (__letf2): Likewise.
21505
21506         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21507         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21508         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21509         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21510         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21511         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21512         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21513         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21514         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21515         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21516         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21517         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21518         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21519         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21520         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21521         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21522         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21523         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21524         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21525         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21526         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21527         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21528         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21529         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21530         * soft-fp/floattidf.c (__floattidf): Likewise.
21531         * soft-fp/floattisf.c (__floattisf): Likewise.
21532         * soft-fp/floattitf.c (__floattitf): Likewise.
21533         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21534         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21535         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21536         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21537         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21538         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21539         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21540         * soft-fp/gesf2.c (__gesf2): Likewise.
21541         * soft-fp/getf2.c (__getf2): Likewise.
21542         * soft-fp/ledf2.c (__ledf2): Likewise.
21543         * soft-fp/lesf2.c (__lesf2): Likewise.
21544         * soft-fp/letf2.c (__letf2): Likewise.
21545
21546         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21547         Undefine and redefine.
21548         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21549         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21550         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21551         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21552         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21553         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21554         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21555         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21556         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21557         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21558         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21559         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21560         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21561         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21562         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21563
21564         [BZ #16032]
21565         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21566         without decrementing exponent if mantissa >= that for the
21567         denominator, not >.
21568         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21569         denominator, not >.  Decrement exponent in < case instead of
21570         incrementing in >= case.
21571         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21572         without decrementing exponent if mantissa >= that for the
21573         denominator, not >.
21574
21575         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21576         computing saturated result for unsigned overflow.
21577
21578 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21579             Jeff Law  <law@redhat.com>
21580
21581         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21582         (atan2Mp): Add systemtap probe marker.
21583         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21584         (__ieee754_log): Add systemtap probe marker.
21585         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21586         (atanMp): Add systemtap probe marker.
21587         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21588         (tanMp): Add systemtap probe marker.
21589         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21590         (__slowexp): Add systemtap probe marker.
21591         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21592         (__slowpow): Add systemtap probe marker.
21593         * manual/probes.texi: Document probes.
21594
21595 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21596
21597         [BZ #15362]
21598         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21599         written.
21600         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21601         written.
21602         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21603         written to buffer but not flushed.
21604         * libio/iofwrite_u.c:  Likewise.
21605         * libio/iopadn.c:  Return bytes returned even if EOF was
21606         encountered.
21607         * libio/iowpadn.c:  Likewise.
21608         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21609         if _IO_padn does not write the whole buffer.
21610         [!COMPILE_WPRINTF] (PAD): Likewise.
21611
21612 2013-10-10  David S. Miller  <davem@davemloft.net>
21613
21614         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21615         directory block.
21616
21617 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21618
21619         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21620         instead of FSF address.
21621         * soft-fp/fixdfti.c: Likewise.
21622         * soft-fp/fixsfti.c: Likewise.
21623         * soft-fp/fixtfti.c: Likewise.
21624         * soft-fp/fixunsdfti.c: Likewise.
21625         * soft-fp/fixunssfti.c: Likewise.
21626         * soft-fp/fixunstfti.c: Likewise.
21627         * soft-fp/floattidf.c: Likewise.
21628         * soft-fp/floattisf.c: Likewise.
21629         * soft-fp/floattitf.c: Likewise.
21630         * soft-fp/floatuntidf.c: Likewise.
21631         * soft-fp/floatuntisf.c: Likewise.
21632         * soft-fp/floatuntitf.c: Likewise.
21633         * soft-fp/trunctfxf2.c: Likewise.
21634
21635         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21636         * soft-fp/fixdfti.c: Likewise.
21637         * soft-fp/fixsfti.c: Likewise.
21638         * soft-fp/fixtfti.c: Likewise.
21639         * soft-fp/fixunsdfti.c: Likewise.
21640         * soft-fp/fixunssfti.c: Likewise.
21641         * soft-fp/fixunstfti.c: Likewise.
21642         * soft-fp/floattidf.c: Likewise.
21643         * soft-fp/floattisf.c: Likewise.
21644         * soft-fp/floattitf.c: Likewise.
21645         * soft-fp/floatuntidf.c: Likewise.
21646         * soft-fp/floatuntisf.c: Likewise.
21647         * soft-fp/floatuntitf.c: Likewise.
21648         * soft-fp/trunctfxf2.c: Likewise.
21649
21650 2013-10-10  David S. Miller  <davem@davemloft.net>
21651
21652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21653
21654 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21655
21656         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21657         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21658         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21659         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21660         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21661         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21662         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21663
21664         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21665         for NaNs before doing comparisons on argument.
21666         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21667         Likewise.
21668
21669 2013-10-10  Will Newton  <will.newton@linaro.org>
21670
21671         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21672         passed to _int_memalign does not overflow.
21673
21674 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21675
21676         * scripts/bench.pl: Add include-sources directive.
21677         * benchtests/README: Update documentation.
21678
21679 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21680
21681         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21682         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21683         instead of FP_INIT_ROUNDMODE.
21684         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21685         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21686
21687         [BZ #16034]
21688         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21689         copy class of input value.
21690         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21691         not handle exceptions.
21692         * soft-fp/negsf2.c (__negsf2): Likewise.
21693         * soft-fp/negtf2.c (__negtf2): Likewise.
21694         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21695
21696 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21697
21698         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21699         semicolon.  From Linux kernel.
21700
21701 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21702
21703         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21704
21705 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21706
21707         [BZ #156]
21708         * manual/socket.texi: Added statement about buffer
21709         for gethostbyname2_r.
21710
21711 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21712
21713         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21714         Use .p2align directive instead, throughout.
21715         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21716         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21717         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21718         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21719         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21720         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21721         * sysdeps/x86_64/strchr.S: Likewise.
21722         * sysdeps/x86_64/strrchr.S: Likewise.
21723
21724 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21725
21726         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21727
21728         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21729
21730         * sysdeps/generic/math_private.h (__mpsin1): Remove
21731         declaration.
21732         (__mpcos1): Likewise.
21733         (__mpsin): New argument __range_reduce.
21734         (__mpcos): Likewise.
21735         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21736         (slow): Use __mpsin and __mpcos.
21737         (slow1): Likewise.
21738         (slow2): Likewise.
21739         (sloww): Likewise.
21740         (sloww1): Likewise.
21741         (sloww2): Likewise.
21742         (bsloww): Likewise.
21743         (bsloww1): Likewise.
21744         (bsloww2): Likewise.
21745         (cslow2): Likewise.
21746         (csloww): Likewise.
21747         (csloww1): Likewise.
21748         (csloww2): Likewise.
21749         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21750         range_reduce.  Merge in __mpsin1.
21751         (__mpcos): Likewise.
21752         (__mpsin1): Remove.
21753         (__mpcos1): Likewise.
21754
21755 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21756
21757         * locale/loadlocale.c (_nl_intern_locale_data): Use
21758         LOCFILE_ALIGNED_P.
21759         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21760         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21761         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21762         obstack data is appropriately aligned.
21763         (obstack_int32_grow_fast): Likewise.
21764         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21765         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21766         (add_locale_uint32_array): Likewise.
21767
21768 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21769
21770         * benchtests/Makefile: Remove ARGLIST and RET variables.
21771         ($(objpfx)bench-%.c): Pass only function name to the script.
21772         * benchtests/README: Update documentation.
21773         * benchtests/acos-inputs: Add new directives.
21774         * benchtests/acosh-inputs: Likewise.
21775         * benchtests/asin-inputs: Likewise.
21776         * benchtests/asinh-inputs: Likewise.
21777         * benchtests/atan-inputs: Likewise.
21778         * benchtests/atanh-inputs: Likewise.
21779         * benchtests/cos-inputs: Likewise.
21780         * benchtests/cosh-inputs: Likewise.
21781         * benchtests/exp-inputs: Likewise.
21782         * benchtests/log-inputs: Likewise.
21783         * benchtests/pow-inputs: Likewise.
21784         * benchtests/rint-inputs: Likewise.
21785         * benchtests/sin-inputs: Likewise.
21786         * benchtests/sinh-inputs: Likewise.
21787         * benchtests/tan-inputs: Likewise.
21788         * benchtests/tanh-inputs: Likewise.
21789         * scripts/bench.pl: Add support for new directives.
21790
21791 2013-10-07  Alan Modra  <amodra@gmail.com>
21792
21793         * README: Fix careless merge.
21794
21795 2013-10-05  Alan Modra  <amodra@gmail.com>
21796
21797         * NEWS: Mention powerpc64le support and bugs fixed.
21798         * README: Both big-endian and little-endian powerpc64 supported.
21799
21800 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21801
21802         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21803         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21804         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21805         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21806
21807 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21808
21809         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21810         match prototype.
21811
21812 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21813
21814         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21815         Move -mhard-float appending from
21816         ports/sysdeps/powerpc/powerpc32/Makefile.
21817         [$(with-fp) = yes] (ASFLAGS): Likewise.
21818         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21819         * sysdeps/powerpc/nofpu: Move directory from
21820         ports/sysdeps/powerpc/nofpu.
21821         * sysdeps/powerpc/soft-fp: Move directory from
21822         ports/sysdeps/powerpc/soft-fp.
21823         * sysdeps/powerpc/powerpc32/405: Move directory from
21824         ports/sysdeps/powerpc/powerpc32/405.
21825         * sysdeps/powerpc/powerpc32/440: Move directory from
21826         ports/sysdeps/powerpc/powerpc32/440.
21827         * sysdeps/powerpc/powerpc32/464: Move directory from
21828         ports/sysdeps/powerpc/powerpc32/464.
21829         * sysdeps/powerpc/powerpc32/476: Move directory from
21830         ports/sysdeps/powerpc/powerpc32/476.
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21832         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21834         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21836         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21838         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21840         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21841         * README: Update for powerpc-*-linux-gnu software floating point
21842         support in libc.
21843
21844         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21845         case to powerpc/powerpc32*.
21846         * sysdeps/unix/sysv/linux/configure: Regenerated.
21847
21848         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21849         (_FPU_MASK_OM): Define as 0x04.
21850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21852         0x00c10080.
21853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21854         0x0000003c.
21855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21856
21857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21858         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21859         getcontext_e500.
21860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21861         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21862         setcontext_e500.
21863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21864         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21865         and setcontext_e500.
21866
21867 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21868
21869         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21870
21871 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21872
21873         * manual/threads.texi (Default Thread Attributes): Fix typo.
21874
21875 2013-10-04  Will Newton  <will.newton@linaro.org>
21876
21877         * malloc/Makefile: Add tst-memalign.
21878         * malloc/tst-memalign.c: New file.
21879
21880         * malloc/tst-posix_memalign.c: Add comments.
21881         (do_test): Add comments and call free on all potentially
21882         allocated pointers. Add space after cast.
21883
21884         * malloc/tst-pvalloc.c: Add comments.
21885         (do_test): Add comments and call free on all potentially
21886         allocated pointers. Remove duplicate check for NULL pointer.
21887         Add space after cast.
21888
21889         * malloc/tst-valloc.c: Add comments.
21890         (do_test): Add comments and call free on all potentially
21891         allocated pointers. Remove duplicate check for NULL pointer.
21892         Add space after cast.
21893
21894 2013-10-04  Alan Modra  <amodra@gmail.com>
21895
21896         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21897         Use stdint types in rather than __attribute__((mode())).
21898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21899
21900 2013-10-04  Alan Modra  <amodra@gmail.com>
21901
21902         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21903         Correct handling of unaligned relocs for little-endian.
21904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21905
21906 2013-10-04  Alan Modra  <amodra@gmail.com>
21907
21908         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21909         * configure: Regenerate.
21910         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21911         * shlib-versions: Likewise.
21912
21913 2013-10-04  Alan Modra  <amodra@gmail.com>
21914
21915         * string/tester.c (test_memrchr): Increment reported test cycle.
21916
21917 2013-10-04  Alan Modra  <amodra@gmail.com>
21918
21919         * string/test-memcpy.c (do_one_test): When reporting errors, print
21920         string address and don't overrun end of string.
21921
21922 2013-10-04  Alan Modra  <amodra@gmail.com>
21923
21924         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21925         insrdi.  Make better use of reg selection to speed exit slightly.
21926         Schedule entry path a little better.  Remove useless "are we done"
21927         checks on entry to main loop.  Handle wrapping around zero address.
21928         Correct main loop count.  Handle single left-over word from main
21929         loop inline rather than by using loop_small.  Remove extra word
21930         case in loop_small caused by wrong loop count.  Add little-endian
21931         support.
21932         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21933         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21934         cache hint.
21935         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21936         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21937         support.  Avoid rlwimi.
21938         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21939
21940 2013-10-04  Alan Modra  <amodra@gmail.com>
21941
21942         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21943         insrdi.  Formatting.
21944         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21945         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21946         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21947         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21948         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21949         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21950
21951 2013-10-04  Alan Modra  <amodra@gmail.com>
21952
21953         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21954         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21955         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21956         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21957         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21958         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21959         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21960         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21961         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21962         use of regs.  Use power7 mtocrf.  Tidy function tails.
21963
21964 2013-10-04  Alan Modra  <amodra@gmail.com>
21965
21966         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21967         Formatting.  Consistently use rXXX register defines or rN defines.
21968         Use early exit labels that avoid restoring unused non-volatile regs.
21969         Make cr field use more consistent with rWORDn compares.  Rename
21970         regs used as shift registers for unaligned loop, using rN defines
21971         for short lifetime/multiple use regs.
21972         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21973         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21974         addi 1,1,64 to pop stack frame.  Simplify return value code.
21975         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21976
21977 2013-10-04  Alan Modra  <amodra@gmail.com>
21978
21979         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21980         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21981         rather than rlwimi.
21982         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21983         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21984         little-endian support.  Correct typos.
21985         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21986         rather than rlwimi.
21987         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21988         in loop and entry code to keep "and." results.
21989         (strchr): Add little-endian support.  Comment.  Move cntlzd
21990         earlier in tail.
21991         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21992
21993 2013-10-04  Alan Modra  <amodra@gmail.com>
21994
21995         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21996         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21997         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21998         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21999
22000 2013-10-04  Alan Modra  <amodra@gmail.com>
22001
22002         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22003         (rTMP): Define as r11.
22004         (strcmp): Add little-endian support.  Optimise tail.
22005         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22006         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22007         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22008         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22009         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22010         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22011         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22012
22013 2013-10-04  Alan Modra  <amodra@gmail.com>
22014
22015         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22016         little-endian support.  Remove unnecessary "are we done" tests.
22017         Handle "s" wrapping around zero and extremely large "size".
22018         Correct main loop count.  Handle single left-over word from main
22019         loop inline rather than by using small_loop.  Correct comments.
22020         Delete "zero" tail, use "end_max" instead.
22021         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22022
22023 2013-10-04  Alan Modra  <amodra@gmail.com>
22024
22025         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22026         support.  Don't branch over align.
22027         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22028         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22029         support.  Rearrange tmp reg use to suit.  Comment.
22030         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22031
22032 2013-10-04  Alan Modra  <amodra@gmail.com>
22033
22034         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22035
22036 2013-10-04  Alan Modra  <amodra@gmail.com>
22037
22038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22039         conditional form of branch and link when obtaining pc.
22040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22041
22042 2013-10-04  Alan Modra  <amodra@gmail.com>
22043
22044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22045         HIWORD/LOWORD.
22046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22048
22049 2013-10-04  Alan Modra  <amodra@gmail.com>
22050
22051         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22052         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22053         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22054         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22055         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22056         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22057         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22058         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22059         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22060         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22061
22062 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22063             Alistair Popple <alistair@ozlabs.au.ibm.com>
22064             Alan Modra <amodra@gmail.com>
22065
22066         [BZ #15723]
22067         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22068         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22069         _dl_hwcap access for little-endian.
22070         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22071         destroy vmx regs when saving unaligned.
22072         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22073         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22074         destroy vmx regs when saving unaligned.
22075
22076 2013-10-04  Alan Modra  <amodra@gmail.com>
22077
22078         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22079         Don't use a union to pack hi/low value.
22080
22081 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22082
22083         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22084         for little-endian.
22085         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22086         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22087         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22088         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22089         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22090
22091 2013-10-04  Alan Modra  <amodra@gmail.com>
22092
22093         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22094         constants to usual value for .cst8 section, and remove redundant
22095         high address load.
22096         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22097         constant for 0x1p52.  Load little-endian words of double from
22098         correct stack offsets.
22099
22100 2013-10-04  Alan Modra  <amodra@gmail.com>
22101
22102         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22103         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22104         words of double from correct stack offsets.
22105         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22106         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22107         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22108         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22109         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22110         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22111         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22112         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22113         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22114         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22115         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22116         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22117         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22118         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22119         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22120         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22121         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22122
22123 2013-10-04  Alan Modra  <amodra@gmail.com>
22124
22125         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22126         64-bit int/double union.
22127         (_FPU_SETCW): Likewise.
22128         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22129         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22130
22131 2013-10-04  Alan Modra  <amodra@gmail.com>
22132
22133         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22134         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22135
22136 2013-10-04  Alan Modra  <amodra@gmail.com>
22137
22138         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22139         use vector int constants.
22140         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22141
22142 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22143
22144         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22145         array with long long.
22146         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22147         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22148         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22149         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22150         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22151         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22152         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22153         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22154         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22155         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22156         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22157         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22158         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22159
22160 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22161
22162         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22163         (__signbit): Likewise.  Correct for little-endian.
22164         (__signbitl): Call __signbit.
22165         (lrint): Correct for little-endian.
22166         (lrintf): Call lrint.
22167
22168 2013-10-04  Alan Modra  <amodra@gmail.com>
22169
22170         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22171         union 32-bit int array member with 64-bit int array.
22172         (t515, tm256): Double rather than long double.
22173         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22174
22175 2013-10-04  Alan Modra  <amodra@gmail.com>
22176
22177         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22178         Delete.
22179         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22180         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22181         version of math_ldbl.h.
22182
22183 2013-10-04  Alan Modra  <amodra@gmail.com>
22184
22185         [BZ #15734], [BZ #15735]
22186         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22187         all uses of ieee875 long double macros and unions.  Simplify test
22188         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22189         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22190         normalize after ldbl_extract_mantissa, and don't add hidden bit
22191         already handled.  Don't treat low word of ieee854 mantissa like
22192         low word of IBM long double and mask off bit when testing for
22193         zero.
22194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22195         all uses of ieee875 long double macros and unions.  Simplify tests
22196         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22197         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22198         two1022, instead use their values.  Recognise that tests for large
22199         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22200         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22201         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22202         test for 0.0L and nan.  Correct negation.
22203         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22204         ieee875 long double macros and unions.  Correct output for large
22205         magnitude x.  Correct absolute value calculation.
22206         (__erfcl): Likewise.
22207         * math/libm-test.inc: Add tests for errors discovered in IBM long
22208         double versions of fmodl, remainderl, erfl and erfcl.
22209
22210 2013-10-04  Alan Modra  <amodra@gmail.com>
22211
22212         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22213         all uses of ieee854 long double macros and unions.  Simplify tests
22214         for long doubles that are fully specified by the high double.
22215         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22216         Likewise.
22217         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22218         Remove dead code too.
22219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22220         (__ieee754_ynl): Likewise.
22221         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22222         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22223         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22224         Remove dead code too.
22225         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22226         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22227         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22228         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22229         Simplify.
22230         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22231         Simplify.
22232         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22233         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22235         Comment on variable precision.
22236         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22237         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22238         Likewise.
22239         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22240         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22241         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22242         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22243         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22244
22245 2013-10-04  Alan Modra  <amodra@gmail.com>
22246
22247         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22248         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22249         all uses of ieee854 long double macros and unions.
22250         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22251         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22252         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22253         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22255         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22256         Likewise.
22257         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22258         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22259         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22260         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22261         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22262         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22263         Simplify sign and nan test too.
22264         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22265         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22266         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22267         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22268         Likewise.
22269         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22270         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22271         Likewise.
22272         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22273         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22274         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22275         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22276         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22278
22279 2013-10-04  Alan Modra  <amodra@gmail.com>
22280
22281         * stdio-common/printf_size.c (__printf_size): Don't use
22282         union ieee854_long_double in fpnum union.
22283         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22284         signbit macro to retrieve sign from long double.
22285         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22286         retrieve sign from long double.
22287         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22288         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22289         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22290         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22291         * math/test-misc.c (main): Don't use union ieee854_long_double.
22292
22293 2013-10-04  Alan Modra  <amodra@gmail.com>
22294
22295         [BZ #15680]
22296         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22297         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22298         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22299         calculation.  Remove unnecessary test for denormal exponent.
22300         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22301         Correct handling of denormals.  Avoid undefined shift behaviour.
22302         Correct normalisation of low mantissa when low double is denormal.
22303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22304         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22305         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22306         Correct normalisation of low mantissa.  Test for overflow of high
22307         mantissa and normalise.
22308         (ldbl_nearbyint): Use more readable constant for two52.
22309         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22310         (__mpn_construct_long_double): Fix test for overflow of high
22311         mantissa and correct normalisation.  Avoid undefined shift.
22312
22313 2013-10-04  Alan Modra  <amodra@gmail.com>
22314
22315         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22316         (union ibm_extended_long_double): Define as an array of ieee754_double.
22317         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22318         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22319         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22320         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22321         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22322         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22323         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22324         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22325         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22326         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22327         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22328
22329 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22330
22331         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22332         page size instead of calling getpagesize.
22333
22334         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22335         (LOCFILE_ALIGN_MASK): Likewise.
22336         (LOCFILE_ALIGN_UP): Likewise.
22337         (LOCFILE_ALIGNED_P): Likewise.
22338         * locale/programs/ld-collate.c (collate_output): Use the new
22339         macros instead of __alignof__ (int32_t).
22340         * locale/weight.h (findidx): Likewise.
22341
22342 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22343
22344         [BZ #431]
22345         * manual/string.texi: Fix strncat and wcsncat.
22346
22347 2013-10-03  Brooks Moses  <bmoses@google.com>
22348
22349         [BZ #15915]
22350         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22351         * Makerules: ...here, and adjust associated comments.
22352
22353 2013-10-02  Will Newton  <will.newton@linaro.org>
22354
22355         * malloc/Makefile: Add tst-pvalloc.
22356         * malloc/tst-pvalloc.c: New file.
22357
22358 2013-10-02  Will Newton  <will.newton@linaro.org>
22359
22360         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22361         improve test coverage.
22362
22363 2013-10-02  Will Newton  <will.newton@linaro.org>
22364
22365         * malloc/Makefile: Add tst-posix_memalign.
22366         * malloc/tst-posix_memalign.c: New file.
22367
22368 2013-10-01  Eric Blake  <eblake@redhat.com>
22369
22370         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22371         Use __THROWNL rather than __THROW on static functions.
22372
22373 2013-09-30  Petr Machata  <pmachata@redhat.com>
22374
22375         * elf/elf.h (R_AARCH64_ABS16): New macro.
22376         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22377         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22378         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22379         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22380         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22381         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22382         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22383         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22384         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22385         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22386         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22387         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22388         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22389         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22390         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22391         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22392         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22393         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22394         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22395         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22396         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22397         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22398         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22399         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22400         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22401         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22402         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22403         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22404         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22405         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22406         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22407         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22408         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22409         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22410         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22411         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22412         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22413         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22414         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22415         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22416         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22417         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22418         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22419         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22420         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22421         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22422         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22423         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22424         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22425         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22426         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22427         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22428         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22429         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22430         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22431         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22432         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22433         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22434         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22435         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22436         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22437         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22438         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22439         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22440         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22441         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22442         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22443         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22444         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22445         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22446         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22447         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22448         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22449         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22450         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22451         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22452         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22453         (R_AARCH64_TLSDESC_LDR): Likewise.
22454         (R_AARCH64_TLSDESC_ADD): Likewise.
22455         (R_AARCH64_TLSDESC_CALL): Likewise.
22456
22457 2013-09-30  Andreas Schwab  <schwab@suse.de>
22458
22459         [BZ #15048]
22460         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22461         the nss database lookup.
22462         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22464
22465 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22466
22467         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22468
22469 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22470
22471         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22472         ${Bash-specific parameter/pattern/string} parameter expansion.
22473         * sysdeps/unix/make-syscalls.sh: Likewise.
22474
22475 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22476
22477         * sysdeps/sh/stackguard-macros.h: New file.
22478
22479 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22480
22481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22483         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22484         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22485         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22486         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22487
22488 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22489
22490         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22491         Fix thread ID register.
22492
22493 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22494
22495         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22496         [POSIX || UNIX98]: Require rather than permitting all symbols from
22497         <time.h>.
22498         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22499         element of struct sched_param.
22500         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22501         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22502         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22503         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22504         constant.
22505
22506 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22507
22508         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22509         argument calculation.
22510
22511 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22512
22513         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22514         Expect macro.
22515         [POSIX] (pthread_attr_t): Do not require type.
22516         [POSIX] (pthread_cond_t): Likewise.
22517         [POSIX] (pthread_condattr_t): Likewise.
22518         [POSIX] (pthread_key_t): Likewise.
22519         [POSIX] (pthread_mutex_t): Likewise.
22520         [POSIX] (pthread_mutexattr_t): Likewise.
22521         [POSIX] (pthread_once_t): Likewise.
22522         [POSIX] (pthread_t): Likewise.
22523         [POSIX-based standards] (pthread_atfork): Expect function.
22524
22525 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22526             Richard Sandiford  <richard@codesourcery.com>
22527
22528         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22529         (swap_endianness_p): New extern variable.
22530         (set_big_endian): New inline function.
22531         (maybe_swap_uint32): Likewise.
22532         (maybe_swap_uint32_array): Likewise.
22533         (maybe_swap_uint32_obstack): Likewise.
22534         * locale/programs/locfile.c: Include <stdbool.h>.
22535         (swap_endianness_p): New variable.
22536         (add_locale_uint32): Call maybe_swap_uint32.
22537         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22538         (write_locale_data): Call maybe_swap_uint32_array.
22539         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22540         maybe_swap_uint32.
22541         (obstack_int32_grow_fast): Likewise.
22542         (output_weightwc): Call maybe_swap_uint32_obstack.
22543         (collate_output): Likewise.
22544         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22545         (OPT_LITTLE_ENDIAN): Likewise.
22546         (options): Add --little-endian and --big-endian options.
22547         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22548         * locale/programs/locarchive.c: Include "locfile.h".
22549         (GET): New macro.
22550         (SET): Likewise.
22551         (INC): Likewise.
22552         (create_archive): Use the new macros to access fields of
22553         structures directly mapped from or written to locale archives.
22554         (oldlocrecentcmp): Likewise.
22555         (enlarge_archive): Likewise.
22556         (insert_name): Likewise.
22557         (add_alias): Likewise.
22558         (add_locale): Likewise.
22559         (delete_locales_from_archive): Likewise.
22560         (show_archive_content): Likewise.
22561         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22562         locale data.
22563
22564 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22565
22566         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22567         http://www.gnu.org/doc/freemanuals.texi.
22568         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22569
22570 2013-09-24  Will Newton  <will.newton@linaro.org>
22571
22572         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22573         macro.
22574
22575 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22576
22577         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22578         unsigned char.
22579
22580 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22581
22582         * manual/threads.texi (POSIX Threads): Fix a typo.
22583
22584 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22585
22586         [BZ #14547]
22587         * string/tst-strcoll-overflow.c: New test case.
22588         * string/Makefile (xtests): Add tst-strcoll-overflow.
22589         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22590         cache if string sizes may cause integer overflow.
22591
22592         [BZ #14547]
22593         * string/strcoll_l.c (coll_seq): New members rule, idx,
22594         save_idx and back_us.
22595         (get_next_seq_nocache): New function.
22596         (do_compare_nocache): New function.
22597         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22598         when malloc fails.
22599
22600 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22601
22602         [BZ #15754]
22603         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22604         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22605         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22606
22607         [BZ #15754]
22608         * elf/Makefile (tests): Add tst-ptrguard1.
22609         (tests-static): Add tst-ptrguard1-static.
22610         (tst-ptrguard1-ARGS): Define.
22611         (tst-ptrguard1-static-ARGS): Define.
22612         * elf/tst-ptrguard1.c: New file.
22613         * elf/tst-ptrguard1-static.c: New file.
22614         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22615         * sysdeps/i386/stackguard-macros.h: Likewise.
22616         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22617         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22618         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22619         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22620         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22621         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22622
22623 2013-09-23  Hector Marco  <hecmargi@upv.es>
22624             Ismael Ripoll  <iripoll@disca.upv.es>
22625             Carlos O'Donell  <carlos@redhat.com>
22626
22627         [BZ #15754]
22628         * sysdeps/generic/stackguard-macros.h: Define
22629         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22630         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22631         Define __pointer_chk_guard_local.
22632         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22633         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22634
22635 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22636
22637         [BZ #15859]
22638         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22639
22640 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22641
22642         * include/string.h (__ffs): Declare as hidden.
22643         * string/ffs.c (__ffs): Define as hidden.
22644         * sysdeps/i386/ffs.c (__ffs): Likewise.
22645         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22646         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22647         * sysdeps/s390/ffs.c (__ffs): Likewise.
22648         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22649
22650 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22651
22652         * NEWS: Mention malloc probes.
22653
22654         * malloc/arena.c (new_heap): New memory_heap_new probe.
22655         (grow_heap): New memory_heap_more probe.
22656         (shrink_heap): New memory_heap_less probe.
22657         (heap_trim): New memory_heap_free probe.
22658         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22659         (systrim): New memory_sbrk_less probe.
22660         * manual/probes.texi: Document them.
22661
22662         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22663         * manual/probes.texi: Document it.
22664
22665         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22666         (__libc_realloc): Add memory_realloc_retry probe.
22667         (__libc_memalign): Add memory_memalign_retry probe.
22668         (__libc_valloc): Add memory_valloc_retry probe.
22669         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22670         (__libc_calloc): Add memory_calloc_retry probe.
22671         * manual/probes.texi: Document them.
22672
22673         * malloc/arena.c (get_free_list): Add probe
22674         memory_arena_reuse_free_list.
22675         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22676         and memory_arena_reuse.
22677         (arena_get2) [!PER_THREAD]: Likewise.
22678         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22679         memory_arena_reuse_realloc.
22680         * manual/probes.texi: Document them.
22681
22682         * malloc/malloc.c (__libc_free): Add
22683         memory_mallopt_free_dyn_thresholds probe.
22684         (__libc_mallopt): Add multiple memory_mallopt probes.
22685         * manual/probes.texi: Document them.
22686
22687         * malloc/malloc.c: Include stap-probe.h.
22688         (__libc_mallopt): Add memory_mallopt probe.
22689         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22690         * manual/probes.texi: New.
22691         * manual/Makefile (chapters): Add probes.
22692         * manual/threads.texi: Set next node.
22693
22694 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22695
22696         [BZ #15963, #13985]
22697         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22698         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22699         Add `Chinese' to `nan' entry name.
22700
22701 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22702
22703         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22704         (POLYNOMIAL): Likewise.
22705         (TAYLOR_SINCOS): Likewise.
22706         (TAYLOR_SLOW): Likewise.
22707         (__sin): Use TAYLOR_SINCOS.
22708         (__cos): Likewise.
22709         (slow): Use TAYLOR_SLOW.
22710         (sloww): Likewise.
22711         (bsloww): Likewise.
22712         (csloww): Likewise.
22713
22714 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22715
22716         * stdlib/strtod_l.c: Fix buffer overrun.
22717
22718 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22719
22720         * benchtests/Makefile (bench): Add sincos.
22721         * benchtests/bench-sincos.c: New file.
22722
22723         * math/libm-test.inc (cos_test_data): New test inputs.
22724         (sin_test_data): Likewise.
22725
22726         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22727         macro.
22728         (__sin): Use it.
22729         (__cos): Likewise.
22730         (slow1): Likewise.
22731         (slow2): Likewise.
22732         (sloww1): Likewise.
22733         (sloww2): Likewise.
22734         (bsloww1): Likewise.
22735         (bsloww2): Likewise.
22736         (cslow2): Likewise.
22737         (csloww1): Likewise.
22738         (csloww2): Likewise.
22739
22740         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22741         function.
22742         (__sin): Use it.
22743         (__cos): Likewise.
22744
22745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22746         gotos.
22747         (__cos): Likewise.
22748
22749 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22750
22751         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22752         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22753         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22754         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22755         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22756         * elf/cache.c (print_entry): Handle the new cache flags.
22757
22758 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22759             Aldy Hernandez  <aldyh@redhat.com>
22760
22761         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22762         Change condition to [_SOFT_FLOAT].
22763         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22764         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22775         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22778         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22779         declaration.
22780
22781 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22782
22783         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22784         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22785         (__longjmp): Use LOAD_GP to load saved GPRs.
22786         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22787         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22788         (__sigsetjmp): Use SAVE_GP to save GPRs.
22789
22790         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22791         Do not append -msoft-float.
22792         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22793
22794 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22795
22796         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22797
22798 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22799
22800         [BZ #15966]
22801         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22802         (_FPU_GETCW): Use initial "__" on variable and field names but not
22803         on macro parameter name.
22804         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22805         parentheses around reference to macro parameter.
22806
22807 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22808
22809         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22810         prototype.
22811         (ctype_startup): Use uint32_t in cast and sizeof for
22812         ctype->charnames.
22813
22814 2013-09-11  Jia Liu  <proljc@gmail.com>
22815
22816         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22817         __daddr_t_defined.
22818         [__FreeBSD__]: Likewise.
22819
22820 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22821
22822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22823         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22824         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22825         (strchr): Remove __strchr_sse42 ifunc selection.
22826         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22827         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22828
22829 2013-09-11  Will Newton  <will.newton@linaro.org>
22830
22831         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22832         parameter to RES. Remove hardcoded 1000 value.
22833         * benchtests/bench-skeleton.c (main): Pass RES parameter
22834         to TIMING_INIT and multiply result by 1000.
22835
22836 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22837
22838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22839
22840 2013-09-11  Andreas Schwab  <schwab@suse.de>
22841
22842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22843         if not defined.
22844         (O_TMPFILE) [__USE_GNU]: Define.
22845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22846         Define.
22847
22848 2013-09-11  Will Newton  <will.newton@linaro.org>
22849
22850         [BZ #15857]
22851         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22852         does not overflow.
22853
22854 2013-09-11  Will Newton  <will.newton@linaro.org>
22855
22856         [BZ #15856]
22857         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22858         does not overflow.
22859
22860 2013-09-11  Will Newton  <will.newton@linaro.org>
22861
22862         [BZ #15855]
22863         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22864         does not overflow.
22865
22866 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22867
22868         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22869         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22870         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22871         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22872         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22873
22874 2013-09-10  Allan McRae  <allan@archlinux.org>
22875
22876         [BZ #15748]
22877         * manual/arith.texi (Parsing of Floats): Clarify
22878         cross-reference.
22879
22880         [BZ #15849]
22881         * manual/install.texi (Running make install): Mention
22882         --enable-pt-chown.
22883         * INSTALL: Regenerated.
22884
22885 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22886
22887         * csu/init-first.c (_init): Remove the !SHARED condition around
22888         FPU control word initialization.
22889         * elf/dl-support.c (_dl_fpu_control): New variable.
22890         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22891         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22892         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22893         * math/test-fpucw-static.c: New file.
22894         * math/test-fpucw-ieee.c: New file.
22895         * math/test-fpucw-ieee-static.c: New file.
22896         * math/Makefile (tests): Add `test-fpucw-ieee' and
22897         `$(tests-static)'.
22898         (tests-static): New variable.
22899         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22900         dependency to...
22901         [($(build-shared),yes)]
22902         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22903         ... this.
22904         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22905         New dependency.
22906
22907 2013-09-09  Allan McRae  <allan@archlinux.org>
22908
22909         [BZ #15939]
22910         * manual/string.texi (Collation Functions): Fix typo in
22911         strcoll example.
22912         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22913
22914         [BZ #15893]
22915         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22916
22917         [BZ #15892]
22918         * libio/memstream.c (open_memstream): Fix memory leak.
22919         * libio/wmemstream.c (open_wmemstream): Likewise.
22920
22921         [BZ #15895]
22922         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22923
22924 2013-09-09  Will Newton  <will.newton@linaro.org>
22925
22926         * malloc/Makefile: Add tst-realloc to tests.
22927         * malloc/tst-realloc.c: New file.
22928
22929 2013-09-09  Allan McRae  <allan@archlinux.org>
22930
22931         [BZ #15844]
22932         * COPYING: Update from GNU website to fix FSF address.
22933         * COPYING.LIB: Likewise.
22934
22935 2013-09-06  David S. Miller  <davem@davemloft.net>
22936
22937         * po/zh_TW.po: Update Chinese (traditional) translation from
22938         translation project.
22939
22940 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22941             Joseph Myers  <joseph@codesourcery.com>
22942
22943         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22944         "localeinfo.h".
22945         (obstack_chunk_alloc): New macro.
22946         (obstack_chunk_free): Likewise.
22947         (record_offset): New function.
22948         (init_locale_data): Likewise.
22949         (align_locale_data): Likewise.
22950         (add_locale_empty): Likewise.
22951         (add_locale_raw_data): Likewise.
22952         (add_locale_raw_obstack): Likewise.
22953         (add_locale_string): Likewise.
22954         (add_locale_wstring): Likewise.
22955         (add_locale_uint32): Likewise.
22956         (add_locale_uint32_array): Likewise.
22957         (add_locale_char): Likewise.
22958         (start_locale_structure): Likewise.
22959         (end_locale_structure): Likewise.
22960         (start_locale_prelude): Likewise.
22961         (end_locale_prelude): Likewise.
22962         (write_locale_data): Take locale_file structure rather than an
22963         iovec.
22964         * locale/programs/locfile.h: Include "obstack.h".
22965         (struct locale_file): Change to store locale file contents instead
22966         of header.
22967         (init_locale_data): New prototype.
22968         (align_locale_data): Likewise.
22969         (add_locale_empty): Likewise.
22970         (add_locale_raw_data): Likewise.
22971         (add_locale_raw_obstack): Likewise.
22972         (add_locale_string): Likewise.
22973         (add_locale_wstring): Likewise.
22974         (add_locale_uint32): Likewise.
22975         (add_locale_uint32_array): Likewise.
22976         (add_locale_char): Likewise.
22977         (start_locale_structure): Likewise.
22978         (end_locale_structure): Likewise.
22979         (start_locale_prelude): Likewise.
22980         (end_locale_prelude): Likewise.
22981         (write_locale_data): Update prototype.
22982         * locale/programs/3level.h (struct TABLE): Remove result field.
22983         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22984         Use new locale_file interface.
22985         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22986         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22987         * locale/programs/ld-address.c (address_output): Use new
22988         locale_file interface.
22989         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22990         NO_ADD_LOCALE.
22991         (collate_finish): Don't call collseq_table_finalize.
22992         (collate_output): Use new locale_file interface.
22993         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22994         in file.
22995         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22996         (TABLE): Move defines earlier in file.
22997         (ELEMENT): Likewise.
22998         (DEFAULT): Likewise.
22999         (wctrans_table_add): Move macro and inline function earlier in
23000         file.
23001         (struct wctype_table): Move type earlier in file.
23002         (add_locale_wctype_table): New static prototype.
23003         (struct locale_ctype_t): Use logical types instead of struct iovec
23004         pointers for members.
23005         (ctype_output): Use new locale_file interface.
23006         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23007         new locale_file interface.
23008         (allocate_arrays): Update for use of new locale_file interface.
23009         * locale/programs/ld-identification.c (identification_output): Use
23010         new locale_file interface.
23011         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23012         * locale/programs/ld-messages.c (messages_output): Likewise.
23013         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23014         * locale/programs/ld-name.c (name_output): Likewise.
23015         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23016         * locale/programs/ld-paper.c (paper_output): Likewise.
23017         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23018         * locale/programs/ld-time.c (time_output): Likewise.
23019
23020 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23021
23022         * benchtests/Makefile: Add memrchr benchmark.
23023         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23024         benchmark as memrchr.
23025         * benchtests/bench-memrchr-ifunc.c: New file.
23026         * benchtests/bench-memrchr.c: New file.
23027
23028 2013-09-06   Will Newton  <will.newton@linaro.org>
23029
23030         * benchtests/Makefile (string-bench): Add memcpy.
23031
23032 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23033             Cong Wang  <amwang@redhat.com>
23034
23035         [BZ #15850]
23036         * sysdeps/unix/sysv/linux/bits/in.h
23037         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23038         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23039         before __USE_KERNEL_IPV6_DEFS uses.
23040         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23041         IPPROTO_BEETPH.
23042         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23043         sockaddr_in6, or ipv6_mreq.
23044
23045 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23046
23047         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23048         memory access for final bytes in some large inputs.
23049         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23050
23051 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23052
23053         * string/test-memrchr.c: New file.
23054         * string/test-memrchr-ifunc.c: New file.
23055         * string/Makefile: Add new memrchr testcase.
23056
23057 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23058
23059         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23060         fanotify_init returns EPERM.
23061
23062 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23063
23064         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23065         errors.
23066         (top level): Treat second token from macro or constant entries for
23067         allowed headers as allowed.
23068         * include/complex.h: Condition internal declarations on
23069         [!_ISOMAC].
23070         * include/fenv.h: Condition include of <stdbool.h> and internal
23071         declarations on [!_ISOMAC].
23072
23073 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23074
23075         [BZ #15923]
23076         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23077
23078 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23079
23080         * configure.in (--enable-versioning): Remove configure option.
23081         (libc_cv_asm_symver_directive): Remove configure test.
23082         (libc_cv_ld_version_script_option): Likewise.
23083         (VERSIONING): Remove variable and AC_SUBST.
23084         (DO_VERSIONING): Remove AC_DEFINE.
23085         * configure: Regenerated.
23086         * config.h.in (DO_VERSIONING): Remove macro.
23087         * Makerules [$(versioning) = yes]: Change conditionals to
23088         [$(build-shared) = yes].
23089         * config.make.in (versioning): Remove variable.
23090         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23091         [$(build-shared) = yes].
23092         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23093         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23094         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23095         [$(build-shared) = yes].
23096         * extra-lib.mk [$(versioning) = yes]: Likewise.
23097         * hurd/Makefile [$(versioning) = yes]: Likewise.
23098         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23099         [SHARED].
23100         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23101         [SHARED].
23102         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23103         [SHARED && !NO_HIDDEN].
23104         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23105         [SHARED].
23106         [SHARED && DO_VERSIONING]: Likewise..
23107         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23108         [$(build-shared) = yes].
23109         * manual/install.texi (--disable-versioning): Remove
23110         documentation.
23111         * INSTALL: Regenerated.
23112         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23113         to [SHARED].
23114         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23115         [$(build-shared) = yes].
23116         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23117         * sysdeps/i386/i686/multiarch/strstr-c.c
23118         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23119         [SHARED && !NO_HIDDEN].
23120         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23121         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23122         * sysdeps/powerpc/powerpc32/dl-machine.c
23123         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23124         * sysdeps/powerpc/powerpc32/sysdep.h
23125         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23126         to [SHARED && PIC && !NO_HIDDEN].
23127         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23128         conditional to [SHARED].
23129
23130 2013-09-04   Will Newton  <will.newton@linaro.org>
23131
23132         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23133         * benchtests/bench-string.h: Include bench-timing.h instead
23134         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23135         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23136         call to HP_TIMING_DIFF_INIT.
23137         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23138         instead of hp-timing.h macros.
23139         * benchtests/bench-memchr.c: Likewise.
23140         * benchtests/bench-memcmp.c: Likewise.
23141         * benchtests/bench-memcpy.c: Likewise.
23142         * benchtests/bench-memmem.c: Likewise.
23143         * benchtests/bench-memmove.c: Likewise.
23144         * benchtests/bench-memset.c: Likewise.
23145         * benchtests/bench-rawmemchr.c: Likewise.
23146         * benchtests/bench-strcasecmp.c: Likewise.
23147         * benchtests/bench-strcasestr.c: Likewise.
23148         * benchtests/bench-strcat.c: Likewise.
23149         * benchtests/bench-strchr.c: Likewise.
23150         * benchtests/bench-strcmp.c: Likewise.
23151         * benchtests/bench-strcpy.c: Likewise.
23152         * benchtests/bench-strcpy_chk.c: Likewise.
23153         * benchtests/bench-strlen.c: Likewise.
23154         * benchtests/bench-strncasecmp.c: Likewise.
23155         * benchtests/bench-strncat.c: Likewise.
23156         * benchtests/bench-strncmp.c: Likewise.
23157         * benchtests/bench-strncpy.c: Likewise.
23158         * benchtests/bench-strnlen.c: Likewise.
23159         * benchtests/bench-strpbrk.c: Likewise.
23160         * benchtests/bench-strrchr.c: Likewise.
23161         * benchtests/bench-strspn.c: Likewise.
23162         * benchtests/bench-strstr.c: Likewise.
23163
23164 2013-09-04  Will Newton  <will.newton@linaro.org>
23165
23166         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23167
23168 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23169
23170         [BZ #15427]
23171         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23172         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23173         * math/libm-test.inc (lgamma_test_data): Add more tests.
23174         * sysdeps/i386/fpu/libm-test-ulps: Update.
23175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23176
23177 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23178
23179         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23181         Add ifunc.
23182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23183         Add strcmp-sse2-unaligned
23184         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23185
23186 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23187
23188         * Versions.def (libc): Add GLIBC_2.19.
23189
23190 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23191
23192         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23193         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23194
23195 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23196
23197         [BZ #14155]
23198         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23199         intermediate calculations in recurrence.
23200         (__ieee754_ynf): Likewise.
23201         * math/libm-test.inc (jn_test_data): Do not allow spurious
23202         underflow exception.  Add more tests.
23203         (yn_test_data): Add more tests.
23204         * sysdeps/i386/fpu/libm-test-ulps: Update.
23205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23206
23207 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23208
23209         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23210
23211 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23212
23213         * csu/init-first.c: Fix then/than typos.
23214         * locale/programs/ld-collate.c: Likewise.
23215         * locale/programs/linereader.h: Likewise.
23216         * manual/charset.texi: Likewise.
23217         * manual/filesys.texi: Likewise.
23218         * manual/stdio.texi: Likewise.
23219         * manual/string.texi: Likewise.
23220         * stdlib/fmtmsg.c: Likewise.
23221         * sysdeps/i386/stpncpy.S: Likewise.
23222         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23223         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23224         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23225         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23226
23227 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23228
23229         * elf/dl-open.c: Fix typos.
23230         * iconvdata/gbbig5.c: Likewise.
23231         * iconvdata/iso-2022-jp.c: Likewise.
23232         * iconv/gconv_int.h: Likewise.
23233         * iconv/loop.c: Likewise.
23234         * nis/rpcsvc/nis.h: Likewise.
23235         * resolv/ns_name.c: Likewise.
23236         * stdio-common/vfscanf.c: Likewise.
23237         * streams/stropts.h: Likewise.
23238         * sunrpc/rpc_thread.c: Likewise.
23239         * sysdeps/i386/strpbrk.S: Likewise.
23240         * sysdeps/ieee754/k_standard.c: Likewise.
23241         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23242         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23243         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23244         * sysdeps/mach/hurd/profil.c: Likewise.
23245         * sysdeps/s390/dl-procinfo.h: Likewise.
23246         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23247         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23248         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23249         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23250         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23251
23252 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23253
23254         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23256
23257 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23258
23259         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23260         aix specific files.
23261         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23262         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23263         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23264         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23265         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23266         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23267         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23268         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23269
23270 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23271             Roland McGrath  <roland@hack.frob.com>
23272
23273         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23274         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23275
23276 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23277
23278         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23279         __executable_start symbol instead of _start.
23280
23281 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23282
23283         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23284         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23285         Move macros to...
23286         * sysdeps/gnu/ldsodefs.h: ... this new file.
23287
23288         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23289         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23290         instead of ELFOSABI_LINUX.
23291
23292         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23293         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23294         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23295         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23296         Likewise.
23297         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23298         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23299         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23300         Likewise.
23301         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23302         (ibm_extended_long_double): Add ieee_nan member.
23303         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23304         (do_test): New function.
23305
23306         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23307         TEST_TRUNC.
23308         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23309         functions, renamed from truncdfsf_test, trunctfsf_test,
23310         trunctfdf_test.
23311         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23312         functions.
23313         (do_test): Run all these.
23314
23315 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23316
23317         * argp/argp-help.c: Fix typos.
23318         * argp/argp-parse.c: Likewise.
23319         * debug/backtracesyms.c: Likewise.
23320         * elf/elf.h: Likewise.
23321         * malloc/malloc.c: Likewise.
23322         * nis/nis_print.c: Likewise.
23323         * resolv/res_comp.c: Likewise.
23324         * stdlib/stdlib.h: Likewise.
23325         * sunrpc/clnt_tcp.c: Likewise.
23326         * sunrpc/clnt_udp.c: Likewise.
23327         * sunrpc/clnt_unix.c: Likewise.
23328         * sysdeps/unix/bsd/ptsname.c: Likewise.
23329         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23330         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23332         Likewise.
23333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23334         Likewise.
23335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23336         Likewise.
23337         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23338
23339 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23340
23341         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23343
23344 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23345
23346         [BZ #15897]
23347         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23348         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23349         ($(objpfx)bug-dl-leaf): New rule.
23350         ($(objpfx)bug-dl-leaf.so): Likewise.
23351         ($(objpfx)bug-dl-leaf.out): Likewise.
23352         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23353         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23354         * dlfcn/bug-dl-leaf.c: New test.
23355         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23356         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23357         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23358         (dlclose): Likewise.
23359         (dlmopen): Likewise.
23360
23361 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23362
23363         * include/netdb.h [!_ISOMAC]:
23364         Don't include <tls.h>.
23365         (h_errno, __libc_h_errno): Move declaration and macros out of
23366         [_LIBC_REENTRANT].
23367
23368         * include/resolv.h [_RESOLV_H_]:
23369         Don't include <tls.h>.
23370         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23371         * resolv/res_libc.c: Don't include <tls.h>.
23372         (_res): Use __attribute__ ((nocommon)) in place of
23373         __attribute__ ((section (".bss"))).
23374
23375         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23376         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23377
23378         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23379
23380         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23381         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23382
23383         * resolv/res_mkquery.c: Include <sys/time.h>.
23384
23385         * inet/ifreq.c: Moved to ...
23386         * sysdeps/unix/ifreq.c: ... here.
23387         * inet/ifreq.c: New file, true stub version.
23388
23389         * socket/sa_len.c: New file.
23390         * socket/Makefile (aux): Add it.
23391         * sysdeps/unix/sysv/linux/Makefile
23392         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23393         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23394         and #include <socket/sa_len.c>.
23395         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23396         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23397
23398         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23399         * bits/socket.h: ... here.
23400
23401         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23402         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23403         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23404
23405 2013-08-27  Andreas Schwab  <schwab@suse.de>
23406
23407         [BZ #15736]
23408         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23409         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23410         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23411         * string/test-strcasecmp.c (test_main): Run tests in several
23412         locales.
23413         * string/test-strncasecmp.c (test_main): Likewise.
23414
23415         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23416         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23417         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23418         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23419         (__strncasecmp_ssse3) [PIC]: Likewise.
23420
23421 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23422
23423         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23424
23425         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23426         instead of explicitly declaring xdecrypt.
23427         * nis/nss_nis/nis-publickey.c: Likewise.
23428
23429 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23430
23431         [BZ #15890]
23432         * nscd/aicache.c: Include res_hconf.h.
23433         (addhstaiX): Initialize res_hconf.
23434
23435 2013-08-26  Andreas Schwab  <schwab@suse.de>
23436
23437         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23438         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23439
23440 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23441
23442         * nscd/aicache.c (addhstaiX): Fix indentation.
23443
23444 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23445
23446         * configure.ac: Quote $build_pt_chown test.
23447         * configure: Regenerated.
23448
23449 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23450
23451         [BZ #15532]
23452         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23453         * math/s_cexpf.c (__cexpf): Likewise.
23454         * math/s_cexpl.c (__cexpl): Likewise.
23455         * math/libm-test.inc (cexp_test_data): Correct expected return
23456         value for NaN + i0.  Add another test.
23457
23458 2013-08-22  David S. Miller  <davem@davemloft.net>
23459
23460         * po/ca.po: Update Catalan translation from translation project.
23461         * po/uk.po: Add Ukrainian translations from translation project.
23462
23463 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23464
23465         [BZ #15797]
23466         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23467         is infinite, not alongside NaN test.
23468         * math/s_fdimf.c (__fdimf): Likewise.
23469         * math/s_fdiml.c (__fdiml): Likewise.
23470         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23471         errno is unchanged.
23472
23473 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23474
23475         * argp/argp-help.c: Fix typos.
23476         * crypt/speeds.c: Likewise.
23477         * csu/check_fds.c: Likewise.
23478         * elf/dl-load.c: Likewise.
23479         * elf/dl-open.c: Likewise.
23480         * elf/reldep3.c: Likewise.
23481         * elf/reldep.c: Likewise.
23482         * elf/sprof.c: Likewise.
23483         * iconv/iconv_charmap.c: Likewise.
23484         * iconv/skeleton.c: Likewise.
23485         * iconv/strtab.c: Likewise.
23486         * io/lockf64.c: Likewise.
23487         * libio/libioP.h: Likewise.
23488         * resolv/gai_notify.c: Likewise.
23489         * resolv/ns_name.c: Likewise.
23490         * resolv/ns_samedomain.c: Likewise.
23491         * resolv/res_send.c: Likewise.
23492         * stdlib/random.c: Likewise.
23493         * sunrpc/rpc/xdr.h: Likewise.
23494         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23495         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23496         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23497         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23498         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23499         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23500         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23501         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23502         * sysdeps/mach/hurd/check_fds.c: Likewise.
23503         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23504         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23505         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23506         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23507         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23508         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23509         * sysdeps/pthread/aio_notify.c: Likewise.
23510         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23511         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23512         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23513         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23514         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23515
23516 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23517
23518         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23519         version if bit_Slow_SSE4_2 is set.
23520         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23521         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23522
23523 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23524
23525         [BZ #15867]
23526         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23527         trampoline stack frame information.
23528         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23529         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23530         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23531         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23532         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23533         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23534         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23535         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23536         sa_flags value.
23537         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23538         interrupting a syscall and set with option SA_SIGINFO.
23539
23540 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23541
23542         [BZ #15531]
23543         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23544         argument is infinite.
23545         * math/s_cprojf.c (__cprojf): Likewise.
23546         * math/s_cprojl.c (__cprojl): Likewise.
23547         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23548         * math/libm-test.inc (cproj_test_data): Add more tests.
23549
23550         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23551
23552         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23553         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23554         size.  Use __ffs to determine corresponding shift.
23555
23556 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23557             Roland McGrath  <roland@hack.frob.com>
23558
23559         * Makefile (INSTALL): Remove trailing blank lines from output of
23560         makeinfo.
23561
23562 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23563
23564         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23565         Align 32 bit compat elf_greg to 8 bytes.
23566
23567 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23568
23569         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23570
23571 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23572
23573         * string/strcoll_l.c (coll_seq): New structure.
23574         (get_next_seq_cached): New function.
23575         (get_next_seq): New function.
23576         (do_compare): New function.
23577         (STRCOLL): Use GNU style definition.  Simplify implementation
23578         by using get_next_seq, get_next_seq_cached and do_compare.
23579
23580 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23581
23582         [BZ #14699]
23583         CVE-2013-4237
23584         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23585         member.
23586         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23587         member.
23588         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23589         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23590         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23591         conditional.
23592         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23593         GETDENTS_64BIT_ALIGNED.
23594         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23595         * manual/filesys.texi (Reading/Closing Directory): Document
23596         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23597         strongly.
23598         * manual/conf.texi (Limits for Files): Add portability note to
23599         NAME_MAX, PATH_MAX.
23600         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23601
23602 2013-08-13  Andreas Schwab  <schwab@suse.de>
23603
23604         [BZ #15749]
23605         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23606         of fabs.
23607         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23608         LDBL_MAX_EXP >= 16384]: Add tests for it.
23609
23610 2013-08-12  David S. Miller  <davem@davemloft.net>
23611
23612         * version.h (RELEASE): Set to "development".
23613         (VERSION): Set to "2.18.90".
23614         * NEWS: Add 2.19 section.
23615
23616 2013-08-03  David S. Miller  <davem@davemloft.net>
23617
23618         * po/ko.po: Update Korean translation from translation project.
23619
23620 2013-08-01  David S. Miller  <davem@davemloft.net>
23621
23622         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23623         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23624         Bilka.
23625
23626 2013-07-30  David S. Miller  <davem@davemloft.net>
23627
23628         * po/fr.po: Update French translation from translation project.
23629
23630 2013-07-28  David S. Miller  <davem@davemloft.net>
23631
23632         * po/cs.po: Update Czech translation from translation project.
23633
23634         * po/sv.po: Update Swedish translation from translation project.
23635
23636 2013-07-27  David S. Miller  <davem@davemloft.net>
23637
23638         * po/eo.po: Update Esperanto translation from translation project.
23639
23640         * po/vi.po: Update Vietnamese translation from translation project.
23641
23642         * po/de.po: Update German translation from translation project.
23643
23644 2013-07-26  David S. Miller  <davem@davemloft.net>
23645
23646         * po/bg.po: Update Bulgarian translation from translation project.
23647
23648         * po/nl.po: Update Dutch translation from translation project.
23649         * po/pl.po: Update Polish translation from translation project.
23650         * po/ru.po: Update Russian translation from translation project.
23651
23652 2013-07-24  David S. Miller  <davem@davemloft.net>
23653
23654         * po/libc.pot: Update.
23655
23656 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23657
23658         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23659         variable page size.
23660         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23661         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23662         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23663
23664 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23665
23666         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23667
23668 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23669             Andreas Schwab  <schwab@suse.de>
23670             Roland McGrath  <roland@hack.frob.com>
23671             Joseph Myers  <joseph@codesourcery.com>
23672             Carlos O'Donell  <carlos@redhat.com>
23673
23674         [BZ #15755]
23675         * config.h.in: Define HAVE_PT_CHOWN.
23676         * config.make.in (build-pt-chown): New variable.
23677         * configure.in (--enable-pt_chown): New configure option.
23678         * configure: Regenerate.
23679         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23680         build-pt-chown is enabled.
23681         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23682         pt_chown to fix pty ownership.
23683         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23684         CLOSE_ALL_FDS.
23685         * manual/install.texi (Configuring and compiling): Mention
23686         --enable-pt_chown. Add @findex for grantpt.
23687         * INSTALL: Regenerate.
23688
23689 2013-07-20  David S. Miller  <davem@davemloft.net>
23690
23691         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23692         difference between 32-bit and 64-bit.
23693
23694 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23695
23696         [BZ #15711]
23697         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23698         Avoid system header dependency with -ffreestanding.
23699         ($(objpfx)bits/syscall%d): Likewise.
23700
23701 2013-07-13  David S. Miller  <davem@davemloft.net>
23702
23703         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23704         underflows from atanl/atan2l due to bug 15319.
23705         (casinh_test_data): Likewise.
23706
23707 2013-07-07  David S. Miller  <davem@davemloft.net>
23708
23709         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23710
23711 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23712
23713         * sysdeps/i386/fpu/libm-test-ulps: Update.
23714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23715
23716 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23717
23718         * configure.in (--enable-lock-elision): Fix message text.
23719         * INSTALL: Regenerate.
23720         * configure: Regenerate.
23721
23722 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23723
23724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23725
23726 2013-07-03  Andreas Jaeger  <aj@suse.de>
23727
23728         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23729         define.
23730         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23731         (ptrace_peeksiginfo_args): Add.
23732         (__ptrace_peeksiginfo_flags): Add.
23733         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23734         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23735         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23736
23737 2013-07-03  Allan McRae  <allan@archlinux.org>
23738
23739         * sysdeps/i386/fpu/libm-test-ulps: Update.
23740
23741 2013-07-02  David S. Miller  <davem@davemloft.net>
23742
23743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23744
23745 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23746
23747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23748
23749 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23750
23751         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23753
23754 2013-07-02  Andi Kleen <ak@linux.intel.com>
23755
23756         * config.h.in (ENABLE_LOCK_ELISION): Add.
23757         * configure.in (--enable-lock-elision): Add option.
23758         * manual/install.texi: Document --enable lock elision.
23759         * configure: Regenerate
23760         * INSTALL: Regenerate.
23761
23762 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23763
23764         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23765         SSE4.2 strcasecmp for libc.a.
23766         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23767
23768 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23769
23770         [BZ #13304]
23771         * soft-fp/op-common.h (_FP_FMA): New macro.
23772         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23773         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23774         (_FP_MUL_MEAT_1_imm): ... here.
23775         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23776         (_FP_MUL_MEAT_1_wide): ... here.
23777         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23778         (_FP_MUL_MEAT_1_hard): ... here.
23779         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23780         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23781         (_FP_MUL_MEAT_2_wide): ... here.
23782         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23783         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23784         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23785         (_FP_MUL_MEAT_2_gmp): ... here.
23786         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23787         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23788         (_FP_MUL_MEAT_4_wide): ... here.
23789         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23790         (_FP_MUL_MEAT_4_gmp): ... here.
23791         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23792         (_FP_WFRACBITS_DW_S): Likewise.
23793         (_FP_WFRACXBITS_DW_S): Likewise.
23794         (_FP_HIGHBIT_DW_S): Likewise.
23795         (FP_FMA_S): Likewise.
23796         (_FP_FRAC_HIGH_DW_S): Likewise.
23797         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23798         (_FP_WFRACBITS_DW_D): Likewise.
23799         (_FP_WFRACXBITS_DW_D): Likewise.
23800         (_FP_HIGHBIT_DW_D): Likewise.
23801         (FP_FMA_D): Likewise.
23802         (_FP_FRAC_HIGH_DW_D): Likewise.
23803         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23804         (_FP_WFRACBITS_DW_E): Likewise.
23805         (_FP_WFRACXBITS_DW_E): Likewise.
23806         (_FP_HIGHBIT_DW_E): Likewise.
23807         (FP_FMA_E): Likewise.
23808         (_FP_FRAC_HIGH_DW_E): Likewise.
23809         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23810         (_FP_WFRACBITS_DW_Q): Likewise.
23811         (_FP_WFRACXBITS_DW_Q): Likewise.
23812         (_FP_HIGHBIT_DW_Q): Likewise.
23813         (FP_FMA_Q): Likewise.
23814         (_FP_FRAC_HIGH_DW_Q): Likewise.
23815         * soft-fp/fmasf4.c: New file.
23816         * soft-fp/fmadf4.c: Likewise.
23817         * soft-fp/fmatf4.c: Likewise.
23818
23819 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23820
23821         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23822         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23823         Silvermont.
23824         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23825         macro.
23826         (index_Slow_SSE4_2): Likewise.
23827         (index_Prefer_PMINUB_for_stringop): Likewise.
23828         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23829         bit_Slow_SSE4_2 is set.
23830         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23831         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23832
23833 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23834
23835         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23836         rtld_global._dl_hwcap2.
23837         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23838         POWER8.
23839         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23840         POWER8 feature descriptions defined in _dl_hwcap2.
23841         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23842         string handling for POWER8 feature bits.
23843         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23844         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23845         _dl_powerpc_cap_flags.
23846         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23847         * sysdeps/powerpc/rtld-global-offsets.sym
23848         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23849         _dl_hwcap2 in the rtld_global_ro structure.
23850
23851 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23852
23853         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23854         hardware capabilities in support of AT_HWCAP2.
23855         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23856         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23857         GLRO(dl_hwcap2).
23858         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23859         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23860         explicitly the unknown a_type display mechanism is used.
23861         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23862         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23863         struct member.
23864         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23865         to macro prototype for AT_HWCAP2 support.
23866         * sysdeps/i386/dl-procinfo.h: Likewise.
23867         * sysdeps/s390/dl-procinfo.h: Likewise.
23868         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23869         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23870         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23871         return -1 for unknown a_type display fallback.
23872         * sysdeps/sparc/dl-procinfo.h: Likewise.
23873         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23874         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23875
23876 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23877
23878         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23879         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23880
23881 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23882
23883         [BZ #12492]
23884         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23885         mprotect making __stack_prot writable.
23886
23887 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23888             Joseph Myers  <joseph@codesourcery.com>
23889
23890         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23891         as being properly aligned.
23892
23893 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23894
23895         * dlfcn/modstatic5.c: New file.
23896         * dlfcn/tststatic5.c: New file.
23897         * dlfcn/Makefile (tests): Add tststatic5.
23898         (tests-static): Likewise.
23899         (modules-names): Add modstatic5.
23900         (tststatic5-ENV): New variable.
23901         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23902
23903         [BZ #15022]
23904         * elf/dl-support.c (_dl_main_map): New variable.
23905         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23906         (_dl_nns, _dl_load_adds): Set to 1.
23907         (_dl_initial_searchlist): Refer to _dl_main_map.
23908         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23909         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23910         call to _dl_get_origin.
23911         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23912         around call_map.
23913         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23914         * dlfcn/modstatic3.c: New file.
23915         * dlfcn/tststatic3.c: New file.
23916         * dlfcn/tststatic4.c: New file.
23917         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23918         (tests-static): Likewise.
23919         (modules-names): Add modstatic3.
23920         (tststatic3-ENV, tststatic4-ENV): New variables.
23921         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23922         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23923
23924 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23925
23926         * configure.in (CC): Require GCC version 4.4 or later.
23927         * configure: Regenerated.
23928         * manual/install.texi (Tools for Compilation): Update GCC version
23929         requirement.
23930         * INSTALL: Regenerated.
23931
23932 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23933
23934         [BZ #15674]
23935         * string/test-memcmp.c (check2): New.
23936         (main): Call check2.
23937
23938         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23939
23940 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23941
23942         [BZ #15022]
23943         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23944         over to...
23945         (dl_open_worker) [!SHARED]: ... here.
23946
23947 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23948
23949         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23950
23951 2013-06-25  Richard Henderson  <rth@redhat.com>
23952
23953         * locale/programs/locarchive.c: Include <libc-internal.h>
23954
23955 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23956
23957         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23958         trailing whitespace removed.
23959
23960 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23961
23962         [BZ #10283]
23963         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23964         * locale/programs/locarchive.c: Include libc-mmap.h.
23965         (prepare_address_space): Take two new outputs (the mmap base and len).
23966         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23967         values.
23968         (create_archive): Declare new mmap base and len values for
23969         prepare_address_space, and store the result in ah.
23970         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23971         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23972         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23973         Declare new mmap base and len values for
23974         prepare_address_space, and store the result in new_ah.
23975         (open_archive): Declare new mmap base and len values for
23976         prepare_address_space, and store the result in ah.
23977         (close_archive): If ah->mmap_base is not NULL, use that and
23978         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23979         * sysdeps/generic/libc-mmap.h: New file.
23980
23981 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23982
23983         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23984         (ALIGN_UP): Likewise.
23985         (PTR_ALIGN_DOWN): Likewise.
23986         (PTR_ALIGN_UP): Likewise.
23987
23988 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23989
23990         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23991         entry mapped to PPC_PLATFORM_POWER8.
23992         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23993         POWER8.
23994         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23995         (_dl_string_platform): Add case for exporting platform position for
23996         POWER8.
23997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23998         search path to sysdeps/powerpc/powerpc32/power8 directory.
23999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24000         search path to sysdeps/powerpc/powerpc64/power8 directory.
24001         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24002         power7 directories.
24003         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24004         power7 directories.
24005
24006 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24007
24008         * INSTALL: Regenerate.
24009
24010         * nscd/connections.c (nscd_init): Fix comment.
24011
24012 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24013
24014         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24015
24016         [BZ #15667]
24017         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24018         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24019
24020 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24021
24022         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24023         DL_DST_REQ_STATIC.
24024         (DL_DST_REQ_STATIC): Remove macro.
24025
24026 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24027
24028         [BZ #7006]
24029         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24030         with a shift of 0 bits.
24031
24032 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24033
24034         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24035         $(tststatic-ENV).
24036
24037 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24038
24039         [BZ #15655]
24040         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24041
24042 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24043
24044         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24045         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24046         accepts -fno-tree-loop-distribute-patterns.
24047         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24048         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24049         recursive call.
24050         * string/memset.c (memset): Likewise.
24051         * string/test-memmove.c (simple_memmove): Disable loop transformation
24052         to library calls.
24053         * string/test-memset.c (simple_memset): Likewise.
24054         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24055         * benchtests/bench-memset.c (simple_memset): Likewise.
24056         * configure: Regenerated.
24057
24058 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24059
24060         * math/test-misc.c (main): Ignore fesetround failure when failures
24061         of subsequent rounding tests would be ignored.
24062
24063         [BZ #15654]
24064         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24065         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24066         * math/fegetenv.c (__fegetenv): Return 0.
24067         * math/fegetexcept.c (fegetexcept): Return 0.
24068         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24069         FE_TONEAREST.
24070         * math/feholdexcpt.c (feholdexcept): Return 0.
24071         * math/fesetenv.c (__fesetenv): Return 0.
24072         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24073         argument FE_TONEAREST.
24074         * math/feupdateenv.c (__feupdateenv): Return 0.
24075         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24076
24077 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24078
24079         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24080         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24081         ($(objpfx)rtld-%.os rules): Use them.
24082
24083 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24084
24085         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24086         fields.
24087
24088 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24089
24090         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24091         length of target pattern, then descending length of dependency pattern.
24092         * configure.in (AWK): Require gawk 3.1.2 or newer.
24093         * manual/install.texi (Tools for Compilation): Say that we do.
24094         * configure: Regenerated.
24095
24096         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24097         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24098         * scripts/sysd-rules.awk: ... this new script.
24099         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24100         than a glob-style pattern.
24101
24102 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24103
24104         * math/test-misc.c (main): Do not treat incorrectly rounded
24105         conversions as failure unless ROUNDING_TESTS passes.
24106
24107 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24108
24109         [BZ #15631]
24110         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24111         restore exception state around main square root computation, then
24112         check for inexactness explicitly.
24113
24114         * math/libm-test.inc (fma_test_data): Add another test.
24115
24116 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24117
24118         * manual/threads.texi (Non-POSIX Extensions): New document
24119         node.  Document pthread_getattr_default_np and
24120         pthread_setattr_default_np.
24121
24122         * Versions.def (libpthread): Add GLIBC_2.18.
24123         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24125         Likewise.
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24127         Likewise.
24128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24129         Likewise.
24130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24131         Likewise.
24132         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24133         Likewise.
24134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24135         Likewise.
24136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24137         Likewise.
24138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24139         Likewise.
24140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24141         Likewise.
24142
24143 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24144
24145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24146         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24147
24148 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24149             H.J. Lu  <hjl.tools@gmail.com>
24150
24151         [BZ #15627]
24152         * sysdeps/x86_64/rtld-memset.c: Remove file.
24153         * sysdeps/x86_64/rtld-memset.S: New file.
24154
24155 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24156
24157         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24158         (test_in_one_mode): Take arguments for whether the rounding mode
24159         is supported for each floating-point type.
24160         (do_test): Pass new arguments to test_in_one_mode using
24161         ROUNDING_TESTS.
24162
24163 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24164
24165         * posix/tst-waitid.c (do_test): Distinguish different instances of
24166         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24167         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24168         before entering the kernel for waitpid.
24169
24170 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24171
24172         * NEWS: Fix note on clock function precision.  Text by Roland
24173         McGrath.
24174
24175 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24176
24177         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24178         it into place only when and if the sanity check passes.
24179
24180 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24181
24182         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24183         output for whether conversion result is exact.  Take argument
24184         indicating whether type is IBM long double.
24185         (round_for_all): Change need_exact field to ibm_ld.
24186         * stdlib/tst-strtod-round.c (struct exactness): New type.
24187         (struct test): Change bool ld_ok field to struct exactness exact.
24188         (TEST): Update all definitions for change to field.
24189         (tests): Regenerate array contents.
24190         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24191         field value.  Check for IBM long double here.
24192         (do_test): Update calls to test_in_one_mode.
24193
24194 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24195
24196         [BZ #12515]
24197         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24198         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24199
24200 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24201
24202         [BZ #15605]
24203         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24204         generated by the compiler on loop optimizations.
24205         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24206         general definitions.
24207
24208 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24209
24210         * math/bug-nextafter.c: Include <math-tests.h>.
24211         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24212         the relevant type.
24213         * math/bug-nexttoward.c: Include <math-tests.h>.
24214         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24215         the relevant type.
24216         * math/test-misc.c: Include <math-tests.h>.
24217         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24218         the relevant type.
24219
24220 2013-06-12  Andreas Jaeger  <aj@suse.de>
24221
24222         * po/ia.po: Update Interlingua translation from translation
24223         project.
24224
24225 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24226
24227         * include/fenv.h: Include stdbool.h.
24228         (struct rm_ctx): New structure.
24229         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24230         Define macro.
24231         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24232         (SET_RESTORE_ROUNDF): Likewise.
24233         (SET_RESTORE_ROUNDL): Likewise.
24234         (SET_RESTORE_ROUND_NOEX): Likewise.
24235         (SET_RESTORE_ROUND_NOEXF): Likewise.
24236         (SET_RESTORE_ROUND_NOEXL): Likewise.
24237         (SET_RESTORE_ROUND_53BIT): Likewise.
24238         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24239         (libc_feresetround_noexf_ctx): Likewise.
24240         (libc_feresetround_noexl_ctx): Likewise.
24241         (libc_feholdsetround_53bit_ctx): Likewise.
24242         (libc_feresetround_53bit_ctx): Likewise.
24243         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24244         (libc_feholdexcept_setround_sse_ctx): New function.
24245         (libc_fesetenv_sse_ctx): Likewise.
24246         (libc_feupdateenv_sse_ctx): Likewise.
24247         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24248         (libc_feholdexcept_setround_387_ctx): Likewise.
24249         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24250         (libc_feholdsetround_387_prec_ctx): Likewise.
24251         (libc_feholdsetround_387_ctx): Likewise.
24252         (libc_feholdsetround_387_53bit_ctx): Likewise.
24253         (libc_feholdsetround_sse_ctx): Likewise.
24254         (libc_feresetround_sse_ctx): Likewise.
24255         (libc_feresetround_387_ctx): Likewise.
24256         (libc_feupdateenv_387_ctx): Likewise.
24257         (libc_feholdexcept_setroundf_ctx): Define macro.
24258         (libc_fesetenvf_ctx): Likewise.
24259         (libc_feupdateenvf_ctx): Likewise.
24260         (libc_feholdsetroundf_ctx): Likewise.
24261         (libc_feresetroundf_ctx): Likewise.
24262         (libc_feholdexcept_setround_ctx): Likewise.
24263         (libc_fesetenv_ctx): Likewise.
24264         (libc_feupdateenv_ctx): Likewise.
24265         (libc_feholdsetround_ctx): Likewise.
24266         (libc_feresetround_ctx): Likewise.
24267         (libc_feholdexcept_setroundl_ctx): Likewise.
24268         (libc_feupdateenvl_ctx): Likewise.
24269         (libc_feholdsetroundl_ctx): Likewise.
24270         (libc_feresetroundl_ctx): Likewise.
24271         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24272         (libc_feresetround_53bit_ctx): Likewise.
24273
24274 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24275
24276         * locale/iso-639.def: Convert to UTF-8.
24277
24278 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24279
24280         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24281         (EXCEPTION_TESTS_double): Likewise.
24282         (EXCEPTION_TESTS_long_double): Likewise.
24283         (EXCEPTION_TESTS): Likewise.
24284         * math/libm-test.inc (test_exceptions): Only test exceptions if
24285         EXCEPTION_TESTS (FLOAT).
24286
24287 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24288
24289         * benchtests/Makefile (string-bench): Add strcpy_chk and
24290         stpcpy_chk.
24291         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24292         * benchtests/bench-stpcpy_chk.c: New file.
24293         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24294         * benchtests/bench-strcpy_chk.c: New file.
24295         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24296         code.
24297         (do_test): Likewise.
24298
24299 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24300
24301         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24302         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24303         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24304         with tabs where appropriate.
24305         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24306         dl-procinfo.h.
24307         [PPC_PLATFORM_PPC440]: Likewise.
24308         [PPC_PLATFORM_PPC464]: Likewise.
24309         [PPC_PLATFORM_PPC476]: Likewise.
24310         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24311         ppc464, and ppc476 platform strings merging from ports/
24312         dl-procinfo.h.
24313
24314 2013-06-11  Andreas Schwab  <schwab@suse.de>
24315
24316         [BZ #14991]
24317         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24318         (from_ucs4_idx): Regenerate.
24319         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24320         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24321         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24322         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24323         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24324         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24325         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24326         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24327         from FROM_LOOP and TO_LOOP specific macros.
24328         (BODY): Handle combining characters.
24329         * iconvdata/BIG5HKSCS.irreversible: Update.
24330         * iconvdata/BIG5HKSCS.precomposed: New file.
24331         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24332         characters.
24333         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24334
24335 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24336
24337         * include/sys/time.h: Fix indentation and add copyright header.
24338
24339         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24340         (do_test): Likewise.
24341         * string/test-memchr.c (do_one_test): Likewise.
24342         (do_test): Likewise.
24343         * string/test-memcmp.c (do_one_test): Likewise.
24344         (do_test): Likewise.
24345         * string/test-memcpy.c (do_one_test): Likewise.
24346         (do_test): Likewise.
24347         * string/test-memmem.c (do_one_test): Likewise.
24348         (do_test): Likewise.
24349         (do_random_tests): Likewise.
24350         * string/test-memmove.c (do_one_test): Likewise.
24351         (do_test): Likewise.
24352         * string/test-memset.c (do_one_test): Likewise.
24353         (do_test): Likewise.
24354         * string/test-rawmemchr.c (do_one_test): Likewise.
24355         (do_test): Likewise.
24356         * string/test-strcasecmp.c (do_one_test): Likewise.
24357         (do_test): Likewise.
24358         * string/test-strcasestr.c (do_one_test): Likewise.
24359         (do_test): Likewise.
24360         * string/test-strcat.c (do_one_test): Likewise.
24361         (do_test): Likewise.
24362         * string/test-strchr.c (do_one_test): Likewise.
24363         (do_test): Likewise.
24364         * string/test-strcmp.c (do_one_test): Likewise.
24365         (do_test): Likewise.
24366         * string/test-strcpy.c (do_one_test): Likewise.
24367         (do_test): Likewise.
24368         * string/test-string.h: Likewise.
24369         (test_init): Likewise.
24370         * string/test-strlen.c (do_one_test): Likewise.
24371         (do_test): Likewise.
24372         * string/test-strncasecmp.c (do_one_test): Likewise.
24373         (do_test): Likewise.
24374         * string/test-strncat.c (do_one_test): Likewise.
24375         (do_test): Likewise.
24376         * string/test-strncmp.c (do_one_test): Likewise.
24377         (do_test_limit): Likewise.
24378         (do_test): Likewise.
24379         * string/test-strncpy.c (do_one_test): Likewise.
24380         (do_test): Likewise.
24381         * string/test-strnlen.c (do_one_test): Likewise.
24382         (do_test): Likewise.
24383         * string/test-strpbrk.c (do_one_test): Likewise.
24384         (do_test): Likewise.
24385         * string/test-strrchr.c (do_one_test): Likewise.
24386         (do_test): Likewise.
24387         * string/test-strspn.c (do_one_test): Likewise.
24388         (do_test): Likewise.
24389         * string/test-strstr.c (do_one_test): Likewise.
24390         (do_test): Likewise.
24391
24392         * benchtests/Makefile (string-bench): Add string benchmarks.
24393         * benchtests/bench-bcopy-ifunc.c: New file.
24394         * benchtests/bench-bcopy.c: New file.
24395         * benchtests/bench-bzero-ifunc.c: New file.
24396         * benchtests/bench-bzero.c: New file.
24397         * benchtests/bench-memccpy-ifunc.c: New file.
24398         * benchtests/bench-memccpy.c: New file.
24399         * benchtests/bench-memchr-ifunc.c: New file.
24400         * benchtests/bench-memchr.c: New file.
24401         * benchtests/bench-memcmp-ifunc.c: New file.
24402         * benchtests/bench-memcmp.c: New file.
24403         * benchtests/bench-memmem-ifunc.c: New file.
24404         * benchtests/bench-memmem.c: New file.
24405         * benchtests/bench-memmove-ifunc.c: New file.
24406         * benchtests/bench-memmove.c: New file.
24407         * benchtests/bench-mempcpy-ifunc.c: New file.
24408         * benchtests/bench-mempcpy.c: New file.
24409         * benchtests/bench-memset-ifunc.c: New file.
24410         * benchtests/bench-memset.c: New file.
24411         * benchtests/bench-rawmemchr-ifunc.c: New file.
24412         * benchtests/bench-rawmemchr.c: New file.
24413         * benchtests/bench-stpcpy-ifunc.c: New file.
24414         * benchtests/bench-stpcpy.c: New file.
24415         * benchtests/bench-stpncpy-ifunc.c: New file.
24416         * benchtests/bench-stpncpy.c: New file.
24417         * benchtests/bench-strcasecmp-ifunc.c: New file.
24418         * benchtests/bench-strcasecmp.c: New file.
24419         * benchtests/bench-strcasestr-ifunc.c: New file.
24420         * benchtests/bench-strcasestr.c: New file.
24421         * benchtests/bench-strcat-ifunc.c: New file.
24422         * benchtests/bench-strcat.c: New file.
24423         * benchtests/bench-strchr-ifunc.c: New file.
24424         * benchtests/bench-strchr.c: New file.
24425         * benchtests/bench-strchrnul-ifunc.c: New file.
24426         * benchtests/bench-strchrnul.c: New file.
24427         * benchtests/bench-strcmp-ifunc.c: New file.
24428         * benchtests/bench-strcmp.c: New file.
24429         * benchtests/bench-strcpy-ifunc.c: New file.
24430         * benchtests/bench-strcpy.c: New file.
24431         * benchtests/bench-strcspn-ifunc.c: New file.
24432         * benchtests/bench-strcspn.c: New file.
24433         * benchtests/bench-strlen-ifunc.c: New file.
24434         * benchtests/bench-strlen.c: New file.
24435         * benchtests/bench-strncasecmp-ifunc.c: New file.
24436         * benchtests/bench-strncasecmp.c: New file.
24437         * benchtests/bench-strncat-ifunc.c: New file.
24438         * benchtests/bench-strncat.c: New file.
24439         * benchtests/bench-strncmp-ifunc.c: New file.
24440         * benchtests/bench-strncmp.c: New file.
24441         * benchtests/bench-strncpy-ifunc.c: New file.
24442         * benchtests/bench-strncpy.c: New file.
24443         * benchtests/bench-strnlen-ifunc.c: New file.
24444         * benchtests/bench-strnlen.c: New file.
24445         * benchtests/bench-strpbrk-ifunc.c: New file.
24446         * benchtests/bench-strpbrk.c: New file.
24447         * benchtests/bench-strrchr-ifunc.c: New file.
24448         * benchtests/bench-strrchr.c: New file.
24449         * benchtests/bench-strspn-ifunc.c: New file.
24450         * benchtests/bench-strspn.c: New file.
24451         * benchtests/bench-strstr-ifunc.c: New file.
24452         * benchtests/bench-strstr.c: New file.
24453
24454         * benchtests/Makefile: Disable parallel execution of targets.
24455         (string-bench): Add memcpy.
24456         (benchset): New variable to store a list of benchmark sets.
24457         (bench-func): Renamed from bench.
24458         (bench-set): New target.
24459         (bench): Depend on bench-func and bench-set.
24460         * benchtests/README: Add section on benchmark sets.
24461         * benchtests/bench-memcpy-ifunc.c: New file.
24462         * benchtests/bench-memcpy.c: New file.
24463         * benchtests/bench-string.h: New file.
24464
24465 2013-06-11  Andreas Schwab  <schwab@suse.de>
24466
24467         [BZ #15577]
24468         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24469         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24470         values in the triple.
24471         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24472         terminator in the group key.
24473
24474 2013-06-11  Andreas Jaeger  <aj@suse.de>
24475
24476         * po/zh_TW.po: Update Chinese (traditional) translation from
24477         translation project.
24478
24479 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24480
24481         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24482         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24483         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24484         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24485         (clock_getcpuclockid): Likewise.
24486         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24487         Add weak_alias and libc_hidden_def.
24488         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24489         * rt/clock_gettime.c (clock_gettime): Rename to
24490         __clock_gettime.  Add weak_alias and libc_hidden_def.
24491         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24492         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24493         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24494         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24495         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24496         Likewise.
24497         * rt/clock_settime.c (clock_settime): Rename to
24498         __clock_settime.  Add weak_alias and libc_hidden_def.
24499         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24500
24501 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24502
24503         * mach/err_boot.sub: Remove trailing whitespace.
24504         * mach/err_ipc.sub: Likewise.
24505         * mach/err_mach.sub: Likewise.
24506
24507         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24508         (ROUNDING_TESTS_double): Likewise.
24509         (ROUNDING_TESTS_long_double): Likewise.
24510         (ROUNDING_TESTS): Likewise.
24511         * math/libm-test.inc: Include <math-tests.h>.
24512         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24513         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24514         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24515         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24516
24517 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24518
24519         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24520         of assigning.
24521
24522 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24523
24524         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24525         otherwise empty TRANS lines.
24526         * sysdeps/gnu/errlist.c: Regenerated.
24527
24528         * catgets/gencat.c (error_print): Use (void) in function
24529         definition.
24530         * crypt/crypt_util.c (__init_des): Likewise.
24531         * crypt/speeds.c (Stop): Likewise.
24532         (main): Likewise.
24533         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24534         * inet/ruserpass.c (token): Likewise.
24535         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24536         * intl/localealias.c (extend_alias_table): Likewise.
24537         * intl/plural-exp.c (init_germanic_plural): Likewise.
24538         * libio/fcloseall.c (__fcloseall): Likewise.
24539         * libio/genops.c (_IO_flush_all): Likewise.
24540         (_IO_flush_all_linebuffered): Likewise.
24541         (_IO_cleanup): Likewise.
24542         (_IO_iter_begin): Likewise.
24543         (_IO_iter_end): Likewise.
24544         (_IO_list_lock): Likewise.
24545         (_IO_list_unlock): Likewise.
24546         (_IO_list_resetlock): Likewise.
24547         * libio/getchar.c (getchar): Likewise.
24548         * libio/getchar_u.c (getchar_unlocked): Likewise.
24549         * libio/getwchar.c (getwchar): Likewise.
24550         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24551         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24552         * login/getpt.c (__getpt): Likewise.
24553         * login/tst-utmp.c (main): Likewise.
24554         * malloc/hooks.c (__malloc_check_init): Likewise.
24555         * malloc/malloc.c (__malloc_stats): Likewise.
24556         * malloc/mtrace.c (tr_break): Likewise.
24557         (mtrace): Likewise.
24558         (muntrace): Likewise.
24559         * misc/fstab.c (endfsent): Likewise.
24560         * misc/getclktck.c (__getclktck): Likewise.
24561         * misc/getdtsz.c (__getdtablesize): Likewise.
24562         * misc/gethostid.c (gethostid): Likewise.
24563         * misc/getpagesize.c (__getpagesize): Likewise.
24564         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24565         (__get_nprocs): Likewise.
24566         (__get_phys_pages): Likewise.
24567         (__get_avphys_pages): Likewise.
24568         * misc/getttyent.c (getttyent): Likewise.
24569         (setttyent): Likewise.
24570         (endttyent): Likewise.
24571         * misc/getusershell.c (getusershell): Likewise.
24572         (endusershell): Likewise.
24573         (setusershell): Likewise.
24574         (initshells): Likewise.
24575         * misc/hsearch.c (__hdestroy): Likewise.
24576         * misc/sync.c (sync): Likewise.
24577         * misc/syslog.c (closelog_internal): Likewise.
24578         (closelog): Likewise.
24579         * misc/ttyslot.c (ttyslot): Likewise.
24580         * misc/vhangup.c (vhangup): Likewise.
24581         * posix/fork.c (__fork): Likewise.
24582         * posix/getegid.c (__getegid): Likewise.
24583         * posix/geteuid.c (__geteuid): Likewise.
24584         * posix/getgid.c (__getgid): Likewise.
24585         * posix/getpid.c (__getpid): Likewise.
24586         * posix/getppid.c (__getppid): Likewise.
24587         * posix/getuid.c (__getuid): Likewise.
24588         * posix/pause.c (pause): Likewise.
24589         * posix/setpgrp.c (setpgrp): Likewise.
24590         * posix/setsid.c (__setsid): Likewise.
24591         * posix/test-vfork.c (noop): Likewise.
24592         * resolv/gethnamaddr.c (_endhtent): Likewise.
24593         (_gethtent): Likewise.
24594         (ht_endhostent): Likewise.
24595         (gethostent): Likewise.
24596         (dns_service): Likewise.
24597         * stdlib/drand48.c (drand48): Likewise.
24598         * stdlib/lrand48.c (lrand48): Likewise.
24599         * stdlib/mrand48.c (mrand48): Likewise.
24600         * stdlib/rand.c (rand): Likewise.
24601         * stdlib/random.c (__random): Likewise.
24602         * stdlib/setenv.c (clearenv): Likewise.
24603         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24604         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24605         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24606         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24607         (__get_nprocs): Likewise.
24608         (__get_phys_pages): Likewise.
24609         (__get_avphys_pages): Likewise.
24610         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24611         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24612         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24613         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24614         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24615         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24616         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24617         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24618         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24619         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24620         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24621         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24622         * sysdeps/posix/clock.c (clock): Likewise.
24623         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24624         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24625         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24626         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24627         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24628         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24629         (__get_nprocs_conf): Likewise.
24630         (__get_phys_pages): Likewise.
24631         (__get_avphys_pages): Likewise.
24632         * time/clock.c (clock): Likewise.
24633         * time/tzset.c (__tzname_max): Likewise.
24634
24635 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24636
24637         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24638         (__bswap_32): Do not use "register".
24639         * crypt/crypt.c (_ufc_doit_r): Likewise.
24640         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24641         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24642         * gmon/gmon.c (__monstartup): Likewise.
24643         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24644         * hurd/hurdmalloc.c (more_memory): Likewise.
24645         (malloc): Likewise.
24646         (free): Likewise.
24647         (realloc): Likewise.
24648         (malloc_fork_prepare): Likewise.
24649         (malloc_fork_parent): Likewise.
24650         (malloc_fork_child): Likewise.
24651         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24652         (_svcauth_des): Likewise.
24653         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24654         * inet/inet_net.c (inet_network): Likewise.
24655         * inet/inet_netof.c (inet_netof): Likewise.
24656         * inet/rcmd.c (__validuser2_sa): Likewise.
24657         * io/fts.c (fts_open): Likewise.
24658         (fts_load): Likewise.
24659         (fts_close): Likewise.
24660         (fts_read): Likewise.
24661         (fts_children): Likewise.
24662         (fts_build): Likewise.
24663         (fts_stat): Likewise.
24664         (fts_sort): Likewise.
24665         (fts_alloc): Likewise.
24666         (fts_lfree): Likewise.
24667         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24668         (_IO_file_xsgetn): Likewise.
24669         (_IO_file_xsgetn_mmap): Likewise.
24670         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24671         (_IO_cookie_write): Likewise.
24672         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24673         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24674         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24675         * malloc/obstack.c (_obstack_begin): Likewise.
24676         (_obstack_begin_1): Likewise.
24677         (_obstack_newchunk): Likewise.
24678         (_obstack_allocated_p): Likewise.
24679         (obstack_free): Likewise.
24680         (_obstack_memory_used): Likewise.
24681         * misc/getttyent.c (getttynam): Likewise.
24682         (getttyent): Likewise.
24683         (skip): Likewise.
24684         (value): Likewise.
24685         * misc/getusershell.c (initshells): Likewise.
24686         * misc/syslog.c (__vsyslog_chk): Likewise.
24687         * misc/ttyslot.c (ttyslot): Likewise.
24688         * nis/nis_hash.c (__nis_hash): Likewise.
24689         * posix/fnmatch_loop.c (FCT): Likewise.
24690         * posix/getconf.c (print_all): Likewise.
24691         (main): Likewise.
24692         * posix/getopt.c (exchange): Likewise.
24693         * posix/glob.c (globfree): Likewise.
24694         (prefix_array): Likewise.
24695         (__glob_pattern_type): Likewise.
24696         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24697         (NS_GET32): Likewise.
24698         (NS_PUT16): Likewise.
24699         (NS_PUT32): Likewise.
24700         * resolv/gethnamaddr.c (getanswer): Likewise.
24701         (gethostbyname2): Likewise.
24702         (gethostbyaddr): Likewise.
24703         (_gethtent): Likewise.
24704         (_gethtbyname2): Likewise.
24705         (_gethtbyaddr): Likewise.
24706         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24707         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24708         * resolv/res_init.c (__res_vinit): Likewise.
24709         (net_mask): Likewise.
24710         * resolv/res_mkquery.c (outchar): Likewise.
24711         (PRINT): Likewise.
24712         * stdio-common/printf_fp.c (outchar): Likewise.
24713         (PRINT): Likewise.
24714         * stdio-common/printf_fphex.c (outchar): Likewise.
24715         (PRINT): Likewise.
24716         * stdio-common/printf_size.c (outchar): Likewise.
24717         (PRINT): Likewise.
24718         * stdio-common/test_rdwr.c (main): Likewise.
24719         * stdio-common/tfformat.c (matches): Likewise.
24720         * stdio-common/vfprintf.c (outchar): Likewise.
24721         (printf_unknown): Likewise.
24722         (buffered_vfprintf): Likewise.
24723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24724         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24725         (ReadFile): Likewise.
24726         * stdlib/qsort.c (SWAP): Likewise.
24727         (_quicksort): Likewise.
24728         * stdlib/setenv.c (__add_to_environ): Likewise.
24729         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24730         * stdlib/strtol_l.c (__strtol_l): Likewise.
24731         * stdlib/tst-strtod.c (main): Likewise.
24732         * stdlib/tst-strtol.c (main): Likewise.
24733         * stdlib/tst-strtoll.c (main): Likewise.
24734         * string/bits/string2.h (__strcmp_cc): Likewise.
24735         (__strcmp_cg): Likewise.
24736         (__strcspn_c1): Likewise.
24737         (__strcspn_c2): Likewise.
24738         (__strcspn_c3): Likewise.
24739         (__strspn_c1): Likewise.
24740         (__strspn_c2): Likewise.
24741         (__strspn_c3): Likewise.
24742         (__strsep_1c): Likewise.
24743         (__strsep_2c): Likewise.
24744         (__strsep_3c): Likewise.
24745         * string/memccpy.c (__memccpy): Likewise.
24746         * string/stpcpy.c (__stpcpy): Likewise.
24747         * string/strcmp.c (strcmp): Likewise.
24748         * string/strrchr.c (strrchr): Likewise.
24749         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24750         Likewise.
24751         * sysdeps/mach/hurd/getcwd.c
24752         (_hurd_canonicalize_directory_name_internal): Likewise.
24753         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24754         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24755         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24756         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24757         Likewise, in both definitions.
24758         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24759         definitions.
24760         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24761         64] (__bswap_64): Likewise.
24762         * time/test_time.c (main): Likewise.
24763         * time/tzfile.c (__tzfile_read): Likewise.
24764         (__tzfile_compute): Likewise.
24765         * time/tzset.c (__tzset_parse_tz): Likewise.
24766         (tzset_internal): Likewise.
24767         (compute_change): Likewise.
24768         * wcsmbs/wcscat.c (__wcscat): Likewise.
24769         * wcsmbs/wcschr.c (wcschr): Likewise.
24770         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24771         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24772         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24773         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24774         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24775         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24776         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24777         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24778         * wcsmbs/wmemset.c (wmemset): Likewise.
24779
24780 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24781
24782         * scripts/config.guess: Update to version 2013-05-16.
24783         * scripts/config.sub: Update to version 2013-04-24.
24784         * scripts/install-sh: Update to version 2011-11-20.07.
24785         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24786         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24787
24788 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24789
24790         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24791         * elf/sln.c: Likewise.
24792         * hurd/hurd/ioctl.h: Likewise.
24793         * hurd/hurdmalloc.c: Likewise.
24794         * hurd/xattr.c: Likewise.
24795         * include/shlib-compat.h: Likewise.
24796         * inet/ruserpass.c: Likewise.
24797         * libio/iofgets_u.c: Likewise.
24798         * libio/iofgetws_u.c: Likewise.
24799         * locale/programs/ld-identification.c: Likewise.
24800         * locale/programs/ld-time.c: Likewise.
24801         * mach/msg-destroy.c: Likewise.
24802         * nss/nss_files/files-netgrp.c: Likewise.
24803         * resolv/res_data.c: Likewise.
24804         * soft-fp/op-1.h: Likewise.
24805         * soft-fp/op-2.h: Likewise.
24806         * soft-fp/op-4.h: Likewise.
24807         * soft-fp/op-common.h: Likewise.
24808         * stdio-common/printf_fphex.c: Likewise.
24809         * stdlib/strtod_l.c: Likewise.
24810         * sunrpc/rpc/clnt.h: Likewise.
24811         * sysdeps/generic/framestate.c: Likewise.
24812         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24813         * sysdeps/i386/bsd-setjmp.S: Likewise.
24814         * sysdeps/i386/__longjmp.S: Likewise.
24815         * sysdeps/i386/setjmp.S: Likewise.
24816         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24817         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24818         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24819         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24820         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24821         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24822         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24823         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24824         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24825         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24826         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24827         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24828         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24829         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24830         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24831         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24832         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24833         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24834         * sysdeps/ieee754/support.c: Likewise.
24835         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24836         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24837         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24838         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24839         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24840         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24841         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24842         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24843         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24844         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24845         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24846         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24847         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24848         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24849         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24850         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24851         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24853
24854 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24855
24856         * posix/transbug.c: Remove executable mode.
24857
24858 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24859
24860         * crypt/speeds.c: Remove trailing whitespace.
24861         * dlfcn/default.c: Likewise.
24862         * elf/ifuncdep2.c: Likewise.
24863         * elf/ifuncmain1.c: Likewise.
24864         * elf/ifuncmain1vis.c: Likewise.
24865         * elf/testobj.h: Likewise.
24866         * elf/tst-stackguard1.c: Likewise.
24867         * gmon/sys/gmon.h: Likewise.
24868         * hurd/hurdmsg.c: Likewise.
24869         * hurd/new-fd.c: Likewise.
24870         * hurd/ports-get.c: Likewise.
24871         * iconvdata/ibm1008_420.c: Likewise.
24872         * inet/tst-getni1.c: Likewise.
24873         * inet/tst-getni2.c: Likewise.
24874         * libio/ioungetc.c: Likewise.
24875         * libio/wfiledoalloc.c: Likewise.
24876         * manual/libm-err-tab.pl: Likewise.
24877         * math/w_dremf.c: Likewise.
24878         * misc/ftruncate.c: Likewise.
24879         * posix/bug-glob2.c: Likewise.
24880         * posix/tst-pcre.c: Likewise.
24881         * posix/wait4.c: Likewise.
24882         * resolv/README: Likewise.
24883         * resolv/res_debug.h: Likewise.
24884         * resolv/tst-inet_ntop.c: Likewise.
24885         * setjmp/bug269-setjmp.c: Likewise.
24886         * soft-fp/extended.h: Likewise.
24887         * soft-fp/op-1.h: Likewise.
24888         * soft-fp/op-2.h: Likewise.
24889         * soft-fp/op-4.h: Likewise.
24890         * soft-fp/op-8.h: Likewise.
24891         * soft-fp/testit.c: Likewise.
24892         * stdio-common/bug16.c: Likewise.
24893         * stdlib/random.c: Likewise.
24894         * sunrpc/rpcsvc/rquota.x: Likewise.
24895         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24896         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24897         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24898         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24899         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24900         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24901         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24902         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24903         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24904         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24905         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24906         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24907         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24908         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24909         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24910         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24911         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24912         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24913         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24914         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24915         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24916         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24917         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24918         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24919         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24921         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24922         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24923         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24924         * sysdeps/ieee754/s_lib_version.c: Likewise.
24925         * sysdeps/mach/hurd/check_fds.c: Likewise.
24926         * sysdeps/mach/hurd/getsockname.c: Likewise.
24927         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24928         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24929         * sysdeps/powerpc/bits/link.h: Likewise.
24930         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24931         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24932         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24933         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24934         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24935         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24936         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24937         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24938         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24939         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24940         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24941         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24942         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24943         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24944         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24945         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24946         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24947         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24948         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24949         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24950         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24951         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24952         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24953         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24954         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24955         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24956         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24957         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24958         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24959         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24960         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24961         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24963         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24964         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24965         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24966         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24967         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24968         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24969         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24970         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24971         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24972         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24973         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24974         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24975         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24976         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24977         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24978         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24979         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24980         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24981         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24982         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24983         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24984         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24985         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24986         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24987         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24988         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24989         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24990         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24991         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24992         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24993         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24994         * sysdeps/powerpc/sysdep.h: Likewise.
24995         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24996         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24997         * sysdeps/sh/dl-trampoline.S: Likewise.
24998         * sysdeps/sh/memset.S: Likewise.
24999         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25000         * sysdeps/sh/strlen.S: Likewise.
25001         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25002         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25003         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25004         * sysdeps/sparc/sparc32/rem.S: Likewise.
25005         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25006         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25007         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25008         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25009         * sysdeps/sparc/sparc32/urem.S: Likewise.
25010         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25011         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25012         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25013         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25014         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25015         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25016         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25017         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25018         * sysdeps/unix/bsd/times.c: Likewise.
25019         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25020         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25024         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25025         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25026         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25027         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25028         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25029         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25030         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25031         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25032         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25033         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25034         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25035         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25036         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25037         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25038         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25039         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25040         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25041         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25042         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25043         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25044         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25045         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25046         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25047         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25048         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25049         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25050         * sysdeps/x86_64/strcspn.S: Likewise.
25051
25052 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25053
25054         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25055         generated file.  Regenerate properly from gen-translit.pl.
25056         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25057         locale/C-translit.h.
25058
25059 2013-06-05  Andreas Schwab  <schwab@suse.de>
25060
25061         [BZ #15100]
25062         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25063         week as 6 instead of -1.
25064         * time/tst-strptime.c (day_tests): Add test case.
25065
25066 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25067
25068         * sysdeps/generic/math_private.h
25069         (libc_feholdexcept_setround_53bit): Replace with
25070         libc_feholdsetround_53bit.
25071         (libc_feupdateenv_53bit): Replace with
25072         libc_feresetround_53bit.
25073         (SET_RESTORE_ROUND_53BIT): Adjust.
25074
25075 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25076
25077         * string/test-strchrnul.c: Add copyright header.
25078
25079         * posix/tst-getaddrinfo4.c: Increase test timeout.
25080
25081 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25082
25083         [BZ #15536]
25084         * math/libm-test.inc (MAX_EXP): Remove
25085         (MIN_EXP): Define.
25086         (ulp): Use MIN_EXP - MANT_DIG.
25087         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25088
25089 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25090
25091         * po/be.po: Revert last change.
25092         * po/zh_CN.po: Likewise.
25093         * po/header.pot: Likewise.
25094
25095 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25096
25097         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25098         link-libc-deps to empty as target-specific variable.
25099         * Makerules (link-libc-args): New variable.
25100         (libc-for-link): Likewise.
25101         (link-libc-deps): Likewise.
25102         (lib%.so): Depend on $(link-libc-deps).  Link with
25103         $(link-libc-args).
25104         (build-module): Link with $(link-libc-args).
25105         (build-module-asneeded): Likewise.
25106         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25107         list of objects.
25108         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25109         target-specific variable.
25110         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25111         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25112         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25113         libc.
25114         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25115         libc and ld.so.
25116         ($(objpfx)libpcprofile.so): Likewise.
25117         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25118         libc_nonshared.a.
25119         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25120         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25121         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25122         $(link-libc-deps).
25123         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25124         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25125         * login/Makefile ($(objpfx)libutil.so): Likewise.
25126         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25127         * math/Makefile ($(objpfx)libm.so): Likewise.
25128         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25129         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25130         variable instead of depending directly on libc.
25131         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25132         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25133         $(link-libc-deps).
25134         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25135         libc.
25136         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25137         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25138         ($(objpfx)libanl.so): Likewise.
25139         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25140         ld.so.
25141         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25142         $(link-libc-deps).
25143         * sysdeps/i386/fpu/Makefile: Remove file.
25144         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25145         ($(objpfx)libm.so): Remove dependency on ld.so.
25146
25147 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25148
25149         [BZ # 15553]
25150         * nis/yp_xdr.c (XDRMAXNAME): Define.
25151         (XDRMAXRECORD): Define.
25152         (xdr_domainname): Use XDRMAXNAME.
25153         (xdr_mapname): Likewise.
25154         (xdr_peername): Likewise.
25155         (xdr_keydat): Use XDRMAXRECORD.
25156         (xdr_valdat): Likewise.
25157
25158 2013-05-30  Jeff Law  <law@redhat.com>
25159
25160         [BZ #14256]
25161         * manual/errno.texi (ESTALE): Update to account for more than
25162         just NFS file systems.
25163         * sysdeps/gnu/errlist.c: Regenerated.
25164
25165 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25166
25167         [BZ #15465]
25168         * elf/Makefile (tests): Add tst-null-argv.
25169         (modules-names):  Add tst-null-argv-lib.
25170         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25171         (tst-null-argv-ENV): Set environment for tst-null-argv.
25172         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25173         (RTLD_PROGNAME): New macro.
25174         * elf/tst-null-argv.c: New test case.
25175         * elf/tst-null-argv-lib.c: Library for test case.
25176         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25177         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25178         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25179         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25180         * elf/dl-init.c (call_init): Likewise.
25181         (_dl_init): Likewise.
25182         * elf/dl-load.c (print_search_path): Likewise.
25183         (_dl_map_object): Likewise.
25184         * elf/dl-lookup.c (do_lookup_x): Likewise.
25185         (add_dependency): Likewise.
25186         (_dl_lookup_symbol_x): Likewise.
25187         (_dl_debug_bindings): Likewise.
25188         * elf/dl-open.c (_dl_show_scope): Likewise.
25189         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25190         * elf/dl-version.c (match_symbol): Likewise.
25191         (_dl_check_map_versions): Likewise.
25192         * elf/rtld.c (dl_main): Likewise.
25193         (print_unresolved): Use RTLD_PROGNAME.
25194         (print_missing_version): Likewise.
25195         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25196         (elf_machine_rela): Likewise.
25197         * sysdeps/powerpc/powerpc32/dl-machine.c
25198         (__process_machine_rela): Likewise.
25199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25200         Likewise.
25201         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25202         Likewise.
25203         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25204         Likewise.
25205         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25206         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25207         Likewise.
25208         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25209         Likewise.
25210         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25211
25212 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25213
25214         * po/be.po: Add descriptive title.
25215         * po/zh_CN.po: Likewise.
25216         * po/header.pot: Likewise.
25217
25218 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25219
25220         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25221         error message.
25222         (enlarge_archive): Likewise.
25223
25224 2013-05-28  Ben North  <ben@redfrontdoor.org>
25225
25226         * manual/arith.texi (frexp): It is the magnitude of the return
25227         value which lies in [0.5, 1), not the return value itself.
25228
25229 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25230
25231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25232
25233 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25234
25235         * stdio-common/bug26.c (main): Correct fscanf template.
25236
25237         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25238         declare _dl_skip_args.
25239
25240         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25241         Don't declare.
25242
25243         * manual/platform.texi: Add missing @end deftypefun.
25244
25245 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25246
25247         [BZ #15529]
25248         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25249         bit of mantissa of 2^16382.
25250         * math/libm-test.inc (hypot_test_data): Add more tests.
25251
25252         * math/libm-test.inc: Add drem and pow10 to list of tested
25253         functions.
25254         (pow10_test): New function.
25255         (drem_test): Likewise.
25256         (drem_test_tonearest): Likewise.
25257         (drem_test_towardzero): Likewise.
25258         (drem_test_downward): Likewise.
25259         (drem_test_upward): Likewise.
25260         (main): Call the new functions.
25261
25262         * math/libm-test.inc (finite_test_data): Remove.
25263         (finite_test): Run tests from isfinite_test_data.
25264         (gamma_test_data): Remove.
25265         (gamma_test): Run tests from lgamma_test_data.
25266         * sysdeps/i386/fpu/libm-test-ulps: Update.
25267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25268
25269 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25270
25271         * manual/platform.texi: Add PowerPC PPR function set documentation.
25272         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25273         implementation.
25274
25275 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25276
25277         * math/libm-test.inc (MAX_EXP): Define.
25278         (ULPDIFF): Define.
25279         (ulp): New function.
25280         (check_float_internal): Use ULPDIFF.
25281         (cpow_test): Disable failing test.
25282         (check_ulp): Test ulp() implemetnation.
25283         (main): Call check_ulp before starting tests.
25284
25285 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25286
25287         * math/gen-libm-test.pl (generate_testfile): Do not handle
25288         START_DATA and END_DATA.
25289         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25290         END_DATA.
25291         (acos_tonearest_test_data): Likewise.
25292         (acos_towardzero_test_data): Likewise.
25293         (acos_downward_test_data): Likewise.
25294         (acos_upward_test_data): Likewise.
25295         (acosh_test_data): Likewise.
25296         (asin_test_data): Likewise.
25297         (asin_tonearest_test_data): Likewise.
25298         (asin_towardzero_test_data): Likewise.
25299         (asin_downward_test_data): Likewise.
25300         (asin_upward_test_data): Likewise.
25301         (asinh_test_data): Likewise.
25302         (atan_test_data): Likewise.
25303         (atanh_test_data): Likewise.
25304         (atan2_test_data): Likewise.
25305         (cabs_test_data): Likewise.
25306         (cacos_test_data): Likewise.
25307         (cacosh_test_data): Likewise.
25308         (carg_test_data): Likewise.
25309         (casin_test_data): Likewise.
25310         (casinh_test_data): Likewise.
25311         (catan_test_data): Likewise.
25312         (catanh_test_data): Likewise.
25313         (cbrt_test_data): Likewise.
25314         (ccos_test_data): Likewise.
25315         (ccosh_test_data): Likewise.
25316         (ceil_test_data): Likewise.
25317         (cexp_test_data): Likewise.
25318         (cimag_test_data): Likewise.
25319         (clog_test_data): Likewise.
25320         (clog10_test_data): Likewise.
25321         (conj_test_data): Likewise.
25322         (copysign_test_data): Likewise.
25323         (cos_test_data): Likewise.
25324         (cos_tonearest_test_data): Likewise.
25325         (cos_towardzero_test_data): Likewise.
25326         (cos_downward_test_data): Likewise.
25327         (cos_upward_test_data): Likewise.
25328         (cosh_test_data): Likewise.
25329         (cosh_tonearest_test_data): Likewise.
25330         (cosh_towardzero_test_data): Likewise.
25331         (cosh_downward_test_data): Likewise.
25332         (cosh_upward_test_data): Likewise.
25333         (cpow_test_data): Likewise.
25334         (cproj_test_data): Likewise.
25335         (creal_test_data): Likewise.
25336         (csin_test_data): Likewise.
25337         (csinh_test_data): Likewise.
25338         (csqrt_test_data): Likewise.
25339         (ctan_test_data): Likewise.
25340         (ctan_tonearest_test_data): Likewise.
25341         (ctan_towardzero_test_data): Likewise.
25342         (ctan_downward_test_data): Likewise.
25343         (ctan_upward_test_data): Likewise.
25344         (ctanh_test_data): Likewise.
25345         (ctanh_tonearest_test_data): Likewise.
25346         (ctanh_towardzero_test_data): Likewise.
25347         (ctanh_downward_test_data): Likewise.
25348         (ctanh_upward_test_data): Likewise.
25349         (erf_test_data): Likewise.
25350         (erfc_test_data): Likewise.
25351         (exp_test_data): Likewise.
25352         (exp_tonearest_test_data): Likewise.
25353         (exp_towardzero_test_data): Likewise.
25354         (exp_downward_test_data): Likewise.
25355         (exp_upward_test_data): Likewise.
25356         (exp10_test_data): Likewise.
25357         (exp2_test_data): Likewise.
25358         (expm1_test_data): Likewise.
25359         (fabs_test_data): Likewise.
25360         (fdim_test_data): Likewise.
25361         (finite_test_data): Likewise.
25362         (floor_test_data): Likewise.
25363         (fma_test_data): Likewise.
25364         (fma_towardzero_test_data): Likewise.
25365         (fma_downward_test_data): Likewise.
25366         (fma_upward_test_data): Likewise.
25367         (fmax_test_data): Likewise.
25368         (fmin_test_data): Likewise.
25369         (fmod_test_data): Likewise.
25370         (fpclassify_test_data): Likewise.
25371         (frexp_test_data): Likewise.
25372         (gamma_test_data): Likewise.
25373         (hypot_test_data): Likewise.
25374         (ilogb_test_data): Likewise.
25375         (isfinite_test_data): Likewise.
25376         (isgreater_test_data): Likewise.
25377         (isgreaterequal_test_data): Likewise.
25378         (isinf_test_data): Likewise.
25379         (isless_test_data): Likewise.
25380         (islessequal_test_data): Likewise.
25381         (islessgreater_test_data): Likewise.
25382         (isnan_test_data): Likewise.
25383         (isnormal_test_data): Likewise.
25384         (issignaling_test_data): Likewise.
25385         (isunordered_test_data): Likewise.
25386         (j0_test_data): Likewise.
25387         (j1_test_data): Likewise.
25388         (jn_test_data): Likewise.
25389         (ldexp_test_data): Likewise.
25390         (lgamma_test_data): Likewise.
25391         (lrint_test_data): Likewise.
25392         (lrint_tonearest_test_data): Likewise.
25393         (lrint_towardzero_test_data): Likewise.
25394         (lrint_downward_test_data): Likewise.
25395         (lrint_upward_test_data): Likewise.
25396         (llrint_test_data): Likewise.
25397         (llrint_tonearest_test_data): Likewise.
25398         (llrint_towardzero_test_data): Likewise.
25399         (llrint_downward_test_data): Likewise.
25400         (llrint_upward_test_data): Likewise.
25401         (log_test_data): Likewise.
25402         (log10_test_data): Likewise.
25403         (log1p_test_data): Likewise.
25404         (log2_test_data): Likewise.
25405         (logb_test_data): Likewise.
25406         (logb_downward_test_data): Likewise.
25407         (lround_test_data): Likewise.
25408         (llround_test_data): Likewise.
25409         (modf_test_data): Likewise.
25410         (nearbyint_test_data): Likewise.
25411         (nextafter_test_data): Likewise.
25412         (nexttoward_test_data): Likewise.
25413         (pow_test_data): Likewise.
25414         (pow_tonearest_test_data): Likewise.
25415         (pow_towardzero_test_data): Likewise.
25416         (pow_downward_test_data): Likewise.
25417         (pow_upward_test_data): Likewise.
25418         (remainder_test_data): Likewise.
25419         (remainder_tonearest_test_data): Likewise.
25420         (remainder_towardzero_test_data): Likewise.
25421         (remainder_downward_test_data): Likewise.
25422         (remainder_upward_test_data): Likewise.
25423         (remquo_test_data): Likewise.
25424         (rint_test_data): Likewise.
25425         (rint_tonearest_test_data): Likewise.
25426         (rint_towardzero_test_data): Likewise.
25427         (rint_downward_test_data): Likewise.
25428         (rint_upward_test_data): Likewise.
25429         (round_test_data): Likewise.
25430         (scalb_test_data): Likewise.
25431         (scalbn_test_data): Likewise.
25432         (scalbln_test_data): Likewise.
25433         (signbit_test_data): Likewise.
25434         (sin_test_data): Likewise.
25435         (sin_tonearest_test_data): Likewise.
25436         (sin_towardzero_test_data): Likewise.
25437         (sin_downward_test_data): Likewise.
25438         (sin_upward_test_data): Likewise.
25439         (sincos_test_data): Likewise.
25440         (sinh_test_data): Likewise.
25441         (sinh_tonearest_test_data): Likewise.
25442         (sinh_towardzero_test_data): Likewise.
25443         (sinh_downward_test_data): Likewise.
25444         (sinh_upward_test_data): Likewise.
25445         (sqrt_test_data): Likewise.
25446         (tan_test_data): Likewise.
25447         (tan_tonearest_test_data): Likewise.
25448         (tan_towardzero_test_data): Likewise.
25449         (tan_downward_test_data): Likewise.
25450         (tan_upward_test_data): Likewise.
25451         (tanh_test_data): Likewise.
25452         (tgamma_test_data): Likewise.
25453         (trunc_test_data): Likewise.
25454         (y0_test_data): Likewise.
25455         (y1_test_data): Likewise.
25456         (yn_test_data): Likewise.
25457         (significand_test_data): Likewise.
25458
25459         * math/gen-libm-test.pl (@functions): Remove variable.
25460         (generate_testfile): Don't handle START and END lines.
25461         * math/libm-test.inc (START): New macro.
25462         (END): Likewise.
25463         (END_COMPLEX): Likewise.
25464         (acos_test): Use END macro without arguments.
25465         (acos_test_tonearest): Likewise.
25466         (acos_test_towardzero): Likewise.
25467         (acos_test_downward): Likewise.
25468         (acos_test_upward): Likewise.
25469         (acosh_test): Likewise.
25470         (asin_test): Likewise.
25471         (asin_test_tonearest): Likewise.
25472         (asin_test_towardzero): Likewise.
25473         (asin_test_downward): Likewise.
25474         (asin_test_upward): Likewise.
25475         (asinh_test): Likewise.
25476         (atan_test): Likewise.
25477         (atanh_test): Likewise.
25478         (atan2_test): Likewise.
25479         (cabs_test): Likewise.
25480         (cacos_test): Use END_COMPLEX macro without arguments.
25481         (cacosh_test): Likewise.
25482         (carg_test): Use END macro without arguments.
25483         (casin_test): Use END_COMPLEX macro without arguments.
25484         (casinh_test): Likewise.
25485         (catan_test): Likewise.
25486         (catanh_test): Likewise.
25487         (cbrt_test): Use END macro without arguments.
25488         (ccos_test): Use END_COMPLEX macro without arguments.
25489         (ccosh_test): Likewise.
25490         (ceil_test): Use END macro without arguments.
25491         (cexp_test): Use END_COMPLEX macro without arguments.
25492         (cimag_test): Use END macro without arguments.
25493         (clog_test): Use END_COMPLEX macro without arguments.
25494         (clog10_test): Likewise.
25495         (conj_test): Likewise.
25496         (copysign_test): Use END macro without arguments.
25497         (cos_test): Likewise.
25498         (cos_test_tonearest): Likewise.
25499         (cos_test_towardzero): Likewise.
25500         (cos_test_downward): Likewise.
25501         (cos_test_upward): Likewise.
25502         (cosh_test): Likewise.
25503         (cosh_test_tonearest): Likewise.
25504         (cosh_test_towardzero): Likewise.
25505         (cosh_test_downward): Likewise.
25506         (cosh_test_upward): Likewise.
25507         (cpow_test): Use END_COMPLEX macro without arguments.
25508         (cproj_test): Likewise.
25509         (creal_test): Use END macro without arguments.
25510         (csin_test): Use END_COMPLEX macro without arguments.
25511         (csinh_test): Likewise.
25512         (csqrt_test): Likewise.
25513         (ctan_test): Likewise.
25514         (ctan_test_tonearest): Likewise.
25515         (ctan_test_towardzero): Likewise.
25516         (ctan_test_downward): Likewise.
25517         (ctan_test_upward): Likewise.
25518         (ctanh_test): Likewise.
25519         (ctanh_test_tonearest): Likewise.
25520         (ctanh_test_towardzero): Likewise.
25521         (ctanh_test_downward): Likewise.
25522         (ctanh_test_upward): Likewise.
25523         (erf_test): Use END macro without arguments.
25524         (erfc_test): Likewise.
25525         (exp_test): Likewise.
25526         (exp_test_tonearest): Likewise.
25527         (exp_test_towardzero): Likewise.
25528         (exp_test_downward): Likewise.
25529         (exp_test_upward): Likewise.
25530         (exp10_test): Likewise.
25531         (exp2_test): Likewise.
25532         (expm1_test): Likewise.
25533         (fabs_test): Likewise.
25534         (fdim_test): Likewise.
25535         (finite_test): Likewise.
25536         (floor_test): Likewise.
25537         (fma_test): Likewise.
25538         (fma_test_towardzero): Likewise.
25539         (fma_test_downward): Likewise.
25540         (fma_test_upward): Likewise.
25541         (fmax_test): Likewise.
25542         (fmin_test): Likewise.
25543         (fmod_test): Likewise.
25544         (fpclassify_test): Likewise.
25545         (frexp_test): Likewise.
25546         (gamma_test): Likewise.
25547         (hypot_test): Likewise.
25548         (ilogb_test): Likewise.
25549         (isfinite_test): Likewise.
25550         (isgreater_test): Likewise.
25551         (isgreaterequal_test): Likewise.
25552         (isinf_test): Likewise.
25553         (isless_test): Likewise.
25554         (islessequal_test): Likewise.
25555         (islessgreater_test): Likewise.
25556         (isnan_test): Likewise.
25557         (isnormal_test): Likewise.
25558         (issignaling_test): Likewise.
25559         (isunordered_test): Likewise.
25560         (j0_test): Likewise.
25561         (j1_test): Likewise.
25562         (jn_test): Likewise.
25563         (ldexp_test): Likewise.
25564         (lgamma_test): Likewise.
25565         (lrint_test): Likewise.
25566         (lrint_test_tonearest): Likewise.
25567         (lrint_test_towardzero): Likewise.
25568         (lrint_test_downward): Likewise.
25569         (lrint_test_upward): Likewise.
25570         (llrint_test): Likewise.
25571         (llrint_test_tonearest): Likewise.
25572         (llrint_test_towardzero): Likewise.
25573         (llrint_test_downward): Likewise.
25574         (llrint_test_upward): Likewise.
25575         (log_test): Likewise.
25576         (log10_test): Likewise.
25577         (log1p_test): Likewise.
25578         (log2_test): Likewise.
25579         (logb_test): Likewise.
25580         (logb_test_downward): Likewise.
25581         (lround_test): Likewise.
25582         (llround_test): Likewise.
25583         (modf_test): Likewise.
25584         (nearbyint_test): Likewise.
25585         (nextafter_test): Likewise.
25586         (nexttoward_test): Likewise.
25587         (pow_test): Likewise.
25588         (pow_test_tonearest): Likewise.
25589         (pow_test_towardzero): Likewise.
25590         (pow_test_downward): Likewise.
25591         (pow_test_upward): Likewise.
25592         (remainder_test): Likewise.
25593         (remainder_test_tonearest): Likewise.
25594         (remainder_test_towardzero): Likewise.
25595         (remainder_test_downward): Likewise.
25596         (remainder_test_upward): Likewise.
25597         (remquo_test): Likewise.
25598         (rint_test): Likewise.
25599         (rint_test_tonearest): Likewise.
25600         (rint_test_towardzero): Likewise.
25601         (rint_test_downward): Likewise.
25602         (rint_test_upward): Likewise.
25603         (round_test): Likewise.
25604         (scalb_test): Likewise.
25605         (scalbn_test): Likewise.
25606         (scalbln_test): Likewise.
25607         (signbit_test): Likewise.
25608         (sin_test): Likewise.
25609         (sin_test_tonearest): Likewise.
25610         (sin_test_towardzero): Likewise.
25611         (sin_test_downward): Likewise.
25612         (sin_test_upward): Likewise.
25613         (sincos_test): Likewise.
25614         (sinh_test): Likewise.
25615         (sinh_test_tonearest): Likewise.
25616         (sinh_test_towardzero): Likewise.
25617         (sinh_test_downward): Likewise.
25618         (sinh_test_upward): Likewise.
25619         (sqrt_test): Likewise.
25620         (tan_test): Likewise.
25621         (tan_test_tonearest): Likewise.
25622         (tan_test_towardzero): Likewise.
25623         (tan_test_downward): Likewise.
25624         (tan_test_upward): Likewise.
25625         (tanh_test): Likewise.
25626         (tgamma_test): Likewise.
25627         (trunc_test): Likewise.
25628         (y0_test): Likewise.
25629         (y1_test): Likewise.
25630         (yn_test): Likewise.
25631         (significand_test): Likewise.
25632
25633 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25634
25635         [BZ #15381]
25636         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25637
25638 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25639
25640         [BZ #14894]
25641         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25642         __ppc_mdoio and __ppc_mdoom.
25643         * manual/platform.texi: Document new functions __ppc_yield,
25644         __ppc_mdoio and __ppc_mdoom.
25645
25646 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25647
25648         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25649         (main): Mention "tls" pseudo-hwcap is legacy.
25650         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25651
25652 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25653
25654         * math/gen-libm-test.pl (parse_args): Output only string of
25655         arguments as text for test name, not full call or descriptions of
25656         tests for extra outputs.
25657         (generate_testfile): Do not pass function name to parse_args.
25658         Generate this_func variable from START.
25659         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25660         field to arg_str.
25661         (struct test_ff_f_data): Likewise.
25662         (test_ff_f_data_nexttoward): Likewise.
25663         (struct test_fi_f_data): Likewise.
25664         (struct test_fl_f_data): Likewise.
25665         (struct test_if_f_data): Likewise.
25666         (struct test_fff_f_data): Likewise.
25667         (struct test_c_f_data): Likewise.
25668         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25669         (struct test_fF_f1_data): Likewise.
25670         (struct test_ffI_f1_data): Likewise.
25671         (struct test_c_c_data): Rename test_name field to arg_str.
25672         (struct test_cc_c_data): Likewise.
25673         (struct test_f_i_data): Likewise.
25674         (struct test_ff_i_data): Likewise.
25675         (struct test_f_l_data): Likewise.
25676         (struct test_f_L_data): Likewise.
25677         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25678         and extra2_name.
25679         (COMMON_TEST_SETUP): New macro.
25680         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25681         (COMMON_TEST_CLEANUP): Likewise.
25682         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25683         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25684         macros.
25685         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25686         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25687         macros.
25688         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25689         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25690         cleanup macros.
25691         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25692         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25693         macros.
25694         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25695         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25696         macros.
25697         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25698         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25699         cleanup macros.
25700         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25701         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25702         cleanup macros.
25703         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25704         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25705         cleanup macros.
25706         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25707         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25708         macros.
25709         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25710         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25711         macros.
25712         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25713         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25714         macros.
25715         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25716         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25717         cleanup macros.
25718         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25719         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25720         cleanup macros.
25721         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25722         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25723         macros.
25724         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25725         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25726         cleanup macros.
25727         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25728         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25729         macros.
25730         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25731         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25732         macros.
25733         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25734         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25735         cleanup macros.
25736         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25737
25738 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25739
25740         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25741         to _sifields.sigfault.
25742         (si_addr_lsb): Define new macro.
25743         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25744         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25745         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25746
25747 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25748
25749         [BZ #15441]
25750         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25751         returns -1.
25752         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25753         null return -1.
25754         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25755         loading the domain.
25756
25757 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25758
25759         * math/gen-libm-test.pl (parse_args): Do not include expected
25760         result in test name.
25761         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25762         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25763         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25764         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25765         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25767
25768 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25769
25770         * benchtests/Makefile: Sort function entries.
25771
25772         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25773         tanh, asinh, acosh, atanh.
25774         * benchtests/acos-inputs: New file.
25775         * benchtests/acosh-inputs: New file.
25776         * benchtests/asin-inputs: New file.
25777         * benchtests/asinh-inputs: New file.
25778         * benchtests/atanh-inputs: New file.
25779         * benchtests/cosh-inputs: New file.
25780         * benchtests/log-inputs: New file.
25781         * benchtests/sinh-inputs: New file.
25782         * benchtests/tanh-inputs: New file.
25783
25784 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25785
25786         [BZ #15339]
25787         * posix/tst-getaddrinfo4.c: New test.
25788         * posix/Makefile (tests): Add it.
25789
25790 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25791
25792         [BZ #15339]
25793         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25794         when no services were used.
25795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25796         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25797
25798 2013-05-21  Andreas Schwab  <schwab@suse.de>
25799
25800         [BZ #15014]
25801         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25802         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25803         successful.
25804         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25805         redundant variable declarations and reallocation of buffer when
25806         parsing as IPv6 address.  Always set NSS status when called from
25807         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25808         buffer too small.  Correct computation of needed size.
25809         * nss/Makefile (tests): Add test-digits-dots.
25810         * nss/test-digits-dots.c: New test.
25811
25812 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25813
25814         * benchtests/Makefile: Remove instructions for adding
25815         benchmark tests.
25816         * benchtests/README: New file to explain how to execute and
25817         enhance the benchmark tests.
25818
25819 2013-05-21  Andreas Schwab  <schwab@suse.de>
25820
25821         [BZ #15493]
25822         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25823         * setjmp/tst-sigsetjmp.c: New test.
25824
25825 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25826
25827         * sysdeps/x86_64/memset.S (memset): New implementation.
25828         (__bzero): Likewise.
25829         (__memset_tail): New function.
25830
25831 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25832
25833         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25834         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25835         __memcpy_sse2_unaligned ifunc selection.
25836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25837         Add memcpy-sse2-unaligned.S.
25838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25839         Add: __memcpy_sse2_unaligned.
25840
25841 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25842
25843         [BZ #15490]
25844         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25845         math_force_eval before restoring floating-point envrionment.
25846         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25847         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25848         Likewise.
25849         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25850         <math_private.h>.
25851         (__nearbyintl): Use math_force_eval before restoring
25852         floating-point environment.
25853         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25854
25855         * math/gen-libm-test.pl (special_functions): Remove.
25856         (parse_args): Don't handle TEST_extra.  Handle functions with no
25857         return value.
25858         * math/libm-test.inc (struct test_sincos_data): Replace with
25859         struct test_fFF_11_data.
25860         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25861         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25862         (sincos_test_data): Change element type to struct
25863         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25864         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25865         RUN_TEST_LOOP_sincos.
25866         * math/README.libm-test: Don't mention special handling of
25867         individual functions.
25868         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25869         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25870         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25871         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25872         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25874
25875         * math/gen-libm-test.pl (get_variable): Remove function.
25876         (parse_args): Don't show pointer parameters to call in test
25877         names.  Use "extra output N" in test names for extra outputs
25878         rather than naming variables.
25879
25880 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25881
25882         [BZ #15488]
25883         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25884         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25885         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25886         double tests.
25887         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25888         disable.
25889         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25890         check_long_double.
25891
25892         * math/gen-libm-test.pl (@tests): Remove variable.
25893         ($count): Likewise.
25894         (new_test): Remove function.
25895         (show_exceptions): New function.
25896         (special_functions): Use show_exceptions instead of new_test.
25897         (parse_args): Likewise.
25898         (generate_testfile): Pass only function name in generated call to
25899         print_max_error or print_complex_max_error.
25900         (get_ulps): Do not handle complex tests specially.
25901         (output_test): Rename to ...
25902         (get_all_ulps_for_test): ... this.  Return a string rather than
25903         printing to a file.  Require ulps to be present.
25904         (output_ulps): Generate arrays rather than #defines.
25905         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25906         (struct ulp_data): New type.
25907         (BUILD_COMPLEX_ULP): Remove macro.
25908         (compare_ulp_data): New function.
25909         (find_ulps): Likewise.
25910         (find_test_ulps): Likewise.
25911         (find_function_ulps): Likewise.
25912         (find_complex_function_ulps): Likewise.
25913         (print_max_error): Determine allowed ulps using
25914         find_function_ulps.
25915         (print_complex_max_error): Determine allowed ulps using
25916         find_complex_function_ulps.
25917         (check_float_internal): Determine max ulps using find_test_ulps.
25918         (check_float): Do not take max_ulp parameter.  Update call to
25919         check_float_internal.
25920         (check_complex): Likewise.
25921         (check_int): Do not take max_ulp parameter.
25922         (check_long): Likewise.
25923         (check_bool): Likewise.
25924         (check_longlong): Likewise.
25925         (struct test_f_f_data): Remove max_ulp field.
25926         (struct test_ff_f_data): Likewise.
25927         (struct test_ff_f_data_nexttoward): Likewise.
25928         (struct test_fi_f_data): Likewise.
25929         (struct test_fl_f_data): Likewise.
25930         (struct test_if_f_data): Likewise.
25931         (struct test_fff_f_data): Likewise.
25932         (struct test_c_f_data): Likewise.
25933         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25934         (struct test_fF_f1_data): Likewise.
25935         (struct test_ffI_f1_data): Likewise.
25936         (struct test_c_c_data): Remove max_ulp field.
25937         (struct test_cc_c_data): Likewise.
25938         (struct test_f_i_data): Likewise.
25939         (struct test_ff_i_data): Likewise.
25940         (struct test_f_l_data): Likewise.
25941         (struct test_f_L_data): Likewise.
25942         (struct test_sincos_data): Likewise.
25943         (RUN_TEST_f_f): Do not handle ulps.
25944         (RUN_TEST_LOOP_f_f): Likewise.
25945         (RUN_TEST_2_f): Likewise.
25946         (RUN_TEST_LOOP_2_f): Likewise.
25947         (RUN_TEST_fff_f): Likewise.
25948         (RUN_TEST_LOOP_fff_f): Likewise.
25949         (RUN_TEST_c_f): Likewise.
25950         (RUN_TEST_LOOP_c_f): Likewise.
25951         (RUN_TEST_f_f1): Likewise.
25952         (RUN_TEST_LOOP_f_f1): Likewise.
25953         (RUN_TEST_fF_f1): Likewise.
25954         (RUN_TEST_LOOP_fF_f1): Likewise.
25955         (RUN_TEST_fI_f1): Likewise.
25956         (RUN_TEST_LOOP_fI_f1): Likewise.
25957         (RUN_TEST_ffI_f1): Likewise.
25958         (RUN_TEST_LOOP_ffI_f1): Likewise.
25959         (RUN_TEST_c_c): Likewise.
25960         (RUN_TEST_LOOP_c_c): Likewise.
25961         (RUN_TEST_cc_c): Likewise.
25962         (RUN_TEST_LOOP_cc_c): Likewise.
25963         (RUN_TEST_f_i): Likewise.
25964         (RUN_TEST_LOOP_f_i): Likewise.
25965         (RUN_TEST_f_i_tg): Likewise.
25966         (RUN_TEST_LOOP_f_i_tg): Likewise.
25967         (RUN_TEST_ff_i_tg): Likewise.
25968         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25969         (RUN_TEST_f_b): Likewise.
25970         (RUN_TEST_LOOP_f_b): Likewise.
25971         (RUN_TEST_f_b_tg): Likewise.
25972         (RUN_TEST_LOOP_f_b_tg): Likewise.
25973         (RUN_TEST_f_l): Likewise.
25974         (RUN_TEST_LOOP_f_l): Likewise.
25975         (RUN_TEST_f_L): Likewise.
25976         (RUN_TEST_LOOP_f_L): Likewise.
25977         (RUN_TEST_sincos): Likewise.
25978         (RUN_TEST_LOOP_sincos): Likewise.
25979
25980 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25981
25982         [BZ #15480]
25983         [BZ #15485]
25984         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25985         main case of finite arguments, set rounding mode to FE_TONEAREST
25986         and discard exceptions.
25987         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25988         exceptions.
25989         (remainder_tonearest_test_data): New variable.
25990         (remainder_test_tonearest): New function.
25991         (remainder_towardzero_test_data): New variable.
25992         (remainder_test_towardzero): New function.
25993         (remainder_downward_test_data): New variable.
25994         (remainder_test_downward): New function.
25995         (remainder_upward_test_data): New variable.
25996         (remainder_test_upward): New function.
25997         (main): Call the new test functions.
25998
25999         * math/libm-test.inc (struct test_f_f1_data): Remove field
26000         extra_init.
26001         (struct test_fF_f1_data): Likewise.
26002         (struct test_ffI_f1_data): Likewise.
26003         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26004         based on value of EXTRA_EXPECTED.
26005         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26006         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26007         EXTRA_VAR based on value of EXTRA_EXPECTED.
26008         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26009         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26010         EXTRA_VAR based on value of EXTRA_EXPECTED.
26011         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26012         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26013         EXTRA_VAR based on value of EXTRA_EXPECTED.
26014         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26015         * math/gen-libm-test.pl (parse_args): Don't output initializers
26016         for extra output values.
26017
26018         * math/libm-test.inc (check_int): Expect result to be exactly
26019         equal to expected value and do not handle ulps.
26020         (check_long): Likewise.
26021         (check_longlong): Likewise.
26022
26023         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26024         exceptions.
26025         (cimag_test_data): Likewise.
26026         (conj_test_data): Likewise.
26027         (copysign_test_data): Likewise.
26028         (cproj_test_data): Likewise.
26029         (creal_test_data): Likewise.
26030         (fabs_test_data): Likewise.
26031         (fdim_test_data): Likewise.
26032         (finite_test_data): Likewise.
26033         (floor_test_data): Likewise.
26034         (fmax_test_data): Likewise.
26035         (fmin_test_data): Likewise.
26036         (fmod_test_data): Likewise.
26037         (fpclassify_test_data): Likewise.
26038         (frexp_test_data): Likewise.
26039         (ilogb_test_data): Likewise.
26040         (isfinite_test_data): Likewise.
26041         (isgreater_test_data): Likewise.
26042         (isgreaterequal_test_data): Likewise.
26043         (isinf_test_data): Likewise.
26044         (isless_test_data): Likewise.
26045         (islessequal_test_data): Likewise.
26046         (islessgreater_test_data): Likewise.
26047         (isnan_test_data): Likewise.
26048         (isnormal_test_data): Likewise.
26049         (issignaling_test_data): Likewise.
26050         (isunordered_test_data): Likewise.
26051         (ldexp_test_data): Likewise.
26052         (lrint_test_data): Likewise.
26053         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26054         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26055         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26056         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26057         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26058         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26059         test input.
26060         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26061         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26062         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26063         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26064         that test input.
26065         (lrint_downward_test_data): Test for "inexact" exceptions.
26066         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26067         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26068         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26069         test input.
26070         (lrint_upward_test_data): Test for "inexact" exceptions.
26071         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26072         test input.
26073         (llrint_test_data): Test for "inexact" exceptions.
26074         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26075         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26076         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26077         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26078         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26079         (llrint_downward_test_data): Test for "inexact" exceptions.
26080         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26081         (llrint_upward_test_data): Test for "inexact" exceptions.
26082         (logb_test_data): Likewise.
26083         (logb_downward_test_data): Likewise.
26084         (nextafter_test_data): Likewise.
26085         (nexttoward_test_data): Likewise.
26086         (remainder_test_data): Likewise.
26087         (remquo_test_data): Likewise.
26088         (scalbn_test_data): Likewise.
26089         (scalbln_test_data): Likewise.
26090         (signbit_test_data): Likewise.
26091         (sqrt_test_data): Likewise.
26092         (significand_test_data): Likewise.
26093
26094 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26095
26096         [BZ #15424]
26097         * benchtests/bench-modf.c (struct args): Mark arg0 as
26098         volatile.
26099         * scripts/bench.pl: Mark members of struct args as volatile.
26100
26101 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26102
26103         [BZ # 15497]
26104         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26105         negative infinity on POWER6 or lower.
26106         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26107
26108 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26109
26110         [BZ #15442]
26111         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26112         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26113         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26114         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26115         (_FP_SETQNAN): New macro.
26116         (_FP_SETQNAN_SEMIRAW): Likewise.
26117         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26118         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26119         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26120         (FP_EXTEND): Use _FP_FRAC_SNANP.
26121         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26122         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26123         into account.
26124         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26125         New macro.
26126         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26127         Likewise.
26128
26129 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26130
26131         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26132         with DIVIDE_BY_ZERO_EXCEPTION.
26133         (gamma_test_data): Likewise.
26134         (lgamma_test_data): Likewise.
26135         (log_test_data): Likewise.
26136         (log10_test_data): Likewise.
26137         (log2_test_data): Likewise.
26138         (tgamma_test_data): Likewise.
26139
26140         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26141         (acos_test_tonearest): Likewise.
26142         (acos_test_towardzero): Likewise.
26143         (acos_test_downward): Likewise.
26144         (acos_test_upward): Likewise.
26145         (acosh_test): Likewise.
26146         (asin_test): Likewise.
26147         (asin_test_tonearest): Likewise.
26148         (asin_test_towardzero): Likewise.
26149         (asin_test_downward): Likewise.
26150         (asin_test_upward): Likewise.
26151         (asinh_test): Likewise.
26152         (atan_test): Likewise.
26153         (atanh_test): Likewise.
26154         (atan2_test): Likewise.
26155         (cabs_test): Likewise.
26156         (cacos_test): Likewise.
26157         (cacosh_test): Likewise.
26158         (casin_test): Likewise.
26159         (casinh_test): Likewise.
26160         (catan_test): Likewise.
26161         (catanh_test): Likewise.
26162         (cbrt_test): Likewise.
26163         (ccos_test): Likewise.
26164         (ccosh_test): Likewise.
26165         (cexp_test): Likewise.
26166         (clog_test): Likewise.
26167         (clog10_test): Likewise.
26168         (cos_test): Likewise.
26169         (cos_test_tonearest): Likewise.
26170         (cos_test_towardzero): Likewise.
26171         (cos_test_downward): Likewise.
26172         (cos_test_upward): Likewise.
26173         (cosh_test): Likewise.
26174         (cosh_test_tonearest): Likewise.
26175         (cosh_test_towardzero): Likewise.
26176         (cosh_test_downward): Likewise.
26177         (cosh_test_upward): Likewise.
26178         (cpow_test): Likewise.
26179         (csin_test): Likewise.
26180         (csinh_test): Likewise.
26181         (csqrt_test): Likewise.
26182         (ctan_test): Likewise.
26183         (ctan_test_tonearest): Likewise.
26184         (ctan_test_towardzero): Likewise.
26185         (ctan_test_downward): Likewise.
26186         (ctan_test_upward): Likewise.
26187         (ctanh_test): Likewise.
26188         (ctanh_test_tonearest): Likewise.
26189         (ctanh_test_towardzero): Likewise.
26190         (ctanh_test_downward): Likewise.
26191         (ctanh_test_upward): Likewise.
26192         (erf_test): Likewise.
26193         (erfc_test): Likewise.
26194         (exp_test): Likewise.
26195         (exp_test_tonearest): Likewise.
26196         (exp_test_towardzero): Likewise.
26197         (exp_test_downward): Likewise.
26198         (exp_test_upward): Likewise.
26199         (exp10_test): Likewise.
26200         (exp2_test): Likewise.
26201         (expm1_test): Likewise.
26202         (fmod_test): Likewise.
26203         (gamma_test): Likewise.
26204         (hypot_test): Likewise.
26205         (j0_test): Likewise.
26206         (j1_test): Likewise.
26207         (jn_test): Likewise.
26208         (lgamma_test): Likewise.
26209         (log_test): Likewise.
26210         (log10_test): Likewise.
26211         (log1p_test): Likewise.
26212         (log2_test): Likewise.
26213         (logb_test_downward): Likewise.
26214         (pow_test): Likewise.
26215         (pow_test_tonearest): Likewise.
26216         (pow_test_towardzero): Likewise.
26217         (pow_test_downward): Likewise.
26218         (pow_test_upward): Likewise.
26219         (remainder_test): Likewise.
26220         (remquo_test): Likewise.
26221         (sin_test): Likewise.
26222         (sin_test_tonearest): Likewise.
26223         (sin_test_towardzero): Likewise.
26224         (sin_test_downward): Likewise.
26225         (sin_test_upward): Likewise.
26226         (sincos_test): Likewise.
26227         (sinh_test): Likewise.
26228         (sinh_test_tonearest): Likewise.
26229         (sinh_test_towardzero): Likewise.
26230         (sinh_test_downward): Likewise.
26231         (sinh_test_upward): Likewise.
26232         (sqrt_test): Likewise.
26233         (tan_test): Likewise.
26234         (tan_test_tonearest): Likewise.
26235         (tan_test_towardzero): Likewise.
26236         (tan_test_downward): Likewise.
26237         (tan_test_upward): Likewise.
26238         (tanh_test): Likewise.
26239         (tgamma_test): Likewise.
26240         (y0_test): Likewise.
26241         (y1_test): Likewise.
26242         (yn_test): Likewise.
26243
26244         * math/gen-libm-test.pl (adjust_arg): Remove function.
26245         (special_function): Remove argument $in_func.  Only handle
26246         generating output for tables of tests, not inside functions.
26247         (parse_args): Likewise.
26248         (generate_testfile): Remove variable $in_func.  Update call to
26249         parse_args.
26250         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26251         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26252         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26253         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26254         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26255         (MAX_VALUE_INIT): Rename macro to max_value.
26256         (MIN_VALUE_INIT): Rename macro to min_value.
26257         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26258         (plus_zero): Remove variable.
26259         (minus_zero): Likewise.
26260         (plus_infty): Likewise.
26261         (minus_infty): Likewise.
26262         (qnan_value): Likewise.
26263         (max_value): Likewise.
26264         (min_value): Likewise.
26265         (min_subnorm_value): Likewise.
26266
26267 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26268
26269         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26270         uint64_t or uint32_t usage.
26271         * crypt/sha256-block.c: Likewise.
26272         * crypt/sha256-crypt.c: Likewise.
26273         * crypt/sha256.c: Likewise.
26274         * crypt/sha512-block.c: Likewise.
26275         * crypt/sha512-crypt.c: Likewise.
26276         * crypt/sha512.c: Likewise.
26277         * debug/backtrace-tst.c: Likewise.
26278         * debug/pcprofiledump.c: Likewise.
26279         * elf/cache.c: Likewise.
26280         * elf/dl-cache.c: Likewise.
26281         * elf/dl-misc.c: Likewise.
26282         * elf/dl-profile.c: Likewise.
26283         * elf/dl-support.c: Likewise.
26284         * elf/ldconfig.c: Likewise.
26285         * elf/sprof.c: Likewise.
26286         * iconv/dummy-repertoire.c: Likewise.
26287         * iconv/iconv_charmap.c: Likewise.
26288         * iconv/skeleton.c: Likewise.
26289         * iconvdata/8bit-generic.c: Likewise.
26290         * iconvdata/cp737.h: Likewise.
26291         * iconvdata/cp775.h: Likewise.
26292         * iconvdata/ibm1008.h: Likewise.
26293         * iconvdata/ibm1025.h: Likewise.
26294         * iconvdata/ibm1046.h: Likewise.
26295         * iconvdata/ibm1097.h: Likewise.
26296         * iconvdata/ibm1112.h: Likewise.
26297         * iconvdata/ibm1122.h: Likewise.
26298         * iconvdata/ibm1123.h: Likewise.
26299         * iconvdata/ibm1124.h: Likewise.
26300         * iconvdata/ibm1129.h: Likewise.
26301         * iconvdata/ibm1130.h: Likewise.
26302         * iconvdata/ibm1132.h: Likewise.
26303         * iconvdata/ibm1133.h: Likewise.
26304         * iconvdata/ibm1137.h: Likewise.
26305         * iconvdata/ibm1140.h: Likewise.
26306         * iconvdata/ibm1141.h: Likewise.
26307         * iconvdata/ibm1142.h: Likewise.
26308         * iconvdata/ibm1143.h: Likewise.
26309         * iconvdata/ibm1144.h: Likewise.
26310         * iconvdata/ibm1145.h: Likewise.
26311         * iconvdata/ibm1146.h: Likewise.
26312         * iconvdata/ibm1147.h: Likewise.
26313         * iconvdata/ibm1148.h: Likewise.
26314         * iconvdata/ibm1149.h: Likewise.
26315         * iconvdata/ibm1153.h: Likewise.
26316         * iconvdata/ibm1154.h: Likewise.
26317         * iconvdata/ibm1155.h: Likewise.
26318         * iconvdata/ibm1156.h: Likewise.
26319         * iconvdata/ibm1157.h: Likewise.
26320         * iconvdata/ibm1158.h: Likewise.
26321         * iconvdata/ibm1160.h: Likewise.
26322         * iconvdata/ibm1161.h: Likewise.
26323         * iconvdata/ibm1162.h: Likewise.
26324         * iconvdata/ibm1163.h: Likewise.
26325         * iconvdata/ibm1164.h: Likewise.
26326         * iconvdata/ibm1166.h: Likewise.
26327         * iconvdata/ibm1167.h: Likewise.
26328         * iconvdata/ibm12712.h: Likewise.
26329         * iconvdata/ibm1390.h: Likewise.
26330         * iconvdata/ibm1399.h: Likewise.
26331         * iconvdata/ibm16804.h: Likewise.
26332         * iconvdata/ibm4517.h: Likewise.
26333         * iconvdata/ibm4899.h: Likewise.
26334         * iconvdata/ibm4909.h: Likewise.
26335         * iconvdata/ibm4971.h: Likewise.
26336         * iconvdata/ibm5347.h: Likewise.
26337         * iconvdata/ibm803.h: Likewise.
26338         * iconvdata/ibm856.h: Likewise.
26339         * iconvdata/ibm901.h: Likewise.
26340         * iconvdata/ibm902.h: Likewise.
26341         * iconvdata/ibm9030.h: Likewise.
26342         * iconvdata/ibm9066.h: Likewise.
26343         * iconvdata/ibm921.h: Likewise.
26344         * iconvdata/ibm922.h: Likewise.
26345         * iconvdata/ibm9448.h: Likewise.
26346         * iconvdata/isiri-3342.h: Likewise.
26347         * iconvdata/jis0201.h: Likewise.
26348         * include/link.h: Likewise.
26349         * include/netdb.h: Likewise.
26350         * inet/check_native.c: Likewise.
26351         * inet/check_pf.c: Likewise.
26352         * inet/getipv4sourcefilter.c: Likewise.
26353         * inet/getnameinfo.c: Likewise.
26354         * inet/getsourcefilter.c: Likewise.
26355         * inet/htonl.c: Likewise.
26356         * inet/setipv4sourcefilter.c: Likewise.
26357         * inet/setsourcefilter.c: Likewise.
26358         * inet/test-inet6_opt.c: Likewise.
26359         * inet/tst-network.c: Likewise.
26360         * locale/C-collate.c: Likewise.
26361         * locale/C-ctype.c: Likewise.
26362         * locale/C-time.c: Likewise.
26363         * locale/C-translit.h: Likewise.
26364         * locale/loadarchive.c: Likewise.
26365         * locale/programs/3level.h: Likewise.
26366         * locale/programs/charmap.c: Likewise.
26367         * locale/programs/charmap.h: Likewise.
26368         * locale/programs/ld-address.c: Likewise.
26369         * locale/programs/ld-collate.c: Likewise.
26370         * locale/programs/ld-ctype.c: Likewise.
26371         * locale/programs/ld-identification.c: Likewise.
26372         * locale/programs/ld-measurement.c: Likewise.
26373         * locale/programs/ld-messages.c: Likewise.
26374         * locale/programs/ld-monetary.c: Likewise.
26375         * locale/programs/ld-name.c: Likewise.
26376         * locale/programs/ld-numeric.c: Likewise.
26377         * locale/programs/ld-paper.c: Likewise.
26378         * locale/programs/ld-telephone.c: Likewise.
26379         * locale/programs/ld-time.c: Likewise.
26380         * locale/programs/linereader.c: Likewise.
26381         * locale/programs/locale.c: Likewise.
26382         * locale/programs/locarchive.c: Likewise.
26383         * locale/programs/locfile.h: Likewise.
26384         * locale/programs/repertoire.c: Likewise.
26385         * locale/programs/simple-hash.c: Likewise.
26386         * locale/programs/simple-hash.h: Likewise.
26387         * malloc/memusage.c: Likewise.
26388         * malloc/memusagestat.c: Likewise.
26389         * nis/nis_defaults.c: Likewise.
26390         * nis/nis_hash.c: Likewise.
26391         * nis/nis_print.c: Likewise.
26392         * nis/nis_xdr.c: Likewise.
26393         * nscd/connections.c: Likewise.
26394         * nscd/hstcache.c: Likewise.
26395         * nscd/nscd_gethst_r.c: Likewise.
26396         * nscd/nscd_getserv_r.c: Likewise.
26397         * nscd/nscd_helper.c: Likewise.
26398         * nscd/servicescache.c: Likewise.
26399         * nss/makedb.c: Likewise.
26400         * nss/nss_db/db-XXX.c: Likewise.
26401         * nss/nss_db/db-initgroups.c: Likewise.
26402         * nss/nss_db/db-netgrp.c: Likewise.
26403         * nss/nss_files/files-network.c: Likewise.
26404         * nss/nss_files/files-parse.c: Likewise.
26405         * posix/bug-regex5.c: Likewise.
26406         * posix/fnmatch_loop.c: Likewise.
26407         * posix/regcomp.c: Likewise.
26408         * posix/regexec.c: Likewise.
26409         * posix/tst-rfc3484-2.c: Likewise.
26410         * posix/tst-rfc3484-3.c: Likewise.
26411         * posix/tst-rfc3484.c: Likewise.
26412         * resolv/nss_dns/dns-canon.c: Likewise.
26413         * resolv/nss_dns/dns-network.c: Likewise.
26414         * resolv/res_init.c: Likewise.
26415         * resolv/res_mkquery.c: Likewise.
26416         * resolv/tst-aton.c: Likewise.
26417         * stdlib/cxa_atexit.c: Likewise.
26418         * stdlib/cxa_finalize.c: Likewise.
26419         * stdlib/gen-fpioconst.c: Likewise.
26420         * stdlib/strtol_l.c: Likewise.
26421         * string/tst-endian.c: Likewise.
26422         * sunrpc/auth_des.c: Likewise.
26423         * sunrpc/clnt_udp.c: Likewise.
26424         * sunrpc/rtime.c: Likewise.
26425         * sunrpc/svcauth_des.c: Likewise.
26426         * sunrpc/xdr.c: Likewise.
26427         * sunrpc/xdr_intXX_t.c: Likewise.
26428         * sunrpc/xdr_rec.c: Likewise.
26429         * sysdeps/generic/ldconfig.h: Likewise.
26430         * sysdeps/generic/ldsodefs.h: Likewise.
26431         * sysdeps/generic/memusage.h: Likewise.
26432         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26433         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26434         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26435         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26436         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26438         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26439         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26440         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26441         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26442         * sysdeps/posix/getaddrinfo.c: Likewise.
26443         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26444         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26445         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26446         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26447         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26448         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26449         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26450         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26451         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26452         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26453         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26454         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26455         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26456         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26457         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26458         * sysdeps/x86_64/dl-tls.h: Likewise.
26459         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26460         * time/alt_digit.c: Likewise.
26461         * time/era.c: Likewise.
26462         * wcsmbs/tst-c16c32-1.c: Likewise.
26463
26464 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26465
26466         * math/libm-test.inc (struct test_sincos_data): New type.
26467         (RUN_TEST_LOOP_sincos): New macro.
26468         (sincos_test_data): New variable.
26469         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26470
26471 2013-05-16  Richard Henderson  <rth@redhat.com>
26472
26473         * math/atest-exp2.c (LIMB64): New macro.
26474         (CONSTSZ): New macro.
26475         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26476         (hexdig): Move ...
26477         (print_mpn_fp): ... to function scope.
26478         (read_mpn_hex): Remove.
26479         (get_log2): Remove.
26480         (exp2_mpn): Use mp_log2.
26481         (main): Use mp_exp1.
26482
26483 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26484
26485         * math/libm-test.inc: Remove comment about not testing "inexact"
26486         exceptions.
26487         (INEXACT_EXCEPTION): New macro.
26488         (NO_INEXACT_EXCEPTION): Likewise.
26489         (INVALID_EXCEPTION_OK): Update value.
26490         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26491         (OVERFLOW_EXCEPTION_OK): Likewise.
26492         (UNDERFLOW_EXCEPTION_OK): Likewise.
26493         (IGNORE_ZERO_INF_SIGN): Likewise.
26494         (ERRNO_UNCHANGED): Likewise.
26495         (ERRNO_EDOM): Likewise.
26496         (ERRNO_ERANGE): Likewise.
26497         (test_exceptions): Handle testing "inexact" exceptions.
26498         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26499         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26500         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26501         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26502         INEXACT_EXCEPTION.
26503         (rint_towardzero_test_data): Likewise.
26504         (rint_downward_test_data): Likewise.
26505         (rint_upward_test_data): Likewise.
26506
26507         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26508         with OVERFLOW_EXCEPTION.
26509         (exp10_test_data): Likewise.
26510         (exp2_test_data): Likewise.
26511         (expm1_test_data): Likewise.
26512         (lgamma_test_data): Likewise.
26513         (pow_test_data): Likewise.
26514         (tgamma_test_data): Likewise.
26515         (yn_test_data): Remove duplicate test of overflow.
26516
26517         * math/libm-test.inc (struct test_cc_c_data): New type.
26518         (RUN_TEST_LOOP_cc_c): New macro.
26519         (cpow_test_data): New variable.
26520         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26521
26522         * math/libm-test.inc (struct test_f_L_data): New type.
26523         (RUN_TEST_LOOP_f_L): New macro.
26524         (llrint_test_data): New variable.
26525         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26526         (llrint_tonearest_test_data): New variable.
26527         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26528         (llrint_towardzero_test_data): New variable.
26529         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26530         (llrint_downward_test_data): New variable.
26531         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26532         (llrint_upward_test_data): New variable.
26533         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26534         (llround_test_data): New variable.
26535         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26536
26537 2013-05-13  Peter Collingbourne  <pcc@google.com>
26538
26539         * math/atest-exp2.c (get_log2): Remove const attribute.
26540
26541 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26542
26543         * math/libm-test.inc (struct test_f_l_data): New type.
26544         (RUN_TEST_LOOP_f_l): New macro.
26545         (lrint_test_data): New variable.
26546         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26547         (lrint_tonearest_test_data): New variable.
26548         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26549         (lrint_towardzero_test_data): New variable.
26550         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26551         (lrint_downward_test_data): New variable.
26552         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26553         (lrint_upward_test_data): New variable.
26554         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26555         (lround_test_data): New variable.
26556         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26557
26558 2013-05-15  Peter Collingbourne  <pcc@google.com>
26559
26560         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26561         (EXTRACT_WORDS64) Use where appropriate.
26562         (INSERT_WORDS64) Likewise.
26563
26564         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26565         constraints with x constraints.
26566         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26567
26568         * malloc/obstack.c (_obstack_compat): Add initializer.
26569
26570 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26571
26572         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26573         si_trapno and add si_addr_lsb to _sifields.sigfault.
26574         (si_trapno): Remove macro.
26575         (si_addr_lsb): Define new macro.
26576         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26577
26578 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26579
26580         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26581         instead of TEST_f_l.
26582         (llrint_test_tonearest): Likewise.
26583         (llrint_test_towardzero): Likewise.
26584         (llrint_test_downward): Likewise.
26585         (llrint_test_upward): Likewise.
26586         (llround_test): Likewise.
26587
26588         * math/libm-test.inc (struct test_f_i_data): Add comment.
26589         (RUN_TEST_LOOP_f_b): New macro.
26590         (RUN_TEST_LOOP_f_b_tg): Likewise.
26591         (finite_test_data): New variable.
26592         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26593         (isfinite_test_data): New variable.
26594         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26595         (isinf_test_data): New variable.
26596         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26597         (isnan_test_data): New variable.
26598         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26599         (isnormal_test_data): New variable.
26600         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26601         (issignaling_test_data): New variable.
26602         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26603         (signbit_test_data): New variable.
26604         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26605
26606         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26607         with INVALID_EXCEPTION.
26608         (acosh_test_data): Likewise.
26609         (asin_test_data): Likewise.
26610         (atanh_test_data): Likewise.
26611         (fmod_test_data): Likewise.
26612         (log_test_data): Likewise.
26613         (log10_test_data): Likewise.
26614         (log2_test_data): Likewise.
26615         (pow_test_data): Likewise.
26616         (sqrt_test_data): Likewise.
26617         (y0_test_data): Likewise.
26618         (y1_test_data): Likewise.
26619         (yn_test_data): Likewise.
26620
26621         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26622         function contents.
26623
26624         * math/libm-test.inc (struct test_ff_i_data): New type.
26625         (RUN_TEST_LOOP_ff_i_tg): New macro.
26626         (isgreater_test_data): New variable.
26627         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26628         (isgreaterequal_test_data): New variable.
26629         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26630         (isless_test_data): New variable.
26631         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26632         (islessequal_test_data): New variable.
26633         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26634         (islessgreater_test_data): New variable.
26635         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26636         (isunordered_test_data): New variable.
26637         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26638
26639 2013-05-14  David S. Miller  <davem@davemloft.net>
26640
26641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26642
26643 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26644
26645         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26646
26647         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26648         extra_test to int.
26649         (struct test_f_i_data): Change type of max_ulp to int.
26650
26651         * math/libm-test.inc (test_ffI_f1_data): New type.
26652         (RUN_TEST_LOOP_ffI_f1): New macro.
26653         (remquo_test_data): New variable.
26654         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26655
26656         * setjmp/tst-setjmp-fp.c: New file.
26657         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26658         (link-libm): New variable.
26659         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26660
26661         * math/libm-test.inc (struct test_f_i_data): New type.
26662         (RUN_TEST_LOOP_f_i): New macro.
26663         (RUN_TEST_LOOP_f_i_tg): Likewise.
26664         (fpclassify_test_data): New variable.
26665         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26666         (ilogb_test_data): New variable.
26667         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26668
26669         * math/libm-test.inc (scalbln_test): Correct function name in END
26670         call.
26671
26672         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26673         (RUN_TEST_LOOP_fI_f1): New macro.
26674         (frexp_test_data): New variable.
26675         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26676
26677         * math/libm-test.inc (struct test_fF_f1_data): New type.
26678         (RUN_TEST_LOOP_fF_f1): New macro.
26679         (modf_test_data): New variable.
26680         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26681
26682         * math/libm-test.inc (struct test_f_f1_data): New type.
26683         (RUN_TEST_LOOP_f_f1): New macro.
26684         (gamma_test_data): New variable.
26685         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26686         (lgamma_test_data): New variable.
26687         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26688
26689 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26690
26691         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26692         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26693         (main): Comment "tls" pseudo-hwcap.
26694
26695 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26696
26697         * math/libm-test.inc (struct test_fl_f_data): New type.
26698         (RUN_TEST_LOOP_fl_f): New variable.
26699         (scalbln_test_data): New variable.
26700         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26701
26702         * math/libm-test.inc (struct test_fi_f_data): New type.
26703         (RUN_TEST_LOOP_fi_f): New macro.
26704         (ldexp_test_data): New variable.
26705         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26706         (scalbn_test_data): New variable.
26707         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26708
26709         * math/libm-test.inc (struct test_c_f_data): New type.
26710         (RUN_TEST_LOOP_c_f): New macro.
26711         (cabs_test_data): New variable.
26712         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26713         (carg_test_data): New variable.
26714         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26715         (cimag_test_data): New variable.
26716         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26717         (creal_test_data): New variable.
26718         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26719
26720         * math/libm-test.inc (struct test_if_f_data): New type.
26721         (RUN_TEST_LOOP_if_f): New macro.
26722         (jn_test_data): New variable.
26723         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26724         (yn_test_data): New variable.
26725         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26726
26727         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26728
26729 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26730
26731         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26732         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26733
26734 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26735
26736         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26737         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26738         (bench-deps): Add bench-timing.h.
26739         * benchtests-bench-skeleton.c: Include bench-timing.h.
26740         (main): Use TIMING_* macros instead of clock_gettime.
26741         * benchtests/bench-timing.h: New file.
26742
26743         [BZ #14582]
26744         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26745         Renamed from _LIB_VERSION.
26746         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26747
26748 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26749
26750         * math/libm-test.inc (struct test_fff_f_data): New type.
26751         (RUN_TEST_LOOP_fff_f): New macro.
26752         (fma_test_data): New variable.
26753         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26754         (fma_towardzero_test_data): New variable.
26755         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26756         (fma_downward_test_data): New variable.
26757         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26758         (fma_upward_test_data): New variable.
26759         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26760
26761         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26762         (struct test_c_c_data): New type.
26763         (RUN_TEST_LOOP_c_c): New macro.
26764         (cacos_test_data): New variable.
26765         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26766         (cacosh_test_data): New variable.
26767         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26768         (casin_test_data): New variable.
26769         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26770         (casinh_test_data): New variable.
26771         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26772         (catan_test_data): New variable.
26773         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26774         (catanh_test_data): New variable.
26775         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26776         (ccos_test_data): New variable.
26777         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26778         (ccosh_test_data): New variable.
26779         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26780         (cexp_test_data): New variable.
26781         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26782         (clog_test_data): New variable.
26783         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26784         (clog10_test_data): New variable.
26785         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26786         (conj_test_data): New variable.
26787         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26788         (cproj_test_data): New variable.
26789         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26790         (csin_test_data): New variable.
26791         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26792         (csinh_test_data): New variable.
26793         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26794         (csqrt_test_data): New variable.
26795         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26796         (ctan_test_data): New variable.
26797         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26798         (ctan_tonearest_test_data): New variable.
26799         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26800         (ctan_towardzero_test_data): New variable.
26801         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26802         (ctan_downward_test_data): New variable.
26803         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26804         (ctan_upward_test_data): New variable.
26805         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26806         (ctanh_test_data): New variable.
26807         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26808         (ctanh_tonearest_test_data): New variable.
26809         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26810         (ctanh_towardzero_test_data): New variable.
26811         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26812         (ctanh_downward_test_data): New variable.
26813         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26814         (ctanh_upward_test_data): New variable.
26815         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26816         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26817         of BUILD_COMPLEX.
26818
26819         * math/libm-test.inc (struct test_ff_f_data): New type.
26820         (struct test_ff_f_data_nexttoward): Likewise.
26821         (RUN_TEST_LOOP_2_f): New macro.
26822         (RUN_TEST_LOOP_ff_f): Likewise.
26823         (atan2_test_data): New variable.
26824         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26825         (copysign_test_data): New variable.
26826         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26827         (fdim_test_data): New variable.
26828         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26829         (fmax_test_data): New variable.
26830         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26831         (fmin_test_data): New variable.
26832         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26833         (fmod_test_data): New variable.
26834         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26835         (hypot_test_data): New variable.
26836         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26837         (nextafter_test_data): New variable.
26838         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26839         (nexttoward_test_data): New variable.
26840         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26841         (pow_test_data): New variable.
26842         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26843         (pow_tonearest_test_data): New variable.
26844         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26845         (pow_towardzero_test_data): New variable.
26846         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26847         (pow_downward_test_data): New variable.
26848         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26849         (pow_upward_test_data): New variable.
26850         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26851         (remainder_test_data): New variable.
26852         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26853         (scalb_test_data): New variable.
26854         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26855         * sysdeps/i386/fpu/libm-test-ulps: Update.
26856
26857 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26858
26859         * math/libm-test.inc (fma_test): Use max_value instead of local
26860         variable fltmax.
26861         (nextafter_test): Likewise.
26862
26863         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26864         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26865         (acos_downward_test_data): New variable.
26866         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26867         (acos_upward_test_data): New variable.
26868         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26869         (acosh_test_data): New variable.
26870         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26871         (asin_test_data): New variable.
26872         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26873         (asin_tonearest_test_data): New variable.
26874         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26875         (asin_towardzero_test_data): New variable.
26876         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26877         (asin_downward_test_data): New variable.
26878         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26879         (asin_upward_test_data): New variable.
26880         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26881         (asinh_test_data): New variable.
26882         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26883         (atan_test_data): New variable.
26884         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26885         (atanh_test_data): New variable.
26886         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26887         (cbrt_test_data): New variable.
26888         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26889         (ceil_test_data): New variable.
26890         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26891         (cos_test_data): New variable.
26892         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26893         (cos_tonearest_test_data): New variable.
26894         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26895         (cos_towardzero_test_data): New variable.
26896         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26897         (cos_downward_test_data): New variable.
26898         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26899         (cos_upward_test_data): New variable.
26900         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26901         (cosh_test_data): New variable.
26902         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26903         (cosh_tonearest_test_data): New variable.
26904         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26905         (cosh_towardzero_test_data): New variable.
26906         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26907         (cosh_downward_test_data): New variable.
26908         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26909         (cosh_upward_test_data): New variable.
26910         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26911         (erf_test_data): New variable.
26912         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26913         (erfc_test_data): New variable.
26914         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26915         (exp_test_data): New variable.
26916         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26917         (exp_tonearest_test_data): New variable.
26918         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26919         (exp_towardzero_test_data): New variable.
26920         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26921         (exp_downward_test_data): New variable.
26922         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26923         (exp_upward_test_data): New variable.
26924         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26925         (exp10_test_data): New variable.
26926         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26927         (exp2_test_data): New variable.
26928         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26929         (expm1_test_data): New variable.
26930         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26931         (fabs_test_data): New variable.
26932         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26933         (floor_test_data): New variable.
26934         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26935         (j0_test_data): New variable.
26936         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26937         (j1_test_data): New variable.
26938         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26939         (log_test_data): New variable.
26940         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26941         (log10_test_data): New variable.
26942         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26943         (log1p_test_data): New variable.
26944         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26945         (log2_test_data): New variable.
26946         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26947         (logb_test_data): New variable.
26948         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26949         (logb_downward_test_data): New variable.
26950         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26951         (nearbyint_test_data): New variable.
26952         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26953         (rint_test_data): New variable.
26954         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26955         (rint_tonearest_test_data): New variable.
26956         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26957         (rint_towardzero_test_data): New variable.
26958         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26959         (rint_downward_test_data): New variable.
26960         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26961         (rint_upward_test_data): New variable.
26962         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26963         (round_test_data): New variable.
26964         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26965         (sin_test_data): New variable.
26966         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26967         (sin_tonearest_test_data): New variable.
26968         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26969         (sin_towardzero_test_data): New variable.
26970         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26971         (sin_downward_test_data): New variable.
26972         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26973         (sin_upward_test_data): New variable.
26974         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26975         (sinh_test_data): New variable.
26976         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26977         (sinh_tonearest_test_data): New variable.
26978         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26979         (sinh_towardzero_test_data): New variable.
26980         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26981         (sinh_downward_test_data): New variable.
26982         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26983         (sinh_upward_test_data): New variable.
26984         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26985         (sqrt_test_data): New variable.
26986         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26987         (tan_test_data): New variable.
26988         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26989         (tan_tonearest_test_data): New variable.
26990         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26991         (tan_towardzero_test_data): New variable.
26992         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26993         (tan_downward_test_data): New variable.
26994         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26995         (tan_upward_test_data): New variable.
26996         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26997         (tanh_test_data): New variable.
26998         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26999         (tgamma_test_data): New variable.
27000         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27001         (trunc_test_data): New variable.
27002         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27003         (y0_test_data): New variable.
27004         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27005         (y1_test_data): New variable.
27006         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27007         (significand_test_data): New variable.
27008         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27009
27010 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27011
27012         [BZ #12387]
27013         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27014
27015 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27016
27017         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27018
27019 2013-05-10  Andreas Jaeger  <aj@suse.de>
27020
27021         [BZ #15448]
27022         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27023         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27024
27025 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27026
27027         * math/gen-libm-test.pl (adjust_arg): New function.
27028         (special_functions): Handle generating output in both functions
27029         and arrays.
27030         (parse_args): Likewise.
27031         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27032         $in_func argument to parse_args.
27033         * math/libm-test.inc (struct test_f_f_data): New type.
27034         (IF_ROUND_INIT_): New macro.
27035         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27036         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27037         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27038         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27039         (ROUND_RESTORE_): Likewise.
27040         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27041         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27042         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27043         (ROUND_RESTORE_FE_UPWARD): Likewise.
27044         (RUN_TEST_LOOP_f_f): New macro.
27045         (acos_test_data): New variable.
27046         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27047         (acos_tonearest_test_data): New variable.
27048         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27049
27050 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27051
27052         * benchtests/bench-skeleton.c (startup): Fix coding style.
27053
27054 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27055
27056         [BZ #6809]
27057         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27058         negative infinity argument.
27059         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27060         negative infinity argument.
27061         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27062         negative infinity argument.
27063         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27064         domain errors.
27065
27066 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27067
27068         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27069         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27070         * iconv/iconv_prog.c (main): Likewise.
27071         * locale/programs/charmap-dir.c (charmap_readdir)
27072         (fopen_uncompressed): Likewise.
27073         * locale/programs/locfile.c (siblings_uncached)
27074         (write_locale_data): Use lstat64 instead of lstat.
27075         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27076         stat.
27077
27078 2013-05-10  Andreas Jaeger  <aj@suse.de>
27079
27080         [BZ #15395]
27081         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27082         localization.
27083         Include <locale.h>.
27084
27085 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27086
27087         * elf/dl-close.c (_dl_close_worker): Add comments.
27088
27089 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27090
27091         [BZ #15359]
27092         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27093         high part of pi/2.
27094         (__ieee754_rem_pio2l): Update comments.
27095
27096         [BZ #15429]
27097         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27098         high part of pi/2.
27099         (__ieee754_rem_pio2l): Update comments.
27100
27101         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27102         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27103
27104         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27105         M_PI_4l.
27106
27107         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27108         (M_PI_34_LOG10El): Likewise.
27109         (M_PI2_LOG10El): Likewise.
27110         (M_PI4_LOG10El): Likewise.
27111         (M_PI_LOG10El): Likewise.
27112
27113 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27114
27115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27116
27117 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27118
27119         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27120         (MINUS_ZERO_INIT): Likewise.
27121         (PLUS_INFTY_INIT): Likewise.
27122         (MINUS_INFTY_INIT): Likewise.
27123         (QNAN_VALUE_INIT): Likewise.
27124         (MAX_VALUE_INIT): Likewise.
27125         (MIN_VALUE_INIT): Likewise.
27126         (MIN_SUBNORM_VALUE_INIT): Likewise.
27127         (plus_zero): Initialize with PLUS_ZERO_INIT.
27128         (minus_zero): Initialize with MINUS_ZERO_INIT.
27129         (plus_infty): Initialize with PLUS_INFTY_INIT.
27130         (minus_infty): Initialize with MINUS_INFTY_INIT.
27131         (qnan_value): Initialize with QNAN_VALUE_INIT.
27132         (max_value): Initialize with MAX_VALUE_INIT.
27133         (min_value): Initialize with MIN_VALUE_INIT.
27134         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27135
27136         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27137         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27138         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27139         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27140
27141         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27142         (RUN_TEST_2_f): Likewise.
27143         (RUN_TEST_ff_f): Likewise.
27144         (RUN_TEST_fi_f): Likewise.
27145         (RUN_TEST_fl_f): Likewise.
27146         (RUN_TEST_fff_f): Likewise.
27147         (RUN_TEST_c_f): Likewise.
27148         (RUN_TEST_f_f1): Likewise.
27149         (RUN_TEST_fF_f1): Likewise.
27150         (RUN_TEST_fI_f1): Likewise.
27151         (RUN_TEST_ffI_f1): Likewise.
27152         (RUN_TEST_c_c): Likewise.
27153         (RUN_TEST_cc_c): Likewise.
27154         (RUN_TEST_f_i): Likewise.
27155         (RUN_TEST_f_i_tg): Likewise.
27156         (RUN_TEST_ff_i_tg): Likewise.
27157         (RUN_TEST_f_b): Likewise.
27158         (RUN_TEST_f_b_tg): Likewise.
27159         (RUN_TEST_f_l): Likewise.
27160         (RUN_TEST_f_L): Likewise.
27161         (RUN_TEST_sincos): Likewise.
27162         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27163         whether to show exceptions.  Do not include ");\n" in return
27164         value.
27165         (special_functions): Output call to RUN_TEST_sincos instead of
27166         check_float calls.  Update calls to new_test.
27167         (parse_args): Output call to single RUN_TEST_* macro instead of
27168         check_* calls and other assignments.  Update calls to new_test.
27169
27170         [BZ #2546]
27171         [BZ #2560]
27172         [BZ #5159]
27173         [BZ #15426]
27174         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27175         input to result for tgamma overflow.
27176         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27177         (gamma_coeff): New variable.
27178         (NCOEFF): New macro.
27179         (gamma_positive): New function.
27180         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27181         underflow here.  Use gamma_positive instead of exp (lgamma) for
27182         other arguments.
27183         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27184         (gamma_coeff): New variable.
27185         (NCOEFF): New macro.
27186         (gammaf_positive): New function.
27187         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27188         underflow here.  Use gamma_positive instead of exp (lgamma) for
27189         other arguments.
27190         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27191         (gamma_coeff): New variable.
27192         (NCOEFF): New macro.
27193         (gammal_positive): New function.
27194         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27195         underflow here.  Use gamma_positive instead of exp (lgamma) for
27196         other arguments.
27197         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27198         (gamma_coeff): New variable.
27199         (NCOEFF): New macro.
27200         (gammal_positive): New function.
27201         (__ieee754_gammal_r): Handle positive infinity, overflow and
27202         underflow here.  Handle NaN the same as positive infinity.  Remove
27203         check x < 0xffffffff for negative integers.  Use gamma_positive
27204         instead of exp (lgamma) for other arguments.
27205         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27206         (gamma_coeff): New variable.
27207         (NCOEFF): New macro.
27208         (gammal_positive): New function.
27209         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27210         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27211         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27212         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27213         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27214         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27215         * sysdeps/generic/math_private.h (__gamma_productf): New
27216         prototype.
27217         (__gamma_product): Likewise.
27218         (__gamma_productl): Likewise.
27219         * math/Makefile (libm-calls): Add gamma_product.
27220         * math/libm-test.inc (tgamma_test): Add more tests.
27221         * sysdeps/i386/fpu/libm-test-ulps: Update.
27222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27223
27224 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27225
27226         * benchtests/bench-skeleton.c (main): Preheat CPU.
27227
27228 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27229
27230         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27231
27232 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27233
27234         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27235         and _dl_skip_args_internal.
27236
27237 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27238
27239         * manual/message.texi (Message Translation): Talk about users.
27240         Message to key mapping impacts design.
27241
27242 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27243
27244         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27245
27246         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27247
27248         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27249         * sysdeps/wordsize-64/glob64.c: ... here.
27250
27251         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27252         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27253         New macros.
27254
27255         * debug/getlogin_r_chk.c: Moved to ...
27256         * login/getlogin_r_chk.c: ... here.
27257         * debug/Makefile (routines): Move getlogin_r_chk to ...
27258         * login/Makefile (routines): ... here.
27259         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27260         * login/Versions (libc: GLIBC_2.4): ... here.
27261
27262         * io/poll.c (__poll): Renamed from poll.
27263         Add libc_hidden_def.
27264         (poll): Define as weak alias.
27265
27266         * debug/ptsname_r_chk.c: Moved to ...
27267         * login/ptsname_r_chk.c: ... here.
27268         * debug/Makefile (routines): Move ptsname_r_chk to ...
27269         * login/Makefile (routines): ... here.
27270         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27271         * login/Versions (libc: GLIBC_2.4): ... here.
27272
27273         * posix/getlogin.c: Moved to ...
27274         * login/getlogin.c: ... here.
27275         * posix/getlogin_r.c: Moved to ...
27276         * login/getlogin_r.c: ... here.
27277         * posix/getlogin_r.c: Moved to ...
27278         * login/getlogin_r.c: ... here.
27279         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27280         * login/Makefile (routines): ... here.
27281         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27282         * login/Versions (libc: GLIBC_2.0): ... here.
27283
27284         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27285         (setrlimit): Define as weak alias.
27286
27287         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27288         Call __ names for open, ftruncate, and close.
27289         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27290         (truncate): Define as weak alias.
27291
27292 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27293
27294         * math/gen-libm-test.pl (parse_args): Initialize x before each
27295         test of frexp, modf and remquo.
27296
27297         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27298         test signgam value.
27299
27300 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27301
27302         [BZ #15418]
27303         [BZ #15419]
27304         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27305         internal tests.
27306         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27307
27308 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27309
27310         * elf/dl-writev.h: New file.
27311         * elf/dl-misc.c: Include it.
27312         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27313         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27314
27315 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27316
27317         * math/libm-test.inc (noXFails): Remove variable.
27318         (noXPasses): Likewise.
27319         (BUILD_COMPLEX_INT): Remove macro.
27320         (print_screen): Remove xfail argument.
27321         (print_screen_max_error): Likewise.
27322         (update_stats): Likewise.
27323         (print_max_error): Likewise.  Update calls to other affected
27324         functions.
27325         (print_complex_max_error): Likewise.
27326         (test_single_exception): Update calls to print_screen.
27327         (test_single_errno): Likewise.
27328         (check_float_internal): Remove xfail argument.  Update calls to
27329         other affected functions.
27330         (check_float): Likewise.
27331         (check_complex): Likewise.
27332         (check_int): Likewise.
27333         (check_long): Likewise.
27334         (check_bool): Likewise.
27335         (check_longlong): Likewise.
27336         (main): Don't print noXFails and noXPasses.
27337         * math/gen-libm-test.pl (top level): Don't mention expected
27338         failure handling in comment.
27339         (new_test): Don't handle expected failures.
27340         (parse_args): Don't mention expected failure handling in comment.
27341         (generate_testfile): Don't handle expected failures.
27342         (parse_ulps): Likewise.
27343         (print_ulps_file): Likewise.
27344         (get_failure): Remove function.
27345         (output_test): Don't handle expected failures.
27346         * make/README.libm-test: Don't mention expected failure handling.
27347
27348         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27349         (minus_zero): Likewise.
27350         (plus_infty): Likewise.
27351         (minus_infty): Likewise.
27352         (qnan_value): Likewise.
27353         (max_value): Likewise.
27354         (min_value): Likewise.
27355         (min_subnorm_value): Likewise.
27356         (initialize): Do not initialize those variables dynamically.
27357
27358 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27359
27360         * io/open.c (__open_2): Moved to ...
27361         * io/open_2.c: ... this new file.
27362         * io/open64.c (__open64_2): Moved to ...
27363         * io/open64_2.c: ... this new file.
27364         * io/openat.c (__openat_2): Moved to ...
27365         * io/openat_2.c: ... this new file.
27366         * io/openat64.c (__openat64_2): Moved to ...
27367         * io/openat64_2.c: ... this new file.
27368         * io/Makefile (routines): Add them.
27369         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27370         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27371         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27372         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27373         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27374         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27375         (__openat64): Add hidden_ver.
27376         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27377         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27378
27379         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27380         Separately conditionalize setting of GLRO(dl_sysinfo) so
27381         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27382         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27383
27384 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27385
27386         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27387         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27388         definition.
27389         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27390         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27391         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27392         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27393         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27394
27395 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27396
27397         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27398         test signgam value.
27399
27400         * math/libm-test.inc (hypot_test): Do not use
27401         IGNORE_ZERO_INF_SIGN.
27402
27403 2013-05-03  Andreas Jaeger  <aj@suse.de>
27404
27405         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27406         Linux 3.9.
27407         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27408         (PF_MAX): Adjust for VSOCK change.
27409
27410 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27411
27412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27413
27414 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27415
27416         [BZ #15264]
27417         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27418         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27419         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27420
27421 2013-05-02  David S. Miller  <davem@davemloft.net>
27422
27423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27424
27425 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27426
27427         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27428
27429 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27430
27431         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27432
27433 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27434
27435         [BZ #14952]
27436         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27437         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27438         Use __attribute__ ((__gnu_inline__)).
27439         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27440         Don't use __attribute__ ((__gnu_inline__)).
27441
27442 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27443
27444         [BZ #15423]
27445         * math/s_catan.c (__catan): Handle small real or imaginary part of
27446         input specially to avoid spurious underflow.
27447         * math/s_catanf.c (__catanf): Likewise.
27448         * math/s_catanh.c (__catanh): Likewise.
27449         * math/s_catanhf.c (__catanhf): Likewise.
27450         * math/s_catanhl.c (__catanhl): Likewise.
27451         * math/s_catanl.c (__catanl): Likewise.
27452         * math/libm-test.inc (catan_test): Add more tests.
27453         (catanh_test): Likewise.
27454         * sysdeps/i386/fpu/libm-test-ulps: Update.
27455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27456
27457 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27458
27459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27460
27461 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27462
27463         [BZ #15416]
27464         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27465         accurately for denominator in atan2.
27466         * math/s_catanf.c (__catanf): Likewise.
27467         * math/s_catanh.c (__catanh): Likewise.
27468         * math/s_catanhf.c (__catanhf): Likewise.
27469         * math/s_catanhl.c (__catanhl): Likewise.
27470         * math/s_catanl.c (__catanl): Likewise.
27471         * math/libm-test.inc (catan_test): Add more tests.
27472         (catanh_test): Likewise.
27473         * sysdeps/i386/fpu/libm-test-ulps: Update.
27474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27475
27476 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27477
27478         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27479
27480         * benchtests/Makefile (bench): Remove slow benchmarks.
27481         * benchtests/atan-inputs: Add slow benchmark inputs.
27482         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27483         (BENCH_FUNC): Accept variant offset.
27484         (VARIANT): Define.
27485         * benchtests/bench-skeleton.c (main): Run benchmark for each
27486         variant.
27487         * benchtests/cos-inputs: Add slow benchmark inputs.
27488         * benchtests/exp-inputs: Likewise.
27489         * benchtests/pow-inputs: Likewise.
27490         * benchtests/sin-inputs: Likewise.
27491         * benchtests/slowatan-inputs: Remove.
27492         * benchtests/slowatan.c: Remove.
27493         * benchtests/slowcos-inputs: Remove.
27494         * benchtests/slowcos.c: Remove.
27495         * benchtests/slowexp-inputs: Remove.
27496         * benchtests/slowexp.c: Remove.
27497         * benchtests/slowpow-inputs: Remove.
27498         * benchtests/slowpow.c: Remove.
27499         * benchtests/slowsin-inputs: Remove.
27500         * benchtests/slowsin.c: Remove.
27501         * benchtests/slowtan-inputs: Remove.
27502         * benchtests/slowtan.c: Remove.
27503         * benchtests/tan-inputs: Add slow benchmark inputs.
27504         * scripts/bench.pl: Parse comments and directives.
27505
27506         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27507         in CPPFLAGS.
27508         ($(objpfx)bench-%.c): Remove *-ITER.
27509         * benchtests/bench-modf.c: Remove definition of ITER.
27510         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27511         (main): Loop for DURATION seconds instead of fixed number of
27512         iterations.
27513         * scripts/bench.pl: Don't expect iterations in parameters.
27514
27515 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27516
27517         * io/fchdir.c (__fchdir): Renamed from fchdir.
27518         (fchdir): Define as weak alias.
27519
27520 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27521
27522         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27523         (ERRNO_EDOM): Likewise.
27524         (ERRNO_ERANGE): Likewise.
27525         (noErrnoTests): New variable.
27526         (init_max_error): Set errno to 0.
27527         (test_single_errno): New function.
27528         (test_errno): Likewise.
27529         (check_float_internal): Call test_errno.  Set errno to 0.
27530         (check_complex): Refer to errno tests in comment.
27531         (check_int): Call test_errno.  Set errno to 0.
27532         (check_long): Likewise.
27533         (check_bool): Likewise.
27534         (check_longlong): Likewise.
27535         (cos_test): Use ERRNO_* flags for errno tests instead of
27536         check_int.
27537         (expm1_test): Likewise.
27538         (fmod_test): Likewise.
27539         (ilogb_test): Likewise.
27540         (lgamma_test): Likewise.
27541         (pow_test): Likewise.
27542         (remainder_test): Likewise.
27543         (sin_test): Likewise.
27544         (tan_test): Likewise.
27545         (yn_test): Likewise.
27546         (initialize): Set errno to 0.
27547         (main): Print number of errno tests.
27548         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27549
27550 2013-04-29  Andreas Jaeger  <aj@suse.de>
27551
27552         [BZ #15084]
27553         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27554         and RES_USEVC.
27555
27556         [BZ #15085]
27557         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27558         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27559         unimplemented.
27560
27561         [BZ #15380]
27562         * stdlib/random.c (__initstate): Return NULL if
27563         __initstate fails.
27564
27565         [BZ #15086]
27566         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27567         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27568         RES_SNGLKUPREOP.
27569
27570 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27571
27572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27573
27574 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27575
27576         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27577         of individual tests.
27578         (casin_test): Likewise.
27579         (casinh_test): Likewise.
27580
27581 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27582
27583         [BZ #15409]
27584         * math/s_catan.c (__catan): Handle arguments with large real or
27585         imaginary part separately without squaring.
27586         * math/s_catanf.c (__catanf): Likewise.
27587         * math/s_catanh.c (__catanh): Likewise.
27588         * math/s_catanhf.c (__catanhf): Likewise.
27589         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27590         and redefine.
27591         (__catanhl): Handle arguments with large real or imaginary part
27592         separately without squaring.
27593         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27594         and redefine.
27595         (__catanl): Handle arguments with large real or imaginary part
27596         separately without squaring.
27597         * math/libm-test.inc (catan_test): Add more tests.
27598         (catanh_test): Likewise.
27599         * sysdeps/i386/fpu/libm-test-ulps: Update.
27600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27601
27602 2013-04-27  Andreas Jaeger  <aj@suse.de>
27603
27604         [BZ #15007]
27605         * stdlib/stdlib.h: Update guards for qecvt.
27606         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27607         <stdlib.h>.
27608
27609 2013-04-27  Allan McRae  <allan@archlinux.org>
27610
27611         * sysdeps/i386/fpu/libm-test-ulps: Update.
27612
27613 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27614
27615         [BZ #15406]
27616         * math/s_catan.c: Include <float.h>.
27617         (__catan): Ensure underflow exception occurs for underflowed
27618         result.
27619         * math/s_catanf.c: Include <float.h>.
27620         (__catanf): Ensure underflow exception occurs for underflowed
27621         result.
27622         * math/s_catanh.c: Include <float.h>.
27623         (__catanh): Ensure underflow exception occurs for underflowed
27624         result.
27625         * math/s_catanhf.c: Include <float.h>.
27626         (__catanhf): Ensure underflow exception occurs for underflowed
27627         result.
27628         * math/s_catanhl.c: Include <float.h>.
27629         (__catanhl): Ensure underflow exception occurs for underflowed
27630         result.
27631         * math/s_catanl.c: Include <float.h>.
27632         (__catanl): Ensure underflow exception occurs for underflowed
27633         result.
27634         * math/libm-test.inc (catan_test): Add more tests.
27635         (catanh_test): Likewise.
27636
27637         [BZ #15405]
27638         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27639         underflowed result.
27640         * math/s_ccoshf.c (__ccoshf): Likewise.
27641         * math/s_ccoshl.c (__ccoshl): Likewise.
27642         * math/s_csin.c (__csin): Likewise.
27643         * math/s_csinf.c (__csinf): Likewise.
27644         * math/s_csinh.c (__csinh): Likewise.
27645         * math/s_csinhf.c (__csinhf): Likewise.
27646         * math/s_csinhl.c (__csinhl): Likewise.
27647         * math/s_csinl.c (__csinl): Likewise.
27648         * math/libm-test.inc (ccos_test): Add more tests.
27649         (ccosh_test): Likewise.
27650         (csin_test): Likewise.
27651         (csinh_test): Likewise.
27652
27653 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27654
27655         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27656         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27657         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27658         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27659         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27660         powerpc/power5+/fpu folders.
27661         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27662
27663
27664 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27665
27666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27667
27668 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27669
27670         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27671         additions to variable.
27672         [$(config-machine) = x86_64] (modules-names): Likewise.
27673         ($(objpfx)tst-audit3): Remove dependency.
27674         ($(objpfx)tst-audit3.out): Likewise.
27675         ($(objpfx)tst-audit4): Likewise.
27676         ($(objpfx)tst-audit4.out): Likewise.
27677         ($(objpfx)tst-audit5): Likewise.
27678         ($(objpfx)tst-audit5.out): Likewise.
27679         ($(objpfx)tst-audit6): Likewise.
27680         ($(objpfx)tst-audit6.out): Likewise.
27681         ($(objpfx)tst-audit7): Likewise.
27682         ($(objpfx)tst-audit7.out): Likewise.
27683         (tst-audit3-ENV): Remove variable.
27684         (tst-audit4-ENV): Likewise.
27685         (tst-audit5-ENV): Likewise.
27686         (tst-audit6-ENV): Likewise.
27687         (tst-audit7-ENV): Likewise.
27688         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27689         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27690         addition to variable.
27691         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27692         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27693         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27694         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27695         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27696         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27697         tst-audit3, tst-audit4 and tst-audit5.
27698         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27699         tst-audit6 and tst-audit7.
27700         [$(subdir) = elf] (modules-names): Add audit modules for those
27701         tests.
27702         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27703         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27704         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27705         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27706         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27707         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27708         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27709         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27710         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27711         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27712         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27713         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27714         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27715         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27716         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27717         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27718         Likewise.
27719         [$(subdir) = elf && $(config-cflags-avx) = yes]
27720         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27721         [$(subdir) = elf && $(config-cflags-avx) = yes]
27722         (CFLAGS-tst-auditmod4a.c): Likewise.
27723         [$(subdir) = elf && $(config-cflags-avx) = yes]
27724         (CFLAGS-tst-auditmod4b.c): Likewise.
27725         [$(subdir) = elf && $(config-cflags-avx) = yes]
27726         (CFLAGS-tst-auditmod6b.c): Likewise.
27727         [$(subdir) = elf && $(config-cflags-avx) = yes]
27728         (CFLAGS-tst-auditmod6c.c): Likewise.
27729         [$(subdir) = elf && $(config-cflags-avx) = yes]
27730         (CFLAGS-tst-auditmod7b.c): Likewise.
27731         * elf/tst-audit3.c: Move to ...
27732         * sysdeps/x86_64/tst-audit3.c: ... here.
27733         * elf/tst-audit4.c: Move to ...
27734         * sysdeps/x86_64/tst-audit4.c: ... here.
27735         * elf/tst-audit5.c: Move to ...
27736         * sysdeps/x86_64/tst-audit5.c: ... here.
27737         * elf/tst-audit6.c: Move to ...
27738         * sysdeps/x86_64/tst-audit6.c: ... here.
27739         * elf/tst-audit7.c: Move to ...
27740         * sysdeps/x86_64/tst-audit7.c: ... here.
27741         * elf/tst-auditmod3a.c: Move to ...
27742         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27743         * elf/tst-auditmod3b.c: Move to ...
27744         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27745         * elf/tst-auditmod4a.c: Move to ...
27746         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27747         * elf/tst-auditmod4b.c: Move to ...
27748         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27749         * elf/tst-auditmod5a.c: Move to ...
27750         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27751         * elf/tst-auditmod5b.c: Move to ...
27752         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27753         * elf/tst-auditmod6a.c: Move to ...
27754         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27755         * elf/tst-auditmod6b.c: Move to ...
27756         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27757         * elf/tst-auditmod6c.c: Move to ...
27758         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27759         * elf/tst-auditmod7a.c: Move to ...
27760         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27761         * elf/tst-auditmod7b.c: Move to ...
27762         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27763
27764 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27765
27766         [BZ #15366]
27767         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27768         define unconditionally.
27769         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27770         define unconditionally.
27771         (INT8_C, INT16_C, etc.): Likewise.
27772
27773 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27774
27775         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27776         __ehdr_start with hidden visibility.
27777
27778         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27779
27780 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27781
27782         * math/libm-test.inc (cos_test): Use accurate hex constants.
27783         (sincost_test): Likewise.
27784
27785 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27786
27787         * math/libm-test.inc (catan_test): Add more tests.
27788         (catanh_test): Likewise.
27789
27790         * math/s_catanf.c (__catanf): Use suffixed floating-point
27791         constants.
27792         * math/s_catanhf.c (__catanhf): Likewise.
27793         * math/s_catanhl.c (__catanhl): Likewise.
27794         * math/s_catanl.c (__catanl): Likewise.
27795
27796         [BZ #15394]
27797         * math/s_catan.c (__catan): Calculate imaginary part of result
27798         with log1p not log unless computing log of number close to 0.
27799         * math/s_catanf.c (__catanf): Likewise.
27800         * math/s_catanl.c (__catanl): Likewise.
27801         * math/s_catanh.c (__catanh): Calculate real part of result with
27802         log1p not log unless computing log of number close to 0.
27803         * math/s_catanhf.c (__catanhf): Likewise.
27804         * math/s_catanhl.c (__catanhl): Likewise.
27805         * math/libm-test.inc (catan_test): Add more tests.
27806         (catanh_test): Likewise.
27807         * sysdeps/i386/fpu/libm-test-ulps: Update.
27808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27809
27810 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27811
27812         * benchtests/Makefile: Mention files in which fast and slow
27813         paths of math functions are implemented.
27814
27815 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27816
27817         * sysdeps/posix/timespec_get.c: New file.
27818
27819 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27820
27821         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27822         POWER.
27823         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27824         for POWER.
27825         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27826         powerpc/power5/fpu folders.
27827         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27828         * benchtests/Makefile: Add modf testcase.
27829         * benchtests/bench-modf.c: New file: Benchmark test for mo
27830
27831 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27832
27833         [BZ #14888]
27834         * time/Makefile (tests): Add tst-strptime-whitespace.
27835         * time/strptime_l.c (get_number): Use ISSPACE.
27836         (__strptime_internal): Likewise.
27837         * time/tst-strptime-whitespace.c: New test case.
27838
27839 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27840
27841         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27842         member.
27843         (_nss_files_init): Set it here.
27844
27845 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27846
27847         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27848         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27849         unsigned.
27850
27851 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27852
27853         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27854
27855 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27856
27857         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27858         size just once.
27859
27860 2013-04-21  David S. Miller  <davem@davemloft.net>
27861
27862         * po/ru.po: Update Russion translation from translation project.
27863
27864 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27865
27866         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27867         and setfsgid.
27868
27869 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27870
27871         * configure.in: Remove i386 configure warning. Remove i386 case.
27872         * configure: Regenerate.
27873         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27874         Add example to error message.
27875         * sysdeps/i386/configure: Regenerate.
27876
27877 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27878
27879         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27880         slowtan.
27881         * benchtests/cos-inputs: New file.
27882         * benchtests/slowcos-inputs: New file.
27883         * benchtests/slowcos.c: New file.
27884         * benchtests/slowtan-inputs: New file.
27885         * benchtests/slowtan.c: New file.
27886         * benchtests/tan-inputs: New file.
27887
27888 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27889
27890         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27891         considered kosher.
27892
27893 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27894
27895         * benchtests/Makefile: Include cppflags-iterator.mk to add
27896         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27897
27898         * Makefile.in (bench-clean): New target.
27899         * benchtests/Makefile (bench-clean): Likewise.
27900
27901 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27902
27903         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27904
27905 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27906
27907         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27908
27909 2013-04-15  Andreas Schwab  <schwab@suse.de>
27910
27911         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27912         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27913         * nscd/pwdcache.c (cache_addpw): Likewise.
27914         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27915         more than recsize.
27916
27917 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27918
27919         * benchtests/Makefile (bench): Write all output to
27920         bench-out.tmp together.
27921
27922 2013-04-15  Andreas Schwab  <schwab@suse.de>
27923
27924         * nscd/nscd.c (main): Don't fork again after closing files.
27925
27926 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27927
27928         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27929
27930         * benchtests/Rules (bench-deps): Collect dependencies into a
27931         single variable.  Add Makefile to dependencies.
27932         ($(objpfx)bench-%.c): Depend on bench-deps.
27933
27934 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27935             Xavier Roche  <roche+kml2@exalead.com>
27936
27937         [BZ #15361]
27938         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27939         just that it's a file descriptor.
27940         * manual/llio.texi (Synchronizing AIO Operations): Update description
27941         for EBADF error from aio_fsync.
27942
27943 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27944
27945         * Rules (bench): Move target definition...
27946         * benchtests/Makefile: ... here.
27947
27948 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27949
27950         * math/libm-test.inc (cos_test): Fix PI/2 test.
27951         (sincos_test): Likewise.
27952         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27953         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27954
27955 2013-04-11  Andreas Schwab  <schwab@suse.de>
27956
27957         [BZ #13988]
27958         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27959         accept exponent character only when digits were seen.
27960         * stdio-common/Makefile (tests): Add bug26.
27961         * stdio-common/bug26.c: New file.
27962
27963         [BZ #14293]
27964         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27965         non-freeable.
27966
27967 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27968
27969         * Makeconfig (rtld-prefix): Define built linker prefix.
27970         * Rules (run-bench): Use it.
27971         * math/Makefile (run-regen-ulps): Likewise.
27972
27973         * Rules (bench): Remove eval.
27974
27975 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27976             Roland McGrath  <roland@hack.frob.com>
27977             Ondrej Bilka  <neleai@seznam.cz>
27978
27979         [BZ #15346]
27980         * time/getdate.c: Include ctype.h and alloca.h.
27981         (__getdate_r): Trim leading and trailing spaces of input.
27982         * time/tst-getdate.c (tests): Add tests with leading and
27983         trailing spaces.
27984
27985 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27986
27987         [BZ #14280]
27988         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27989         when computing value.
27990
27991 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27992
27993         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27994         Use testrun.sh to run libm tests.
27995
27996         [BZ #15309]
27997         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27998
27999 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28000
28001         [BZ #15264]
28002         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28003
28004 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28005
28006         * Makefile.in (regen-ulps): New target.
28007         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28008         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28009         [ifneq (no,$(PERL)] (regen-ulps): New target.
28010         [ifeq (no,$(PERL)] (regen-ulps): New target.
28011         * math/libm-test.inc (ulps_file_name): Define.
28012         (output_dir): New variable.
28013         (options): Add "output-dir" option.
28014         (parse_opt): Handle 'o' case.
28015         (main): If output_dir is non-NULL use it as a prefix
28016         otherwise use "".
28017         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28018
28019 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28020
28021         [BZ #10060, #10062]
28022         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28023         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28024         fail configure if __sync_val_compare_and_swap is not inlined.
28025         * sysdeps/i386/configure: Regenerate.
28026         * configure.in: Build for i686 when configured for i386.
28027         * configure: Regenerate.
28028         * README: Remove i386 reference.
28029
28030 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28031
28032         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28033         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28034
28035 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28036
28037         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28038         (lmsnanval): New variables.
28039         (F): Add conversion tests.
28040         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28041         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28042
28043         * stdio-common/tstdiomisc.c (F): Properly collect individual
28044         tests' results.
28045
28046         [BZ #14686, #15336]
28047         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28048         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28049         Instead, use input NaN values or generate a qNaN by arithmetic
28050         operation.  Also fix bugs to comply with the standard.
28051         * math/libm-test.inc (remainder_test): Add more tests.
28052
28053         [BZ #15335, #15342]
28054         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28055         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28056         input NaN values or generate a qNaN by arithmetic operation.
28057
28058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28059         unreachable code.
28060
28061         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28062         definitions.
28063
28064 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28065
28066         [BZ #14478]
28067         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28068         underflowed result.
28069         * math/s_cexpf.c (__cexpf): Likewise.
28070         * math/s_cexpl.c (__cexpl): Likewise.
28071         * math/libm-test.inc (cexp_test): Add more tests.
28072
28073 2013-04-03  Andreas Schwab  <schwab@suse.de>
28074
28075         [BZ #15330]
28076         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28077         order arrays from heap if bigger than alloca cutoff.
28078
28079 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28080
28081         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28082         (SNAN_TESTS_double): Refer to GCC PR56831.
28083         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28084         GCC PR56828.
28085
28086 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28087
28088         * Rules (bench): Move bench.out after the run is complete.
28089
28090         * Rules (bench): Echo currently running benchmark.
28091
28092         * benchtests/Makefile (bench): Add atan and slowatan.
28093         * benchtests/atan-inputs: New file.
28094         * benchtests/slowatan-inputs: New file.
28095         * benchtests/slowatan.c: New file.
28096
28097         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28098         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28099         its value.
28100
28101         [BZ #15305]
28102         * sysdeps/unix/sysv/linux/kernel-features.h
28103         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28104         __ASSUME_XFS_RESTRICTED_CHOWN.
28105         * sysdeps/unix/sysv/linux/pathconf.c
28106         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28107         Save and restore errno.
28108
28109 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28110
28111         [BZ #15327]
28112         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28113         arguments using __kernel_casinh.
28114         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28115         arguments using __kernel_casinhf.
28116         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28117         arguments using __kernel_casinhl.
28118         * math/libm-test.inc (cacosh_test): Add more tests.
28119         * sysdeps/i386/fpu/libm-test-ulps: Update.
28120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121
28122 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28123
28124         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28126
28127         * bench/Makefile (bench): Add sin and slowsin.
28128         * benchtests/sin-inputs: New file.
28129         * benchtests/slowsin-inputs: New file.
28130         * benchtests/slowsin.c: New file.
28131
28132         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28133         (bench): Add slowexp and slowpow.
28134         (exp-ITER): Increase iterations.
28135         (pow-ITER): Likewise.
28136         * benchtests/exp-inputs: Change input.
28137         * benchtests/pow-inputs: Likewise.
28138         * benchtests/slowexp-inputs: New file.
28139         * benchtests/slowexp.c: New file.
28140         * benchtests/slowpow-inputs: New file.
28141         * benchtests/slowpow.c: New file.
28142
28143 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28144
28145         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28146         instructions.
28147         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28148         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28149         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28150         * benchtests/Makefile: Add rint benchtest.
28151         * benchtests/rint-inputs: Input for rint benchtest.
28152
28153 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28154
28155         * Versions.def (libm): Add GLIBC_2.18.
28156         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28157         hidden libm prototypes.
28158         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28159         * math/Makefile (libm-calls): Add s_issignaling.
28160         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28161         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28162         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28163         declaration.
28164         * math/math.h [__USE_GNU] (issignaling): New macro.
28165         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28166         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28167         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28168         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28169         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28170         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28171         * manual/arith.texi (issignaling): New section.
28172         * manual/libm-err-tab.pl (@all_functions): Update comment.
28173         * math/gen-libm-test.pl (parse_args): Apply special handling for
28174         issignaling.
28175         * math/libm-test.inc (print_float, issignaling_test): New
28176         functions.
28177         (check_float_internal): Add issignaling checks.
28178         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28179         default definition.
28180         * sysdeps/powerpc/math-tests.h: New file.
28181         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28182         tests.
28183         * math/test-snan.c (TEST_FUNC): Likewise.
28184
28185 2013-03-30  David S. Miller  <davem@davemloft.net>
28186
28187         * po/de.po: Update from translation team.
28188
28189 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28190
28191         [BZ #10357]
28192         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28193         imaginary part less than 1.0 and real part less than 0.5
28194         specially.
28195         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28196         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28197         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28198         (cacos_test): Add more tests.
28199         (casin_test): Likewise.
28200         (casinh_test): Likewise.
28201         * sysdeps/i386/fpu/libm-test-ulps: Update.
28202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28203
28204 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28205
28206         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28207         ONE with its value.
28208
28209         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28210         (__pow_mp): Replace ONE and MONE with their values.
28211         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28212         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28213         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28214         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28215         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28216         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28217
28218         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28219
28220         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28221         (__pow_mp): Replace ZERO and MZERO with their values.
28222         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28223         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28224         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28226         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28227         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28228         (__sqr): Likewise.
28229
28230         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28231
28232         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28233
28234 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28235
28236         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28237         Declare with __attribute__ ((weak)).
28238         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28239         Call __call_tls_dtors only if it's not NULL.
28240
28241 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28242
28243         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28244         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28245         magic __ehdr_start linker symbol if it's defined.
28246         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28247         them up here if it was already done.
28248
28249         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28250         (_dl_aux_init): Use const in cast when setting it.
28251         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28252         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28253         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28254
28255         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28256         Declare them here.
28257         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28258         * csu/libc-tls.c: Nor here.
28259         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28260
28261         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28262         (__libc_message): Never call vsyslog.
28263
28264 2013-03-28  Alan Modra  <amodra@gmail.com>
28265
28266         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28267         Define as empty.
28268         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28269         Likewise.
28270
28271 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28272
28273         [BZ #15214]
28274         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28275         underflow.
28276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28277
28278 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28279
28280         [BZ #15304]
28281         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28282         Don't add gid passed as argument.
28283
28284         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28285
28286 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28287
28288         [BZ #15307]
28289         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28290         imaginary part between 1.0 and 1.5 and real part less than 0.5
28291         specially.
28292         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28293         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28294         * math/libm-test.inc (cacos_test): Add more tests.
28295         (casin_test): Likewise.
28296         (casinh_test): Likewise.
28297         * sysdeps/i386/fpu/libm-test-ulps: Update.
28298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28299
28300 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28301
28302         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28303         constants.
28304         (norm): Likewise.
28305         (denorm): Likewise.
28306         (__dbl_mp): Likewise.
28307         (add_magnitudes): Likewise.
28308         (sub_magnitudes): Likewise.
28309         (__add): Likewise.
28310         (__sub): Likewise.
28311         (__mul): Likewise.
28312         (__sqr): Likewise.
28313         (__inv): Likewise.
28314         (__dvd): Likewise.
28315
28316         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28317         commented code.
28318         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28319         (__dubcos): Likewise.
28320         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28321         (__ieee754_acos): Likewise.
28322         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28323         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28324         (__exp1): Likewise.
28325         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28327         (log1): Likewise.
28328         (my_log2): Likewise.
28329         (checkint): Likewise.
28330         * sysdeps/ieee754/dbl-64/e_remainder.c
28331         (__ieee754_remainder): Likewise.
28332         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28333         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28334         (bsloww): Likewise.
28335         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28336
28337         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28338         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28339         MANTISSA_STORE_T to store computations on mantissa.  Use
28340         macros for rounding and division.
28341         (denorm): Likewise.
28342         (__dbl_mp): Likewise.
28343         (add_magnitudes): Likewise.
28344         (sub_magnitudes): Likewise.
28345         (__mul): Likewise.
28346         (__sqr): Likewise.
28347         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28348         powers of two in terms of TWOPOW macro.
28349         (mp_no): Make type of mantissa as MANTISSA_T.
28350         [!RADIXI]: Define RADIXI.
28351         [!TWO52]: Define TWO52.
28352         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28353
28354 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28355
28356         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28357         llroundl symbol when building for PPC32.
28358
28359 2013-03-24  Mark H Weaver  <mhw@netris.org>
28360
28361         * manual/arith.texi (Normalization Functions): Fix prototypes for
28362         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28363
28364 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28365
28366         [BZ #13889]
28367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28368         high value to check if expl overflow.
28369         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28370         to check for underflow and overflow.
28371         * math/libm-test.inc: Add exp test.
28372
28373 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28374
28375         [BZ #11120]
28376         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28377         with NOT_IN_libc.
28378
28379 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28380
28381         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28382         symbol.
28383
28384 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28385
28386         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28387         wrap blocks consisting of several statements.
28388
28389         * sysdeps/generic/math-tests.h: New file.
28390         * sysdeps/i386/fpu/math-tests.h: Likewise.
28391         * math/test-snan.c: Include it.
28392         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28393
28394 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28395
28396         [BZ #15285]
28397         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28398         (__ieee754_j0l): Do not improve calculations using cos of twice
28399         input for inputs above LDBL_MAX / 2.0L.
28400         (__ieee754_y0l): Likewise.
28401         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28402         (__ieee754_j1l): Do not improve calculations using cos of twice
28403         input for inputs above LDBL_MAX / 2.0L.
28404         (__ieee754_y1l): Likewise.
28405         * math/libm-test.inc (j0_test): Add another test.
28406         (j1_test): Likewise.
28407         (y0_test): Likewise.
28408         (y1_test): Likewise.
28409         * sysdeps/i386/fpu/libm-test-ulps: Update.
28410
28411 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28412
28413         * Rules ($(objpfx)bench-%.c): Include code from a C source
28414         file.
28415
28416 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28417
28418         [BZ #15287]
28419         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28420         imaginary part 1.0 and real part less than 0.5 specially.
28421         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28422         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28423         * math/libm-test.inc (cacos_test): Add more tests.
28424         (casin_test): Likewise.
28425         (casinh_test): Likewise.
28426         * sysdeps/i386/fpu/libm-test-ulps: Update.
28427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28428
28429 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28430
28431         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28432         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28433
28434 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28435
28436         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28437         * config.make.in (config-cflags-sse4): Remove variable.
28438         (config-cflags-avx): Likewise.
28439         (config-cflags-sse2avx): Likewise.
28440         (config-cflags-novzeroupper): Likewise.
28441         (config-asflags-i686): Likewise.
28442         (have-mfma4): Likewise.
28443         (have-as-vis3): Likewise.
28444         (MIG): Likewise.
28445         * configure.in (MIG): Do not AC_SUBST.
28446         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28447         (libc_cv_cc_sse4): Do not AC_SUBST.
28448         (libc_cv_cc_avx): Likewise.
28449         (libc_cv_cc_sse2avx): Likewise.
28450         (libc_cv_cc_novzeroupper): Likewise.
28451         (libc_cv_cc_fma4): Likewise.
28452         (libc_cv_as_i686): Likewise.
28453         (libc_cv_sparc_as_vis3): Likewise.
28454         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28455         LIBC_CONFIG_VAR.
28456         (config-asflags-i686): Likewise.
28457         (config-cflags-avx): Likewise.
28458         (config-cflags-sse2avx): Likewise.
28459         (have-mfma4): Likewise.
28460         (config-cflags-novzeroupper): Likewise.
28461         * sysdeps/mach/configure.in (MIG): Likewise.
28462         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28463         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28464         LIBC_CONFIG_VAR.
28465         (config-cflags-avx): Likewise.
28466         (config-cflags-sse2avx): Likewise.
28467         (have-mfma4): Likewise.
28468         (config-cflags-novzeroupper): Likewise.
28469         * configure: Regenerated.
28470         * sysdeps/i386/configure: Likewise.
28471         * sysdeps/mach/configure: Likewise.
28472         * sysdeps/sparc/configure: Likewise.
28473         * sysdeps/x86_64/configure: Likewise.
28474
28475 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28476
28477         [BZ #14812]
28478         * locale/programs/localedef.c (options): Put N_ translation marker
28479         on argument names, not just descriptions.
28480
28481 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28482
28483         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28484
28485 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28486
28487         [BZ #14176]
28488         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28489
28490 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28491
28492         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28493         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28494         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28495         [!BEFORE_ABORT] (before_abort): New function.
28496         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28497         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28498         (writev_for_fatal): New function.
28499         (WRITEV_FOR_FATAL): New macro; call that.
28500         (backtrace_and_maps): New function.
28501         (BEFORE_ABORT): New macro; call that.
28502         (struct str_list): Type removed.
28503         (__libc_message, __libc_fatal): Functions removed.
28504         Include <sysdeps/posix/libc_fatal.c> instead.
28505
28506 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28507
28508         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28509         constants.
28510         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28511         double constants.
28512
28513 2013-03-19  Andreas Schwab  <schwab@suse.de>
28514
28515         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28516         * sysdeps/gnu/configure: Regenerate.
28517
28518         * configure.in: Substitute libc_cv_rtlddir.
28519         * configure: Regenerate.
28520         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28521         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28522         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28523         * elf/Makefile (install-others, CFLAGS-interp.c)
28524         (ldso_install, common-ldd-rewrite): Likewise.
28525         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28526         $(inst_slibdir)/$(rtld-installed-name).
28527         * scripts/rellns-sh: Add -p option.
28528         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28529         for source.
28530
28531 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28532
28533         * manual/nptl.texi: Renamed to ...
28534         * manual/threads.texi: ... this.
28535         * manual/Makefile (chapters): Update.
28536
28537 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28538
28539         [BZ #14812]
28540         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28541         on argument names, not just descriptions.
28542         * malloc/memusagestat.c (options): Likewise.
28543         * nss/getent.c (options): Likewise.
28544
28545 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28546
28547         [BZ #14812]
28548         * iconv/iconv_prog.c (options): Put N_ translation marker
28549         on argument names, not just descriptions.
28550         * iconv/iconvconfig.c (options): Likewise.
28551
28552 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28553
28554         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28555         implementation which is faster on all x86_64 architectures.
28556         Tested on AMD, Intel Nehalem, SNB, IVB.
28557         * sysdeps/x86_64/strnlen.S: Likewise.
28558
28559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28560         Remove all multiarch strlen and strnlen versions.
28561         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28562         Remove strlen and strnlen related parts.
28563
28564         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28565         Inline strlen part.
28566         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28567
28568         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28569         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28570         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28571         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28572         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28573         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28574
28575 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28576
28577         * manual/memory.texi (Malloc Tunable Parameters):
28578         Sort parameters alphabetically. Add comments for missing entries.
28579
28580 2013-03-17  David S. Miller  <davem@davemloft.net>
28581
28582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28583
28584 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28585
28586         [BZ #15283]
28587         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28588         for arguments at most half maximum finite value.
28589         * math/libm-test.inc (j0_test): Add more tests.
28590         (j1_test): Likewise.
28591         (y0_test): Likewise.
28592         (y1_test): Likewise.
28593         * sysdeps/i386/fpu/libm-test-ulps: Update.
28594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28595
28596         [BZ #14155]
28597         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28598         1 / x and functions P and Q for arguments above 0x1p256L.
28599         (__ieee754_y0l): Likewise.
28600         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28601         (__ieee754_y1l): Likewise.
28602         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28603         (j1_test): Likewise.
28604         (y0_test): Likewise.
28605         (y1_test): Likewise.
28606
28607 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28608
28609         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28610         variable.
28611
28612 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28613
28614         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28615         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28616         zero since it's initialized to EXEC_PAGESIZE.
28617
28618         * sysdeps/unix/sysv/linux/ldsodefs.h
28619         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28620         * sysdeps/generic/ldsodefs.h: ... here.
28621
28622 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28623
28624         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28625
28626         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28627         math/test-snan.c.
28628         * math/test-snan.c: Renamed from
28629         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28630         * math/Makefile (tests): Add test-snan.
28631         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28632         test-powerpc-snan.
28633
28634         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28635         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28636         functions.
28637         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28638         __builtin_nan family of functions.
28639         * math/libm-test.inc (initialize): Initialize qnan_value with
28640         __builtin_nan family of functions.
28641         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28642         Remove variables.
28643         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28644         Remove functions.
28645         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28646         storage class.  Initialize qNaN_var and sNaN_var with
28647         __builtin_nan and __builtin_nans families of functions,
28648         respectively.
28649
28650         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28651         (sqrt_test): Remove duplicate test with qNaN input.
28652         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28653         (round_test, signbit_test, significand_test): Note missing +/-Inf
28654         as well as qNaN tests.
28655
28656         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28657         qNaN_var.  Fix a few strings, too.
28658         * math/libm-test.inc (nan_value): Rename to qnan_value.
28659         * math/gen-libm-test.pl (%beautify): Adjust to that.
28660         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28661         * math/test-misc.c (main): Likewise.
28662         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28663         to __qnan_bytes, and __qnan_union, respectively.
28664         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28665         Likewise.
28666         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28667         and lqnanval, respectively.
28668         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28669         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28670         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28671         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28672
28673         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28674         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28675         doubles.
28676
28677         * math/test-misc.c (main): Fix copy'n'pastos.
28678         * misc/tst-efgcvt.c (special): Likewise.
28679
28680         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28681         Remove declarations.
28682
28683 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28684
28685         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28686         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28687         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28688         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28689
28690 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28691
28692         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28693         macro to return vdso values correctly in IFUNC implementations.
28694         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28695         Optimization by using IFUNC.
28696
28697 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28698             Richard Henderson  <rth@redhat.com>
28699             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28700
28701         * Makefile.in (bench): New target.
28702         * NEWS: Mention the benchmark framework.
28703         * Rules (bench): Likewise.
28704         (binaries-bench): Generate binaries for functions to
28705         benchmark.
28706         * benchtests/Makefile: New makefile for benchmark tests.
28707         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28708         programs.
28709         * benchtests/exp-inputs: New input file for EXP function.
28710         * benchtests/pow-inputs: New input file for POW function.
28711         * scripts/bench.pl: New script to generate source files for
28712         benchmark programs.
28713
28714 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28715
28716         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28717         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28718         computations on mantissa.  Use macros for rounding and
28719         division.
28720         (denorm): Likewise.
28721         (__dbl_mp): Likewise.
28722         (add_magnitudes): Likewise.
28723         (sub_magnitudes): Likewise.
28724         (__mul): Likewise.
28725         (__sqr): Likewise.
28726         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28727         powers of two in terms of TWOPOW macro.
28728         (mp_no): Make type of mantissa as MANTISSA_T.
28729         [!RADIXI]: Define RADIXI.
28730         [!TWO52]: Define TWO52.
28731         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28732
28733         * manual/nptl.texi (cindex): Modify threads to pthreads.
28734
28735 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28736
28737         * sysdeps/x86_64/preconfigure: Regenerated.
28738
28739 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28740
28741         [BZ #14155]
28742         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28743         0x1p28 and above.
28744         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28745         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28746         0x1p28 and above.
28747         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28748         * math/libm-test.inc (j0_test): Do not allow one spurious
28749         underflow exception.
28750         (y1_test): Likewise.
28751
28752 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28753
28754         * manual/Makefile (chapters): Add nptl.
28755         * manual/debug.texi (Debugging Support): Add link to Threads
28756         chapter.
28757         * manual/nptl.texi: New file.
28758
28759         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28760
28761 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28762
28763         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28764         for non-NULL pointer before the memory validity test. Pointed
28765         out by Holger Brunck <holger.brunck@keymile.com>.
28766
28767 2013-03-13  Andreas Schwab  <schwab@suse.de>
28768
28769         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28770         instead of .os.
28771
28772 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28773
28774         * timezone/zic.c: Update from tzcode 2013b.
28775
28776 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28777
28778         * manual/install.texi (Configuring and compiling):
28779         Mention i686 and i586.
28780         * INSTALL: Regenerate.
28781
28782 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28783
28784         * sysdeps/init_array/elf-init.c: New file.
28785         * csu/elf-init.c
28786         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28787         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28788
28789         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28790         __gmon_start__ as global, but as static with a .preinit_array pointer.
28791         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28792         * sysdeps/init_array/crti.S: New file, empty except for comments.
28793         * sysdeps/init_array/crtn.S: Likewise.
28794
28795 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28796
28797         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28798         definining bcopy.
28799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28800         Remove Prefer_SSE_for_memop.
28801         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28802         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28803         HAS_PREFER_SSE_FOR_MEMOP.
28804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28805         memset-x86-64.
28806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28807         Remove bzero, memset ifunc support.
28808         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28809         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28810         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28811         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28812
28813 2013-03-11  Andreas Schwab  <schwab@suse.de>
28814
28815         [BZ #15234]
28816         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28817         by SHLIB_COMPAT.
28818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28819         (GLIBC_2.16): Remove pthread_atfork.
28820
28821 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28822
28823         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28824         (ptestcases.h): Likewise.
28825
28826 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28827
28828         * Makeconfig ($(common-objpfx)config.status): Depend on
28829         sysdeps/*/preconfigure{,.in} too.
28830
28831 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28832
28833         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28834         (__free_hook): Use void * instead of __malloc_ptr_t.
28835         (__malloc_hook): Likewise.
28836         (__realloc_hook): Likewise.
28837         (__memalign_hook): Likewise.
28838         (__after_morecore_hook): Likewise.
28839         * malloc/arena.c (save_malloc_hook): Likewise.
28840         (save_free_hook): Likewise.
28841         * malloc/hooks.c (malloc_hook_ini): Likewise.
28842         (realloc_hook_ini): Likewise.
28843         (memalign_hook_ini): Likewise.
28844         * malloc/malloc.c (malloc_hook_ini): Likewise.
28845         (realloc_hook_ini): Likewise.
28846         (memalign_hook_ini): Likewise.
28847         (__free_hook): Likewise.
28848         (__malloc_hook): Likewise.
28849         (__realloc_hook): Likewise.
28850         (__memalign_hook): Likewise.
28851         (__libc_malloc): Likewise.
28852         (__libc_free): Likewise.
28853         (__libc_realloc): Likewise.
28854         (__libc_memalign): Likewise.
28855         (__libc_valloc): Likewise.
28856         (__libc_pvalloc): Likewise.
28857         (__libc_calloc): Likewise.
28858         (__posix_memalign): Likewise.
28859         * malloc/morecore.c (__sbrk): Likewise.
28860         (__default_morecore): Likewise.
28861
28862         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28863
28864         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28865         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28866         __malloc_ptrdiff_t.
28867
28868         * malloc/malloc.h (__malloc_size_t): Remove macro.
28869         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28870         __malloc_size_t.
28871         (old_memalign_hook): Likewise.
28872         (old_realloc_hook): Likewise.
28873         (struct hdr): Likewise.
28874         (flood): Likewise.
28875         (mallochook): Likewise.
28876         (memalignhook): Likewise.
28877         (reallochook): Likewise.
28878         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28879         (tr_old_realloc_hook): Likewise.
28880         (tr_old_memalign_hook): Likewise.
28881         (tr_mallochook): Likewise.
28882         (tr_reallochook): Likewise.
28883         (tr_memalignhook): Likewise.
28884
28885 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28886
28887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28888         default_ldbl_pack and using as default implementation.
28889         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28890         implementation.
28891         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28892         redundant definition.
28893         (ldbl_insert_mantissa): Likewise.
28894         (ldbl_canonicalize): Likewise.
28895         (ldbl_nearbyint): Likewise.
28896         (ldbl_pack): Rename to ldbl_pack_ppc.
28897         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28898         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28899         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28900
28901 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28902
28903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28904         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28905         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28906         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28908         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28909         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28910         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28911
28912 2013-03-07  Andreas Jaeger  <aj@suse.de>
28913
28914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28915         bits/mman-linux.h.
28916
28917 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28918
28919         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28920         Include mpa.h and declare __MPEXP.
28921         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28922         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28923         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28924         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28925         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28926         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28927         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28928
28929         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28930         (__slowpow): Use long double EXPL and LOGL functions to
28931         compute POW.
28932         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28933         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28934         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28935         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28936         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28937         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28938
28939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28940         intermediate variable to calculate exponent.
28941         (__sqr): Likewise.
28942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28943         Likewise.
28944         (__sqr): Likewise.
28945
28946         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28947         [!NO__SQR]: Define __sqr.
28948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28949         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28950         sysdeps/ieee754/dbl-64/mpa.c.
28951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28952
28953         [BZ #12723]
28954         * posix/Makefile (tests): Add tst-pathconf.
28955         * posix/tst-pathconf.c: New test case.
28956         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28957         _PC_PIPE_BUF.
28958         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28959
28960 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28961
28962         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28963
28964 2013-03-06  Andreas Jaeger  <aj@suse.de>
28965
28966         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28967         definition via __MAP_ANONYMOUS.
28968
28969         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28970         it's not part of Linux headers.
28971
28972         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28973         (MAP_HUGE_MASK): Define.
28974
28975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28976         Define.
28977         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28978         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28979         Define.
28980         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28981         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28982         Define.
28983         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28984         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28985         Define.
28986         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28987
28988         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28989         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28990         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28991         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28992         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28993         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28994
28995         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28996         Handle f2fs.
28997
28998         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28999         Handle f2fs and efivarfs.
29000
29001         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29002         f2fs.
29003
29004         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29005         (EFIVARFS_MAGIC): Add.
29006         (F2FS_LINK_MAX): Add.
29007
29008 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29009
29010         * stdio-common/vfprintf.c: Replace __builtin_expect with
29011         __glibc_unlikely.
29012
29013 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29014
29015         [BZ #13550]
29016         * sysdeps/generic/bp-sym.h: Remove file.
29017         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29018         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29019         <bp-sym.h> and <bp-asm.h>.
29020         (__longjmp): Don't use BP_SYM.
29021         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29022         and <bp-asm.h>.
29023         (memcpy): Don't use BP_SYM.
29024         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29025         <bp-sym.h> and <bp-asm.h>.
29026         (memcpy): Don't use BP_SYM.
29027         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29028         <bp-asm.h>.
29029         (memcpy): Don't use BP_SYM.
29030         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29031         <bp-asm.h>.
29032         (memset): Don't use BP_SYM.
29033         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29034         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29035         (__bzero): Don't use BP_SYM.
29036         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29037         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29038         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29039         <bp-sym.h> and <bp-asm.h>.
29040         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29041         pointers.
29042         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29043         <bp-sym.h> and <bp-asm.h>.
29044         (memcpy): Don't use BP_SYM.
29045         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29046         <bp-sym.h> and <bp-asm.h>.
29047         (memset): Don't use BP_SYM.
29048         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29049         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29050         (__bzero): Don't use BP_SYM.
29051         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29052         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29053         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29054         <bp-sym.h> and <bp-asm.h>.
29055         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29056         pointers.
29057         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29058         <bp-sym.h> and <bp-asm.h>.
29059         (memcpy): Don't use BP_SYM.
29060         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29061         <bp-sym.h> and <bp-asm.h>.
29062         (memset): Don't use BP_SYM.
29063         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29064         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29065         (__bzero): Don't use BP_SYM.
29066         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29067         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29068         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29069         <bp-sym.h> and <bp-asm.h>.
29070         (__memchr): Don't use BP_SYM.
29071         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29072         <bp-sym.h> and <bp-asm.h>.
29073         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29074         pointers.
29075         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29076         <bp-sym.h> and <bp-asm.h>.
29077         (memcpy): Don't use BP_SYM.
29078         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29079         <bp-sym.h> and <bp-asm.h>.
29080         (__mempcpy): Don't use BP_SYM.
29081         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29082         <bp-sym.h> and <bp-asm.h>.
29083         (__memrchr): Don't use BP_SYM.
29084         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29085         <bp-sym.h> and <bp-asm.h>.
29086         (memset): Don't use BP_SYM.
29087         (__bzero): Likewise.
29088         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29089         <bp-sym.h> and <bp-asm.h>.
29090         (__rawmemchr): Don't use BP_SYM.
29091         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29092         <bp-sym.h> and <bp-asm.h>.
29093         (__STRCMP): Don't use BP_SYM.
29094         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29095         <bp-sym.h> and <bp-asm.h>.
29096         (strchr): Don't use BP_SYM.
29097         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29098         <bp-sym.h> and <bp-asm.h>.
29099         (__strchrnul): Don't use BP_SYM.
29100         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29101         <bp-sym.h> and <bp-asm.h>.
29102         (strlen): Don't use BP_SYM.
29103         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29104         <bp-sym.h> and <bp-asm.h>.
29105         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29106         pointers.
29107         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29108         <bp-sym.h> and <bp-asm.h>.
29109         (__strnlen): Don't use BP_SYM.
29110         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29111         <bp-sym.h> and <bp-asm.h>.
29112         (__GI__setjmp): Don't use BP_SYM.
29113         (_setjmp): Likewise.
29114         (__sigsetjmp): Likewise.
29115         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29116         (L(start_addresses)): Don't use BP_SYM.
29117         (_start): Likewise.
29118         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29119         <bp-asm.h>.
29120         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29121         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29122         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29123         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29124         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29125         <bp-asm.h>.
29126         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29127         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29128         about bounded pointers.
29129         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29130         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29131         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29132         <bp-asm.h>.
29133         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29134         about bounded pointers.  Remove GKM FIXME comments.
29135         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29136         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29137         <bp-asm.h>.
29138         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29139         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29140         Remove GKM FIXME comments.
29141         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29142         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29143         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29144         <bp-asm.h>.
29145         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29146         about bounded pointers.  Remove GKM FIXME comment.
29147         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29148         and <bp-asm.h>.
29149         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29150         pointers.
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29152         <bp-sym.h> and <bp-asm.h>.
29153         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29155         <bp-sym.h> and <bp-asm.h>.
29156         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29157         comment.
29158
29159 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29160
29161         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29162         call free(NULL).
29163
29164 2013-03-05  David S. Miller  <davem@davemloft.net>
29165
29166         * po/es.po: Update from translation team.
29167
29168 2013-03-05  Andreas Jaeger  <aj@suse.de>
29169
29170         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29171         <bits/mman-linux.h>.
29172         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29173         is fine.
29174         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29175         <bits/mman-linux.h> to end of file.
29176         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29177         is fine.
29178         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29179         <bits/mman-linux.h> to end of file.
29180         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29181         is fine.
29182         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29183         <bits/mman-linux.h> to end of file.
29184
29185         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29186         (MCL_CURRENT, MCL_FUTURE): Define here.
29187
29188 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29189
29190         [BZ #15232]
29191         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29192         attribute_hidden.
29193         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29194
29195 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29196
29197         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29198         fourth parameter needed for rt_sigprocmask syscall.
29199         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29200         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29201         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29202         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29203         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29204         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29205
29206 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29207
29208         [BZ #13550]
29209         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29210         comment about bounded pointers.
29211         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29212         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29213
29214 2013-03-04  Andreas Jaeger  <aj@suse.de>
29215
29216         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29217         common definitions.
29218
29219         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29220         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29221         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29222         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29223         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29224         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29225
29226 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29227
29228         [BZ #15055]
29229         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29230         __ieee754_sqrl instead of __sqrl.
29231
29232 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29233
29234         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29235         * sysdeps/powerpc/fpu_control.h: ... here.
29236         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29237         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29238         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29239         * sysdeps/powerpc/bits/mathinline.h: ... here.
29240
29241 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29242
29243         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29244         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29245         to just [NEED_DL_SYSINFO_DSO].
29246         * elf/dl-support.c: Likewise.
29247         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29248         * elf/rtld.c (dl_main): Likewise.
29249         * elf/setup-vdso.h (setup_vdso): Likewise.
29250         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29251         * sysdeps/unix/sysv/linux/dl-sysdep.c
29252         (_dl_discover_osversion): Likewise.
29253
29254 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29255
29256         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29257         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29258
29259 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29260
29261         * NEWS: Mention libm performance improvements and non-x86 PI
29262         futex support.
29263
29264         * csu/libc-start.c (__pthread_initialize_minimal): Change
29265         function arguments.
29266         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29267
29268 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29269
29270         [BZ #13550]
29271         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29272         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29273         <bp-sym.h> and <bp-asm.h>.
29274         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29275         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29276         and <bp-asm.h>.
29277         (memcpy): Don't use BP_SYM.
29278         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29279         <bp-asm.h>.
29280         (__mpn_add_n): Don't use BP_SYM.
29281         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29282         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29283         and <bp-asm.h>.
29284         (__mpn_addmul_1): Don't use BP_SYM.
29285         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29286         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29287         <bp-sym.h>.
29288         (_setjmp): Don't use BP_SYM.
29289         (__novmx_setjmp): Likewise.
29290         (__GI__setjmp): Likewise.
29291         (__vmx_setjmp): Likewise.
29292         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29293         <bp-sym.h>.
29294         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29295         (__bzero): Don't use BP_SYM.
29296         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29297         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29298         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29299         <bp-sym.h> and <bp-asm.h>.
29300         (memcpy): Don't use BP_SYM.
29301         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29302         <bp-sym.h> and <bp-asm.h>.
29303         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29304         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29305         <bp-sym.h> and <bp-asm.h>.
29306         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29307         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29308         <bp-asm.h>.
29309         (__mpn_lshift): Don't use BP_SYM.
29310         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29311         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29312         <bp-asm.h>.
29313         (memset): Don't use BP_SYM.
29314         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29315         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29316         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29317         <bp-asm.h>.
29318         (__mpn_mul_1): Don't use BP_SYM.
29319         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29320         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29321         <bp-sym.h> and <bp-asm.h>.
29322         (memcmp): Don't use BP_SYM.
29323         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29324         <bp-sym.h> and <bp-asm.h>.
29325         (memcpy): Don't use BP_SYM.
29326         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29327         <bp-sym.h> and <bp-asm.h>.
29328         (memset): Don't use BP_SYM.
29329         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29330         <bp-sym.h> and <bp-asm.h>.
29331         (strncmp): Don't use BP_SYM.
29332         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29333         <bp-sym.h> and <bp-asm.h>.
29334         (memcpy): Don't use BP_SYM.
29335         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29336         <bp-sym.h> and <bp-asm.h>.
29337         (memset): Don't use BP_SYM.
29338         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29339         <bp-sym.h> and <bp-asm.h>.
29340         (__memchr): Don't use BP_SYM.
29341         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29342         <bp-sym.h> and <bp-asm.h>.
29343         (memcmp): Don't use BP_SYM.
29344         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29345         <bp-sym.h> and <bp-asm.h>.
29346         (memcpy): Don't use BP_SYM.
29347         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29348         <bp-sym.h> and <bp-asm.h>.
29349         (__mempcpy): Don't use BP_SYM.
29350         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29351         <bp-sym.h> and <bp-asm.h>.
29352         (__memrchr): Don't use BP_SYM.
29353         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29354         <bp-sym.h> and <bp-asm.h>.
29355         (memset): Don't use BP_SYM.
29356         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29357         <bp-sym.h> and <bp-asm.h>.
29358         (__rawmemchr): Don't use BP_SYM.
29359         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29360         <bp-sym.h> and <bp-asm.h>.
29361         (__STRCMP): Don't use BP_SYM.
29362         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29363         <bp-sym.h> and <bp-asm.h>.
29364         (strchr): Don't use BP_SYM.
29365         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29366         <bp-sym.h> and <bp-asm.h>.
29367         (__strchrnul): Don't use BP_SYM.
29368         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29369         <bp-sym.h> and <bp-asm.h>.
29370         (strlen): Don't use BP_SYM.
29371         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29372         <bp-sym.h> and <bp-asm.h>.
29373         (strncmp): Don't use BP_SYM.
29374         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29375         <bp-sym.h> and <bp-asm.h>.
29376         (__strnlen): Don't use BP_SYM.
29377         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29378         <bp-asm.h>.
29379         (__mpn_rshift): Don't use BP_SYM.
29380         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29381         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29382         <bp-sym.h> and <bp-asm.h>.
29383         (__sigsetjmp): Don't use BP_SYM.
29384         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29385         (L(start_addresses)): Don't use BP_SYM.
29386         (_start): Likewise.
29387         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29388         <bp-asm.h>.
29389         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29390         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29391         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29392         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29393         <bp-asm.h>.
29394         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29395         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29396         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29397         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29398         <bp-asm.h>.
29399         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29400         comments.
29401         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29402         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29403         <bp-asm.h>.
29404         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29405         FIXME comments.
29406         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29407         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29408         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29409         <bp-asm.h>.
29410         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29411         comment.
29412         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29413         and <bp-asm.h>.
29414         (strncmp): Don't use BP_SYM,
29415         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29416         <bp-asm.h>.
29417         (__mpn_sub_n): Don't use BP_SYM.
29418         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29419         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29420         and <bp-asm.h>.
29421         (__mpn_submul_1): Don't use BP_SYM.
29422         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29424         <bp-sym.h> and <bp-asm.h>.
29425         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29427         <bp-sym.h> and <bp-asm.h>.
29428         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29429         comment.
29430
29431 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29432
29433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29434         Use ZK to minimize writes to Z.
29435         (sub_magnitudes): Simplify code a bit.
29436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29437         Use ZK to minimize writes to Z.
29438         (sub_magnitudes): Simplify code a bit.
29439
29440 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29441
29442         * csu/gmon-start.c: Add special exception to license text.
29443
29444 2013-02-27  Richard Henderson  <rth@redhat.com>
29445
29446         * scripts/config.guess: Update from config.git.
29447         * scripts/config.sub: Likewise.
29448
29449 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29450
29451         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29452
29453         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29454
29455         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29456
29457         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29458
29459         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29460
29461 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29462
29463         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29464         [$(build-shared = yes].
29465
29466 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29467
29468         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29469         (__mul): Reduce iterations for calculating mantissa.
29470
29471         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29472         MPTWO.
29473         (__mpranred): Likewise.
29474
29475         [BZ #15160]
29476         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29477         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29478
29479 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29480
29481         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29482         Define __attribute__.
29483
29484 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29485
29486         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29487         unused.
29488         * posix/regex_internal.h (__attribute): Remove.
29489         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29490         (re_string_context_at): Likewise.
29491         (bitset_not): Use __attribute__ and mark function as possibly
29492         unused.
29493         (bitset_merge): Likewise.
29494         (bitset_mask): Likewise.
29495         (re_string_char_size_at): Likewise.
29496         (re_string_wchar_at): Likewise.
29497         (re_string_elem_size_at): Likewise.
29498
29499 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29500
29501         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29502         code.
29503         (cc32): Likewise.
29504
29505         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29506         (__acr): Likewise.
29507         (__cpy): Likewise.
29508         (norm): Likewise.
29509         (denorm): Likewise.
29510         (__dbl_mp): Likewise.
29511         (add_magnitudes): Likewise.
29512         (sub_magnitudes): Likewise.
29513         (__mul): Likewise.
29514         (__inv): Likewise.
29515
29516         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29517         style.
29518
29519         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29520         style.
29521
29522         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29523         code.
29524
29525         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29526         up changes with default code.
29527         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29528         Likewise.
29529
29530 2013-02-24  Allan McRae  <allan@archlinux.org>
29531
29532         * manual/socket.texi (The Internet Namespace): Order menu items
29533         to match that in the file.
29534
29535         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29536         node listing of the info page menu.
29537
29538 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29539
29540         [BZ #13550]
29541         * sysdeps/i386/bp-asm.h: Remove file.
29542         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29543         (PARMS): Do not use macros from bp-asm.h.
29544         (S1): Likewise.
29545         (S2): Likewise.
29546         (SIZE): Likewise.
29547         (__mpn_add_n): Do not use BP_SYM
29548         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29549         "bp-asm.h".
29550         (PARMS): Do not use macros from bp-asm.h.
29551         (S1): Likewise.
29552         (SIZE): Likewise.
29553         (__mpn_addmul_1): Do not use BP_SYM
29554         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29555         "bp-asm.h".
29556         (PARMS): Do not use macros from bp-asm.h.
29557         (SIGMSK): Likewise.
29558         (_setjmp): Likewise.  Do not use BP_SYM.
29559         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29560         "bp-asm.h".
29561         (PARMS): Do not use macros from bp-asm.h.
29562         (SIGMSK): Likewise.
29563         (setjmp): Likewise.  Do not use BP_SYM.
29564         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29565         "bp-asm.h".
29566         (PARMS): Do not use macros from bp-asm.h.
29567         (__frexp): Do not use BP_SYM.
29568         (frexp): Likewise.
29569         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29570         "bp-asm.h".
29571         (PARMS): Do not use macros from bp-asm.h.
29572         (__frexpf): Do not use BP_SYM.
29573         (frexpf): Likewise.
29574         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29575         "bp-asm.h".
29576         (PARMS): Do not use macros from bp-asm.h.
29577         (__frexpl): Do not use BP_SYM.
29578         (frexpl): Likewise.
29579         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29580         "bp-asm.h".
29581         (PARMS): Do not use macros from bp-asm.h.
29582         (__remquo): Do not use BP_SYM.
29583         (remquo): Likewise.
29584         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29585         "bp-asm.h".
29586         (PARMS): Do not use macros from bp-asm.h.
29587         (__remquof): Do not use BP_SYM.
29588         (remquof): Likewise.
29589         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29590         "bp-asm.h".
29591         (PARMS): Do not use macros from bp-asm.h.
29592         (__remquol): Do not use BP_SYM.
29593         (remquol): Likewise.
29594         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29595         "bp-asm.h".
29596         (PARMS): Do not use macros from bp-asm.h.
29597         (DEST): Likewise.
29598         (SRC): Likewise.
29599         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29600         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29601         "bp-asm.h".
29602         (PARMS): Do not use macros from bp-asm.h.
29603         (strlen): Do not use BP_SYM.
29604         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29605         "bp-asm.h".
29606         (PARMS): Do not use macros from bp-asm.h.
29607         (S1): Likewise.
29608         (S2): Likewise.
29609         (SIZE): Likewise.
29610         (__mpn_add_n): Do not use BP_SYM.
29611         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29612         "bp-asm.h".
29613         (PARMS): Do not use macros from bp-asm.h.
29614         (S1): Likewise.
29615         (SIZE): Likewise.
29616         (__mpn_addmul_1): Do not use BP_SYM.
29617         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29618         weak_alias.
29619         (bzero): Likewise.
29620         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29621         "bp-asm.h".
29622         (PARMS): Do not use macros from bp-asm.h.
29623         (S): Likewise.
29624         (SIZE): Likewise.
29625         (__mpn_lshift): Do not use BP_SYM.
29626         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29627         "bp-asm.h".
29628         (PARMS): Do not use macros from bp-asm.h.
29629         (DEST): Likewise.
29630         (SRC): Likewise.
29631         (LEN): Likewise.
29632         (memcpy): Likewise.  Do not use BP_SYM.
29633         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29634         libc_hidden_def and weak_alias.
29635         (mempcpy): Do not use BP_SYM in weak_alias.
29636         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
29641         [!BZERO_P] (CHR): Likewise.
29642         (memset): Likewise.  Do not use BP_SYM.
29643         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29644         "bp-asm.h".
29645         (PARMS): Do not use macros from bp-asm.h.
29646         (S1): Likewise.
29647         (SIZE): Likewise.
29648         (__mpn_mul_1): Do not use BP_SYM.
29649         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29650         "bp-asm.h".
29651         (PARMS): Do not use macros from bp-asm.h.
29652         (S): Likewise.
29653         (SIZE): Likewise.
29654         (__mpn_rshift): Do not use BP_SYM.
29655         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29656         "bp-asm.h".
29657         (PARMS): Do not use macros from bp-asm.h.
29658         (STR): Likewise.
29659         (CHR): Likewise.
29660         (strchr): Likewise.  Do not use BP_SYM.
29661         (index): Do not use BP_SYM in weak_alias.
29662         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29663         "bp-asm.h".
29664         (PARMS): Do not use macros from bp-asm.h.
29665         (DEST): Likewise.
29666         (SRC): Likewise.
29667         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29668         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29669         "bp-asm.h".
29670         (PARMS): Do not use macros from bp-asm.h.
29671         (strlen): Do not use BP_SYM.
29672         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29673         "bp-asm.h".
29674         (PARMS): Do not use macros from bp-asm.h.
29675         (S1): Likewise.
29676         (S2): Likewise.
29677         (SIZE): Likewise.
29678         (__mpn_sub_n): Do not use BP_SYM.
29679         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29680         "bp-asm.h".
29681         (PARMS): Do not use macros from bp-asm.h.
29682         (S1): Likewise.
29683         (SIZE): Likewise.
29684         (__mpn_submul_1): Do not use BP_SYM.
29685         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29686         "bp-asm.h".
29687         (PARMS): Do not use macros from bp-asm.h.
29688         (S1): Likewise.
29689         (S2): Likewise.
29690         (SIZE): Likewise.
29691         (__mpn_add_n): Do not use BP_SYM.
29692         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29693         weak_alias.
29694         (bzero): Likewise.
29695         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29696         "bp-asm.h".
29697         (PARMS): Do not use macros from bp-asm.h.
29698         (BLK2): Likewise.
29699         (LEN): Likewise.
29700         (memcmp): Do not use BP_SYM.
29701         (bcmp): Do not use BP_SYM in weak_alias.
29702         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29703         "bp-asm.h".
29704         (PARMS): Do not use macros from bp-asm.h.
29705         (DEST): Likewise.
29706         (SRC): Likewise.
29707         (LEN): Likewise.
29708         (memcpy): Likewise.  Do not use BP_SYM.
29709         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29710         "bp-asm.h".
29711         (PARMS): Do not use macros from bp-asm.h.
29712         (DEST): Likewise.
29713         (SRC): Likewise.
29714         (LEN): Likewise.
29715         (memmove): Likewise.  Do not use BP_SYM.
29716         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29717         "bp-asm.h".
29718         (PARMS): Do not use macros from bp-asm.h.
29719         (DEST): Likewise.
29720         (SRC): Likewise.
29721         (LEN): Likewise.
29722         (__mempcpy): Likewise.  Do not use BP_SYM.
29723         (mempcpy): Do not use BP_SYM in weak_alias.
29724         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29725         "bp-asm.h".
29726         (PARMS): Do not use macros from bp-asm.h.
29727         (DEST): Likewise.
29728         (LEN): Likewise.
29729         [!BZERO_P] (CHR): Likewise.
29730         (memset): Likewise.  Do not use BP_SYM.
29731         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29732         "bp-asm.h".
29733         (PARMS): Do not use macros from bp-asm.h.
29734         (STR2): Likewise.
29735         (strcmp): Do not use BP_SYM.
29736         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29737         "bp-asm.h".
29738         (PARMS): Do not use macros from bp-asm.h.
29739         (STR): Likewise.
29740         (DELIM): Likewise.
29741         [USE_AS_STRTOK_R] (SAVE): Likewise.
29742         (FUNCTION): Likewise.  Do not use BP_SYM.
29743         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29744         aliases.
29745         (strtok_r): Likewise.
29746         (__GI___strtok_r): Likewise.
29747         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29748         (PARMS): Do not use macros from bp-asm.h.
29749         (S): Likewise.
29750         (SIZE): Likewise.
29751         (__mpn_lshift): Do not use BP_SYM.
29752         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29753         (PARMS): Do not use macros from bp-asm.h.
29754         (STR): Likewise.
29755         (CHR): Likewise.
29756         (__memchr): Do not use BP_SYM.
29757         (memchr): Do not use BP_SYM in weak_alias.
29758         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29759         (PARMS): Do not use macros from bp-asm.h.
29760         (BLK2): Likewise.
29761         (LEN): Likewise.
29762         (memcmp): Do not use BP_SYM.
29763         (bcmp): Do not use BP_SYM in weak_alias.
29764         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29765         (PARMS): Do not use macros from bp-asm.h.
29766         (S1): Likewise.
29767         (SIZE): Likewise.
29768         (__mpn_mul_1): Do not use BP_SYM.
29769         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29770         "bp-asm.h".
29771         (PARMS): Do not use macros from bp-asm.h.
29772         (STR): Likewise.
29773         (CHR): Likewise.
29774         (__rawmemchr): Do not use BP_SYM.
29775         (rawmemchr): Do not use BP_SYM in weak_alias.
29776         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29777         (PARMS): Do not use macros from bp-asm.h.
29778         (S): Likewise.
29779         (SIZE): Likewise.
29780         (__mpn_rshift): Do not use BP_SYM.
29781         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29782         (PARMS): Do not use macros from bp-asm.h.
29783         (SIGMSK): Likewise.
29784         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29785         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29786         (_start): Do not use BP_SYM.
29787         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29788         (PARMS): Do not use macros from bp-asm.h.
29789         (DEST): Likewise.
29790         (SRC): Likewise.
29791         (__stpcpy): Likewise.  Do not use BP_SYM.
29792         (stpcpy): Do not use BP_SYM in weak_alias.
29793         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29794         "bp-asm.h".
29795         (PARMS): Do not use macros from bp-asm.h.
29796         (DEST): Likewise.
29797         (SRC): Likewise.
29798         (LEN): Likewise.
29799         (__stpncpy): Likewise.  Do not use BP_SYM.
29800         (stpncpy): Do not use BP_SYM in weak_alias.
29801         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29802         (PARMS): Do not use macros from bp-asm.h.
29803         (STR): Likewise.
29804         (CHR): Likewise.
29805         (strchr): Likewise.  Do not use BP_SYM.
29806         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29807         "bp-asm.h".
29808         (PARMS): Do not use macros from bp-asm.h.
29809         (STR): Likewise.
29810         (CHR): Likewise.
29811         (__strchrnul): Likewise.  Do not use BP_SYM.
29812         (strchrnul): Do not use BP_SYM in weak_alias.
29813         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29814         "bp-asm.h".
29815         (PARMS): Do not use macros from bp-asm.h.
29816         (STOP): Likewise.
29817         (strcspn): Do not use BP_SYM.
29818         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29819         "bp-asm.h".
29820         (PARMS): Do not use macros from bp-asm.h.
29821         (STR): Likewise.
29822         (STOP): Likewise.
29823         (strpbrk): Likewise.  Do not use BP_SYM.
29824         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29825         "bp-asm.h".
29826         (PARMS): Do not use macros from bp-asm.h.
29827         (STR): Likewise.
29828         (CHR): Likewise.
29829         (strrchr): Likewise.  Do not use BP_SYM.
29830         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29831         (PARMS): Do not use macros from bp-asm.h.
29832         (SKIP): Likewise.
29833         (strspn): Do not use BP_SYM.
29834         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29835         (PARMS): Do not use macros from bp-asm.h.
29836         (STR): Likewise.
29837         (DELIM): Likewise.
29838         (SAVE): Likewise.
29839         (FUNCTION): Likewise.  Do not use BP_SYM.
29840         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29841         aliases.
29842         (strtok_r): Likewise.
29843         (__GI___strtok_r): Likewise.
29844         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29845         (PARMS): Do not use macros from bp-asm.h.
29846         (S1): Likewise.
29847         (S2): Likewise.
29848         (SIZE): Likewise.
29849         (__mpn_sub_n): Do not use BP_SYM.
29850         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29851         "bp-asm.h".
29852         (PARMS): Do not use macros from bp-asm.h.
29853         (S1): Likewise.
29854         (SIZE): Likewise.
29855         (__mpn_submul_1): Do not use BP_SYM.
29856         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29857         <bp-sym.h>.
29858         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29859         and <bp-asm.h>.
29860         (PARMS): Do not use macros from bp-asm.h.
29861         (FLAGS): Likewise.
29862         (PTID): Likewise.
29863         (TLS): Likewise.
29864         (CTID): Likewise.
29865         (__clone): Do not use BP_SYM.
29866         (clone): Do not use BP_SYM in weak_alias.
29867         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29868         and <bp-asm.h>.
29869         (PARMS): Do not use macros from bp-asm.h.
29870         (LEN): Likewise.
29871         (__mmap64): Do not use BP_SYM.
29872         (mmap64): Do not use BP_SYM in weak_alias.
29873         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29874         <bp-sym.h> and <bp-asm.h>.
29875         (PARMS): Do not use macros from bp-asm.h.
29876         (__posix_fadvise64_l64): Do not use BP_SYM.
29877         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29878         (PARMS): Do not use macros from bp-asm.h.
29879         (NSOPS): Likewise.
29880         (semtimedop): Do not use BP_SYM.
29881         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29882         and <bp-asm.h>.
29883
29884 2013-02-21  Allan McRae  <allan@archlinux.org>
29885
29886         * manual/message.texi (Charset conversion in gettext):
29887         Move @end statement to beginning of line.
29888
29889 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29890
29891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29892         static.
29893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29894         Likewise.
29895
29896         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29897         (denorm): Likewise.
29898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29900
29901 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29902
29903         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29904         tail-call to the resolved function if pltexit isn't needed.
29905
29906 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29907
29908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29909         or Y being zero as being unlikely.
29910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29911         Likewise.
29912
29913 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29914
29915         * manual/nss.texi (System Databases and Name Service Switch):
29916         Remove frobnicate @pxref.
29917
29918 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29919
29920         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29921         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29922
29923 2013-02-20  Petr Machata  <pmachata@redhat.com>
29924
29925         * elf/elf.h (R_ARM_TARGET1): New macro.
29926         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29927         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29928         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29929         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29930         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29931         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29932         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29933         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29934         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29935         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29936         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29937         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29938         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29939         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29940         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29941         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29942         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29943         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29944         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29945         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29946         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29947         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29948         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29949         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29950         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29951         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29952         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29953         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29954         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29955         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29956         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29957         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29958         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29959         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29960         (R_ARM_THM_GOT_BREL12): Likewise.
29961         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29962         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29963         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29964         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29965         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29966         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29967         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29968         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29969         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29970
29971 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29972
29973         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29974         __attribute_used__ to __attribute__ ((unused)).
29975
29976 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29977
29978         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29979         powerpc mpa.c.
29980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29981         comment formatting.
29982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29983
29984 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29985
29986         [BZ #13550]
29987         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29988         Remove macro.
29989         (ENTER): Remove both macro definitions.
29990         (LEAVE): Likewise.
29991         (CHECK_BOUNDS_LOW): Likewise.
29992         (CHECK_BOUNDS_HIGH): Likewise.
29993         (CHECK_BOUNDS_BOTH): Likewise.
29994         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29995         (RETURN_BOUNDED_POINTER): Likewise.
29996         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29997         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29998         (POP_ERRNO_LOCATION_RETURN): Likewise.
29999         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30000         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30001         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30002         macros.
30003         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30004         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30005         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30006         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30007         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30008         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30009         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30010         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30011         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30012         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30013         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30014         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30015         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30016         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30017         removed macros.
30018         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30019         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30020         macros.
30021         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30022         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30023         * sysdeps/i386/i586/memset.S (memset): Likewise.
30024         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30025         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30026         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30027         macros.
30028         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30029         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30030         Change uses of L(2) to L(out).
30031         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30032         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30033         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30034         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30035         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30036         removed macros.
30037         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30038         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30039         macros.
30040         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30041         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30042         (RETURN): Do not use macro LEAVE.
30043         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30044         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30045         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30046         * sysdeps/i386/i686/memset.S (memset): Likewise.
30047         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30048         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30049         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30050         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30051         Likewise.
30052         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30053         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30054         L(1_2) and L(1_3) into L(1).
30055         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30056         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30057         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30058         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30059         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30060         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30061         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30062         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30063         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30064         macros.
30065         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30066         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30067         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30068         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30069         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30070         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30071         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30072         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30073         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30074         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30075         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30076         * sysdeps/i386/strspn.S (strspn): Likewise.
30077         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30078         conditional code.
30079         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30080         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30081         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30082         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30083         L(1_3) into L(1_1).
30084         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30085         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30086         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30087         macros.
30088         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30089
30090 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30091
30092         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30093         macro.
30094
30095 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30096
30097         * math/atest-exp.c (exp_mpn): Remove ROUND.
30098         * math/atest-exp2.c (exp_mpn): Likewise.
30099         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30100
30101         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30102         * stdlib/tst-tls-atexit-lib.c: Likewise.
30103         * stdlib/tst-tls-atexit.c: Likewise.
30104
30105 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30106
30107         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30108         and __attribute_alloc_size__.
30109
30110 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30111
30112         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30113         __attribute_alloc_size__.
30114         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30115         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30116
30117 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30118
30119         * include/programs/xmalloc.h: New file.
30120         * catgets/gencat.c: Include it.
30121         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30122         * elf/pldd.c: Likewise.
30123         * iconv/iconv_charmap.c: Likewise.
30124         * iconv/iconvconfig.c: Likewise.
30125         * iconv/strtab.c: Likewise.
30126         * locale/programs/locale.c: Likewise.
30127         * locale/programs/localedef.h: Likewise.
30128         * locale/programs/simple-hash.c: Likewise.
30129         * nscd/nscd.h: Likewise.
30130         * nss/makedb.c: Likewise.
30131         * sysdeps/generic/ldconfig.h: Likewise.
30132
30133 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30134
30135         * Versions.def: Add GLIBC_2.18.
30136         * include/link.h (struct link_map): New member l_tls_dtor_count.
30137         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30138         (__call_tls_dtors): Likewise.
30139         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30140         __cxa_thread_atexit_impl.
30141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30142         Likewise.
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30144         Likewise.
30145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30146         Likewise.
30147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30148         Likewise.
30149         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30151         Likewise.
30152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30153         Likewise.
30154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30156         Likewise.
30157         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30158         (tests): Add test case tst-tls-atexit.
30159         (modules-names): Add shared library for tst-tls-atexit.
30160         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30161         (GLIBC_PRIVATE): Add __call_tls_dtors.
30162         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30163         for libstdc++.
30164         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30165         * stdlib/tst-tls-atexit.c: New test case.
30166         * stdlib/tst-tls-atexit-lib.c: New test case.
30167
30168         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30169
30170         * elf/Versions (ld): Add _dl_find_dso_for_object.
30171         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30172         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30173         (dl_open_worker): Use _dl_find_dso_for_object.
30174         * elf/dl-sym.c (do_sym): Likewise.
30175         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30176
30177 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30178
30179         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30180         Syntactic changes only.
30181         (_dl_runtime_profile): Do a tail-call to the resolved function.
30182
30183 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30184
30185         [BZ #13550]
30186         * sysdeps/x86_64/bp-asm.h: Remove file.
30187         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30188         <bp-sym.h> and <bp-asm.h>.
30189         (__clone): Do not use BP_SYM.
30190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30191         <bp-sym.h> and <bp-asm.h>.
30192         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30193         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30194         "bp-asm.h".
30195         (_setjmp): Do not use BP_SYM.
30196         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30197         "bp-asm.h".
30198         (setjmp): Do not use BP_SYM.
30199         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30200         libc_hidden_def.
30201         (mempcpy): Do not use BP_SYM in weak_alias.
30202         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30203         "bp-asm.h".
30204         (strchr): Do not use BP_SYM.
30205         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30206         "bp-asm.h".
30207         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30208         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30209         (_start): Do not use BP_SYM.
30210         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30211         "bp-asm.h".
30212         (strcat): Do not use BP_SYM.
30213         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30214         "bp-asm.h".
30215         (STRCMP): Do not use BP_SYM.
30216         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30217         "bp-asm.h".
30218         (STRCPY): Do not use BP_SYM.
30219         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30220         "bp-asm.h".
30221         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30222         "bp-asm.h".
30223         (FUNCTION): Do not use BP_SYM.
30224         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30225         weak_alias.
30226         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30227
30228 2013-02-17  Andreas Jaeger  <aj@suse.de>
30229
30230         * time/Versions: Sort entries.
30231         * string/Versions: Likewise.
30232         * resolv/Versions: Likewise.
30233         * posix/Versions: Likewise.
30234         * iconv/Versions: Likewise.
30235         * elf/Versions: Likewise.
30236         * wcsmbs/Versions: Likewise.
30237
30238 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30239
30240         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30241         loop termination condition.
30242
30243         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30244         variable to calculate EZ.
30245         (__sqr): Likewise.
30246
30247         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30248         the lower precision input.
30249
30250 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30251
30252         [BZ #13550]
30253         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30254         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30255         (run-via-rtld-prefix): Do not handle %-bp tests.
30256         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30257         (all-object-suffixes): Remove .ob.
30258         (bppfx): Remove variable.
30259         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30260         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30261         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30262         [$(build-bounded) = yes] (libtype.ob): Likewise.
30263         * Makerules (elide-routines.ob): Remove variable.
30264         (do-tests-clean): Do not handle *-bp.out.
30265         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30266         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30267         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30268         (tests): Do not include $(tests-bp.out).
30269         (xtests): Do not include $(xtests-bp.out).
30270         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30271         [$(build-bounded) = yes] ($(addprefix
30272         $(objpfx),$(binaries-bounded))): Remove rule.
30273         ($(objpfx)%-bp.out): Remove rule.
30274         * config.make.in (build-bounded): Remove variable.
30275         * crypt/Makefile [$(build-bounded) = yes]
30276         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30277         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30278         append to variable.
30279         [$(build-bounded) = yes] (install-lib): Likewise.
30280         [$(build-bounded) = yes] (generated): Likewise.
30281         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30282         Remove rule.
30283         * intl/Makefile [$(build-bounded) = yes]
30284         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30285         * math/Makefile [$(build-bounded) = yes]
30286         ($(tests:%=$(objpfx)%-bp): Likewise.
30287         * misc/Makefile [$(build-bounded) = yes]
30288         ($(objpfx)tst-tsearch-bp): Likewise.
30289         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30290         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30291         Remove dependency.
30292         * string/Makefile (o-objects.ob): Remove variable.
30293         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30294         (CFLAGS-.ob): Remove variable.
30295         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30296         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30297         both definitions of variable.
30298         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30299         (ASFLAGS-.ob): Remove variable.
30300
30301 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30302
30303         [BZ #13550]
30304         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30305         Remove __BOUNDED_POINTERS__ from condition.
30306         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30307         * string/bits/string2.h [!__NO_STRING_INLINES &&
30308         !__BOUNDED_POINTERS__]: Likewise.
30309         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30310         Likewise.
30311         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30312         Remove conditional code.
30313         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30314         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30315         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30316         condition.
30317
30318         [BZ #13550]
30319         * csu/libc-start.c: Do not include <bp-sym.h>.
30320         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30321         * elf/dl-open.c: Do not include <bp-sym.h>.
30322         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30323         * math/fegetenv.c: Do not include <bp-sym.h>.
30324         (fegetenv): Do not use BP_SYM in versioned symbols.
30325         * nptl/sysdeps/pthread/bits/libc-lockP.h
30326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30327         <bp-sym.h>.
30328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30329         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30331         (__pthread_mutex_destroy): Likewise.
30332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30333         (__pthread_mutex_lock): Likewise.
30334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30335         (__pthread_mutex_trylock): Likewise.
30336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30337         (__pthread_mutex_unlock): Likewise.
30338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30339         (__pthread_mutexattr_init): Likewise.
30340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30341         (__pthread_mutexattr_destroy): Likewise.
30342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30343         (__pthread_mutexattr_settype): Likewise.
30344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30345         (__pthread_rwlock_init): Likewise.
30346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30347         (__pthread_rwlock_destroy): Likewise.
30348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30349         (__pthread_rwlock_rdlock): Likewise.
30350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30351         (__pthread_rwlock_tryrdlock): Likewise.
30352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30353         (__pthread_rwlock_wrlock): Likewise.
30354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30355         (__pthread_rwlock_trywrlock): Likewise.
30356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30357         (__pthread_rwlock_unlock): Likewise.
30358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30359         (__pthread_key_create): Likewise.
30360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30361         (__pthread_setspecific): Likewise.
30362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30363         (__pthread_getspecific): Likewise.
30364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30365         Likewise.
30366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30367         (_pthread_cleanup_push_defer): Likewise.
30368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30369         (_pthread_cleanup_pop_restore): Likewise.
30370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30371         (pthread_setcancelstate): Likewise.
30372         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30373         <bp-sym.h>.
30374         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30375         (memchr): Do not use BP_SYM in weak_alias.
30376         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30377         (fegetenv): Do not use BP_SYM in versioned symbols.
30378         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30379         (fesetenv): Do not use BP_SYM in versioned symbols.
30380         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30381         (feupdateenv): Do not use BP_SYM in versioned symbols.
30382         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30383         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30384         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30385         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30386         (open64): Do not use BP_SYM in weak_alias.
30387         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30388         (fegetenv): Do not use BP_SYM in versioned symbols.
30389         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30390         (fesetenv): Do not use BP_SYM in versioned symbols.
30391         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30392         (feupdateenv): Do not use BP_SYM in versioned symbols.
30393         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30394         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30395         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30396         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30397         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30398         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30399         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30400         <bp-sym.h>.
30401         (__libc_start_main): Do not use BP_SYM.
30402
30403 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30404
30405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30406         redundant return line.
30407         (norm): Likewise.
30408         (denorm): Likewise.
30409         (dbl_mp): Likewise.
30410         (sub_magnitudes): Likewise.
30411         (__add): Likewise.
30412         (__sub): Likewise.
30413         (__mul): Likewise.
30414         (__inv): Likewise.
30415         (__dvd): Likewise.
30416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
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
30427         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30428         instead of __mul.
30429         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30430         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30431         (cc32): Likewise.
30432
30433         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30434         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30435         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30436         of __mul for squares.
30437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30438         function
30439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30440         Likewise.
30441         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30442         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30443
30444 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30445
30446         [BZ #13550]
30447         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30448         code.
30449         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30450         prototype or function definition.  Rename ubp_* variables and
30451         parameters.  Remove argv definitions conditional on
30452         [__BOUNDED_POINTERS__].
30453         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30454         * elf/dl-runtime.c (_dl_fixup): Likewise.
30455         * include/set-hooks.h (RUN_HOOK): Likewise.
30456         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30457         definition.
30458         * string/strcpy.c (strcpy): Do not use __unbounded.
30459         * sysdeps/generic/frame.h (struct layout): Likewise.
30460         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30461         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30462         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30463         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30464         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30465         (__backtrace): Likewise.
30466         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30467         use __ptrvalue.
30468         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30469         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30470         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30471         Likewise.
30472         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30473         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30474         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30475         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30476         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30477         Do not use __unbounded.
30478         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30479         Rename __unboundedrlimits parameter to rlimits in prototype.
30480         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30481         Do not use __unbounded.
30482         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30483         not use __ptrvalue.
30484         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30485         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30486         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30487         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30488         __ptrvalue or __unbounded.
30489         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30490         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30491         use __unbounded.
30492         (__new_msgctl): Do not use __ptrvalue.
30493         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30494         __unbounded.
30495         (__libc_msgrcv): Do not use __ptrvalue.
30496         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30497         startup_info): Do not use __unbounded.
30498         (__libc_start_main): Likewise.  Rename ubp_* variables and
30499         parameters.  Remove argv definitions conditional on
30500         [__BOUNDED_POINTERS__].
30501         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30502         __ptrvalue.
30503         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30504         use __unbounded.
30505         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30506         or __ptrvalue.
30507         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30508         use __unbounded.
30509         (__new_shmctl): Do not use __ptrvalue.
30510         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30511         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30512         Likewise.
30513         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30514         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30515         (__libc_sigaction): Likewise.
30516         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30517         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30518         Likewise.
30519         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30520
30521 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30522
30523         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30524
30525         * string/mempcpy.c: Implement by calling memcpy.
30526
30527 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30528
30529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30530
30531         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30532         evaluation.
30533
30534         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30535         values in the mantissa.
30536
30537         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30538         minimize writes to Z.
30539         (sub_magnitudes): Simplify code a bit.
30540
30541 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30542
30543         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30544         from the message.  The linker prefixes all warnings with that already.
30545
30546 2013-02-12  Andreas Schwab  <schwab@suse.de>
30547
30548         [BZ #15078]
30549         * posix/regexec.c (extend_buffers): Add parameter min_len.
30550         (check_matching): Pass minimum needed length.
30551         (clean_state_log_if_needed): Likewise.
30552         (get_subexp): Likewise.
30553         * posix/Makefile (tests): Add bug-regex34.
30554         (bug-regex34-ENV): Define.
30555         * posix/bug-regex34.c: New file.
30556
30557         [BZ #11561]
30558         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30559         elements compare against the byte sequence of it, not its name.
30560         * posix/Makefile (tests): Add bug-regex35.
30561         (bug-regex35-ENV): Define.
30562         * posix/bug-regex35.c: New file.
30563
30564 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30565
30566         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30567         comment.
30568         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30569         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30570         (CHECK_EOL): Add undef.
30571
30572 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30573
30574         * bits/stdlib-bsearch.h: New file.
30575         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30576         * stdlib/stdlib.h: Likewise.
30577
30578 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30579
30580         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30581         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30582         declaration.
30583         * manual/search.texi (Array Search Function): Add missing const in
30584         lfind prototype.
30585         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30586         declaration to use rlim_t.
30587         (Basic Scheduling Functions): Remove erroneous const from
30588         sched_getparam prototype.  Remove erroneous * from
30589         sched_get_priority_max and sched_get_priority_min prototypes.
30590         (Resource Usage): Fix summary @comment on vtimes to refer to
30591         sys/vtimes.h rather than vtimes.h.
30592         Add missing *s in vtimes prototype.
30593         (Limits on Resources): Fix ulimit prototype to return long int.
30594         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30595         prototypes to use long int rather than double.
30596         (BSD Random): Fix initstate and setstate to use char *, not void *.
30597         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30598         prototype to make second argument 'struct aiocb64 *const[]'.
30599         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30600         (Status of AIO Operations): Remove erroneous const in aio_return and
30601         aio_return64 prototypes.
30602         (Synchronizing I/O): Fix sync prototype to return void.
30603         * manual/startup.texi (Suboptions): Remove an erroneous const in
30604         getsubopt prototype.
30605         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30606         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30607         use size_t rather than int.
30608         (Scanning All Users): Likewise for getpwent_r.
30609         (Setting Groups): Add missing const to setgroups prototype.
30610         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30611         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30612         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30613         'const void *' rather than 'const char *'.
30614         (Host Address Functions): Likewise for inet_ntop.
30615         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30616         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30617         ssize_t for return value.
30618         (Sending Data): Likewise for send, sendto, sendmsg.
30619         (Socket Option Functions): Add a missing const in setsockopt prototype.
30620         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30621         use wchar_t for the argument.
30622         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30623         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30624         take no arguments.
30625         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30626         double/float/long double for second argument.
30627         Fix return types of significand, significandf, significandl.
30628         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30629         argument in fchmod prototype.
30630         (File Owner): Use uid_t and gid_t in fchown prototype.
30631         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30632         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30633         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30634         use 'const struct dirent **' as argument types to CMP function pointer
30635         argument.
30636         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30637         (File Times): Fix summary magic @comment for struct utimbuf and utime
30638         to refer to utime.h, not time.h.
30639         * manual/string.texi (Argz Functions): Add missing const in
30640         argz_extract and argz_next prototypes.
30641         (Finding Tokens in a String): Likewise for basename.
30642         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30643         (Copying and Concatenation): Fix typo in wmemmove prototype.
30644         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30645         (Signal Stack): Remove erroneous const in sigstack prototype.
30646         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30647         prototype.
30648         (Simple Calendar Time): Likewise for stime.
30649         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30650         prototype.
30651         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30652         say sys/sysctl.h instead.
30653         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30654         and vsyslog prototypes.
30655
30656 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30657
30658         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30659         Remove.
30660
30661 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30662
30663         * misc/sys/mman.h: Fix typo in mremap comment.
30664
30665 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30666
30667         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30668         the '\0' terminator.
30669
30670 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30671
30672         [BZ #13550]
30673         * debug/segfault.c: Don't include <bp-checks.h>.
30674         * sysdeps/generic/bp-checks.h: Remove file.
30675         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30676         (__GETDENTS): Don't use CHECK_N.
30677         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30678         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30679         (__getgroups): Don't use CHECK_N.
30680         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30681         (setgroups): Don't use CHECK_N.
30682         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30683         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30684         (__libc_msgrcv): Don't use CHECK_N.
30685         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30686         (__libc_msgsnd): Don't use CHECK_N.
30687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30688         <bp-checks.h>.
30689         (__libc_pread): Don't use CHECK_N.
30690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30691         include <bp-checks.h>.
30692         (__libc_pread64): Don't use CHECK_N.
30693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30694         include <bp-checks.h>.
30695         (__libc_pwrite): Don't use CHECK_N.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30697         include <bp-checks.h>.
30698         (__libc_pwrite64): Don't use CHECK_N.
30699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30700         <bp-checks.h>.
30701         (__libc_pread): Don't use CHECK_N.
30702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30703         include <bp-checks.h>.
30704         (__libc_pread64): Don't use CHECK_N.
30705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30706         include <bp-checks.h>.
30707         (__libc_pwrite): Don't use CHECK_N.
30708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30709         include <bp-checks.h>.
30710         (__libc_pwrite64): Don't use CHECK_N.
30711         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30712         (do_pread): Don't use CHECK_N.
30713         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30714         (do_pread64): Don't use CHECK_N.
30715         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30716         (do_pwrite): Don't use CHECK_N.
30717         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30718         (do_pwrite64): Don't use CHECK_N.
30719         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30720         (__libc_readv): Don't use CHECK_N.
30721         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30722         (semop): Don't use CHECK_N.
30723         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30724         <bp-checks.h>.
30725         (semtimedop): Don't use CHECK_N.
30726         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30727         (__libc_pread): Don't use CHECK_N.
30728         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30729         <bp-checks.h>.
30730         (__libc_pread64): Don't use CHECK_N.
30731         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30732         <bp-checks.h>.
30733         (__libc_pwrite): Don't use CHECK_N.
30734         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30735         <bp-checks.h>.
30736         (__libc_pwrite64): Don't use CHECK_N.
30737         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30738         <bp-checks.h>.
30739         (__libc_msgrcv): Don't use CHECK_N.
30740         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30741         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30742         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30743         (__libc_writev): Don't use CHECK_N.
30744
30745 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30746
30747         * string/strcpy.c: Removed unused variable.
30748
30749         * Makeconfig (+sysdep-includes): Define with := rather than =.
30750         Use an existing include/ subdir of each sysdeps dir before it.
30751
30752 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30753
30754         * nscd/connection.c (register_traced_file): Comment function.
30755         [HAVE_INOTIFY] (union __inev): Define.
30756         [HAVE_INOTIFY] (inotify_check_files): New function.
30757         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30758         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30759         clear_db_cache.
30760         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30761
30762 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30763
30764         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30765         loaded if not already and that a failure is permanent.
30766
30767 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30768
30769         [BZ #15006]
30770         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30771         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30772
30773 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30774
30775         [BZ #13550]
30776         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30777         (CHECK_1_NULL_OK): Likewise.
30778         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30779         (__fxstat): Do not use CHECK_1.
30780         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30781         <bp-checks.h>.
30782         (___fxstat64): Do not use CHECK_1.
30783         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30784         <bp-checks.h>.
30785         (__fxstatat): Do not use CHECK_1.
30786         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30787         <bp-checks.h>.
30788         (__fxstatat64): Do not use CHECK_1.
30789         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30790         <bp-checks.h>.
30791         (__fxstat): Do not use CHECK_1.
30792         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30793         <bp-checks.h>.
30794         (__fxstatat): Do not use CHECK_1.
30795         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30796         <bp-checks.h>.
30797         (__getresgid): Do not use CHECK_1.
30798         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30799         <bp-checks.h>.
30800         (__getresuid): Do not use CHECK_1.
30801         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30802         <bp-checks.h>.
30803         (__lxstat): Do not use CHECK_1.
30804         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30805         <bp-checks.h>.
30806         (__old_msgctl): Do not use CHECK_1.
30807         (__new_msgctl): Likewise.
30808         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30809         <bp-checks.h>.
30810         (__new_setrlimit): Do not use CHECK_1.
30811         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30812         <bp-checks.h>.
30813         (__old_shmctl): Do not use CHECK_1.
30814         (__new_shmctl): Likewise.
30815         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30816         <bp-checks.h>.
30817         (__xstat): Do not use CHECK_1.
30818         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30819         (__lxstat): Do not use CHECK_1.
30820         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30821         <bp-checks.h>.
30822         (___lxstat64): Do not use CHECK_1.
30823         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30824         (__old_msgctl): Do not use CHECK_1.
30825         (__new_msgctl): Likewise.
30826         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30827         <bp-checks.h>.
30828         (__gettimeofday): Do not use CHECK_1.
30829         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30830         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30831         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30832         <bp-checks.h>.
30833         (__gettimeofday): Do not use CHECK_1.
30834         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30835         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30836         (__new_shmctl): Do not use CHECK_1.
30837         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30838         <bp-checks.h>.
30839         (do_sigtimedwait): Do not use CHECK_1.
30840         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30841         <bp-checks.h>.
30842         (do_sigwaitinfo): Do not use CHECK_1.
30843         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30844         <bp-checks.h>.
30845         (msgctl): Do not use CHECK_1.
30846         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30847         <bp-checks.h>.
30848         (shmctl): Do not use CHECK_1.
30849         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30850         (ustat): Do not use CHECK_1.
30851         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30852         <bp-checks.h>.
30853         (__fxstat): Do not use CHECK_1.
30854         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30855         <bp-checks.h>.
30856         (__fxstatat): Do not use CHECK_1.
30857         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30858         <bp-checks.h>.
30859         (__lxstat): Do not use CHECK_1.
30860         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30861         <bp-checks.h>.
30862         (__xstat): Do not use CHECK_1.
30863         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30864         (__xstat): Do not use CHECK_1.
30865         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30866         (___xstat64): Do not use CHECK_1.
30867
30868         [BZ #13550]
30869         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30870         definitions.
30871         (CHECK_BOUNDS_HIGH): Likewise.
30872         * string/strcpy.c: Do not include <bp-checks.h>.
30873         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30874
30875 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30876
30877         * nscd/nscd-client.h (__nscd_drop_map_ref):
30878         Add __attribute__ ((unused)).
30879         * nis/nss-nisplus.h (niserr2nss): Likewise.
30880
30881         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30882         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30883
30884         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30885         Remove inline keyword.
30886         * include/rounding-mode.h (round_away): Likewise.
30887         * libio/wfileops.c (adjust_wide_data): Likewise.
30888         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30889         (__m128i_strloadu_tolower): Likewise.
30890         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30891         (__m128i_strloadu_tolower): Likewise.
30892         * time/mktime.c (ydhms_diff): Likewise.
30893         * locale/elem-hash.h (elem_hash): Likewise.
30894         * locale/setlocale.c (setdata): Likewise.
30895         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30896         (re_string_wchar_at): Likewise.
30897         (bitset_not, bitset_merge, bitset_mask): Likewise.
30898         [!(__GNUC__ > 3)] (inline): Remove macro.
30899         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30900         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30901         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30902         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30903         * string/memcmp.c (memcmp_bytes): Likewise.
30904         * locale/programs/locarchive.c (compute_hashval): Likewise.
30905         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30906         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30907         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30908         * nss/getent.c (print_rpc, print_protocols): Likewise.
30909         (print_passwd, print_group, print_aliases): Likewise.
30910         * nis/nss-nisplus.h (niserr2nss): Likewise.
30911         * nscd/connections.c (restart_p): Likewise.
30912         Change return type to bool.
30913
30914 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30915
30916         * Makeconfig (all-Depend-files): Add existing
30917         $(sorted-subdirs:=/Depend) files.
30918         (all-subdirs): Remove nss.
30919         * sysdeps/unix/inet/Subdirs: Add it here instead.
30920         * hesiod/Depend: New file.
30921
30922         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30923         instead of calling alloca.
30924
30925         * io/lseek.c (__lseek): Rename to __libc_lseek.
30926         Define __lseek as an alias.
30927
30928         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30929
30930 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30931
30932         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30933         else clause and remove check for non-standard endianness.
30934
30935 2013-02-04  David S. Miller  <davem@davemloft.net>
30936
30937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30938
30939 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30940
30941         [BZ #13550]
30942         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30943         (__ubp_memchr): Remove prototype.
30944         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30945         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30946         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30947         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30948         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30949         Remove alias.
30950         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30951         (__ubp_memchr): Likewise.
30952         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30953         (__ubp_memchr): Likewise.
30954         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30955         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30956         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30957         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30958         CHECK_STRING.
30959         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30960         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30961         (__getcwd): Do not use CHECK_STRING.
30962         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30963         <bp-checks.h>.
30964         (__real_chown): Do not use CHECK_STRING.
30965         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30966         <bp-checks.h>.
30967         (fchownat): Do not use CHECK_STRING.
30968         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30969         CHECK_STRING.
30970         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30971         <bp-checks.h>.
30972         (__lchown): Do not use CHECK_STRING.
30973         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30974         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30975         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30976         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30978         include <bp-checks.h>.
30979         (truncate64): Do not use CHECK_STRING.
30980         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30981         <bp-checks.h>.
30982         (__real_chown): Do not use CHECK_STRING.
30983         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30984         <bp-checks.h>.
30985         (__lchown): Do not use CHECK_STRING.
30986         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30987         <bp-checks.h>.
30988         (__chown): Do not use CHECK_STRING.
30989         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30990         <bp-checks.h>.
30991         (truncate64): Do not use CHECK_STRING.
30992         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30993         Likewise.
30994         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30995         (__xmknod): Do not use CHECK_STRING.
30996         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30997         <bp-checks.h>.
30998         (__xmknodat): Do not use CHECK_STRING.
30999         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31000         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31001
31002 2013-02-04  Andreas Schwab  <schwab@suse.de>
31003
31004         [BZ #14142]
31005         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31006         * include/netdb.h: Likewise for h_errno.
31007         * elf/tst-stackguard1.c: Include <tls.h>.
31008
31009 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31010
31011         * elf/link.h (struct link_map): Extend the l_addr comment.
31012         * include/link.h (struct link_map): Likewise.
31013
31014 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31015
31016         [BZ #13550]
31017         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31018         (BOUNDED_1): Remove macro.
31019         * debug/backtrace.c: Don't include <bp-checks.h>.
31020         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31021         (__backtrace): Likewise.
31022         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31023         <bp-checks.h>.
31024         (__backtrace): Don't use BOUNDED_1.
31025         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31026         <bp-checks.h>.
31027         (__backtrace): Don't use BOUNDED_1.
31028         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31029         (__backtrace): Don't use BOUNDED_1.
31030         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31031         (shmat): Don't use BOUNDED_N.
31032
31033 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31034
31035         [BZ #13550]
31036         * sysdeps/generic/bp-start.h: Remove file.
31037         * csu/libc-start.c: Don't include <bp-start.h>.
31038         (LIBC_START_MAIN): Set up __environ directly instead of using
31039         INIT_ARGV_and_ENVIRON.
31040         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31041         <bp-start.h>.
31042
31043         [BZ #13550]
31044         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31045         definitions.
31046         (CHECK_FCNTL): Likewise.
31047         (CHECK_N_PAGES): Likewise.
31048
31049         [BZ #13550]
31050         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31051         definitions.
31052         (CHECK_SIGSET_NULL_OK): Likewise.
31053         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31054         <bp-checks.h>.
31055         (sigpending): Don't use CHECK_SIGSET.
31056         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31057         <bp-checks.h>.
31058         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31059         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31060         <bp-checks.h>.
31061         (do_sigsuspend): Don't use CHECK_SIGSET.
31062         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31063         use CHECK_SIGSET.
31064         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31065         (do_sigwait): Don't use CHECK_SIGSET.
31066         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31067         use CHECK_SIGSET.
31068         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31069         include <bp-checks.h>.
31070         (sigpending): Don't use CHECK_SIGSET.
31071         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31072         include <bp-checks.h>.
31073         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31074         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31075         <bp-checks.h>.
31076         (sigpending): Don't use CHECK_SIGSET.
31077         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31078         <bp-checks.h>.
31079         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31080
31081         [BZ #13550]
31082         * sysdeps/generic/bp-semctl.h: Remove file.
31083         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31084         <bp-checks.h> and <bp-semctl.h>.
31085         (__old_semctl): Don't use CHECK_SEMCTL.
31086         (__new_semctl): Likewise.
31087         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31088         and <bp-semctl.h>.
31089         (__old_semctl): Don't use CHECK_SEMCTL.
31090         (__new_semctl): Likewise.
31091         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31092         <bp-checks.h> and <bp-semctl.h>.
31093         (__old_semctl): Don't use CHECK_SEMCTL.
31094         (__new_semctl): Likewise.
31095         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31096         <bp-checks.h> and <bp-semctl.h>.
31097         (semctl): Don't use CHECK_SEMCTL.
31098
31099         [BZ #13550]
31100         * Makerules (elide-bp-thunks): Remove variable.
31101         (elide-routines.oS): Don't use $(elide-bp-thunks).
31102         (elide-routines.os): Likewise.
31103         (elide-routines.o): Likewise.
31104         (elide-routines.op): Likewise.
31105         (elide-routines.og): Likewise.
31106         (objects): Don't use $(bp-thunks).
31107         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31108         include.
31109         (common-generated): Do not add s-proto-bp.d.
31110         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31111         (int): Likewise.
31112         (typ): Likewise.
31113         Do not generate makefile rules for bounded-pointer thunks.
31114         * sysdeps/generic/bp-thunks.h: Remove file.
31115         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31116         * sysdeps/unix/s-proto-bp.S: Likewise.
31117
31118         [BZ #15062]
31119         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31120         parts of result separately when argument is not close to line from
31121         -i to i and one part of argument is small.
31122         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31123         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31124         * math/libm-test.inc (cacos_test): Add more tests.
31125         (casin_test): Likewise.
31126         (casinh_test): Likewise.
31127         * sysdeps/i386/fpu/libm-test-ulps: Update.
31128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31129
31130 2013-01-31  David S. Miller  <davem@davemloft.net>
31131
31132         * po/de.po: Update from translation team.
31133
31134 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31135
31136         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31137
31138 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31139
31140         * configure.in (_AC_PROG_CC_C89): New definition.
31141         * configure: Regenerate.
31142
31143         * configure.in (AC_PROG_CPP): New definition.
31144         * configure: Regenerate.
31145
31146 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31147
31148         * debug/tst-backtrace.h: New file.
31149         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31150         (ret): Remove variable.
31151         (x): Likewise.
31152         (FAIL): Remove macro.
31153         (NO_INLINE): Likewise.
31154         (fn1): Use match function instead of strstr.
31155         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31156         (ret): Remove variable.
31157         (x): Likewise.
31158         (FAIL): Remove macro.
31159         (NO_INLINE): Likewise.
31160         (fn): Use match function instead of strstr.
31161         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31162         (ret): Remove variable.
31163         (x): Likewise.
31164         (FAIL): Remove macro.
31165         (NO_INLINE): Likewise.
31166         (handle_signal): Use match function instead of strstr.
31167         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31168         (ret): Remove variable.
31169         (x): Likewise.
31170         (FAIL): Remove macro.
31171         (NO_INLINE): Likewise.
31172         (handle_signal): Use match function instead of strstr.
31173
31174 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31175
31176         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31177
31178 2013-01-23  David S. Miller  <davem@davemloft.net>
31179
31180         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31181         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31182         argument of CAS if possible.
31183         * sysdeps/sparc/sparc64/bits/atomic.h
31184         (__arch_compare_and_exchange_val_32_acq): Likewise.
31185         (__arch_compare_and_exchange_val_64_acq): Likewise.
31186
31187 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31188
31189         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31190         * sysdeps/posix/ulimit.c: ... this.
31191         Include <limits.h>.
31192         * sysdeps/unix/bsd/ulimit.c: Remove file.
31193
31194 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31195
31196         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31197         (LDFLAGS-tst-array5): Likewise.
31198
31199 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31200
31201         [BZ #15036]
31202         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31203         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31204         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31205         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31206
31207 2013-01-21  David S. Miller  <davem@davemloft.net>
31208
31209         * sysdeps/sparc/backtrace.c: New file.
31210         * sysdeps/sparc/sparc32/backtrace.h: New file.
31211         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31212         * sysdeps/sparc/sparc64/backtrace.h: New file.
31213         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31214         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31215         -funwind-tables.
31216
31217 2013-01-21  Andreas Schwab  <schwab@suse.de>
31218
31219         [BZ #15020]
31220         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31221         closed its stdout.
31222
31223 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31224
31225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31226         "mpa2.h".
31227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31228
31229 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31230             Mark Mitchell  <mark@codesourcery.com>
31231             Tom de Vries  <tom@codesourcery.com>
31232             Paul Pluzhnikov  <ppluzhnikov@google.com>
31233
31234         * debug/tst-backtrace2.c: New file.
31235         * debug/tst-backtrace3.c: Likewise.
31236         * debug/tst-backtrace4.c: Likewise.
31237         * debug/tst-backtrace5.c: Likewise.
31238         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31239         (CFLAGS-tst-backtrace3.c): Likewise.
31240         (CFLAGS-tst-backtrace4.c): Likewise.
31241         (CFLAGS-tst-backtrace5.c): Likewise.
31242         (LDFLAGS-tst-backtrace2): Likewise.
31243         (LDFLAGS-tst-backtrace3): Likewise.
31244         (LDFLAGS-tst-backtrace4): Likewise.
31245         (LDFLAGS-tst-backtrace5): Likewise.
31246         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31247         tst-backtrace4 and tst-backtrace5.
31248
31249 2013-01-18  Anton Blanchard  <anton@samba.org>
31250             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31251
31252         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31253         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31254         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31255         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31257         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31258         "+r" and remove output regs list as redundant.  Add explicit inline
31259         asm to specify register of return val to work around compiler codegen
31260         bug.  Remove (int) cast on return value.  Add return type parameter to
31261         use in macro so that this macro does not truncate return value for
31262         64-bit values.
31263         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31264         pass to INTERNAL_VSYSCALL_NCS.
31265         (INLINE_VSYSCALL): Add 'long int' as return type to
31266         INTERNAL_VSYSCALL_NCS macro invocation.
31267         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31268         INTERNAL_VSYSCALL_NCS macro invocation.
31269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31270
31271 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31272
31273         [BZ #14496]
31274         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31275         Fix application of SIMD FP exception mask.
31276
31277         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31278         mp_no from a power of two.
31279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31280         __mpexp_twomm1.  Use __pow_mp.
31281
31282         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31283         multiplication.
31284
31285 2013-01-17  David S. Miller  <davem@davemloft.net>
31286
31287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31288
31289 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31290
31291         [BZ #15023]
31292         * include/complex.h: Condition contents on [!_COMPLEX_H].
31293         (__kernel_casinhf): New prototype.
31294         (__kernel_casinh): Likewise.
31295         (__kernel_casinhl): Likewise.
31296         * math/Makefile (libm_calls): Add k_casinh.
31297         * math/k_casinh.c: New file.
31298         * math/k_casinhf.c: Likewise.
31299         * math/k_casinhl.c: Likewise.
31300         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31301         finite nonzero arguments.
31302         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31303         finite nonzero arguments.
31304         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31305         finite nonzero arguments.
31306         * math/s_casinh.c: Do not include <float.h>.
31307         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31308         * math/s_casinhf.c: Do not include <float.h>.
31309         (__casinhf): Move code for finite nonzero arguments to
31310         k_casinhf.c.
31311         * math/s_casinhl.c: Do not include <float.h>.
31312         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31313         redefine.
31314         (__casinhl): Move code for finite nonzero arguments to
31315         k_casinhl.c.
31316         * math/libm-test.inc (cacos_test): Add more tests.
31317         * sysdeps/i386/fpu/libm-test-ulps: Update.
31318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31319
31320 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31321
31322         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31323         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31324         [!HAVE_MREMAP]: Remove [defined linux] case.
31325         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31326
31327 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31328
31329         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31330
31331 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31332
31333         * elf/elf.h (R_386_SIZE32): New relocation.
31334         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31335         R_386_SIZE32.
31336         (elf_machine_rela): Likewise.
31337         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31338         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31339
31340 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31341
31342         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31343         (FP_FAST_FMA): Do not define.
31344         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31345         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31346         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31347         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31348         !_SOFT_FLOAT]: Likewise.
31349         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31350         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31351         value.
31352         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31353         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31354         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31355         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31356         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31357         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31358         file.
31359
31360 2013-01-16  Andreas Schwab  <schwab@suse.de>
31361
31362         [BZ #14327]
31363         * include/stdlib.h (__mktemp): Add declaration.
31364         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31365         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31366
31367 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31368
31369         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31370         definitions.
31371         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31372         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31373         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31374         definitions here.
31375         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31376         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31377         definitions.
31378         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31379         and ONE.
31380         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31381         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31382         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31383         definitions.
31384         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31385         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31386         definitions.
31387         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31388
31389         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31390
31391 2013-01-15  David S. Miller  <davem@davemloft.net>
31392
31393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31394         trunc{,f} to libm-sysdep_routes.
31395         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31397         file.
31398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31400         file.
31401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31402         file.
31403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31405         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31406         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31407         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31408         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31409         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31410         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31411
31412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31413         nearbyint{,f} to libm-sysdep_routes.
31414         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31416         New file.
31417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31418         file.
31419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31420         New file.
31421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31422         file.
31423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31425         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31426         file.
31427         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31428         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31429         file.
31430         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31431         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31432         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31433
31434         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31435         libc_feholdexcept and libc_fesetenv.
31436
31437 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31438
31439         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31440
31441 2013-01-14  David S. Miller  <davem@davemloft.net>
31442
31443         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31444         (SPARC_ASM_VIS2_IFUNC): Likewise.
31445         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31447         use of 'siam' instruction.
31448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31449         Likewise.
31450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31451         Likewise.
31452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31453         Likewise.
31454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31456         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31459         file.
31460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31461         file.
31462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31463         file.
31464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31465         file.
31466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31471         new VIS2 routines.
31472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31475         Likewise.
31476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31481         routines to libm-sysdep_routines.
31482         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31483
31484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31485         fdim/fdimf to libm-sysdep_routines.
31486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31487         file.
31488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31490         file.
31491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31494         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31495         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31496         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31497         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31498
31499 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31500
31501         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31502         to optimize copies.
31503
31504         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31507
31508         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31509         local variable MPTWO.
31510         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31511         Likewise.
31512
31513 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31514
31515         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31516         GLOB_NOESCAPE.
31517
31518 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31519
31520         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31521
31522 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31523
31524         * manual/pattern.texi (glob_t): Document gl_flags.
31525         (glob64_t): Likewise.
31526
31527 2013-01-11  David S. Miller  <davem@davemloft.net>
31528
31529         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31530         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31531         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31532         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31533         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31534         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31535         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31536         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31537         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31538         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31539         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31540         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31541         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31542
31543         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31544         sparc V9 rather than using V8 code.
31545         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31546         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31547
31548         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31549         Move to...
31550         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31551         Here.
31552
31553 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31554
31555         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31556         not in the main loop.
31557         * configure: Regenerated.
31558
31559 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31560
31561         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31562         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31563         to just #else.
31564         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31565         [!__GLIBC_HAVE_LONG_LONG] case.
31566         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31567         condition to just #else.
31568         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31569         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31570         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31571         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31572         unconditional.
31573         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31574         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31575         #elif condition to just #else.
31576         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31577         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31578         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31579         #elif condition to just #else.
31580
31581 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31582
31583         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31584         (EF_MIPS_ARCH_64): Fix value.
31585         (EF_MIPS_ARCH_32R2): New.
31586         (EF_MIPS_ARCH_64R2): New.
31587
31588 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31589
31590         * Makeconfig (+link-pie-before-libc): New.
31591         (+link-pie-after-libc): Likewise.
31592         (+link-pie-tests): Likewise.
31593         (+link-pie): Rewritten.
31594         (link-before-libc): Remove $(config-LDFLAGS).
31595         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31596         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31597         (config-LDFLAGS): Renamed to ...
31598         (rtld-LDFLAGS): This.
31599         (rtld-tests-LDFLAGS): New macro.
31600         (link-libc-rpath-link): Likewise.
31601         (link-libc-tests-rpath-link): Likewise.
31602         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31603         (link-libc): Prepand $(link-libc-rpath-link).
31604         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31605         (test-program-prefix): New macro.
31606         (test-via-rtld-prefix): Likewise.
31607         (test-program-cmd): Likewise.
31608         (host-test-program-cmd): Likewise.
31609         * Makefile ($(common-objpfx)testrun.sh): Replace
31610         $(run-program-prefix) with $(test-program-prefix).
31611         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31612         $(rtld-LDFLAGS).
31613         ($(common-objpfx)shlib.lds): Likewise.
31614         (build-module-helper): Likewise.
31615         ($(common-objpfx)format.lds): Likewise.
31616         * Rules (binaries-pie-tests): New.
31617         (binaries-pie-notests): Likewise.
31618         (binaries-pie): Rewritten.
31619         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31620         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31621         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31622         (make-test-out): Replace $(host-built-program-cmd) with
31623         $(host-test-program-cmd).
31624         * config.make.in (build-hardcoded-path-in-tests): New variable.
31625         * configure.in (--enable-hardcoded-path-in-tests): New configure
31626         option.
31627         (hardcoded_path_in_tests): New AC_SUBST.
31628         * configure: Regenerated.
31629         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31630         $(built-program-cmd) with $(test-program-cmd).
31631         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31632         (test_program_cmd): This.
31633         * elf/Makefile ($(objpfx)order.out): Run test with
31634         $(test-program-prefix).
31635         ($(objpfx)order2.out): Likewise.
31636         ($(objpfx)tst-initorder.out): Likewise.
31637         ($(objpfx)tst-initorder2.out): Likewise.
31638         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31639         $(test-program-cmd).
31640         ($(objpfx)tst-array1-static.out): Likewise.
31641         ($(objpfx)tst-array2.out): Likewise.
31642         ($(objpfx)tst-array3.out): Likewise.
31643         ($(objpfx)tst-array4.out): Likewise.
31644         ($(objpfx)tst-array5.out): Likewise.
31645         ($(objpfx)tst-array5-static.out): Likewise.
31646         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31647         $(test-program-cmd).
31648         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31649         $(run-program-prefix) with $(test-program-prefix).
31650         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31651         (test_program_prefix): This.
31652         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31653         $(run-program-prefix) with $(test-program-prefix).
31654         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31655         (test_program_prefix): This.
31656         * iconvdata/tst-tables.sh: Likewise.
31657         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31658         $(run-program-prefix) with $(test-program-prefix).
31659         ($(objpfx)tst-translit.out): Likewise.
31660         ($(objpfx)tst-gettext2.out): Likewise.
31661         ($(objpfx)tst-gettext4.out): Likewise.
31662         ($(objpfx)tst-gettext6.out): Likewise.
31663         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31664         (test_program_prefix): This.
31665         * intl/tst-gettext2.sh: Likewise.
31666         * intl/tst-gettext4.sh  Likewise.
31667         * intl/tst-gettext6.sh: Likewise.
31668         * intl/tst-translit.sh: Likewise.
31669         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31670         with $(test-program-cmd).
31671         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31672         $(run-program-prefix) with $(test-program-prefix).
31673         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31674         (test_program_prefix): This.
31675         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31676         $(run-program-prefix) with $(test-program-prefix).
31677         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31678         (test_program_prefix): This.
31679         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31680         * posix/Makefile ($(objpfx)globtest.out): Replace
31681         $(run-via-rtld-prefix) and $(test-wrapper) with
31682         $(test-program-prefix) and $(test-via-rtld-prefix).
31683         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31684         $(test-program-prefix).
31685         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31686         $(host-test-program-cmd).
31687         (tst-spawn-ARGS): Likewise.
31688         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31689         $(test-program-prefix).
31690         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31691         (test_via_rtld_prefix): This.
31692         (test_wrapper): Renamed to ...
31693         (test_program_prefix): This.
31694         (run_program_prefix): Replaced by test_program_prefix.
31695         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31696         (test_program_prefix): This.
31697         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31698         with $(host-test-program-cmd).
31699         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31700         $(run-program-prefix) with $(test-program-prefix).
31701         ($(objpfx)tst-printf.out): Likewise.
31702         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31703         $(test-program-cmd).
31704         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31705         (test_program_prefix): This.
31706         * stdio-common/tst-unbputc.sh: Likewise.
31707         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31708         $(run-program-prefix) with $(test-program-prefix).
31709         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31710         (test_program_prefix): This.
31711         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31712         $(built-program-cmd) with $(test-program-cmd).
31713
31714 2013-01-11  Andreas Jaeger  <aj@suse.de>
31715
31716         [BZ #15003]
31717         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31718         value. Sync with Linux 3.7.
31719
31720 2013-01-10  David S. Miller  <davem@davemloft.net>
31721
31722         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31723         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31724         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31725
31726 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31727
31728         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31729         never set.
31730         * configure: Regenerated.
31731
31732 2013-01-10  David S. Miller  <davem@davemloft.net>
31733
31734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31735         sparc V9 rather than using V8 code.
31736         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31737         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31738
31739 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31740
31741         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31742         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31743         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31744         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31745         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31746         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31747         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31748         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31749         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31750         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31751         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31752         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31753         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31754         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31755         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31756         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31757         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31758         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31759         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31760         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31761         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31762         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31763         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31764         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31765         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31766         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31767         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31768
31769 2013-01-10  David S. Miller  <davem@davemloft.net>
31770
31771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31772
31773 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31774
31775         * posix/Makefile (tests-static): New variable.
31776         (tests): Add $(tests-static).
31777         (tst-exec-static-ARGS): New variable.
31778         (tst-spawn-static-ARGS): Likewise.
31779         * posix/tst-exec-static.c: New file.
31780         * posix/tst-spawn-static.c: Likewise.
31781         * posix/tst-exec.c: Support run directly.
31782         * posix/tst-spawn.c: Likewise.
31783
31784 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31785
31786         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31787         long.
31788         * math/bits/mathcalls.h (llrint): Likewise.
31789         (llround): Likewise.
31790         * stdlib/stdlib.h (struct drand48_data): Likewise.
31791         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31792         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31793         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31794         Likewise.
31795         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31796         Likewise.
31797         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31798         (elf_greg_t): Likewise.
31799         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31800         (__jmp_buf): Likewise.
31801         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31802         definitions.
31803         (llrint): Likewise, for all definitions.
31804         (llrintl): Likewise.
31805
31806         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31807         Remove [__GNUC__] condition.
31808         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31809         condition to just [__USE_ISOC99].
31810         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31811
31812 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31813
31814         [BZ #14200]
31815         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31816         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31817         defined.
31818         (_POSIX_V6_ILP32_OFF32): Likewise.
31819         (_XBS5_ILP32_OFF32): Likewise.
31820         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31821         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31822
31823 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31824
31825         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31826
31827         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31828         doubles __mpexp_twomm1.  Adjust usage.
31829         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31830         Remove.
31831
31832 2013-01-10  Andreas Schwab  <schwab@suse.de>
31833
31834         [BZ #14964]
31835         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31836         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31837
31838 2013-01-09  David S. Miller  <davem@davemloft.net>
31839
31840         [BZ #15003]
31841         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31842         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31843         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31844         (TCP_FASTOPEN): Define.
31845         (tcp_repair_opt): New structure.
31846         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31847         enum values.
31848         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31849         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31850         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31851         (tcp_cookie_transactions): New structure.
31852
31853 2013-01-09  Anton Blanchard  <anton@samba.org>
31854
31855         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31856         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31857         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31858         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31859
31860 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31861
31862         * include/features.h (__USE_ANSI): Remove.
31863
31864 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31865
31866         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31867
31868         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31869
31870 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31871
31872         * sysdeps/s390/fpu/libm-test-ulps: Update.
31873
31874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31875
31876         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31877         (__acr): Likewise.
31878         (__cpy): Likewise.
31879         (norm): Likewise.
31880         (denorm): Likewise.
31881         (__mp_dbl): Likewise.
31882         (__dbl_mp): Likewise.
31883         (add_magnitudes): Likewise.
31884         (sub_magnitudes): Likewise.
31885         (__add): Likewise.
31886         (__sub): Likewise.
31887         (__mul): Likewise.
31888         (__inv): Likewise.
31889         (__dvd): Likewise.
31890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31891         (__acr): Likewise.
31892         (__cpy): Likewise.
31893         (norm): Likewise.
31894         (denorm): Likewise.
31895         (__mp_dbl): Likewise.
31896         (__dbl_mp): Likewise.
31897         (add_magnitudes): Likewise.
31898         (sub_magnitudes): Likewise.
31899         (__add): Likewise.
31900         (__sub): Likewise.
31901         (__mul): Likewise.
31902         (__inv): Likewise.
31903         (__dvd): Likewise.
31904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31905         (__acr): Likewise.
31906         (__cpy): Likewise.
31907         (norm): Likewise.
31908         (denorm): Likewise.
31909         (__mp_dbl): Likewise.
31910         (__dbl_mp): Likewise.
31911         (add_magnitudes): Likewise.
31912         (sub_magnitudes): Likewise.
31913         (__add): Likewise.
31914         (__sub): Likewise.
31915         (__mul): Likewise.
31916         (__inv): Likewise.
31917         (__dvd): Likewise.
31918
31919 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31920
31921         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31922         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31923         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31924         2 && __USE_EXTERN_INLINES]: Likewise.
31925
31926 2013-01-08  Andreas Jaeger  <aj@suse.de>
31927
31928         [BZ# 14985]
31929         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31930         Remove.
31931         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31932         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31933
31934 2013-01-07  Anton Blanchard  <anton@samba.org>
31935
31936         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31937         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31938         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31939         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31940         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31941         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31942         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31943         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31945         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31946         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31947         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31948         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31949         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31950         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31951         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31952         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31953         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31954         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31955         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31956         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31957         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31958         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31959         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31960         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31961         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31962         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31963         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31964         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31965         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31966         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31968         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31969         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31970         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31971         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31973         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31974         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31975         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31976         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31977         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31978         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31979
31980 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31981
31982         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31983         (__MALLOC_PMT): Likewise.
31984         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31985         [__GNUC__], only on [_LIBC].
31986         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31987         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31988         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31989         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31990         forward declaration.
31991         (realloc_hook_ini): Likewise.
31992         (memalign_hook_ini): Likewise.
31993         (__libc_memalign): Do not use __MALLOC_PMT in variable
31994         declaration.
31995         (__libc_valloc): Likewise.
31996         (__libc_pvalloc): Likewise.
31997         (__libc_calloc): Likewise.
31998         (__posix_memalign): Likewise.
31999
32000         [BZ #14996]
32001         * math/s_casinh.c: Include <float.h>.
32002         (__casinh): Do not do computation with squaring and square root
32003         for large arguments.
32004         * math/s_casinhf.c: Include <float.h>.
32005         (__casinhf): Do not do computation with squaring and square root
32006         for large arguments.
32007         * math/s_casinhl.c: Include <float.h>.
32008         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32009         (__casinhl): Do not do computation with squaring and square root
32010         for large arguments.
32011         * math/libm-test.inc (casin_test): Add more tests.
32012         (casinh_test): Likewise.
32013         * sysdeps/i386/fpu/libm-test-ulps: Update.
32014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32015
32016 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32017
32018         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32019         (__x86_64_raw_data_cache_size): Likewise.
32020         (__x86_64_data_cache_size_half): Likewise.
32021         (__x86_64_raw_data_cache_size_half): Likewise.
32022         (__x86_64_shared_cache_size): Likewise.
32023         (__x86_64_raw_shared_cache_size): Likewise.
32024         (__x86_64_shared_cache_size_half): Likewise.
32025         (__x86_64_raw_shared_cache_size_half): Likewise.
32026         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32027         to ...
32028         (__x86_data_cache_size): This.
32029         (__x86_64_raw_data_cache_size): Renamed to ...
32030         (__x86_raw_data_cache_size): This.
32031         (__x86_64_data_cache_size_half): Renamed to ...
32032         (__x86_data_cache_size_half): This.
32033         (__x86_64_raw_data_cache_size_half): Renamed to ...
32034         (__x86_raw_data_cache_size_half): This.
32035         (__x86_64_shared_cache_size): Renamed to ...
32036         (__x86_shared_cache_size): This.
32037         (__x86_64_raw_shared_cache_size): Renamed to ...
32038         (__x86_raw_shared_cache_size): This.
32039         (__x86_64_shared_cache_size_half): Renamed to ...
32040         (__x86_shared_cache_size_half): This.
32041         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32042         (__x86_raw_shared_cache_size_half): This.
32043         * sysdeps/x86_64/memcpy.S: Updated.
32044         * sysdeps/x86_64/memset.S: Likewise.
32045         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32046         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32047         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32048
32049 2013-01-04  David S. Miller  <davem@davemloft.net>
32050
32051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32052
32053 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32054
32055         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32056         1 to avoid redefinition warning.
32057         (__USE_GNU): Don't define.
32058         (init_signaling_nan): Protoize.
32059
32060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32061
32062 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32063
32064         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32066         (__cpymn): Likewise.
32067         (norm): Remove commented code.
32068         (denorm): Likewise.
32069         (__mp_dbl): Likewise.
32070         (__inv): Likewise.
32071         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32072         (__cpymn): Likewise.
32073         (norm): Remove commented code.
32074         (denorm): Likewise.
32075         (__mp_dbl): Likewise.
32076         (__inv): Likewise.
32077
32078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32079         mp_no value for 1.0 and 2.0.
32080         (norm): Use RADIXI instead of radixi.d.
32081         (denorm): Likewise.
32082         (__mul): Use 0.0 instead of zero.d.
32083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32084         mp_no value for 1.0 and 2.0.
32085         (norm): Use RADIXI instead of radixi.d.
32086         (denorm): Likewise.
32087         (__mul): Use 0.0 instead of zero.d.
32088
32089 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32090
32091         [BZ #14994]
32092         * math/s_casinh.c (__casinh): Reduce finite argument to first
32093         quadrant then set signs of results at the end.
32094         * math/s_casinhf.c (__casinhf): Likewise.
32095         * math/s_casinhl.c (__casinhl): Likewise.
32096         * math/libm-test.inc (casin_test): Add more tests.
32097         (casinh_test): Likewise.
32098         * sysdeps/i386/fpu/libm-test-ulps: Update.
32099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32100
32101 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32102
32103         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32104
32105         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32106
32107         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32108         declarations.
32109         (denorm): Likewise.
32110         (__mp_dbl): Likewise.
32111         (__inv): Likewise.
32112
32113         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32114         and adjust the header comment.
32115
32116         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32117         variable name from declaration.
32118
32119 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32120
32121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32122         Initialize COMMON_CPUID_INDEX_7 element.
32123         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32124         (CPUID_RTM): Likewise.
32125         (HAS_RTM): Likewise.
32126         (COMMON_CPUID_INDEX_7): New enum.
32127
32128 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32129
32130         [BZ #14981]
32131         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32132         size is zero, record memory as freed.
32133
32134 2013-01-03  Andreas Jaeger  <aj@suse.de>
32135
32136         * po/ia.po: Add new Interlingua translation.
32137
32138 2012-01-03  Allan McRae  <allan@archlinux.org>
32139
32140         * locale/programs/localedef.c: Fix description of '--posix' flag.
32141
32142 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32143
32144         * NEWS: Update dates in second copyright notice.
32145         * README: Update copyright dates in example.
32146         * manual/libc.texinfo: Update copyright dates.
32147         * scripts/test-installation.pl: Update copyright date in --version
32148         output.
32149
32150         * hurd/ctty-input.c: Fix copyright notice formatting.
32151         * hurd/ctty-output.c: Likewise.
32152         * hurd/dtable.c: Likewise.
32153         * hurd/hurd-raise.c: Likewise.
32154         * hurd/hurdprio.c: Likewise.
32155         * hurd/msgportdemux.c: Likewise.
32156         * misc/sys/file.h: Likewise.
32157         * misc/sys/ioctl.h: Likewise.
32158         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32159         * sysdeps/mach/hurd/chdir.c: Likewise.
32160         * sysdeps/mach/hurd/fchdir.c: Likewise.
32161         * sysdeps/mach/hurd/rename.c: Likewise.
32162         * sysdeps/mach/hurd/rmdir.c: Likewise.
32163         * sysdeps/mach/hurd/seekdir.c: Likewise.
32164         * sysdeps/mach/hurd/setsid.c: Likewise.
32165         * sysdeps/posix/wait3.c: Likewise.
32166
32167         * All files with FSF copyright notices: Update copyright dates
32168         using scripts/update-copyrights.
32169         * intl/plural.c: Regenerated.
32170         * locale/programs/charmap-kw.h: Likewise.
32171         * locale/programs/locfile-kw.h: Likewise.
32172
32173 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32174
32175         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32176         four values.
32177
32178         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32179         calculation loop and add branch prediction.
32180
32181         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32182         check access beyond bounds of m1np.
32183
32184         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32185         MPTWO.
32186         (__inv): Remove local variable MPTWO to use the global
32187         constant.
32188         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32190         variable MPTWO.
32191         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32192         MP3HALFS static const.
32193
32194 2013-01-01  David S. Miller  <davem@davemloft.net>
32195
32196         * po/ca.po: Update from translation team.
32197
32198 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32199
32200         * scripts/update-copyrights: New file.
32201         * Makeconfig: Reformat copyright notice.
32202         * ctype/ctype.h: Likewise.
32203         * debug/swprintf_chk.c: Likewise.
32204         * elf/dl-cache.c: Likewise.
32205         * elf/dl-debug.c: Likewise.
32206         * elf/dl-object.c: Likewise.
32207         * grp/initgroups.c: Likewise.
32208         * hurd/Makefile: Likewise.
32209         * hurd/hurd/signal.h: Likewise.
32210         * hurd/hurdfault.c: Likewise.
32211         * hurd/hurdioctl.c: Likewise.
32212         * hurd/hurdlookup.c: Likewise.
32213         * hurd/intr-msg.c: Likewise.
32214         * iconv/gconv_open.c: Likewise.
32215         * libio/swprintf.c: Likewise.
32216         * locale/lc-ctype.c: Likewise.
32217         * locale/nl_langinfo.c: Likewise.
32218         * mach/Machrules: Likewise.
32219         * mach/Makefile: Likewise.
32220         * malloc/obstack.h: Likewise.
32221         * manual/Makefile: Likewise.
32222         * manual/tsort.awk: Likewise.
32223         * misc/bits/stab.def: Likewise.
32224         * nis/nis_print_group_entry.c: Likewise.
32225         * nis/nis_table.c: Likewise.
32226         * nis/nss_compat/compat-pwd.c: Likewise.
32227         * nis/nss_compat/compat-spwd.c: Likewise.
32228         * po/Makefile: Likewise.
32229         * posix/fnmatch.c: Likewise.
32230         * posix/regex.h: Likewise.
32231         * resolv/Makefile: Likewise.
32232         * resolv/nss_dns/dns-network.c: Likewise.
32233         * resolv/res_hconf.c: Likewise.
32234         * scripts/gen-sorted.awk: Likewise.
32235         * soft-fp/soft-fp.h: Likewise.
32236         * stdio-common/printf.h: Likewise.
32237         * stdlib/monetary.h: Likewise.
32238         * stdlib/random.c: Likewise.
32239         * stdlib/random_r.c: Likewise.
32240         * sysdeps/generic/Makefile: Likewise.
32241         * sysdeps/gnu/Makefile: Likewise.
32242         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32244         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32245         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32246         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32249         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32250         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32252         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32253         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32254         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32255         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32256         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32257         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32258         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32259         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32260         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32262         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32263         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32264         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32265         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32266         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32267         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32268         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32269         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32270         * sysdeps/mach/hurd/errnos.awk: Likewise.
32271         * sysdeps/mach/hurd/fork.c: Likewise.
32272         * sysdeps/mach/hurd/getcwd.c: Likewise.
32273         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32274         * sysdeps/mach/hurd/mmap.c: Likewise.
32275         * sysdeps/mach/hurd/utimes.c: Likewise.
32276         * sysdeps/mach/hurd/xmknod.c: Likewise.
32277         * sysdeps/posix/profil.c: Likewise.
32278         * sysdeps/posix/readdir_r.c: Likewise.
32279         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32280         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32281         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32282         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32284         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32285         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32286         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32288         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32289         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32290         * sysdeps/pthread/lio_listio.c: Likewise.
32291         * sysdeps/sparc/dl-procinfo.h: Likewise.
32292         * sysdeps/unix/i386/sysdep.S: Likewise.
32293         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32294         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32295         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32296         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32298         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32299         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32300         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32301         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32302         * sysdeps/wordsize-32/divdi3.c: Likewise.
32303         * time/sys/time.h: Likewise.
32304         * wcsmbs/Makefile: Likewise.
32305
32306 2013-01-01  David S. Miller  <davem@davemloft.net>
32307
32308         * po/fr.po: Update from translation team.
32309
32310         * catgets/gencat.c: Update copyright year.
32311         * csu/version.c: Likewise.
32312         * debug/catchsegv.sh: Likewise.
32313         * debug/pcprofiledump.c: Likewise.
32314         * debug/xtrace.sh: Likewise.
32315         * elf/ldconfig.c: Likewise.
32316         * elf/ldd.bash.in: Likewise.
32317         * elf/pldd.c: Likewise.
32318         * elf/sotruss.ksh: Likewise.
32319         * elf/sprof.c: Likewise.
32320         * iconv/iconv_prog.c: Likewise.
32321         * iconv/iconvconfig.c: Likewise.
32322         * locale/programs/locale.c: Likewise.
32323         * locale/programs/localedef.c: Likewise.
32324         * login/programs/pt_chown.c: Likewise.
32325         * malloc/memusage.sh: Likewise.
32326         * malloc/memusagestat.c: Likewise.
32327         * malloc/mtrace.pl: Likewise.
32328         * nscd/nscd.c: Likewise.
32329         * nss/getent.c: Likewise.
32330         * nss/makedb.c: Likewise.
32331         * posix/getconf.c: Likewise.
32332
32333 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32334
32335         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32336         numbers.
32337
32338 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32339
32340         * math/bits/mathcalls.h (modf): Use __nonnull.
32341
32342 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32343
32344         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32345         (split): Use macro CN instead of the bare value.
32346         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32347         could be used.
32348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32349         instead of the bare value.
32350         (power1): Likewise.
32351
32352 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32353
32354         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32355         __ATAN_TWOM.
32356         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32357
32358         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32359         their values.
32360         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32361         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32362         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32363         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32364
32365 2012-12-28  Andreas Jaeger  <aj@suse.de>
32366
32367         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32368         values are from Linux 3.7.
32369
32370         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32371         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32372
32373 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32374
32375         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32376         TRUE case.
32377
32378         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32379         (norm): Likewise.
32380         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32381         variables with preprocessor constants.
32382         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32383         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32384         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32385
32386 2012-12-27  Bruno Haible  <bruno@clisp.org>
32387
32388         [BZ #14317]
32389         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32390         only if needed.
32391
32392 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32393
32394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32395         and use variable directly.
32396         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32397
32398         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32399         MPONE.
32400         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32401         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32402         variable MPONE.
32403         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32404         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32405         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32406         include directive.  Remove local variable MPONE.
32407         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32408         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32409         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32410
32411 2012-12-25  David S. Miller  <davem@davemloft.net>
32412
32413         * version.h (RELEASE): Set to "development".
32414         (VERSION): Set to "2.17.90".
32415         * NEWS: Add 2.18 section.
32416
32417 2012-12-21  David S. Miller  <davem@davemloft.net>
32418
32419         * po/hr.po: Update from translation team.
32420
32421 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32422
32423         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32424
32425 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32426
32427         * NEWS:  Mention new memcpy for MIPS.
32428
32429 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32430
32431         * manual/contrib.texi (Contributors): Spelling correction.
32432
32433 2012-12-15  David S. Miller  <davem@davemloft.net>
32434
32435         * po/ru.po: Update from translation team.
32436
32437 2012-12-13  David S. Miller  <davem@davemloft.net>
32438
32439         * NEWS: Mention IFUNC testsuite enhancements.
32440
32441         * po/pl.po: Update from translation team.
32442         * po/bg.po: Likewise.
32443
32444         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32445         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32446
32447 2012-12-11  David S. Miller  <davem@davemloft.net>
32448
32449         * po/sv.po: Update from translation team.
32450
32451         * po/vi.po: Update from translation team.
32452
32453         * po/cs.po: Update from translation team.
32454
32455         * po/de.po: Update from translation team.
32456         * po/eo.po: Likewise.
32457         * po/nl.po: Likewise.
32458
32459 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32460
32461         [BZ #14246]
32462         * manual/argp.texi (Argp Helper Functions): Move node to follow
32463         Argp Parsing State.
32464
32465         [BZ #14872]
32466         * manual/conf.texi (Limits on File System Capacity): Mention if
32467         terminating null is included in the max size.
32468
32469 2012-12-10  Andreas Jaeger  <aj@suse.de>
32470
32471         * po/cs.po: Update from translation team.
32472
32473 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32474
32475         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32476         void pointer and cast to uintptr_t.
32477         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32478         path.
32479         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32480         * sysdeps/s390/s390-64/memset.S: Likewise.
32481
32482 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32483
32484         [BZ #14833]
32485         * menual/message.texi (Message Translation): Fix typos.
32486         (Helper programs for gettext): Likewise.
32487
32488 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32489
32490         [BZ #14898]
32491         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32492         Change to -1.
32493
32494 2012-12-07  David S. Miller  <davem@davemloft.net>
32495
32496         * po/libc.pot: Update.
32497
32498 2012-12-07  Richard Henderson  <rth@redhat.com>
32499
32500         [BZ #10114]
32501         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32502         normal/normal case to before the switch.
32503         (_FP_DIV): Likewise.
32504
32505 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32506             Mike Frysinger  <vapier@gentoo.org>
32507
32508         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32509         check for __NR_fadvise64_64.
32510
32511 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32512
32513         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32514         0, not just to plain "0" as a statement.
32515         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32516         with cw.
32517
32518 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32519
32520         * NEWS: Use sourceware.org in Bugzilla URL.
32521
32522 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32523
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32525         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32526
32527         * stdio-common/tst-put-error.c (do_test): Add newline to the
32528         padded test to ensure flush.
32529
32530 2012-12-05  Jeff Law  <law@redhat.com>
32531
32532         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32533
32534 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32535
32536         * README: Don't refer to ports add-on as distributed separately.
32537         Mention AArch64 in list of systems supported in the ports add-on.
32538
32539         * LICENSES: Add more non-FSF copyright and license notices.
32540
32541         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32542         ((unused)).
32543
32544         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32545
32546         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32547         10000 as width of padded output.
32548
32549 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32550
32551         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32552
32553         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32554         variable LX with __attribute__ ((unused)).
32555         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32556         Likewise.
32557         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32560         with __attribute__ ((unused)).
32561
32562 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32563
32564         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32565
32566 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32567
32568         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32569         (CFLAGS-nldbl-acos.c): New variable.
32570         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32571         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32572         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32573         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32574         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32575         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32576         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32577         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32578         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32579         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32580         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32581         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32582         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32583         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32584         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32585         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32586         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32587         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32588         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32589         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32590         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32591         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32592         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32593         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32594         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32595         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32596         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32597         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32598         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32599         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32600         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32601         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32602         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32603         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32604         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32605         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32606         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32607         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32608         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32609         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32610         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32611         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32612         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32613         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32614         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32615         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32616         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32617         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32618         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32619         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32620         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32621         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32622         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32623         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32624         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32625         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32626         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32627         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32628         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32629         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32630         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32631         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32632         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32633         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32634         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32635         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32636         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32637         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32638         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32639         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32640         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32641         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32642         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32643         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32644         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32645         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32646         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32647         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32648         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32649         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32650         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32651         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32652         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32653         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32654         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32655         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32656         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32657         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32658         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32659         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32660         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32661         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32662         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32663         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32664         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32665         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32666         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32667
32668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32669         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32670
32671         [BZ #14914]
32672         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32673         whole low double instead of just low 47 bits when splitting values
32674         into two parts.
32675
32676 2012-12-03  Allan McRae  <allan@archlinux.org>
32677
32678         * manual/stdio.texi (Predefined Printf Handlers): Remove
32679         @hsep and @vsep usage.
32680
32681 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32682
32683         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32684         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32685
32686 2012-12-03  Jeff Law  <law@redhat.com>
32687
32688         * time/sys/time.h (settimeofday): Do not mark TV argument
32689         as __nonnull.
32690
32691 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32692
32693         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32694         when currently writing and seek to current position when not.
32695         * libio/Makefile (tests): Remove bug-fclose1.
32696         * libio/bug-fclose1.c: Delete.
32697
32698 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32699
32700         * manual/arith.texi (feenableexcept): Fix typo.
32701         (fedisableexcept): Likewise.
32702
32703 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32704
32705         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32706         second, differently-typed declaration, rather than a cast.
32707
32708 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32709
32710         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32711         * include/rpc/svc.h: ... here.
32712
32713 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32714
32715         [BZ #13013]
32716         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32717         depending n and resplen2 to catch cases where answer
32718         equals answerp2.
32719
32720 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32721
32722         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32723         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32724
32725 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32726
32727         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32728
32729 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32730
32731         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32732
32733 2012-11-28  Jeff Law  <law@redhat.com>
32734
32735         [BZ #13761]
32736         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32737         dataset_temporary.  Track alloca usage into alloca_used.
32738         If dataset is large allocate and release it via malloc/free.
32739
32740 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32741
32742         [BZ #14197]
32743         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32744
32745 2012-11-28  David S. Miller  <davem@davemloft.net>
32746
32747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32748
32749 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32750
32751         [BZ #14803]
32752         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32753         of pi/2 rounded to nearest to 64 bits.
32754         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32755         nearest to 64 bits.
32756         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32757         bits.
32758
32759 2012-11-28  Jeff Law <law@redhat.com>
32760             Martin Osvald <mosvald@redhat.com>
32761
32762         [BZ #14889]
32763         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32764         * sunrpc/svc.c: Include time.h.
32765         (__svc_accept_failed): New function.
32766         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32767         any reason other than EINTR, call __svc_accept_failed.
32768         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32769         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32770
32771 2012-11-28  Andreas Schwab  <schwab@suse.de>
32772
32773         * scripts/abilist.awk: Also handle indirect functions in .opd
32774         section.
32775
32776 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32777
32778         [BZ #13881]
32779         * sysdeps/x86/fpu/powl_helper.c: New file.
32780         * sysdeps/x86/fpu/Makefile: Likewise.
32781         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32782         (p3): New object.
32783         (__ieee754_powl): Use __powl_helper for finite arguments except
32784         integer exponents below 8.
32785         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32786         (p3): New object.
32787         (__ieee754_powl): Use __powl_helper for finite arguments except
32788         integer exponents below 8.
32789         * math/libm-test.inc (pow_test): Add more tests and enable some
32790         previously disabled tests.
32791         * sysdeps/i386/fpu/libm-test-ulps: Update.
32792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32793
32794 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32795             Carlos O'Donell  <carlos_odonell@mentor.com>
32796
32797         * nss/makedb.c (is_prime): Assert that input is odd and greater
32798         than 4.  Note that fact in a comment too.
32799         (next_prime): Add 4 to input.
32800
32801 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32802
32803         [BZ #11741]
32804         * libio/Makefile (tests): Add test case tst-fwrite-error.
32805         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32806         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32807         * libio/tst-fwrite-error.c: New test case.
32808
32809 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32810
32811         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32812         before casting to void *.
32813         * include/libc-internal.h (__pointer_type): New macro.
32814         (__integer_if_pointer_type_sub): Likewise.
32815         (__integer_if_pointer_type): Likewise.
32816         (cast_to_integer): Likewise.
32817         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32818         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32819         before casting to atomic64_t.
32820         (atomic_exchange_acq): Likewise.
32821         (__arch_exchange_and_add_body): Likewise.
32822         (__arch_add_body): Likewise.
32823         (atomic_add_negative): Likewise.
32824         (atomic_add_zero): Likewise.
32825
32826 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32827
32828         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32829         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32830         (add_fdes): Likewise.
32831         (linear_search_fdes): Likewise.
32832         (binary_search_unencoded_fdes): Likewise.
32833
32834 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32835
32836         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32837
32838 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32839
32840         * configure.in: Autodetect C++ header directories.
32841         * configure: Regenerated.
32842
32843 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32844
32845         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32846
32847 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32848
32849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32850
32851 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32852
32853         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32854         LDBL_MANT_DIG == 106]: Disable some tests.
32855         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32856         Likewise.
32857         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32858         Likewise.
32859
32860         [BZ #14871]
32861         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32862         input for small inputs.  Return +/- pi/2 for large inputs.
32863         * math/libm-test.inc (atan_test): Add more tests.
32864
32865         * sysdeps/generic/unwind-dw2-fde-glibc.c
32866         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32867         __attribute__ ((unused)).
32868
32869         [BZ #14645]
32870         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32871         x * y if x and y are nonzero and z is zero.
32872
32873         [BZ #14811]
32874         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32875         nonzero exponents with absolute value below 0x1p-117 to +/-
32876         0x1p-117.
32877
32878         [BZ #14869]
32879         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32880         up arguments below 2**-450, not just those below 2**-500.
32881         * math/libm-test.inc (hypot_test): Add another test.
32882
32883         [BZ #14868]
32884         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32885         Return a+b for ratio over 2**120, not 2**60.
32886         * math/libm-test.inc (hypot_test): Add another test.
32887
32888         * math/libm-test.inc (clog_test): Use
32889         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32890         (clog10_test): Likewise.
32891
32892         [BZ #6778]
32893         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32894
32895 2012-11-22  Andreas Schwab  <schwab@suse.de>
32896
32897         * sysdeps/i386/fpu/libm-test-ulps: Update.
32898
32899 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32900
32901         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32902         printf output with newline.
32903
32904 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32905
32906         [BZ #14865]
32907         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32908         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32909         -z nodlopen, -z initfirst and -z execstack support.
32910         * configure: Regenerated.
32911
32912         * elf/elf.h (DF_1_NODIRECT): New macro.
32913         (DF_1_IGNMULDEF): Likewise.
32914         (DF_1_NOKSYMS): Likewise.
32915         (DF_1_NOHDR): Likewise.
32916         (DF_1_EDITED): Likewise.
32917         (DF_1_NORELOC): Likewise.
32918         (DF_1_SYMINTPOSE): Likewise.
32919         (DF_1_GLOBAUDIT): Likewise.
32920         (DF_1_SINGLETON): Likewise.
32921         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32922         DT_1_SUPPORTED_MASK bits.
32923         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32924
32925 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32926
32927         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32928
32929 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32930
32931         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32932         macro.
32933
32934         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32935         (sendmmsg): Move declarations...
32936         * socket/sys/socket.h: ... here.
32937         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32938         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32939         include it from...
32940         * socket/recvmmsg.c: ... this new file.
32941         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32942         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32943         definition of __sendmmsg hidden.
32944         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32945         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32946         Move ENOSYS stub into and include it from...
32947         * socket/sendmmsg.c: ... this new file.
32948         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32949         (sysdep_routines): Move recvmmsg and sendmmsg...
32950         * socket/Makefile (routines): ... here.
32951         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32952         (GLIBC_PRIVATE): Add __sendmmsg.
32953         * include/sys/socket.h (__sendmmsg): Add declarations.
32954         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32955         sendmmsg.
32956
32957 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32958
32959         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32960         variable I1 with __attribute__ ((unused)).
32961         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32962
32963 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32964
32965         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32966         DUMMY variables with __attribute__ ((unused)).
32967
32968         * bits/byteswap.h: Include <bits/types.h>.
32969         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32970
32971 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32972
32973         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32974         string_t.  Do not manually set errno.
32975         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32976         length with __strnlen.  Make sure to both set errno and return it on
32977         failure.
32978
32979 2012-11-19  David S. Miller  <davem@davemloft.net>
32980
32981         With help from Joseph Myers.
32982         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32983         very large arguments properly.
32984         * math/libm-test.inc (atan_test): New tests.
32985         (atan2_test): New tests.
32986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32988
32989 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32990
32991         [BZ #14856]
32992         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32993         Define to 3.
32994
32995         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32996         [POSIX] (EADDRNOTAVAIL): Likewise.
32997         [POSIX] (EAFNOSUPPORT): Likewise.
32998         [POSIX] (EALREADY): Likewise.
32999         [POSIX] (ECONNABORTED): Likewise.
33000         [POSIX] (ECONNREFUSED): Likewise.
33001         [POSIX] (ECONNRESET): Likewise.
33002         [POSIX] (EDESTADDRREQ): Likewise.
33003         [POSIX] (EDQUOT): Likewise.
33004         [POSIX] (EHOSTUNREACH): Likewise.
33005         [POSIX] (EIDRM): Likewise.
33006         [POSIX] (EISCONN): Likewise.
33007         [POSIX] (ELOOP): Likewise.
33008         [POSIX] (EMULTIHOP): Likewise.
33009         [POSIX] (ENETDOWN): Likewise.
33010         [POSIX] (ENETUNREACH): Likewise.
33011         [POSIX] (ENOBUFS): Likewise.
33012         [POSIX] (ENODATA): Likewise.
33013         [POSIX] (ENOLINK): Likewise.
33014         [POSIX] (ENOMSG): Likewise.
33015         [POSIX] (ENOPROTOOPT): Likewise.
33016         [POSIX] (ENOSR): Likewise.
33017         [POSIX] (ENOSTR): Likewise.
33018         [POSIX] (ENOTCONN): Likewise.
33019         [POSIX] (ENOTSOCK): Likewise.
33020         [POSIX] (EOPNOTSUPP): Likewise.
33021         [POSIX] (EOVERFLOW): Likewise.
33022         [POSIX] (EPROTO): Likewise.
33023         [POSIX] (EPROTONOSUPPORT): Likewise.
33024         [POSIX] (EPROTOTYPE): Likewise.
33025         [POSIX] (ESTALE): Likewise.
33026         [POSIX] (ETIME): Likewise.
33027         [POSIX] (ETXTBSY): Likewise.
33028         [POSIX] (EWOULDBLOCK): Likewise.
33029         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33030         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33031         [POSIX] (SEEK_CUR): Likewise.
33032         [POSIX] (SEEK_END): Likewise.
33033         [POSIX || UNIX98] (mode_t): Do not require.
33034         [POSIX] (off_t): Likewise.
33035         [POSIX] (pid_t): Likewise.
33036         [POSIX] (sys/stat.h): Do not allow header.
33037         [POSIX] (unistd.h): Likewise.
33038         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33039         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33040         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33041         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33042         require.
33043         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33044         sigevent): Specify elements.
33045         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33046         entry.
33047         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33048         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33049
33050         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33051         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33052         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33053         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33054         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33055         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33056         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33057         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33058         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33059         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33060         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33061         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33062         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33063         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33064         Likewise.
33065         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33066         Likewise.
33067         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33068         Likewise.
33069         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33070         Likewise.
33071         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33072         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33073         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33074         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33075         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33076         Specify lower bound on value.
33077         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33078         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33079         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33080         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33081         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33082         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33083         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33084         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33085         value.
33086         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33087         as optional.
33088         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33089         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33090         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33091         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33092         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33093         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33094         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33095         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33096         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33097         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33098         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33099         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33100         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33101         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33102         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33103         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33104         entry.
33105         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33106         optional.
33107         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33108         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33109         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33110         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33111         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33112         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33113         Likewise.
33114         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33115         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33116         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33117         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33118         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33119         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33120         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33121         as optional.
33122         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33123         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33124         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33125         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33126         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33127         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33128         specify as optional.
33129         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33130         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33131         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33132         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33133         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33134         [XPG3] (NL_LANGMAX): Likewise.
33135         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33136         [POSIX || XPG3] (NL_NMAX): Likewise.
33137         [POSIX || XPG3] (NL_SETMAX): Likewise.
33138         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33139         [XPG3] (NZERO): Likewise.
33140         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33141         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33142         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33143         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33144         (REG_ERANGE): Expect.
33145         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33146         optional-constant.
33147         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33148         Use (void) in prototype.
33149         [POSIX] (*_t): Allow.
33150         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33151         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33152         (WRDE_BADVAL): Expect.
33153
33154         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33155         expect.
33156         [XPG3 || XPG4] (O_RSYNC): Likewise.
33157         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33158         Likewise.
33159         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33160         [XPG3 || XPG4] (sigqueue): Likewise.
33161         [XPG3 || XPG4] (sigtimedwait): Likewise.
33162         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33163         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33164         [XPG3 || XPG4] (vsnprintf): Likewise.
33165         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33166         Likewise.
33167         [XPG3 || XPG4] (blksize_t): Likewise.
33168         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33169         Likewise.
33170         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33171         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33172         [XPG3 || XPG4] (struct itimerspec): Likewise.
33173         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33174         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33175         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33176         [XPG3 || XPG4] (clockid_t): Likewise.
33177         [XPG3 || XPG4] (timer_t): Likewise.
33178         [XPG3 || XPG4] (clock_getres): Likewise.
33179         [XPG3 || XPG4] (clock_gettime): Likewise.
33180         [XPG3 || XPG4] (clock_settime): Likewise.
33181         [XPG3 || XPG4] (nanosleep): Likewise.
33182         [XPG3 || XPG4] (timer_create): Likewise.
33183         [XPG3 || XPG4] (timer_delete): Likewise.
33184         [XPG3 || XPG4] (timer_gettime): Likewise.
33185         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33186         [XPG3 || XPG4] (timer_settime): Likewise.
33187         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33188         [XPG3 || XPG4] (getlogin_r): Likewise.
33189         [XPG3 || XPG4] (pread): Likewise.
33190         [XPG3 || XPG4] (pthread_atfork): Likewise.
33191         [XPG3 || XPG4] (pwrite): Likewise.
33192
33193         [BZ #14835]
33194         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33195         <bits/siginfo.h>.
33196
33197 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33198
33199         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33200         finalizing MALLSTREAM.
33201
33202         * sysdeps/mach/hurd/syncfs.c: New file.
33203
33204 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33205
33206         [BZ #14719]
33207         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33208         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33209         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33210         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33211         (_nss_dns_gethostbyname4_r): Likewise.
33212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33213         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33214
33215 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33216
33217         [BZ #13763]
33218         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33219
33220 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33221
33222         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33223         * elf/cache.c (print_entry): Print ",AArch64" for
33224         FLAG_AARCH64_LIB64
33225
33226         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33227         * elf/cache.c (print_entry): Print ",hard-float" for
33228         FLAG_ARM_LIBHF.
33229
33230 2012-11-18  David S. Miller  <davem@davemloft.net>
33231
33232         With help from Joseph Myers.
33233         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33234         cutoff to 2**-13.
33235         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33236         cutoff to 2**-25.
33237         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33238         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33239         small.
33240         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33241         * math/libm-test.inc (y0_test): New tests.
33242         (y1_test): New tests.
33243         * sysdeps/i386/fpu/libm-test-ulps: Update.
33244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33246
33247 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33248
33249         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33250         64-bit targets.
33251         * configure: Regenerated.
33252
33253 2012-11-17  David S. Miller  <davem@davemloft.net>
33254
33255         [BZ #14811]
33256         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33257         nonzero exponents with absolute value below 0x1p-128 to +/-
33258         0x1p-128.
33259
33260 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33261
33262         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33263
33264         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33265
33266         * posix/getconf-speclist.c: New file.
33267         * posix/posix-envs.def: Likewise.
33268         * posix/confstr.c (START_ENV_GROUP): New macro.
33269         (END_ENV_GROUP): Likewise.
33270         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33271         (KNOWN_PRESENT_ENV_STRING): Likewise.
33272         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33273         (UNKNOWN_ENVIRONMENT): Likewise.
33274         (confstr): Include posix-envs.def instead of handling
33275         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33276         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33277         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33278         (END_ENV_GROUP): Likewise.
33279         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33280         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33281         (UNKNOWN_ENVIRONMENT): Likewise.
33282         (__sysconf): Include posix-envs.def instead of handling associated
33283         cases directly here.
33284         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33285         preprocessing getconf-speclist.c rather than running getconf or
33286         generating empty file.
33287
33288 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33289
33290         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33291
33292 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33293
33294         [BZ #14672]
33295         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33296
33297 2012-11-16  David S. Miller  <davem@davemloft.net>
33298
33299         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33300         smaller than LDBL_EPSILON/2.0L, just return xm1.
33301
33302 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33303
33304         * elf/tst-array1.c (init): Set constructor priority to 1000.
33305         (fini): Set destructor priority to 1000.
33306         * elf/tst-array2dep.c: Likewise.
33307
33308 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33309
33310         [BZ #11741]
33311         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33312         (_IO_new_file_xsputn): Also return EOF if none of the input
33313         data was written when overflow failed.
33314         * libio/iopadn.c (_IO_padn): Likewise.
33315         * libio/iowpadn.c (_IO_wpadn): Likewise.
33316         * stdio-common/tst-put-error.c: Add copyright notice.
33317         (do_test): Add case for printing padded string.
33318         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33319         _IO_padn returned error.
33320         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33321         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33322         return EOF.
33323
33324 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33325
33326         * libio/libioP.h: Add comment note that the references to C++
33327         bits are now obsolete.
33328
33329 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33330
33331         * math/libm-test.inc (check_complex): Use asprintf.
33332
33333 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33334
33335         * debug/pcprofiledump.c (print_version): Update copyright year.
33336         * malloc/memusagestat.c (print_version): Likewise.
33337
33338 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33339
33340         [BZ #14831]
33341         * elf/Makefile (tests): Add tst-audit8.
33342         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33343         ($(objpfx)tst-audit8.out): New target.
33344         (tst-audit8-ENV): New variable.
33345         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33346         audit if l_reloc_result is NULL.
33347         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33348         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33349         * elf/tst-audit8.c: New file.
33350
33351 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33352
33353         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33354         * misc/Makefile (CFLAGS-select.c): Define.
33355         * posix/Makefile (CFLAGS-pause.c): Define.
33356
33357 2012-11-13  David S. Miller  <davem@davemloft.net>
33358
33359         * crypt/Makefile: Move test targets after toplevel Rules
33360         inclusion.  Grab any necessary sysdep routines when linking.
33361         * crypt/md5.c (md5_process_block): Remove define, we will always
33362         name it __md5_process_block.
33363         (md5_finish_ctx): Update md5_process_block call.
33364         (md5_stream): Likewise.
33365         (md5_process_bytes): Likewise.
33366         (md5_process_block): Rename to __md5_process_block and move to ...
33367         * crypt/md5-block.c: ... here.
33368         * crypt/sha256.c (sha256_process_block): Move to ...
33369         * crypt/sha256-block.c: ... here.
33370         * crypt/sha512.c (sha512_process_block): Move to ...
33371         * crypt/sha512-block.c: ... here.
33372         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33373         path.
33374         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33375         * sysdeps/sparc/sparc64/multiarch/Makefile
33376         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33377         crypt subdir.
33378         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33379         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33380         multiarch changes.
33381         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33382         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33383         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33384         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33385         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33386         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33387         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33388         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33389         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33390         file.
33391         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33392         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33393         file.
33394         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33395
33396 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33397
33398         * timezone/tzselect.ksh: Update from tzcode git revision
33399         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33400         * timezone/zdump.c: Likewise.
33401         * timezone/zic.c: Likewise.
33402         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33403         in TZVERSION setting, not $(PKGVERSION).
33404         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33405         REPORT_BUGS_TO settings.
33406
33407         [BZ #14838]
33408         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33409         macro.
33410
33411 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33412
33413         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33414         detection to immediately after _FP_ROUND().
33415         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33416         bits are 0.
33417
33418 2012-11-11  David S. Miller  <davem@davemloft.net>
33419
33420         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33421         inttypes.h
33422         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33423         __close rather than their public counterparts.
33424
33425 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33426
33427         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33428         file.
33429         [UNIX98] (sem_timedwait): Do not expect.
33430         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33431         [XPG4 || UNIX98] (sockatmark): Do not expect.
33432         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33433         (clock_getcpuclockid): Do not expect.
33434         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33435         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33436         Do not expect.
33437         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33438         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33439         [UNIX98] (vwscanf): Likewise.
33440         [UNIX98] (vswscanf): Likewise.
33441
33442 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33443
33444         * timezone/version.h: Remove file.
33445         * timezone/README: Do not refer to version.h.
33446         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33447         $(objpfx)version.h.
33448         ($(objpfx)zdump.o): Likewise.
33449         ($(objpfx)version.h): New target.
33450
33451         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33452         2012i.
33453         * timezone/README: Don't mention modification to tzselect.ksh.
33454         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33455         work on unmodified tzselect.ksh.  Substitute version numbers in
33456         tzselect.ksh.
33457
33458         * Makefile (format-me): Remove.
33459         (INSTALL): Adjust indentation.  Use commands directly instead of
33460         using $(format-me).
33461
33462         * aclocal.m4 (ACX_PKGVERSION): New macro.
33463         (ACX_BUGURL): Likewise.
33464         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33465         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33466         (REPORT_BUGS_TO): Likewise.
33467         * configure: Regenerated.
33468         * config.h.in (PKGVERSION): New macro.
33469         (REPORT_BUGS_TO): Likewise.
33470         * config.make.in (PKGVERSION): New variable.
33471         (PKGVERSION_TEXI): Likewise.
33472         (REPORT_BUGS_TO): Likewise.
33473         (REPORT_BUGS_TEXI): Likewise.
33474         * Makefile (format-me): Use -I$(common-objpfx)manual.
33475         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33476         ($(common-objpfx)manual/%): New target.
33477         (manual/%): Remove target.
33478         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33479         (print_version): Use PKGVERSION.
33480         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33481         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33482         and REPORT_BUGS_TO.
33483         ($(objpfx)xtrace): Likewise.
33484         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33485         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33486         (print_version): Use PKGVERSION.
33487         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33488         (do_version): Use PKGVERSION.
33489         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33490         REPORT_BUGS_TO.
33491         (common-ldd-rewrite): Likewise.
33492         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33493         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33494         (print_version): Use PKGVERSION.
33495         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33496         * elf/pldd.c (argp_program_bug_address): Remove variable.
33497         (more_help): New function.
33498         (argp): Use more_help.
33499         (print_version): Use PKGVERSION.
33500         * elf/sln.c (main): Use PKGVERSION.
33501         (usage): Use REPORT_BUGS_TO.
33502         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33503         (top level): Use PKGVERSION.
33504         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33505         (print_version): Use PKGVERSION.
33506         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33507         (print_version): Use PKGVERSION.
33508         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33509         (print_version): Use PKGVERSION.
33510         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33511         (print_version): Use PKGVERSION.
33512         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33513         (print_version): Use PKGVERSION.
33514         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33515         (print_version): Use PKGVERSION.
33516         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33517         and BUGURL.
33518         ($(objpfx)memusage): Likewise.
33519         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33520         (do_version): Use PKGVERSION.
33521         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33522         (print_version): Use PKGVERSION.
33523         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33524         ($PKGVERSION): New variable.
33525         ($REPORT_BUGS_TO): Likewise.
33526         (usage): Use $REPORT_BUGS_TO.
33527         (top level): Use $PKGVERSION.
33528         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33529         ($(objpfx)pkgvers.texi): New rule.
33530         ($(objpfx)stamp-pkgvers): Likewise.
33531         * manual/install.texi: Include pkgvers.texi.
33532         (--with-pkgversion): Document new configure option.
33533         (--with-bugurl): Likewise.
33534         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33535         than necessarily for this particular distribution.  Use
33536         REPORT_BUGS_TO for where to report bugs.
33537         * INSTALL: Regenerated.
33538         * manual/libc.texinfo: Include pkgvers.texi.
33539         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33540         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33541         (print_version): Use PKGVERSION.
33542         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33543         (print_version): Use PKGVERSION.
33544         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33545         (print_version): Use PKGVERSION.
33546         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33547         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33548         macro.
33549         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33550         (print_version): Use PKGVERSION.
33551         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33552         (print_version): Use PKGVERSION.
33553         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33554         and PKGVERSION.
33555
33556         * timezone/checktab.awk: Update from tzcode 2012i.
33557         * timezone/ialloc.c: Likewise.
33558         * timezone/private.h: Likewise.
33559         * timezone/scheck.c: Likewise.
33560         * timezone/tzfile.h: Likewise.
33561         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33562         (TZVERSION): Hardcode tzcode version number.
33563         * timezone/zdump.c: Update from tzcode 2012i.
33564         * timezone/zic.c: Likewise.
33565         * timezone/version.h: New file.
33566         * timezone/README: Describe version.h.  Update upstream location.
33567
33568         [BZ #14824]
33569         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33570         (mktemp): Enable declaration.
33571         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33572         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33573         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33574         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33575         Likewise.
33576         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33577         Likewise.
33578         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33579         Likewise.
33580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33581         Likewise.
33582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33583         Likewise.
33584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33585         Likewise.
33586
33587         [BZ #14821]
33588         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33589         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33590         for copies of such integer values.
33591         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33592         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33593
33594 2012-11-09  Andreas Jaeger  <aj@suse.de>
33595
33596         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33597         definitions and declarations that are provided by
33598         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33599
33600 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33601
33602         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33603         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33604         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33605         definition.
33606
33607 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33608
33609         * elf/elf.h: Update comment before AArch64 relocations.
33610
33611 2012-11-07  David S. Miller  <davem@davemloft.net>
33612
33613         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33614         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33615         (__start_context): Declare.
33616         (__makecontext_ret): Delete.
33617         (__makecontext): Hook up __start_context instead of
33618         __makecontext_ret.
33619         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33620         (sysdep_routines): Add __start_context when in stdlib.
33621
33622 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33623
33624         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33625         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33626         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33627         hardcoded "nm".
33628         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33629         (READELF): New variable.  Use it instead of hardcoded "readelf".
33630
33631 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33632
33633         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33634         * sysdeps/x86/Makefile: Here.
33635         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33636         * sysdeps/x86/tst-xmmymm.sh: This.
33637
33638 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33639
33640         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33641         expectations.
33642         [UNIX98] (pthread_barrier_t): Do not expect.
33643         [UNIX98] (pthread_barrierattr_t): Likewise.
33644         [UNIX98] (pthread_spinlock_t): Likewise.
33645         [UNIX98] (pthread_barrier_destroy): Likewise.
33646         [UNIX98] (pthread_barrier_init): Likewise.
33647         [UNIX98] (pthread_barrier_wait): Likewise.
33648         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33649         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33650         [UNIX98] (pthread_barrierattr_init): Likewise.
33651         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33652         [UNIX98] (pthread_getcpuclockid): Likewise.
33653         [UNIX98] (pthread_mutex_timedlock): Likewise.
33654         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33655         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33656         [UNIX98] (pthread_sigmask): Likewise.
33657         [UNIX98] (pthread_spin_destroy): Likewise.
33658         [UNIX98] (pthread_spin_init): Likewise.
33659         [UNIX98] (pthread_spin_lock): Likewise.
33660         [UNIX98] (pthread_spin_trylock): Likewise.
33661         [UNIX98] (pthread_spin_unlock): Likewise.
33662         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33663         Do not expect.
33664         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33665         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33666         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33667         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33668         [XPG3 || XPG4] (pthread_key_t): Likewise.
33669         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33670         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33671         [XPG3 || XPG4] (pthread_once_t): Likewise.
33672         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33673         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33674         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33675         [XPG3 || XPG4] (pthread_t): Likewise.
33676
33677         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33678         not expect.
33679         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33680
33681         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33682         Change function return type to int.
33683
33684         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33685         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33686         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33687         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33688         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33689         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33690         [!POSIX] (posix_madvise): Likewise.
33691         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33692         && !UNIX98].
33693         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33694         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33695         (mode_t): Likewise.
33696         (posix_mem_offset): Likewise.
33697         (posix_typed_mem_get_info): Likewise.
33698         (posix_typed_mem_open): Likewise.
33699
33700         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33701         Change condition to [XOPEN2K8].
33702
33703         * conform/conformtest.pl: Preprocess allow-header data with -x c
33704         instead of from stdin.
33705         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33706         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33707         [C99-based standards] (cerfc): Likewise.
33708         [C99-based standards] (cexp2): Likewise.
33709         [C99-based standards] (cexpm1): Likewise.
33710         [C99-based standards] (clog10): Likewise.
33711         [C99-based standards] (clog1p): Likewise.
33712         [C99-based standards] (clog2): Likewise.
33713         [C99-based standards] (clgamma): Likewise.
33714         [C99-based standards] (ctgamma): Likewise.
33715         [C99-based standards] (cerff): Likewise.
33716         [C99-based standards] (cerfcf): Likewise.
33717         [C99-based standards] (cexp2f): Likewise.
33718         [C99-based standards] (cexpm1f): Likewise.
33719         [C99-based standards] (clog10f): Likewise.
33720         [C99-based standards] (clog1pf): Likewise.
33721         [C99-based standards] (clog2f): Likewise.
33722         [C99-based standards] (clgammaf): Likewise.
33723         [C99-based standards] (ctgammaf): Likewise.
33724         [C99-based standards] (cerfl): Likewise.
33725         [C99-based standards] (cerfcl): Likewise.
33726         [C99-based standards] (cexp2l): Likewise.
33727         [C99-based standards] (cexpm1l): Likewise.
33728         [C99-based standards] (clog10l): Likewise.
33729         [C99-based standards] (clog1pl): Likewise.
33730         [C99-based standards] (clog2l): Likewise.
33731         [C99-based standards] (clgammal): Likewise.
33732         [C99-based standards] (ctgammal): Likewise.
33733         * conform/data/inttypes.h-data [C99-based standards]: Include
33734         stdint.h-data.  Remove all expectations for stdint.h contents.
33735         [C99-based standards] (PRI*): Do not allow.
33736         [C99-based standards] (SCN*): Likewise.
33737         [C99-based standards] (*_t): Likewise.
33738         [C99-based-standards] (PRId8): Expect macro.
33739         [C99-based-standards] (PRIi8): Likewise.
33740         [C99-based-standards] (PRIo8): Likewise.
33741         [C99-based-standards] (PRIu8): Likewise.
33742         [C99-based-standards] (PRIx8): Likewise.
33743         [C99-based-standards] (PRIX8): Likewise.
33744         [C99-based-standards] (SCNd8): Likewise.
33745         [C99-based-standards] (SCNi8): Likewise.
33746         [C99-based-standards] (SCNo8): Likewise.
33747         [C99-based-standards] (SCNu8): Likewise.
33748         [C99-based-standards] (SCNx8): Likewise.
33749         [C99-based-standards] (PRIdLEAST8): Likewise.
33750         [C99-based-standards] (PRIiLEAST8): Likewise.
33751         [C99-based-standards] (PRIoLEAST8): Likewise.
33752         [C99-based-standards] (PRIuLEAST8): Likewise.
33753         [C99-based-standards] (PRIxLEAST8): Likewise.
33754         [C99-based-standards] (PRIXLEAST8): Likewise.
33755         [C99-based-standards] (SCNdLEAST8): Likewise.
33756         [C99-based-standards] (SCNiLEAST8): Likewise.
33757         [C99-based-standards] (SCNoLEAST8): Likewise.
33758         [C99-based-standards] (SCNuLEAST8): Likewise.
33759         [C99-based-standards] (SCNxLEAST8): Likewise.
33760         [C99-based-standards] (PRIdFAST8): Likewise.
33761         [C99-based-standards] (PRIiFAST8): Likewise.
33762         [C99-based-standards] (PRIoFAST8): Likewise.
33763         [C99-based-standards] (PRIuFAST8): Likewise.
33764         [C99-based-standards] (PRIxFAST8): Likewise.
33765         [C99-based-standards] (PRIXFAST8): Likewise.
33766         [C99-based-standards] (SCNdFAST8): Likewise.
33767         [C99-based-standards] (SCNiFAST8): Likewise.
33768         [C99-based-standards] (SCNoFAST8): Likewise.
33769         [C99-based-standards] (SCNuFAST8): Likewise.
33770         [C99-based-standards] (SCNxFAST8): Likewise.
33771         [C99-based-standards] (PRId16): Likewise.
33772         [C99-based-standards] (PRIi16): Likewise.
33773         [C99-based-standards] (PRIo16): Likewise.
33774         [C99-based-standards] (PRIu16): Likewise.
33775         [C99-based-standards] (PRIx16): Likewise.
33776         [C99-based-standards] (PRIX16): Likewise.
33777         [C99-based-standards] (SCNd16): Likewise.
33778         [C99-based-standards] (SCNi16): Likewise.
33779         [C99-based-standards] (SCNo16): Likewise.
33780         [C99-based-standards] (SCNu16): Likewise.
33781         [C99-based-standards] (SCNx16): Likewise.
33782         [C99-based-standards] (PRIdLEAST16): Likewise.
33783         [C99-based-standards] (PRIiLEAST16): Likewise.
33784         [C99-based-standards] (PRIoLEAST16): Likewise.
33785         [C99-based-standards] (PRIuLEAST16): Likewise.
33786         [C99-based-standards] (PRIxLEAST16): Likewise.
33787         [C99-based-standards] (PRIXLEAST16): Likewise.
33788         [C99-based-standards] (SCNdLEAST16): Likewise.
33789         [C99-based-standards] (SCNiLEAST16): Likewise.
33790         [C99-based-standards] (SCNoLEAST16): Likewise.
33791         [C99-based-standards] (SCNuLEAST16): Likewise.
33792         [C99-based-standards] (SCNxLEAST16): Likewise.
33793         [C99-based-standards] (PRIdFAST16): Likewise.
33794         [C99-based-standards] (PRIiFAST16): Likewise.
33795         [C99-based-standards] (PRIoFAST16): Likewise.
33796         [C99-based-standards] (PRIuFAST16): Likewise.
33797         [C99-based-standards] (PRIxFAST16): Likewise.
33798         [C99-based-standards] (PRIXFAST16): Likewise.
33799         [C99-based-standards] (SCNdFAST16): Likewise.
33800         [C99-based-standards] (SCNiFAST16): Likewise.
33801         [C99-based-standards] (SCNoFAST16): Likewise.
33802         [C99-based-standards] (SCNuFAST16): Likewise.
33803         [C99-based-standards] (SCNxFAST16): Likewise.
33804         [C99-based-standards] (PRId32): Likewise.
33805         [C99-based-standards] (PRIi32): Likewise.
33806         [C99-based-standards] (PRIo32): Likewise.
33807         [C99-based-standards] (PRIu32): Likewise.
33808         [C99-based-standards] (PRIx32): Likewise.
33809         [C99-based-standards] (PRIX32): Likewise.
33810         [C99-based-standards] (SCNd32): Likewise.
33811         [C99-based-standards] (SCNi32): Likewise.
33812         [C99-based-standards] (SCNo32): Likewise.
33813         [C99-based-standards] (SCNu32): Likewise.
33814         [C99-based-standards] (SCNx32): Likewise.
33815         [C99-based-standards] (PRIdLEAST32): Likewise.
33816         [C99-based-standards] (PRIiLEAST32): Likewise.
33817         [C99-based-standards] (PRIoLEAST32): Likewise.
33818         [C99-based-standards] (PRIuLEAST32): Likewise.
33819         [C99-based-standards] (PRIxLEAST32): Likewise.
33820         [C99-based-standards] (PRIXLEAST32): Likewise.
33821         [C99-based-standards] (SCNdLEAST32): Likewise.
33822         [C99-based-standards] (SCNiLEAST32): Likewise.
33823         [C99-based-standards] (SCNoLEAST32): Likewise.
33824         [C99-based-standards] (SCNuLEAST32): Likewise.
33825         [C99-based-standards] (SCNxLEAST32): Likewise.
33826         [C99-based-standards] (PRIdFAST32): Likewise.
33827         [C99-based-standards] (PRIiFAST32): Likewise.
33828         [C99-based-standards] (PRIoFAST32): Likewise.
33829         [C99-based-standards] (PRIuFAST32): Likewise.
33830         [C99-based-standards] (PRIxFAST32): Likewise.
33831         [C99-based-standards] (PRIXFAST32): Likewise.
33832         [C99-based-standards] (SCNdFAST32): Likewise.
33833         [C99-based-standards] (SCNiFAST32): Likewise.
33834         [C99-based-standards] (SCNoFAST32): Likewise.
33835         [C99-based-standards] (SCNuFAST32): Likewise.
33836         [C99-based-standards] (SCNxFAST32): Likewise.
33837         [C99-based-standards] (PRId64): Likewise.
33838         [C99-based-standards] (PRIi64): Likewise.
33839         [C99-based-standards] (PRIo64): Likewise.
33840         [C99-based-standards] (PRIu64): Likewise.
33841         [C99-based-standards] (PRIx64): Likewise.
33842         [C99-based-standards] (PRIX64): Likewise.
33843         [C99-based-standards] (SCNd64): Likewise.
33844         [C99-based-standards] (SCNi64): Likewise.
33845         [C99-based-standards] (SCNo64): Likewise.
33846         [C99-based-standards] (SCNu64): Likewise.
33847         [C99-based-standards] (SCNx64): Likewise.
33848         [C99-based-standards] (PRIdLEAST64): Likewise.
33849         [C99-based-standards] (PRIiLEAST64): Likewise.
33850         [C99-based-standards] (PRIoLEAST64): Likewise.
33851         [C99-based-standards] (PRIuLEAST64): Likewise.
33852         [C99-based-standards] (PRIxLEAST64): Likewise.
33853         [C99-based-standards] (PRIXLEAST64): Likewise.
33854         [C99-based-standards] (SCNdLEAST64): Likewise.
33855         [C99-based-standards] (SCNiLEAST64): Likewise.
33856         [C99-based-standards] (SCNoLEAST64): Likewise.
33857         [C99-based-standards] (SCNuLEAST64): Likewise.
33858         [C99-based-standards] (SCNxLEAST64): Likewise.
33859         [C99-based-standards] (PRIdFAST64): Likewise.
33860         [C99-based-standards] (PRIiFAST64): Likewise.
33861         [C99-based-standards] (PRIoFAST64): Likewise.
33862         [C99-based-standards] (PRIuFAST64): Likewise.
33863         [C99-based-standards] (PRIxFAST64): Likewise.
33864         [C99-based-standards] (PRIXFAST64): Likewise.
33865         [C99-based-standards] (SCNdFAST64): Likewise.
33866         [C99-based-standards] (SCNiFAST64): Likewise.
33867         [C99-based-standards] (SCNoFAST64): Likewise.
33868         [C99-based-standards] (SCNuFAST64): Likewise.
33869         [C99-based-standards] (SCNxFAST64): Likewise.
33870         [C99-based-standards] (PRIdMAX): Likewise.
33871         [C99-based-standards] (PRIiMAX): Likewise.
33872         [C99-based-standards] (PRIoMAX): Likewise.
33873         [C99-based-standards] (PRIuMAX): Likewise.
33874         [C99-based-standards] (PRIxMAX): Likewise.
33875         [C99-based-standards] (PRIXMAX): Likewise.
33876         [C99-based-standards] (SCNdMAX): Likewise.
33877         [C99-based-standards] (SCNiMAX): Likewise.
33878         [C99-based-standards] (SCNoMAX): Likewise.
33879         [C99-based-standards] (SCNuMAX): Likewise.
33880         [C99-based-standards] (SCNxMAX): Likewise.
33881         [C99-based-standards] (PRIdPTR): Likewise.
33882         [C99-based-standards] (PRIiPTR): Likewise.
33883         [C99-based-standards] (PRIoPTR): Likewise.
33884         [C99-based-standards] (PRIuPTR): Likewise.
33885         [C99-based-standards] (PRIxPTR): Likewise.
33886         [C99-based-standards] (PRIXPTR): Likewise.
33887         [C99-based-standards] (SCNdPTR): Likewise.
33888         [C99-based-standards] (SCNiPTR): Likewise.
33889         [C99-based-standards] (SCNoPTR): Likewise.
33890         [C99-based-standards] (SCNuPTR): Likewise.
33891         [C99-based-standards] (SCNxPTR): Likewise.
33892         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33893         allow.
33894         * conform/data/stdint.h-data: Update comments to clarify
33895         requirements.
33896         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33897         type.
33898         [C99-based standards] (INT8_MAX): Likewise.
33899         [C99-based standards] (INT16_MIN): Likewise.
33900         [C99-based standards] (INT16_MAX): Likewise.
33901         [C99-based standards] (INT32_MIN): Likewise.
33902         [C99-based standards] (INT32_MAX): Likewise.
33903         [C99-based standards] (INT64_MIN): Likewise.
33904         [C99-based standards] (INT64_MAX): Likewise.
33905         [C99-based standards] (UINT8_MAX): Likewise.
33906         [C99-based standards] (UINT16_MAX): Likewise.
33907         [C99-based standards] (UINT32_MAX): Likewise.
33908         [C99-based standards] (UINT64_MAX): Likewise.
33909         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33910         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33911         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33912         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33913         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33914         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33915         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33916         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33917         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33918         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33919         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33920         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33921         [C99-based standards] (INT_FAST8_MIN): Likewise.
33922         [C99-based standards] (INT_FAST8_MAX): Likewise.
33923         [C99-based standards] (INT_FAST16_MIN): Likewise.
33924         [C99-based standards] (INT_FAST16_MAX): Likewise.
33925         [C99-based standards] (INT_FAST32_MIN): Likewise.
33926         [C99-based standards] (INT_FAST32_MAX): Likewise.
33927         [C99-based standards] (INT_FAST64_MIN): Likewise.
33928         [C99-based standards] (INT_FAST64_MAX): Likewise.
33929         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33930         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33931         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33932         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33933         [C99-based standards] (INTPTR_MIN): Likewise.
33934         [C99-based standards] (INTPTR_MAX): Likewise.
33935         [C99-based standards] (UINTPTR_MAX): Likewise.
33936         [C99-based standards] (INTMAX_MIN): Likewise.
33937         [C99-based standards] (INTMAX_MAX): Likewise.
33938         [C99-based standards] (UINTMAX_MAX): Likewise.
33939         [C99-based standards] (PTRDIFF_MIN): Likewise.
33940         [C99-based standards] (PTRDIFF_MAX): Likewise.
33941         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33942         [C99-based standards] (SIZE_MAX): Likewise.
33943         [C99-based standards] (WCHAR_MAX): Likewise.
33944         [C99-based standards] (WINT_MAX): Likewise.
33945         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33946         constraint on value.
33947         [C99-based standards] (WCHAR_MIN): Likewise.
33948         [C99-based standards] (WINT_MIN): Likewise.
33949         [C99-based standards] (*_t): Allow.
33950         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33951         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33952         Include math.h-data and complex.h-data.  Remove all expectations
33953         of math.h and complex.h contents.
33954         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33955         at end of line.
33956         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33957         (struct tm): Expect tag.
33958         [C99-based-standards] (wcstof): Expect function.
33959         [C99-based-standards] (wcstold): Likewise.
33960         [C99-based-standards] (wcstoll): Likewise.
33961         [C99-based-standards] (wcstoull): Likewise.
33962         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33963         macro-int-constant.  Specify type.
33964         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33965         constraint on value.
33966         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33967         Specify type.
33968         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33969         Specify value.
33970         [ISO C standards]: Do not allow headers.
33971         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33972         wcs[abcdefghijklmnopqrstuvwxyz]*.
33973         [ISO C standards] (*_t): Do not allow.
33974         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33975         Expect function.
33976         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33977         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33978         Specify type.
33979         [ISO C standards]: Do not allow headers.
33980         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33981         is[abcdefghijklmnopqrstuvwxyz]*.
33982         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33983         to[abcdefghijklmnopqrstuvwxyz]*.
33984         [ISO C standards] (*_t): Do not allow.
33985         * conform/data/stdalign.h-data: New file.
33986         * conform/data/stdbool.h-data: Likewise.
33987         * conform/data/stdnoreturn.h-data: Likewise.
33988
33989 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33990
33991         [BZ #14815]
33992         * manual/filesys.texi (Directory Entries): Typo fix.
33993         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33994
33995 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33996
33997         * elf/elf.h (EM_AARCH64): New macro.
33998         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33999         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34000         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34001         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34002         (R_AARCH64_TLSDESC): Likewise.
34003         (NT_ARM_TLS): Likewise.
34004         (NT_ARM_HW_BREAK): Likewise.
34005         (NT_ARM_HW_WATCH): Likewise.
34006
34007 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34008
34009         [BZ #14811]
34010         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34011         (__ieee754_powl): Saturate nonzero exponents with absolute value
34012         below 0x1p-79 to +/- 0x1p-79.
34013         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34014         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34015         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34016         nonzero exponents with absolute value below 0x1p-32 to +/-
34017         0x1p-32.
34018         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34019         (__ieee754_powl): Saturate nonzero exponents with absolute value
34020         below 0x1p-79 to +/- 0x1p-79.
34021         * math/libm-test.inc (pow_test): Add more tests.
34022
34023 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34024
34025         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34026         _dl_s390_cap_flags with kernel. Increase string length.
34027         (_dl_s390_platforms): Add z196 and zEC12.
34028
34029 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34030
34031         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34032         Change XOPEN21K to XOPEN2K.
34033
34034 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34035
34036         * string/memmove.c: Use memcpy when possible.
34037
34038 2012-11-06  Andreas Jaeger  <aj@suse.de>
34039
34040         * po/eo.po: Update from translation team.
34041
34042 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34043
34044         [BZ #14793]
34045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34046         exponent and small x and y exponents, scale x or y up.  Increase
34047         by 2 the exponent used in scaling up.
34048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34049         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34050         * math/libm-test.inc (fma_test): Add more tests.
34051         (fma_test_towardzero): Likewise.
34052         (fma_test_downward): Likewise.
34053         (fma_test_upward): Likewise.
34054
34055 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34056
34057         [BZ #14805]
34058         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34059         fenv_t *.
34060
34061         [BZ #14801]
34062         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34063         namespace for names of struct fields.
34064         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34065         fenv_t fields.
34066         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34067         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34068
34069 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34070
34071         [BZ #3665]
34072         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34073
34074 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34075
34076         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34077         PTR_DEMANGLE.
34078
34079         [BZ #5246]
34080         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34081         PTR_DEMANGLE.
34082
34083 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34084
34085         [BZ #14797]
34086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34087         definitely overflow as x * y not x * y + z.
34088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34090         * math/libm-test.inc (fma_test): Add more tests.
34091         (fma_test_towardzero): Likewise.
34092         (fma_test_downward): Likewise.
34093         (fma_test_upward): Likewise.
34094
34095 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34096
34097         [BZ #157]
34098
34099         * include/stub-tag.h: Remove file.
34100         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34101         '#include' of it.
34102         * manual/maint.texi (Porting): Don't reference it.
34103         * Makerules ($(objpfx)stubs): Likewise.
34104         * dirent/closedir.c: Don't include <stub-tag.h>.
34105         * dirent/dirfd.c: Likewise.
34106         * dirent/fdopendir.c: Likewise.
34107         * dirent/getdents.c: Likewise.
34108         * dirent/getdents64.c: Likewise.
34109         * dirent/opendir.c: Likewise.
34110         * dirent/readdir.c: Likewise.
34111         * dirent/readdir64.c: Likewise.
34112         * dirent/readdir64_r.c: Likewise.
34113         * dirent/readdir_r.c: Likewise.
34114         * dirent/rewinddir.c: Likewise.
34115         * dirent/seekdir.c: Likewise.
34116         * dirent/telldir.c: Likewise.
34117         * gmon/profil.c: Likewise.
34118         * grp/setgroups.c: Likewise.
34119         * inet/if_index.c: Likewise.
34120         * io/access.c: Likewise.
34121         * io/chdir.c: Likewise.
34122         * io/chmod.c: Likewise.
34123         * io/chown.c: Likewise.
34124         * io/close.c: Likewise.
34125         * io/dup.c: Likewise.
34126         * io/dup2.c: Likewise.
34127         * io/dup3.c: Likewise.
34128         * io/euidaccess.c: Likewise.
34129         * io/faccessat.c: Likewise.
34130         * io/fchdir.c: Likewise.
34131         * io/fchmod.c: Likewise.
34132         * io/fchmodat.c: Likewise.
34133         * io/fchown.c: Likewise.
34134         * io/fchownat.c: Likewise.
34135         * io/fcntl.c: Likewise.
34136         * io/flock.c: Likewise.
34137         * io/fstatfs.c: Likewise.
34138         * io/fstatfs64.c: Likewise.
34139         * io/fstatvfs.c: Likewise.
34140         * io/fstatvfs64.c: Likewise.
34141         * io/futimens.c: Likewise.
34142         * io/fxstat.c: Likewise.
34143         * io/fxstat64.c: Likewise.
34144         * io/fxstatat.c: Likewise.
34145         * io/fxstatat64.c: Likewise.
34146         * io/getcwd.c: Likewise.
34147         * io/isatty.c: Likewise.
34148         * io/lchmod.c: Likewise.
34149         * io/lchown.c: Likewise.
34150         * io/link.c: Likewise.
34151         * io/linkat.c: Likewise.
34152         * io/lseek.c: Likewise.
34153         * io/lseek64.c: Likewise.
34154         * io/lxstat64.c: Likewise.
34155         * io/mkdir.c: Likewise.
34156         * io/mkdirat.c: Likewise.
34157         * io/mkfifo.c: Likewise.
34158         * io/mkfifoat.c: Likewise.
34159         * io/open.c: Likewise.
34160         * io/open64.c: Likewise.
34161         * io/openat.c: Likewise.
34162         * io/openat64.c: Likewise.
34163         * io/pipe.c: Likewise.
34164         * io/pipe2.c: Likewise.
34165         * io/poll.c: Likewise.
34166         * io/posix_fadvise.c: Likewise.
34167         * io/posix_fadvise64.c: Likewise.
34168         * io/posix_fallocate.c: Likewise.
34169         * io/posix_fallocate64.c: Likewise.
34170         * io/read.c: Likewise.
34171         * io/readlink.c: Likewise.
34172         * io/readlinkat.c: Likewise.
34173         * io/rmdir.c: Likewise.
34174         * io/sendfile.c: Likewise.
34175         * io/sendfile64.c: Likewise.
34176         * io/statfs.c: Likewise.
34177         * io/statfs64.c: Likewise.
34178         * io/statvfs.c: Likewise.
34179         * io/statvfs64.c: Likewise.
34180         * io/symlink.c: Likewise.
34181         * io/symlinkat.c: Likewise.
34182         * io/ttyname.c: Likewise.
34183         * io/ttyname_r.c: Likewise.
34184         * io/umask.c: Likewise.
34185         * io/unlink.c: Likewise.
34186         * io/unlinkat.c: Likewise.
34187         * io/utime.c: Likewise.
34188         * io/utimensat.c: Likewise.
34189         * io/write.c: Likewise.
34190         * io/xmknod.c: Likewise.
34191         * io/xmknodat.c: Likewise.
34192         * io/xstat.c: Likewise.
34193         * io/xstat64.c: Likewise.
34194         * login/getpt.c: Likewise.
34195         * login/grantpt.c: Likewise.
34196         * login/unlockpt.c: Likewise.
34197         * math/e_acoshl.c: Likewise.
34198         * math/e_acosl.c: Likewise.
34199         * math/e_asinl.c: Likewise.
34200         * math/e_atan2l.c: Likewise.
34201         * math/e_atanhl.c: Likewise.
34202         * math/e_coshl.c: Likewise.
34203         * math/e_expl.c: Likewise.
34204         * math/e_fmodl.c: Likewise.
34205         * math/e_gammal_r.c: Likewise.
34206         * math/e_hypotl.c: Likewise.
34207         * math/e_j0l.c: Likewise.
34208         * math/e_j1l.c: Likewise.
34209         * math/e_jnl.c: Likewise.
34210         * math/e_lgammal_r.c: Likewise.
34211         * math/e_log10l.c: Likewise.
34212         * math/e_log2l.c: Likewise.
34213         * math/e_logl.c: Likewise.
34214         * math/e_powl.c: Likewise.
34215         * math/e_rem_pio2l.c: Likewise.
34216         * math/e_sinhl.c: Likewise.
34217         * math/e_sqrtl.c: Likewise.
34218         * math/fclrexcpt.c: Likewise.
34219         * math/fedisblxcpt.c: Likewise.
34220         * math/feenablxcpt.c: Likewise.
34221         * math/fegetenv.c: Likewise.
34222         * math/fegetexcept.c: Likewise.
34223         * math/fegetround.c: Likewise.
34224         * math/feholdexcpt.c: Likewise.
34225         * math/fesetenv.c: Likewise.
34226         * math/fesetround.c: Likewise.
34227         * math/feupdateenv.c: Likewise.
34228         * math/fgetexcptflg.c: Likewise.
34229         * math/fraiseexcpt.c: Likewise.
34230         * math/fsetexcptflg.c: Likewise.
34231         * math/ftestexcept.c: Likewise.
34232         * math/k_cosl.c: Likewise.
34233         * math/k_rem_pio2l.c: Likewise.
34234         * math/k_sinl.c: Likewise.
34235         * math/k_tanl.c: Likewise.
34236         * math/s_asinhl.c: Likewise.
34237         * math/s_atanl.c: Likewise.
34238         * math/s_cbrtl.c: Likewise.
34239         * math/s_erfl.c: Likewise.
34240         * math/s_expm1l.c: Likewise.
34241         * math/s_log1pl.c: Likewise.
34242         * math/s_tanhl.c: Likewise.
34243         * misc/acct.c: Likewise.
34244         * misc/brk.c: Likewise.
34245         * misc/chflags.c: Likewise.
34246         * misc/chroot.c: Likewise.
34247         * misc/fchflags.c: Likewise.
34248         * misc/fgetxattr.c: Likewise.
34249         * misc/flistxattr.c: Likewise.
34250         * misc/fremovexattr.c: Likewise.
34251         * misc/fsetxattr.c: Likewise.
34252         * misc/fsync.c: Likewise.
34253         * misc/ftruncate.c: Likewise.
34254         * misc/futimes.c: Likewise.
34255         * misc/futimesat.c: Likewise.
34256         * misc/getdomain.c: Likewise.
34257         * misc/getdtsz.c: Likewise.
34258         * misc/gethostid.c: Likewise.
34259         * misc/gethostname.c: Likewise.
34260         * misc/getloadavg.c: Likewise.
34261         * misc/getpagesize.c: Likewise.
34262         * misc/getsysstats.c: Likewise.
34263         * misc/getxattr.c: Likewise.
34264         * misc/gtty.c: Likewise.
34265         * misc/ioctl.c: Likewise.
34266         * misc/lgetxattr.c: Likewise.
34267         * misc/listxattr.c: Likewise.
34268         * misc/llistxattr.c: Likewise.
34269         * misc/lremovexattr.c: Likewise.
34270         * misc/lsetxattr.c: Likewise.
34271         * misc/lutimes.c: Likewise.
34272         * misc/madvise.c: Likewise.
34273         * misc/mincore.c: Likewise.
34274         * misc/mlock.c: Likewise.
34275         * misc/mlockall.c: Likewise.
34276         * misc/mmap.c: Likewise.
34277         * misc/mprotect.c: Likewise.
34278         * misc/msync.c: Likewise.
34279         * misc/munlock.c: Likewise.
34280         * misc/munlockall.c: Likewise.
34281         * misc/munmap.c: Likewise.
34282         * misc/preadv.c: Likewise.
34283         * misc/preadv64.c: Likewise.
34284         * misc/ptrace.c: Likewise.
34285         * misc/pwritev.c: Likewise.
34286         * misc/pwritev64.c: Likewise.
34287         * misc/readv.c: Likewise.
34288         * misc/reboot.c: Likewise.
34289         * misc/remap_file_pages.c: Likewise.
34290         * misc/removexattr.c: Likewise.
34291         * misc/revoke.c: Likewise.
34292         * misc/select.c: Likewise.
34293         * misc/setdomain.c: Likewise.
34294         * misc/setegid.c: Likewise.
34295         * misc/seteuid.c: Likewise.
34296         * misc/sethostid.c: Likewise.
34297         * misc/sethostname.c: Likewise.
34298         * misc/setregid.c: Likewise.
34299         * misc/setreuid.c: Likewise.
34300         * misc/setxattr.c: Likewise.
34301         * misc/sstk.c: Likewise.
34302         * misc/stty.c: Likewise.
34303         * misc/swapoff.c: Likewise.
34304         * misc/swapon.c: Likewise.
34305         * misc/sync.c: Likewise.
34306         * misc/syncfs.c: Likewise.
34307         * misc/syscall.c: Likewise.
34308         * misc/truncate.c: Likewise.
34309         * misc/ualarm.c: Likewise.
34310         * misc/usleep.c: Likewise.
34311         * misc/ustat.c: Likewise.
34312         * misc/utimes.c: Likewise.
34313         * misc/vhangup.c: Likewise.
34314         * misc/writev.c: Likewise.
34315         * posix/_exit.c: Likewise.
34316         * posix/alarm.c: Likewise.
34317         * posix/execve.c: Likewise.
34318         * posix/fexecve.c: Likewise.
34319         * posix/fork.c: Likewise.
34320         * posix/fpathconf.c: Likewise.
34321         * posix/getaddrinfo.c: Likewise.
34322         * posix/getegid.c: Likewise.
34323         * posix/geteuid.c: Likewise.
34324         * posix/getgid.c: Likewise.
34325         * posix/getgroups.c: Likewise.
34326         * posix/getlogin.c: Likewise.
34327         * posix/getlogin_r.c: Likewise.
34328         * posix/getpgid.c: Likewise.
34329         * posix/getpid.c: Likewise.
34330         * posix/getppid.c: Likewise.
34331         * posix/getresgid.c: Likewise.
34332         * posix/getresuid.c: Likewise.
34333         * posix/getsid.c: Likewise.
34334         * posix/getuid.c: Likewise.
34335         * posix/glob64.c: Likewise.
34336         * posix/nanosleep.c: Likewise.
34337         * posix/pathconf.c: Likewise.
34338         * posix/pause.c: Likewise.
34339         * posix/posix_madvise.c: Likewise.
34340         * posix/pread.c: Likewise.
34341         * posix/pread64.c: Likewise.
34342         * posix/pwrite.c: Likewise.
34343         * posix/pwrite64.c: Likewise.
34344         * posix/sched_getaffinity.c: Likewise.
34345         * posix/sched_getp.c: Likewise.
34346         * posix/sched_gets.c: Likewise.
34347         * posix/sched_primax.c: Likewise.
34348         * posix/sched_primin.c: Likewise.
34349         * posix/sched_rr_gi.c: Likewise.
34350         * posix/sched_setaffinity.c: Likewise.
34351         * posix/sched_setp.c: Likewise.
34352         * posix/sched_sets.c: Likewise.
34353         * posix/sched_yield.c: Likewise.
34354         * posix/setgid.c: Likewise.
34355         * posix/setlogin.c: Likewise.
34356         * posix/setpgid.c: Likewise.
34357         * posix/setresgid.c: Likewise.
34358         * posix/setresuid.c: Likewise.
34359         * posix/setsid.c: Likewise.
34360         * posix/setuid.c: Likewise.
34361         * posix/sleep.c: Likewise.
34362         * posix/spawni.c: Likewise.
34363         * posix/sysconf.c: Likewise.
34364         * posix/times.c: Likewise.
34365         * posix/wait.c: Likewise.
34366         * posix/wait3.c: Likewise.
34367         * posix/wait4.c: Likewise.
34368         * posix/waitpid.c: Likewise.
34369         * resolv/gai_sigqueue.c: Likewise.
34370         * resource/getpriority.c: Likewise.
34371         * resource/getrlimit.c: Likewise.
34372         * resource/getrusage.c: Likewise.
34373         * resource/nice.c: Likewise.
34374         * resource/setpriority.c: Likewise.
34375         * resource/setrlimit.c: Likewise.
34376         * resource/ulimit.c: Likewise.
34377         * rt/aio_cancel.c: Likewise.
34378         * rt/aio_fsync.c: Likewise.
34379         * rt/aio_read.c: Likewise.
34380         * rt/aio_sigqueue.c: Likewise.
34381         * rt/aio_suspend.c: Likewise.
34382         * rt/aio_write.c: Likewise.
34383         * rt/clock_getres.c: Likewise.
34384         * rt/clock_gettime.c: Likewise.
34385         * rt/clock_nanosleep.c: Likewise.
34386         * rt/clock_settime.c: Likewise.
34387         * rt/lio_listio.c: Likewise.
34388         * rt/mq_close.c: Likewise.
34389         * rt/mq_getattr.c: Likewise.
34390         * rt/mq_notify.c: Likewise.
34391         * rt/mq_open.c: Likewise.
34392         * rt/mq_receive.c: Likewise.
34393         * rt/mq_send.c: Likewise.
34394         * rt/mq_setattr.c: Likewise.
34395         * rt/mq_timedreceive.c: Likewise.
34396         * rt/mq_timedsend.c: Likewise.
34397         * rt/mq_unlink.c: Likewise.
34398         * rt/shm_open.c: Likewise.
34399         * rt/shm_unlink.c: Likewise.
34400         * rt/timer_create.c: Likewise.
34401         * rt/timer_delete.c: Likewise.
34402         * rt/timer_getoverr.c: Likewise.
34403         * rt/timer_gettime.c: Likewise.
34404         * rt/timer_settime.c: Likewise.
34405         * setjmp/__longjmp.c: Likewise.
34406         * setjmp/setjmp.c: Likewise.
34407         * signal/kill.c: Likewise.
34408         * signal/killpg.c: Likewise.
34409         * signal/raise.c: Likewise.
34410         * signal/sigaction.c: Likewise.
34411         * signal/sigaltstack.c: Likewise.
34412         * signal/sigblock.c: Likewise.
34413         * signal/sigignore.c: Likewise.
34414         * signal/sigintr.c: Likewise.
34415         * signal/signal.c: Likewise.
34416         * signal/sigpause.c: Likewise.
34417         * signal/sigpending.c: Likewise.
34418         * signal/sigqueue.c: Likewise.
34419         * signal/sigreturn.c: Likewise.
34420         * signal/sigset.c: Likewise.
34421         * signal/sigsetmask.c: Likewise.
34422         * signal/sigstack.c: Likewise.
34423         * signal/sigsuspend.c: Likewise.
34424         * signal/sigtimedwait.c: Likewise.
34425         * signal/sigvec.c: Likewise.
34426         * signal/sigwait.c: Likewise.
34427         * signal/sigwaitinfo.c: Likewise.
34428         * signal/sysv_signal.c: Likewise.
34429         * socket/accept.c: Likewise.
34430         * socket/accept4.c: Likewise.
34431         * socket/bind.c: Likewise.
34432         * socket/connect.c: Likewise.
34433         * socket/getpeername.c: Likewise.
34434         * socket/getsockname.c: Likewise.
34435         * socket/getsockopt.c: Likewise.
34436         * socket/isfdtype.c: Likewise.
34437         * socket/listen.c: Likewise.
34438         * socket/recv.c: Likewise.
34439         * socket/recvfrom.c: Likewise.
34440         * socket/recvmsg.c: Likewise.
34441         * socket/send.c: Likewise.
34442         * socket/sendmsg.c: Likewise.
34443         * socket/sendto.c: Likewise.
34444         * socket/setsockopt.c: Likewise.
34445         * socket/shutdown.c: Likewise.
34446         * socket/sockatmark.c: Likewise.
34447         * socket/socket.c: Likewise.
34448         * socket/socketpair.c: Likewise.
34449         * stdio-common/ctermid.c: Likewise.
34450         * stdio-common/cuserid.c: Likewise.
34451         * stdio-common/remove.c: Likewise.
34452         * stdio-common/rename.c: Likewise.
34453         * stdio-common/renameat.c: Likewise.
34454         * stdio-common/tempname.c: Likewise.
34455         * stdlib/getcontext.c: Likewise.
34456         * stdlib/makecontext.c: Likewise.
34457         * stdlib/setcontext.c: Likewise.
34458         * stdlib/swapcontext.c: Likewise.
34459         * stdlib/system.c: Likewise.
34460         * streams/fattach.c: Likewise.
34461         * streams/fdetach.c: Likewise.
34462         * streams/getmsg.c: Likewise.
34463         * streams/getpmsg.c: Likewise.
34464         * streams/putmsg.c: Likewise.
34465         * streams/putpmsg.c: Likewise.
34466         * sysdeps/unix/bsd/getpt.c: Likewise.
34467         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34468         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34469         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34471         Likewise.
34472         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34473         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34474         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34475         * sysvipc/msgctl.c: Likewise.
34476         * sysvipc/msgget.c: Likewise.
34477         * sysvipc/msgrcv.c: Likewise.
34478         * sysvipc/msgsnd.c: Likewise.
34479         * sysvipc/semctl.c: Likewise.
34480         * sysvipc/semget.c: Likewise.
34481         * sysvipc/semop.c: Likewise.
34482         * sysvipc/semtimedop.c: Likewise.
34483         * sysvipc/shmat.c: Likewise.
34484         * sysvipc/shmctl.c: Likewise.
34485         * sysvipc/shmdt.c: Likewise.
34486         * sysvipc/shmget.c: Likewise.
34487         * termios/tcdrain.c: Likewise.
34488         * termios/tcflow.c: Likewise.
34489         * termios/tcflush.c: Likewise.
34490         * termios/tcgetattr.c: Likewise.
34491         * termios/tcgetpgrp.c: Likewise.
34492         * termios/tcsendbrk.c: Likewise.
34493         * termios/tcsetattr.c: Likewise.
34494         * termios/tcsetpgrp.c: Likewise.
34495         * time/adjtime.c: Likewise.
34496         * time/clock.c: Likewise.
34497         * time/getitimer.c: Likewise.
34498         * time/gettimeofday.c: Likewise.
34499         * time/setitimer.c: Likewise.
34500         * time/settimeofday.c: Likewise.
34501         * time/stime.c: Likewise.
34502         * time/time.c: Likewise.
34503
34504 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34505
34506         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34507         /usr/old/bin.
34508
34509         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34510         instead of spaces.
34511         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34512
34513 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34514
34515         [BZ #14796]
34516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34517         FE_TONEAREST before applying Dekker multiplication and Knuth
34518         addition.  Clear inexact exceptions and check for exact zero
34519         results afterwards.
34520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34521         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34522         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34523         * math/libm-test.inc (fma_test): Add more tests.
34524         (fma_test_towardzero): Likewise.
34525         (fma_test_downward): Likewise.
34526         (fma_test_upward): Likewise.
34527         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34528         function.
34529         (libc_fesetround): New macro.
34530         (libc_fesetroundf): Likewise.
34531         (libc_fesetroundl): Likewise.
34532         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34533         function.
34534         (libc_fesetround_387): Likewise.
34535         (libc_fesetroundf): New macro.
34536         (libc_fesetround): Likewise.
34537         (libc_fesetroundl): Likewise.
34538         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34539         function.
34540         (libc_fesetroundf): New macro.
34541         (libc_fesetround): Likewise.
34542         (libc_fesetroundl): Likewise.
34543         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34544         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34545         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34546         libm_hidden_ver.
34547         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34548         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34549         libm_hidden_def.
34550         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34551         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34552         libm_hidden_ver.
34553         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34554         libm_hidden_def.
34555
34556         [BZ #3439]
34557         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34558         integer constant usable in #if and use that to give value to enum
34559         constant.
34560         (FE_DIVBYZERO): Likewise.
34561         (FE_UNDERFLOW): Likewise.
34562         (FE_OVERFLOW): Likewise.
34563         (FE_INVALID): Likewise.
34564         (FE_INVALID_SNAN): Likewise.
34565         (FE_INVALID_ISI): Likewise.
34566         (FE_INVALID_IDI): Likewise.
34567         (FE_INVALID_ZDZ): Likewise.
34568         (FE_INVALID_IMZ): Likewise.
34569         (FE_INVALID_COMPARE): Likewise.
34570         (FE_INVALID_SOFTWARE): Likewise.
34571         (FE_INVALID_SQRT): Likewise.
34572         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34573         (FE_TONEAREST): Likewise.
34574         (FE_TOWARDZERO): Likewise.
34575         (FE_UPWARD): Likewise.
34576         (FE_DOWNWARD): Likewise.
34577         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34578         (FE_DIVBYZERO): Likewise.
34579         (FE_OVERFLOW): Likewise.
34580         (FE_UNDERFLOW): Likewise.
34581         (FE_INEXACT): Likewise.
34582         (FE_TONEAREST): Likewise.
34583         (FE_DOWNWARD): Likewise.
34584         (FE_UPWARD): Likewise.
34585         (FE_TOWARDZERO): Likewise.
34586         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34587         (FE_UNDERFLOW): Likewise.
34588         (FE_OVERFLOW): Likewise.
34589         (FE_DIVBYZERO): Likewise.
34590         (FE_INVALID): Likewise.
34591         (FE_TONEAREST): Likewise.
34592         (FE_TOWARDZERO): Likewise.
34593         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34594         (FE_OVERFLOW): Likewise.
34595         (FE_UNDERFLOW): Likewise.
34596         (FE_DIVBYZERO): Likewise.
34597         (FE_INEXACT): Likewise.
34598         (FE_TONEAREST): Likewise.
34599         (FE_TOWARDZERO): Likewise.
34600         (FE_UPWARD): Likewise.
34601         (FE_DOWNWARD): Likewise.
34602         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34603         (FE_DIVBYZERO): Likewise.
34604         (FE_OVERFLOW): Likewise.
34605         (FE_UNDERFLOW): Likewise.
34606         (FE_INEXACT): Likewise.
34607         (FE_TONEAREST): Likewise.
34608         (FE_DOWNWARD): Likewise.
34609         (FE_UPWARD): Likewise.
34610         (FE_TOWARDZERO): Likewise.
34611
34612 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34613
34614         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34615
34616 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34617
34618         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34619         commands.  Quote $PWD.
34620         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34621         -x" by "export".
34622         (remove_newlines): Remove.
34623
34624 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34625
34626         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34627         * stdlib/stdlib.h (atof): Moved to ...
34628         * include/bits/stdlib-float.h: Here.  New file.
34629         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34630         * stdlib/bits/stdlib-float.h: New file.
34631         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34632         -mno-sse -mno-mmx.
34633         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34634         <xmmintrin.h>.
34635
34636 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34637
34638         * conform/conformtest.pl (@headers): Add fenv.h.
34639         * conform/data/fenv.h-data: New file.
34640         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34641         include of <math/fenv.h>.
34642
34643         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34644         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34645         && !UNIX98].  Enables tests for XOPEN2K8.
34646         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34647         POSIX2008]: Likewise.
34648
34649         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34650         (struct rusage): Do not expect type or its members.
34651
34652         [BZ #3439]
34653         * math/math.h (FP_NAN): Define macro to integer constant usable in
34654         #if and use that to give value to enum constant.
34655         (FP_INFINITE): Likewise.
34656         (FP_ZERO): Likewise.
34657         (FP_SUBNORMAL): Likewise.
34658         (FP_NORMAL): Likewise.
34659
34660 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34661
34662         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34663         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34664         arguments.
34665
34666 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34667
34668         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34669         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34670         autoconf-time if not.
34671         * configure.in: Remove AC_PREREQ.
34672
34673 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34674
34675         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34676         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34677         of the internal implementation.
34678
34679 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34680
34681         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34682         except include of <misc/sys/syslog.h>.
34683
34684 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34685
34686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34687         function returns with a NULL context exit with zero.
34688
34689 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34690
34691         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34692
34693 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34694
34695         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34696         (run_program_cmd): This.
34697         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34698         (tst_langinfo): New variable.  Use it.
34699
34700 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34701
34702         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34703         floating point opcodes.
34704
34705 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34706
34707         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34708         variable.
34709
34710         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34711
34712         * sysdeps/mach/hurd/powerpc: Remove directory.
34713         * sysdeps/mach/powerpc: Likewise.
34714
34715 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34716
34717         * scripts/check-local-headers.sh: Ignore c++ headers.
34718
34719 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34720
34721         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34722         __libc_cleanup_region_start argument.
34723
34724 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34725
34726         [BZ #14784]
34727         [BZ #14785]
34728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34729         x * y using scaling, not as x * y + z.
34730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34732         * math/libm-test.inc (fma_test): Add more tests.
34733         (fma_test_towardzero): Likewise.
34734         (fma_test_downward): Likewise.
34735         (fma_test_upward): Likewise.
34736
34737 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34738
34739         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34740
34741 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34742
34743         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34744         New variable.
34745
34746 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34747
34748         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34749
34750 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34751
34752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34753         Fix sort order.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34755         Likewise.
34756
34757 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34758
34759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34760         Fix the order of the list for glibc 2.17.
34761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34762         Likewise.
34763
34764 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34765
34766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34767
34768 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34769
34770         [BZ #14610]
34771         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34772         for low part of x being zero before using __atanl (y).
34773         * math/libm-test.inc (atan2_test): Add another test.
34774
34775         * manual/install.texi (Configuring and compiling): Document
34776         general use of test-wrapper and test-wrapper-env.
34777         * INSTALL: Regenerated.
34778
34779         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34780         (__fma): Do not extract and scale down low bits on after-rounding
34781         systems when result rounded to normal precision would have normal
34782         exponent.
34783         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34784         (__fmal): Do not extract and scale down low bits on after-rounding
34785         systems when result rounded to normal precision would have normal
34786         exponent.
34787         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34788         (__fmal): Do not extract and scale down low bits on after-rounding
34789         systems when result rounded to normal precision would have normal
34790         exponent.
34791         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34792         macro.
34793         (fma_test): Add more tests.
34794         (fma_test_towardzero): Likewise.
34795         (fma_test_downward): Likewise.
34796         (fma_test_upward): Likewise.
34797
34798 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34799
34800         * sysdeps/i386/tininess.h: Renamed to ...
34801         * sysdeps/x86/tininess.h: This.
34802         * sysdeps/x86_64/tininess.h: Removed.
34803
34804 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34805
34806         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34807         input.  Use $(build-program-cmd).
34808         ($(objpfx)tst-array1-static.out): Likewise.
34809         ($(objpfx)tst-array2.out): Likewise.
34810         ($(objpfx)tst-array3.out): Likewise.
34811         ($(objpfx)tst-array4.out): Likewise.
34812         ($(objpfx)tst-array5.out): Likewise.
34813         ($(objpfx)tst-array5-static.out): Likewise.
34814
34815 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34816
34817         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34818         if defined.
34819
34820         * nss/nsswitch.h (nss_interface_function): Provide new
34821         macro for use with NSS functions.
34822         * grp/initgroups.c: Use new macro.
34823         * nss/getXXbyYY.c: Likewise.
34824         * nss/getXXbyYY_r.c: Likewise.
34825         * nss/getXXent.c: Likewise.
34826         * nss/getXXent_r.c: Likewise.
34827         * sysdeps/posix/getaddrinfo.c: Likewise.
34828
34829 2012-10-30  Andreas Jaeger  <aj@suse.de>
34830
34831         * po/ru.po: Update Russion translation from translation project.
34832
34833 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34834
34835         [BZ #14152]
34836         [BZ #14783]
34837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34838         result and shift together with sticky bit instead of replicating
34839         round-to-nearest rounding.
34840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34842         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34843         missing underflow exceptions.
34844         (fma_test_towardzero): Add more tests.
34845         (fma_test_downward): Likewise.
34846         (fma_test_upward): Likewise.
34847
34848         [BZ #14047]
34849         * sysdeps/generic/tininess.h: New file.
34850         * sysdeps/i386/tininess.h: Likewise.
34851         * sysdeps/sh/tininess.h: Likewise.
34852         * sysdeps/x86_64/tininess.h: Likewise.
34853         * stdlib/tst-strtod-underflow.c: Likewise.
34854         * stdlib/tst-tininess.c: Likewise.
34855         * stdlib/strtod_l.c: Include <tininess.h>.
34856         (round_and_return): Do not set errno for exact underflow cases.
34857         Force an underflow exception when setting errno for underflow.
34858         Determine underflow based on rounding to normal precision if
34859         TININESS_AFTER_ROUNDING.
34860         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34861         ERANGE for exact underflow cases.
34862         * stdlib/Makefile (tests): Add tst-tininess and
34863         tst-strtod-underflow.
34864         ($(objpfx)tst-tininess): Use $(link-libm).
34865         ($(objpfx)tst-strtod-underflow): Likewise.
34866
34867 2012-10-30  Andreas Jaeger  <aj@suse.de>
34868
34869         [BZ#14767]
34870         * elf/Makefile (tests): Remove conditional for have-initfini-array
34871         since this is now always required and the variable does not exist
34872         anymore.
34873         (tests-static): Likewise.
34874         (modules-names): Likewise.
34875
34876         * po/eo.po: Add Esperanto translation from translation project.
34877
34878         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34879         merged with constructor/destructor.
34880         (init_array): Likewise.
34881         * elf/tst-array2dep.c (fini_array): Likewise.
34882         (init_array): Likewise.
34883
34884 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34885
34886         * manual/message.texi: Delete @cartouche tags.
34887
34888 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34889
34890         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34891         EOPNOTSUPP.
34892         * sysdeps/mach/hurd/fsync.c: Likewise.
34893
34894         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34895         [_POSIX_REALTIME_SIGNALS]: Change condition to
34896         [_POSIX_REALTIME_SIGNALS > 0].
34897
34898 2012-10-27  Andreas Jaeger  <aj@suse.de>
34899
34900         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34901         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34902         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34903         [__WORDSIZE != 64]: Likewise.
34904
34905 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34906
34907         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34908         *  iconvdata/tst-tables.sh: Likewise.
34909
34910 2012-10-25  David S. Miller  <davem@davemloft.net>
34911
34912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34913         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34914         of strtoull.
34915
34916         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34917         ifunc-impl-list.c
34918         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34919         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34920         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34921         file.
34922
34923 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34924
34925         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34926         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34927         __getdirentries.
34928
34929 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34930             Jim Blandy  <jimb@codesourcery.com>
34931
34932         * scripts/cross-test-ssh.sh: New file.
34933         * manual/install.texi (Configuring and compiling): Document use of
34934         cross-test-ssh.sh.
34935         * INSTALL: Regenerated.
34936
34937 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34938
34939         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34940         EOPNOTSUPP.
34941
34942 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34943
34944         * Makeconfig (run-program-prefix): Fix comment.
34945
34946 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34947             Jim Blandy  <jimb@codesourcery.com>
34948
34949         * Makeconfig (test-wrapper): New variable,
34950         (test-wrapper-env): Likewise.
34951         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34952         (run-built-tests): Define to yes.
34953         (run-program-prefix): Use $(test-wrapper).
34954         (built-program-cmd): Likewise.
34955         * Rules (make-test-out): Use $(test-wrapper-env) and
34956         $(host-built-program-cmd).
34957         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34958         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34959         tst-pathopt.sh.
34960         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34961         $(test-wrapper-env) to tst-rtld-load-self.sh.
34962         ($(objpfx)order2.out): Use $(test-wrapper).
34963         ($(objpfx)tst-initorder.out): Likewise.
34964         ($(objpfx)tst-initorder2.out): Likewise.
34965         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34966         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34967         (test_wrapper_env): New variable.  Use it to run ld.so.
34968         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34969         Use it to run ld.so.
34970         (test_wrapper_env): Likewise.
34971         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34972         $(test-wrapper) to run-iconv-test.sh.
34973         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34974         (ICONV): Use $test_wrapper.
34975         * posix/Makefile ($(objpfx)globtest.out): Pass
34976         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34977         globtest.sh, not $(run-program-prefix).
34978         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34979         (test_wrapper): Likewise.
34980         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34981         set together with run_via_rtld_prefix.
34982         (run_program_prefix): Define in terms of test_wrapper and
34983         run_via_rtld_prefix.
34984
34985 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34986
34987         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34988         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34989         Targets removed.
34990
34991         [BZ #14743]
34992         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34993         Declare __clock_getres, __clock_gettime, __clock_settime,
34994         __clock_nanosleep, and __clock_getcpuclockid.
34995         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34996         Remove librt_hidden_def (clock_gettime).
34997         * sysdeps/unix/clock_gettime.c: Likewise.
34998         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34999         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35000         * rt/clock_getres.c: Define __clock_getres as an alias.
35001         * sysdeps/posix/clock_getres.c: Likewise.
35002         * rt/clock_settime.c: Define __clock_settime as an alias.
35003         * sysdeps/unix/clock_settime.c: Likewise.
35004         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35005         * sysdeps/unix/clock_nanosleep.c: Likewise.
35006         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35007         * rt/clock-compat.c: New file.
35008         * rt/Makefile (librt-routines): Add clock-compat and move
35009         $(clock-routines) to ...
35010         (routines): ... here, new variable.
35011         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35012         Don't add get_clockfreq here.
35013         * rt/Versions (libc: GLIBC_2.17): New version set.
35014         Add clock_* symbols here.
35015         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35016         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35017         (GLIBC_2.17): Add clock_* symbols.
35018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35022         Likewise.
35023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35024         Likewise.
35025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35029         * NEWS: Mention the move.
35030
35031         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35032         Use __open, __read, __close rather than their public counterparts.
35033         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35034         (__get_clockfreq_via_cpuinfo): Likewise.
35035         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35036         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35037
35038         * config.h.in (HAVE_IFUNC): New #undef.
35039         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35040         was successful.
35041         * configure: Regenerated.
35042
35043 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35044
35045         * configure.in: Move READELF check to start of file.
35046         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35047         libc_cv_asm_gnu_indirect_function in the process.
35048         * configure: Regenerated.
35049
35050 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35051
35052         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35053         send the output to /dev/null.
35054         (libc_cv_cc_with_libunwind): Likewise.
35055         (libc_cv_as_noexecstack): Likewise.
35056         * configure: Regenerate.
35057
35058 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35059
35060         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35061
35062         * posix/globtest.sh (TMPDIR): Do not set.
35063         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35064         (testout): Likewise.
35065
35066 2012-10-24  Andreas Jaeger  <aj@suse.de>
35067
35068         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35069         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35070         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35071         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35072         posix_fadvise64, posix_fallocate64.
35073
35074         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35075         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35076         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35077         Likewise.
35078         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35079         Likewise.
35080         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35081
35082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35083         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35084         <bits/fcntl-linux.h>.
35085         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35086
35087         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35088         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35089         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35090         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35091         [__WORDSIZE != 64]: Likewise.
35092
35093 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35094
35095         * Makeconfig (run-built-tests): New variable.
35096         * Rules [$(cross-compiling) = yes]: Change condition to
35097         [$(run-built-tests) = no].
35098         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35099         to [$(run-built-tests) = yes].
35100         * elf/Makefile [$(cross-compiling) = no]: Likewise
35101         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35102         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35103         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35104         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35105         * io/Makefile [$(cross-compiling) = no]: Likewise.
35106         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35107         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35108         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35109         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35110         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35111         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35112         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35113         * string/Makefile [$(cross-compiling) = no]: Likewise.
35114
35115         * posix/Makefile ($(objpfx)globtest.out): Pass
35116         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35117         $(rtld-installed-name).
35118         * posix/globtest.sh (elf_objpfx): Remove variable.
35119         (rtld_installed_name): Likewise.
35120         (library_path): Likewise.
35121         (run_program_prefix): New variable.  Use for running globtest
35122         binary.
35123
35124 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35125             Joseph Myers  <joseph@codesourcery.com>
35126
35127         * Makeconfig (host-built-program-cmd): New variable.
35128         * elf/Makefile (tst-stackguard1-ARGS): Use
35129         $(host-built-program-cmd).
35130         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35131         (tst-spawn-ARGS): Likewise.
35132         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35133
35134 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35135             Jim Blandy  <jimb@codesourcery.com>
35136
35137         * Makeconfig (run-via-rtld-prefix): New variable.
35138         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35139         (built-program-cmd): Likewise.
35140
35141 2012-10-22  Andreas Jaeger  <aj@suse.de>
35142
35143         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35144         __O_RSYNC if it exists, otherwise to O_SYNC.
35145
35146 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35147             Joseph Myers  <joseph@codesourcery.com>
35148
35149         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35150         /dev/null.
35151         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35152         from /dev/null
35153         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35154         /dev/null.
35155
35156 2012-10-22  Andreas Jaeger  <aj@suse.de>
35157
35158         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35159         Define always.
35160         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35161
35162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35163         bits/fcntl-linux.h.
35164
35165         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35166         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35167
35168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35169         to __O_LARGEFILE.
35170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35171         to __O_LARGEFILE.
35172
35173 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35174             Joseph Myers  <joseph@codesourcery.com>
35175
35176         * config.make.in (NM): New variable.
35177
35178 2012-10-21  Andreas Jaeger  <aj@suse.de>
35179
35180         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35181         definitions and declarations that are provided by
35182         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35183
35184 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35185
35186         [BZ #14683]
35187         * elf/Makefile (tests-static): Add tst-leaks1-static.
35188         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35189         ($(objpfx)tst-leaks1-static): New rule.
35190         ($(objpfx)tst-leaks1-static-mem): Likewise.
35191         (tst-leaks1-static-ENV): New macro.
35192         * elf/dl-open.c (dl_open_worker): Check the main application
35193         only if SHARED is defined.
35194         * elf/tst-leaks1-static.c: New file.
35195
35196 2012-10-20  Andreas Jaeger  <aj@suse.de>
35197
35198         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35199         generic values for Linux.
35200         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35201         and declarations that are provided by <bits/fcntl-linux.h> and
35202         include <bits/fcntl-linux.h>.
35203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35204         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35205
35206 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35207
35208         * io/fcntl.h: Move include of <bits/types.h> to the top and
35209         include it unconditionally.
35210
35211 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35212
35213         * wcsmbs/Makefile (tests-ifunc): New variable.
35214         (tests): Add $(tests-ifunc).
35215         * wcsmbs/test-wcschr-ifunc.c: New file.
35216         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35217         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35218         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35219         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35220         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35221
35222         * string/Makefile (tests-ifunc): New variable.
35223         (tests): Add $(tests-ifunc).
35224         * string/test-memccpy.c (TEST_NAME): New macro.
35225         * string/test-memchr.c (TEST_NAME): Likewise.
35226         * string/test-memcmp.c (TEST_NAME): Likewise.
35227         * string/test-memcpy.c (TEST_NAME): Likewise.
35228         * string/test-memmem.c (TEST_NAME): Likewise.
35229         * string/test-memmove.c (TEST_NAME): Likewise.
35230         * string/test-memset.c (TEST_NAME): Likewise.
35231         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35232         * string/test-stpcpy.c (TEST_NAME): Likewise.
35233         * string/test-stpncpy.c (TEST_NAME): Likewise.
35234         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35235         * string/test-strcasestr.c (TEST_NAME): Likewise.
35236         * string/test-strcat.c (TEST_NAME): Likewise.
35237         * string/test-strchr.c (TEST_NAME): Likewise.
35238         * string/test-strcmp.c(TEST_NAME): Likewise.
35239         * string/test-strcpy.c (TEST_NAME): Likewise.
35240         * string/test-strcspn.c (TEST_NAME): Likewise.
35241         * string/test-strlen.c (TEST_NAME): Likewise.
35242         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35243         * string/test-strncmp.c (TEST_NAME): Likewise.
35244         * string/test-strncpy.c (TEST_NAME): Likewise.
35245         * string/test-strnlen.c (TEST_NAME): Likewise.
35246         * string/test-strpbrk.c (TEST_NAME): Likewise.
35247         * string/test-strrchr.c (TEST_NAME): Likewise.
35248         * string/test-strspn.c (TEST_NAME): Likewise.
35249         * string/test-strstr.c (TEST_NAME): Likewise.
35250         * string/test-bcopy-ifunc.c: New file.
35251         * string/test-bzero-ifunc.c: Likewise.
35252         * string/test-memccpy-ifunc.c: Likewise.
35253         * string/test-memchr-ifunc.c: Likewise.
35254         * string/test-memcmp-ifunc.c: Likewise.
35255         * string/test-memcpy-ifunc.c: Likewise.
35256         * string/test-memmem-ifunc.c: Likewise.
35257         * string/test-memmove-ifunc.c: Likewise.
35258         * string/test-mempcpy-ifunc.c: Likewise.
35259         * string/test-memset-ifunc.c: Likewise.
35260         * string/test-rawmemchr-ifunc.c: Likewise.
35261         * string/test-stpcpy-ifunc.c: Likewise.
35262         * string/test-stpncpy-ifunc.c: Likewise.
35263         * string/test-strcasecmp-ifunc.c: Likewise.
35264         * string/test-strcasestr-ifunc.c: Likewise.
35265         * string/test-strcat-ifunc.c: Likewise.
35266         * string/test-strchr-ifunc.c: Likewise.
35267         * string/test-strchrnul-ifunc.c: Likewise.
35268         * string/test-strcmp-ifunc.c: Likewise.
35269         * string/test-strcpy-ifunc.c: Likewise.
35270         * string/test-strcspn-ifunc.c: Likewise.
35271         * string/test-strlen-ifunc.c: Likewise.
35272         * string/test-strncasecmp-ifunc.c: Likewise.
35273         * string/test-strncat-ifunc.c: Likewise.
35274         * string/test-strncmp-ifunc.c: Likewise.
35275         * string/test-strncpy-ifunc.c: Likewise.
35276         * string/test-strnlen-ifunc.c: Likewise.
35277         * string/test-strpbrk-ifunc.c: Likewise.
35278         * string/test-strrchr-ifunc.c: Likewise.
35279         * string/test-strspn-ifunc.c: Likewise.
35280         * string/test-strstr-ifunc.c: Likewise.
35281
35282         * debug/Makefile (tests-ifunc): New variable.
35283         (tests): Add $(tests-ifunc).
35284         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35285         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35286         * debug/test-stpcpy_chk-ifunc.c: New file.
35287         * debug/test-strcpy_chk-ifunc.c: Likewise.
35288
35289 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35290
35291         [BZ #13601]
35292         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35293         header is not read in.
35294
35295 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35296
35297         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35298         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35299         directly.  Pass built executable to script as
35300         $(built-program-cmd).
35301         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35302         $testprogram without using LD_LIBRARY_PATH and $ldso.
35303
35304         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35305         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35306         $(rtld-installed-name).
35307         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35308         (rtld_installed_name): Likewise.
35309         (library_path): Likewise.
35310         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35311         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35312         $(run-program-prefix) to tst-tables.sh.
35313         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35314         it to run tst-table-from and tst-table-to.
35315         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35316         Pass it to tst-table.sh.
35317         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35318         $(run-program-prefix) to tst-gettext.sh.
35319         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35320         tst-translit.sh.
35321         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35322         tst-gettext2.sh.
35323         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35324         to run tst-gettext.
35325         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35326         to run tst-gettext2.
35327         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35328         to run tst-translit.
35329         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35330         $(run-program-prefix) to tst-mtrace.sh.
35331         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35332         to run tst-mtrace.
35333         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35334         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35335         $(rtld-installed-name).
35336         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35337         (rtld_installed_name): Likewise.
35338         (run_program_prefix): New variable.  Use it to run wordexp-test.
35339
35340         * Makeconfig (ARCH): Remove all definitions.
35341         (machine): Likewise.
35342         [ARCH]: Remove conditional code.
35343         [!objdir]: Give error.
35344         [!objdir] (objpfx): Remove.
35345         [!objdir] (common-objpfx): Likewise.
35346         [!objdir] (common-objdir): Likewise.
35347         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35348         AC_CONFIG_FILES call.
35349         * configure: Regenerated.
35350
35351         [BZ #13888]
35352         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35353         or TMPDIR.
35354         (testout): Likewise.
35355
35356         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35357         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35358         $(rtld-installed-name).
35359         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35360         (rtld_installed_name): Likwise.
35361         (runit): Remove function.
35362         (run_getconf): New variable,  Use it for running getconf binary.
35363
35364 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35365
35366         [BZ #14716]
35367         * string/test-memmem.c (check_result): New function.
35368         (do_one_test): Use it.
35369         (check1): New function.
35370         (test_main): Use it.
35371
35372 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35373
35374         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35375
35376 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35377
35378         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35379         (_G_LSEEK64): Likewise.
35380         (_G_MMAP64): Likewise.
35381         (_G_FSTAT64): Likewise.
35382         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35383         (_G_LSEEK64): Likewise.
35384         (_G_MMAP64): Likewise.
35385         (_G_FSTAT64): Likewise.
35386         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35387         unconditional.  Call __mmap64 directly.
35388         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35389         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35390         __lseek64 directly.
35391         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35392         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35393         __mmap64 directly.
35394         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35395         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35396         __lseek64 directly.
35397         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35398         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35399         __lseek64 directly.
35400         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35401         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35402         __lseek64 directly.
35403         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35404         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35405         __fxstat64 directly.
35406         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35407         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35408         unconditional.
35409         (freopen64) [!_G_OPEN64]: Remove conditional code.
35410         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35411         unconditional.
35412         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35413         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35414         unconditional.
35415         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35416         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35417         unconditional.
35418         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35419         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35420         unconditional.
35421         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35422         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35423         unconditional.
35424         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35425         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35426         unconditional.
35427         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35428         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35429         unconditional.
35430         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35431
35432 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35433
35434         [BZ #12140]
35435         * manual/memory.texi (Malloc Tunable Parameters): Add note
35436         about free list pointers overwriting some perturb bytes.
35437         Wording suggested by Roland McGrath.
35438
35439 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35440
35441         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35442         (lgamma_test): Likewise.
35443         (tgamma_test): Likewise.
35444
35445 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35446
35447         [BZ #14700]
35448         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35449         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35450
35451 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35452
35453         * NEWS: Mention BZ #14716.
35454         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35455         when removing AVAILABLE1_USES_J macro.
35456
35457 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35458
35459         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35460         (__bswap_64): __uint64_t for unsigned 64-bit int.
35461
35462 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35463
35464         * include/string.h (memmem): Declare libc hidden alias.
35465         * string/memmem.c (memmem): Define libc hidden alias.
35466         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35467         __read, __close instead of open, read, close.
35468
35469 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35470
35471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35472         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35473         global and hidden.
35474         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35475         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35476         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35477         Likewise.
35478         (__rawmemchr_sse2): Likewise.
35479         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35480         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35481         (__strchr_sse2): Likewise.
35482         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35483         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35484         (__strcasecmp_sse2): Likewise.
35485         (__strncasecmp_sse2): Likewise.
35486         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35487         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35488         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35489         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35490         (__strrchr_sse2): Likewise.
35491         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35492         ifunc-impl-list.c.
35493         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35494         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35495         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35496         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35497         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35498         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35499         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35500         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35501         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35502         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35503         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35504         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35505         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35506         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35507         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35508         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35509         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35510         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35511         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35512         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35513         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35514         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35515         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35516         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35517         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35518         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35519         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35520         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35521         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35522         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35523
35524         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35525         global and hidden.
35526         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35527         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35528         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35529         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35530         Likewise.
35531         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35532         Likewise.
35533         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35534         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35535         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35536         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35537         ifunc-impl-list.c.
35538         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35539         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35540         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35541         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35542         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35543         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35544         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35545         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35546         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35547         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35548         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35549         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35550         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35551         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35552         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35553         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35554         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35555         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35556         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35557         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35558         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35559         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35560         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35561         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35562         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35563         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35564         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35565         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35566         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35567         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35568         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35569         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35570         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35571         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35572         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35573         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35574         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35575         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35576         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35577         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35578         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35579
35580         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35581         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35582         * include/ifunc-impl-list.h: New file.
35583         * misc/ifunc-impl-list.c: Likewise.
35584         * misc/Makefile (routines): Add ifunc-impl-list.
35585         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35586         * string/test-string.h: Include <ifunc-impl-list.h>.
35587         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35588         TEST_NAME]: New variables.
35589         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35590         are defined.
35591         (test_init): Call __libc_ifunc_impl_list to initialize
35592         func_list if TEST_IFUNC and TEST_NAME are defined.
35593
35594         * string/Makefile (strop-tests): Add bcopy and bzero.
35595         * string/test-bcopy.c: New file.
35596         * string/test-bzero.c: Likewise.
35597         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35598         defined.
35599         * string/test-memset.c: Support bzero test if TEST_BZERO is
35600         defined.
35601         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35602         __libc_memmove.
35603         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35604         __libc_memset.
35605         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35606         of memset.
35607
35608 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35609
35610         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35611         * configure: Regenerated.
35612
35613         * Makeconfig (+link-static-before-libc): Don't include
35614         $(link-static-libc).
35615
35616         * libio/libio.h (_IO_pos_t): Remove.
35617
35618 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35619
35620         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35621         McGrath.
35622
35623 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35624
35625         * crypt/crypt-entry.c: Include fips-private.h.
35626         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35627         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35628         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35629         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35630
35631 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35632
35633         * crypt/crypt-private.h: Include stdbool.h.
35634         (_ufc_setup_salt_r): Return bool.
35635         * crypt/crypt-entry.c: Include errno.h.
35636         (__crypt_r): Return NULL with EINVAL for bad salt.
35637         * crypt/crypt_util.c (bad_for_salt): New.
35638         (_ufc_setup_salt_r): Check that salt is long enough and within
35639         the specified alphabet.
35640         * crypt/badsalttest.c: New file.
35641         * crypt/Makefile (tests): Add it.
35642         ($(objpfx)badsalttest): New.
35643
35644 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35645
35646         * NEWS: Add entry for BZ #14602.
35647
35648 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35649
35650         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35651         type-generic.
35652         * math/libm-test.inc: Update comment listing what functions and
35653         macros are tested.
35654         (isgreater_test): New function.
35655         (isgreaterequal_test): Likewise.
35656         (isless_test): Likewise.
35657         (islessequal_test): Likewise.
35658         (islessgreater_test): Likewise.
35659         (isunordered_test): Likewise.
35660         (main): Call the new functions.
35661
35662 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35663
35664         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35665         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35666         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35667         * sysdeps/i386/configure: Regenerated.
35668         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35669         * sysdeps/mach/configure: Regenerated.
35670         * sysdeps/mach/hurd/configure: Regenerated.
35671         * sysdeps/powerpc/configure: Regenerated.
35672         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35673         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35674         * sysdeps/s390/s390-32/configure: Regenerated.
35675         * sysdeps/s390/s390-64/configure: Regenerated.
35676         * sysdeps/sh/configure: Regenerated.
35677         * sysdeps/sparc/configure: Regenerated.
35678         * sysdeps/unix/sysv/linux/configure: Regenerated.
35679         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35680         * sysdeps/x86_64/configure: Regenerated.
35681
35682         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35683         defined.  Don't check if MAP is NULL.
35684
35685 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35686
35687         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35688         (_G_stat64): Likewise.
35689         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35690         (_G_stat64): Likewise.
35691         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35692         instead of struct _G_stat64.
35693         * libio/fileops.c (mmap_remap_check): Likewise.
35694         (decide_maybe_mmap): Likewise.
35695         (_IO_new_file_seekoff): Likewise.
35696         (_IO_file_stat): Likewise.
35697         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35698         _G_off64_t.
35699         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35700         instead of struct _G_stat64.
35701         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35702
35703 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35704
35705         [BZ #14602]
35706         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35707         Replace with ...
35708         (CHECK_EOL): New macro.
35709         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35710         CHECK_EOL.
35711         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35712         Replace with CHECK_EOL.
35713         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35714         Replace with CHECK_EOL.
35715
35716 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35717
35718         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35719         type-generic.
35720         * math/libm-test.inc: Update comment listing what functions and
35721         macros are tested.
35722         (finite_test): New function.
35723         (isinf_test): Likewise.
35724         (isnan_test): Likewise.
35725         (fpclassify_test): Test subnormal input.
35726         (isfinite_test): Likewise.
35727         (isnormal_test): Likewise.
35728         (main): Call the new functions.
35729
35730 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35731
35732         [BZ #14660]
35733         * Makerules (%.dynsym): Force C locale when running
35734         $(OBJDUMP) --dynamic-syms.
35735
35736 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35737
35738         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35739         <stdint.h>.
35740
35741 2012-10-06  David S. Miller  <davem@davemloft.net>
35742
35743         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35744         upper 32-bits of the length value in %o2 since we use branch-on-register
35745         tests which consider the entire 64-bit register.
35746
35747 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35748
35749         * string/test-strstr.c (check2): Add a test for page boundary.
35750
35751 2012-10-05  David S. Miller  <davem@davemloft.net>
35752
35753         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35754         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35755         file.
35756         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35757         sysdep_routines.
35758         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35759         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35760         and bzero when HWCAP_SPARC_CRYPTO is present.
35761
35762 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35763
35764         [BZ #14602]
35765         * string/test-strstr.c (check2): New function.
35766         (test_main): Call check2.
35767
35768         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35769         and bug-strchr1.
35770         * string/bug-strcasestr1.c (do_test): Moved to ...
35771         * string/test-strcasestr.c (check1): Here.  New function.
35772         (do_one_test): Break out result checking code into ...
35773         (check_result): This.  New function.
35774         (do_one_test): Call check_result.
35775         (test_main): Call check1.
35776         * string/bug-strchr1.c (do_test): Moved to ...
35777         * string/test-strchr.c (check1): Here.  New function.
35778         (do_one_test): Break out result checking code into ...
35779         (check_result): This.  New function.
35780         (do_one_test): Call check_result.
35781         (test_main): Call check1.
35782         * string/bug-strstr1.c (main): Moved to ...
35783         * string/test-strstr.c (check1): Here.  New function.
35784         (do_one_test): Break out result checking code into ...
35785         (check_result): This.  New function.
35786         (do_one_test): Call check_result.
35787         (test_main): Call check1.
35788         * string/bug-strcasestr1.c: Removed.
35789         * string/bug-strchr1.c: Likewise.
35790         * string/bug-strstr1.c: Likewise.
35791
35792         * elf/Makefile (dl-routines): Add hwcaps.
35793         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35794         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35795         (_dl_important_hwcaps): Moved to ...
35796         * elf/dl-hwcaps.c: Here.  New file.
35797         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35798
35799         [BZ #14557]
35800         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35801         if IS_IN_rtld isn't defined.
35802
35803         * elf/dl-support.c (_dl_sysinfo_map): New.
35804         Include "get-dynamic-info.h" and "setup-vdso.h".
35805         (_dl_non_dynamic_init): Call setup_vdso.
35806         * elf/dynamic-link.h: Don't include <assert.h>.
35807         (elf_get_dynamic_info): Moved to ...
35808         * elf/get-dynamic-info.h: Here.  New file.
35809         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35810         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35811         * elf/setup-vdso.h: Here.  New file.
35812         * elf/rtld.c: Include "setup-vdso.h".
35813         (dl_main): Call setup_vdso.
35814
35815 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35816
35817         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35818         creal in comment listing functions tested.  List finite, isinf,
35819         isnan, isless, islessequal, isgreater, isgreaterequal,
35820         islessgreater, isunordered, lgamma_r and pow10 as functions and
35821         macros not tested.  Mention which functions not tested are aliases
35822         for other functions.  Fix typo.  Note that signs of NaNs are not
35823         tested.
35824
35825         * scripts/config.guess: Update from config.git.
35826         * scripts/config.sub: Likewise.
35827
35828 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35829
35830         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35831         * misc/madvise.c (madvise): Renamed to __madvise.
35832         Make madvise a weak alias.
35833         * include/sys/mman.h: Declare __madvise.
35834         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35835         * sysdeps/unix/syscalls.list
35836         (madvise): Make __madvise the strong name, and madvise a weak alias.
35837         * sysdeps/unix/sysv/linux/syscalls.list
35838         (madvise, mmap): Remove redundant entries.
35839         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35840         * malloc/malloc.c (mtrim): Likewise.
35841         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35842
35843 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35844
35845         * sysdeps/mach/hurd/dl-cache.c: File removed.
35846         * config.h.in (USE_LDCONFIG): New #undef.
35847         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35848         * configure: Regenerated.
35849         * elf/Makefile (dl-routines): Add dl-cache only under
35850         [$(use-ldconfig) = yes].
35851         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35852         cache on [USE_LDCONFIG].
35853         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35854         [USE_LDCONFIG].
35855         * elf/rtld.c (dl_main): Likewise.
35856
35857 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35858
35859         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35860         _SC_LEVEL4_CACHE_LINESIZE.
35861
35862 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35863
35864         * sysdeps/unix/bsd/confstr.h: File removed.
35865
35866 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35867
35868         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35869         sys/sdt-config.h.
35870
35871 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35872
35873         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35874         Make 'mapoff' field ElfW(Off) rather than off_t.
35875
35876 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35877
35878         * nscd/Makefile: Remove nscd-cflags and all its users.
35879         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35880         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35881
35882         [BZ #10631]
35883         * malloc.c (malloc_printerr): Clarify error message.
35884
35885 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35886
35887         [BZ #14648]
35888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35889         Set bit_FMA_Usable if FMA is supported.
35890         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35891         macro.
35892         (bit_FMA4_Usable): Updated.
35893         (index_FMA_Usable): New macro.
35894         (CPUID_FMA): Likewise
35895         (HAS_FMA): Defined with bit_FMA_Usable.
35896
35897 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35898
35899         * bits/types.h (__swblk_t): Type removed.
35900         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35901         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35902         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35903         (__SWBLK_T_TYPE): Likewise.
35904         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35905         (__SWBLK_T_TYPE): Likewise.
35906         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35907         (__SWBLK_T_TYPE): Likewise.
35908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35909         (__SWBLK_T_TYPE): Likewise.
35910
35911 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35912             Honza Horak <hhorak@redhat.com>
35913
35914         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35915         (xdr_mapname): Use YPMAXMAP as maxsize.
35916         (xdr_peername): Use YPMAXPEER as maxsize.
35917         (xdr_keydat): Use YPAXRECORD as maxsize.
35918         (xdr_valdat): Use YPMAXRECORD as maxsize.
35919
35920 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35921
35922         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35923
35924         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35925         * csu/init-first.c: ... here.
35926         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35927         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35928         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35929         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35930         * sysdeps/i386/init-first.c: File removed.
35931         * sysdeps/sh/init-first.c: File removed.
35932
35933 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35934
35935         [BZ #14645]
35936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35937         if x * y might underflow to zero and z is zero.
35938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35939         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35940         * math/libm-test.inc (min_subnorm_value): New variable.
35941         (fma_test): Add more tests.
35942         (fma_test_towardzero): Likewise.
35943         (fma_test_downward): Likewise
35944         (fma_test_upward): Likewise.
35945         (initialize): Set min_subnorm_value.
35946
35947 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35948
35949         [BZ #14638]
35950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35951         0 + 0.
35952         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35953         mode for addition resulting in exact zero.
35954         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35956         exact 0 + 0.
35957         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35958         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35959         * math/libm-test.inc (fma_test): Add more tests.
35960         (fma_test_towardzero): New function.
35961         (fma_test_downward): Likewise.
35962         (fma_test_upward): Likewise.
35963         (main): Call the new functions.
35964
35965 2012-09-28  David S. Miller  <davem@davemloft.net>
35966
35967         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35968
35969 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35970
35971         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35972         instead of SIGALRM.
35973
35974         * sysdeps/gnu/_G_config.h: Moved to ...
35975         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35976         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35977         * sysdeps/generic/_G_config.h: ... here.
35978
35979         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35980
35981         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35982
35983         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35984         Conditionalize target on [libnss_test1.so-version].
35985
35986         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35987
35988         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35989         (elfobjdir): Move out of conditionals.
35990
35991         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35992         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35993         (__nss_lookup_function): Conditionalize label remove_from_tree on
35994         [!DO_STATIC_NSS || SHARED], matching its only use.
35995
35996 2012-09-28  David S. Miller  <davem@davemloft.net>
35997
35998         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35999         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36000         file.
36001         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36002         sysdep_routines.
36003         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36004         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36005         when HWCAP_SPARC_CRYPTO is present.
36006
36007 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36008
36009         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36010
36011 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36012
36013         [BZ #6530]
36014         * stdio-common/vfprintf.c (process_string_arg): Revert
36015         2000-07-22 change.
36016
36017 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36018
36019         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36020         for testcase.
36021         * stdio-common/tst-sprintf.c: Include <locale.h>
36022         (main): Test sprintf's handling of incomplete multibyte
36023         characters.
36024
36025 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36026
36027         * elf/dl-runtime.c (VERSYMIDX): Removed.
36028         * elf/dl-version.c (VERSYMIDX): Likewise.
36029         * elf/do-rel.h (VERSYMIDX): Likewise.
36030         (VALIDX): Likewise.
36031         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36032         * elf/rtld.c (VALIDX): Likewise.
36033         (ADDRIDX): Likewise.
36034         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36035         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36036         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36037         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36038         (VALIDX): Likewise.
36039         (ADDRIDX): Likewise.
36040
36041 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36042
36043         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36044
36045 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36046
36047         [BZ #11438]
36048         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36049         to global scope.
36050         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36051         addresses are in the same scope as 192.0.2/24.
36052         * posix/gai.conf: Document new scope table defaults.
36053
36054 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36055
36056         [BZ #5298]
36057         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36058         for ftell.  Compute offsets from write pointers instead.
36059         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36060
36061 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36062
36063         [BZ #14543]
36064         * libio/Makefile (tests): New test case tst-fseek.
36065         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36066         combination works in wide mode.
36067         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36068         state when the external buffer state changes.
36069
36070 2012-09-27  David S. Miller  <davem@davemloft.net>
36071
36072         [BZ #14376]
36073         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36074         pass reloc->r_addend in as the 'high' argument to
36075         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36076
36077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36078
36079 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36080
36081         * rt/tst-aio2.c: Include <pthread.h>.
36082         * rt/tst-aio3.c: Likewise.
36083
36084 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36085
36086         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36087
36088 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36089
36090         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36091         contents on [SHARED].
36092
36093 2012-09-26  Marek Polacek  <polacek@redhat.com>
36094
36095         [BZ #14530]
36096         [BZ #13741]
36097         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36098         for C++ and GCC <4.3 as well as for non GCC compilers.
36099
36100 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36101
36102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36103
36104 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36105
36106         * Makefile.in (all, install): Declare with .PHONY.
36107         Reported by Michael Hope <michael.hope@linaro.org>.
36108
36109 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36110
36111         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36112         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36113         system header.
36114         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36115         Likewise.
36116         (sydep_routines): Add the new and the internal functions.
36117         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36118         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36120         (GLIBC_2.17): Add the new function.
36121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36122         (GLIBC_2.17): Likewise.
36123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36124         (GLIBC_2.17): Likewise.
36125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36126         (GLIBC_2.17): Likewise.
36127         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36128
36129 2012-09-25  Alan Modra  <amodra@gmail.com>
36130
36131         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36132         Add release barrier before setting once_control to say
36133         initialisation is done.  Add hints on lwarx.  Use macro in
36134         place of isync.
36135         (clear_once_control): Add release barrier.
36136
36137 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36138
36139         [BZ #13629]
36140         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36141         specially.
36142         * math/s_clog10.c (__clog10): Likewise.
36143         * math/s_clog10f.c (__clog10f): Likewise.
36144         * math/s_clog10l.c (__clog10l): Likewise.
36145         * math/s_clogf.c (__clogf): Likewise.
36146         * math/s_clogl.c (__clogl): Likewise.
36147         * math/Makefile (libm-calls): Add x2y2m1.
36148         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36149         (__x2y2m1): Likewise.
36150         (__x2y2m1l): Likewise.
36151         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36152         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36153         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36154         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36155         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36156         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36157         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36158         * sysdeps/i386/fpu/libm-test-ulps: Update.
36159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36160
36161         [BZ #14621]
36162         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36163         int as type of variable DEPTH.
36164         (glob): Use size_t instead of int as type of variables NEWCOUNT
36165         and OLD_PATHC.
36166
36167 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36168
36169         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36170         Add s_sincosf-sse2.
36171         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36172         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36173         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36174         macros for using routine as __sincosf_ia32.
36175         Use macro for function declaration and weak_alias.
36176         * sysdeps/i386/fpu/libm-test-ulps: Update.
36177
36178         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36180
36181         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36182         subnormal argument.
36183         * math/s_cexpf.c (__cexpf): Likewise.
36184         * math/s_csinf.c (__csinf): Likewise.
36185         * math/s_csinhf.c (__csinhf): Likewise.
36186         * math/s_ctanf.c (__ctanf): Likewise.
36187         * math/s_ctanhf.c (__ctanhf): Likewise.
36188         * math/s_ccosh.c (__ccoshf): Likewise.
36189         * math/s_cexp.c (__cexpl): Likewise.
36190         * math/s_csin.c (__csin): Likewise.
36191         * math/s_csinh.c (__csinh): Likewise.
36192         * math/s_ctan.c (__ctan): Likewise.
36193         * math/s_ctanh.c (ctanh): Likewise.
36194         * math/s_ccoshl.c (__ccoshl): Likewise.
36195         * math/s_cexpl.c (__cexpl): Likewise.
36196         * math/s_csinl.c (__csinl): Likewise.
36197         * math/s_csinhl.c (__csinhl): Likewise.
36198         * math/s_ctanl.c (__ctanl): Likewise.
36199         * math/s_ctanhl.c (__ctanhl): Likewise.
36200
36201 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36202
36203         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36204         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36205         (_IO_off_t): Define to __off_t, not _G_off_t.
36206         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36207         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36208         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36209         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36210         type of __dummy and __dummy2 fields.
36211         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36212         (_G_ssize_t): Likewise.
36213         (_G_off_t): Likewise.
36214         (_G_pid_t): Likewise.
36215         (_G_uid_t): Likewise.
36216         (_G_wchar_t): Likewise.
36217         (_G_wint_t): Likewise.
36218         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36219         (_G_ssize_t): Likewise.
36220         (_G_off_t): Likewise.
36221         (_G_pid_t): Likewise.
36222         (_G_uid_t): Likewise.
36223         (_G_wchar_t): Likewise.
36224         (_G_wint_t): Likewise.
36225         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36226         (_G_ssize_t): Likewise.
36227         (_G_off_t): Likewise.
36228         (_G_pid_t): Likewise.
36229         (_G_uid_t): Likewise.
36230         (_G_wchar_t): Likewise.
36231         (_G_wint_t): Likewise.
36232
36233 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36234
36235         * malloc/arena.c: Include malloc-sysdep.h.
36236         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36237         is sufficient to shrink the heap or an unmap is needed.
36238         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36239         new function check_may_shrink_heap.
36240         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36241         new function check_may_shrink_heap.
36242
36243 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36244
36245         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36246         comments.
36247
36248 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36249
36250         * catgets/test-gencat.sh: Add "set -e".
36251         * elf/tst-pathopt.sh: Likewise.
36252         * grp/tst_fgetgrent.sh: Likewise.
36253         * iconvdata/run-iconv-test.sh: Likewise.
36254         * intl/tst-gettext.sh: Likewise.
36255         * intl/tst-gettext2.sh: Likewise.
36256         * intl/tst-gettext4.sh: Likewise.
36257         * intl/tst-gettext6.sh: Likewise.
36258         * intl/tst-translit.sh: Likewise.
36259         * io/ftwtest-sh: Likewise.
36260         * libio/test-freopen.sh: Likewise.
36261         * malloc/tst-mtrace.sh: Likewise.
36262         * posix/globtest.sh: Likewise.
36263         * posix/tst-getconf.sh: Likewise.
36264         * posix/wordexp-tst.sh: Likewise.
36265         * stdio-common/tst-printf.sh: Likewise.
36266         * stdio-common/tst-unbputc.sh: Likewise.
36267         * stdlib/tst-fmtmsg.sh: Likewise.
36268         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36269         * catgets/Makefile: Do not specify -e option when running
36270         testsuite shell scripts.
36271         * elf/Makefile: Likewise.
36272         * grp/Makefile: Likewise.
36273         * iconvdata/Makefile: Likewise.
36274         * intl/Makefile: Likewise.
36275         * io/Makefile: Likewise.
36276         * libio/Makefile: Likewise.
36277         * malloc/Makefile: Likewise.
36278         * posix/Makefile: Likewise.
36279         * stdio-common/Makefile: Likewise.
36280         * stdlib/Makefile: Likewise.
36281         * sysdeps/x86_64/Makefile: Likewise.
36282
36283         * io/ftwtest-sh: Add copyright header.
36284         * posix/globtest.sh: Likewise.
36285         * posix/tst-getconf.sh: Likewise.
36286         * posix/wordexp-tst.sh: Likewise.
36287         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36288
36289 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36290
36291         [BZ #13679]
36292         * Makeconfig (+link): Defined as $(+link-static) if
36293         $(build-shared) isn't yes.
36294         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36295         isn't yes.
36296         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36297
36298         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36299
36300         [BZ #14562]
36301         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36302         new chunk size with MALLOC_ALIGN_MASK.
36303
36304 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36305
36306         [BZ #5044]
36307         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36308         <rounding-mode.h>.
36309         (__printf_fphex): Determine rounding using get_rounding_mode and
36310         round_away.
36311         * stdio-common/tst-printf-round.c (struct hex_test): New
36312         structure.
36313         (hex_tests): New variable.
36314         (test_hex_in_one_mode): New function.
36315         (do_test): Also run tests for hex float output.
36316
36317 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36318
36319         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36320         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36321         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36322         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36323         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36324         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36325         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36326         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36327
36328 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36329
36330         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36331         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36332         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36333         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36334
36335 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36336
36337         [BZ #14579]
36338         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36339         mode only.
36340         * elf/tst-rtld-load-self.sh: New test.
36341         * elf/Makefile: Run it.
36342
36343 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36344
36345         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36346         (tst-writev-ENV): Remove.
36347         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36348
36349 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36350
36351         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36352
36353 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36354
36355         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36356         unconditional.
36357         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36358         Likewise.
36359         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36360         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36361         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36362         Likewise.
36363
36364 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36365
36366         [BZ #14587]
36367         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36368         * config.make.in (have-cpp-asm-debuginfo): Removed.
36369         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36370         * configure: Regenerated.
36371
36372 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36373
36374         [BZ #5044]
36375         * stdio-common/printf_fp.c: Include <stdbool.h> and
36376         <rounding-mode.h>.
36377         (___printf_fp): Determine rounding using get_rounding_mode and
36378         round_away.
36379         * stdio-common/tst-printf-round.c: New file.
36380         * stdio-common/Makefile (tests): Add tst-printf-round.
36381         (link-libm): New variable.
36382         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36383
36384 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36385
36386         [BZ #14576]
36387         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36388         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36389         Likewise.
36390         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36391         Likewise.
36392
36393 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36394
36395         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36396         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36397         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36398         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36399
36400 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36401
36402         [BZ #14518]
36403         * include/rounding-mode.h: New file.
36404         * sysdeps/generic/get-rounding-mode.h: Likewise.
36405         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36406         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36407         (MAX_VALUE): New macro.
36408         (MIN_VALUE): Likewise.
36409         (overflow_value): New function.
36410         (underflow_value): Likewise.
36411         (round_and_return): Use overflow_value and underflow_value to
36412         determine return values in overflow and underflow cases.  Use
36413         round_away to determine rounding depending on rounding mode.
36414         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36415         determine return values in overflow and underflow cases.
36416         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36417         (struct test_results): New structure.
36418         (struct test): Use struct test_results to store expected results
36419         for all rounding modes.
36420         (TEST): Include expected results for all rounding modes.
36421         (test_in_one_mode): New function.
36422         (do_test): Use test_in_one_mode to compute and check results.
36423         Check results for all rounding modes.
36424         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36425         $(link-libm).
36426
36427 2012-12-09  Allan McRae  <allan@archlinux.org>
36428
36429         * sysdeps/i386/fpu/libm-test-ulps: Update
36430
36431 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36432
36433         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36434         (_G_int32_t): Likewise.
36435         (_G_uint16_t): Likewise.
36436         (_G_uint32_t): Likewise.
36437         (_G_HAVE_BOOL): Likewise.
36438         (_G_HAVE_ATEXIT): Likewise.
36439         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36440         (_G_HAVE_IO_FILE_OPEN): Likewise.
36441         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36442         (_G_int32_t): Likewise.
36443         (_G_uint16_t): Likewise.
36444         (_G_uint32_t): Likewise.
36445         (_G_HAVE_BOOL): Likewise.
36446         (_G_HAVE_ATEXIT): Likewise.
36447         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36448         (_G_HAVE_IO_FILE_OPEN): Likewise.
36449         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36450         (_G_int32_t): Likewise.
36451         (_G_uint16_t): Likewise.
36452         (_G_uint32_t): Likewise.
36453         (_G_HAVE_BOOL): Likewise.
36454         (_G_HAVE_ATEXIT): Likewise.
36455         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36456         (_G_HAVE_IO_FILE_OPEN): Likewise.
36457
36458 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36459
36460         * csu/libc-tls.c: Update copyright years.
36461
36462 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36463
36464         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36465         [!_G_USING_THUNKS]: Remove conditional code.
36466         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36467         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36468
36469         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36470         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36471         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36472         (_G_VTABLE_LABEL_PREFIX): Likewise.
36473         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36474         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36475         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36476         (_G_VTABLE_LABEL_PREFIX): Likewise.
36477         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36478         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36479         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36480         (_G_VTABLE_LABEL_PREFIX): Likewise.
36481         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36482
36483 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36484
36485         * libio/Makefile: Include ../Makeconfig before tests.
36486         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36487         only if $(build-shared) is yes.
36488
36489         * iconv/gconv_db.c: Update copyright years.
36490
36491 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36492
36493         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36494         unwind info if defined PIC. Fix special cases description.
36495         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36496
36497         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36498         DP_HI_MASK entry.
36499         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36500
36501 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36502
36503         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36504
36505         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36506         is NULL.
36507
36508         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36509         (LDLIBS-tst-chk4): This.
36510         (LDFLAGS-tst-chk5): Renamed to ...
36511         (LDLIBS-tst-chk5): This.
36512         (LDFLAGS-tst-chk6): Renamed to ...
36513         (LDLIBS-tst-chk6): This.
36514         (LDFLAGS-tst-lfschk4): Renamed to ...
36515         (LDLIBS-tst-lfschk4): This.
36516         (LDFLAGS-tst-lfschk5): Renamed to ...
36517         (LDLIBS-tst-lfschk5): This.
36518         (LDFLAGS-tst-lfschk6): Renamed to ...
36519         (LDLIBS-tst-lfschk6): This.
36520
36521         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36522         on $(common-objpfx)soversions.mk.
36523
36524 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36525
36526         [BZ #10014]
36527         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36528         example host name.
36529
36530 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36531
36532         * malloc/arena.c (arena_get_retry): New function that gets
36533         another arena for the caller to try its request on.
36534         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36535         current arena cannot fulfill the request.
36536         (__libc_memalign): Likewise.
36537         (__libc_memalign): Likewise.
36538         (__libc_pvalloc): Likewise.
36539         (__libc_calloc): Likewise.
36540
36541 2012-09-05  John Tobey  <john.tobey@gmail.com>
36542
36543         [BZ #13542]
36544         * manual/arith.texi (Operations on Complex): Fix description
36545         of carg branch cut.
36546
36547 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36548
36549         [BZ #10014]
36550         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36551         host name.
36552
36553         [BZ #10038]
36554         * manual/memory.texi (Memory): Make order of menu items match
36555         order of sections.
36556
36557 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36558
36559         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36560         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36561         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36562
36563 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36564
36565         * csu/libc-tls.c (static_dtv): Renamed to ...
36566         (_dl_static_dtv): This.  Make it global.
36567         (_dl_initial_dtv): Removed.
36568         (__libc_setup_tls): Updated.
36569         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36570         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36571         DL_INITIAL_DTV.
36572
36573 2012-09-06  Petr Machata  <pmachata@redhat.com>
36574
36575         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36576         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36577         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36578         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36579
36580 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36581
36582         [BZ #14545]
36583         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36584         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36585         freeing dtv[-1].
36586
36587 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36588
36589         [BZ #14544]
36590         * Makeconfig (link-static-before-libc): Replace $(+prector)
36591         with $(+prectorT).
36592         (link-static-after-libc): Replace $(+postctor) with
36593         $(+postctorT).
36594         (link-bounded): Replace $(+prector)/$(+postctor) with
36595         $(+prectorT)/$(+postctorT).
36596         (+prectorT): New macro.
36597         (+postctorT): Likewise.
36598
36599 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36600
36601         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36602         (round_str): Handle values above the maximum for IBM long double
36603         as inexact.
36604         * stdlib/tst-strtod-round.c (tests): Regenerated.
36605
36606 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36607
36608         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36609         assembler flag.
36610         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36611         zarch_nohighgprs around the zarch optimized routines.
36612         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36613         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36614         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36615         for zarch.
36616
36617 2012-09-05  David S. Miller  <davem@davemloft.net>
36618
36619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36620
36621         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36622         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36623         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36624         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36625         entries.
36626
36627 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36628
36629         * malloc/arena.c: Fold copyright years.
36630         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36631
36632 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36633
36634         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36635
36636 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36637
36638         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36639
36640 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36641
36642         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36643         change internal state upon failure.
36644
36645 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36646
36647         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36648         * malloc/memusage.c (mmap): Likewise.
36649         (mmap64, mremap): Likewise.  Adjust name in comment.
36650
36651 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36652
36653         * libio/fileops.c: Fix typos in comments.
36654         * libio/oldfileops.c: Likewise.
36655         * libio/wfileops.c: Likewise.
36656
36657 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36658
36659         [BZ #1349]
36660         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36661         (tst-malloc-usable-ENV): Set environment for test case.
36662         * malloc/hooks.c (malloc_check_get_size): New function to get
36663         requested size.
36664         * malloc/malloc.c (musable): Use malloc_check_get_size.
36665         * malloc/tst-malloc-usable.c: New test case.
36666
36667 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36668
36669         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36670
36671 2012-09-05  Allan McRae  <allan@archlinux.org>
36672
36673         [BZ #13966]
36674         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36675         determine header location.
36676         * configure: Regenerated.
36677
36678 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36679
36680         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36681         float format.
36682         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36683         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36684         format.
36685         (test): Regenerate.
36686
36687 2012-09-04  David S. Miller  <davem@davemloft.net>
36688
36689         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36690         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36691         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36692
36693 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36694
36695         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36696         failures.
36697
36698         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36699
36700 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36701
36702         [BZ #9914]
36703         * libio/iogetdelim.c: Include <limits.h>.
36704         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36705         + len + 1 would overflow.
36706
36707 2012-09-03  Andreas Jaeger  <aj@suse.de>
36708
36709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36710         * sysdeps/i386/fpu/libm-test-ulps: Update.
36711
36712 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36713
36714         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36715         Add s_sinf-sse2, s_conf-sse2.
36716
36717         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36718         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36719         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36720         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36721
36722         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36723         for using routine as __sinf_ia32.
36724         Use macro for function declaration and weak_alias.
36725         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36726         for using routine as __cosf_ia32.
36727         Use macro for function declaration and weak_alias.
36728
36729         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36730         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36731
36732         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36733         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36735
36736         * math/libm-test.inc (cos_test): Add more test cases.
36737         (sin_test): Likewise.
36738         (sincos_test): Likewise.
36739
36740 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36741
36742         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36743         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36744         hidden.
36745         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36746
36747 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36748
36749         [BZ #14538]
36750         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36751         first element of the GOT.
36752         (elf_machine_load_address): Return the difference between
36753         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36754
36755 2012-09-01  Allan McRae  <allan@archlinux.org>
36756
36757         [BZ #13412]
36758         * configure.in (AWK): Require gawk version 3.0 or later.
36759         * configure: Regenerated.
36760
36761 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36762
36763         * sysdeps/unix/sysv/linux/kernel-features.h
36764         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36765         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36766         [__NR_clock_getres]: Make code unconditional.
36767         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36768         (clock_getcpuclockid): Remove code left unreachable by removal of
36769         conditionals.
36770         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36771         code unconditional.
36772         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36773         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36774         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36775         Make code unconditional.
36776         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36777         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36778         * sysdeps/unix/sysv/linux/clock_settime.c
36779         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36780         conditional code.
36781         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36782         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36783
36784 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36785
36786         [BZ #14476]
36787         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36788         scripts/test-installation.pl.
36789
36790         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36791         and $ld_so_version if it is set.
36792
36793 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36794
36795         [BZ #14516]
36796         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36797         failure if reading from procfs failed.
36798         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36799
36800 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36801
36802         * sysdeps/unix/sysv/linux/kernel-features.h
36803         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36804         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36805         Remove conditional code.
36806         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36807         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36808         Remove conditional code.
36809         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36810         * sysdeps/unix/sysv/linux/i386/fxstat.c
36811         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36812         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36813         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36814         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36815         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36816         * sysdeps/unix/sysv/linux/i386/lxstat.c
36817         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36818         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36819         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36820         Remove conditional code.
36821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36822         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36823         Remove conditional code.
36824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36825         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36826         <kernel-features.h>.
36827         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36828         Remove.
36829         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36830         Remove conditional code.
36831         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36832         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36833         Remove conditional.
36834
36835 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36836
36837         [BZ #5400]
36838         * NEWS: Add fixed bug number.
36839
36840 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36841
36842         [BZ #14519]
36843         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36844         underflowing exponent in case of negative sign.
36845         * stdlib/tst-strtod-round-data: Add more tests.
36846         * stdlib/tst-strtod-round.c (tests): Regenerated.
36847
36848         [BZ #3479]
36849         * stdlib/strtod_l.c (NDIG): Remove.
36850         (HEXNDIG): Likewise.
36851         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36852         smallest representable value.
36853         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36854         lie within an exact representation of 1/2 ulp of the result.
36855         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36856         unconditionally.
36857         (TENS_P9_IDX): Define unconditionally.
36858         (TENS_P9_SIZE): Likewise.
36859         (TENS_P10_IDX): Likewise.
36860         (TENS_P10_SIZE): Likewise.
36861         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36862         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36863         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36864         entries for 10^2^13 and 10^2^14.
36865         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36866         (TENS_P13_IDX): Define.
36867         (TENS_P13_SIZE): Likewise.
36868         (TENS_P14_IDX): Likewise.
36869         (TENS_P14_SIZE): Likewise.
36870         (_fpioconst_pow10): Change array size to
36871         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36872         unconditional.
36873         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36874         1024]: Add entries for 10^2^13 and 10^2^14.
36875         [LAST_POW10 > _LAST_POW10]: Remove #error.
36876         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36877         (_fpioconst_pow10): Change array size to
36878         FPIOCONST_POW10_ARRAY_SIZE.
36879         * stdlib/gen-fpioconst.c: New file.
36880         * stdlib/gen-tst-strtod-round.c: Likewise.
36881         * stdlib/tst-strtod-round-data: Likewise.
36882         * stdlib/tst-strtod-round.c: Likewise.
36883         * stdlib/Makefile (tests): Add tst-strtod-round.
36884
36885         [BZ #14459]
36886         * stdlib/strtod_l.c: Include <stdint.h>.
36887         (NDEBUG): Do not define.
36888         (round_and_return): Change EXPONENT parameter to type intmax_t.
36889         Rearrange calculations to avoid internal overflow possibilities.
36890         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36891         Rearrange calculations to avoid internal overflow possibilities.
36892         Assert that number fits inside MPNSIZE limbs.
36893         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36894         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36895         calculations and add assertions to avoid internal overflow
36896         possibilities.  Add casts to avoid signed/unsigned operations.
36897         * stdlib/tst-strtod-overflow.c: New file.
36898         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36899
36900 2012-08-25  Marek Polacek  <polacek@redhat.com>
36901
36902         * time/time.h: Fix some typos in comments.
36903
36904 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36905
36906         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36907         * posix/tst-rfc3484-2.c: Likewise.
36908         * posix/tst-rfc3484-3.c: Likewise.
36909
36910 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36911
36912         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36913         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36914
36915 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36916
36917         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36918         #include of fxstatat64.c.
36919
36920 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36921
36922         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36923         * shadow/getspent_r.c: Likewise.
36924         * shadow/getspnam.c: Likewise.
36925         * shadow/getspnam_r.c: Likewise.
36926         * gshadow/getsgent.c: Likewise.
36927         * gshadow/getsgent_r.c: Likewise.
36928         * gshadow/getsgnam.c: Likewise.
36929         * gshadow/getsgnam_r.c: Likewise.
36930         * inet/getnetbyad.c: Likewise.
36931         * inet/getnetbyad_r.c: Likewise.
36932         * inet/getnetbynm.c: Likewise.
36933         * inet/getnetbynm_r.c: Likewise.
36934         * inet/getnetent.c: Likewise.
36935         * inet/getnetent_r.c: Likewise.
36936         * inet/getproto.c: Likewise.
36937         * inet/getproto_r.c: Likewise.
36938         * inet/getprtent.c: Likewise.
36939         * inet/getprtent_r.c: Likewise.
36940         * inet/getprtname.c: Likewise.
36941         * inet/getprtname_r.c: Likewise.
36942         * inet/getrpcbyname.c: Likewise.
36943         * inet/getrpcbyname_r.c: Likewise.
36944         * inet/getrpcbynumber.c: Likewise.
36945         * inet/getrpcbynumber_r.c: Likewise.
36946         * inet/getrpcent.c: Likewise.
36947         * inet/getrpcent_r.c: Likewise.
36948         * inet/getaliasent.c: Likewise.
36949         * inet/getaliasent_r.c: Likewise.
36950         * inet/getaliasname.c: Likewise.
36951         * inet/getaliasname_r.c: Likewise.
36952         * nscd/getgrgid_r.c: Likewise.
36953         * nscd/getgrnam_r.c: Likewise.
36954         * nscd/gethstbyad_r.c: Likewise.
36955         * nscd/gethstbynm3_r.c: Likewise.
36956         * nscd/getpwnam_r.c: Likewise.
36957         * nscd/getpwuid_r.c: Likewise.
36958         * nscd/getsrvbynm_r.c: Likewise.
36959         * nscd/getsrvbypt_r.c: Likewise.
36960         * nscd/gai.c: Likewise.
36961
36962         * configure.in (build_nscd): New substituted variable, set
36963         by --disable-build-nscd and defaults to $use_nscd.
36964         * configure: Regenerated.
36965         * config.make.in (build-nscd): New substituted variable.
36966         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36967         Change conditional to require [$(build-nscd) = yes] as well.
36968         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36969
36970         [BZ# 13696]
36971         * configure.in (use_nscd): New substituted variable, set by
36972         --disable-nscd.  If enabled, define USE_NSCD.
36973         * configure: Regenerated.
36974         * config.h.in: Add USE_NSCD.
36975         * config.make.in (use-nscd): New substituted variable.
36976         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36977         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36978         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36979         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36980         (CFLAGS-getgrnam_r.c): Likewise.
36981         (CFLAGS-initgroups.c): Likewise.
36982         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36983         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36984         Variables removed.
36985         * inet/getnetgrent_r.c
36986         (nscd_setnetgrent): New function, broken out of ...
36987         (setnetgrent): ... here.  Call it.
36988         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36989         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36990         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36991         * nscd/Makefile (routines, aux): Move definitions after include of
36992         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36993         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36994         Conditionalize on [USE_NSCD].
36995         (is_nscd, nscd_init_cb): Likewise.
36996         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36997         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36998         * nss/nss_db/db-init.c: Likewise.
36999         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37000         [USE_NSCD].
37001         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37002         (make_request): Use it.
37003         (cache_valid_p): New function.
37004         (__check_pf): Use it.
37005         * NEWS: Add item for --disable-nscd.
37006
37007 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37008
37009         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37010         to support sed >= 4.2.1-20-ga9bf076.
37011         * configure: Regenerated.
37012
37013 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37014
37015         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37016         Conditionalize whole body on [IREL].
37017
37018 2012-08-22  Jeff Law <law@redhat.com>
37019
37020         [BZ #14505]
37021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37022         if the family is PF_UNSPEC.
37023
37024 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37025
37026         * Makerules (lib-version): Rename from V.
37027         (install-lib-nosubdir): Change V to lib-version.
37028
37029 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37030
37031         [BZ #14252]
37032         * powerpc32/power6/wcschr.c: New file.
37033         * powerpc32/power6/wcscpy.c: New file.
37034         * powerpc32/power6/wcsrchr.c: New file.
37035         * powerpc64/power6/wcschr.c: New file.
37036         * powerpc64/power6/wcscpy.c: New file.
37037         * powerpc64/power6/wcsrchr.c: New file.
37038
37039 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37040
37041         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37042         (two_way_short_needle): Use it.
37043         * string/strstr.c (AVAILABLE1_USES_J): Define.
37044         * string/strcasestr.c: Likewise.
37045
37046         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37047         array references.
37048         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37049
37050         [BZ #11607]
37051         * NEWS: Add an entry.
37052         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37053         define their defaults.
37054         (two_way_short_needle): Detect end-of-string on-the-fly.
37055         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37056         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37057         * string/bug-strcasestr1.c: New test.
37058         * string/Makefile: Run it.
37059
37060 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37061
37062         [BZ #11607]
37063         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37064         the first character.
37065
37066 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37067
37068         * csu/elf-init.c (__libc_csu_irel): Function removed.
37069         * csu/libc-start.c (apply_irel): New function.
37070         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37071
37072 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37073
37074         * sysdeps/unix/sysv/linux/kernel-features.h
37075         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37076         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37077         <kernel-features.h>.
37078         [__NR_fadvise64_64]: Make code unconditional.
37079         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37080         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37081         !__NR_fadvise64_64)]: Likewise.
37082         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37083         !__NR_fadvise64_64))]: Likewise.
37084         [__NR_fadvise64]: Make code unconditional.
37085         [!__NR_fadvise64]: Remove conditional code.
37086         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37087         <kernel-features.h>.
37088         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37089         unconditional.
37090         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37091         conditional code.
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37093         not include <kernel-features.h>.
37094         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37095         unconditional.
37096         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37097         conditional code.
37098         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37099         include <kernel-features.h>.
37100         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37101         unconditional.
37102         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37103         conditional code.
37104
37105 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37106
37107         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37108         slight instruction rearrangements per scrollpipe analysis.
37109         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37110
37111 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37112
37113         * manual/syslog.texi (syslog; vsyslog, closelog):
37114         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37115         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37116
37117         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37118         DSOCAPS to match condition on defining it.
37119
37120 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37121
37122         * sysdeps/unix/sysv/linux/kernel-features.h
37123         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37125         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37126         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37128         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37129         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37131         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37132         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37133
37134         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37135         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37136
37137         * sysdeps/unix/sysv/linux/kernel-features.h
37138         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37139         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37140         unconditional.
37141         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37142         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37143         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37144         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37145         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37146         Make code unconditional.
37147         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37148         (__mmap64) [!__NR_mmap2]: Likewise.
37149         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37150         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37151         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37152         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37153         [__NR_mmap2]: Make code unconditional.
37154         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37155         (__mmap64) [!__NR_mmap2]: Likewise.
37156
37157 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37158
37159         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37160
37161 2012-08-18  Andreas Jaeger  <aj@suse.de>
37162
37163         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37164
37165 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37166
37167         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37168         * include/unistd.h (__have_sock_cloexec): Likewise.
37169         (__have_pipe2): Likewise.
37170         (__have_dup3): Likewise.
37171
37172 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37173
37174         [BZ #9685]
37175         * include/unistd.h (__have_pipe2): Change define into an extern int.
37176         (__have_dup3): Likewise.
37177         * socket/have_sock_cloexec.c: Include fcntl.h.
37178         (__have_pipe2): New variable.
37179         (__have_dup3): Likewise.
37180
37181 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37182
37183         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37184
37185 2012-08-17  Marek Polacek  <polacek@redhat.com>
37186
37187         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37188         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37189
37190 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37191
37192         * configure.in: Add AC_SUBST for sysheaders.
37193         * configure: Regenerated.
37194         * config.make.in (sysheaders): New substituted variable.
37195
37196         * sysdeps/unix/mkfifo.c: Moved ...
37197         * sysdeps/posix/mkfifo.c: ... here.
37198         * sysdeps/unix/mkfifoat.c: Moved ...
37199         * sysdeps/posix/mkfifoat.c: ... here.
37200
37201         * sysdeps/unix/utime.c: Moved ...
37202         * sysdeps/posix/utime.c: ... here.
37203
37204         * sysdeps/unix/time.c: Moved ...
37205         * sysdeps/posix/time.c: ... here.
37206         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37207         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37208
37209         * sysdeps/unix/nice.c: Moved ...
37210         * sysdeps/posix/nice.c: ... here.
37211
37212         * sysdeps/unix/alarm.c: Moved ...
37213         * sysdeps/posix/alarm.c: ... here.
37214
37215         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37216
37217 2012-08-17  Jeff Law <law@redhat.com>
37218
37219         * intl/Makefile (codeset_mo): New variable.
37220         ($(codeset_mo)): New target.
37221         (tst-codeset.out): Depend on that.  Remove explicit rule.
37222         (tst-gettext3.out, tst-gettext5.out): Likewise.
37223         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37224         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37225         * intl/tst-codeset.sh: Remove.
37226         * intl/tst-gettext3.sh: Likewise.
37227         * intl/tst-gettext5.sh: Likewise.
37228
37229 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37230
37231         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37232         * sysdeps/unix/syscalls.list: ... here.
37233
37234         * sysdeps/posix/getaddrinfo.c
37235         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37236         (gaiconf_init, gaiconf_reload): Use them.
37237         [!_STATBUF_ST_NSEC]
37238         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37239         Define using time_t rather than struct timespec.
37240
37241         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37242         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37243         Macros removed.
37244         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37245         [!NO_THREADS].
37246         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37247         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37248         Likewise.
37249
37250         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37251         __libc_cleanup_push argument.
37252
37253         * bits/param.h: New file.
37254         * misc/sys/param.h: New file.
37255         * include/sys/param.h: New file.
37256         * misc/Makefile (headers): Add bits/param.h.
37257         * sysdeps/generic/sys/param.h: File removed.
37258         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37259         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37260         * sysdeps/mach/hurd/bits/param.h: New file.
37261         * sysdeps/mach/hurd/sys/param.h: File removed.
37262
37263         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37264         last change.
37265
37266         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37267         [_IO_MTSAFE_IO].
37268         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37269         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37270         New macros.
37271
37272         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37273         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37274         rather than -D_IO_MTSAFE_IO conditionally.
37275         * stdio-common/Makefile (CPPFLAGS): Likewise.
37276         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37277         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37278         Use $(libio-mtsafe).
37279         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37280         of -D_IO_MTSAFE_IO.
37281         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37282         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37283         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37284         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37285         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37286         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37287         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37288         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37289         (CFLAGS-fread_u_chk.c): Likewise.
37290         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37291         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37292         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37293         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37294         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37295         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37296         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37297         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37298         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37299
37300         * libio/Makefile: Test [$(libc-reentrant) = yes]
37301         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37302
37303         * Makeconfig
37304         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37305         * sysdeps/pthread/configure: File removed.
37306         * sysdeps/pthread/Makeconfig: New file.
37307         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37308         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37309
37310 2012-08-16  Gary Benson  <gbenson@redhat.com>
37311
37312         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37313         unmapping the first object in a namespace.
37314
37315 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37316
37317         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37318         (__internal_setnetgrent): ... this.  Add internal_function to
37319         definition.  Add libc_hidden_def.
37320         (setnetgrent): Update caller.
37321         (internal_endnetgrent): Renamed to ...
37322         (__internal_endnetgrent): ... this.  Add internal_function to
37323         definition.  Add libc_hidden_def.
37324         (endnetgrent): Update caller.
37325         (internal_getnetgrent_r): Renamed to ...
37326         (__internal_getnetgrent_r): ... this.  Add internal_function to
37327         definition.  Add libc_hidden_def.
37328         (__getnetgrent_r): Update caller.
37329         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37330
37331 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37332
37333         * stdlib/longlong.h: Update from GCC.
37334
37335 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37336
37337         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37338         on _QL, which is set by umul_ppmm but never used.
37339         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37340         variables, which are set by GMP macros but never used.
37341         * stdio-common/_itowa.c (_itowa): Likewise.
37342         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37343         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37344
37345 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37346
37347         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37348         struct La_sh_regs is not constant.
37349         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37350         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37351         and struct La_sparc64_regs are not constant.
37352
37353 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37354
37355         * sysdeps/unix/sysv/linux/kernel-features.h
37356         (__ASSUME_POSIX_TIMERS): Remove.
37357         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37358         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37359         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37360         Make code unconditional.
37361         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37362         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37363         Make code unconditional.
37364         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37365         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37366         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37367         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37368         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37369         Make code unconditional.
37370         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37371         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37372         (__libc_missing_posix_timers): Remove.
37373
37374 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37375
37376         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37377         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37378
37379         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37380
37381         * elf/dl-sym.c: Include <stdlib.h>.
37382
37383         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37384         constants, which avoids warnings in 32-bit builds.
37385
37386         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37387         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37388
37389         * misc/lseek.c: File moved to ...
37390         * io/lseek.c: ... here.
37391
37392         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37393
37394         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37395         shifting LEN more than 31 bits at once.
37396
37397 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37398
37399         [BZ #14195]
37400         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37401         segmentation fault for a case of two empty input strings.
37402         * string/test-strncasecmp.c (check1): Renamed to...
37403         (bz12205): ...this.
37404         (bz14195): Add new testcase for two empty input strings and N > 0.
37405         (test_main): Call new testcase, adapt for renamed function.
37406
37407 2012-08-15  Andreas Jaeger  <aj@suse.de>
37408
37409         [BZ #14090]
37410         * crypt/md5test2.c: New test, based on test supplied by Serge
37411         Belyshev <belyshev@depni.sinp.msu.ru>.
37412         * crypt/Makefile (xtests): Add md5test-giant..
37413         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37414
37415 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37416
37417         [BZ #14090]
37418         * crypt/md5.c (md5_process_block): Don't assume the buffer
37419         length is less than 2**32.
37420         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37421         length is less than 2**64.
37422
37423 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37424
37425         * string/str-two-way.h: Include <sys/param.h>.
37426         (MAX): Macro removed.
37427
37428         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37429         Move #define and #undef of memmove to just before and after
37430         including <string.h>.
37431
37432         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37433         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37434         and after including <string.h>.  Move declarations of
37435         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37436         to before #include "string/memmove.c".
37437
37438         * include/dirent.h: Declare __getdirentries.
37439
37440         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37441         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37442
37443 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37444
37445         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37446         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37447         * sysdeps/i386/configure: Regenerated.
37448         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37449         STABS_CURRENT_FILE, and STABS_FUN.
37450         (END): Remove call to STABS_FUN_END.
37451         (STABS_CURRENT_FILE1): Delete.
37452         (STABS_CURRENT_FILE): Likewise.
37453         (STABS_FUN): Likewise.
37454         (STABS_FUN_END): Likewise.
37455         (STABS_FUN2): Likewise.
37456         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37457         * sysdeps/x86_64/configure: Regenerated.
37458
37459 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37460
37461         * elf/dl-open.c: Include <atomic.h>.
37462         * elf/dl-lookup.c: Likewise.
37463
37464 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37465
37466         * sysdeps/unix/sysv/linux/kernel-features.h
37467         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37468         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37469         unconditionally.
37470         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37471         unconditionally.
37472         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37473         condition on __ASSUME_CLONE_THREAD_FLAGS.
37474
37475 2012-08-14  Andreas Jaeger  <aj@suse.de>
37476
37477         * sysdeps/i386/fpu/libm-test-ulps: Update.
37478
37479 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37480
37481         * include/atomic.h (atomic_exchange_and_add): Split into ...
37482         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37483         New atomic macros.
37484
37485 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37486
37487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37488
37489 2012-08-13  Jeff Law <law@redhat.com>
37490
37491         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37492         null byte in the output string.
37493
37494 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37495
37496         * sysdeps/unix/sysv/linux/kernel-features.h
37497         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37498         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37499         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37500         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37501         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37502         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37503         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37504
37505 2012-08-09  Jeff Law <law@redhat.com>
37506
37507         [BZ #13939]
37508         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37509         When avoid_arena is set, don't retry in the that arena.  Pick the
37510         next one, whatever it might be.
37511         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37512         (arena_lock): Pass in new parameter to arena_get2.
37513         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37514         arena_get2.
37515         (__libc_malloc): Unify retrying after main arena failure with
37516         __libc_memalign version.
37517         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37518
37519 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37520
37521         [BZ #14166]
37522         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37523         to __redirect_strstr.
37524         (__strstr_sse42): Use typeof __redirect_strstr.
37525         (__strstr_ia32): Likewise.
37526         (__libc_strstr): New prototype.
37527         (strstr): Renamed to ...
37528         (__libc_strstr): This.
37529         (strstr): New strong alias of __libc_strstr.
37530         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37531         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37532         __redirect_time.
37533         Include <time.h>.
37534         (__libc_time): New prototype.
37535         (time_ifunc): Replace time with __libc_time.
37536         (time): New strong alias and hidden definition of __libc_time.
37537         (__GI_time): Remove strong alias.
37538         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37539         Include <stddef.h>.
37540         (memmove): Redefined to __redirect_memmove.
37541         (__memmove_sse2): Use typeof __redirect_memmove.
37542         (__memmove_ssse3): Likewise.
37543         (__memmove_ssse3_back): Likewise.
37544         (__libc_memmove): New prototype.
37545         (memmove): Renamed to ...
37546         (__libc_memmove): This.
37547         (memmove): New strong alias of __libc_memmove.
37548
37549 2012-08-08  Mark Salter  <msalter@redhat.com>
37550
37551         * elf/elf.h
37552         (R_MN10300_TLS_GD): Define.
37553         (R_MN10300_TLS_LD): Likewise.
37554         (R_MN10300_TLS_LDO): Likewise.
37555         (R_MN10300_TLS_GOTIE): Likewise.
37556         (R_MN10300_TLS_IE): Likewise.
37557         (R_MN10300_TLS_LE): Likewise.
37558         (R_MN10300_TLS_DTPMOD): Likewise.
37559         (R_MN10300_TLS_DTPOFF): Likewise.
37560         (R_MN10300_TLS_TPOFF): Likewise.
37561         (R_MN10300_SYM_DIFF): Likewise.
37562         (R_MN10300_ALIGN): Likewise.
37563         (R_MN10300_NUM): Update.
37564
37565 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37566
37567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37568         Remove.
37569
37570 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37571
37572         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37573
37574         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37575         sysdeps/unix -> sysdeps/posix move.
37576         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37577
37578 2012-08-07      Allan McRae     <allan@archlinux.org>
37579
37580         [BZ #14303]
37581         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37582         (SUNOS_CPP): Likewise.
37583         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37584         not found.
37585         (open_input): Call CPP using execvp.
37586
37587 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37588
37589         * sysdeps/unix/sysv/linux/kernel-features.h
37590         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37591         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37592         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37593         (__ASSUME_WAITID_SYSCALL): Likewise.
37594         * sysdeps/unix/sysv/linux/dl-execstack.c
37595         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37596         code unconditional.
37597         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37598         conditional code.
37599         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37600         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37601         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37602         code.
37603         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37604         unconditional.
37605         [__ASSUME_WAITID_SYSCALL]: Likewise.
37606         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37607
37608 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37609
37610         * sysdeps/unix/closedir.c: Renamed to ...
37611         * sysdeps/posix/closedir.c: ... here.
37612         * sysdeps/unix/dirfd.c: Renamed to ...
37613         * sysdeps/posix/dirfd.c: ... here.
37614         * sysdeps/unix/dirstream.h: Renamed to ...
37615         * sysdeps/posix/dirstream.h: ... here.
37616         * sysdeps/unix/fdopendir.c: Renamed to ...
37617         * sysdeps/posix/fdopendir.c: ... here.
37618         * sysdeps/unix/opendir.c: Renamed to ...
37619         * sysdeps/posix/opendir.c: ... here.
37620         * sysdeps/unix/readdir.c: Renamed to ...
37621         * sysdeps/posix/readdir.c: ... here.
37622         * sysdeps/unix/readdir_r.c: Renamed to ...
37623         * sysdeps/posix/readdir_r.c: ... here.
37624         * sysdeps/unix/rewinddir.c: Renamed to ...
37625         * sysdeps/posix/rewinddir.c: ... here.
37626         * sysdeps/unix/seekdir.c: Renamed to ...
37627         * sysdeps/posix/seekdir.c: ... here.
37628         * sysdeps/unix/telldir.c: Renamed to ...
37629         * sysdeps/posix/telldir.c: ... here.
37630         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37631         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37632         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37633         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37634
37635         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37636         * bits/fcntl.h: ... here.
37637
37638         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37639         not 0.
37640         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37641         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37642         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37643         (struct flock): Move l_start, l_len to the beginning.
37644         Use __pid_t for l_pid.
37645         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37646         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37647         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37648         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37649         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37650         [__USE_LARGEFILE64] (struct flock64): New type.
37651         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37652
37653         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37654         * bits/dirent.h: ... here.
37655
37656         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37657         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37658
37659 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37660
37661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37662         Change from 2.6.0 to 2.6.16.
37663         * sysdeps/unix/sysv/linux/configure: Regenerated.
37664         * sysdeps/unix/sysv/linux/kernel-features.h
37665         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37666         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37667         version.
37668         (__ASSUME_UTIMES): Likewise.
37669         (__ASSUME_CLONE_STOPPED): Remove.
37670         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37671         architectures, not kernel version.
37672         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37673         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37674         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37675         (__ASSUME_WAITID_SYSCALL): Likewise.
37676         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37677         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37678         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37679         refer to older versions.
37680
37681 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37682
37683         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37684         Define alphasort64 as an alias.
37685         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37686         Define versionsort64 as an alias.
37687         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37688         Define scandir64 as an alias.
37689         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37690         Define scandirat64 as an alias.
37691         * dirent/alphasort64.c (alphasort64):
37692         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37693         * dirent/versionsort64.c: Likewise.
37694         * dirent/scandir64.c: Likewise.
37695         * dirent/scandirat64.c: Likewise.
37696         * sysdeps/wordsize-64/alphasort.c: File removed.
37697         * sysdeps/wordsize-64/alphasort64.c: File removed.
37698         * sysdeps/wordsize-64/scandir.c: File removed.
37699         * sysdeps/wordsize-64/scandir64.c: File removed.
37700         * sysdeps/wordsize-64/scandirat.c: File removed.
37701         * sysdeps/wordsize-64/scandirat64.c: File removed.
37702         * sysdeps/wordsize-64/versionsort.c: File removed.
37703         * sysdeps/wordsize-64/versionsort64.c: File removed.
37704         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37705         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37706         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37707         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37708         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37709         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37710         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37711         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37712
37713         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37714         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37715         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37716         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37717         [defined __arch64__ || defined __sparcv9]
37718         (__INO_T_MATCHES_INO64_T): New macro.
37719         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37720         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37721         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37722         * sysdeps/unix/sysv/linux/bits/dirent.h
37723         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37724         (_DIRENT_MATCHES_DIRENT64): New macro.
37725
37726         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37727         Define lockf64 as an alias.
37728         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37729         Define fseeko64 as an alias.
37730         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37731         Define ftello64 as an alias.
37732         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37733         Define _IO_fgetpos64 and fgetpos64 as aliases.
37734         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37735         Define _IO_fsetpos64 and fsetpos64 as aliases.
37736         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37737         Conditionalize body on this.
37738         * libio/fseeko64.c: Likewise.
37739         * libio/ftello64.c: Likewise.
37740         * libio/iofgetpos64.c: Likewise.
37741         * libio/iofsetpos64.c: Likewise.
37742         * sysdeps/wordsize-64/lockf.c: File removed.
37743         * sysdeps/wordsize-64/lockf64.c: File removed.
37744         * sysdeps/wordsize-64/fseeko.c: File removed.
37745         * sysdeps/wordsize-64/fseeko64.c: File removed.
37746         * sysdeps/wordsize-64/ftello.c: File removed.
37747         * sysdeps/wordsize-64/ftello64.c: File removed.
37748         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37749         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37750         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37751         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37752         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37753         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37754         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37755         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37756         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37757         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37758         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37759         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37760         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37761         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37762
37763         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37764         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37765         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37767         [defined __arch64__ || defined __sparcv9]
37768         (__OFF_T_MATCHES_OFF64_T): New macro.
37769         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37770         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37772         (__OFF_T_MATCHES_OFF64_T): New macro.
37773
37774 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37775
37776         * stdlib/secure-getenv.c (__secure_getenv): Replace
37777         GLIBC_2_16 with GLIBC_2_17.
37778
37779 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37780
37781         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37782         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37783
37784 2012-08-03  David S. Miller  <davem@davemloft.net>
37785
37786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37787
37788 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37789
37790         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37791         Remove.
37792         (__ASSUME_CORRECT_SI_PID): Likewise.
37793         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37794         (__ASSUME_TMPFS_NAME): Likewise.
37795         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37796         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37797         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37798         (HAVE_AUX_SECURE): Make definition unconditional.
37799         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37800         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37801
37802 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37803
37804         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37805         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37806         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37807         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37808         __eloop_threshold instead of SYMLOOP_MAX.
37809
37810         * sysdeps/generic/eloop-threshold.h: New file.
37811         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37812         of MAXSYMLINKS.
37813         * elf/chroot_canon.c (chroot_canon): Likewise.
37814
37815 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37816
37817         [BZ #13717]
37818         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37819         Change to 2.6.0 everywhere.
37820         * sysdeps/unix/sysv/linux/configure: Regenerated.
37821         * sysdeps/unix/sysv/linux/kernel-features.h
37822         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37823         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37824         kernel versions.
37825         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37826         (__ASSUME_FUTEX_REQUEUE): Remove.
37827         (__ASSUME_STATFS64): Define unconditionally.
37828         (__ASSUME_AT_SECURE): Likewise.
37829         (__ASSUME_CORRECT_SI_PID): Likewise.
37830         (__ASSUME_TGKILL): Define without depending on kernel version for
37831         i386.
37832         (__ASSUME_UTIMES): Likewise.
37833         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37834         kernel version.
37835         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37836         (__ASSUME_TMPFS_NAME): Likewise.
37837         * README: Update reference to Linux kernel versions.
37838
37839 2012-08-02  Marek Polacek  <polacek@redhat.com>
37840
37841         [BZ# 14150]
37842         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37843         libc_cv_asm_type_prefix with %.
37844         * configure: Regenerated.
37845         * include/libc-symbols.h: Remove comment about
37846         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37847         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37848         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37849         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37850         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37851         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37852         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37853         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37854         * elf/tst-unique2mod1.c: Likewise.
37855         * elf/tst-unique1mod2.c: Likewise.
37856         * elf/tst-unique1mod1.c: Likewise.
37857         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37858         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37859         Replace ASM_TYPE_DIRECTIVE with .type.
37860         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37861         * sysdeps/i386/sysdep.h: Likewise.
37862         * sysdeps/x86_64/sysdep.h: Likewise.
37863         * sysdeps/sh/sysdep.h: Likewise.
37864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37865         Do not define ASM_TYPE_DIRECTIVE.
37866         * sysdeps/powerpc/sysdep.h: Likewise.
37867         * sysdeps/powerpc/powerpc32/sysdep.h:
37868         Replace ASM_TYPE_DIRECTIVE with .type.
37869         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37870         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37871         * sysdeps/i386/fpu/e_powf.S: Likewise.
37872         * sysdeps/i386/fpu/e_expl.S: Likewise.
37873         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37874         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37875         * sysdeps/i386/fpu/e_pow.S: Likewise.
37876         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37877         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37878         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37879         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37880         * sysdeps/i386/fpu/e_log2.S: Likewise.
37881         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37882         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37883         * sysdeps/i386/fpu/e_powl.S: Likewise.
37884         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37885         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37886         * sysdeps/i386/fpu/e_logl.S: Likewise.
37887         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37888         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37889         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37890         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37891         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37892         * sysdeps/i386/fpu/e_log.S: Likewise.
37893         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37894         * sysdeps/i386/fpu/e_logf.S: Likewise.
37895         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37896         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37897         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37898         * sysdeps/i386/fpu/e_log10.S: Likewise.
37899         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37900         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37901         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37902         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37903         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37904         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37905         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37906         * sysdeps/i386/i686/strtok.S: Likewise.
37907         * sysdeps/i386/i386-mcount.S: Likewise.
37908         * sysdeps/i386/strtok.S: Likewise.
37909         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37910         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37911         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37912         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37913         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37914         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37915         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37916         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37917         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37918         * sysdeps/x86_64/_mcount.S: Likewise.
37919         * sysdeps/x86_64/strtok.S: Likewise.
37920         * sysdeps/sh/_mcount.S: Likewise.
37921
37922 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37923
37924         * libio/iofopen.c: Include <fcntl.h>.
37925         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37926         (_IO_fopen64, fopen64): Define as aliases.
37927         * libio/iofopen64.c: Include <fcntl.h>.
37928         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37929         Conditionalize body on this.
37930         * sysdeps/wordsize-64/iofopen.c: File removed.
37931         * sysdeps/wordsize-64/iofopen64.c: File removed.
37932
37933 2012-08-01  Marek Polacek  <polacek@redhat.com>
37934
37935         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37936         Use dlfcn directly instead of a variable.
37937         (binfmt-subdir): Do not define.
37938         (dlfcn): Likewise.
37939
37940 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37941
37942         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37943         Remove all definitions.
37944         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37945         <kernel-features.h>.
37946         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37947         (miss_F_GETOWN_EX): Remove all definitions.
37948         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37949         macro definition.
37950         [!__ASSUME_FCNTL64]: Remove conditional code.
37951         [__ASSUME_FCNTL64]: Make code unconditional.
37952         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37953         <kernel-features.h>.
37954         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37955         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37956         (lockf64) [__NR_fcntl64]: Make code unconditional.
37957         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37958
37959         * sysdeps/unix/sysv/linux/kernel-features.h
37960         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37961         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37962         Make code unconditional.
37963         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37964         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37966         [__NR_vfork]: Make code unconditional.
37967         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37968         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37970         [__NR_vfork]: Make code unconditional.
37971         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37972         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37973
37974 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37975
37976         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37977         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37978
37979         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37980         Define mkstemp64 as an alias.
37981         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37982         Define mkstemps64 as an alias.
37983         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37984         Define mkostemp64 as an alias.
37985         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37986         Define mkostemps64 as an alias.
37987         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37988         Conditionalize body on this.
37989         * misc/mkostemp64.c: Likewise.
37990         * misc/mkostemps64.c: Likewise.
37991         * misc/mkstemps64.c: Likewise.
37992         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37993         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37994         * sysdeps/wordsize-64/mkostemp.c: File removed.
37995         * sysdeps/wordsize-64/mkstemp.c: File removed.
37996         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37997         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37998         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37999         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38000
38001         [BZ #14138]
38002         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38003         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38004         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38005         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38006
38007         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38008         compat_symbol macros from <shlib-compat.h> rather than the underlying
38009         default_symbol_version and symbol_version macros, so that DEFAULT
38010         lines in shlib-versions are respected.
38011         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38012
38013 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38014
38015         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38016         Declare with warn_unused_result.
38017         (setgid, setregid, setegid, setresgid): Likewise.
38018         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38019         Likewise.
38020         * WUR-REPORT: Remove set*id functions.
38021
38022 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38023
38024         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38025
38026 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38027
38028         [BZ #10191]
38029         * include/sys/socket.h (__libc_accept, __libc_accept4):
38030         Add attribute_hidden.
38031         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38032
38033         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38034         use of PTR_MANGLE.
38035         * inet/getnetgrent_r.c (setup): Likewise.
38036
38037         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38038
38039 2012-07-31  David S. Miller  <davem@davemloft.net>
38040
38041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38042
38043 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38044
38045         [BZ #13629]
38046         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38047         value between 1.0 and 2.0 and smaller part has absolute value less
38048         than 1.0.
38049         * math/s_clog10.c (__clog10): Likewise.
38050         * math/s_clog10f.c (__clog10f): Likewise.
38051         * math/s_clog10l.c (__clog10l): Likewise.
38052         * math/s_clogf.c (__clogf): Likewise.
38053         * math/s_clogl.c (__clogl): Likewise.
38054         * math/libm-test.inc (clog_test): Add more tests.
38055         (clog10_test): Likewise.
38056         * sysdeps/i386/fpu/libm-test-ulps: Update.
38057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38058
38059 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38060
38061         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38062         Exit with zero in case no suitable GID is found, and write a
38063         message to standard error.
38064
38065 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38066
38067         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38068         rather than to 1.
38069         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38070         (MAXPATHLEN): Removed.
38071         (NOGROUP, NODEV): New macros.
38072         (setbit, clrbit, isset, isclr): New macros.
38073         (howmany, roundup, powerof2): New macros.
38074         (DEV_BSIZE): New macro.
38075
38076         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38077         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38078
38079         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38080         definition on [!__NO_LONG_DOUBLE_MATH].
38081
38082         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38083         PTR_MANGLE and PTR_DEMANGLE.
38084
38085         * socket/accept4.c (accept4): Rename to __libc_accept4.
38086         Define accept4 as a weak alias.
38087
38088         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38089         on [_DIRENT_HAVE_D_TYPE].
38090         * io/ftw.c (ftw_dir): Likewise.
38091
38092         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38093
38094         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38095
38096         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38097         Use the BSD numbers rather than the arbitrary ones we had.
38098         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38099         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38100         (SIGXCPU, SIGXFSZ): New macros.
38101         (_NSIG): Now 32.
38102
38103         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38104         initializer on [_LIBC_REENTRANT].
38105
38106         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38107         definitions inside [_POSIX_MAPPED_FILES].
38108
38109         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38110
38111         * dirent/opendir.c: Include <fcntl.h>.
38112
38113         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38114         (__libc_getspecific): Likewise.
38115         (__libc_key_create): Likewise.
38116
38117         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38118         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38119         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38120         (tmpfile64): Define as alias.
38121         * sysdeps/wordsize-64/tmpfile.c: File removed.
38122         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38123         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38124         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38125
38126         * stdio-common/vfscanf.c: Include <stdbool.h>.
38127         * nss/makedb.c: Likewise.
38128         * stdio-common/_i18n_number.h: Likewise.
38129         * argp/argp-help.c: Likewise.
38130         * posix/wordexp.c: Likewise.
38131         * sysdeps/posix/spawni.c: Likewise.
38132         * nss/nss_files/files-initgroups.c: Likewise.
38133         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38134         * nss/nss_files/files-initgroups.c: Likewise.
38135         * nss/nss_db/db-netgrp.c: Likewise.
38136         * nss/nss_db/db-initgroups.c: Likewise.
38137         * io/fchmodat.c: Include <sys/stat.h>.
38138
38139         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38140         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38141
38142         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38143         [HAVE_MMAP].
38144
38145         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38146         Add multiple inclusion protection.
38147
38148 2012-07-27  David S. Miller  <davem@davemloft.net>
38149
38150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38151
38152 2012-07-27  Gary Benson  <gbenson@redhat.com>
38153
38154         [BZ #14298]
38155         * elf/rtld.c: Include <stap-probe.h>.
38156         (dl_main): Added static probes "init_start" and "init_complete".
38157         * elf/dl-load.c: Include <stap-probe.h>.
38158         (lose): Take new parameter "nsid".
38159         Added static probe "map_failed".
38160         (_dl_map_object_from_fd): Pass namespace id to lose.
38161         Added static probe "map_start".
38162         (open_verify): Pass namespace id to lose.
38163         * elf/dl-open.c: Include <stap-probe.h>.
38164         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38165         and "reloc_complete".
38166         * elf/dl-close.c: Include <stap-probe.h>.
38167         (_dl_close_worker): Added static probes "unmap_start" and
38168         "unmap_complete".
38169         * elf/rtld-debugger-interface.txt: New file documenting the above.
38170
38171 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38172
38173         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38174         rather than a string variable.
38175         * sunrpc/rpc_main.c (h_output): Likewise.
38176         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38177
38178 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38179
38180         * inet/check_native.c: New file.
38181
38182 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38183
38184         [BZ #13629]
38185         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38186         if larger part has absolute value 1.0.
38187         * math/s_clog10.c (__clog10): Likewise.
38188         * math/s_clog10f.c (__clog10f): Likewise.
38189         * math/s_clog10l.c (__clog10l): Likewise.
38190         * math/s_clogf.c (__clogf): Likewise.
38191         * math/s_clogl.c (__clogl): Likewise.
38192         * math/libm-test.inc (clog_test): Add more tests.
38193         (clog10_test): Likewise.
38194         * sysdeps/i386/fpu/libm-test-ulps: Update.
38195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38196
38197         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38198         (pltexit): Likewise.
38199         (La_regs): Likewise.
38200         (La_retval): Likewise.
38201         (int_retval): Likewise.
38202         Update #error for removed macros to refer only to definitions in
38203         tst-audit.h.
38204         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38205         macro.
38206         (pltexit): Likewise.
38207         (La_regs): Likewise.
38208         (La_retval): Likewise.
38209         (int_retval): Likewise.
38210         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38211         macro.
38212         (pltexit): Likewise.
38213         (La_regs): Likewise.
38214         (La_retval): Likewise.
38215         (int_retval): Likewise.
38216         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38217         macro.
38218         (pltexit): Likewise.
38219         (La_regs): Likewise.
38220         (La_retval): Likewise.
38221         (int_retval): Likewise.
38222         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38223         macro.
38224         (pltexit): Likewise.
38225         (La_regs): Likewise.
38226         (La_retval): Likewise.
38227         (int_retval): Likewise.
38228         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38229         macro.
38230         (pltexit): Likewise.
38231         (La_regs): Likewise.
38232         (La_retval): Likewise.
38233         (int_retval): Likewise.
38234         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38235         macro.
38236         (pltexit): Likewise.
38237         (La_regs): Likewise.
38238         (La_retval): Likewise.
38239         (int_retval): Likewise.
38240         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38241         macro definitions in tst-audit.h.
38242         * sysdeps/i386/tst-audit.h: New file.
38243         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38244         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38245         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38246         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38247         * sysdeps/sh/tst-audit.h: Likewise.
38248         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38249         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38250         * sysdeps/x86_64/tst-audit.h: Likewise.
38251
38252 2012-07-26  Andreas Jaeger  <aj@suse.de>
38253
38254         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38255         ptrace.
38256
38257         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38258         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38259         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38260         PTRACE_O_MASK.
38261         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38262         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38263         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38264
38265         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38266         value.
38267
38268         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38269         _sigsys.
38270         (si_call_addr, si_syscall, si_arch): Define new macro.
38271         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38272         _sigsys.
38273         (si_call_addr, si_syscall, si_arch): Define new marcro.
38274         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38275         _sigsys.
38276         (si_call_addr, si_syscall, si_arch): Define new macro.
38277         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38278         _sigsys.
38279         (si_call_addr, si_syscall, si_arch): Define new macro.
38280
38281 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38282
38283         [BZ #13717]
38284         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38285         Change to 2.4.21 where previously 2.4.1.
38286         * sysdeps/unix/sysv/linux/configure: Regenerated.
38287         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38288         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38289         Linux kernel version.
38290         (__ASSUME_STD_AUXV): Remove.
38291         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38292         kernel version.
38293         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38294         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38295         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38296         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38297         (__ASSUME_NETLINK_SUPPORT): Likewise.
38298         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38299         (__no_netlink_support): Remove conditional definition.
38300         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38301         Remove.
38302         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38303         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38304         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38305         (if_nameindex_ioctl): Remove.
38306         (if_nameindex_netlink): Do not handle __no_netlink_support.
38307         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38308         code.
38309         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38310         Remove conditional code.
38311         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38312         code.
38313         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38314         unconditional.
38315         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38316         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38317         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38318         Remove.
38319         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38320         [!__ASSUME_STD_AUXV]: Remove conditional code.
38321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38322         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38323         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38325         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38326         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38327         code.
38328         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38330         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38331         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38332         conditional code.
38333         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38335         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38336         code.
38337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38338         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38339         conditional code.
38340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38341         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38342         code unconditional.
38343         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38344         conditional code.
38345         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38346         unconditional.
38347         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38348         conditional code.
38349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38350         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38351         unconditional.
38352         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38353         conditional code.
38354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38355         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38356         code unconditional.
38357         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38358         conditional code.
38359         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38360         unconditional.
38361         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38362         conditional code.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38364         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38365         code unconditional.
38366         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38367         conditional code.
38368         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38369         unconditional.
38370         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38371         conditional code.
38372
38373 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38374
38375         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38376         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38377         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38378         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38379         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38380         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38381         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38382         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38383         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38384         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38385         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38386         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38387         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38388         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38389         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38390         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38391         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38393         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38395         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38396         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38397         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38398
38399 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38400
38401         * Versions.def: Add GLIBC_2.17.
38402         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38403         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38404         Introduce __libc_secure_getenv.
38405         * stdlib/Versions (2.17): Add secure_getenv
38406         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38407         * stdlib/secure-getenv.c: Rename __secure_getenv to
38408         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38409         symbol __secure_getenv for GLIBC_2.0.
38410         * stdlib/tst-secure-getenv.c: New.
38411         * stdlib/Makefile (tests): Add testcase.
38412         * manual/startup.texi (Environment Access): Document
38413         secure_getenv.
38414         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38415         __libc_secure_getenv.
38416         * inet/ruserpass.c (ruserpass): Likewise.
38417         * malloc/mtrace.c (mtrace): Likewise.
38418         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38419         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38420         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38421         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38422         HAVE_SECURE_GETENV.
38423         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38424         __secure_getenv to __libc_secure_getenv.
38425         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38427         Likewise.
38428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38429         Likewise.
38430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38432         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38437
38438 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38439
38440         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38441         (struct La_i86_retval): Likewise.
38442         (struct La_x86_64_regs): Likewise.
38443         (struct La_x86_64_retval): Likewise.
38444         (struct La_x32_regs): Likewise.
38445         (struct La_x32_retval): Likewise.
38446         (struct La_ppc32_regs): Likewise.
38447         (struct La_ppc32_retval): Likewise.
38448         (struct La_ppc64_regs): Likewise.
38449         (struct La_ppc64_retval): Likewise.
38450         (struct La_sh_regs): Likewise.
38451         (struct La_sh_retval): Likewise.
38452         (struct La_s390_32_regs): Likewise.
38453         (struct La_s390_32_retval): Likewise.
38454         (struct La_s390_64_regs): Likewise.
38455         (struct La_s390_64_retval): Likewise.
38456         (struct La_sparc32_regs): Likewise.
38457         (struct La_sparc32_retval): Likewise.
38458         (struct La_sparc64_regs): Likewise.
38459         (struct La_sparc64_retval): Likewise.
38460         (struct audit_ifaces): Remove architecture-specific pltenter and
38461         pltexit members.
38462         * sysdeps/i386/ldsodefs.h: New file.
38463         * sysdeps/powerpc/ldsodefs.h: Likewise.
38464         * sysdeps/s390/ldsodefs.h: Likewise.
38465         * sysdeps/sh/ldsodefs.h: Likewise.
38466         * sysdeps/sparc/ldsodefs.h: Likewise.
38467         * sysdeps/x86_64/ldsodefs.h: Likewise.
38468
38469 2012-07-25  Marek Polacek  <polacek@redhat.com>
38470
38471         [BZ #6808]
38472         * math/libm-test.inc (yn_test): Add another test.
38473         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38474         to ERANGE when the result is +-Inf.
38475         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38477         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38478         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38479
38480 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38481
38482         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38483         equal to 0.
38484         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38485         clock_t.
38486         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38487
38488 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38489
38490         * configure.in <sysdeps resolving>: Correct printing
38491         Implies_before.
38492         * configure: Regenerate.
38493
38494 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38495
38496         * math/w_ilogb.c: Include <limits.h>.
38497         * math/w_ilogbl.c: Likewise.
38498
38499 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38500
38501         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38502         va_copy.  Document allowing for unavailable va_copy only as
38503         pre-C99 compatibility.
38504         * manual/string.texi (Copying and Concatenation): Use va_copy
38505         instead of __va_copy in concat example.
38506
38507 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38508
38509         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38510         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38511         it if not null.
38512
38513         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38514         with O_NOLINK passed to __file_name_lookup.
38515
38516         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38517         with O_NOLINK passed to __file_name_lookup.
38518
38519         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38520         negative N or less than NGIDS.
38521
38522         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38523         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38524         enough.  Use memcpy instead of strncpy.
38525
38526 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38527
38528         * elf/Makefile (check-data): Remove.
38529         (localplt.data): New vpath directive.
38530         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38531         instead of $(check-data).
38532         * scripts/data/localplt-generic.data: Move to ...
38533         * sysdeps/generic/localplt.data: ... here.
38534         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38535         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38536         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38538         ... here.
38539         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38541         ... here.
38542         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38544         ... here.
38545         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38547         ... here.
38548         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38550         ... here.
38551         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38553         ... here.
38554
38555 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38556
38557         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38558         PPC32 and PPC64 files.
38559         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38560         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38561
38562 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38563
38564         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38565         __makecontext_ret to ...
38566         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38567         ... here and call exit if uc_link is NULL.  New file.
38568         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38569         __makecontext_ret.S.
38570         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38571         __makecontext_ret to ...
38572         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38573         ... here and call exit if uc_link is NULL.  New file.
38574         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38575         __makecontext_ret.S.
38576
38577 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38578
38579         * elf/elf.h (R_390_IRELATIVE): New definition.
38580         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38581         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38582         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38583         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38584         (elf_machine_lazy_rel): Likewise.
38585         * sysdeps/s390/dl-irel.h: New file.
38586         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38587         * sysdeps/s390/s390-64/memset.S: New asm code.
38588         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38589         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38590         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38591         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38592         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38593         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38595         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38596         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38597         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38598         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38599         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38600         * sysdeps/s390/s390-32/memset.S: New asm code.
38601         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38602
38603 2012-07-17  Marek Polacek  <polacek@redhat.com>
38604
38605         [BZ #14349]
38606         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38607         * sysdeps/s390/s390-64/configure.in: Likewise.
38608         * sysdeps/sparc/configure.in: Likewise.
38609         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38610         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38611         * sysdeps/i386/configure.in: Likewise.
38612         * sysdeps/x86_64/configure.in: Likewise.
38613         * sysdeps/sh/configure.in: Likewise.
38614         * sysdeps/s390/s390-32/configure: Regenerated.
38615         * sysdeps/s390/s390-64/configure: Likewise.
38616         * sysdeps/x86_64/configure: Likewise.
38617         * sysdeps/sh/configure: Likewise.
38618         * sysdeps/powerpc/powerpc64/configure: Likewise.
38619         * sysdeps/powerpc/powerpc32/configure: Likewise.
38620         * sysdeps/sparc/configure: Likwise.
38621         * sysdeps/i386/configure: Likewise.
38622
38623         * elf/dl-open.c: Comment fixes.
38624
38625 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38626
38627         * Makefile [CXX] (check-data): Remove.
38628         [CXX] (c++-types.data): New vpath directive.
38629         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38630         vpath.  Do not allow for C++ type data being missing.
38631         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38632         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38633         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38634         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38635         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38636         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38637         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38639         ... here.
38640         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38642         ... here.
38643         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38645         ... here.
38646         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38648         ... here.
38649         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38651         ... here.
38652         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38654         ... here.
38655         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38657         ... here.
38658         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38660
38661         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38662         definitions to architecture-specific files.
38663         (TLS_IE): Likewise.
38664         (TLS_LD): Likewise.
38665         (TLS_GD): Likewise.
38666         * sysdeps/i386/tls-macros.h: New file.
38667         * sysdeps/powerpc/tls-macros.h: Likewise.
38668         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38669         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38670         * sysdeps/sh/tls-macros.h: Likewise.
38671         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38672         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38673         * sysdeps/x86_64/tls-macros.h: Likewise.
38674
38675 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38676
38677         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38678         zero value for regular exit case.
38679
38680         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38681         (__start_context): Preserve zero value for regular exit case.
38682
38683 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38684             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38685
38686         * manual/setjmp.texi (setcontext): Clarify normal process
38687         termination when uc_link is the null pointer.
38688         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38689         exit call.
38690
38691 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38692
38693         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38694         preprocessor.  Test for each exception mask separately.
38695
38696 2012-07-16  Andreas Jaeger  <aj@suse.de>
38697
38698         * po/ru.po: Update from translation team.
38699
38700 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38701
38702         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38703         equal to 0.
38704         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38705         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38706         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38707         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38709
38710 2012-07-13  Andreas Jaeger  <aj@suse.de>
38711
38712         * po/fr.po: Update from translation team.
38713
38714 2012-07-12  Marek Polacek  <polacek@redhat.com>
38715
38716         [BZ #14173]
38717         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38718         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38719         loop condition.
38720
38721 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38722
38723         [BZ #13717]
38724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38725         Change to 2.4.1 where previously 2.4.0.
38726         * sysdeps/unix/sysv/linux/configure: Regenerated.
38727         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38728         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38729         version.
38730         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38731         (__ASSUME_AT_CLKTCK): Remove.
38732         (__ASSUME_AT_PAGESIZE): Likewise.
38733         (__ASSUME_AT_XID): Likewise.
38734         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38735         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38736         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38737         unconditionally.
38738         (HAVE_AUX_PAGESIZE): Likewise.
38739         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38740         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38741         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38742
38743 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38744
38745         [BZ #14307]
38746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38747         the temporary buffer used to invoke __gethostbyname2_r,
38748         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38749         host_data / struct gaih_addrtuple.
38750         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38751         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38752         header file nss/nsswitch.h.
38753         * nss/nsswitch.h (global scope): Add definition of implementation
38754         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38755         resolv/nss_dns/dns-host.c).
38756
38757 2012-07-11  Andreas Jaeger  <aj@suse.de>
38758
38759         * po/fr.po: Update from translation team.
38760
38761         * po/sv.po: Update from translation team
38762         * po/fr.po: Another update from translation team.
38763
38764 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38765
38766         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38767         for subnormals or multiply small sinh result by itself.
38768         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38770
38771 2012-07-11  David S. Miller  <davem@davemloft.net>
38772
38773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38774
38775 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38776
38777         [BZ #14347]
38778         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38779         (INTERNAL_MARK): Shift it here.
38780
38781 2012-07-10  Marek Polacek  <polacek@redhat.com>
38782
38783         [BZ #14151]
38784         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38785         libc_cv_asm_global_directive with .globl.
38786         * configure: Regenerated.
38787         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38788         with .globl.
38789         * sysdeps/i386/configure: Regenerated.
38790         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38791         with .globl.
38792         * sysdeps/x86_64/configure: Regenerated.
38793         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38794         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38795         * elf/tst-unique2mod2.c: Likewise.
38796         * elf/tst-unique2mod1.c: Likewise.
38797         * elf/tst-unique1mod2.c: Likewise.
38798         * elf/tst-unique1mod1.c: Likewise.
38799         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38800         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38801         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38802         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38803         * sysdeps/mach/sysdep.h: Likewise.
38804         * sysdeps/i386/sysdep.h: Likewise.
38805         * sysdeps/i386/i386-mcount.S: Likewise.
38806         * sysdeps/x86_64/_mcount.S: Likewise.
38807         * sysdeps/x86_64/sysdep.h: Likewise.
38808         * sysdeps/sh/_mcount.S: Likewise.
38809         * sysdeps/sh/sysdep.h: Likewise.
38810         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38811         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38812         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38813         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38814         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38815         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38816         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38817         * locale/localeinfo.h: Likewise.
38818         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38819         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38820
38821 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38822
38823         [BZ #14336]
38824         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38825         system".
38826         * manual/message.texi (The Uniforum approach): Likewise.
38827         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38828         (glibc iconv Implementation): Likewise.
38829
38830 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38831
38832         [BZ #14337]
38833         * math/s_clog.c (__clog): Avoid scaling a value down where that
38834         could result in underflow.
38835         * math/s_clog10.c (__clog10): Likewise.
38836         * math/s_clog10f.c (__clog10f): Likewise.
38837         * math/s_clog10l.c (__clog10l): Likewise.
38838         * math/s_clogf.c (__clogf): Likewise.
38839         * math/s_clogl.c (__clogl): Likewise.
38840         * math/libm-test.inc (clog_test): Add more tests.
38841         (clog10_test): Likewise.
38842         * sysdeps/i386/fpu/libm-test-ulps: Update.
38843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38844
38845 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38846
38847         [BZ #14283]
38848         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38849         by 7 not 8 to examine high bit of fractional part.
38850
38851         [BZ #14042]
38852         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38853         for call to __mcount_internal.
38854         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38855         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38856         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38857
38858 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38859
38860         [BZ #14154]
38861         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38862         approximation for values within 0x1p-13f of an odd multiple of
38863         pi/4.
38864         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38865         exception.  Add more tests.
38866         * sysdeps/i386/fpu/libm-test-ulps: Update.
38867
38868         [BZ #6778]
38869         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38870         inputs and return -1 for them.  Do not check for +Inf in case not
38871         reachable for +Inf.
38872         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38873         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38874         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38875         and return -1 for them.  Do not check for +Inf in case not
38876         reachable for +Inf.
38877         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38878         define.
38879         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38880         and return -1 for them.  Do not check for +Inf in case not
38881         reachable for +Inf.
38882         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38883         spurious underflow.
38884         * sysdeps/i386/fpu/libm-test-ulps: Update.
38885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886
38887 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38888
38889         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38890
38891 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38892
38893         [BZ #14157]
38894         [BZ #14331]
38895         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38896         could result in spurious underflow.  Scale down values above
38897         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38898         * math/s_csqrtf.c (__csqrtf): Likewise.
38899         * math/s_csqrtl.c (__csqrtl): Likewise.
38900         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38901         spurious underflow.
38902         * sysdeps/i386/fpu/libm-test-ulps: Update.
38903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38904
38905 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38906
38907         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38908         xopen-msg.sed.
38909         * catgets/xopen-msg.awk: New file.
38910         * catgets/xopen-msg.sed: Removed.
38911
38912         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38913         po2text.sed.
38914         * intl/po2test.awk: New file.
38915         * intl/po2test.sed: Removed.
38916
38917 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38918
38919         [BZ #14328]
38920         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38921         or multiply small sinh result by itself.
38922         * math/s_ctanf.c (__ctanf): Likewise.
38923         * math/s_ctanh.c (__ctanh): Likewise.
38924         * math/s_ctanhf.c (__ctanhf): Likewise.
38925         * math/s_ctanhl.c (__ctanhl): Likewise.
38926         * math/s_ctanl.c (__ctanl): Likewise.
38927         * math/libm-test.inc (ctan_test_tonearest): New function.
38928         (ctan_test_towardzero): Likewise.
38929         (ctan_test_downward): Likewise.
38930         (ctan_test_upward): Likewise.
38931         (ctanh_test_tonearest): Likewise.
38932         (ctanh_test_towardzero): Likewise.
38933         (ctanh_test_downward): Likewise.
38934         (ctanh_test_upward): Likewise.
38935         (main): Call these new functions.
38936         * sysdeps/i386/fpu/libm-test-ulps: Update.
38937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38938
38939 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38940
38941         * .gitignore: Delete /ports entry.
38942
38943 2012-07-03  Andreas Jaeger  <aj@suse.de>
38944
38945         * po/bg.po: Update from translation team.
38946         * po/cs.po: Likewise.
38947         * po/de.po: Likewise.
38948         * po/hr.po: Likewise.
38949         * po/nl.pl: Likewise.
38950         * po/pl.po: Likewise.
38951         * po/vi.po: Likewise.
38952
38953 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38954
38955         * Makeconfig [!+link] (+link-before-libc): New variable.
38956         [!+link] (+link-after-libc): Likewise.
38957         [!+link] (+link-tests): Likewise.
38958         [!+link] (+link): Define in terms of $(+link-before-libc) and
38959         $(+link-after-libc).
38960         [!+link-static] (+link-static-before-libc): New variable.
38961         [!+link-static] (+link-static-after-libc): Likewise.
38962         [!+link-static] (+link-static-tests): Likewise.
38963         [!+link-static] (+link-static): Define in terms of
38964         $(+link-static-before-libc) and $(+link-static-after-libc).
38965         [build-shared] (link-libc-before-gnulib): New variable.
38966         [build-shared] (link-libc-tests): Likewise.
38967         [build-shared] (link-libc): Define in terms of
38968         $(link-libc-before-gnulib).
38969         [!build-shared] (link-libc-tests): New variable.
38970         (link-libc-static-tests): New variable.
38971         [!gnulib] (gnulib-arch): New variable.
38972         [!gnulib] (gnulib-tests): Likewise.
38973         [!gnulib] (static-gnulib-arch): Likewise.
38974         [!gnulib] (static-gnulib-tests): Likewise.
38975         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38976         Define with "=" instead of ":=".
38977         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38978         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38979         * Rules (binaries-all-notests): New variable.
38980         (binaries-all-tests): Likewise.
38981         (binaries-static-notests): Likewise.
38982         (binaries-static-tests): Likewise.
38983         (binaries-all): Define using $(binaries-all-notests) and
38984         $(binaries-all-tests).
38985         (binaries-static): Define using $(binaries-static-notests) and
38986         $(binaries-static-tests).
38987         (binaries-shared-tests): New variable.
38988         (binaries-shared-notests): Likewise.
38989         (binaries-shared): Remove variable.
38990         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38991         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38992         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38993         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38994         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38995         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38996         * elf/Makefile (sln-modules): New variable.
38997         (extra-objs): Add $(sln-modules:=.o).
38998         (ldconfig-modules): Add static-stubs.
38999         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39000         * elf/static-stubs.c: New file.
39001
39002         [BZ #14283]
39003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39004         by 7 not 8 to examine high bit of fractional part.  Use volatile
39005         variables when splitting into final array of floats if
39006         __FLT_EVAL_METHOD__ != 0.
39007         * math/libm-test.inc (cos_test): Add another test.
39008         (sin_test): Likewise.
39009         * sysdeps/i386/fpu/libm-test-ulps: Update.
39010
39011         [BZ #14273]
39012         * math/libm-test.inc (cosh_test): Add more tests.
39013
39014         * version.h (RELEASE): Set to "development".
39015         (VERSION): Set to "2.16.90".
39016
39017 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39018
39019         * NEWS: Update copyright. Remove last-updated date.
39020         Mention math library bug fixes and timezone data changes.
39021         * README: Mention GNU/Hurd, x32, and HPPA support status.
39022
39023 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39024
39025         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39026
39027 2012-06-27  Andreas Jaeger  <aj@suse.de>
39028
39029         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39030
39031 2012-06-25  Andreas Jaeger  <aj@suse.de>
39032
39033         * sysdeps/s390/fpu/libm-test-ulps: Update.
39034
39035 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39036             Thomas Schwinge  <thomas@codesourcery.com>
39037
39038         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39039         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39040         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39041         fanotify_mark.
39042
39043 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39044
39045         * sysdeps/mach/start.c: Remove file.
39046         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39047         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39048         * sysdeps/sh/init-first.c: Likewise.
39049
39050         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39051         registers for frame unwinding purposes, add CFI directives.
39052         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39053         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39054         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39055         Likewise.
39056
39057         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39058         __fortify_fail returning.
39059         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39060
39061         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39062         sysdeps/sh/____longjmp_chk.S.
39063         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39064         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39065         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39066         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39067
39068         * sysdeps/sh/abort-instr.h: New file.
39069         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39070         process in case exit returns.
39071
39072         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39073         initialize the GOT register before use.
39074
39075         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39076         calculation of ARGC > 4.
39077
39078         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39079         meaningful names to some local labels.
39080
39081 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39082             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39083
39084         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39085         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39086         (__arch_compare_and_exchange_val_16_acq): Likewise.
39087         (__arch_compare_and_exchange_val_32_acq): Likewise.
39088         (atomic_exchange_and_add): Fix gUSA sequence.
39089         (atomic_add): Likewise.
39090         (atomic_add_negative): Likewise.
39091         (atomic_add_zero): Likewise.
39092         (atomic_bit_test_set): Likewise.
39093
39094 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39095
39096         [BZ #13579]
39097         * include/link.h (struct link_map): Add l_free_initfini.
39098         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39099         l_initfini.
39100         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39101         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39102         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39103         set.
39104
39105 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39106
39107         * configure.in: Use AC_LANG_SOURCE.
39108         * configure: Regenerate.
39109
39110 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39111
39112         * configure.in (libc_cv_localstatedir): New substituted variable.
39113         * configure: Regenerated.
39114         * config.make.in (localstatedir): New variable, substituted from
39115         libc_cv_localstatedir.
39116         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39117         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39118         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39119         * sysdeps/gnu/configure: Regenerated.
39120
39121 2012-06-21  Jeff Law  <law@redhat.com>
39122
39123         [BZ #14277]
39124         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39125         free.  Simplify list management for _LIBC case.
39126
39127 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39128
39129         [BZ #14273]
39130         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39131         Clear sign bit of 64-bit integer value before comparing against
39132         overflow value.
39133
39134         * sysdeps/mach/configure: Regenerated.
39135
39136 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39137
39138         [BZ #14278]
39139         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39140
39141 2012-06-21  Jeff Law  <law@redhat.com>
39142
39143         [BZ #13882]
39144         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39145         uint16_t for elements in the "seen" array to avoid char overflows.
39146         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39147         * elf/dl-open.c (dl_open_worker): Likewise.
39148
39149 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39150
39151         * scripts/list-sources.sh: Scan PORTS for translations.
39152         * po/libc.pot: Regenerated.
39153
39154 2012-06-21  Andreas Jaeger  <aj@suse.de>
39155
39156         [BZ #12194]
39157         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39158         warning.
39159         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39160         * bits/byteswap-16.h (__bswap_16): Likewise.
39161         * bits/byteswap.h (__bswap_constant_16): Likewise.
39162
39163 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39164
39165         [BZ #14117]
39166         * sysdeps/i386/fpu_control.h: Removed.
39167         * sysdeps/x86_64/fpu_control.h: Moved to ...
39168         * sysdeps/x86/fpu_control.h: Here.
39169
39170         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39171         (_FPU_SETCW): Likewise.
39172
39173 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39174
39175         [BZ #14117]
39176         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39177         * sysdeps/x86/fpu/bits/mathinline.h: This.
39178         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39179
39180         [BZ #14050]
39181         [BZ #14117]
39182         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39183         functions if __x86_64__ is defined.
39184
39185 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39186
39187         * string/endian.h: Add !__ASSEMBLER__ condition for including
39188         conversion interfaces.
39189
39190 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39191
39192         [BZ #14241]
39193         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39194         of ABS(x) in calculating zero to negative powers other than odd
39195         integers.
39196         * math/libm-test.inc (pow_test): Add more tests.
39197
39198 2012-06-15  Andreas Jaeger  <aj@suse.de>
39199
39200         * manual/contrib.texi (Contributors): Update entry of Liubov
39201         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39202         Machado Filho.
39203
39204 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39205
39206         * string/string.h: Add __wur to GNU version of strerror_r.
39207
39208 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39209
39210         [BZ #14229]
39211         * string/Makefile (tests): Add tst-strtok_r.
39212         * string/tst-strtok_r.c: New file.
39213         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39214         RAX_LP/RDX_LP on SAVE_PTR.
39215
39216 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39217
39218         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39219
39220 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39221
39222         * libm_test.inc (csqrt_test): Allow more spurious underflow
39223         exceptions.
39224         (j0_test): Likewise.
39225         (j1_test): Likewise.
39226         (y0_test): Likewise.
39227         (y1_test): Likewise.
39228
39229 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39230
39231         * po/Makefile (libc.pot): Use UTF-8 charset.
39232
39233 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39234
39235         [BZ #14210]
39236         Suppress sign-conversion warning from FD_SET.
39237         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39238         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39239         not unsigned long int.
39240         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39241
39242 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39243
39244         [BZ #14050]
39245         [BZ #14117]
39246         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39247         __extern_always_inline instead of __extern_inline.
39248         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39249         (__signbit): Likewise.
39250         (__signbitl): Support C++ namespace.
39251         (lrintf): New inline function.
39252         (lrint): Likewise.
39253         (llrintf): Likewise.
39254         (llrint): Likewise.
39255         (fmaxf): Likewise.
39256         (fmax): Likewise.
39257         (fminf): Likewise.
39258         (fmin): Likewise.
39259         (rint): Likewise.
39260         (rintf): Likewise.
39261         (ceil): Likewise.
39262         (ceilf): Likewise.
39263         (floor): Likewise.
39264         (floorf): Likewise.
39265         (nearbyint): Likewise.
39266         (nearbyintf): Likewise.
39267
39268 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39269
39270         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39271         non-default versions.
39272
39273 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39274
39275         [BZ #14218]
39276         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39277
39278 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39279
39280         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39281         (FE_UPWARD, FE_DOWNWARD): Don't define.
39282         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39283         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39284
39285         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39286         reading it.
39287         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39288         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39289
39290 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39291
39292         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39293         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39294         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39295         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39296
39297 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39298
39299         [BZ #14117]
39300         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39301         * sysdeps/i386/fpu/Implies: New file.
39302         * sysdeps/x86_64/fpu/Implies: Likewise.
39303         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39304         * sysdeps/x86/fpu/bits/fenv.h: This.
39305
39306         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39307         __SSE_MATH__.
39308
39309 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39310
39311         [BZ #14134]
39312         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39313         character 0xffff that matches the last element of the
39314         conversion table.
39315
39316 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39317
39318         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39319         fmodl commit.
39320
39321 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39322
39323         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39324         values higher than 25.6283.
39325
39326 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39327
39328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39329         subnormal exponent extraction and add some __builtin_expect.
39330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39331         Fix for subnormal mantissa calculation.
39332
39333 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39334
39335         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39336         cpu2 is -1 and errno is not ENOSYS.
39337
39338 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39339
39340         [BZ #14117]
39341         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39342         * sysdeps/x86/bits/string.h: This.
39343         * sysdeps/x86_64/bits/string.h: Removed.
39344
39345         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39346         if not compiling for x86-64, but compiling for >= i486.
39347
39348         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39349         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39350
39351         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39352         New macro from Linux kernel 3.4.0.
39353         (FP_XSTATE_MAGIC2): Likewise.
39354         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39355         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39356         (struct _fpx_sw_bytes): New struct.
39357         (struct _xsave_hdr): Likewise.
39358         (struct _ymmh_state): Likewise.
39359         (struct _xstate): Likewise.
39360
39361         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39362         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39363         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39364         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39365         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39366         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39367
39368         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39369         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39370         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39371         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39372         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39373         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39374
39375 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39376
39377         [BZ #13743]
39378         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39379         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39380         (sysdep_headers): Include sys/platform/ppc.h.
39381         * sysdeps/powerpc/test-gettimebase.c: Test for
39382         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39383         * manual/Makefile (appendices): Include platform.texi.
39384         * manual/contrib.texi (Contributors): Update @node pointers.
39385         * manual/maint.texi (Maintenance): Likewise.
39386         (Platform): New node.
39387         * manual/platform.texi: New file.  Document the new features.
39388
39389 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39390             Jakub Jelinek  <jakub@redhat.com>
39391
39392         [BZ #14188]
39393         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39394         where __builtin_expect is unavailable.
39395
39396 2012-06-03  David S. Miller  <davem@davemloft.net>
39397
39398         * stdlib/longlong.h: Updated from GCC.
39399
39400 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39401
39402         [BZ #14042]
39403         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39404         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39405         __mcount_internal.
39406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39407         (GLIBC_2.16): Likewise.
39408
39409 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39410
39411         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39412
39413 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39414
39415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39416         (default-abi): New variable.
39417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39418         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39419         variable.
39420         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39421         Likewise.
39422         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39423         Likewise.
39424         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39425         Likewise.
39426
39427         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39428         definition.  Document in comment.
39429
39430 2012-06-01  David S. Miller  <davem@davemloft.net>
39431
39432         * stdlib/longlong.h: Updated from GCC.
39433
39434 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39435
39436         [BZ #14117]
39437         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39438         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39439         sys/debugreg.h sys/io.h here.
39440         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39441         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39442         sys/io.h.
39443         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39444         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39445         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39446         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39447         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39448         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39449
39450         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39451         Define only if __x86_64__ is defined.
39452
39453 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39454
39455         [BZ #14048]
39456         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39457         Use int64_t for variable i.
39458         * math/libm-test.inc (fmod_test): Add more tests.
39459
39460         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39461         z computation is not scheduled after fetestexcept.
39462         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39463         Use math_force_eval instead of asm to ensure calculation scheduled
39464         before exception test.
39465         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39466         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39467
39468 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39469
39470         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39471         computation is not scheduled after fetestexcept.
39472
39473 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39474
39475         [BZ #14117]
39476         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39477         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39478
39479 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39480
39481         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39482         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39483
39484 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39485
39486         [BZ #14117]
39487         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39488         <bits/wordsize.h>.
39489         (__WCHAR_MIN): Support __WORDSIZE == 64.
39490         (__WCHAR_MAX): Likewise.
39491
39492         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39493         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39494
39495         [BZ #14183]
39496         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39497         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39498
39499         [BZ #14117]
39500         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39501         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39502
39503         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39504         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39505
39506         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39507         Defined to 1 if __x86_64__ isn't defined.
39508         (_STAT_VER_LINUX_OLD): New.
39509         (st_atime): Remove duplicate.
39510         (st_mtime): Likewise.
39511         (st_ctime): Likewise.
39512
39513 2012-05-31  David S. Miller  <davem@davemloft.net>
39514
39515         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39516         entries.
39517
39518 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39519
39520         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39521         gen-libm-test.pl.
39522
39523         [BZ #14132]
39524         * elf/dl-reloc.c: Include <_itoa.h>.
39525         (_dl_reloc_bad_type): Remove use of INTUSE.
39526         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39527         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39528         * stdio-common/psiginfo.c (psiginfo): Likewise.
39529         * stdio-common/psignal.c (psignal): Likewise.
39530         * string/strsignal.c (strsignal): Likewise.
39531         * include/signal.h (_sys_siglist): Declare hidden proto.
39532         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39533         INTVARDEF with libc_hidden_data_def.
39534         * stdio-common/itoa-udigits.c: Likewise.
39535         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39536         (_itoa_lower_digits_internal): Remove declaration.
39537         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39538         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39539         (_sys_sigabbrev_internal): Remove aliases.
39540         (_sys_siglist): Define hidden alias.
39541
39542 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39543
39544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39545         bits/sysctl.h.
39546
39547 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39548
39549         [BZ #14117]
39550         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39551         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39552
39553         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39554         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39555         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39556         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39557         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39558         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39559
39560         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39561         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39562         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39563
39564         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39565         with __addr.
39566         (insw): Likewise.
39567         (insl): Likewise.
39568         (outsb): Likewise.
39569         (outsw): Likewise.
39570         (outsl): Likewise.
39571
39572         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39573         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39574         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39575
39576         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39577         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39578         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39579         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39580         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39581         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39582
39583         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39584         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39585
39586         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39587         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39588
39589         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39590         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39591         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39592
39593         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39594         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39595         to ...
39596         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39597
39598         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39599         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39600         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39601
39602         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39603         for x86-64.
39604         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39605
39606 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39607
39608         * math/math.h (M_El): Use two more decimal places.
39609         (M_LOG2El): Likewise.
39610         (M_LOG10El): Likewise.
39611         (M_LN2l): Likewise.
39612         (M_LN10l): Likewise.
39613         (M_PIl): Likewise.
39614         (M_PI_2l): Likewise.
39615         (M_PI_4l): Likewise.
39616         (M_1_PIl): Likewise.
39617         (M_2_PIl): Likewise.
39618         (M_2_SQRTPIl): Likewise.
39619         (M_SQRT2l): Likewise.
39620         (M_SQRT1_2l): Likewise.
39621
39622 2012-05-31  David S. Miller  <davem@davemloft.net>
39623
39624         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39625         values between float registers.
39626         * sysdeps/sparc/sparc64/memset.S: Likewise.
39627         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39628
39629 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39630
39631         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39632         -D_FORTIFY_SOURCE=1.
39633         (CPPFLAGS-tst-longjmp_chk.c): Define.
39634         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39635         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39636         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39637         CFLAGS-tst-wchar-h.c.
39638
39639 2012-05-31  Marek Polacek  <polacek@redhat.com>
39640
39641         [BZ #14132]
39642         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39643         __endmntent_internal): Remove declaration.
39644         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39645         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39646         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39647
39648 2012-05-30  David S. Miller  <davem@davemloft.net>
39649
39650         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39651         (___Q_simulate_exceptions): Use real FP ops rather than writing
39652         into the %fsr.
39653         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39654         Likewise.
39655
39656 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39657
39658         [BZ #14117]
39659         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39660         * sysdeps/x86/bits/xtitypes.h: This.
39661
39662         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39663         * sysdeps/x86/bits/wordsize.h: This.
39664
39665         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39666         * sysdeps/x86/bits/huge_vall.h: This.
39667
39668         * sysdeps/i386/bits/select.h: Removed.
39669         * sysdeps/x86_64/bits/select.h: Renamed to ...
39670         * sysdeps/x86/bits/select.h: This.
39671
39672         * sysdeps/i386/bits/setjmp.h: Removed.
39673         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39674         * sysdeps/x86/bits/setjmp.h: This.
39675
39676         * sysdeps/i386/bits/mathdef.h: Removed.
39677         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39678         * sysdeps/x86/bits/mathdef.h: This.
39679
39680 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39681
39682         [BZ #14132]
39683         * include/sys/socket.h (__connect_internal)
39684         (__libc_sa_len_internal): Remove declaration.
39685         (__connect, __libc_sa_len): Declare hidden_proto.
39686         (SA_LEN): Remove use of INTUSE.
39687         * socket/connect.c: Add libc_hidden_def.
39688         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39689         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39690         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39691         alias.
39692         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39693         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39694         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39695         of adding _internal alias.
39696
39697 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39698
39699         [BZ #14117]
39700         * sysdeps/i386/bits/link.h: Removed.
39701         * sysdeps/i386/bits/linkmap.h: Likewise.
39702         * sysdeps/x86_64/bits/link.h: Renamed to ...
39703         * sysdeps/x86/bits/link.h: This.
39704         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39705         * sysdeps/x86/bits/linkmap.h: This.
39706
39707         * sysdeps/i386/bits/endian.h: Removed.
39708         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39709         * sysdeps/x86/bits/endian.h: This.
39710
39711         * sysdeps/i386/bits/byteswap.h: Removed.
39712         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39713         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39714         * sysdeps/x86/bits/byteswap.h: This.
39715         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39716         * sysdeps/x86/bits/byteswap-16.h: This.
39717         * sysdeps/i386/Implies: Add x86.
39718         * sysdeps/x86_64/Implies: Likewise.
39719
39720 2012-05-30  David S. Miller  <davem@davemloft.net>
39721
39722         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39723         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39724         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39725         (FP_TRAPPING_EXCEPTIONS): Define.
39726         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39727         (FP_TRAPPING_EXCEPTIONS): Define.
39728         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39729         subnormals only when inexact has been signalled or underflow
39730         exceptions are enabled.
39731         (_FP_PACK_CANONICAL): Likewise.
39732
39733 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39734
39735         [BZ #14183]
39736         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39737         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39738
39739 2012-05-30  Richard Henderson  <rth@twiddle.net>
39740
39741         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39742         with #ifndef NOT_IN_libc.
39743
39744         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39745         marked to avoid plt entry.
39746
39747 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39748
39749         [BZ #14112]
39750         * Makeconfig (default-abi): New macro.
39751         (abi-includes): Likewise.
39752         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39753         $(abi-$(default-abi)-lib-soname) for soname if defined.
39754         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39755         abi-variants.
39756         * Makefile (installed-stubs): Likewise.
39757         * include/stubs-biarch.h: Removed.
39758         * scripts/lib-names.awk: Only handle one library at a time.
39759         * scripts/soversions.awk: Remove WORDSIZE support.
39760         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39761         entries.
39762         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39763         Removed.
39764         (syscall-list-default-condition): Likewise.
39765         (syscall-list-default-condition): Likewise.
39766         (syscall-list-includes): Likewise.
39767         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39768         syscall-list-* with abi-*.  Handle undefined abi-variants.
39769         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39770         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39771         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39772         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39773         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39774         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39775         Removed.
39776         (syscall-list-32-options): Likewise.
39777         (syscall-list-32-condition): Likewise.
39778         (syscall-list-64-options): Likewise.
39779         (syscall-list-64-condition): Likewise.
39780         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39781         macro.
39782         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39783         Renamed to ...
39784         (abi-*): This.
39785         (abi-64-ld-soname): New macro.
39786         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39787         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39788         Renamed to ...
39789         (abi-*): This.
39790         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39791         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39792
39793 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39794
39795         * sysdeps/unix/sysv/linux/kernel-features.h
39796         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39797         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39798         include <kernel-features.h>.
39799         [!__NR_ftruncate64]: Remove conditional code.
39800         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39801         [__NR_ftruncate64]: Make code unconditional.
39802         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39803         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39804         include <kernel-features.h>.
39805         [!__NR_ftruncate64]: Remove conditional code.
39806         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39807         [__NR_ftruncate64]: Make code unconditional.
39808         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39810         include <kernel-features.h>.
39811         [!__NR_ftruncate64]: Remove conditional code.
39812         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39813         [__NR_ftruncate64]: Make code unconditional.
39814         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39816         include <kernel-features.h>.
39817         [!__NR_ftruncate64]: Remove conditional code.
39818         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39819         [__NR_ftruncate64]: Make code unconditional.
39820         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39821
39822         * configure.in (libc_cv_fpie): Weaken to a compile test using
39823         LIBC_TRY_CC_OPTION.
39824         * configure: Regenerated.
39825
39826 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39827
39828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39832         Refreshed.
39833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39839         Refreshed.
39840
39841 2012-05-27  David S. Miller  <davem@davemloft.net>
39842
39843         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39844         (___Q_zero): New.
39845         (__Q_simulate_exceptions): Return void.  Change to simulate
39846         exceptions by writing into the %fsr.
39847         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39848         (__Qp_handle_exceptions): Likewise.
39849         (numbers): Delete.
39850         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39851         __Qp_handle_exceptions.
39852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39853         __Qp_handle_exceptions.
39854         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39855         as unused and give dummy FP_RND_NEAREST initializer.
39856         (FP_INHIBIT_RESULTS): Define.
39857         (___Q_simulate_exceptions): Update declaration.
39858         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39859         formatting.
39860         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39861         as unused and give dummy FP_RND_NEAREST initializer.
39862         (__Qp_handle_exceptions): Update declaration.
39863         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39864         formatting.
39865
39866 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39867
39868         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39869         the temporary FPU control word.
39870         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39871         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39872         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39873         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39874         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39875         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39876         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39877         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39878         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39879         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39880         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39881
39882 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39883
39884         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39885         fields.
39886
39887 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39888
39889         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39890         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39891         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39892         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39893         Likewise.
39894         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39895         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39896         Likewise.
39897
39898 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39899
39900         * po/h.po: Update from translation team.
39901
39902 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39903
39904         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39905
39906         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39907         handling of denormals.
39908         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39909         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39910         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39911         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39912         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39913         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39914         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39915         Likewise.
39916
39917 2012-05-26  Marek Polacek  <polacek@redhat.com>
39918
39919         [BZ #14152]
39920         * math/libm-test.inc (fma_test): Don't always expect underflow
39921         exception.
39922
39923 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39924
39925         [BZ #12416]
39926         * elf/tst-execstack.c: Include stackinfo.h.
39927         (do_test): Adjust test case to ensure that pthread_getattr_np
39928         behaviour remains the same after marking stack executable.
39929
39930 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39931
39932         * sysdeps/unix/sysv/linux/kernel-features.h
39933         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39934         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39935         kernel-features.h.
39936         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39937         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39938         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39939         kernel-features.h.
39940         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39941         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39942
39943 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39944
39945         * configure.in: Define the default includes to being none.
39946         * configure: Regenerated.
39947
39948 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39949
39950         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39951         * sysdeps/x86_64/setjmp.S: Likewise.
39952         * sysdeps/i386/bsd-setjmp.S: Likewise.
39953         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39954         * sysdeps/i386/setjmp.S: Likewise.
39955         * sysdeps/i386/__longjmp.S: Likewise.
39956         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39957         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39958
39959         * include/stap-probe.h: New file.
39960         * configure.in: Handle --enable-systemtap.
39961         * configure: Regenerated.
39962         * config.h.in (USE_STAP_PROBE): New #undef.
39963         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39964         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39965         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39966
39967 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39968
39969         [BZ #13717]
39970         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39971         to 2.4.0 where earlier.
39972         * sysdeps/unix/sysv/linux/configure: Regenerated.
39973         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39974         <kernel-features.h>.
39975         [__ASSUME_32BITUIDS]: Make code unconditional.
39976         [!__ASSUME_32BITUIDS]: Remove conditional code.
39977         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39978         <kernel-features.h>.
39979         [__ASSUME_32BITUIDS]: Make code unconditional.
39980         [!__ASSUME_32BITUIDS]: Remove conditional code.
39981         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39982         [__ASSUME_32BITUIDS]: Make code unconditional.
39983         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39984         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39985         <kernel-features.h>.
39986         [__ASSUME_32BITUIDS]: Make code unconditional.
39987         [!__ASSUME_32BITUIDS]: Remove conditional code.
39988         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39989         <kernel-features.h>.
39990         [__ASSUME_32BITUIDS]: Make code unconditional.
39991         [!__ASSUME_32BITUIDS]: Remove conditional code.
39992         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39993         <kernel-features.h>.
39994         [__ASSUME_32BITUIDS]: Make code unconditional.
39995         [!__ASSUME_32BITUIDS]: Remove conditional code.
39996         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39997         <kernel-features.h>.
39998         [__ASSUME_32BITUIDS]: Make code unconditional.
39999         [!__ASSUME_32BITUIDS]: Remove conditional code.
40000         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40001         <kernel-features.h>.
40002         [__ASSUME_32BITUIDS]: Make code unconditional.
40003         [!__ASSUME_32BITUIDS]: Remove conditional code.
40004         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40005         <kernel-features.h>.
40006         [__ASSUME_32BITUIDS]: Make code unconditional.
40007         [!__ASSUME_32BITUIDS]: Remove conditional code.
40008         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40009         <kernel-features.h>.
40010         [__ASSUME_32BITUIDS]: Make code unconditional.
40011         [!__ASSUME_32BITUIDS]: Remove conditional code.
40012         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40013         <kernel-features.h>.
40014         [__ASSUME_32BITUIDS]: Make code unconditional.
40015         [!__ASSUME_32BITUIDS]: Remove conditional code.
40016         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40017         <kernel-features.h>.
40018         [__ASSUME_32BITUIDS]: Make code unconditional.
40019         [!__ASSUME_32BITUIDS]: Remove conditional code.
40020         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40021         <kernel-features.h>.
40022         [__ASSUME_32BITUIDS]: Make code unconditional.
40023         [!__ASSUME_32BITUIDS]: Remove conditional code.
40024         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40025         <kernel-features.h>.
40026         [__NR_setresgid] (__setresgid): Do not declare.
40027         [__ASSUME_32BITUIDS]: Make code unconditional.
40028         [!__ASSUME_32BITUIDS]: Remove conditional code.
40029         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40030         <kernel-features.h>.
40031         [__NR_setresuid] (__setresuid): Do not declare.
40032         [__ASSUME_32BITUIDS]: Make code unconditional.
40033         [!__ASSUME_32BITUIDS]: Remove conditional code.
40034         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40035         <kernel-features.h>.
40036         [__ASSUME_32BITUIDS]: Make code unconditional.
40037         [!__ASSUME_32BITUIDS]: Remove conditional code.
40038         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40039         <kernel-features.h>.
40040         [__ASSUME_32BITUIDS]: Make code unconditional.
40041         [!__ASSUME_32BITUIDS]: Remove conditional code.
40042         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40043         <kernel-features.h>.
40044         [__ASSUME_32BITUIDS]: Make code unconditional.
40045         [!__ASSUME_32BITUIDS]: Remove conditional code.
40046         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40047         <kernel-features.h>.
40048         [__ASSUME_32BITUIDS]: Make code unconditional.
40049         [!__ASSUME_32BITUIDS]: Remove conditional code.
40050         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40051         <kernel-features.h>.
40052         [__ASSUME_32BITUIDS]: Make code unconditional.
40053         [!__ASSUME_32BITUIDS]: Remove conditional code.
40054         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40055         <kernel-features.h>.
40056         [__ASSUME_32BITUIDS]: Make code unconditional.
40057         [!__ASSUME_32BITUIDS]: Remove conditional code.
40058         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40059         <kernel-features.h>.
40060         [__ASSUME_32BITUIDS]: Make code unconditional.
40061         [!__ASSUME_32BITUIDS]: Remove conditional code.
40062         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40063         <kernel-features.h>.
40064         [__ASSUME_32BITUIDS]: Make code unconditional.
40065         [!__ASSUME_32BITUIDS]: Remove conditional code.
40066         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40067         <kernel-features.h>.
40068         [__ASSUME_32BITUIDS]: Make code unconditional.
40069         [!__ASSUME_32BITUIDS]: Remove conditional code.
40070         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40071         <kernel-features.h>.
40072         [__ASSUME_32BITUIDS]: Make code unconditional.
40073         [!__ASSUME_32BITUIDS]: Remove conditional code.
40074         * sysdeps/unix/sysv/linux/kernel-features.h
40075         (__ASSUME_SETRESUID_SYSCALL): Remove.
40076         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40077         (__ASSUME_32BITUIDS): Likewise.
40078         (__ASSUME_LDT_WORKS): Likewise.
40079         (__ASSUME_O_DIRECTORY): Likewise.
40080         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40081         architecture but not kernel version.
40082         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40083         (__ASSUME_MMAP2_SYSCALL): Likewise.
40084         (__ASSUME_STAT64_SYSCALL): Likewise.
40085         (__ASSUME_IPC64): Likewise.
40086         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40087         <kernel-features.h>.
40088         [__ASSUME_32BITUIDS]: Make code unconditional.
40089         [!__ASSUME_32BITUIDS]: Remove conditional code.
40090         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40091         <kernel-features.h>.
40092         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40093         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40094         132096]: Remove conditional code.
40095         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40096         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40097         <kernel-features.h>.
40098         [__ASSUME_32BITUIDS]: Make code unconditional.
40099         [!__ASSUME_32BITUIDS]: Remove conditional code.
40100         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40101         <kernel-features.h>.
40102         [__ASSUME_32BITUIDS]: Make code unconditional.
40103         [!__ASSUME_32BITUIDS]: Remove conditional code.
40104         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40105         <kernel-features.h>.
40106         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40107         unconditional.
40108         (__setresgid): Do not declare.
40109         [__ASSUME_32BITUIDS]: Make code unconditional.
40110         [!__ASSUME_32BITUIDS]: Remove conditional code.
40111         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40112         <kernel-features.h>.
40113         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40114         unconditional.
40115         (__setresuid): Do not declare.
40116         [__ASSUME_32BITUIDS]: Make code unconditional.
40117         [!__ASSUME_32BITUIDS]: Remove conditional code.
40118         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40119         <kernel-features.h>.
40120         [__ASSUME_32BITUIDS]: Make code unconditional.
40121         [!__ASSUME_32BITUIDS]: Remove conditional code.
40122         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40123         <kernel-features.h>.
40124         [__ASSUME_32BITUIDS]: Make code unconditional.
40125         [!__ASSUME_32BITUIDS]: Remove conditional code.
40126
40127 2012-05-25  Richard Henderson  <rth@twiddle.net>
40128
40129         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40130         dl_hwcap to ifunc resolver.
40131         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40132         elf_ifunc_invoke.
40133         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40134         dl_hwcap to ifunc resolver.
40135         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40136
40137 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40138
40139         [BZ #14153]
40140         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40141         for |x| <= 2**-26, not 2**-57.
40142         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40143         exception.
40144
40145 2012-05-24  Jeff Law  <law@redhat.com>
40146
40147         * stdio-common/Makefile (tests): Add bug25.
40148         * stdio-common/bug25.c: New test.
40149
40150 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40151
40152         [BZ #13576]
40153         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40154         multiple of MALLOC_ALIGNMENT in size.
40155         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40156
40157 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40158
40159         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40160         Require >= 256.
40161         (FILENAME_MAX): Use macro-int-constant.
40162         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40163         (_IOFBF): Use macro-int-constant.
40164         (_IOLBF): Likewise.
40165         (_IONBF): Likewise.
40166         (SEEK_CUR): Likewise.
40167         (SEEK_END): Likewise.
40168         (SEEK_SET): Likewise.
40169         (TMP_MAX): Likewise.
40170         (EOF): Use macro-int-constant.  Require < 0.
40171         (NULL): Use macro-constant.  Require == 0.
40172         (stdin): Require type to be FILE *.
40173         (stdout): Likewise.
40174         (stderr): Likewise.
40175         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40176         macro-int-constant.
40177         (EXIT_SUCCESS): Likewise.
40178         (NULL): Use macro-constant.  Require == 0.
40179         (RAND_MAX): Use macro-int-constant.
40180         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40181         [C99-based standards] (strtof): Require function.
40182         [C99-based standards] (strtold): Likewise.
40183         [C99-based standards] (strtoll): Likewise.
40184         [C99-based standards] (strtoull): Likewise.
40185         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40186         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40187         [ISO || ISO99 || ISO11] (math.h): Likewise.
40188         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40189         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40191
40192 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40193
40194         [BZ #14132]
40195         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40196         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40197         * intl/dgettext.c (DCGETTEXT): Likewise.
40198         * intl/gettext.c (DCGETTEXT): Likewise.
40199         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40200         * posix/regex_internal.h (gettext): Likewise.
40201         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40202         Remove declaration.
40203         * include/argz.h (__argz_count_internal)
40204         (__argz_stringify_internal): Remove declaration.
40205         (__argz_count, __argz_stringify): Declare hidden proto.
40206         * intl/dcgettext.c: Remove use of INTDEF.
40207         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40208         * string/argz-stringify.c: Likewise.
40209         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40210         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40211         Declare hidden proto.
40212         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40213         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40214         Declare hidden proto.
40215         * include/stdio.h (__asprintf_internal): Don't declare.
40216         (__asprintf): Don't define as macro.  Declare hidden proto.
40217         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40218         (__fsetlocking): Declare hidden proto.
40219         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40220         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40221         hidden proto.
40222         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40223         (_IO_setlinebuf): Remove use of INTUSE.
40224         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40225         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40226         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40227         Remove declaration.
40228         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40229         (_IO_do_flush): Remove use of INTUSE.
40230         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40231         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40232         (_IO_adjust_column, _IO_least_wmarker)
40233         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40234         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40235         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40236         (_IO_default_doallocate, _IO_wdefault_doallocate)
40237         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40238         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40239         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40240         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40241         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40242         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40243         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40244         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40245         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40246         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40247         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40248         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40249         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40250         proto.
40251         (_IO_flush_all_internal, _IO_adjust_column_internal)
40252         (_IO_default_uflow_internal, _IO_default_finish_internal)
40253         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40254         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40255         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40256         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40257         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40258         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40259         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40260         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40261         (_IO_file_close_internal, _IO_file_close_it_internal)
40262         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40263         (_IO_file_init_internal, _IO_file_attach_internal)
40264         (_IO_file_fopen_internal, _IO_file_read_internal)
40265         (_IO_file_sync_internal, _IO_file_seek_internal)
40266         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40267         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40268         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40269         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40270         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40271         (_IO_list_all_internal, _IO_link_in_internal)
40272         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40273         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40274         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40275         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40276         (_IO_do_write_internal, _IO_padn_internal)
40277         (_IO_getline_info_internal, _IO_getline_internal)
40278         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40279         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40280         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40281         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40282         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40283         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40284         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40285         with libc_hidden_ver, remove use of INTUSE.
40286         * libio/genops.c: Likewise.
40287         * libio/freopen.c: Likewise.
40288         * libio/freopen64.c: Likewise.
40289         * libio/iofclose.c: Likewise.
40290         * libio/iofdopen.c: Likewise.
40291         * libio/iofflush.c: Likewise.
40292         * libio/iofflush_u.c: Likewise.
40293         * libio/iofgets.c: Likewise.
40294         * libio/iofgets_u.c: Likewise.
40295         * libio/iofopen.c: Likewise.
40296         * libio/iofopncook.c: Likewise.
40297         * libio/iofread.c: Likewise.
40298         * libio/iofread_u.c: Likewise.
40299         * libio/ioftell.c: Likewise.
40300         * libio/iofwrite.c: Likewise.
40301         * libio/iogetline.c: Likewise.
40302         * libio/iogets.c: Likewise.
40303         * libio/iogetwline.c: Likewise.
40304         * libio/iopadn.c: Likewise.
40305         * libio/iopopen.c: Likewise.
40306         * libio/ioseekoff.c: Likewise.
40307         * libio/ioseekpos.c: Likewise.
40308         * libio/iosetbuffer.c: Likewise.
40309         * libio/iosetvbuf.c: Likewise.
40310         * libio/ioungetc.c: Likewise.
40311         * libio/ioungetwc.c: Likewise.
40312         * libio/iovdprintf.c: Likewise.
40313         * libio/iovsprintf.c: Likewise.
40314         * libio/iovsscanf.c: Likewise.
40315         * libio/memstream.c: Likewise.
40316         * libio/obprintf.c: Likewise.
40317         * libio/oldfileops.c: Likewise.
40318         * libio/oldiofclose.c: Likewise.
40319         * libio/oldiofdopen.c: Likewise.
40320         * libio/oldiofopen.c: Likewise.
40321         * libio/oldiopopen.c: Likewise.
40322         * libio/oldstdfiles.c: Likewise.
40323         * libio/putc.c: Likewise.
40324         * libio/setbuf.c: Likewise.
40325         * libio/setlinebuf.c: Likewise.
40326         * libio/stdfiles.c: Likewise.
40327         * libio/strops.c: Likewise.
40328         * libio/vasprintf.c: Likewise.
40329         * libio/vscanf.c: Likewise.
40330         * libio/vsnprintf.c: Likewise.
40331         * libio/vswprintf.c: Likewise.
40332         * libio/wfiledoalloc.c: Likewise.
40333         * libio/wfileops.c: Likewise.
40334         * libio/wgenops.c: Likewise.
40335         * libio/wmemstream.c: Likewise.
40336         * libio/wstrops.c: Likewise.
40337         * libio/__fpurge.c: Likewise.
40338         * libio/__fsetlocking.c: Likewise.
40339         * assert/assert.c: Likewise.
40340         * debug/fgets_chk.c: Likewise.
40341         * debug/fgets_u_chk.c: Likewise.
40342         * debug/fread_chk.c: Likewise.
40343         * debug/fread_u_chk.c: Likewise.
40344         * debug/gets_chk.c: Likewise.
40345         * debug/obprintf_chk.c: Likewise.
40346         * debug/vasprintf_chk.c: Likewise.
40347         * debug/vdprintf_chk.c: Likewise.
40348         * debug/vsnprintf_chk.c: Likewise.
40349         * debug/vsprintf_chk.c: Likewise.
40350         * malloc/mtrace.c: Likewise.
40351         * misc/error.c: Likewise.
40352         * misc/syslog.c: Likewise.
40353         * stdio-common/asprintf.c: Likewise.
40354         * stdio-common/fxprintf.c: Likewise.
40355         * stdio-common/getw.c: Likewise.
40356         * stdio-common/isoc99_fscanf.c: Likewise.
40357         * stdio-common/isoc99_scanf.c: Likewise.
40358         * stdio-common/isoc99_vfscanf.c: Likewise.
40359         * stdio-common/isoc99_vscanf.c: Likewise.
40360         * stdio-common/isoc99_vsscanf.c: Likewise.
40361         * stdio-common/printf-prs.c: Likewise.
40362         * stdio-common/printf_fp.c: Likewise.
40363         * stdio-common/printf_fphex.c: Likewise.
40364         * stdio-common/printf_size.c: Likewise.
40365         * stdio-common/putw.c: Likewise.
40366         * stdio-common/scanf.c: Likewise.
40367         * stdio-common/sprintf.c: Likewise.
40368         * stdio-common/tmpfile.c: Likewise.
40369         * stdio-common/vfprintf.c: Likewise.
40370         * stdio-common/vfscanf.c: Likewise.
40371         * stdlib/strfmon_l.c: Likewise.
40372         * sunrpc/openchild.c: Likewise.
40373         * sunrpc/xdr_stdio.c: Likewise.
40374         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40375         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40376
40377 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40378
40379         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40380
40381         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40382         in the third column, to generate for the shared library an IFUNC
40383         that uses _dl_vdso_vsym.
40384         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40385         * Makeconfig (object-suffixes-noshared): New variable.
40386
40387         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40388         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40389         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40390         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40391
40392         [BZ #14132]
40393         * include/sys/time.h (__gettimeofday): Remove macro.
40394         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40395         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40396         Remove INTDEF.
40397         (__gettimeofday): Add libc_hidden_def.
40398         (gettimeofday): Add libc_hidden_weak.
40399         * sysdeps/mach/gettimeofday.c: Likewise.
40400         * sysdeps/posix/gettimeofday.c: Likewise.
40401         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40402         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40403         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40404         (__gettimeofday_internal): Remove strong_alias.
40405         (__gettimeofday): Add libc_hidden_def.
40406         (gettimeofday): Add libc_hidden_weak.
40407         * sysdeps/unix/syscalls.list (gettimeofday):
40408         Remove __gettimeofday_internal alias.
40409
40410 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40411             H.J. Lu  <hongjiu.lu@intel.com>
40412
40413         [BZ #12495]
40414         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40415         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40416         (largebin_index_32_big): New.
40417         (largebin_index): Use it for 16-byte alignment.
40418         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40419         correction with front_misalign.
40420
40421 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40422
40423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40425         Likewise.
40426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40427         Likewise.
40428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40429         Likewise.
40430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40431         Likewise.
40432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40433         Likewise.
40434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40435         Likewise.
40436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40437         Likewise.
40438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40439         Likewise.
40440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40441         Likewise.
40442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40443         Likewise.
40444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40445         Likewise.
40446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40447         Likewise.
40448
40449         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40450         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40451
40452 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40453
40454         [BZ #10846]
40455         [BZ #14036]
40456         * math/libm-test.inc (exp_test): Add test from bug 14036.
40457         (pow_test): Add test from bug 10846.
40458
40459         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40460         and other flags.
40461         (special_function): Do not include flags in test name.
40462         (parse_args): Likewise.
40463         * sysdeps/i386/fpu/libm-test-ulps: Update.
40464         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40465         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40466         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40468
40469         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40470         exceptions.
40471         * math/libm-test.inc ("Philosophy"): Update comment about
40472         exception testing.
40473         (UNDERFLOW_EXCEPTION): New macro.
40474         (UNDERFLOW_EXCEPTION_OK): Likewise.
40475         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40476         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40477         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40478         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40479         (INVALID_EXCEPTION_OK): Update value.
40480         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40481         (OVERFLOW_EXCEPTION_OK): Likewise.
40482         (IGNORE_ZERO_INF_SIGN): Likewise.
40483         (test_exceptions): Handle underflow exceptions.
40484         (acos_test): Update for underflow exception expectations.
40485         (cexp_test): Likewise.
40486         (clog_test): Likewise.
40487         (clog10_test): Likewise.
40488         (csqrt_test): Likewise.
40489         (ctan_test): Likewise.
40490         (ctanh_test): Likewise.
40491         (exp_test): Likewise.
40492         (exp10_test): Likewise.
40493         (exp2_test): Likewise.
40494         (expm1_test): Likewise.
40495         (fma_test): Likewise.
40496         (j0_test): Likewise.
40497         (jn_test): Likewise.
40498         (nexttoward_test): Likewise.
40499         (pow_test): Likewise.
40500         (scalbn_test): Likewise.
40501         (scalbln_test): Likewise.
40502         (tan_test): Likewise.
40503         (y1_test): Likewise.
40504         * sysdeps/i386/fpu/libm-test-ulps: Update.
40505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40506
40507 2012-05-23  David S. Miller  <davem@davemloft.net>
40508
40509         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40510         (__libc_sigaction): Remove unused local variables.
40511
40512 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40513
40514         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40515
40516 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40517
40518         mktime: avoid signed integer overflow
40519         * time/mktime.c (__mktime_internal): Do not mishandle the case
40520         where diff == INT_MIN.
40521
40522         mktime: simplify computation of average
40523         * time/mktime.c (ranged_convert): Use new time_t_avg function
40524         instead of rolling our own (probably-slower) code.
40525
40526         mktime: do not assume signed right shift propagates sign bit
40527         * time/mktime.c (isdst_differ): New static function.
40528         (__mktime_internal): No need to normalize tm_isdst now.
40529         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40530         tm_isdst values.
40531
40532         mktime: merge another wrapv change from gnulib
40533         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40534         from some compilers.
40535
40536         mktime: remove incorrect attempt at unusual arithmetics
40537         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40538         The code didn't really work on such machines anyway.
40539         (TYPE_MINIMUM): Assume two's complement.
40540         (twos_complement_arithmetic): Verify that long_int and time_t
40541         are two's complement (or unsigned, in the latter case).
40542
40543         mktime: check signed shifts on long_int and time_t, too
40544         * time/mktime.c (SHR): Check that shifts work as desired
40545         on the types long_int and time_t too, as SHR is used on
40546         such types.
40547
40548         mktime: do not assume 'long' is wide enough
40549         * time/mktime.c (verify): Move decl up.
40550         (long_int): New type.
40551         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40552         to remove assumption in the code that 'long' is wide enough to
40553         store year values.  This assumption is not true on x32 and on
40554         some non-glibc platforms.
40555
40556         mktime: merge wrapv change from gnulib
40557         * time/mktime.c (WRAPV): New macro.
40558         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40559         (guess_time_tm, __mktime_internal): Do not assume that signed
40560         integer overflow wraps around; modern compilers generate code
40561         where this assumption is no longer valid.
40562
40563 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40564
40565         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40566         Replace "jmp L(pseudo_end)" with "ret".
40567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40568         Likewise.
40569
40570 2012-05-23  Andreas Jaeger  <aj@suse.de>
40571
40572         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40573         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40574
40575 2012-05-23  Andreas Jaeger  <aj@suse.de>
40576             Maximilian Attems  <max@stro.at>
40577
40578         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40579         New macros.
40580
40581 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40582
40583         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40584         code so that pseudo_end is just ret and the stack pointer is
40585         correct also for static library in error case.
40586
40587 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40588
40589         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40590         move to syscalls.list.
40591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40595
40596         * manual/install.texi (Running make install): Do not mention Linux
40597         kernel version for which pt_chown is not needed.
40598         (Linux): Do not mention problems with nscd with 2.0 kernels.
40599         * INSTALL: Regenerated.
40600
40601 2012-05-23  Andreas Jaeger  <aj@suse.de>
40602
40603         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40604         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40605         macro.
40606         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40607         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40608         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40609         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40610         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40611         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40612         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40613         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40614         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40615         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40616         * sysdeps/unix/sysv/linux/bits/in.h
40617         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40618
40619 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40620
40621         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40622         (PREPARE_VERSION): Just use assert instead, it will be elided
40623         under [NDEBUG] anyway.
40624
40625 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40626
40627         * sysdeps/unix/sysv/linux/Makefile: Include
40628         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40629         (sysdep_routines): Remove sysctl.
40630         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40631         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40632         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40633         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40634         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40635
40636 2012-05-22  Andreas Jaeger  <aj@suse.de>
40637
40638         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40639         that pseudo_end is just ret and the stack pointer is correct also
40640         for static library in error case.
40641
40642 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40643
40644         [BZ #14122]
40645         * nss/nsswitch.c (defconfig_entries): New variable.
40646         (__nss_database_lookup): Don't leak defconfig entries.
40647         (nss_parse_service_list): Don't leak on error paths.
40648         (free_database_entries): New function.
40649         (free_defconfig): New function.
40650         (free_mem): Move common code to free_database_entries.
40651
40652 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40653
40654         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40655         Add arch_prctl.
40656         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40657
40658         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40659         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40661         New macro.
40662         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40663         (INTERNAL_SYSCALL_TYPES): Likewise.
40664         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40665         (LOAD_REGS_TYPES_[1-6]): Likewise.
40666         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40667         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40668
40669 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40670
40671         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40672         copysignl for GLIBC_2_0.
40673         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40674         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40676         logbl for GLIBC_2_0.
40677         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40678         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40679
40680 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40681
40682         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40683         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40684
40685         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40686         Use "neg %eax".
40687
40688         * time/mktime.c: Update copyright years.
40689
40690 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40691
40692         mktime: merge comment-quoting-style change from gnulib
40693         * time/mktime.c: Quote 'like this' in comments.
40694         The GNU coding standards suggest that we no longer quote `like this',
40695         as "`" and "'" are typically rendered asymmetrically nowadays.
40696         The typical gnulib style is to quote 'like this' when quoting
40697         code, and "like this" when quoting English.
40698
40699         * time/mktime.c (compile-command): Add "-I.".
40700
40701         mktime: merge mktime-internal.h change from gnulib
40702         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40703
40704         mktime: merge time_r change from gnulib
40705         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40706
40707         mktime: merge DEBUG change from gnulib
40708         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40709         case system <time.h> has a #define.
40710
40711         mktime: merge <sys/types.h> change from gnulib
40712         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40713         since <time.t> is now guaranteed to define time_t.
40714
40715         mktime: merge HAVE_CONFIG_H change from gnulib
40716         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40717
40718 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40719
40720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40721         Use "neg %eax".
40722
40723         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40724         __rlim_t cast.
40725         (struct rusage): Use anonymous union to pad each field to
40726         __syscall_slong_t.
40727
40728 2012-05-21  David S. Miller  <davem@davemloft.net>
40729
40730         * Makefules (o-iterator): Remove .s cases.
40731         (compile-command.s): Delete.
40732         (COMPILE.s): Delete.
40733         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40734
40735 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40736
40737         * configure.in (libc_cv_predef_stack_protector): Only consider
40738         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40739         * configure: Regenerated.
40740
40741 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40742
40743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40744         New macro.  Use R*LP on int and pointer.
40745         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40746         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40747         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40748         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40749
40750         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40751         [__WORDSIZE_TIME64_COMPAT32] instead of
40752         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40753         (struct utmp): Likewise.
40754         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40755         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40756         Renamed to ...
40757         (__WORDSIZE_TIME64_COMPAT32): This.
40758         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40759         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40760         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40761         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40762         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40763         (__WORDSIZE_TIME64_COMPAT32): New macro.
40764
40765 2012-05-21  Andreas Jaeger  <aj@suse.de>
40766
40767         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40768         only if [SHARED]. Add prototype for __wcschr_ia32.
40769
40770 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40771
40772         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40773         of %rbp unmolested in the jmp_buf while mangling the low bits.
40774         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40775         unmolested high bits of %rbp while demangling the low bits.
40776         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40777
40778 2012-05-21  Andreas Jaeger  <aj@suse.de>
40779
40780         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40781         * sunrpc/svc_simple.c: Use it for registerrpc.
40782         * sunrpc/xcrypt.c: Use it for passwd2des.
40783
40784         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40785
40786 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40787
40788         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40789         Don't define if [__SYSCALL_WORDSIZE != 32].
40790         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40791         New macro.
40792
40793 2012-05-21  Bruno Haible  <bruno@clisp.org>
40794             Andreas Jaeger  <aj@suse.de>
40795
40796         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40797         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40798         inptr and inend for must_buffer_ch.
40799         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40800         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40801         * stdio-common/Makefile (tests): Remove bug15.
40802         (bug15-ENV): Remove macro.
40803         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40804         anymore.
40805
40806 2012-05-19  Andreas Jaeger  <aj@suse.de>
40807             Roland McGrath  <roland@hack.frob.com>
40808
40809         * manual/contrib.texi: Completely rewritten. It contains now an
40810         alphabetical list of contributors and their contributions.
40811
40812 2012-05-21  Richard Henderson  <rth@twiddle.net>
40813
40814         * misc/getauxval.c (__getauxval): Use unsigned long int.
40815         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40816         (getauxval): Use unsigned long int.
40817
40818 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40819
40820         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40821
40822 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40823
40824         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40825         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40826         __alignof__ (long double).
40827
40828 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40829
40830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40831
40832 2012-05-20  Richard Henderson  <rth@twiddle.net>
40833
40834         * misc/getauxval.c: New file.
40835         * misc/sys/auxv.h: New file.
40836         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40837         (routines): Add getauxval.
40838         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40839         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40840         * elf/dl-sysdep.c (_dl_auxv): Remove.
40841         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40842         * elf/dl-support.c (_dl_auxv): New variable.
40843         (_dl_aux_init): Initialize it.
40844         * manual/startup.texi (Auxiliary Vector): New node.
40845         * sysdeps/generic/bits/hwcap.h: New file.
40846         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40847         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40848         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40849         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40850         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40851         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40853         Update.
40854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40862
40863 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40864
40865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40866
40867 2012-05-19  David S. Miller  <davem@davemloft.net>
40868
40869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40870
40871 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40872
40873         [BZ #14123]
40874         * math/s_ccosh.c: Include <float.h>
40875         (__ccosh): Avoid internal overflow calculating sinh and cosh
40876         values before multiplying by sin and cos values.
40877         * math/s_ccoshf.c: Likewise.
40878         * math/s_ccoshl.c: Likewise.
40879         * math/s_csin.c: Likewise.
40880         * math/s_csinf.c: Likewise.
40881         * math/s_csinl.c: Likewise.
40882         * math/s_csinh.c: Likewise.
40883         * math/s_csinhf.c: Likewise.
40884         * math/s_csinhl.c: Likewise.
40885         * math/libm-test.inc (ccos_test): Add more tests.
40886         (ccosh_test): Likewise.
40887         (csin_test): Likewise.
40888         (csinh_test): Likewise.
40889         * sysdeps/i386/fpu/libm-test-ulps: Update.
40890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40891
40892 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40893
40894         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40895         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40896
40897         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40898
40899 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40900
40901         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40902         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40903         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40904         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40905         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40906         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40907         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40908         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40909         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40910         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40911         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40912         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40913         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40914         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40915         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40916         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40917         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40918         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40919         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40920         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40921         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40922         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40923         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40924         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40925         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40926         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40927         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40928         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40929         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40930         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40931         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40932
40933 2012-05-18  Andreas Jaeger  <aj@suse.de>
40934
40935         * csu/.gitignore: Delete.
40936
40937 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40938
40939         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40940         (timex): Use __syscall_slong_t.
40941
40942 2012-05-18  Andreas Jaeger  <aj@suse.de>
40943             Carlos O'Donell  <carlos_odonell@mentor.com>
40944
40945         * manual/install.texi (Configuring and compiling): Update
40946         description about files modified in the source directory.
40947         * INSTALL: Regenerated.
40948
40949 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40950
40951         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40952         value.  Use "or" to set return value to -1.
40953         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40954         negate return value.
40955
40956 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40957
40958         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40959         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40960         failure if the compiler has Graphite support disabled.
40961         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40962         Likewise.
40963         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40964         (CFLAGS-memmove.c): Likewise.
40965         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40966         Likewise.
40967
40968 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40969
40970         * sysdeps/x86_64/x32/_itoa.h: New file.
40971
40972         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40973         getdents system call only if kernel and user dirents have the
40974         same d_ino and d_off.
40975
40976         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40977         LLONG_MAX != LONG_MAX.
40978         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40979         (_fitoa_word): Likewise.
40980
40981         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40982         years.
40983         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40984         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40985         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40986
40987         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40988         include <bits/wordsize.h>.  Check __x86_64__ instead of
40989         __WORDSIZE.
40990         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40991         if __x86_64__ is defined.  Use anonymous union on fpstate.
40992
40993         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40994         anonymous union.
40995
40996 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40997
40998         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40999         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41000         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41001         Refer to _rtld_local_ro instead of _rtld_global_ro.
41002         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41003         Likewise.
41004         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41005         Likewise.
41006         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41007         Likewise.
41008         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41009         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41010         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41011
41012         * sysdeps/powerpc/powerpc32/dl-machine.c
41013         (__elf_machine_runtime_setup) [PROF]: Don't reference
41014         _dl_prof_resolve.
41015
41016 2012-05-18  Andreas Jaeger  <aj@suse.de>
41017
41018         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41019         function only available for GCCs before 3.4 since GCC 3.4
41020         introduced a builtin.
41021         (lrint): Likewise.
41022         (llrintf): Likewise.
41023         (llrint): Likewise.
41024         (fmaxf): Likewise.
41025         (fmax): Likewise.
41026         (fminf): Likewise.
41027         (fmin): Likewise.
41028         (rint): Likewise.
41029         (rintf): Likewise.
41030         (nearbyint): Likewise.
41031         (nearbyintf): Likewise.
41032         (ceil): Likewise.
41033         (ceilf): Likewise.
41034         (floor): Likewise.
41035         (floorf): Likewise.
41036
41037 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41038
41039         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41040         on both fields and cast pointer to __syscall_ulong_t.
41041
41042         * bits/types.h (__fsword_t): New type.
41043         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41044         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41046         (__FSWORD_T_TYPE): Likewise.
41047         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41048         (__FSWORD_T_TYPE): Likewise.
41049         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41050         (__FSWORD_T_TYPE): Likewise.
41051         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41052         (__FSWORD_T_TYPE): Likewise.
41053         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41054         __SWORD_TYPE with __fsword_t.
41055         (statfs64): Likewise.
41056
41057 2012-05-17  David S. Miller  <davem@davemloft.net>
41058
41059         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41060
41061 2012-05-17  Andreas Jaeger  <aj@suse.de>
41062
41063         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41064         warning.
41065
41066 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41067
41068         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41069
41070 2012-05-17  Andreas Jaeger  <aj@suse.de>
41071
41072         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41073         when it is used.
41074
41075 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41076
41077         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41078
41079 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41080
41081         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41082         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41083
41084 2012-05-17  Andreas Jaeger  <aj@suse.de>
41085             Carlos O'Donell  <carlos_odonell@mentor.com>
41086
41087         [BZ #14059]
41088         * sysdeps/x86_64/multiarch/init-arch.h
41089         (bit_YMM_Usable): Rename to...
41090         (bit_AVX_Usable): ... this.
41091         (bit_FMA4_Usable): New macro.
41092         (bit_XMM_state): New macro.
41093         (bit_YMM_state): New macro.
41094         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41095         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41096         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41097         (CPUID_OSXSAVE): New macro.
41098         (CPUID_AVX): New macro.
41099         (CPUID_FMA4): New macro.
41100         (index_YMM_Usable): Rename to...
41101         (index_AVX_Usable): ... this.
41102         (HAS_AVX): Use HAS_ARCH_FEATURE.
41103         (HAS_FMA4): Likewise.
41104         (HAS_YMM_USABLE): Remove.
41105         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41106         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41107         are present.
41108         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41109         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41110         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41111         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41112         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41113
41114 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41115
41116         * math/libm-test.c: Support platforms without multiple rounding modes.
41117         * math/bug-nextafter.c: Support platforms without FP exceptions.
41118         * math/bug-nexttoward.c: Likewise.
41119         * math/test-fenv.c: Likewise.
41120         * math/test-misc.c: Likewise.
41121         * stdlib/bug-getcontext.c: Likewise.
41122
41123 2012-05-17  Andreas Jaeger  <aj@suse.de>
41124
41125         * manual/examples/search.c (critter_cmp): Change signature to
41126         avoid warnings.
41127         * manual/string.texi (Collation Functions): Likewise.
41128
41129 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41130
41131         * bits/types.h: Fold copyright years.
41132         * bits/typesizes.h: Likewise.
41133         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41134         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41135         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41136         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41137         * time/time.h: Likewise.
41138
41139 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41140
41141         [BZ #208]
41142         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41143         in instead of returning them.  Return void.
41144         (__libc_mallinfo): Accumulate over all arenas.
41145         (__malloc_stats): Adjust for change in int_mallinfo interface.
41146
41147 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41148
41149         [BZ #10375]
41150         * configure.in (NM): Add AC_CHECK_TOOL for it.
41151         (libc_extra_cflags): New substituted variable.
41152         Check for -fstack-protector being used implicitly.
41153         * configure: Regenerated.
41154         * config.make.in (config-extra-cflags): New variable,
41155         gets @libc_extra_cflags@.
41156         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41157
41158         [BZ #10375]
41159         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41160         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41161         * configure: Regenerated.
41162         * config.make.in (CPPUNDEFS): New substituted variable.
41163         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41164         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41165         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41166
41167 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41168
41169         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41170         (mq_attr): Use __syscall_slong_t.
41171
41172 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41173
41174         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41175         Check __x86_64__ instead of __WORDSIZE.
41176         (_STAT_VER_LINUX): Likewise.
41177         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41178         __syscall_ulong_t and __syscall_slong_t.
41179         (stat64): Likewise.
41180
41181 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41182
41183         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41184
41185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41186
41187         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41188
41189 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41190
41191         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41192         __syscall_ulong_t.
41193
41194         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41195         include <bits/wordsize.h>.  Check __x86_64__ instead of
41196         __WORDSIZE.
41197         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41198         defined.
41199         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41200
41201         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41202         include <bits/wordsize.h>.  Check __x86_64__ instead of
41203         __WORDSIZE.
41204         (user_regs_struct): Use "__extension__ unsigned long long"
41205         instead of "unsigned long" if __x86_64__ is defined.
41206         (user): Likewise.  Pad after pointer field if __ILP32__ is
41207         defined.
41208
41209 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41210
41211         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41212         versions 5 to 9.
41213         * configure: Regenerated.
41214         * manual/install.texi (texinfo): Increase version requirement to
41215         4.5 or later.
41216         * INSTALL: Regenerated.
41217
41218         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41219
41220 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41221
41222         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41223
41224         * sysdeps/x86_64/x32/ffs.c: New file.
41225
41226         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41227         __syscall_ulong_t.
41228         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41229         defined.  Use __syscall_ulong_t.
41230         (shminfo): Use __syscall_ulong_t.
41231         (shm_info): Likewise.
41232
41233         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41234         __syscall_ulong_t.
41235
41236         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41237         <bits/wordsize.h>.
41238         (msgqnum_t): Use __syscall_ulong_t.
41239         (msglen_t): Likewise.
41240         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41241         __syscall_ulong_t.
41242
41243         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41244         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41245
41246         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41247
41248         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41249         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41250
41251         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41252         __syscall_slong_t.
41253
41254         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41255         include <bits/wordsize.h>.  Check __x86_64__ instead of
41256         __WORDSIZE.
41257
41258         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41259         "unsigned long long int" if __x86_64__ is defined.
41260         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41261
41262         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41263         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41264         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41265
41266         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41267         <stdint.h>.
41268         (GET_PC): Cast to uintptr_t first.
41269         (GET_FRAME): Likewise.
41270         (GET_STACK): Likewise.
41271
41272         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41273         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41274         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41275         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41276         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41277         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41278         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41279         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41280         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41281         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41282         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41283         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41284         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41285         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41286         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41287         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41288         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41289         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41290         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41291         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41292         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41293         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41294         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41295         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41296         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41297         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41298         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41299         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41300         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41301
41302 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41303
41304         * Makerules (+depfiles): Also collect depfiles from .oS in
41305         $(extra-objs).
41306         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41307         .oS, $(libnldbl-routines)).
41308
41309         * Makerules (native-compile-mkdep-flags): Define.
41310         * sunrpc/Makefile (extra-objs): Add $(addprefix
41311         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41312         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41313         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41314         calling $(make-target-directory).
41315
41316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41317
41318         * bits/types.h (__snseconds_t): Removed.
41319         * time/time.h (struct timespec): Replace __snseconds_t with
41320         __syscall_slong_t.
41321         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41322         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41323         Likewise.
41324         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41325         (__SNSECONDS_T_TYPE): Likewise.
41326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41327         (__SNSECONDS_T_TYPE): Likewise.
41328         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41329         (__SNSECONDS_T_TYPE): Likewise.
41330
41331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41332
41333         * sysdeps/mach/hurd/bits/typesizes.h
41334         (__SYSCALL_SLONG_TYPE): New macro.
41335         (__SYSCALL_ULONG_TYPE): Likewise.
41336
41337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41338
41339         * bits/types.h (__syscall_slong_t): New type.
41340         (__syscall_ulong_t): Likewise.
41341
41342         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41343         (__SYSCALL_ULONG_TYPE): Likewise.
41344         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41345         (__SYSCALL_SLONG_TYPE): Likewise.
41346         (__SYSCALL_ULONG_TYPE): Likewise.
41347         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41348         (__SYSCALL_SLONG_TYPE): Likewise.
41349         (__SYSCALL_ULONG_TYPE): Likewise.
41350         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41351         (__SYSCALL_SLONG_TYPE): Likewise.
41352         (__SYSCALL_ULONG_TYPE): Likewise.
41353
41354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41355
41356         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41357         Add sigaltstack-offsets.sym.
41358         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41359         <sigaltstack-offsets.h>.
41360         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41361         longjmp_msg pointer.
41362         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41363         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41364         signal stack.
41365         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41366
41367 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41368
41369         * elf/stackguard-macros.h: Remove file.
41370         * sysdeps/generic/stackguard-macros.h: New file.
41371         * sysdeps/i386/stackguard-macros.h: Likewise.
41372         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41373         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41374         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41375         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41376         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41377         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41378         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41379         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41380         <elf/stackguard-macros.h>.
41381
41382         [BZ #14109]
41383         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41384         __aligned__ in attribute.
41385         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41386         (gregset_t): Likewise.
41387
41388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41389
41390         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41391         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41392         * sysdeps/x86_64/x32/Implies-after: New file.
41393
41394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41395
41396         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41397         and access return value for _dl_profile_fixup.  Use R10_LP to
41398         load frame size.
41399
41400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41401
41402         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41403
41404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41405
41406         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41407         * sysdeps/x86_64/x32/sysdep.h: New file.
41408
41409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41410
41411         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41412         * sysdeps/x86_64/setjmp.S: Likewise.
41413
41414 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41415
41416         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41417         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41418         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41419         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41420         remove unused global constant.
41421
41422 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41423
41424         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41425         include of <not-cancel.h>.
41426
41427 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41428
41429         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41430
41431 2012-05-15  Jeff Law  <law@redhat.com>
41432             Andreas Jaeger  <aj@suse.de>
41433
41434         [BZ #13594]
41435         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41436         out from...
41437         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41438         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41439         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41440         code changing __hst_map_handle.map.
41441
41442 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41443
41444         * configure.in (sysnames): Look for Implies-before and Implies-after
41445         files.
41446         * configure: Regenerated.
41447
41448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41449
41450         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41451         8-byte data alignment with LP_SIZE alignment.
41452
41453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41454
41455         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41456         into R10_LP.
41457
41458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41459
41460         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41461
41462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41463
41464         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41465         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41466         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41467         Likewise.
41468         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41469
41470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41471
41472         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41473         (stackinfo_sub_sp): Likewise.
41474
41475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41476
41477         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41478         RAX_LP.
41479
41480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41481
41482         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41483         into R*_LP.
41484
41485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41486
41487         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41488         sizes into R*_LP.
41489
41490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41491
41492         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41493
41494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41495
41496         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41497         into R11_LP and load __x86_64_shared_cache_size_half into
41498         R8_LP.
41499
41500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41501
41502         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41503         R8_LP.
41504
41505 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41506
41507         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41508         logb for POWER7.
41509         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41510         logbf for POWER7.
41511         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41512         logbl for POWER7.
41513         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41514         powerpc32/power7/fpu/s_logb.c via #include.
41515         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41516         powerpc32/power7/fpu/s_logbf.c via #include.
41517         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41518         powerpc32/power7/fpu/s_logbl.c via #include.
41519
41520 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41521
41522         * README.libm: Remove file.
41523
41524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41525
41526         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41527         count for x32.  Use R*_LP and omit operand-size suffix.
41528
41529 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41530
41531         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41532         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41533         * sysdeps/x86_64/x32/shlib-versions: New file.
41534
41535 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41536
41537         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41538         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41539         Use _dl_fatal_printf instead.
41540
41541 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41542
41543         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41544         set if not set by the user.  Do not allow for being unset.
41545         * sysdeps/unix/sysv/linux/configure: Regenerated.
41546
41547 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41548
41549         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41550         the `q' suffix from lea and replace .quad with ASM_ADDR.
41551
41552 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41553
41554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41555         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41556         instead of $17.
41557         (PTR_DEMANGLE): Likewise.
41558
41559 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41560
41561         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41562         (LP_OP): Likewise.
41563         (ASM_ADDR): Likewise.
41564         (RAX_LP): Likewise.
41565         (RBP_LP): Likewise.
41566         (RBX_LP): Likewise.
41567         (RCX_LP): Likewise.
41568         (RDI_LP): Likewise.
41569         (RSI_LP): Likewise.
41570         (RSP_LP): Likewise.
41571         (R8_LP): Likewise.
41572         (R9_LP): Likewise.
41573         (R10_LP): Likewise.
41574         (R10_LP): Likewise.
41575         (R11_LP): Likewise.
41576         (R12_LP): Likewise.
41577         (R13_LP): Likewise.
41578         (R14_LP): Likewise.
41579         (R15_LP): Likewise.
41580
41581 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41582
41583         * sysdeps/x86_64/x32/dl-machine.h: New file.
41584
41585 2012-05-14  Andreas Jaeger  <aj@suse.de>
41586
41587         * manual/Makefile (subdir): Remove export of subdir.
41588         (all): Remove target.
41589         (.PHONY): Remove all from list.
41590         (mkinstalldirs): Remove.
41591         (.PHONY): Remove installdirs from list.
41592         ($(inst_infodir)/libc.info): Use make-target-directory.
41593         (installdirs): Remove.
41594         (subdir_%): Remove.
41595         (glibc-targets): Remove.
41596         (lib): Remove.
41597         (stubs): Remove.
41598         ($(objpfx)stubs ../po/manual.pot): Remove.
41599         ($(objpfx)stamp%): Remove.
41600         (make-target-directory): Remove.
41601         (subdir_install): Remove.
41602         (routines): Remove.
41603         (aux): Remove.
41604         (sources): Remove.
41605         (objects): Remove.
41606         (headers): Remove.
41607
41608         [BZ #13750]
41609         * manual/.gitignore: Remove, it's not needed anymore.
41610         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41611         all files in it.
41612         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41613         directory.
41614         (texis): Renamed to $(objpfx)texis.
41615         (texis-path): New, contains path to generated files.
41616         (chapters.%): Use texis-path for complete path, add extra argument
41617         libc-texinfo.sh.
41618         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41619         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41620         (summary,texi, stamp-summary): Use complete path of
41621         files. Generate files in build dir.
41622         (dir-add.texi): Build in build dir.
41623         (libm-err.texi,stamp-libm-err): Likewise.
41624         (version.texi, stamp-version): Likewise.
41625         (.%c.texi): Likewise.
41626         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41627         (mostlyclean): Remove target.
41628         (realclean): Remove target.
41629         (generated): Add new variable with contents from mostlyclean and
41630         realclean, remove entries duplicated in common-mostlyclean, add
41631         stamp-libm-err and stamp-version.
41632         (generated-dirs): Add libc directory.
41633         ($(inst_infodir)/libc.info): Install files from build dir.
41634
41635         * manual/install.texi (Configuring and compiling): Adjust since
41636         the info files are not part of the tar ball anymore.
41637
41638 2012-05-14  Andreas Jaeger  <aj@suse.de>
41639
41640         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41641         variable.
41642
41643 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41644
41645         [BZ #13717]
41646         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41647         to 2.2.0 where earlier.
41648         * sysdeps/unix/sysv/linux/configure: Regenerated.
41649         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41650         Remove conditional code.
41651         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41652         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41653         Remove conditional code.
41654         [!__NR_lchown]: Likewise.
41655         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41656         [__NR_lchown]: Likewise.
41657         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41658         comment referencing __ASSUME_LCHOWN_SYSCALL.
41659         * sysdeps/unix/sysv/linux/i386/sigaction.c
41660         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41661         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41662         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41663         Remove conditional code.
41664         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41665         (__protocol_available): Remove #if 0 code.
41666         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41667         conditional code.
41668         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41669         * sysdeps/unix/sysv/linux/kernel-features.h
41670         (__ASSUME_GETCWD_SYSCALL): Don't define.
41671         (__ASSUME_REALTIME_SIGNALS): Likewise.
41672         (__ASSUME_PREAD_SYSCALL): Likewise.
41673         (__ASSUME_PWRITE_SYSCALL): Likewise.
41674         (__ASSUME_POLL_SYSCALL): Likewise.
41675         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41676         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41677         non-SPARC.
41678         (__ASSUME_SIOCGIFNAME): Don't define.
41679         (__ASSUME_MSG_NOSIGNAL): Likewise.
41680         (__ASSUME_SENDFILE): Define unconditionally.
41681         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41682         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41683         conditional code.
41684         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41685         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41686         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41687         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41688         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41689         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41690         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41692         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41693         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41695         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41696         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41698         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41699         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41701         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41702         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41704         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41705         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41707         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41708         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41710         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41711         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41713         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41715         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41716         Remove conditional code.
41717         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41718         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41719         Remove conditional code.
41720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41721         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41722         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41723         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41724         Remove conditional code.
41725         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41726         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41727         Remove conditional code.
41728         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41729         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41730         Remove conditional code.
41731         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41732         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41733         Remove conditional code.
41734         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41735         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41736         Remove conditional code.
41737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41738         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41739         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41741         * sysdeps/unix/sysv/linux/sigaction.c
41742         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41743         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41744         * sysdeps/unix/sysv/linux/sigpending.c
41745         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41746         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41747         * sysdeps/unix/sysv/linux/sigprocmask.c
41748         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41749         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41750         * sysdeps/unix/sysv/linux/sigsuspend.c
41751         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41752         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41753         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41754         (__libc_missing_rt_sigs): Remove.
41755         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41756         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41757         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41758         Remove conditional code.
41759         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41760         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41761         return 1.
41762         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41763         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41764         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41765         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41766
41767 2012-05-14  Andreas Jaeger  <aj@suse.de>
41768
41769         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41770         it's not used in glibc.
41771         (__coshm1): Likewise.
41772         (__acosh1p): Likewise.
41773         (__sgn): Likewise.
41774
41775         * manual/string.texi (Copying and Concatenation): Add missing
41776         variable in concat example.
41777         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41778
41779 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41780
41781         [BZ #14103]
41782         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41783         __builtin_clzl with __builtin_clzll.
41784
41785 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41786
41787         [BZ #14104]
41788         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41789         libc_freeres_ptr.
41790
41791 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41792
41793         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41794         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41795         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41796         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41797
41798 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41799
41800         * NEWS: Update ia64 info.
41801
41802 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41803
41804         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41805         used as bcopy.
41806
41807 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41808
41809         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41810         * sysdeps/unix/syscalls.list (dup3): Likewise.
41811         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41812         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41813
41814 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41815
41816         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41817         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41818
41819 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41820
41821         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41822         thread pointer.
41823         (TLS_IE): Use mov/add instead of movq/addq to load thread
41824         pointer.
41825         (TLS_GD_PREFIX): New.
41826         (TLS_GD): Use it.
41827
41828 2012-05-11  David S. Miller  <davem@davemloft.net>
41829
41830         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41831         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41832         (_FPU_SETCW): Likewise.
41833
41834 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41835
41836         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41837         is 32-byte aligned.
41838
41839 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41840
41841         [BZ #11837]
41842         * iconvdata/gb18030.c: Update tables.
41843         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41844         characters specially.
41845         (BODY for TO_LOOP): Add encoding of missing ranges.
41846
41847 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41848
41849         [BZ #13673]
41850         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41851         * sysdeps/mach/hurd/dup3.c: Likewise.
41852         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41853         * sysdeps/powerpc/memmove.c:: Likewise.
41854
41855 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41856
41857         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41858         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41859
41860 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41861
41862         * elf/elf.h (R_X86_64_RELATIVE64): New.
41863         (R_X86_64_NUM): Updated.
41864         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41865         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41866         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41867         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41868         tst-quad1pie tst-quad2pie
41869         (modules-names): Add tst-quadmod1 tst-quadmod2.
41870         ($(objpfx)tst-quad1): New dependency.
41871         ($(objpfx)tst-quad2): Likewise.
41872         ($(objpfx)tst-quad1pie): Likewise.
41873         ($(objpfx)tst-quad2pie): Likewise.
41874         * sysdeps/x86_64/tst-quad1.c: New file.
41875         * sysdeps/x86_64/tst-quad1pie.c: New file.
41876         * sysdeps/x86_64/tst-quad2.c: Likewise.
41877         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41878         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41879         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41880         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41881         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41882
41883 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41884
41885         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41886         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41887         * streams/stropts.h (t_scalar_t): Define type.
41888
41889         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41890         (_PATH_PRESERVE): Set to "/var/lib".
41891         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41892
41893         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41894         instead of int.
41895
41896         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41897         if __dir_mkfile succeeded.
41898
41899         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41900         checking for _hurd_dtablesize.  Unlock it right after having
41901         finished _hurd_dtable allocation.
41902
41903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41904
41905         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41906         * sysdeps/mach/hurd/configure: Regenerated.
41907         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41908         special-casing to...
41909         * sysdeps/gnu/configure.in: ... this new file.
41910         * sysdeps/unix/sysv/linux/configure: Regenerated.
41911         * sysdeps/gnu/configure: New generated file.
41912
41913         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41914         for Linux: use nsec instead of usec, as well as:
41915         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41916         members of type struct timespec.
41917         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41918         New macros.
41919         (struct stat64): Likewise.
41920         (_STATBUF_ST_NSEC): New macro.
41921         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41922
41923         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41924         __strtoul_internal rather than strtoul.
41925
41926 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41927
41928         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41929         and reject them.
41930
41931 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41932
41933         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41934         which preserves existing values.
41935         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41936
41937 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41938
41939         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41940         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41941         greater than FD_SETSIZE.
41942
41943 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41944
41945         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41946         allocated, call __vm_protect to finish enabling the existing space, and
41947         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41948         allocate the remainder.
41949
41950 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41951
41952         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41953         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41954
41955 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41956
41957         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41958         sysdeps/mach/hurd/readlink.c.
41959
41960         * posix/tst-sysconf.c (posix_options): Only use
41961         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41962         _POSIX_SYNCHRONIZED_IO when they are defined
41963         * sysdeps/mach/hurd/bits/posix_opt.h:
41964         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41965         (_XOPEN_REALTIME): Undefine macro.
41966         (_XOPEN_REALTIME_THREADS): Undefine macro.
41967         (_XOPEN_SHM): Undefine macro.
41968         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41969         macro to -1.
41970         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41971         macro to -1.
41972         (_POSIX_ASYNC_IO): Undefine macro.
41973         (_POSIX_PRIORITIZED_IO): Undefine macro.
41974         (_POSIX_SPIN_LOCKS): Define macro to -1.
41975
41976         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41977         SA_NODEFER, SA_RESETHAND.
41978         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41979         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41980         F_DUPFD_CLOEXEC.
41981
41982 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41983
41984         * elf/Makefile (pldd-modules): Define unconditionally.
41985
41986 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41987
41988         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41989
41990 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41991
41992         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41993         Return ENOENT when name is empty.
41994         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41995
41996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41997
41998         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41999
42000         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42001
42002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42003
42004         Fix mlock in all cases except non-readable pages.
42005         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42006         instead of VM_PROT_ALL as parameter to __vm_wire function.
42007
42008         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42009         (__mkdir): When path is `/', just fail with EEXIST.
42010         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42011
42012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42013
42014         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42015         <sys/uio.h> (for writev).
42016         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42017         and <sys/param.h> (for MIN).
42018
42019 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42020
42021         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42022         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42023         if interrupted.
42024
42025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42026
42027         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42028         Depend on against $(link-rpcuserlibs).
42029
42030 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42031
42032         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42033         (__libc_stack_end): Do not use attribute_relro.
42034         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42035         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42036         to libthread-provided value.
42037         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42038         attribute_relro.
42039
42040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42041
42042         [BZ #3748]
42043         * bits/libc-lock.h (__libc_once_get): New macro.
42044         * sysdeps/mach/bits/libc-lock.h: Likewise.
42045         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42046         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42047         instead of using implementation details.
42048
42049         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42050         * libio/freopen.c: Likewise.
42051         * libio/freopen64.c: Likewise.
42052         * misc/syslog.c: Likewise.
42053         * nscd/connections.c: Likewise.
42054         * nscd/netgroupcache.c: Likewise.
42055         * sysdeps/posix/getcwd.c: Likewise.
42056
42057 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42058
42059         * math/w_ilogbf.c: Add #include <limits.h>.
42060
42061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42062
42063         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42064         path instead of returning without unlocking.
42065
42066         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42067         immediate-write ioctls.
42068         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42069
42070 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42071
42072         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42073         __builtin_frame_address instead of making assumptions about the
42074         location of the return address relative to DATA.  Force early load of
42075         the return address.
42076         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42077         __builtin_frame_address.
42078
42079         dup3 for GNU Hurd.
42080         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42081         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42082         implement dup3 and do some further code clean-ups.
42083         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42084         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42085
42086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42087
42088         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42089
42090         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42091         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42092         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42093         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42094         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42095         d->port.lock.
42096
42097         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42098         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42099         when handler == SIG_ERR, not when handler != SIG_ERR.
42100
42101 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42102
42103         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42104         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42105         definitions.
42106
42107         accept4 for GNU Hurd.
42108         * include/sys/socket.h (__libc_accept4): New prototype.
42109         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42110         to implement __libc_accept4.
42111         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42112         __libc_accept4.
42113         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42114
42115         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42116         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42117         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42118         signal-defines.sym.
42119
42120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42121
42122         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42123
42124 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42125
42126         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42127         assertion on O_CLOEXEC flag.
42128         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42129         * hurd/intern-fd.c: Likewise.
42130         * hurd/port2fd.c: Likewise.
42131
42132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42133
42134         [BZ #3906]
42135         * bits/in.h (IPV6_PKTINFO): Define new macro.
42136         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42137
42138 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42139
42140         [BZ #13954]
42141         [BZ #13955]
42142         [BZ #13956]
42143         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42144         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42145         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42146         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42147         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42148         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42149         * math/libm-test.inc (logb_test) : Additional logb tests.
42150
42151 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42152             Andreas Jaeger  <aj@suse.de>
42153
42154         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42155         * configure: Regenerated.
42156         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42157         * config.make.in (link-obsolete-rpc): New substituted variable.
42158         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42159         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42160         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42161         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42162         so that libc.a contains the symbols.
42163         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42164         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42165         * sunrpc/auth_none.c: Likewise.
42166         * sunrpc/auth_unix.c: Likewise.
42167         * sunrpc/authdes_prot.c: Likewise.
42168         * sunrpc/authuxprot.c: Likewise.
42169         * sunrpc/clnt_gen.c: Likewise.
42170         * sunrpc/clnt_perr.c: Likewise.
42171         * sunrpc/clnt_raw.c: Likewise.
42172         * sunrpc/clnt_simp.c: Likewise.
42173         * sunrpc/clnt_tcp.c: Likewise.
42174         * sunrpc/clnt_udp.c: Likewise.
42175         * sunrpc/clnt_unix.c: Likewise.
42176         * sunrpc/des_crypt.c: Likewise.
42177         * sunrpc/des_soft.c: Likewise.
42178         * sunrpc/get_myaddr.c: Likewise.
42179         * sunrpc/key_call.c: Likewise.
42180         * sunrpc/key_prot.c: Likewise.
42181         * sunrpc/netname.c: Likewise.
42182         * sunrpc/pm_getmaps.c: Likewise.
42183         * sunrpc/pm_getport.c: Likewise.
42184         * sunrpc/pmap_clnt.c: Likewise.
42185         * sunrpc/pmap_prot.c: Likewise.
42186         * sunrpc/pmap_prot2.c: Likewise.
42187         * sunrpc/pmap_rmt.c: Likewise.
42188         * sunrpc/publickey.c: Likewise.
42189         * sunrpc/rpc_cmsg.c: Likewise.
42190         * sunrpc/rpc_common.c: Likewise.
42191         * sunrpc/rpc_dtable.c: Likewise.
42192         * sunrpc/rpc_prot.c: Likewise.
42193         * sunrpc/rpc_thread.c: Likewise.
42194         * sunrpc/rtime.c: Likewise.
42195         * sunrpc/svc.c: Likewise.
42196         * sunrpc/svc_auth.c: Likewise.
42197         * sunrpc/svc_raw.c: Likewise.
42198         * sunrpc/svc_run.c: Likewise.
42199         * sunrpc/svc_tcp.c: Likewise.
42200         * sunrpc/svc_udp.c: Likewise.
42201         * sunrpc/svc_unix.c: Likewise.
42202         * sunrpc/svcauth_des.c: Likewise.
42203         * sunrpc/xcrypt.c: Likewise.
42204         * sunrpc/xdr.c: Likewise.
42205         * sunrpc/xdr_array.c: Likewise.
42206         * sunrpc/xdr_float.c: Likewise.
42207         * sunrpc/xdr_intXX_t.c: Likewise.
42208         * sunrpc/xdr_mem.c: Likewise.
42209         * sunrpc/xdr_rec.c: Likewise.
42210         * sunrpc/xdr_ref.c: Likewise.
42211         * sunrpc/xdr_sizeof.c: Likewise.
42212         * sunrpc/xdr_stdio.c: Likewise.
42213
42214 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42215
42216         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42217         change.  Update copyright years.
42218
42219 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42220
42221         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42222
42223 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42224             Joseph Myers  <joseph@codesourcery.com>
42225             Paul Pluzhnikov  <ppluzhnikov@google.com>
42226
42227         [BZ #14012]
42228         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42229         requiring rpcgen.
42230         [cross-compiling] (extra-libs): Likewise.
42231         [cross-compiling] (extra-libs-others): Likewise.
42232         [cross-compiling] (librpcsvc-routines): Likewise.
42233         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42234         [cross-compiling] (omit-deps): Likewise.
42235         (sunrpc-CPPFLAGS): New variable.
42236         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42237         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42238         (cross-rpcgen-objs): New variable.
42239         (extra-objs): Append $(cross-rpcgen-objs).
42240         ($(cross-rpcgen-objs)): New rule.
42241         ($(objpfx)cross-rpcgen): Likewise.
42242         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42243         comment.
42244         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42245         ($(objpfx)x%.stmp): Likewise.
42246         * sunrpc/proto.h [IS_IN_build] (_): Define.
42247         [IS_IN_build] (_libc_intl_domainname): Likewise.
42248
42249 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42250
42251         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42252         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42253         and R_X86_64_TPOFF64.
42254
42255 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42256
42257         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42258         sysdeps/unix/sysv/syscalls.list.
42259         (stime): Likewise.
42260         (utime): Likewise.
42261         * sysdeps/unix/sysv/syscalls.list: Remove file.
42262
42263 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42264
42265         [BZ #3440]
42266         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42267         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42268         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42269         (__LC_IDENTIFICATION): Make these macros useful in #if
42270         expressions, as required by C99.
42271
42272 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42273
42274         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42275         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42276         after this.
42277
42278 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42279
42280         * stdlib/longlong.h: Updated from GCC.
42281
42282 2012-05-09  Andreas Jaeger  <aj@suse.de>
42283
42284         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42285         default is first entry.
42286         (run_mode): Set type.
42287         (main): Remove informal message about syslog.
42288         (options): Fix typo.
42289
42290         [BZ #14053]
42291         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42292         to asm.
42293         (lrint): Likewise.
42294         (llrintf): Likewise.
42295         (llrint): Likewise.
42296         (rint): Likewise.
42297         (rintf): Likewise.
42298         (nearbyint): Likewise.
42299         (nearbyintf): Likewise.
42300
42301 2012-05-09  Andreas Jaeger  <aj@suse.de>
42302             Pedro Alves  <palves@redhat.com>
42303
42304         * nscd/nscd.c (run_mode): Use enum.
42305         (main): Cleanup coding style issue.
42306
42307 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42308             Andreas Jaeger  <aj@suse.de>
42309
42310         * nscd/nscd.c (go_background): Replaced with...
42311         (run_mode): ... this.
42312         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42313         (options): Add -F --foreground.
42314         (main): Implement it.
42315         (parse_opt): Parse it.
42316
42317 2012-05-09  Andreas Jaeger  <aj@suse.de>
42318
42319         [BZ #14083]
42320         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42321         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42322         -Wconversion warning.
42323         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42324         Likewise.
42325
42326 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42327
42328         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42329         == 0.
42330         (LC_ALL): Use macro-int-constant.
42331         (LC_COLLATE): Likewise.
42332         (LC_CTYPE): Likewise.
42333         (LC_MESSAGES): Likewise.
42334         (LC_MONETARY): Likewise.
42335         (LC_NUMERIC): Likewise.
42336         (LC_TIME): Likewise.
42337         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42338         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42339         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42340         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42341         Specify type.
42342         [C99-based standards] (float_t): Expect type.
42343         [C99-based standards] (double_t): Expect type.
42344         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42345         type.
42346         [C99-based standards] (HUGE_VALL): Likewise.
42347         [C99-based standards] (INFINITY): Likewise.
42348         [C99-based standards] (NAN): Likewise.
42349         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42350         [C99-based standards] (FP_NAN): Likewise.
42351         [C99-based standards] (FP_NORMAL): Likewise.
42352         [C99-based standards] (FP_SUBNORMAL): Likewise.
42353         [C99-based standards] (FP_ZERO): Likewise.
42354         [C99-based standards] (FP_FAST_FMA): Use
42355         optional-macro-int-constant.  Specify type.  Require == 1.
42356         [C99-based standards] (FP_FAST_FMAF): Likewise.
42357         [C99-based standards] (FP_FAST_FMAL): Likewise.
42358         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42359         [C99-based standards] (FP_ILOGBNAN): Likewise.
42360         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42361         Specify type.
42362         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42363         [C99-based standards] (math_errhandling): Specify type.
42364         [ISO99 || ISO11] (signgam): Do not allow.
42365         [non-C99-based standards] (copysignf): Do not allow.
42366         [non-C99-based standards] (exp2f): Likewise.
42367         [non-C99-based standards] (log2f): Likewise.
42368         [non-C99-based standards] (modff): Allow.
42369         [non-C99-based standards] (erff): Do not allow.
42370         [non-C99-based standards] (erfcf): Likewise.
42371         [non-C99-based standards] (gammaf): Likewise.
42372         [non-C99-based standards] (hypotf): Likewise.
42373         [non-C99-based standards] (j0f): Likewise.
42374         [non-C99-based standards] (j1f): Likewise.
42375         [non-C99-based standards] (jnf): Likewise.
42376         [non-C99-based standards] (lgammaf): Likewise.
42377         [non-C99-based standards] (tgammaf): Likewise.
42378         [non-C99-based standards] (y0f): Likewise.
42379         [non-C99-based standards] (y1f): Likewise.
42380         [non-C99-based standards] (ynf): Likewise.
42381         [non-C99-based standards] (isnanf): Likewise.
42382         [non-C99-based standards] (acoshf): Likewise.
42383         [non-C99-based standards] (asinhf): Likewise.
42384         [non-C99-based standards] (atanhf): Likewise.
42385         [non-C99-based standards] (cbrtf): Likewise.
42386         [non-C99-based standards] (expm1f): Likewise.
42387         [non-C99-based standards] (ilogbf): Likewise.
42388         [non-C99-based standards] (log1pf): Likewise.
42389         [non-C99-based standards] (logbf): Likewise.
42390         [non-C99-based standards] (nextafterf): Likewise.
42391         [non-C99-based standards] (remainderf): Likewise.
42392         [non-C99-based standards] (rintf): Likewise.
42393         [non-C99-based standards] (scalbf): Likewise.
42394         [non-C99-based standards] (copysignl): Likewise.
42395         [non-C99-based standards] (exp2l): Likewise.
42396         [non-C99-based standards] (log2l): Likewise.
42397         [non-C99-based standards] (modfl): Allow.
42398         [non-C99-based standards] (erfl): Do not allow.
42399         [non-C99-based standards] (erfcl): Likewise.
42400         [non-C99-based standards] (gammal): Likewise.
42401         [non-C99-based standards] (hypotl): Likewise.
42402         [non-C99-based standards] (j0l): Likewise.
42403         [non-C99-based standards] (j1l): Likewise.
42404         [non-C99-based standards] (jnl): Likewise.
42405         [non-C99-based standards] (lgammal): Likewise.
42406         [non-C99-based standards] (tgammal): Likewise.
42407         [non-C99-based standards] (y0l): Likewise.
42408         [non-C99-based standards] (y1l): Likewise.
42409         [non-C99-based standards] (ynl): Likewise.
42410         [non-C99-based standards] (isnanl): Likewise.
42411         [non-C99-based standards] (acoshl): Likewise.
42412         [non-C99-based standards] (asinhl): Likewise.
42413         [non-C99-based standards] (atanhl): Likewise.
42414         [non-C99-based standards] (cbrtl): Likewise.
42415         [non-C99-based standards] (expm1l): Likewise.
42416         [non-C99-based standards] (ilogbl): Likewise.
42417         [non-C99-based standards] (log1pl): Likewise.
42418         [non-C99-based standards] (logbl): Likewise.
42419         [non-C99-based standards] (nextafterl): Likewise.
42420         [non-C99-based standards] (remainderl): Likewise.
42421         [non-C99-based standards] (rintl): Likewise.
42422         [non-C99-based standards] (scalbl): Likewise.
42423         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42424         [non-C99-based standards] (FP_*): Do not allow.
42425         [C99-based standards] (FP_*): Change to
42426         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42427         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42428         allow.
42429         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42430         (SIG_ERR): Likewise.
42431         [X/Open-based standards] (SIG_HOLD): Likewise.
42432         (SIG_IGN): Likewise.
42433         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42434         positive value.
42435         (SIGFPE): Likewise.
42436         (SIGILL): Likewise.
42437         (SIGINT): Likewise.
42438         (SIGSEGV): Likewise.
42439         (SIGTER): Likewise.
42440         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42441         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42442         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42443         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42444         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42445         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42446         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42447         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42448         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42449         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42450         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42451         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42452         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42453         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42454         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42455         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42456         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42457         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42458         [X/Open-based standards] (SIGTRAP): Likewise.
42459         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42460         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42461         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42462         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42463         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42464         allow.
42465
42466 2012-05-08  Ian Wienand  <ianw@vmware.com>
42467
42468         [BZ #14080]
42469         * time/tzset.c (__tzset_parse_tz): Update default rules for
42470         daylight time changes in the Energy Policy Act of 2005.
42471
42472 2012-05-09  Andreas Jaeger  <aj@suse.de>
42473
42474         [BZ #13983]
42475         * elf/ldconfig.c (parse_conf): Change string to make clear that
42476         ldconfig only issued a warning if ld.so.conf does not exist.
42477
42478 2012-05-08  David S. Miller  <davem@davemloft.net>
42479
42480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42481         movxtod instead of popping the value on the stack.
42482
42483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42484
42485 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42486
42487         * config.h.in: Add HAVE_ARM_PCS_VFP.
42488
42489 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42490
42491         [BZ #13979]
42492         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42493         checking but the checks are disabled for any reason.
42494
42495 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42496
42497         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42498         and ELF64_R_TYPE with ELFW(R_TYPE).
42499
42500 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42501
42502         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42503         (ulimit): Likewise.
42504
42505         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42506         (settimeofday): Likewise.
42507
42508 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42509
42510         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42511         a struct th_u2 inside the union, and move tu_block/tu_code into
42512         a new th_u3 union of tu_block/tu_code inside of that.  Move
42513         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42514         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42515         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42516         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42517         (th_stuff): Change to th_u1.tu_stuff.
42518         (th_data): Define.
42519         (th_msg): Change to th_u1.th_u2.tu_data.
42520
42521 2012-05-07  David S. Miller  <davem@davemloft.net>
42522
42523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42524
42525         [BZ #14074]
42526         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42527         (SETUP_PIC_REG): Use it.
42528         (SETUP_PIC_REG_LEAF): Use it.
42529
42530 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42531
42532         [BZ #13885]
42533         [BZ #13923]
42534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42535         USE_AS_EXPM1L.
42536         (EXPL_FINITE): Likewise.
42537         (FLDLOG): Likewise.
42538         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42539         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42540         e_expl.S.
42541         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42542         USE_AS_EXPM1L.
42543         (EXPL_FINITE): Likewise.
42544         (FLDLOG): Likewise.
42545         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42546         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42547         e_expl.S.
42548         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42549         test of -max_value argument for long double.
42550         * sysdeps/i386/fpu/libm-test-ulps: Update.
42551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42552
42553 2012-05-06  David S. Miller  <davem@davemloft.net>
42554
42555         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42556         quad soft-float symbols whose references which are compiler
42557         generated.
42558         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42559
42560 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42561
42562         [BZ #13884]
42563         [BZ #13914]
42564         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42565         USE_AS_EXP10L.
42566         (EXPL_FINITE): Likewise.
42567         (FLDLOG): Likewise.
42568         (c0): Likewise.
42569         (c1): Likewise.
42570         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42571         Adjust comments for base varying.
42572         (__expl_finite): Change alias to EXPL_FINITE.
42573         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42574         e_expl.S.
42575         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42576         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42577         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42578         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42579         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42580         USE_AS_EXP10L.
42581         (EXPL_FINITE): Likewise.
42582         (FLDLOG): Likewise.
42583         (c0): Likewise.
42584         (c1): Likewise.
42585         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42586         Adjust comments for base varying.
42587         (__expl_finite): Change alias to EXPL_FINITE.
42588         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42589         tests for bugs.
42590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42591
42592         [BZ #14064]
42593         * math/libm-test.inc (check_float_internal): Correct ulp
42594         calculation for subnormal expected results.
42595
42596 2012-05-06  Andreas Jaeger  <aj@suse.de>
42597
42598         * Makeconfig (+math-flags): New, set to -frounding-math.
42599         (+cflags): Add +math-flags so that all of glibc gets compiled with
42600         it.
42601
42602         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42603
42604 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42605
42606         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42607         Disable one test.
42608
42609         [BZ #13787]
42610         [BZ #13922]
42611         [BZ #14036]
42612         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42613         (__ieee754_expl): Allow for and saturate large arguments.
42614         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42615         (u_threshold): Likewise.
42616         (__exp): Call __ieee754_exp before checking for overflow and
42617         underflow.
42618         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42619         (u_threshold): Likewise.
42620         (__expf): Call __ieee754_expf before checking for overflow and
42621         underflow.
42622         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42623         (u_threshold): Likewise.
42624         (__expl): Call __ieee754_expl before checking for overflow and
42625         underflow.
42626         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42627         (__ieee754_expl): Allow for and saturate large arguments.
42628         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42629         missing overflow exception on overflow.
42630         (expm1_test): Do not allow missing overflow exception on overflow.
42631
42632         * sysdeps/i386/fpu/e_expl.c: Move to ...
42633         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42634         rather than using inline asm.
42635         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42636         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42637         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42638
42639         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42640         (nice): Likewise.
42641         (poll): Likewise.
42642         (signal): Likewise.
42643         (time): Likewise.
42644         (times): Likewise.
42645
42646 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42647
42648         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42649         sysdeps/unix/common/syscalls.list.
42650         (fchmod): Likewise.
42651         (fchown): Likewise.
42652         (ftruncate): Likewise.
42653         (getrusage): Likewise.
42654         (gettimeofday): Likewise.
42655         (setpgid): Likewise.
42656         (setregid): Likewise.
42657         (setreuid): Likewise.
42658         (sigaction): Likewise.
42659         (truncate): Likewise.
42660         (vhangup): Likewise.
42661         * sysdeps/unix/common/syscalls.list: Remove file.
42662         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42663         * sysdeps/unix/sysv/linux/Implies: Likewise.
42664
42665 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42666
42667         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42669         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42670         Moved to ...
42671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42672         Here.
42673         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42674         to ...
42675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42676         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42677         to ...
42678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42679         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42680         to ...
42681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42682         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42683         to ...
42684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42685         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42686         to ...
42687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42688         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42689         to ...
42690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42691         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42692         to ...
42693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42694         Here.
42695         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42696         to ...
42697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42698         Here.
42699         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42700         to ...
42701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42702         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42703         Moved to ...
42704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42705         Here.
42706         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42707         to ...
42708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42709
42710 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42711
42712         * sysdeps/unix/common/bits/dirent.h: Remove file.
42713         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42714
42715         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42716         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42717         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42718         * sysdeps/unix/bsd/isatty.c: Likewise.
42719         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42720         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42721         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42722
42723 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42724
42725         [BZ #13563]
42726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42727         long double comparison inaccuracies.
42728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42730
42731 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42732
42733         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42734         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42735
42736 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42737
42738         [BZ #14049]
42739         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42740         nonzero digits before rounding a hex value.
42741         * stdlib/tst-strtod.c (tests): Add another test.
42742
42743 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42744
42745         * sysdeps/s390/fpu/libm-test-ulps: Update.
42746
42747 2012-05-03  Andreas Jaeger  <aj@suse.de>
42748
42749         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42750         does not get optimized out.
42751         (malloc_opt_barrier): New.
42752
42753 2012-05-03  Andreas Jaeger  <aj@suse.de>
42754             Roland McGrath  <roland@hack.frob.com>
42755
42756         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42757         intermediate file deletion.
42758         (generated): Add .symlist files.
42759
42760 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42761
42762         [BZ #13775]
42763         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42764         Redirect under this condition.
42765         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42766         [__USE_GNU] (__dprintf_chk): Not under this condition.
42767         [__USE_GNU] (__vdprintf_chk): Likewise.
42768         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42769         under this condition.
42770         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42771         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42772         [__USE_XOPEN2K8] (vdprintf): Likewise.
42773         [__USE_GNU] (__dprintf_chk): Not under this condition.
42774         [__USE_GNU] (__vdprintf_chk): Likewise.
42775         [__USE_GNU] (dprintf): Likewise.
42776         [__USE_GNU] (vdprintf): Likewise.
42777
42778 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42779
42780         * elf/Makefile (common-generated): Set this instead of generated for
42781         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42782         $(all-built-dso)-derived lists.
42783
42784 2012-05-03  Andreas Jaeger  <aj@suse.de>
42785
42786         * sysdeps/i386/fpu/libm-test-ulps: Update.
42787
42788         * FAQ: Removed.
42789         * FAQ.in: Likewise.
42790         * scripts/gen-FAQ.pl: Likewise.
42791         * manual/install.texi (Installation): Point to online location of
42792         FAQ.
42793         * Makefile (files-for-dist): Remove FAQ.
42794         (FAQ): Remove.
42795
42796 2012-05-02  Allan McRae  <allan@archlinux.org>
42797
42798         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42799         (LDFLAGS-reldepmod5.so): Likewise.
42800         (LDFLAGS-reldep6mod1.so): Likewise.
42801         (LDFLAGS-reldep6mod4.so): Likewise.
42802         (LDFLAGS-reldep8mod3.so): Likewise.
42803         (LDFLAGS-unload4mod1.so): Likewise.
42804         (LDFLAGS-unload4mod2.so): Likewise.
42805         (LDFLAGS-tst-initorder): Likewise.
42806         (LDFLAGS-tst-initordera2.so): Likewise.
42807         (LDFLAGS-tst-initordera3.so): Likewise.
42808         (LDFLAGS-tst-initordera4.so): Likewise.
42809         (LDFLAGS-tst-initorderb2.so): Likewise.
42810         (LDFLAGS-noload): Likewise.
42811         (LDFLAGS-next): Likewise.
42812         (LDFLAGS-order2mod1.so): Likewise.
42813         (LDFLAGS-order2mod2.so): Likewise.
42814         (LDFLAGS-tst-initorder2): Likewise.
42815         (LDFLAGS-tst-initorder2a.so): Likewise.
42816         (LDFLAGS-tst-initorder2b.so): Likewise.
42817         (LDFLAGS-tst-initorder2c.so): Likewise.
42818         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42819
42820 2012-05-02  David S. Miller  <davem@davemloft.net>
42821
42822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42823
42824 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42825
42826         [BZ #14055]
42827         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42828
42829 2012-05-02  Andreas Jaeger  <aj@suse.de>
42830
42831         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42832         since we manipulate rounding mode.
42833         (CPPFLAGS-test-idouble.c): Likewise.
42834         (CPPFLAGS-test-ifloat.c): Likewise.
42835         (CFLAGS-test-ldouble.c): Likewise.
42836         (CFLAGS-test-double.c): Likewise.
42837         (CFLAGS-test-float.c): Likewise.
42838         (CFLAGS-test-misc.c): Likewise.
42839         (CFLAGS-test-test-fenv.c): Likewise.
42840
42841 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42842
42843         [BZ #2550]
42844         [BZ #2570]
42845         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42846         comparisons to determine direction to adjust input.
42847
42848 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42849
42850         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42851         output to the target.
42852
42853         * scripts/localplt.awk: New file.
42854         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42855         (check-localplt-CFLAGS): Variable removed.
42856         ($(all-built-dso:=.jmprel)): New static pattern rule.
42857         (generated): Add those targets.
42858         (localplt-built-dso): New variable.
42859         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42860
42861         * elf/check-localplt.c: File removed.
42862
42863         * scripts/check-execstack.awk: New file.
42864         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42865         (check-execstack-CFLAGS): Variable removed.
42866         ($(objpfx)check-execstack.h): Target removed.
42867         ($(objpfx)execstack-default): New target.
42868         (generated): Add that instead of check-execstack.h.
42869         ($(all-built-dso:=.phdr)): New static pattern rule.
42870         (generated): Add those targets.
42871         * elf/check-execstack.c: File removed.
42872
42873         * scripts/check-textrel.awk: New file.
42874         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42875         (check-textrel-CFLAGS): Variable removed.
42876         (all-built-dso): Use := to define.o
42877         ($(all-built-dso:=.dyn)): New static pattern rule.
42878         (generated): Add those targets.
42879         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42880         * config.make.in (READELF): New substituted variable.
42881         * elf/check-textrel.c: File removed.
42882
42883 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42884
42885         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42886         allow.
42887         * conform/data/ctype.h-data [C99-based standards] (isblank):
42888         Expect function.
42889         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42890         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42891         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42892         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42893         Specify type.  Require positive value.
42894         (EILSEQ): Likewise.
42895         (ERANGE): Likewise.
42896         [ISO || POSIX] (EILSEQ): Do not expect.
42897         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42898         Specify type.  Require positive value.
42899         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42900         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42901         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42902         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42903         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42904         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42905         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42906         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42907         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42908         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42909         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42910         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42911         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42912         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42913         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42914         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42915         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42916         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42917         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42918         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42919         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42920         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42921         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42922         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42923         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42924         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42925         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42926         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42927         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42928         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42929         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42930         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42931         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42932         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42933         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42934         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42935         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42936         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42937         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42938         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42939         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42940         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42941         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42942         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42943         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42944         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42945         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42946         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42947         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42948         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42949         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42950         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42951         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42952         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42953         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42954         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42955         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42956         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42957         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42958         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42959         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42960         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42961         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42962         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42963         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42964         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42965         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42966         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42967         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42968         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42969         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42970         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42971         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42972         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42973         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42974         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42975         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42976         Require >= 2.
42977         (FLT_ROUNDS): Expect as macro, not constant.
42978         (FLT_MANT_DIG): Use macro-int-constant.
42979         (DBL_MANT_DIG): Likewise.
42980         (LDBL_MANT_DIG): Likewise.
42981         (FLT_DIG): Likewise.
42982         (DBL_DIG): Likewise.
42983         (LDBL_DIG): Likewise.
42984         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42985         (DBL_MIN_EXP): Likewise.
42986         (LDBL_MIN_EXP): Likewise.
42987         (FLT_MAX_EXP): Use macro-int-constant.
42988         (DBL_MAX_EXP): Likewise.
42989         (LDBL_MAX_EXP): Likewise.
42990         (FLT_MAX_10_EXP): Likewise.
42991         (DBL_MAX_10_EXP): Likewise.
42992         (LDBL_MAX_10_EXP): Likewise.
42993         (FLT_MAX): Use macro-constant.
42994         (DBL_MAX): Likewise.
42995         (LDBL_MAX): Likewise.
42996         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42997         (DBL_EPSILON): Likewise.
42998         (LDBL_EPSILON): Likewise.
42999         (FLT_MIN): Likewise.
43000         (DBL_MIN): Likewise.
43001         (LDBL_MIN): Likewise.
43002         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43003         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43004         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43005         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43006         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43007         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43008         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43009         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43010         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43011         [ISO11] (FLT_TRUE_MIN): Likewise.
43012         [ISO11] (LDBL_TRUE_MIN): Likewise.
43013         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43014         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43015         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43016         (SCHAR_MAX): Likewise.
43017         (UCHAR_MAX): Likewise.
43018         (CHAR_MIN): Likewise.
43019         (CHAR_MAX): Likewise.
43020         (MB_LEN_MAX): Use macro-int-constant.
43021         (SHRT_MIN): Use macro-int-constant.  Specify type.
43022         (SHRT_MAX): Likewise.
43023         (USHRT_MAX): Likewise.
43024         (INT_MAX): Likewise.
43025         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43026         bound negative.
43027         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43028         bound with "U".
43029         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43030         bound with "L".
43031         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43032         bound negative.  Suffix upper bound with "L".
43033         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43034         bound with "UL".
43035         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43036         Specify type.
43037         [C99-based standards] (LLONG_MAX): Likewise.
43038         [C99-based standards] (ULLONG_MAX): Likewise.
43039         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43040         == 0.
43041         [ISO11] (max_align_t): Require type.
43042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43043
43044         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43045         from $CFLAGS, without defining away __attribute__ calls.
43046         (checknamespace): Use $CFLAGS_namespace.
43047
43048         * conform/conformtest.pl (@keywords): Only include C99 keywords
43049         for standards based on C99 or C11.
43050
43051         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43052         Disable tests.
43053         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43054         UNIX98]: Likewise.
43055
43056         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43057         usability of symbols in #if.
43058
43059         * conform/conformtest.pl: If macro or constant types start
43060         "promoted:", expect the symbol to be of the following type
43061         promoted by the integer promotions.
43062
43063         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43064         in one place.  Also handle "macro-constant".
43065
43066         * conform/conformtest.pl: Only accept expected macro values with
43067         "==".  Parse all "macro" lines in one place.
43068         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43069
43070         * conform/conformtest.pl: Handle braced types on "constant" lines
43071         instead of handling "typed-constant".
43072         * conform/data/signal.h-data: Use "constant" instead of
43073         "typed-constant".
43074
43075         * conform/conformtest.pl: Handle "optional-" at start of lines in
43076         one place rather than duplicating several cases.  Handle each
43077         format of "macro" line with initial "optional-".
43078
43079         * conform/conformtest.pl: Only accept expected constant or
43080         optional-constant values with "==".  Parse all "constant" lines in
43081         one place.  Parse all "optional-constant" lines in one place.
43082         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43083         * conform/data/fmtmsg.h-data: Likewise.
43084         * conform/data/netinet/in.h-data: Likewise.
43085         * conform/data/tar.h-data: Likewise.
43086         * conform/data/limits.h-data: Use "==" form on "constant" and
43087         "optional-constant" lines.
43088
43089         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43090         Use -std=c99 for XOPEN2K.
43091         (@knownproblems): Remove.
43092         (newtoken): Don't check %isknown.
43093
43094         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43095         Do not expect macro.
43096         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43097         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43098         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43099         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43100         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43101         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43102         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43103         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43104         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43105         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43106         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43107         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43108         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43109         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43110         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43111         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43112         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43113         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43114         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43115         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43116         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43117         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43118         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43119         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43120         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43121         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43122         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43123         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43124         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43125         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43126         [XPG3] (acosh): Likewise.
43127         [XPG3] (asinh): Likewise.
43128         [XPG3] (atanh): Likewise.
43129         [XPG3] (cbrt): Likewise.
43130         [XPG3] (expm1): Likewise.
43131         [XPG3] (ilogb): Likewise.
43132         [XPG3] (log1p): Likewise.
43133         [XPG3] (logb): Likewise.
43134         [XPG3] (nextafter): Likewise.
43135         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43136         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43137         [XPG3] (remainder): Likewise.
43138         [XPG3] (rint): Likewise.
43139         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43140         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43141         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43142         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43143         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43144         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43145         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43146         [UNIX98 || XOPEN2K] (scalb): Expect.
43147         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43148         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43149         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43150         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43151         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43152         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43153         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43154         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43155         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43156         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43157         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43158         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43159         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43160         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43161         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43162         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43163         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43164         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43165         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43166         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43167         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43168         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43169         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43170         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43171         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43172         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43173         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43174         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43175         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43176         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43177         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43178         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43179         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43180         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43181         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43182         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43183         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43184         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43185         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43186         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43187         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43188         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43189         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43190         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43191         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43192         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43193         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43194         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43195         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43196         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43197         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43198         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43199         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43200         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43201         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43202         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43203         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43204         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43205         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43206         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43207         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43208         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43209         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43210         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43211         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43212         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43213         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43214         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43215         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43216         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43217         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43218         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43219         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43220         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43221         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43222         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43223         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43224         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43225         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43226         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43227         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43228         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43229         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43230         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43231         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43232         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43233         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43234         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43235         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43236         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43237         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43238         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43239         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43240         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43241         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43242         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43243         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43244         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43245         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43246         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43247         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43248         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43249         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43250         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43251         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43252         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43253         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43254         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43255         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43256         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43257         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43258         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43259         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43260         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43261         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43262         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43263         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43264         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43265         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43266         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43267         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43268         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43269         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43270         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43271         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43272         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43273         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43274         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43275         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43276         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43277         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43278         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43279         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43280         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43281         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43282         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43283         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43284
43285         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43286         _XOPEN_SOURCE_EXTENDED for XPG4.
43287
43288         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43289
43290         * Makeconfig (localtime): Remove variable.
43291         (inst_localtime-file): Likewise.
43292
43293 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43294
43295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43296         Update.
43297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43298         Update.
43299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43300         Update.
43301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43302         Update.
43303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43304         Update.
43305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43306         Update.
43307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43308         Update.
43309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43310         Update.
43311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43312         Update.
43313
43314 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43315
43316         [BZ #2550]
43317         [BZ #2570]
43318         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43319         comparisons to determine direction to adjust input.
43320         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43321         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43322         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43323         Likewise.
43324         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43325         Likewise.
43326         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43327         Likewise.
43328         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43329         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43330         Likewise.
43331         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43332         Likewise.
43333         * math/libm-test.inc (nexttoward_test): Add more tests.
43334
43335 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43336
43337         [BZ #14040]
43338         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43339         in version GLIBC_2.1, not GLIBC_2.0.
43340         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43341         Likewise.
43342
43343 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43344
43345         [BZ #13942]
43346         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43347         (1 - x) * (1 + x).
43348         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43349         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43350         * math/libm-test.inc (acos_test): Add more tests.
43351         (asin_test): Likewise.
43352         * sysdeps/i386/fpu/libm-test-ulps: Update.
43353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43354
43355         [BZ #14034]
43356         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43357         of square root.
43358         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43359         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43360         * math/libm-test.inc (acos_test_tonearest): New function.
43361         (acos_test_towardzero): Likewise.
43362         (acos_test_downward): Likewise.
43363         (acos_test_upward): Likewise.
43364         (asin_test_tonearest): Likewise.
43365         (asin_test_towardzero): Likewise.
43366         (asin_test_downward): Likewise.
43367         (asin_test_upward): Likewise.
43368         (main): Call the new functions.
43369         * sysdeps/i386/fpu/libm-test-ulps: Update.
43370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43371
43372         [BZ #13884]
43373         [BZ #13924]
43374         * math/e_exp10.c: Include <float.h>.
43375         (__ieee754_exp10): Handle underflow here rather than multiplying
43376         large negative argument by M_LN10.
43377         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43378         of __ieee754_expf.
43379         * math/e_exp10l.c: Include <float.h>.
43380         (__ieee754_exp10l): Handle underflow here rather than multiplying
43381         large negative argument by M_LN10l.
43382         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43383         spurious overflow exception on underflow.
43384
43385 2012-04-29  Marek Polacek  <polacek@redhat.com>
43386
43387         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43388         (__fortify_function): New macro.
43389         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43390         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43391         __extern_always_inline.
43392         * libio/bits/stdio2.h: Likewise.
43393         * libio/bits/stdio.h: Likewise.
43394         * string/string.h: Likewise.
43395         * string/bits/string3.h: Likewise.
43396         * include/stdio.h: Likewise.
43397         * stdlib/bits/stdlib.h: Likewise.
43398         * stdlib/stdlib.h: Likewise.
43399         * rt/bits/mqueue2.h: Likewise.
43400         * rt/mqueue.h: Likewise.
43401         * posix/bits/unistd.h: Likewise.
43402         * posix/unistd.h: Likewise.
43403         * io/bits/poll2.h: Likewise.
43404         * io/bits/fcntl2.h: Likewise.
43405         * io/fcntl.h: Likewise.
43406         * io/sys/poll.h: Likewise.
43407         * misc/bits/syslog.h: Likewise.
43408         * misc/bits/syslog-ldbl.h: Likewise.
43409         * misc/sys/syslog.h: Likewise.
43410         * socket/bits/socket2.h: Likewise.
43411         * socket/sys/socket.h: Likewise.
43412         * debug/tst-chk1.c: Likewise.
43413         * wcsmbs/bits/wchar2.h: Likewise.
43414         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43415         * wcsmbs/wchar.h: Likewise.
43416
43417 2012-04-29  Andreas Jaeger  <aj@suse.de>
43418
43419         * Makerules (tests): Remove enable-check-abi protection.
43420         (check-abi-warn): Remove.
43421         (check-abi-%): Remove check-abi-warn usage.
43422
43423         * configure.in: Remove check-abi configure option.
43424         * configure: Regenerated.
43425         * config.make.in (enable-check-abi): Remove.
43426
43427 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43428
43429         [BZ #14033]
43430         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43431         double functions to double *_finite functions.
43432
43433         [BZ #13941]
43434         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43435         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43436         LDBL_MIN_EXP.
43437         * stdio-common/Makefile (tests): Add tst-sprintf3.
43438         * stdio-common/tst-sprintf3.c: New file.
43439
43440         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43441         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43442
43443 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43444
43445         * conform/conformtest.pl: Remove duplicate typed-constant
43446         handling.
43447
43448 2012-04-28  David S. Miller  <davem@davemloft.net>
43449
43450         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43451         (check-abi-%): Remove AWK script prerequisite and explicit
43452         abilist directory.
43453         (check-abi): Rewrite to just diff the symlist with the abilist.
43454         (config-tls, config-abi-config): Delete, no longer used.
43455         (update-abi-%): Remove AWK script and explicit abilist directory.
43456         (update-abi): Rewrite to simply compare and conditionally copy the
43457         symlist and the sysdep abilist file.  Remove update-abi-config
43458         checks.
43459         * abilist/ld.abilist: Remove.
43460         * abilist/libBrokenLocale.abilist: Remove.
43461         * abilist/libanl.abilist: Remove.
43462         * abilist/libcrypt.abilist: Remove.
43463         * abilist/libdl.abilist: Remove.
43464         * abilist/librt.abilist: Remove.
43465         * abilist/libthread_db.abilist: Remove.
43466         * abilist/libutil.abilist: Remove.
43467         * scripts/extract-abilist.awk: Remove.
43468         * scripts/merge-abilist.awk: Remove.
43469         * sysdeps/generic/libcidn.abilist: New file.
43470         * sysdeps/generic/libnss_compat.abilist: New file.
43471         * sysdeps/generic/libnss_db.abilist: New file.
43472         * sysdeps/generic/libnss_dns.abilist: New file.
43473         * sysdeps/generic/libnss_files.abilist: New file.
43474         * sysdeps/generic/libnss_hesiod.abilist: New file.
43475         * sysdeps/generic/libnss_nis.abilist: New file.
43476         * sysdeps/generic/libnss_nisplus.abilist: New file.
43477         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43478         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43479         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43480         file.
43481         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43482         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43483         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43484         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43485         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43486         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43487         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43488         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43489         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43490         file.
43491         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43492         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43493         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43494         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43495         file.
43496         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43497         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43498         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43499         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43500         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43501         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43502         file.
43503         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43504         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43505         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43506         file.
43507         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43508         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43509         New file.
43510         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43511         New file.
43512         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43513         New file.
43514         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43515         New file.
43516         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43517         New file.
43518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43519         New file.
43520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43521         New file.
43522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43523         New file.
43524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43525         New file.
43526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43527         New file.
43528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43529         New file.
43530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43531         New file.
43532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43533         New file.
43534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43535         file.
43536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43537         New file.
43538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43539         New file.
43540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43541         file.
43542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43543         New file.
43544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43545         New file.
43546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43547         file.
43548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43549         New file.
43550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43551         New file.
43552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43553         New file.
43554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43555         New file.
43556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43557         New file.
43558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43559         New file.
43560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43562         file.
43563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43564         New file.
43565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43566         file.
43567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43568         file.
43569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43570         file.
43571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43572         file.
43573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43574         file.
43575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43576         New file.
43577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43578         file.
43579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43580         file.
43581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43582         New file.
43583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43584         file.
43585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43587         file.
43588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43589         New file.
43590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43591         file.
43592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43593         file.
43594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43595         file.
43596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43597         file.
43598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43599         file.
43600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43601         New file.
43602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43603         file.
43604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43605         file.
43606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43607         New file.
43608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43609         file.
43610         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43611         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43612         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43613         file.
43614         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43615         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43616         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43617         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43618         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43619         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43620         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43621         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43622         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43623         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43626         file.
43627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43628         New file.
43629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43630         file.
43631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43632         file.
43633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43634         file.
43635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43636         file.
43637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43638         file.
43639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43640         New file.
43641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43642         New file.
43643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43644         file.
43645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43646         New file.
43647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43648         file.
43649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43651         file.
43652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43653         New file.
43654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43655         file.
43656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43657         file.
43658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43659         file.
43660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43661         file.
43662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43663         file.
43664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43665         New file.
43666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43667         New file.
43668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43669         file.
43670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43671         New file.
43672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43673         file.
43674
43675 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43676
43677         * conform/conformtest.pl: Fix typo in handling typed-constant from
43678         allow-header.
43679
43680 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43681
43682         * README: Cut down references to pre-2.6 Linux kernels and
43683         Linuxthreads.  Update lists of configurations in libc and ports
43684         and sort alphabetically.  Say "or newer" with Linux kernel version
43685         requirements.
43686
43687         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43688
43689 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43690
43691         [BZ #887]
43692         * math/libm-test.inc (logb_test_downward): New test to expose
43693         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43694         rounding mode.
43695
43696 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43697
43698         [BZ #14027]
43699         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43700         to be done.
43701         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43702         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43703
43704 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43705
43706         * sysdeps/unix/i386/brk.S: Remove file.
43707         * sysdeps/unix/i386/dl-brk.S: Likewise.
43708         * sysdeps/unix/i386/pipe.S: Likewise.
43709         * sysdeps/unix/i386/sigreturn.S: Likewise.
43710         * sysdeps/unix/i386/syscall.S: Likewise.
43711         * sysdeps/unix/i386/vfork.S: Likewise.
43712         * sysdeps/unix/i386/wait.S: Likewise.
43713
43714         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43715         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43716
43717         * configure.in (arm*-none*): Do not allow without
43718         --enable-hacker-mode.
43719         (netbsd*): Remove case setting base_os.
43720         (386bsd*): Likewise.
43721         (freebsd*): Likewise.
43722         (bsdi*): Likewise.
43723         (osf*): Likewise.
43724         (sunos*): Likewise.
43725         (ultrix*): Likewise.
43726         (newsos*): Likewise.
43727         (dynix*): Likewise.
43728         (*bsd*): Likewise.
43729         (sysv*): Likewise.
43730         (isc*): Likewise.
43731         (esix*): Likewise.
43732         (sco*): Likewise.
43733         (minix*): Likewise.
43734         (irix4*): Likewise.
43735         (irix6*): Likewise.
43736         (solaris[2-9]*): Likewise.
43737         (none): Likewise.
43738         * configure: Regenerated.
43739
43740 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43741
43742         [BZ #11521]
43743         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43744         overflow or cancellation in calculating denominator.
43745         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43747         down expression to avoid unexpected rounding in newer GCCs.
43748         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43749
43750 2012-04-26  David S. Miller  <davem@davemloft.net>
43751
43752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43753         long-double compat symbols.
43754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43767
43768 2012-04-25  David S. Miller  <davem@davemloft.net>
43769
43770         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43771         HWCAP_* values only after the memory barriers have been defined.
43772         (atomic_full_barrier): Define.
43773         (atomic_read_barrier): Define.
43774         (atomic_write_barrier): Define.
43775
43776 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43777
43778         * shlib-versions: Add libgcc_s version information.
43779         * sysdeps/generic/libgcc_s.h: Remove.
43780         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43781         libgcc_s.h.
43782         * sysdeps/gnu/unwind-resume.c: Likewise.
43783         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43784
43785 2012-04-25  David S. Miller  <davem@davemloft.net>
43786
43787         * sysdeps/unix/sparc/brk.S: Delete.
43788         * sysdeps/unix/sparc/dl-brk.S: Delete.
43789         * sysdeps/unix/sparc/pipe.S: Delete.
43790         * sysdeps/unix/sparc/sysdep.S: Delete.
43791         * sysdeps/unix/sparc/sysdep.h: Delete.
43792         * sysdeps/unix/sparc/vfork.S: Delete.
43793         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43794         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43795         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43796         (ret_ERRVAL, r0, r1, MOVE): Define.
43797         (JUMPTARGET): Remove.
43798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43799         sysdeps/unix/sparc/sysdep.h
43800         (ENTRY, END): Remove.
43801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43802
43803 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43804
43805         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43806         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43807         -DIS_IN_build.
43808
43809         * timezone/README: Update upstream location and email address for
43810         tzcode and tzdata.
43811         * timezone/zdump.c: Update from tzcode 2012b.
43812         * timezone/zic.c: Likewise.
43813
43814         * configure.in (libc_cv_as_needed): Remove test.
43815         * configure: Regenerated.
43816         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43817         conditional definition.
43818         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43819         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43820         * config.make.in (have-as-needed): Remove variable.
43821
43822 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43823             Paul Pluzhnikov  <ppluzhnikov@google.com>
43824
43825         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43826         strings correctly.
43827
43828 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43829
43830         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43831         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43832         * sysdeps/sh/strlen.S: Likewise.
43833
43834 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43835
43836         * sysdeps/unix/fork.S: Remove file.
43837         * sysdeps/unix/i386/fork.S: Likewise.
43838         * sysdeps/unix/sparc/fork.S: Likewise.
43839
43840         * sysdeps/unix/system.c: Remove file.
43841         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43842
43843         * sysdeps/unix/getegid.S: Remove file.
43844         * sysdeps/unix/geteuid.S: Likewise.
43845
43846 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43847
43848         * scripts/check-localplt.awk: New file.
43849         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43850         of diff.
43851         * scripts/data/localplt-generic.data: Add a comment.
43852
43853         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43854         NODE when __dir_mkfile failed.
43855         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43856         Reported by Ludovic Courtès <ludo@gnu.org>.
43857
43858 2012-04-24  Andreas Jaeger  <aj@suse.de>
43859
43860         * Makerules (common-clean): Also remove gen-as-const-headers
43861         files.
43862
43863 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43864
43865         * Makerules (native-compile): Do not change working directory for
43866         build.  Use $(OUTPUT_OPTION) in command.
43867         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43868
43869 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43870
43871         [BZ #13886]
43872         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43873         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43874         * math/libm-test.inc (floor_test): Add more tests.
43875         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43876
43877 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43878
43879         * sysdeps/unix/getdents.c: Remove file.
43880         * sysdeps/unix/sysv/getdents.c: Likewise.
43881         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43882
43883         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43884         sysdeps/unix/mman/syscalls.list.
43885         (mmap): Likewise.
43886         (mprotect): Likewise.
43887         (msync): Likewise.
43888         (munmap): Likewise.
43889         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43890         * sysdeps/unix/mman/syscalls.list: Remove.
43891         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43892
43893         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43894         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43895         * configure: Regenerated.
43896         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43897         $(libgcc_s_suffix).
43898         * config.make.in (libgcc_s_suffix): Remove variable.
43899
43900 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43901
43902         * sysdeps/unix/sysv/gethostname.c: Move to ...
43903         * sysdeps/posix/gethostname.c: ... here.
43904
43905         * sysdeps/unix/execve.S: Remove file.
43906
43907         * sysdeps/unix/_exit.S: Remove file.
43908
43909 2012-04-23  Andreas Jaeger  <aj@suse.de>
43910
43911         [BZ #13739]
43912         * manual/Makefile: Remove make dist support, there's no
43913         need for a stand-alone documentation tar ball.
43914         (TEXI2DVI): Define always, it's not in Makeconfig.
43915         (dist): Removed.
43916         (tar-it): Removed.
43917         (edition): Removed.
43918         (glibc-doc-$(edition).tar): Removed
43919         (%.Z): Removed.
43920         (%.gz): Removed.
43921         (%.uu): Removed.
43922         (ETAGS): Remove, it's in Makeconfig.
43923         (move-if-change): Remove, it's in Makeconfig.
43924
43925 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43926
43927         [BZ #13970]
43928         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43929         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43930         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43931         (strtod_l, strtof_l, strtold_l): Remove __wur.
43932         It is not necessarily an error to ignore strtol's return value.
43933         One can reliably look at the stored endptr to decide whether
43934         the number had valid syntax.
43935
43936 2012-04-21  Andreas Jaeger  <aj@suse.de>
43937
43938         [BZ #13739]
43939         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43940
43941 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43942
43943         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43944         * sysdeps/unix/sysv/Versions: Remove file.
43945
43946 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43947
43948         [BZ #13927]
43949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43950
43951 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43952
43953         [BZ #7064]
43954         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43955         version from __vm86.
43956
43957 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43958
43959         * sysdeps/unix/common/lxstat.c: Remove file.
43960         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43961
43962         * sysdeps/unix/sysv/Makefile: Remove file.
43963
43964         * sysdeps/unix/sysv/direct.h: Remove file.
43965
43966         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43967         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43968         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43969         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43970         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43971         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43972         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43973
43974         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43975
43976         * sysdeps/unix/xmknod.c: Remove file.
43977         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43978
43979         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43980
43981         * sysdeps/unix/sysv/i386/time.S: Remove file.
43982
43983         * sysdeps/unix/fxstat.c: Remove file.
43984         * sysdeps/unix/xstat.c: Likewise.
43985         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43986
43987         * sysdeps/unix/sysv/sigaction.c: Remove file.
43988
43989         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43990         (sysdep_headers): Remove variable.
43991         [termio.h not in sysdep_headers] (generated): Likewise.
43992         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43993         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43994         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43995         * sysdeps/unix/sysv/tcflow.c: Likewise.
43996         * sysdeps/unix/sysv/tcflush.c: Likewise.
43997         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43998         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43999         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44000         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44001         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44002
44003         * sysdeps/unix/siglist.c: Remove file.
44004
44005         * sysdeps/unix/getppid.S: Remove file.
44006
44007         * sysdeps/unix/mkdir.c: Remove file.
44008         * sysdeps/unix/rmdir.c: Likewise.
44009
44010 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44011
44012         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44013         ERR_MAX value.
44014         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44015         errlist-compat value.
44016
44017 2012-04-18  David S. Miller  <davem@davemloft.net>
44018
44019         * sysdeps/generic/memcopy.h (reg_char): Delete.
44020         * debug/strcat_chk.c: Use char, not reg_char.
44021         * debug/strcpy_chk.c: Likewise.
44022         * debug/strncat_chk.c: Likewise.
44023         * debug/strncpy_chk.c: Likewise.
44024         * string/memchr.c: Likewise.
44025         * string/memrchr.c: Likewise.
44026         * string/rawmemchr.c: Likewise.
44027         * string/strcat.c: Likewise.
44028         * string/strchr.c: Likewise.
44029         * string/strchrnul.c: Likewise.
44030         * string/strcmp.c: Likewise.
44031         * string/strcpy.c: Likewise.
44032         * string/strncat.c: Likewise.
44033         * string/strncmp.c: Likewise.
44034         * string/strncpy.c: Likewise.
44035
44036 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44037
44038         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44039         __builtin_memcopy is called when src and dest ranges are known to not
44040         overlap.
44041
44042 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44043
44044         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44045         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44046         fwd_align_merge macro call.
44047         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44048         bwd_align_merge macro call.
44049         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44050
44051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44052
44053         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44054         bwd_align_merge macros.
44055         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44056         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44057         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44058
44059 2012-04-18  David S. Miller  <davem@davemloft.net>
44060
44061         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44062
44063 2012-04-18  Andreas Jaeger  <aj@suse.de>
44064
44065         [BZ# 6794]
44066         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44067         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44068         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44069
44070         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44071         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44072         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44073
44074         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44075         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44076         Adjust for changed ldbl-128 files.
44077
44078         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44079         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44080         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44081
44082 2012-04-17  David S. Miller  <davem@davemloft.net>
44083
44084         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44085
44086 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44087
44088         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44089         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44090         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44091         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44092         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44093         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44094
44095 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44096
44097         [BZ #6794]
44098         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44099         * math/libm-test.inc: Add ilogb errno and exception tests.
44100         * math/w_ilogb.c: New file: ilogb wrapper.
44101         * math/w_ilogbf.c: New file: ilogbf wrapper.
44102         * math/w_ilogbl.c: New file: ilogbl wrapper.
44103         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44104         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44105         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44106         exception being thrown with 0.0 as argument.
44107         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44108         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44109         exception being thrown with 0.0 as argument.
44110         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44111         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44112         exception being thrown with 0.0 as argument.
44113         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44114         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44115         exception being thrown with 0.0 as argument.
44116         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44117         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44118         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44119         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44120         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44121         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44122         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44123         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44124         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44125
44126 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44127
44128         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44129         with altivec.
44130
44131 2012-04-16  Marek Polacek  <polacek@redhat.com>
44132
44133         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44134
44135 2012-04-16  Marek Polacek  <polacek@redhat.com>
44136
44137         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44138         operands of fdivp instruction.
44139
44140 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44141
44142         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44143         * elf/tst-auditmod3b.c: Likewise.
44144         * elf/tst-auditmod4b.c: Likewise.
44145         * elf/tst-auditmod5b.c: Likewise.
44146         * elf/tst-auditmod6b.c: Likewise.
44147         * elf/tst-auditmod6c.c: Likewise.
44148         * elf/tst-auditmod7b.c: Likewise.
44149         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44150         * sysdeps/x86_64/preconfigure.in: Likewise.
44151         * sysdeps/x86_64/preconfigure: Regenerated.
44152
44153 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44154
44155         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44156         __ILP32__.
44157
44158 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44159
44160         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44161         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44162
44163 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44164
44165         [BZ #13973]
44166         * locale/iso-639.def: Fix gl language name. Spotted by
44167         Yaron Shahrabani.
44168
44169 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44170
44171         [BZ #2074]
44172         * libio/libio.h (__io_write_fn): Update comment.
44173
44174 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44175
44176         [BZ #2074]
44177         * stdio.texi (Hook Functions): The user provided writer function
44178         is not allowed to return -1.
44179
44180 2012-04-11  David S. Miller  <davem@davemloft.net>
44181
44182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44183
44184 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44185
44186         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44187         Add a leading slash to rtkaio.
44188
44189 2012-04-11  Jim Meyering  <meyering@redhat.com>
44190
44191         [BZ #11959]
44192         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44193         It is not necessarily an error to ignore fwrite's return
44194         value.  One can reliably use ferror to test for errors after
44195         the fact.
44196
44197 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44198
44199         * bits/types.h (__snseconds_t): New type.
44200         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44201
44202         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44203         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44204         (__SNSECONDS_T_TYPE): Likewise.
44205         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44206         (__SNSECONDS_T_TYPE): Likewise.
44207         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44208         (__SNSECONDS_T_TYPE): Likewise.
44209
44210 2012-04-10  Andreas Jaeger  <aj@suse.de>
44211
44212         [BZ #2636]
44213         * manual/time.texi (Processor Time): Return type of times is
44214         elapsed real time since an arbitrary point in the past.
44215         (CPU Time): Move CLK_TCK from here...
44216         (Processor Time): ...to here.  Correct description.
44217         * manual/conf.texi (Constants for Sysconf): Correct description of
44218         _SC_CLK_TCK.
44219
44220 2012-04-10  David S. Miller  <davem@davemloft.net>
44221
44222         [BZ #13967]
44223         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44224         where the is a gap between DT_REL(A) and DT_JMPREL.
44225
44226 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44227
44228         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44229         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44230         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44231
44232 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44233
44234         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44235         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44236         (dl_main): Handle --inhibit-cache.
44237         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44238         _dl_inhibit_cache.
44239         * elf/dl-load.c (_dl_map_object): Use it.
44240         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44241
44242 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44243
44244         [BZ #13872]
44245         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44246         (__ieee754_powl): Saturate large exponents rather than testing for
44247         overflow of y*log2(x).
44248         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44249         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44250         exceptions.
44251
44252         [BZ #11521]
44253         * math/s_ctan.c: Include <float.h>.
44254         (__ctan): Avoid internal overflow or cancellation in calculating
44255         denominator.
44256         * math/s_ctanf.c: Likewise.
44257         * math/s_ctanl.c: Likewise.
44258         * math/s_ctanh.c: Likewise.
44259         * math/s_ctanhf.c: Likewise.
44260         * math/s_ctanhl.c: Likewise.
44261         * math/libm-test.inc (ctan_test): Add more tests.
44262         (ctanh_test): Likewise.
44263         * sysdeps/i386/fpu/libm-test-ulps: Update.
44264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44265
44266 2012-04-09  Andreas Jaeger  <aj@suse.de>
44267
44268         [BZ #6894]
44269         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44270         is an optional BSD extension.
44271
44272         [BZ #10254]
44273         * manual/stdio.texi (Opening Streams): Document additional fopen
44274         parameters.
44275
44276 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44277
44278         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44279         %eax without telling the compiler.
44280
44281 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44282
44283         [BZ # 13963]
44284         * manual/install.texi: Use sourceware.org.
44285
44286 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44287
44288         [BZ #13873]
44289         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44290         (__ieee754_pow): Generate overflow and underflow using huge*huge
44291         and tiny*tiny rather than just returning constant infinity or zero
44292         for large exponents.
44293         * math/libm-test.inc (pow_test): Require overflow exceptions for
44294         applicable cases of large exponents.
44295
44296         [BZ #706]
44297         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44298         (__ieee754_pow): Use iterative multiplication algorithm only for
44299         integer exponents with absolute value below 1024.  Check for odd
44300         integer exponents when using algorithm for real exponents.
44301         * math/libm-test.inc (pow_test): Add more tests.
44302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44303
44304 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44305
44306         [BZ #13705]
44307         * math/libm-test.inc (exp_test): Do not allow overflow exception
44308         on underflow test.
44309
44310 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44311
44312         [BZ #13705]
44313         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44314         instead of __kernel_standard_f.
44315
44316 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44317
44318         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44319         * sysdeps/x86_64/memset_chk.S: Likewise.
44320
44321 2012-04-08  Andreas Jaeger  <aj@suse.de>
44322
44323         [BZ #10153]
44324         * manual/startup.texi (Environment Access): Describe return value
44325         for putenv and setenv.
44326
44327         [BZ #6895]
44328         * manual/filesys.texi (Directory Entries): Add description for
44329         DT_LNK.
44330
44331         [BZ #6890]
44332         * manual/filesys.texi (Directory Entries): Clarify that it's file
44333         system not operating system in the description of DT_UNKNOWN.
44334
44335         [BZ #6578]
44336         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44337
44338 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44339
44340         [BZ #6649]
44341         * manual/llio.texi (Opening and Closing Files): Add cross
44342         reference to explain mode argument.
44343
44344 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44345
44346         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44347         * sysdeps/x86_64/memset_chk.S: Likewise.
44348
44349 2012-04-07  David S. Miller  <davem@davemloft.net>
44350
44351         * elf/elf.h (R_SPARC_WDISP10): Define.
44352         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44353         R_SPARC_SIZE32.
44354         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44355         R_SPARC_SIZE64 and R_SPARC_H34.
44356
44357 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44358
44359         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44360         conditions and remove no longer applicable assertion.
44361
44362 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44363
44364         * bits/byteswap.h: Include <features.h>.
44365         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44366         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44367
44368 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44369
44370         * bits/byteswap.h (__bswap_16): Removed.
44371         Include <bits/byteswap-16.h> to get __bswap_16.
44372         * sysdeps/i386/bits/byteswap.h: Likewise.
44373         * sysdeps/s390/bits/byteswap.h: Likewise.
44374         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44375         * bits/byteswap-16.h: New file.
44376         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44377         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44378         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44379         * string/Makefile (headers): Add bits/byteswap-16.h.
44380
44381 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44382
44383         [BZ #13895]
44384         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44385         extra indirection.
44386         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44387         * nss/tst-nss-static.c: New.
44388
44389 2012-04-06  Robert Millan  <rmh@gnu.org>
44390
44391         [BZ #6486]
44392         * manual/llio.texi (File Position Primitive): lseek
44393         refers to WHENCE when it really means OFFSET.
44394
44395 2012-04-06  Andreas Jaeger  <aj@suse.de>
44396
44397         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44398         strncmp declarations.
44399
44400         * abilist/libc.abilist: Add __poll and __ppoll.
44401
44402 2012-04-05  David S. Miller  <davem@davemloft.net>
44403
44404         * scripts/check-local-headers.sh: Accept a host triplet in the
44405         path matched by the exclude regexp.
44406
44407         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44408         definition.
44409         * sysdeps/powerpc/powerpc32/dl-machine.h
44410         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44411         * sysdeps/s390/s390-32/dl-machine.h
44412         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44413         * sysdeps/sparc/sparc32/dl-machine.h
44414         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44415         * sysdeps/sparc/sparc64/dl-machine.h
44416         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44417
44418         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44419         lazy binding.
44420         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44421         undefined symbol errors.
44422
44423         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44424         DT_NEEDED entries.
44425
44426 2012-04-05  Michael Matz  <matz@suse.de>
44427
44428         [BZ #13592]
44429         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44430
44431 2012-04-05  Andreas Jaeger  <aj@suse.de>
44432
44433         [BZ #13908]
44434         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44435         comment.
44436
44437 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44438
44439         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44440         which ROUND is no valid rounding mode.
44441
44442 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44443
44444         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44445         read again.
44446         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44447
44448 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44449
44450         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44451         an exception using FPU order intentionally.
44452
44453 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44454
44455         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44456         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44457         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44458         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44459
44460 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44461
44462         [BZ #12340]
44463         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44464         EINVAL when BUFLEN is too smal.
44465
44466 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44467
44468         [BZ #13553]
44469         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44470         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44471
44472 2012-04-03  Andreas Jaeger  <aj@suse.de>
44473
44474         [BZ #13938]
44475         * manual/setjmp.texi (System V contexts): Fix sentence.
44476
44477         [BZ #13926]
44478         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44479         New macro for this case.
44480         [!__GNUC__] (__bswap_64): New inline function for this case.
44481         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44482         * bits/byteswap.h: Likewise.
44483         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44484         ull, guard with __GLIBC_HAVE_LONG_LONG.
44485
44486         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44487         __GLIBC_HAVE_LONG_LONG.
44488
44489         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44490         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44491
44492 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44493
44494         [BZ #13691]
44495         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44496         inptr and inend, rather than using last_ch.
44497
44498 2012-04-02  David S. Miller  <davem@davemloft.net>
44499
44500         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44501         * stdio-common/printf-parse.h (read_int): Change return type to
44502         'int', return -1 on INT_MAX overflow.
44503         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44504         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44505         overflows INT_MAX.  Check for overflow of in-format-string precision
44506         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44507         SIZE_MAX not INT_MAX for integer overflow test.
44508         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44509         skip the construct in the format string but do not record anything.
44510         * stdio-common/bug22.c: Adjust to test both width/prevision
44511         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44512         explicitly for proper errno values.
44513
44514 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44515
44516         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44517         CHAR_MAX.
44518         * string/test-strcmp.c [! WIDE]: Likewise.
44519         * time/tst-mktime2.c: Likewise for INT_MAX.
44520         * string/test-string.h: #include <sys/param.h> for MIN.
44521
44522         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44523         * sysdeps/i386/init-first.c (init): Likewise.
44524         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44525         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44526         * sysdeps/sh/init-first.c (init): Likewise.
44527
44528 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44529
44530         * po/ru.po: Update from translation team.
44531         * po/vi.po: Likewise.
44532
44533 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44534
44535         * resolv/nss_dns/dns-host.c: Merge copyright years.
44536
44537 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44538
44539         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44540         Optimize memcpy with prefetch if
44541         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44542         src, dst pointers have unequal 16 byte alignments.
44543
44544 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44545
44546         [BZ #13928]
44547         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44548         from a CNAME entry and return the minimum ttl for the query.
44549         (gaih_getanswer_slice): Likewise.
44550
44551 2012-03-30  Jeff Law  <law@redhat.com>
44552
44553         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44554         due to long keys.
44555         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44556         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44557
44558         * resolv/nss_dns/dns-host.c: Update copyright year.
44559
44560 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44561
44562         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44563         requests to save a system call.  Fix check that all bytes are sent.
44564
44565         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44566         comments for sendmmsg.
44567
44568 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44569
44570         [BZ #13691]
44571         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44572         with only 1 character between 0x0041 and 0x01b0.
44573         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44574         * wcsmbs/tst-mbsnrtowcs.c: New file.
44575
44576 2012-03-29  David S. Miller  <davem@davemloft.net>
44577
44578         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44579         small copies by hand.
44580
44581 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582
44583         [BZ #13761]
44584         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44585         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44586         group memberships.
44587
44588 2012-03-28  David S. Miller  <davem@davemloft.net>
44589
44590         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44591         that branches into memcpy.
44592         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44593         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44594         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44595         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44596         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44597         bits.
44598         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44599         implementation too.
44600         * sysdeps/sparc/mempcpy.S: New file.
44601
44602         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44603         the IFUNC routine in the libc case.
44604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44605
44606         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44607         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44608         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44609         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44610         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44611         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44612         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44613         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44614
44615         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44616         loop to 256 bytes instead of 64 bytes and fix test signedness.
44617
44618         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44619         * sysdeps/sparc/sparc32/Makefile: rather than here...
44620         * sysdeps/sparc/sparc64/Makefile: and here.
44621
44622 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44623
44624         * malloc/mallocbug.c: Avoid warnings about unused variables.
44625
44626 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44627
44628         [BZ #13760]
44629         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44630         in the right place. Discard and retry query if response is
44631         larger than input buffer size.
44632
44633 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44634
44635         [BZ #369]
44636         [BZ #2678]
44637         [BZ #3866]
44638         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44639         x for large integer exponent.
44640         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44641         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44642         sign of result as needed afterwards.
44643         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44644         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44645         result for underflowing pow the same as for overflow.
44646         (__kernel_standard_l): Handle powl overflow and underflow here
44647         rather than calling __kernel_standard.
44648         * math/libm-test.inc (pow_test): Add more tests.
44649
44650         [BZ #3868]
44651         [BZ #13879]
44652         [BZ #13910]
44653         [BZ #13911]
44654         [BZ #13912]
44655         [BZ #13913]
44656         [BZ #13915]
44657         [BZ #13916]
44658         [BZ #13917]
44659         [BZ #13918]
44660         [BZ #13919]
44661         [BZ #13920]
44662         [BZ #13921]
44663         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44664         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44665         (__kernel_standard_l): New function.
44666         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44667         __kernel_standard.
44668         * math/w_acosl.c (__acosl): Likewise.
44669         * math/w_asinl.c (__asinl): Likewise.
44670         * math/w_atan2l.c (__atan2l): Likewise.
44671         * math/w_atanhl.c (__atanhl): Likewise.
44672         * math/w_coshl.c (__coshl): Likewise.
44673         * math/w_exp10l.c (__exp10l): Likewise.
44674         * math/w_exp2l.c (__exp2l): Likewise.
44675         * math/w_fmodl.c (__fmodl): Likewise.
44676         * math/w_hypotl.c (__hypotl): Likewise.
44677         * math/w_j0l.c (__j0l, __y0l): Likewise.
44678         * math/w_j1l.c (__j1l, __y1l): Likewise.
44679         * math/w_jnl.c (__jnl, __ynl): Likewise.
44680         * math/w_lgammal.c (__lgammal): Likewise.
44681         * math/w_log10l.c (__log10l): Likewise.
44682         * math/w_log2l.c (__log2l): Likewise.
44683         * math/w_logl.c (__logl): Likewise.
44684         * math/w_powl.c (__powl): Likewise.
44685         * math/w_remainderl.c (__remainderl): Likewise.
44686         * math/w_scalbl.c (sysv_scalbl): Likewise.
44687         * math/w_sinhl.c (__sinhl): Likewise.
44688         * math/w_sqrtl.c (__sqrtl): Likewise.
44689         * math/w_tgammal.c (__tgammal): Likewise.
44690         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44691         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44692         * math/libm-test.inc (acos_test): Add more tests.
44693         (acosh_test): Likewise.
44694         (asin_test): Likewise.
44695         (atanh_test): Likewise.
44696         (exp_test): Likewise.
44697         (exp10_test): Likewise.
44698         (exp2_test): Likewise.
44699         (expm1_test): Likewise.
44700         (lgamma_test): Likewise.
44701         (log_test): Likewise.
44702         (log10_test): Likewise.
44703         (log1p_test): Likewise.
44704         (log2_test): Likewise.
44705         (pow_test): Do not allow some spurious overflow exceptions.
44706         (sqrt_test): Add more tests.
44707         (tgamma_test): Likewise.
44708         (y0_test): Likewise.
44709         (y1_test): Likewise.
44710         (yn_test): Likewise.
44711
44712 2012-03-27  Anton Blanchard  <anton@samba.org>
44713
44714         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44715         MAP_HUGETLB.
44716         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44717         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44719
44720 2012-03-27  David S. Miller  <davem@davemloft.net>
44721
44722         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44723
44724         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44725         have-as-vis3 check.
44726
44727 2012-03-27  Andreas Jaeger  <aj@suse.de>
44728
44729         * sysdeps/x86_64/elf/configure.in: Moved to ...
44730         * sysdeps/x86_64/configure.in: ... here.
44731         * sysdeps/x86_64/elf/start.S: Moved to ...
44732         * sysdeps/x86_64/start.S: ... here.
44733         * sysdeps/x86_64/elf/configure: Delete.
44734
44735         * sysdeps/x86_64/configure.in: Merge contents from
44736         sysdeps/i386/configure.in (without i686 check).
44737
44738         * sysdeps/i386/elf/Versions: Merge into ...
44739         * sysdeps/i386/Versions: ... this.
44740         * sysdeps/i386/elf/Versions: Delete file.
44741         * sysdeps/i386/elf/start.S: Moved to ...
44742         * sysdeps/i386/start.S: ...here.
44743         * sysdeps/i386/elf/configure.in: Merge into...
44744         * sysdeps/i386/configure.in: ...here.
44745         * sysdeps/i386/elf/configure.in: Delete file.
44746         * sysdeps/i386/elf/configure: Delete file.
44747
44748         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44749         * debug/backtracesyms.c: ... here.
44750         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44751         * debug/backtracesymsfd.c: ... here.
44752         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44753         * sysdeps/generic/ifunc-sel.h: ... here.
44754
44755         * sysdeps/unix/i386/start.c: Delete file.
44756         * sysdeps/unix/sparc/start.c: Delete file.
44757         * sysdeps/unix/start.c: Delete file.
44758
44759         * sysdeps/sh/elf/configure.in: Moved to ...
44760         * sysdeps/sh/configure.in: ... here.
44761         * sysdeps/sh/elf/start.S: Moved to ...
44762         * sysdeps/sh/start.S: ... here.
44763         * sysdeps/sh/elf/configure: Delete file.
44764
44765         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44766         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44767         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44768         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44769         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44770         * sysdeps/powerpc/powerpc64/start.S: here.
44771         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44772         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44773         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44774         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44775         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44776
44777         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44778         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44779         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44780         * sysdeps/powerpc/powerpc32/start.S: ... here.
44781         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44782         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44783         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44784
44785         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44786         * sysdeps/powerpc/ifunc-sel.h: ... here.
44787         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44788         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44789
44790         * sysdeps/sparc/elf/configure.in: Moved to ...
44791         * sysdeps/sparc/configure.in: ... here.
44792         * sysdeps/sparc/elf/configure: Delete file.
44793         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44794         * sysdeps/sparc/sparc32/start.S: ... here.
44795         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44796         * sysdeps/sparc/sparc64/start.S: ... here.
44797         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44798         * sysdeps/sparc/sparc32/Makefile: ... this.
44799         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44800         * sysdeps/sparc/sparc64/Makefile: ... this.
44801
44802         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44803         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44804         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44805         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44806         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44807         * sysdeps/s390/s390-32/setjmp.S: ... here.
44808         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44809         * sysdeps/s390/s390-32/configure.in: ... here.
44810         * sysdeps/s390/s390-32/elf/configure: Delete file.
44811         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44812         * sysdeps/s390/s390-32/start.S: ... here.
44813
44814         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44815         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44816         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44817         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44818         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44819         * sysdeps/s390/s390-64/setjmp.S: ... here.
44820         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44821         * sysdeps/s390/s390-64/configure.in: ... here
44822         * sysdeps/s390/s390-64/elf/configure: Delete file.
44823         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44824         * sysdeps/s390/s390-64/start.S: ... here.
44825         * sysdeps/s390/s390-64/elf/configure: Delete.
44826
44827         * configure.in: Remove support for elf directories in sysdeps.
44828
44829         * configure: Regenerated.
44830         * sysdeps/i386/configure: Regenerated.
44831         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44832         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44833         * sysdeps/s390/s390-32/configure: Regenerated.
44834         * sysdeps/s390/s390-64/configure: Regenerated.
44835         * sysdeps/sh/configure: Regenerated.
44836         * sysdeps/sparc/configure: Regenerated.
44837         * sysdeps/x86_64/configure: Regenerated.
44838
44839 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44840
44841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44842
44843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44844         denormal result into account.
44845
44846 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44847
44848         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44849         Reported by Allan McRae <allan@archlinux.org>.
44850
44851 2012-03-23  Jeff Law  <law@redhat.com>
44852
44853         * nss/getnssent.c (__nss_getent): Fix typo.
44854
44855 2012-03-23  David S. Miller  <davem@davemloft.net>
44856
44857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44858
44859 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44860
44861         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44862         to pad to uint64_t for each field.
44863         (dl_tls_index): Replace unsigned long with uint64_t.
44864
44865 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44866         Paul Pluzhnikov  <ppluzhnikov@google.com>
44867
44868         [BZ #6528]
44869         * grp/Makefile (otherlibs): Don't set it.
44870         * inet/Makefile (otherlibs): Likewise.
44871         * login/Makefile (otherlibs): Likewise.
44872         * nscd/Makefile (otherlibs): Likewise.
44873         * posix/Makefile (otherlibs): Likewise.
44874         * pwd/Makefile (otherlibs): Likewise.
44875         * rt/Makefile (otherlibs): Likewise.
44876         * sunrpc/Makefile (otherlibs): Likewise.
44877         * nss/Makefile (otherlibs): Likewise.
44878         Add libnss_files to routines and static-only-routines.
44879         ($(objpfx)getent): Remove rule.
44880         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44881         static-only-routines.
44882
44883 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44884
44885         [BZ #13892]
44886         * math/s_cexp.c: Include <float.h>.
44887         (__cexp): Handle exp result overflowing not necessarily
44888         overflowing both real and imaginary parts of result.
44889         * math/s_cexpf.c: Likewise.
44890         * math/s_cexpl.c: Likewise.
44891         * math/libm-test.inc (cexp_test): Add more tests.
44892         * sysdeps/i386/fpu/libm-test-ulps: Update.
44893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44894
44895 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44896
44897         * include/link.h (ELFW): New macro.
44898         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44899         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44900
44901 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44902
44903         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44904         with uint64_t.
44905
44906 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44907
44908         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44909         declaration.
44910         (struct La_x32_retval): Likewise.
44911
44912 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44913
44914         * sysdeps/x86_64/preconfigure.in: New file.
44915         * sysdeps/x86_64/preconfigure: New generated file.
44916
44917 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44918
44919         [BZ #13824]
44920         * math/e_exp2l.c: Include <float.h>.
44921         (__ieee754_exp2l): Handle overflow and underflow cases
44922         separately.  Only pass fractional part of argument to
44923         __ieee754_expl.
44924         * math/libm-test.inc (exp2_test): Add more tests.
44925
44926         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44927         negating x to take absolute value.
44928         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44929         Likewise.
44930         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44932         Likewise.
44933         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44934         computing low part if x was negated.
44935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44936
44937 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44938
44939         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44940         la_x32_gnu_pltexit.
44941         (pltexit): Cast int_retval to ptrdiff_t.
44942         * elf/tst-auditmod3b.c: Likewise.
44943         * elf/tst-auditmod4b.c: Likewise.
44944         * elf/tst-auditmod5b.c: Likewise.
44945         * elf/tst-auditmod6b.c: Likewise.
44946         * elf/tst-auditmod6c.c: Likewise.
44947         * elf/tst-auditmod7b.c: Likewise.
44948
44949         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44950         and x32_gnu_pltexit.
44951
44952         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44953         __ELF_NATIVE_CLASS.
44954         (La_x32_regs): New macro.
44955         (La_x32_retval): Likewise.
44956         (la_x32_gnu_pltenter): New function prototype.
44957         (la_x32_gnu_pltexit): Likewise.
44958
44959 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44960
44961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44962         exponent.
44963
44964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44965
44966         * configure.in (libc_cv_cc_nofma): Check for option to disable
44967         generation of FMA instructions.
44968         * configure: Regenerate.
44969         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44970         * sysdeps/ieee754/dbl-64/Makefile: New file.
44971         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44972         Remove brandred-fma4.
44973         (CFLAGS-brandred-fma4.c): Remove.
44974         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44975         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44976         define.
44977         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44978         define.
44979
44980 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44981
44982         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44983         LLONG_MAX != LONG_MAX.
44984         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44985         (_fitoa_word): Likewise.
44986         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44987         LLONG_MAX != LONG_MAX.
44988         * stdio-common/_itowa.h: Include <_itoa.h>.
44989         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44990         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44991         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44992         only if not defined.
44993         (_ITOA_WORD_TYPE): Likewise.
44994         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44995         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44996
44997 2012-03-21  David S. Miller  <davem@davemloft.net>
44998
44999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45000
45001 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45002
45003         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45004         of x86_64 when setting libc_cv_slibdir, libdir and
45005         libc_cv_localedir.
45006         * sysdeps/unix/sysv/linux/configure: Regenerated.
45007
45008 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45009
45010         * manual/lang.texi (Old Varargs): Remove section.
45011         (How Variadic): Update menu.
45012         (va_start): Do not mention varargs.h.
45013
45014 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45015             Joseph Myers  <joseph@codesourcery.com>
45016
45017         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45018         link test.
45019         * configure: Regenerated.
45020
45021 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45022
45023         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45024         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45025         conformtest.pl
45026
45027 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45028
45029         * NOTES: Remove.
45030         * Makefile (files-for-dist): Remove NOTES.
45031         (NOTES): Remove rule.
45032         * README: Don't refer to NOTES.
45033         * manual/creature.texi: Don't include macros.texi.
45034         * manual/intro.texi (creature.texi): Remove comment referring to
45035         NOTES.
45036
45037         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45038         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45039         * configure: Regenerated.
45040         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45041         LIBC_TRY_CC_OPTION.
45042         (libc_cv_as_i686): Likewise.
45043         (libc_cv_cc_avx): Likewise.
45044         (libc_cv_cc_sse2avx): Likewise.
45045         (libc_cv_cc_fma4): Likewise.
45046         (libc_cv_cc_novzeroupper): Likewise.
45047         * sysdeps/i386/configure: Regenerated.
45048
45049         [BZ #13883]
45050         * sysdeps/i386/fpu/s_cexp.S: Remove.
45051         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45052         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45053         * math/libm-test.inc (cexp_test): Add more tests.
45054         * sysdeps/i386/fpu/libm-test-ulps: Update.
45055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45056
45057 2012-03-21  Allan McRae  <allan@archlinux.org>
45058
45059         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45060
45061 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45062
45063         [BZ #13871]
45064         * math/w_exp2.c: Do not include <float.h>.
45065         (o_threshold, u_threshold): Remove.
45066         (__exp2): Calculate result before checking finiteness and calling
45067         __kernel_standard.
45068         * math/w_exp2f.c: Likewise.
45069         * math/w_exp2l.c: Likewise.
45070         * math/libm-test.inc (exp2_test): Require overflow exception for
45071         1e6 input.
45072
45073         [BZ #3866]
45074         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45075         range of signed 64-bit integers before using fistpll.  Remove
45076         checks for whether integers fit in mantissa bits.
45077         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45078         the range of signed 32-bit integers before using fistpl.  Remove
45079         checks for whether integers fit in mantissa bits.
45080         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45081         (__ieee754_powl): Test for y outside the range of signed 64-bit
45082         integers before using fistpll.  Reduce 64-bit values to 63-bit
45083         ones as needed.
45084         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45085         divide-by-zero is raised for zero to large negative powers.
45086         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45087         (__ieee754_powl): Test for y outside the range of signed 64-bit
45088         integers before using fistpll.  Reduce 64-bit values to 63-bit
45089         ones as needed.
45090         * math/libm-test.inc (pow_test): Add more tests.
45091
45092 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45093
45094         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45095         <stdio-common/_itoa.h>.
45096         * debug/segfault.c: Likewise.
45097         * elf/dl-cache.c: Likewise.
45098         * elf/dl-minimal.c: Likewise.
45099         * elf/dl-misc.c: Likewise.
45100         * elf/dl-sysdep.c: Likewise.
45101         * elf/dl-version.c: Likewise.
45102         * elf/rtld.c: Likewise.
45103         * hurd/hurdsock.c: Likewise.
45104         * hurd/lookup-retry.c: Likewise.
45105         * malloc/malloc.c: Likewise.
45106         * malloc/mtrace.c: Likewise.
45107         * nscd/nscd_getgr_r.c: Likewise.
45108         * nscd/nscd_getpw_r.c: Likewise.
45109         * nscd/nscd_getserv_r.c: Likewise.
45110         * posix/getopt_init.c: Likewise.
45111         * posix/wordexp.c: Likewise.
45112         * stdio-common/_itoa.c: Likewise.
45113         * stdio-common/printf_fphex.c: Likewise.
45114         * stdio-common/vfprintf.c: Likewise.
45115         * string/_strerror.c: Likewise.
45116         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45117         * sysdeps/i386/i686/hp-timing.h: Likewise.
45118         * sysdeps/mach/_strerror.c: Likewise.
45119         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45120         * sysdeps/mach/hurd/sethostid.c: Likewise.
45121         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45122         * sysdeps/mach/xpg-strerror.c: Likewise.
45123         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45125         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45126         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45127         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45128         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45129         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45130         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45131         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45132         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45133         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45134         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45135         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45136         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45137         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45138         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45139         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45140         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45141         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45142         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45143         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45144
45145         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45146
45147         * stdio-common/_itoa.h: Moved to ...
45148         * sysdeps/generic/_itoa.h: Here.
45149
45150         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45151
45152         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45153         instead of "_itoa.h" and "_itowa.h".
45154         * stdio-common/vfprintf.: Likewise.
45155
45156 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45157
45158         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45159         <bits/wordsize.h>.
45160         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45161         (__signbit): Likwise.
45162         (llrintf): Likwise.
45163         (llrint): Likwise.
45164
45165 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45166
45167         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45168         __WORDSIZE != 64.
45169
45170 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45171
45172         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45173         OVERFLOW_EXCEPTION_OK.
45174         * math/libm-test.inc ("Philosophy"): Update comment about
45175         exception testing.
45176         (OVERFLOW_EXCEPTION): Define.
45177         (OVERFLOW_EXCEPTION_OK): Likewise.
45178         (INVALID_EXCEPTION_OK): Renumber.
45179         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45180         (IGNORE_ZERO_INF_SIGN): Likewise.
45181         (test_exceptions): Handle FE_OVERFLOW.
45182         (exp10_test): Expect overflow exceptions.
45183         (exp2_test): Likewise.
45184         (expm1_test): Likewise.
45185         (nextafter_test): Likewise.
45186         (pow_test): Likewise.
45187         (scalbn_test): Likewise.
45188         (scalbln_test): Likewise.
45189
45190 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45191
45192         * sysdeps/x86_64/bits/atomic.h
45193         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45194         64bit integer.
45195         (atomic_exchange_acq): Likewise.
45196         (__arch_exchange_and_add_body): Likewise.
45197         (__arch_add_body): Likewise.
45198         (atomic_add_negative): Likewise.
45199         (atomic_add_zero): Likewise.
45200
45201 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45202
45203         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45204         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45205
45206 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45207
45208         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45209         Check __x86_64__ instead of __WORDSIZE.
45210
45211 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45212
45213         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45214
45215 2012-03-19  David S. Miller  <davem@davemloft.net>
45216
45217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45218
45219         * sysdeps/sparc/fpu/fenv_private.h: New file.
45220         * sysdeps/sparc/fpu/math_private.h: Use it.
45221         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45222         Remove.
45223         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45224         (libc_feholdexcept_setroundl): Remove.
45225         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45226         Remove.
45227         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45228         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45229
45230 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45231
45232         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45233         int64_t instead of long int.
45234         (INSERT_WORDS64): Likwise.
45235
45236 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45237
45238         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45239         _Unwind_GetCFA return to _Unwind_Ptr first.
45240
45241 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45242
45243         [BZ #13629]
45244         * math/s_clog.c: Include <float.h>.
45245         (__clog): Scale large or subnormal inputs.
45246         * math/s_clogf.c: Likewise.
45247         * math/s_clogl.c: Likewise.
45248         * math/s_clog10.c: Include <float.h>.
45249         (M_LOG10_2): Define.
45250         (__clog10): Scale large or subnormal inputs.
45251         * math/s_clog10f.c: Likewise.
45252         * math/s_clog10l.c: Likewise.
45253         * math/libm-test.inc (clog_test): Add more tests.
45254         (clog10_test): Likewise.
45255         * sysdeps/i386/fpu/libm-test-ulps: Update.
45256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45257
45258         [BZ #11451]
45259         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45260         x and y.
45261         * math/libm-test.inc (atan2_test): Add another test.
45262
45263         * Makerules (common-objdir-compile): Remove.
45264         * sysdeps/unix/Makefile (config-generated): Do not add
45265         $(unix-generated) to variable.
45266         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45267         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45268         Remove rule.
45269         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45270         Likewise.
45271         [generic bits/local_lim.h] (before-compile): Do not append to
45272         variable.
45273         [generic bits/local_lim.h] (common-generated): Likewise.
45274         [generic sys/param.h] (before-compile): Do not append to variable.
45275         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45276         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45277         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45278         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45279         include.
45280         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45281         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45282         [generic sys/param.h] ($(addprefix
45283         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45284         [generic sys/param.h] (common-generated): Do not append to
45285         variable.
45286         [generic sys/param.h] (sysdep_headers): Likewise.
45287         [generic bits/errno.h] (before-compile): Do not append to
45288         variable.
45289         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45290         rule.
45291         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45292         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45293         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45294         [generic bits/errno.h] (common-generated): Do not append to
45295         variable.
45296         [generic bits/ioctls.h] (before-compile): Do not append to
45297         variable.
45298         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45299         rule.
45300         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45301         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45302         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45303         rule.
45304         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45305         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45306         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45307         [generic bits/ioctls.h] (common-generated): Do not append to
45308         variable.
45309         [generic sys/syscall.h] (syscall.h): Remove variable.
45310         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45311         rule.
45312         [generic sys/syscall.h] (before-compile): Do not append to
45313         variable.
45314         [generic sys/syscall.h] (common-generated): Likewise.
45315         * sysdeps/unix/errnos-tmpl.c: Remove file.
45316         * sysdeps/unix/errnos.awk: Likewise.
45317         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45318         * sysdeps/unix/ioctls.awk: Likewise.
45319         * sysdeps/unix/mk-local_lim.c: Likewise.
45320         * sysdeps/unix/snarf-ioctls: Likewise.
45321
45322 2012-03-19  Richard Henderson  <rth@twiddle.net>
45323
45324         * sysdeps/i386/fpu/fenv_private.h: New file.
45325         * sysdeps/i386/fpu/math_private.h: Use it.
45326         (math_opt_barrier, math_force_eval): Remove.
45327         (libc_feholdexcept_setround_53bit): Remove.
45328         (libc_feupdateenv_53bit): Remove.
45329         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45330         (math_opt_barrier, math_force_eval): Remove.
45331         (libc_feholdexcept): Remove.
45332         (libc_feholdexcept_setround): Remove.
45333         (libc_fetestexcept, libc_fesetenv): Remove.
45334         (libc_feupdateenv_test): Remove.
45335         (libc_feupdateenv, libc_feholdsetround): Remove.
45336         (libc_feresetround): Remove.
45337
45338         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45339         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45340
45341         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45342         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45343         (libc_feupdateenv_testl): New.
45344         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45345         (libc_feupdateenv_testf): New.
45346         (libc_feupdateenv): Use libc_feupdateenv_test.
45347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45348         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45349
45350         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45351         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45352         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45353         (libc_feresetround_noex): New.
45354         (libc_feresetround_noexf): New.
45355         (libc_feresetround_noexl): New.
45356         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45357         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45358         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45359         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45360         SET_RESTORE_ROUND.
45361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45362         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45363         (__cos): Likewise.
45364         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45365         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45366         SET_RESTORE_ROUND_NOEX.
45367         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45368         SET_RESTORE_ROUND_NOEXF.
45369         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45370         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45371         (libc_feholdsetroundf): New.
45372         (libc_feresetround, libc_feresetroundf): New.
45373
45374         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45375         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45376         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45377
45378         * sysdeps/generic/math_private.h: Include <fenv.h>.
45379         (default_libc_feholdexcept): New.
45380         (default_libc_feholdexcept_setround): New.
45381         (default_libc_fesetenv, default_libc_feupdateenv): New.
45382         (libc_feholdexcept): Only define if undefined.
45383         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45384         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45385         (libc_feholdexcept_setroundl): Likewise.
45386         (libc_feholdexcept_setround_53bit): Likewise.
45387         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45388         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45389         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45390         (libc_feupdateenv_53bit): Likewise.
45391         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45392         (libc_feholdexcept): Convert from macro to inline function.
45393         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45394         (libc_fesetenv, libc_feupdateenv): Likewise.
45395
45396         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45397         not previously defined.
45398         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45399         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45400         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45401         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45402         * sysdeps/ieee754/flt-32/math_private.h: New file.
45403         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45404         math_private.h below SET_FLOAT_WORD.
45405         (__isnan, __isinf_ns, __finite): Remove.
45406         (__isnanf, __isinf_nsf, __finitef): Remove.
45407
45408 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45409
45410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45411
45412 2012-03-17  David S. Miller  <davem@davemloft.net>
45413
45414         [BZ #6471]
45415         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45416         for 2.16.
45417
45418 2012-03-16  David S. Miller  <davem@davemloft.net>
45419
45420         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45421         warnings.
45422
45423         [BZ #6471]
45424         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45425         properly.
45426         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45427         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45428         sysdep_routines when subdir is sysvipc.
45429         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45430         __getshmlba helper.
45431
45432         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45433
45434 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45435
45436         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45437         [__LP64__].
45438
45439 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45440
45441         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45442         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45443         (__lround): Renamed to ...
45444         (__llround): This.  Replace long int with long long int.
45445         Define lround functions as aliases of llround functions.
45446         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45447
45448 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45449
45450         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45451         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45452         adresses to uintptr_t.  Replace "long int" and "unsigned long
45453         int" with "greg_t" on va_arg.
45454
45455 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45456
45457         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45458         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45459
45460         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45461         Move e_machine check before EI_CLASS check.  Handle x32
45462         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45463         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45464         SKIP_EM_IA_64 and include
45465         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45466
45467         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45468         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45469         (add_system_dir): New macro.
45470
45471         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45472         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45473
45474 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45475
45476         [BZ #2551]
45477         [BZ #2552]
45478         [BZ #2553]
45479         [BZ #2554]
45480         [BZ #2562]
45481         [BZ #2563]
45482         [BZ #2565]
45483         [BZ #2566]
45484         [BZ #2576]
45485         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45486         (y0): Likewise.
45487         * math/w_j0f.c (j0f): Likewise.
45488         (y0f): Likewise.
45489         * math/w_j0l.c (__j0l): Likewise.
45490         (__y0l): Likewise.
45491         * math/w_j1.c (j1): Likewise.
45492         (y1): Likewise.
45493         * math/w_j1f.c (j1f): Likewise.
45494         (y1f): Likewise.
45495         * math/w_j1l.c (__j1l): Likewise.
45496         (__y1l): Likewise.
45497         * math/w_jn.c (jn): Likewise.
45498         (yn): Likewise.
45499         * math/w_jnf.c (jnf): Likewise.
45500         (ynf): Likewise.
45501         * math/w_jnl.c (__jnl): Likewise.
45502         (__ynl): Likewise.
45503         * math/libm-test.inc (j0_test): Add more tests.
45504         (j1_test): Likewise.
45505         (jn_test): Likewise.  Add trailing semicolon to existing test.
45506         (y0_test): Likewise.
45507         (y1_test): Likewise.
45508         * sysdeps/i386/fpu/libm-test-ulps: Update.
45509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45510
45511         [BZ #13851]
45512         [BZ #13854]
45513         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45514         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45515         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45516         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45517         (__tanl): Set errno for infinite argument.
45518         * sysdeps/i386/fpu/mptan.c: Remove.
45519         * sysdeps/i386/fpu/s_tan.S: Likewise.
45520         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45521         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45522         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45523         * math/libm-test.inc (tan_test): Add more tests and enable more
45524         tests for double and long double.
45525         * sysdeps/i386/fpu/libm-test-ulps: Update.
45526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45527
45528 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45529
45530         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45531         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45532
45533 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45534
45535         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45536         * configure.in: Use it for both main tree and add-ons.
45537         * configure: Regenerated.
45538
45539 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45540
45541         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45542
45543 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45544
45545         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45546         in comment.
45547
45548         [BZ #13851]
45549         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45550         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45551         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45552         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45553         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45554         infinite argument.
45555         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45556         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45557         != 0 for prec == 2.
45558         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45559         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45560         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45561         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45562         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45563         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45564         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45565         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45566         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45567         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45568         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45569         * math/libm-test.inc (cos_test): Add more tests and enable more
45570         tests for long double.
45571         (sin_test): Likewise.
45572         (sincos_test): Likewise.
45573         * sysdeps/i386/fpu/libm-test-ulps: Update.
45574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45575
45576 2012-03-16  David S. Miller  <davem@davemloft.net>
45577
45578         * sysdeps/sparc/fpu/math_private.h: New file.
45579
45580 2012-03-15  David S. Miller  <davem@davemloft.net>
45581
45582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45583         file.
45584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45586         file.
45587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45592         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45593         sysdep routines.
45594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45595
45596         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45597         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45598
45599         * sysdeps/sparc/sparc-ifunc.h: New file.
45600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45601         sparc-ifunc.h
45602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45604         Likewise.
45605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45606         Likewise.
45607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45611         Likewise.
45612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45617         Likewise.
45618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45619         Likewise.
45620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45626         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45627         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45628         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45629         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45630         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45634         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45635         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45636         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45637         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45638         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45639         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45640         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45641         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45644
45645 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45646
45647         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45648         scaling.
45649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45650
45651 2012-03-15  Andreas Jaeger  <aj@suse.de>
45652
45653         [BZ #13852]
45654         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45655         ieee754/flt-32 implementation for sin, cos and sincos.
45656         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45657         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45658         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45659         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45660         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45661         ieee754/flt-32 implementation for tan.
45662
45663         * math/libm-test.inc (cos_test): Enable some large input tests for
45664         float as well
45665         (sin_test): Likewise.
45666         (sincos_test): Likewise.
45667         (tan_test): Add tests for large input.
45668
45669         * sysdeps/i386/fpu/libm-test-ulps: Update.
45670
45671 2012-03-15  Andreas Jaeger  <aj@suse.de>
45672
45673         [BZ #13658]
45674         * math/libm-test.inc (cos_test): Add more test cases.
45675         (sin_test): Likewise.
45676         (sincos_test): Likewise.
45677
45678 2012-03-15  Andreas Jaeger  <aj@suse.de>
45679
45680         [BZ #13837]
45681         * math/libm-test.inc (cos_test): Add a test case for large input
45682         value.
45683         (sin_test): Likewise.
45684         (sincos_test): Likewise.
45685
45686 2012-03-15  Andreas Jaeger  <aj@suse.de>
45687             Joseph Myers  <joseph@codesourcery.com>
45688
45689         [BZ #13658]
45690         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45691         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45692         * sysdeps/i386/fpu/branred.c: Likewise.
45693         * sysdeps/i386/fpu/dosincos.c: Likewise.
45694         * sysdeps/i386/fpu/mpa.c: Likewise.
45695         * sysdeps/i386/fpu/s_cos.S: Likewise.
45696         * sysdeps/i386/fpu/s_sin.S: Likewise.
45697         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45698         * sysdeps/i386/fpu/sincos32.c: Likewise.
45699
45700         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45701         Define.
45702         (libc_feupdateenv_53bit): Define.
45703         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45704         Define.
45705         (libc_feupdateenv_53bit): Define.
45706
45707         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45708         53 bit (without extend i386 double precision).
45709
45710         * math/libm-test.inc (sincos_test): Add tests for large input.
45711         (sin): Likewise.
45712         (cos): Likewise.
45713
45714         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45715
45716 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45717
45718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45719
45720 2012-03-15  David S. Miller  <davem@davemloft.net>
45721
45722         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45723         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45724         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45725         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45738         file.
45739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45741         file.
45742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45744         file.
45745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45747         file.
45748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45749         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45750         fmin/fmax sysdep routines.
45751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45752
45753 2012-03-14  David S. Miller  <davem@davemloft.net>
45754
45755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45758         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45759         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45760         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45761         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45762         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45763         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45764         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45765         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45767         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45768         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45769         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45770         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45771         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45772         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45773         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45775         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45776         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45777         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45778         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45779         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45780         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45781         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45782         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45784         routines.
45785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45786         file.
45787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45789         file.
45790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45792         file.
45793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45795         file.
45796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45798         file.
45799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45801         file.
45802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45803         file.
45804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45805         file.
45806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45807         file.
45808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45809         New file.
45810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45811         file.
45812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45813         file.
45814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45816         file.
45817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45819         file.
45820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45822         file.
45823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45825         VIS3 routines.
45826
45827         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45828         New file.
45829
45830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45831
45832         * sysdeps/sparc/configure.in: New file.
45833         * sysdeps/sparc/configure: Generate.
45834         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45835         * configure: Regenerate.
45836         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45837         * config.make.in (have-as-vis3): New.
45838         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45839         available use -Av9d instead of -Av9a.
45840         * sysdeps/sparc/sparc64/Makefile: Likewise.
45841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45843         New file.
45844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45845         file.
45846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45847         New file.
45848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45849         file.
45850         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45851         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45852         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45853         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45854         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45855
45856         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45857         fzeros/fnegs to load 0x80000000 into a float register instead of
45858         using the stack.
45859         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45860
45861 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45862
45863         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45864         bits/syscall.h.
45865         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45866         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45867         ($(inst_includedir)/bits/syscall.h): Remove rule.
45868         ($(objpfx)bits/syscall.d): Include instead of
45869         $(objpfx)syscall-list.d.
45870         (generated): Change syscall-list.h and syscall-list.d to
45871         bits/syscall.h and bits/syscall.d.
45872
45873 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45874
45875         [BZ #13846]
45876         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45877
45878 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45879
45880         [BZ #13841]
45881         * math/s_csqrt.c: Include <float.h>.
45882         (__csqrt): Scale large or subnormal inputs.
45883         * math/s_csqrtf.c: Likewise.
45884         * math/s_csqrtl.c: Likewise.
45885         * math/libm-test.inc (csqrt_test): Add more tests.
45886         * sysdeps/i386/fpu/libm-test-ulps: Update.
45887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45888
45889         [BZ #13840]
45890         * math/libm-test.inc (hypot_test): Add more tests.
45891
45892 2012-03-13  David S. Miller  <davem@davemloft.net>
45893
45894         [BZ #13840]
45895         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45896         double-precision for the calculation instead of scaling.
45897
45898 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45899
45900         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45901         manipulate bits before adding and subtracting TWO52[sx].
45902         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45903         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45904         Likewise.
45905         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45906
45907 2012-03-13  David S. Miller  <davem@davemloft.net>
45908
45909         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45910         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45912         rtld-global-offsets.h
45913         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45914
45915         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45916         large parameters.
45917
45918         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45919
45920         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45921         'err' in the ifdef scope in which it is actually used.
45922
45923         * nss/nss_db/db-init.c: Include string.h
45924
45925 2012-03-12  David S. Miller  <davem@davemloft.net>
45926
45927         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45928         masking out of the most significant byte of random value used.
45929         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45930         Fix coding style in previous change.
45931
45932         * sysdeps/unix/sysv/linux/kernel-features.h
45933         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45934         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45935         expression.
45936         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45937         later.
45938
45939 2012-03-11  David S. Miller  <davem@davemloft.net>
45940
45941         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45942         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45943         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45944         for 'resultvar' otherwise things get truncated on 64-bit.
45945
45946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45947         Fix masking out of the most significant byte of random value used.
45948
45949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45950
45951 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45952
45953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45954
45955 2012-03-09  David S. Miller  <davem@davemloft.net>
45956
45957         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45958         variables with appropriate CPP guards.
45959         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45960         from the frame pointer, not the stack pointer.  Correct layout
45961         comments.  Fix test on resulting framesize and the management of
45962         the outregs buffer for pltexit.  Preserve floating point return
45963         values across _dl_call_pltexit call.
45964         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45965         framesize and the management of the outregs buffer for pltexit.
45966         Preserve floating point return values across _dl_call_pltexit
45967         call.
45968         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45969         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45970         (la_sparc64_gnu_pltexit): New functions.
45971         (print_exit): Fix format string for return register value.
45972
45973 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45974
45975         * sunrpc/Makefile (others): Add rpcgen.
45976         ($(objpfx)rpcgen): Remove special build rule and dependency on
45977         libc.
45978         * sunrpc/rpcgen.c: New file.
45979
45980 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45981
45982         [BZ #13673]
45983         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45984         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45985         * sysdeps/i386/crti.S: Likewise.
45986         * sysdeps/i386/crtn.S: Likewise.
45987         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45988         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45989         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45990         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45991         * sysdeps/sh/crti.S: Likewise.
45992         * sysdeps/sh/crtn.S: Likewise.
45993         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45994
45995         [BZ #13673]
45996         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45997         with URL.
45998         * locale/programs/locfile-kw.gperf: Likewise.
45999         * locale/programs/charmap-kw.h: Regenerated.
46000         * locale/programs/locfile-kw.h: Likewise.
46001
46002         [BZ #13673]
46003         * intl/plural.y: Replace FSF snail mail address with URL.
46004         * intl/plural.c: Regenerated.
46005
46006 2012-03-09  Richard Henderson  <rth@twiddle.net>
46007
46008         * include/math_private.h: Remove file.
46009         * math/math_private.h: Move file ...
46010         * sysdeps/generic/math_private.h: ... here.
46011
46012         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46013         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46014         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46015
46016         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46017         and <math_private.h>.
46018         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46019         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46020         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46021         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46022         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46023         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46024         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46025         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46026         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46027         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46028         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46029         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46030         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46031         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46032         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46033         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46034         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46035         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46036         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46037         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46039         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46040         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46041         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46042         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46043         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46044         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46045         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46047         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46048         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46049         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46050         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46051         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46052         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46053         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46054         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46055         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46056         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46057         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46058         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46059         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46060         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46061         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46062         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46063         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46064         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46065         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46066         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46067         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46068         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46069         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46070         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46071         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46072         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46073         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46074         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46075         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46076         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46077         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46078         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46079         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46080         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46081         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46082         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46083         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46084         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46085         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46086         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46087         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46088         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46089         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46090         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46091         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46092         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46093         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46094         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46096         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46098         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46099         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46100         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46101         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46102         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46103         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46104         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46105         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46106         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46107         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46108         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46109         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46110         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46111         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46112         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46113         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46114         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46115         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46116         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46117         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46118         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46119         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46120         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46121         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46122         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46123         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46124         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46125         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46126         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46127         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46128         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46129         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46130         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46131         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46132         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46133         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46134         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46135         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46136         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46137         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46138         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46139         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46140         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46141         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46142         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46143         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46144         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46145         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46146         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46147         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46148         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46149         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46150         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46151         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46152         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46153         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46154         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46155         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46156         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46157         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46158         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46159         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46160         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46161         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46162         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46163         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46164         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46165         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46166         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46167         * sysdeps/ieee754/k_standard.c: Likewise.
46168         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46169         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46170         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46171         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46172         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46173         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46174         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46175         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46176         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46177         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46178         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46179         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46180         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46181         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46182         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46183         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46184         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46185         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46186         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46187         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46188         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46189         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46190         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46191         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46192         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46193         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46194         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46195         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46196         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46197         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46198         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46199         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46200         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46201         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46202         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46203         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46204         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46205         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46206         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46207         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46208         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46209         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46210         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46211         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46212         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46213         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46214         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46215         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46216         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46217         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46218         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46219         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46220         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46221         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46222         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46223         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46224         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46225         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46226         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46227         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46228         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46229         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46230         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46231         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46232         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46233         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46234         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46235         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46236         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46237         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46239         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46240         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46241         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46242         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46243         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46244         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46245         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46246         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46247         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46248         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46249         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46250         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46251         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46252         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46253         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46254         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46255         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46256         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46257         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46258         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46259         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46260         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46261         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46262         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46263         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46264         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46265         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46266         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46267         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46268         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46269         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46270         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46271         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46272         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46273         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46274         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46275         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46276         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46277         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46278         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46279         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46280         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46281         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46282         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46283         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46284         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46285         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46286         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46287         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46288         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46289         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46290         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46291         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46292         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46293         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46294         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46295         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46296         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46297         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46298         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46299         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46300         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46301         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46302         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46303         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46304         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46305         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46306         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46307         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46308         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46309         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46310         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46311         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46312         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46313         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46314         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46315         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46316         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46317         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46318         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46319         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46320         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46321         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46322         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46323         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46324         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46325         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46326         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46327         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46328         * sysdeps/ieee754/s_lib_version.c: Likewise.
46329         * sysdeps/ieee754/s_matherr.c: Likewise.
46330         * sysdeps/ieee754/s_signgam.c: Likewise.
46331         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46332         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46333         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46334         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46335         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46336         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46337         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46338         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46339         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46340         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46341         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46342         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46343         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46344         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46345         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46346         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46347         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46348         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46349         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46350         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46351         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46352
46353 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46354
46355         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46356         * sunrpc/rpc_main.c: Likewise.
46357         * sunrpc/rpc_svcout.c: Likewise.
46358
46359 2012-03-09  David S. Miller  <davem@davemloft.net>
46360
46361         * include/math_private.h: New file.
46362
46363 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46364
46365         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46366         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46367         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46368         from <bits/socket_type.h>.
46369         (enum __socket_type): Don't define here.
46370         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46372         bits/socket_type.h.
46373
46374         [BZ #13566]
46375         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46376         checking __USE_GNU.
46377
46378         * Makerules ($(inst_includedir)/%.h): New rule.
46379         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46380         (install-others): Remove variable setting.
46381         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46382
46383 2012-03-08  Richard Henderson  <rth@twiddle.net>
46384
46385         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46386         from macro to inline function; merge with the
46387         !__LIBC_INTERNAL_MATH_INLINES version.
46388         (__ieee754_sqrtf): Likewise.
46389
46390         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46391         to inline function.
46392         (__rintf, __floor, __floorf): Likewise.
46393
46394         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46395         macro to inline function.
46396         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46397
46398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46399         not <math/math_private.h>.
46400
46401 2012-03-08  David S. Miller  <davem@davemloft.net>
46402
46403         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46404         copyright year.
46405         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46406
46407 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46408
46409         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46410         normalization.
46411         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46412         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46413
46414 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46415
46416         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46417         be defined individually, they must be defined as a block.  Define
46418         S for printing a string instead of hidint the different by using a
46419         macro for adding the 'l'.
46420         * stdio-common/tst-fphex-wide.c: Adjust.
46421
46422 2012-03-07  Marek Polacek  <polacek@redhat.com>
46423
46424         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46425
46426 2012-03-08  Marek Polacek  <polacek@redhat.com>
46427
46428         [BZ #13806]
46429         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46430         * stdio-common/tst-fphex.c: Define a few macros to make the
46431         test reusable.  Use them.
46432         * stdio-common/tst-fphex-wide.c: New file.
46433
46434 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46435
46436         [BZ #6911]
46437         * manual/macros.texi (gnusystems): New macro.
46438         (nongnusystems): Likewise.
46439         (gnulinuxhurdsystems): Likewise.
46440         (gnuhurdsystems): Likewise..
46441         (gnulinuxsystems): Likewise.
46442         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46443         variants of the GNU system, not "GNU system".
46444         * manual/conf.texi: Likewise.
46445         * manual/errno.texi: Likewise.  Update example of errno macro
46446         expansion.
46447         * manual/filesys.texi: Likewise.
46448         (getumask): Document as specific to GNU/Hurd.
46449         * manual/install.texi: Likewise.  Reword some references to
46450         GNU/Linux.
46451         * manual/intro.texi: Likewise.
46452         * manual/io.texi: Likewise.
46453         (File Name Portability): Detail which constraints are inapplicable
46454         to all GNU systems and which are only inapplicable to GNU/Hurd.
46455         * manual/job.texi: Likewise.
46456         * manual/llio.texi: Likewise.
46457         (O_NOCTTY): Document as present on GNU/Linux.
46458         * manual/maint.texi: Likewise.
46459         * manual/memory.texi: Likewise.
46460         * manual/pattern.texi: Likewise.
46461         * manual/pipe.texi: Likewise.
46462         * manual/process.texi: Likewise.
46463         * manual/resource.texi: Likewise.
46464         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46465         child on GNU/Hurd.
46466         * manual/setjmp.texi: Likewise.
46467         * manual/signal.texi: Likewise.
46468         * manual/startup.texi: Likewise.
46469         * manual/stdio.texi: Likewise.
46470         * manual/terminal.texi: Likewise.
46471         (ONLCR): Document as POSIX.
46472         (OXTABS): Document availability on GNU/Linux as XTABS.
46473         (ONOEOT): Document availability separately from other bits.
46474         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46475         * manual/time.texi: Likewise.
46476         * manual/users.texi: Likewise.
46477         * INSTALL: Regenerated.
46478         * sysdeps/gnu/errlist.c: Regenerated.
46479
46480         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46481         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46482         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46483         puts.
46484         * configure: Regenerated.
46485
46486 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46487
46488         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46489         default includes instead of AC_HEADER_CHECK.
46490         * sysdeps/i386/configure: Regenerated.
46491
46492         [BZ #10716]
46493         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46494         * math/s_cacoshf.c (__cacoshf): Likewise.
46495         * math/s_cacoshl.c (__cacoshl): Likewise.
46496         * math/s_casinh.c (__casinh): Set signs of result from argument.
46497         * math/s_casinhf.c (__casinhf): Likewise.
46498         * math/s_casinhl.c (__casinhl): Likewise.
46499         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46500         (casinh_test): Add more tests.
46501         * sysdeps/i386/fpu/libm-test-ulps: Update.
46502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46503
46504 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46505
46506         * po/zh_TW.po: Update from translation team.
46507
46508         * login/Makefile (distribute): Remove variable.
46509         * catgets/Makefile: Likewise.
46510         * mach/Makefile: Likewise.
46511         * malloc/Makefile: Likewise.
46512         * misc/Makefile: Likewise.
46513         * iconv/Makefile: Likewise.
46514         * nscd/Makefile: Likewise.
46515         * hurd/Makefile: Likewise.
46516         * manual/Makefile: Likewise.
46517         * locale/Makefile: Likewise.
46518         * intl/Makefile: Likewise.
46519         * conform/Makefile: Likewise.
46520         * nss/Makefile: Likewise.
46521         * time/Makefile: Likewise.
46522         * soft-fp/Makefile: Likewise.
46523         * dirent/Makefile: Likewise.
46524         * gmon/Makefile: Likewise.
46525         * po/Makefile: Likewise.
46526         * rt/Makefile: Likewise.
46527         * socket/Makefile: Likewise.
46528         * math/Makefile: Likewise.
46529         * signal/Makefile: Likewise.
46530         * debug/Makefile: Likewise.
46531         * elf/Makefile: Likewise.
46532         * timezone/Makefile: Likewise.
46533         * stdlib/Makefile: Likewise.
46534         * iconvdata/Makefile: Likewise.
46535         * sunrpc/Makefile: Likewise.
46536         * io/Makefile: Likewise.
46537         * argp/Makefile: Likewise.
46538         * inet/Makefile: Likewise.
46539         * hesiod/Makefile: Likewise.
46540         * grp/Makefile: Likewise.
46541         * csu/Makefile: Likewise.
46542         * wctype/Makefile: Likewise.
46543         * crypt/Makefile: Likewise.
46544         * libio/Makefile: Likewise.
46545         * string/Makefile: Likewise.
46546         * nis/Makefile: Likewise.
46547         * resolv/Makefile: Likewise.
46548         * stdio-common/Makefile: Likewise.
46549         * wcsmbs/Makefile: Likewise.
46550         * dlfcn/Makefile: Likewise.
46551         * posix/Makefile: Likewise.
46552
46553         [BZ #6959]
46554         * timezone/Makefile: Don't install timezone files, just the programs
46555         and scripts.
46556
46557 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46558
46559         * nss/databases.def: Add missing gshadow entry.
46560
46561         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46562
46563 2012-03-06  Marek Polacek  <polacek@redhat.com>
46564
46565         [BZ #13726]
46566         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46567         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46568         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46569         * stdio-common/tst-long-dbl-fphex.c: New file.
46570
46571 2012-03-06  David S. Miller  <davem@davemloft.net>
46572
46573         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46574         (set_obp_int): New function.
46575         (get_obp_int): New function.
46576         (__get_clockfreq_via_dev_openprom): Likewise.
46577         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46578         Avoid unused variable warnings on 'val' and use builtin_expect.
46579         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46580         __builtin_expect.
46581         (INLINE_CLONE_SYSCALL): Likewise.
46582
46583 2012-03-05  David S. Miller  <davem@davemloft.net>
46584
46585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46586
46587 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46588
46589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46590
46591         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46592         only for |x| >= 40.
46593         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46594
46595 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46596
46597         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46598         Replace gettimeofday with __vdso_gettimeofday.
46599
46600         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46601         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46602         __vdso_clock_gettime and __vdso_getcpu.
46603
46604         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46605         time with __vdso_time.
46606
46607 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46608
46609         * manual/lang.texi (size_t): Note types to which size_t may be
46610         equivalent with the GNU C Library, but do not describe when
46611         differences between them are significant.
46612
46613 2012-03-05  Andreas Jaeger  <aj@suse.de>
46614
46615         * sysdeps/i386/fpu/libm-test-ulps: Update.
46616
46617 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46618
46619         [BZ #3976]
46620         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46621         (__ieee754_pow): Save and restore rounding mode and use
46622         round-to-nearest for main computations.
46623         * math/libm-test.inc (pow_test_tonearest): New function.
46624         (pow_test_towardzero): Likewise.
46625         (pow_test_downward): Likewise.
46626         (pow_test_upward): Likewise.
46627         (main): Call the new functions.
46628         * sysdeps/i386/fpu/libm-test-ulps: Update.
46629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46630
46631         [BZ #3976]
46632         * math/libm-test.inc (cosh_test_tonearest): New function.
46633         (cosh_test_towardzero): Likewise.
46634         (cosh_test_downward): Likewise.
46635         (cosh_test_upward): Likewise.
46636         (sinh_test_tonearest): Likewise.
46637         (sinh_test_towardzero): Likewise.
46638         (sinh_test_downward): Likewise.
46639         (sinh_test_upward): Likewise.
46640         (main): Call the new functions.
46641         * sysdeps/i386/fpu/libm-test-ulps: Update.
46642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46643
46644 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46645
46646         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46647         default stack guard is set in last bytes.
46648         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46649
46650 2012-03-05  Kees Cook  <keescook@chromium.org>
46651
46652         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46653
46654         [BZ #13656]
46655         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46656         possibly allocate from heap instead of stack.
46657         * stdio-common/bug-vfprintf-nargs.c: New file.
46658         * stdio-common/Makefile (tests): Add nargs overflow test.
46659
46660 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46661
46662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46663
46664 2012-03-03  Marek Polacek  <polacek@redhat.com>
46665
46666         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46667         * math/math_private.h: Likewise.
46668         * stdlib/tst-strtod.c: Likewise.
46669         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46670         * sysdeps/x86_64/bits/atomic.h: Likewise.
46671
46672 2012-03-02  David S. Miller  <davem@davemloft.net>
46673
46674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46678         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46679         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46680         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46681         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46682
46683 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46684
46685         [BZ #13792]
46686         * manual/examples/README: New file, says the example source files
46687         can be used under GPL>=2.
46688         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46689         line containing just "*/".
46690         * manual/examples/add.c: Add copyright header (GPL>=2).
46691         * manual/examples/argp-ex1.c: Likewise.
46692         * manual/examples/argp-ex2.c: Likewise.
46693         * manual/examples/argp-ex3.c: Likewise.
46694         * manual/examples/argp-ex4.c: Likewise.
46695         * manual/examples/atexit.c: Likewise.
46696         * manual/examples/db.c: Likewise.
46697         * manual/examples/dir.c: Likewise.
46698         * manual/examples/dir2.c: Likewise.
46699         * manual/examples/execinfo.c: Likewise.
46700         * manual/examples/filecli.c: Likewise.
46701         * manual/examples/filesrv.c: Likewise.
46702         * manual/examples/fmtmsgexpl.c: Likewise.
46703         * manual/examples/genpass.c: Likewise.
46704         * manual/examples/inetcli.c: Likewise.
46705         * manual/examples/inetsrv.c: Likewise.
46706         * manual/examples/isockad.c: Likewise.
46707         * manual/examples/longopt.c: Likewise.
46708         * manual/examples/memopen.c: Likewise.
46709         * manual/examples/memstrm.c: Likewise.
46710         * manual/examples/mkfsock.c: Likewise.
46711         * manual/examples/mkisock.c: Likewise.
46712         * manual/examples/mygetpass.c: Likewise.
46713         * manual/examples/pipe.c: Likewise.
46714         * manual/examples/popen.c: Likewise.
46715         * manual/examples/rprintf.c: Likewise.
46716         * manual/examples/search.c: Likewise.
46717         * manual/examples/select.c: Likewise.
46718         * manual/examples/setjmp.c: Likewise.
46719         * manual/examples/sigh1.c: Likewise.
46720         * manual/examples/sigusr.c: Likewise.
46721         * manual/examples/stpcpy.c: Likewise.
46722         * manual/examples/strdupa.c: Likewise.
46723         * manual/examples/strftim.c: Likewise.
46724         * manual/examples/strncat.c: Likewise.
46725         * manual/examples/subopt.c: Likewise.
46726         * manual/examples/swapcontext.c: Likewise.
46727         * manual/examples/termios.c: Likewise.
46728         * manual/examples/testopt.c: Likewise.
46729         * manual/examples/testpass.c: Likewise.
46730         * manual/examples/timeval_subtract.c: Likewise.
46731
46732         [BZ #13792]
46733         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46734         function to ...
46735         * manual/timeval_subtract.c.texi: ... here, new file.
46736
46737 2012-03-02  David S. Miller  <davem@davemloft.net>
46738
46739         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46740
46741 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46742
46743         [BZ #3976]
46744         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46745         (__sin): Save and restore rounding mode and use round-to-nearest
46746         for all computations.
46747         (__cos): Save and restore rounding mode and use round-to-nearest
46748         for all computations.
46749         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46750         <fenv.h>.
46751         (tan): Save and restore rounding mode and use round-to-nearest for
46752         all computations.
46753         * math/libm-test.inc (cos_test_tonearest): New function.
46754         (cos_test_towardzero): Likewise.
46755         (cos_test_downward): Likewise.
46756         (cos_test_upward): Likewise.
46757         (sin_test_tonearest): Likewise.
46758         (sin_test_towardzero): Likewise.
46759         (sin_test_downward): Likewise.
46760         (sin_test_upward): Likewise.
46761         (tan_test_tonearest): Likewise.
46762         (tan_test_towardzero): Likewise.
46763         (tan_test_downward): Likewise.
46764         (tan_test_upward): Likewise.
46765         (main): Call the new functions.
46766         * sysdeps/i386/fpu/libm-test-ulps: Update.
46767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46768
46769         [BZ #10135]
46770         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46771         small n, then large n, before computing and testing k+n.
46772         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46773         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46774         Likewise.
46775         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46776         Likewise.
46777         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46778         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46779         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46780         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46781         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46783         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46784         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46785         * math/libm-test.inc (scalbn_test): Add more tests.
46786         (scalbln_test): Likewise.
46787
46788         * manual/filesys.texi (mode_t): Describe constraints on size and
46789         signedness, not exact equivalence to a particular type.
46790         (ino_t): Likewise.
46791         (ino64_t): Likewise.
46792         (dev_t): Likewise.
46793         (nlink_t): Likewise.
46794         (blkcnt_t): Likewise.
46795         (blkcnt64_t): Likewise.
46796         * manual/llio.texi (off_t): Likewise.
46797
46798         [BZ #3976]
46799         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46800         (__ieee754_exp): Save and restore rounding mode and use
46801         round-to-nearest for all computations.
46802         * math/libm-test.inc (exp_test_tonearest): New function.
46803         (exp_test_towardzero): Likewise.
46804         (exp_test_downward): Likewise.
46805         (exp_test_upward): Likewise.
46806         (main): Call the new functions.
46807         * sysdeps/i386/fpu/libm-test-ulps: Update.
46808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46809
46810 2012-03-01  Chris Demetriou  <cgd@google.com>
46811
46812         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46813         have predictable order.
46814
46815 2012-03-01  David S. Miller  <davem@davemloft.net>
46816
46817         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46818
46819         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46820         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46821         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46822         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46823
46824         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46825         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46826         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46828         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46829         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46830         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46831         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46832         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46833
46834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46835
46836         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46837         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46838         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46839
46840         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46841         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46842         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46843         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46844         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46845         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46846         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46847         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46848         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46849         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46850         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46851         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46853         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46854         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46856         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46857         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46858         * sysdeps/sparc/elf/configure: Regenerated.
46859
46860 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46861
46862         * configure.in (AS, LD): Require binutils 2.20 or later.
46863         * configure: Regenerated.
46864         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46865         as required minimum version.
46866         * INSTALL: Regenerated.
46867
46868         [BZ #2541]
46869         [BZ #4108]
46870         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46871         before squaring exponent.
46872         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46873         bottom long double and 27 bits of top long double before squaring
46874         exponent.
46875         * math/libm-test.inc (erfc_test): Add more tests.
46876         * sysdeps/i386/fpu/libm-test-ulps: Update.
46877         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46879
46880 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46881
46882         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46883         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46884         containing bit-fields.
46885         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46886         * soft-fp/single.h (_FP_UNION_S): Likewise.
46887         * soft-fp/double.h (_FP_UNION_D): Likewise.
46888
46889 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46890
46891         [BZ #13786]
46892         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46893         not include ../strcmp.S.
46894         [USE_AS_STRNCASECMP_L]: Likewise.
46895         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46896         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46897         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46898         (__strncasecmp_l_ia32): Define as alias to
46899         __strncasecmp_l_nonascii.
46900
46901         [BZ #5794]
46902         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46903         * sysdeps/i386/fpu/libm-test-ulps: Update.
46904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46905
46906         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46908
46909 2012-02-29  Jeff Law  <law@redhat.com>
46910
46911         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46912         out of bounds read.
46913
46914 2012-02-29  Marek Polacek  <polacek@redhat.com>
46915
46916         [BZ #13706]
46917         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46918         * elf/Makefile: Add rules to run tst-unused-dep.out.
46919
46920 2012-02-28  David S. Miller  <davem@davemloft.net>
46921
46922         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46923         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46924         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46925         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46926         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46927         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46928
46929 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46930
46931         * math/libm-test.inc (llround_test): Move one test from
46932         lround_test.  Use TEST_f_L in moved test.
46933         (lround_test): Move misplaced test to llround_test.  Add testcase
46934         from bug 2561.
46935
46936 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46937
46938         * sysdeps/x86_64/fpu/e_expf.S: New file.
46939         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46940
46941 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46942
46943         [BZ #13637]
46944         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46945         of remain_len that may cause incomplete multi-byte character and
46946         false match.
46947         * posix/bug-regex33.c: New file.
46948         * posix/Makefile (tests): Add bug-regex33.
46949
46950 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46951
46952         * manual/macros.texi: New file.
46953         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46954         * manual/libc.texinfo: Include macros.texi.
46955         * manual/creatute.texi: Likewise.
46956         * manual/install.texi: Likewise.
46957         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46958         @glibcadj{} in references to the GNU C Library.
46959         * manual/charset.texi: Likewise.
46960         * manual/conf.texi: Likewise.
46961         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46962         when not using those macros.
46963         * manual/creature.texi: Likewise.
46964         * manual/crypt.texi: Likewise.
46965         * manual/errno.texi: Likewise.
46966         * manual/filesys.texi: Likewise.
46967         * manual/header.texi: Likewise.
46968         * manual/install.texi: Likewise.
46969         * manual/intro.texi: Likewise.
46970         * manual/io.texi: Likewise.
46971         * manual/job.texi: Likewise.
46972         * manual/lang.texi: Likewise.
46973         * manual/libc.texiinfo: Likewise.
46974         * manual/llio.texi: Likewise.
46975         * manual/locale.texi: Likewise.
46976         * manual/maint.texi: Likewise.
46977         * manual/math.texi: Likewise.
46978         * manual/memory.texi: Likewise.
46979         * manual/message.texi: Likewise.
46980         * manual/nss.texi: Likewise.
46981         * manual/pattern.texi: Likewise.
46982         * manual/process.texi: Likewise.
46983         * manual/resource.texi: Likewise.
46984         * manual/search.texi: Likewise.
46985         * manual/setjmp.texi: Likewise.
46986         * manual/signal.texi: Likewise.
46987         * manual/socket.texi: Likewise.
46988         * manual/startup.texi: Likewise.
46989         * manual/stdio.texi: Likewise.
46990         * manual/string.texi: Likewise.
46991         * manual/sysinfo.texi: Likewise.
46992         * manual/syslog.texi: Likewise.
46993         * manual/terminal.texi: Likewise.
46994         * manual/time.texi: Likewise.
46995         * manual/users.texi: Likewise.
46996         * INSTALL: Regenerated.
46997         * NOTES: Regenerated.
46998         * sysdeps/gnu/errlist.c: Regenerated.
46999
47000 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47001
47002         * include/dirent.h: Include <dirstream.h> before
47003         <dirent/dirent.h>.
47004
47005 2012-02-28  David S. Miller  <davem@davemloft.net>
47006
47007         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47008         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47009         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47010         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47011
47012 2012-02-27  David S. Miller  <davem@davemloft.net>
47013
47014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47016         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47017         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47018
47019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47020         frame pointer instead of stack pointer relative arg slot.
47021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47022         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47023         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47024
47025 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47026
47027         [BZ #3992]
47028         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47029
47030 2012-02-27  David S. Miller  <davem@davemloft.net>
47031
47032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47036         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47037         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47038         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47039         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47040
47041 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47042
47043         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47044         later.  Allow versions 5-9.
47045         * configure: Regenerated.
47046         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47047         required minimum version and 4.6 as recommended version.  Do not
47048         mention bugs in GCC 2.7 and 2.8.
47049         * INSTALL: Regenerated.
47050
47051 2012-02-27  David S. Miller  <davem@davemloft.net>
47052
47053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47057         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47058         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47059         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47060         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47061
47062         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47063         manipulate bits before adding and subtracting TWO112[sx].
47064         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47065
47066 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47067
47068         [BZ #13775]
47069         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47070         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47071         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47072         being in POSIX, because they are in 1003.1-2008.
47073
47074         * rt/tst-aio.c: Include <fcntl.h>.
47075         * rt/tst-aio7.c: Likewise.
47076         * rt/tst-aio64.c: Likewise.
47077
47078         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47079
47080 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47081
47082         * manual/install.texi (--with-headers): Describe headers as
47083         interface headers, not private headers.
47084         (Specific advice for GNU/Linux systems): Describe use of headers
47085         from "make headers_install", not private headers from older
47086         kernels.
47087         * INSTALL: Regenerated.
47088         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47089         Change to 2.6.19.
47090         * sysdeps/unix/sysv/linux/configure: Regenerated.
47091
47092         * manual/llio.texi (fclean): Remove documentation.
47093
47094         * manual/Makefile (libc-texi-generated): New variable.  Include
47095         version.texi.
47096         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47097         $(libc-texi-generated), not duplicated list of files.
47098         (version.texi, stamp-version): New rules.
47099         (realclean): Remove $(libc-texi-generated), not individual files
47100         from that list.  Do not remove dir-add.texinfo.
47101         * manual/libc.texinfo: Comment out uses of edition numbers and
47102         references to printed manual.  Remove last-updated dates.
47103         (EDITION): Comment out.
47104         (ISBN): Likewise.
47105         (VERSION, UPDATED): Remove.
47106         (version.texi): Include.
47107
47108 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47109
47110         * sysdeps/posix/spawni.c: Include <signal.h>.
47111         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47112         * sysdeps/pthread/aio_fsync.c: Likewise.
47113
47114 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47115
47116         * conform/Makefile (tests): Run only when not cross-compiling and
47117         when fast-check is not defined.
47118
47119         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47120         * conform/data/limits.h-data: Fixes for POSIX2008.
47121         * conform/run-conformtest.sh: Run all tests.
47122         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47123         headers.
47124         * include/bits/dlfcn.h: Likewise.
47125         * include/langinfo.h: Likewise.
47126         * include/monetary.h: Likewise.
47127         * include/sys/poll.h: Likewise.
47128
47129         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47130         for __USE_GNU.
47131         * posix/spawn.h: Define __need_sigset_t.
47132         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47133         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47134         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47135         to get sigevent_t only.
47136         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47137         only for __USE_GNU.
47138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47139         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47140         process_vm_writev only for __USE_GNU.
47141         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47142
47143         * conform/Makefile: For now ignore errors from run-conformtest.
47144         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47145         POSIX to avoid namespace pollution.  Don't prepend headers.
47146         * conform/data/aio.h-data: Fixes for POSIX testing.
47147         * conform/data/fcntl.h-data: Likewise.
47148         * conform/data/glob.h-data: Likewise.
47149         * conform/data/grp.h-data: Likewise.
47150         * conform/data/pthread.h-data: Likewise.
47151         * conform/data/pwd.h-data: Likewise.
47152         * conform/data/signal.h-data: Likewise.
47153         * conform/data/spawn.h-data: Likewise.
47154         * conform/data/stdio.h-data: Likewise.
47155         * conform/data/stdlib.h-data: Likewise.
47156         * conform/data/stropts.h-data: Likewise.
47157         * conform/data/sys/mman.h-data: Likewise.
47158         * conform/data/sys/stat.h-data: Likewise.
47159         * conform/data/sys/types.h-data: Likewise.
47160         * conform/data/sys/wait.h-data: Likewise.
47161         * conform/data/time.h-data: Likewise.
47162         * conform/data/unistd.h-data: Likewise.
47163         * conform/data/utime.h-data: Likewise.
47164
47165         * io/sys/stat.h: fchmod was always in POSIX.
47166         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47167         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47168         * rt/aio.h: Define __need_timespec before including <time.h>.
47169         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47170         struct.  Add forward declaration of pthread_attr_t and use it in
47171         sigevent.
47172         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47173         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47174         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47175         always remove CLK_TCK definition.
47176
47177 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47178
47179         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47180
47181 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47182
47183         * conform/run-conformtest.sh: New file.
47184         * conform/Makefile: Run run-conformtest for tests.
47185         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47186         support.
47187
47188         * conform/data/uchar.h-data: New file.
47189         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47190         * conform/data/arpa/inet.h-data: Likewise.
47191         * conform/data/assert.h-data: Likewise.
47192         * conform/data/complex.h-data: Likewise.
47193         * conform/data/cpio.h-data: Likewise.
47194         * conform/data/ctype.h-data: Likewise.
47195         * conform/data/dirent.h-data: Likewise.
47196         * conform/data/dlfcn.h-data: Likewise.
47197         * conform/data/errno.h-data: Likewise.
47198         * conform/data/fcntl.h-data: Likewise.
47199         * conform/data/float.h-data: Likewise.
47200         * conform/data/fmtmsg.h-data: Likewise.
47201         * conform/data/fnmatch.h-data: Likewise.
47202         * conform/data/ftw.h-data: Likewise.
47203         * conform/data/glob.h-data: Likewise.
47204         * conform/data/grp.h-data: Likewise.
47205         * conform/data/iconv.h-data: Likewise.
47206         * conform/data/inttypes.h-data: Likewise.
47207         * conform/data/langinfo.h-data: Likewise.
47208         * conform/data/libgen.h-data: Likewise.
47209         * conform/data/limits.h-data: Likewise.
47210         * conform/data/locale.h-data: Likewise.
47211         * conform/data/math.h-data: Likewise.
47212         * conform/data/monetary.h-data: Likewise.
47213         * conform/data/mqueue.h-data: Likewise.
47214         * conform/data/ndbm.h-data: Likewise.
47215         * conform/data/net/if.h-data: Likewise.
47216         * conform/data/netdb.h-data: Likewise.
47217         * conform/data/netinet/in.h-data: Likewise.
47218         * conform/data/nl_types.h-data: Likewise.
47219         * conform/data/poll.h-data: Likewise.
47220         * conform/data/pthread.h-data: Likewise.
47221         * conform/data/pwd.h-data: Likewise.
47222         * conform/data/regex.h-data: Likewise.
47223         * conform/data/sched.h-data: Likewise.
47224         * conform/data/search.h-data: Likewise.
47225         * conform/data/semaphore.h-data: Likewise.
47226         * conform/data/setjmp.h-data: Likewise.
47227         * conform/data/signal.h-data: Likewise.
47228         * conform/data/spawn.h-data: Likewise.
47229         * conform/data/stdarg.h-data: Likewise.
47230         * conform/data/stdio.h-data: Likewise.
47231         * conform/data/stdlib.h-data: Likewise.
47232         * conform/data/string.h-data: Likewise.
47233         * conform/data/strings.h-data: Likewise.
47234         * conform/data/stropts.h-data: Likewise.
47235         * conform/data/sys/ipc.h-data: Likewise.
47236         * conform/data/sys/mman.h-data: Likewise.
47237         * conform/data/sys/msg.h-data: Likewise.
47238         * conform/data/sys/resource.h-data: Likewise.
47239         * conform/data/sys/select.h-data: Likewise.
47240         * conform/data/sys/sem.h-data: Likewise.
47241         * conform/data/sys/shm.h-data: Likewise.
47242         * conform/data/sys/socket.h-data: Likewise.
47243         * conform/data/sys/stat.h-data: Likewise.
47244         * conform/data/sys/statvfs.h-data: Likewise.
47245         * conform/data/sys/time.h-data: Likewise.
47246         * conform/data/sys/timeb.h-data: Likewise.
47247         * conform/data/sys/times.h-data: Likewise.
47248         * conform/data/sys/types.h-data: Likewise.
47249         * conform/data/sys/uio.h-data: Likewise.
47250         * conform/data/sys/un.h-data: Likewise.
47251         * conform/data/sys/utsname.h-data: Likewise.
47252         * conform/data/sys/wait.h-data: Likewise.
47253         * conform/data/syslog.h-data: Likewise.
47254         * conform/data/tar.h-data: Likewise.
47255         * conform/data/termios.h-data: Likewise.
47256         * conform/data/utime.h-data: Likewise.
47257         * conform/data/utmpx.h-data: Likewise.
47258         * conform/data/varargs.h-data: Likewise.
47259         * conform/data/wchar.h-data: Likewise.
47260         * conform/data/wctype.h-data: Likewise.
47261         * conform/data/wordexp.h-data: Likewise.
47262
47263         * include/stropts.h: New file.
47264         * include/uchar.h: New file.
47265         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47266         * include/assert.h: Likewise.
47267         * include/ctype.h: Likewise.
47268         * include/dirent.h: Likewise.
47269         * include/dlfcn.h: Likewise.
47270         * include/fcntl.h: Likewise.
47271         * include/fnmatch.h: Likewise.
47272         * include/glob.h: Likewise.
47273         * include/grp.h: Likewise.
47274         * include/libio.h: Likewise.
47275         * include/locale.h: Likewise.
47276         * include/math.h: Likewise.
47277         * include/net/if.h: Likewise.
47278         * include/netdb.h: Likewise.
47279         * include/netinet/in.h: Likewise.
47280         * include/pthread.h: Likewise.
47281         * include/pwd.h: Likewise.
47282         * include/regex.h: Likewise.
47283         * include/sched.h: Likewise.
47284         * include/search.h: Likewise.
47285         * include/setjmp.h: Likewise.
47286         * include/signal.h: Likewise.
47287         * include/stdio.h: Likewise.
47288         * include/stdlib.h: Likewise.
47289         * include/string.h: Likewise.
47290         * include/sys/cdefs.h: Likewise.
47291         * include/sys/mman.h: Likewise.
47292         * include/sys/msg.h: Likewise.
47293         * include/sys/resource.h: Likewise.
47294         * include/sys/select.h: Likewise.
47295         * include/sys/socket.h: Likewise.
47296         * include/sys/stat.h: Likewise.
47297         * include/sys/statvfs.h: Likewise.
47298         * include/sys/time.h: Likewise.
47299         * include/sys/times.h: Likewise.
47300         * include/sys/uio.h: Likewise.
47301         * include/sys/utsname.h: Likewise.
47302         * include/sys/wait.h: Likewise.
47303         * include/termios.h: Likewise.
47304         * include/time.h: Likewise.
47305         * include/ulimit.h: Likewise.
47306         * include/unistd.h: Likewise.
47307         * include/utime.h: Likewise.
47308         * include/wchar.h: Likewise.
47309         * include/wctype.h: Likewise.
47310         * include/wordexp.h: Likewise.
47311
47312         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47313
47314         * time/time.h: TIME_UTC must be a macro.
47315         Make timespec_get available for ISO C11 only as well.
47316
47317 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47318
47319         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47320         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47321
47322 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47323
47324         * configure.in: Use -o not -a in test for unsupported multi-arch.
47325
47326 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47327
47328         * manual/texinfo.tex: Update to version 2012-01-19.16.
47329
47330 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47331
47332         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47333
47334 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47335
47336         [BZ #13738]
47337         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47338         * manual/fdl-1.3.texi: New file.
47339         * manual/fdl-1.1.texi: File removed.
47340
47341         [BZ #13738]
47342         * manual/libc.texinfo (FDL_VERSION): New @set.
47343         Use it for mention of FDL in cover text.
47344         (Documentation License): Use it in @include file name.
47345
47346 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47347             Roland McGrath  <roland@hack.frob.com>
47348
47349         [BZ #5461]
47350         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47351         (not LONG_LONG_MAX and LONG_LONG_MIN.
47352         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47353         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47354         name.
47355         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47356
47357 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47358
47359         [BZ #2547]
47360         [BZ #11365]
47361         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47362         manipulate bits before adding and subtracting TWO23[sx].
47363         * math/libm-test.inc (nearbyint_test): Add more tests.
47364
47365 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47366
47367         [BZ #2548]
47368         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47369         bits before adding and subtracting TWO23[sx].
47370         * math/libm-test.inc (rint_test): Add more tests.
47371         (rint_test_tonearest): Likewise.
47372         (rint_test_towardzero): Likewise.
47373         (rint_test_downward): Likewise.
47374         (rint_test_upward: Likewise.
47375
47376 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47377
47378         [BZ #10110]
47379         * include/stdc-predef.h: New file.  Extracted from features.h.
47380         * include/features.h: Include stdc-predef.h.
47381         * Makefile (headers): Add stdc-predef.h.
47382         * CONFORMANCE (Compiler limitations): Update.
47383
47384 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47385
47386         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47387
47388 2012-02-21  David S. Miller  <davem@davemloft.net>
47389
47390         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47391         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47392
47393 2012-02-20  David S. Miller  <davem@davemloft.net>
47394
47395         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47396         using a normal save/restore sequence, rather than allocating a
47397         dummy stack frame just to store a frame pointer and restore.
47398         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47399
47400 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47401
47402         * manual/install.texi: Fix stray word in line-wrapped comment.
47403
47404 2012-02-20  David S. Miller  <davem@davemloft.net>
47405
47406         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47407         both binutils and gcc support GOTDATA.
47408
47409         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47410         "rd %pc" in the PIC register setup sequences.
47411
47412         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47413         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47414         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47415         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47416         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47417         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47418         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47419         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47421         (SYSCALL_ERROR_HANDLER): Likewise.
47422         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47423         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47424         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47425         (SYSCALL_ERROR_HANDLER): Likewise.
47426
47427         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47428         (HAVE_GCC_GOTDATA): New.
47429         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47430         relocation support in both binutils and gcc.
47431         * sysdeps/sparc/elf/configure: Regenerate.
47432
47433         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47434         * sysdeps/sparc/sparc32/elf/configure: Delete.
47435         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47436         * sysdeps/sparc/sparc64/elf/configure: Delete.
47437         * sysdeps/sparc/elf/configure.in: New file.
47438         * sysdeps/sparc/elf/configure: Generate.
47439
47440         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47441         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47442         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47443         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47444         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47445
47446 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47447
47448         * manual/install.texi: Do not mention specific glibc version
47449         numbers.
47450         * manual/libc.texinfo (VERSION, UPDATED): Update.
47451         (@copying): Use @copyright{} and range of years.
47452
47453 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47454
47455         [BZ #13695]
47456         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47457         [crti.S not in sysdirs] (generated): Do not append.
47458         [crti.S not in sysdirs] (omit-deps): Likewise.
47459         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47460         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47461         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47462         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47463         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47464         Likewise.
47465         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47466         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47467         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47468         * csu/defs.awk: Remove file.
47469         * sysdeps/generic/initfini.c: Likewise.
47470         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47471         variable.
47472         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47473         Likewise.
47474
47475 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47476
47477         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47478         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47479         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47480         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47481         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47482         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47483         <bits/epoll.h>.
47484         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47485         (__EPOLL_PACKED): Define to empty if not defined by
47486         <bits/epoll.h>.
47487         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47489         bits/epoll.h.
47490
47491 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47492
47493         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47494         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47495         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47496         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47497         <bits/timerfd.h>.
47498         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47499         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47500         bits/timerfd.h.
47501
47502 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47503
47504         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47505         in C locale.
47506         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47507         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47508         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47510
47511 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47512
47513         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47514         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47515
47516 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47517
47518         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47519         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47520         defined.
47521         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47522         Likewise.
47523         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47524         entry for 2.16.
47525
47526 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47527
47528         * math/w_acos.c: Use non-signaling floating-point comparisons.
47529         * math/w_acosf.c: Likewise.
47530         * math/w_acosh.c: Likewise.
47531         * math/w_acoshf.c: Likewise.
47532         * math/w_acoshl.c: Likewise.
47533         * math/w_acosl.c: Likewise.
47534         * math/w_asin.c: Likewise.
47535         * math/w_asinf.c: Likewise.
47536         * math/w_asinl.c: Likewise.
47537         * math/w_atanh.c: Likewise.
47538         * math/w_atanhf.c: Likewise.
47539         * math/w_atanhl.c: Likewise.
47540         * math/w_exp2.c: Likewise.
47541         * math/w_exp2f.c: Likewise.
47542         * math/w_exp2l.c: Likewise.
47543         * math/w_j0.c: Likewise.
47544         * math/w_j0f.c: Likewise.
47545         * math/w_j0l.c: Likewise.
47546         * math/w_j1.c: Likewise.
47547         * math/w_j1f.c: Likewise.
47548         * math/w_j1l.c: Likewise.
47549         * math/w_jn.c: Likewise.
47550         * math/w_jnf.c: Likewise.
47551         * math/w_log.c: Likewise.
47552         * math/w_log10.c: Likewise.
47553         * math/w_log10f.c: Likewise.
47554         * math/w_log10l.c: Likewise.
47555         * math/w_log2.c: Likewise.
47556         * math/w_log2f.c: Likewise.
47557         * math/w_log2l.c: Likewise.
47558         * math/w_logf.c: Likewise.
47559         * math/w_logl.c: Likewise.
47560         * math/w_sqrt.c: Likewise.
47561         * math/w_sqrtf.c: Likewise.
47562         * math/w_sqrtl.c: Likewise.
47563         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47564         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47565         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47566         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47567         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47568
47569 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47570
47571         [BZ #9739]
47572         * manual/string.texi (strnlen): Use correct parameter name in
47573         equivalent expression.
47574
47575 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47576
47577         [BZ #11174]
47578         * manual/users.texi (seteuid): Consistently use neweuid for
47579         argument name.
47580
47581 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47582
47583         [BZ #13704]
47584         * manual/nss.texi (Services in the NSS configuration): Correct
47585         list of services in example configuration file.
47586
47587 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47588
47589         [BZ #11322]
47590         * manual/arith.texi: Remove statements about negative zero
47591         behaving identically to zero.
47592
47593 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47594
47595         [BZ #5993]
47596         * manual/install.texi: Do not document upgrading from libc5.
47597
47598 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47599
47600         [BZ #4596]
47601         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47602
47603 2012-02-18  David S. Miller  <davem@davemloft.net>
47604
47605         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47606         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47607         %o7 across the call.
47608         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47609         instead.
47610         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47611         SETUP_PIC_REG_LEAF.
47612         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47613         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47614         * sysdeps/sparc/crtn.S: Likewise.
47615
47616 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47617
47618         * aout/Makefile: Remove.
47619
47620 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47621
47622         [BZ #13058]
47623         * manual/examples/argp-ex1.c (main): Format definition in GNU
47624         style.
47625         * manual/examples/argp-ex2.c (main): Likewise.
47626         * manual/examples/argp-ex3.c (main): Likewise.
47627         * manual/examples/argp-ex4.c (main): Likewise.
47628         * manual/examples/longopt.c (main): Use new-style prototype
47629         definition.
47630         * manual/examples/strncat.c (main): Specify return type and use
47631         (void) for arguments.
47632         * manual/examples/subopt.c (main): Use char **argv argument.
47633
47634 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47635
47636         [BZ #5077]
47637         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47638         rounding modes.
47639
47640 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47641
47642         [BZ #6907]
47643         * manual/string.texi (strchr): Change when strchrnul is
47644         recommended.
47645
47646 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47647
47648         [BZ #174]
47649         * manual/locale.texi (setlocale): Document LOCPATH.
47650
47651 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47652
47653         [BZ #10210]
47654         * manual/process.texi (execle): Move @dots{} before last argument.
47655
47656 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47657
47658         [BZ #12047]
47659         * manual/charset.texi (Generic Charset Conversion): Fix typo
47660         (LC_TYPE -> LC_CTYPE).
47661
47662 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47663
47664         [BZ #5805]
47665         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47666         (scalbnf): Likewise.
47667         (scalbnl): Likewise.
47668         (scalbln): Likewise.
47669         (scalblnf): Likewise.
47670         (scalblnl): Likewise.
47671         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47672         (vwarnx): Likewise.
47673         (verr): Likewise.
47674         (verrx): Likewise.
47675         * manual/filesys.texi (telldir): Use braces around return type.
47676         * manual/llio.texi (mmap): Add space after comma.
47677         (mmap64): Likewise.
47678         * manual/math.texi (jn): Use @var{} on parameter names.
47679         (jnf): Likewise.
47680         (jnl): Likewise.
47681         (yn): Likewise.
47682         (ynf): Likewise.
47683         (ynl): Likewise.
47684         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47685         line.
47686         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47687         "...".
47688         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47689         (sched_get_priority_max): Likewise.
47690         * manual/signal.texi (sigvec): Add space after comma.
47691         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47692         names.
47693         (if_indextoname): Likewise.
47694         (if_freenameindex): Likewise.
47695         (sendto): Use ',' instead of '.' in prototype.
47696         * manual/startup.texi (syscall): Use @dots{} instead of literal
47697         "...".
47698         * manual/stdio.texi (__fpending): Separate initial words of
47699         paragraph from @deftypefun line.
47700         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47701         "...".
47702         (vsyslog): Use @var{} on parameter names.
47703         * manual/terminal.texi (stty): Use @var{} on parameter names.
47704         * manual/users.texi (getutmp): Use @var{} on parameter names.
47705         (getutmpx): Likewise.
47706
47707 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47708
47709         [BZ #6884]
47710         * manual/stdio.texi (fopen): Fix typos in description of
47711         ",ccs=STRING".
47712
47713 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47714
47715         [BZ #4026]
47716         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47717         get clock_id definition.
47718
47719 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47720
47721         [BZ #4822]
47722         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47723         (madvise): Cast every argument to void on its own.
47724
47725 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47726
47727         [BZ #9902]
47728         * manual/startup.texi (Exit Status): Fix typo.
47729
47730 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47731
47732         [BZ #10140]
47733         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47734         * manual/examples/argp-ex2.c: Likewise.
47735         * manual/examples/argp-ex3.c: Likewise.
47736
47737 2012-02-16  Richard Henderson  <rth@redhat.com>
47738
47739         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47740         * sysdeps/s390/s390-32/initfini.c: Remove.
47741         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47742         * sysdeps/s390/s390-64/initfini.c: Remove.
47743
47744 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47745
47746         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47747         compiler output for sysdeps/generic/initfini.c.
47748         * sysdeps/sh/elf/initfini.c: Remove file.
47749
47750 2012-02-16  David S. Miller  <davem@davemloft.net>
47751
47752         [BZ #11494]
47753         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47754
47755         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47756         * sysdeps/sparc/crti.S: New file.
47757         * sysdeps/sparc/crtn.S: New file.
47758         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47759         * sysdeps/sparc/sparc64/Makefile: Likewise.
47760
47761 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47762
47763         [BZ #3335]
47764         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47765
47766 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47767
47768         [BZ #4822]
47769         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47770
47771         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47772         (write, read, close): Likewise.
47773         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47774
47775 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47776
47777         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47778         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47779         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47780         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47781         <bits/signalfd.h>.
47782         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47784         bits/signalfd.h.
47785
47786 2012-02-14  Marek Polacek  <polacek@redhat.com>
47787
47788         * sysdeps/x86_64/crti.S: New file.
47789         * sysdeps/x86_64/crtn.S: New file.
47790         * sysdeps/x86_64/elf/initfini.c: Remove file.
47791
47792 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47793
47794         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47795         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47796         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47797         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47798         <bits/inotify.h>.
47799         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47801         bits/inotify.h.
47802
47803 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47804
47805         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47806         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47807         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47808         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47809         <bits/eventfd.h>.
47810         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47811         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47812         bits/eventfd.h.
47813
47814 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47815
47816         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47817         __feraiseexcept instead of feraiseexcept.
47818
47819         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47820         nanosleep invocations.
47821         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47822         strings, and add error checking for a nanosleep invocations.
47823
47824 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47825
47826         Replace FSF snail mail address with URLs, as per GNU coding standards.
47827         Most of the snail mail addresses were wrong anyway, and omitting
47828         them makes the source code easier to maintain.  Almost all of the
47829         changes are to license notices and to locale LC_IDENTIFICATION
47830         addresses, except for this one:
47831         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47832         not its snail mail address.
47833
47834 2012-02-09  Richard Henderson  <rth@twiddle.net>
47835
47836         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47837         of kernel-features.h.
47838
47839         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47840
47841 2012-02-08  Marek Polacek  <polacek@redhat.com>
47842
47843         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47844         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47845         * sysdeps/gnu/_G_config.h: Likewise.
47846         * sysdeps/generic/_G_config.h: Likewise.
47847
47848 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47849
47850         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47851         tests.
47852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47853
47854         * sysdeps/powerpc/powerpc32/crti.S: New file.
47855         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47856         * sysdeps/powerpc/powerpc64/crti.S: New file.
47857         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47858
47859         * Makeconfig (have-initfini): Don't set.
47860         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47861         * configure.in (nopic_initfini): Don't substitute.
47862         * config.h.in (HAVE_INITFINI): Don't #undef.
47863         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47864         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47865
47866 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47867
47868         Support crti.S and crtn.S provided directly by architectures.
47869         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47870         [crti.S in sysdirs] (omit-deps): Likewise.
47871         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47872         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47873         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47874         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47875         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47876         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47877         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47878         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47879         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47880         compiler output for sysdeps/generic/initfini.c.
47881         * sysdeps/i386/elf/Makefile: Remove file.
47882         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47883
47884 2012-02-07  Marek Polacek  <polacek@redhat.com>
47885
47886         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47887         * sysdeps/gnu/_G_config.h: Likewise.
47888         * sysdeps/mach/hurd/_G_config.h: Likewise.
47889
47890 2012-02-07  Marek Polacek  <polacek@redhat.com>
47891
47892         * math/Makefile (tests): Add tst-CMPLX2.
47893         * math/tst-CMPLX2.c: New file.
47894
47895 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47896
47897         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47898
47899         * math/libm-test.inc (jn_test): Add missing L suffix.
47900
47901 2012-02-06  Marek Polacek  <polacek@redhat.com>
47902
47903         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47904         * sysdeps/i386/fpu/e_powf.S: Likewise.
47905         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47906         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47907         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47908         * sysdeps/i386/fpu/e_pow.S: Likewise.
47909         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47910         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47911         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47912         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47913         * sysdeps/i386/fpu/e_log2.S: Likewise.
47914         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47915         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47916         * sysdeps/i386/fpu/e_powl.S: Likewise.
47917         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47918         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47919         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47920         * sysdeps/i386/fpu/e_logl.S: Likewise.
47921         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47922         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47923         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47924         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47925         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47926         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47927         * sysdeps/i386/fpu/e_log.S: Likewise.
47928         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47929         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47930         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47931         * sysdeps/i386/fpu/e_logf.S: Likewise.
47932         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47933         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47934         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47935         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47936         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47937         * sysdeps/i386/fpu/e_log10.S: Likewise.
47938         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47939         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47940         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47941         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47942         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47943         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47944         * sysdeps/i386/asm-syntax.h: Likewise.
47945         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47946         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47947         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47948         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47949         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47950         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47951         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47952         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47953         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47954         * sysdeps/powerpc/sysdep.h: Likewise.
47955         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47956         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47957
47958 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47959
47960         [BZ #411]
47961         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47962
47963 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47964
47965         * sysdeps/i386/sysdep.h: Include <features.h>.
47966         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47967         version.
47968
47969 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47970
47971         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47972         Define.
47973         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47974         LOAD_PIC_REG_STR.
47975
47976 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47977
47978         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47979         (SETUP_PIC_REG): Use GET_PC_THUNK.
47980         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47981         macro.
47982
47983 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47984
47985         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47986         for non-PIC compilation.
47987         (SETUP_PIC_REG): Add .p2align directive.
47988         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47989         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47990         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47991         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47992         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47993         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47994         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47995         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47996         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47997         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47998         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47999         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48000         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48001         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48002         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48003         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48004         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48005         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48006         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48007         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48008         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48009         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48010         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48011         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48012         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48014         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48015         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48016         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48017         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48018         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48019         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48020         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48021         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48022         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48023         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48024         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48025         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48026         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48027         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48028         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48029
48030 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48031
48032         * math/tst-CMPLX.c: Include <stdio.h>.
48033
48034 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48035
48036         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48037         float.
48038         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48039         * sysdeps/sparc/bits/mathdef.h: Likewise.
48040
48041 2012-01-31  Marek Polacek  <polacek@redhat.com>
48042
48043         * libio/libio.h: Don't define _PARAMS.
48044         * locale/programs/config.h: Don't define PARAMS.
48045         * stdlib/strtol_l.c: Likewise.
48046         (__strtol_l): Remove PARAMS from the prototype.
48047
48048 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48049
48050         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48051         names.  Just use the correct names.  Remove unnecessary wrapper
48052         functions.
48053         * malloc/arena.c: Likewise.
48054         * malloc/hooks.c: Likewise.
48055
48056         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48057         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48058         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48059
48060 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48061
48062         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48063         into tail calls.
48064         (update_get_addr): New function.
48065         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48066         GET_ADDR_MODULE parameter.
48067
48068 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48069
48070         * crypt/cert.c: Remove __STDC__ conditionals.
48071         * crypt/crypt-entry.c: Likewise.
48072         * crypt/crypt_util.c: Likewise.
48073         * libio/filedoalloc.c: Likewise.
48074         * libio/fileops.c: Likewise.
48075         * libio/genops.c: Likewise.
48076         * libio/iofclose.c: Likewise.
48077         * libio/iofdopen.c: Likewise.
48078         * libio/iofopen.c: Likewise.
48079         * libio/iofopen64.c: Likewise.
48080         * libio/iogetdelim.c: Likewise.
48081         * libio/iopopen.c: Likewise.
48082         * libio/obprintf.c: Likewise.
48083         * libio/oldfileops.c: Likewise.
48084         * libio/oldiofclose.c: Likewise.
48085         * libio/oldiofdopen.c: Likewise.
48086         * libio/oldiofopen.c: Likewise.
48087         * libio/oldiopopen.c: Likewise.
48088         * libio/wfiledoalloc.c: Likewise.
48089         * libio/wgenops.c: Likewise.
48090         * locale/programs/xmalloc.c: Likewise.
48091         * misc/syslog.c: Likewise.
48092         * stdio-common/xbug.c: Likewise.
48093         * string/memchr.c: Likewise.
48094         * string/memcmp.c: Likewise.
48095         * string/memrchr.c: Likewise.
48096         * string/rawmemchr.c: Likewise.
48097         * sysdeps/posix/getcwd.c: Likewise.
48098         * time/strftime_l.c: Likewise.
48099
48100 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48101
48102         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48103         * config.make.in (config-cflags-sse2avx): Define.
48104         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48105         Fix typo.
48106
48107 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48108
48109         * scripts/config.guess: Update from upstream config git repository.
48110         * scripts/config.sub: Likewise.
48111
48112 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48113
48114         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48115         (EM_NUM): Update.
48116         (R_TILEPRO_*, R_TILEGX_*): New macros.
48117
48118         * scripts/firstversions.awk: Fix bug in version range handling.
48119
48120         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48121
48122         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48123
48124         * include/sys/epoll.h: New file.
48125         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48126         libc_hidden_def.
48127
48128 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48129
48130         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48131         Avoid unnecessary __WORDSIZE == 64 test.
48132         (fmaxf): Use VEX format if possible.
48133         (fmax): Likewise.
48134         (fminf): Likewise.
48135         (fmin): Likewise.
48136
48137         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48138         * math/math_private.h: Remove libc_fegetround* and
48139         libc_fesetround*.
48140         * sysdeps/i386/configure.in: Check for -msse2avx.
48141         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48142         also if SSE2AVX is defined.
48143         Remove libc_fegetround* and libc_fesetround*.
48144         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48145         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48146         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48147         of HAS_YMM_USABLE.
48148         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48149         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48150         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48151         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48152         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48153
48154         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48155
48156 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48157
48158         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48159         size is not set.
48160         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48161
48162 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48163
48164         [BZ #13618]
48165         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48166         relocation.
48167         * Makeconfig (libm): Define.
48168         * elf/Makefile: Add rules to build and run tst-relsort1.
48169         * elf/tst-relsort1.c: New file.
48170         * elf/tst-relsort1mod1.c: New file.
48171         * elf/tst-relsort1mod2.c: New file.
48172
48173 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48174
48175         * math/s_ldexp.c: Remove __STDC__ conditionals.
48176         * math/s_ldexpf.c: Likewise.
48177         * math/s_ldexpl.c: Likewise.
48178         * math/s_nextafter.c: Likewise.
48179         * math/s_nexttowardf.c: Likewise.
48180         * math/s_significand.c: Likewise.
48181         * math/s_significandf.c: Likewise.
48182         * math/s_significandl.c: Likewise.
48183         * math/w_jnl.c: Likewise.
48184         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48185         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48186         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48187         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48188         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48189         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48190         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48191         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48192         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48193         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48194         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48195         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48196         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48197         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48198         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48199         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48200         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48201         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48202         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48203         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48204         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48205         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48206         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48207         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48208         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48209         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48210         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48211         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48212         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48213         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48214         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48215         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48216         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48217         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48218         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48219         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48220         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48221         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48222         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48223         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48224         * sysdeps/ieee754/k_standard.c: Likewise.
48225         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48226         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48227         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48228         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48229         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48230         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48231         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48232         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48233         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48234         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48235         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48236         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48237         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48238         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48239         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48240         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48241         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48242         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48243         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48244         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48245         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48246         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48247         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48248         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48249         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48250         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48251         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48252         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48254         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48255         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48256         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48257         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48258         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48259         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48260         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48261         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48262         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48263         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48264         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48265         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48266         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48267         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48268         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48269         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48270         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48271         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48272         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48273         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48274         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48275         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48276         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48277         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48278         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48279         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48280         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48281         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48282         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48283         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48284         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48285         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48286         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48287         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48288         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48289         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48290         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48291         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48292         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48293         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48294         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48295         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48296         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48297         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48298         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48299         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48300         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48301         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48302         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48303         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48304         * sysdeps/ieee754/s_matherr.c: Likewise.
48305         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48306         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48307         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48308         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48309
48310 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48311
48312         * crypt/md5.h: Remove __STDC__ conditionals.
48313         * libio/libioP.h: Likewise.
48314         * locale/programs/config.h: Likewise.
48315         * sysdeps/generic/sysdep.h: Likewise.
48316         * sysdeps/i386/asm-syntax.h: Likewise.
48317         * sysdeps/s390/asm-syntax.h: Likewise.
48318         * sysdeps/unix/sysdep.h: Likewise.
48319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48321
48322 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48323
48324         * libio/libio.h: Remove __STDC__ conditionals.
48325         * malloc/obstack.h: Likewise.
48326         * math/complex.h: Likewise.
48327         * math/math.h: Likewise.
48328         * sysdeps/generic/_G_config.h: Likewise.
48329         * sysdeps/gnu/_G_config.h: Likewise.
48330         * sysdeps/mach/hurd/_G_config.h: Likewise.
48331         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48332         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48333         * sysdeps/sparc/bits/mathdef.h: Likewise.
48334
48335 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48336
48337         [BZ #13583]
48338         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48339         Clean up HAS_* macros.
48340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48341         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48342         possible.
48343         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48344         HAS_AVX.
48345         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48346         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48347         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48348         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48349         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48350
48351 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48352
48353         * elf/tst-unique3.cc (gets): Remove declaration.
48354         * elf/tst-unique3lib.cc (gets): Likewise.
48355         * elf/tst-unique3lib2.cc (gets): Likewise.
48356         * elf/tst-unique4.cc (gets): Likewise.
48357
48358 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48359
48360         * include/stdio.h: Add C++ protection.  Add gets declarations and
48361         definitions.
48362         * debug/tst-chk1.c: Don't declare gets here.
48363         * stdio-common/tst-gets.c: Likewise.
48364
48365 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48366
48367         * posix/glob: Remove directory.
48368
48369 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48370
48371         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48372
48373 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48374
48375         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48376         of the non-standard EPFNOSUPPORT.
48377
48378 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48379
48380         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48381         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48382         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48383
48384 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48385
48386         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48387
48388 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48389
48390         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48391         transient errors.
48392         * nscd/grpcache.c (cache_addgr): Likewise.
48393         * nscd/hstcache.c (cache_addhst): Likewise.
48394         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48395         * nscd/pwdcache.c (cache_addpw): Likewise.
48396         * nscd/servicescache.c (cache_addserv): Likewise.
48397
48398 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48399
48400         * malloc/malloc.c: Various cleanups.
48401         * malloc/hooks.c: Likewise.
48402
48403         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48404         * stdlib/bug-fmtmsg1.c: New file.
48405
48406         * stdlib/fmtmsg.c (init): Add missing unlock.
48407         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48408
48409 2012-01-12  Marek Polacek  <polacek@redhat.com>
48410
48411         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48412         and _GNU_SOURCE.
48413
48414 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48415
48416         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48417         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48418         macro to ensure uniqueness of label name.
48419         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48420         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48421
48422 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48423
48424         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48425
48426         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48427         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48428         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48430
48431 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48432
48433         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48434
48435         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48436         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48437         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48438
48439         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48440
48441         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48442         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48443         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48444         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48445
48446         * math/bits/math-finite.h: Add ldexp support.
48447
48448 2012-01-10  Marek Polacek  <polacek@redhat.com>
48449
48450         * locale/programs/localedef.h (show_archive_content): Add noreturn
48451         attribute.
48452
48453 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48454
48455         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48456
48457 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48458
48459         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48460
48461         * io/Makefile (headers): Add bits/poll2.h.
48462
48463 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48464
48465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48466         typo #include statement.
48467
48468 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48469
48470         * include/sys/cdefs.h: Define __attribute_alloc_size.
48471         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48472         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48473         * elf/pldd.c: Likewise.
48474         * iconv/iconv_charmap.c: Likewise.
48475         * iconv/iconvconfig.c: Likewise.
48476         * iconv/strtab.c: Likewise.
48477         * locale/programs/locale.c: Likewise.
48478         * locale/programs/localedef.h: Likewise.
48479         * locale/programs/simple-hash.c: Likewise.
48480         * nscd/nscd.h: Likewise.
48481         * nss/makedb.c: Likewise.
48482         * sysdeps/generic/ldconfig.h: Likewise.
48483         * locale/programs/localedef.c: Remove xmalloc prototype.
48484         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48485
48486 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48487
48488         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48489         appropriate.
48490
48491 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48492
48493         * math/Makefile (tests): Add tst-CMPLX.
48494         * math/tst-CMPLX.c: New file.
48495
48496         * math/complex.h (CMPLXL): Fix typo.
48497
48498         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48499         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48500         GLIBC_2.16.
48501         * debug/tst-chk1.c: Add poll and ppoll tests.
48502         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48503         * include/sys/poll.h: Add hidden proto for ppoll.
48504         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48505         * sysdeps/mach/hurd/ppoll.c: Likewise.
48506         * io/ppoll.c: Likewise.
48507         * debug/poll_chk.c: New file.
48508         * debug/ppoll_chk.c: New file.
48509         * include/bits/poll2.h: New file.
48510         * io/bits/poll2.h: New file.
48511
48512         [BZ #1350]
48513         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48514
48515         * configure.in: static is always set to yes.  Remove.
48516         * config.make.in: Don't set build-static.
48517         * Makeconfig: Remove use of build-static.
48518         * dlfcn/Makefile: Likewise.
48519         * elf/Makefile: Likewise.
48520         * math/Makefile: Likewise.
48521         * misc/Makefile: Likewise.
48522         * nptl/Makefile: Likewise.
48523         * sysdeps/mach/hurd/Makefile: Likewise.
48524
48525         * configure.in: PWD_P is not used anymore.
48526         * config.make.in: Remove PWD_P entry.
48527
48528         * configure.in: Remove last remnants of RANLIB.
48529         No need to check for signed size_t anymore.
48530         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48531         and IA-64.
48532         Remove __builtin_expect test because we require at least gcc 3.4.
48533         * aclocal.m4: Likewise.
48534
48535         * wcsmbs/mbrtoc16.c: Implement using towc function.
48536         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48537         * wcsmbs/wcsmbsload.c: Likewise.
48538         * iconv/gconv_simple.c: Likewise.
48539         * iconv/gconv_int.h: Likewise.
48540         * iconv/gconv_builtin.h: Likewise.
48541         * iconv/iconv_prog.c: Remove CHAR16 handling.
48542
48543         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48544
48545         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48546
48547         * configure.in: Remove --with-elf and --enable-bounded options.
48548         Dont set base_machine for ia64.  More non-ELF conditions removed.
48549         Remove testing and setting of leading underscore information.
48550         * config.make.in (build-bounded): Set to no.
48551         * config.h.in: Remove NO_UNDERSCORES entry.
48552         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48553         them.
48554         * csu/start.c: Remove !NO_UNDERSCORE code.
48555         * locale/localeinfo.h: Likewise.
48556         * sysdeps/generic/machine-gmon.h: Likewise.
48557         * sysdeps/generic/sysdep.h: Likewise.
48558         * sysdeps/i386/sysdep.h: Likewise.
48559         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48560         * sysdeps/mach/sysdep.h: Likewise.
48561         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48562         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48563         * sysdeps/sh/sysdep.h: Likewise.
48564         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48565         * sysdeps/unix/i386/sysdep.S: Likewise.
48566         * sysdeps/unix/sparc/start.c: Likewise.
48567         * sysdeps/unix/sparc/sysdep.S: Likewise.
48568         * sysdeps/unix/sparc/sysdep.h: Likewise.
48569         * sysdeps/unix/start.c: Likewise.
48570         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48571         * sysdeps/x86_64/sysdep.h: Likewise.
48572
48573 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48574
48575         [BZ #13553]
48576         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48577         for non-gcc.
48578         * argp/argp-fmtstream.h: Use const instead __const.
48579         * argp/argp.h: Likewise.
48580         * assert/assert.h: Likewise.
48581         * bits/fenv.h: Likewise.
48582         * bits/sched.h: Likewise.
48583         * bits/sigset.h: Likewise.
48584         * bits/sigthread.h: Likewise.
48585         * catgets/nl_types.h: Likewise.
48586         * conform/data/pthread.h-data: Likewise.
48587         * crypt/crypt-private.h: Likewise.
48588         * crypt/crypt.h: Likewise.
48589         * crypt/crypt_util.c: Likewise.
48590         * ctype/ctype.h: Likewise.
48591         * debug/execinfo.h: Likewise.
48592         * debug/mbsnrtowcs_chk.c: Likewise.
48593         * debug/mbsrtowcs_chk.c: Likewise.
48594         * debug/wcsnrtombs_chk.c: Likewise.
48595         * debug/wcsrtombs_chk.c: Likewise.
48596         * debug/wcstombs_chk.c: Likewise.
48597         * dirent/dirent.h: Likewise.
48598         * dlfcn/dlfcn.h: Likewise.
48599         * elf/neededtest4.c: Likewise.
48600         * grp/grp.h: Likewise.
48601         * gshadow/gshadow.h: Likewise.
48602         * iconv/gconv.h: Likewise.
48603         * iconv/gconv_int.h: Likewise.
48604         * iconv/gconv_simple.c: Likewise.
48605         * iconv/iconv.h: Likewise.
48606         * iconv/loop.c: Likewise.
48607         * iconv/skeleton.c: Likewise.
48608         * include/aio.h: Likewise.
48609         * include/aliases.h: Likewise.
48610         * include/argz.h: Likewise.
48611         * include/arpa/inet.h: Likewise.
48612         * include/assert.h: Likewise.
48613         * include/dirent.h: Likewise.
48614         * include/dlfcn.h: Likewise.
48615         * include/execinfo.h: Likewise.
48616         * include/fcntl.h: Likewise.
48617         * include/fenv.h: Likewise.
48618         * include/glob.h: Likewise.
48619         * include/grp.h: Likewise.
48620         * include/libintl.h: Likewise.
48621         * include/mntent.h: Likewise.
48622         * include/netdb.h: Likewise.
48623         * include/pwd.h: Likewise.
48624         * include/rpc/netdb.h: Likewise.
48625         * include/sched.h: Likewise.
48626         * include/search.h: Likewise.
48627         * include/shadow.h: Likewise.
48628         * include/signal.h: Likewise.
48629         * include/stdio.h: Likewise.
48630         * include/stdlib.h: Likewise.
48631         * include/string.h: Likewise.
48632         * include/sys/socket.h: Likewise.
48633         * include/sys/stat.h: Likewise.
48634         * include/sys/statfs.h: Likewise.
48635         * include/sys/statvfs.h: Likewise.
48636         * include/sys/syslog.h: Likewise.
48637         * include/sys/time.h: Likewise.
48638         * include/sys/uio.h: Likewise.
48639         * include/time.h: Likewise.
48640         * include/unistd.h: Likewise.
48641         * include/utmp.h: Likewise.
48642         * include/wchar.h: Likewise.
48643         * include/wctype.h: Likewise.
48644         * inet/aliases.h: Likewise.
48645         * inet/arpa/inet.h: Likewise.
48646         * inet/netinet/ether.h: Likewise.
48647         * inet/netinet/in.h: Likewise.
48648         * intl/libintl.h: Likewise.
48649         * io/bits/fcntl2.h: Likewise.
48650         * io/fcntl.h: Likewise.
48651         * io/ftw.h: Likewise.
48652         * io/sys/poll.h: Likewise.
48653         * io/sys/stat.h: Likewise.
48654         * io/sys/statfs.h: Likewise.
48655         * io/sys/statvfs.h: Likewise.
48656         * io/utime.h: Likewise.
48657         * libio/bits/stdio.h: Likewise.
48658         * libio/bits/stdio2.h: Likewise.
48659         * libio/libio.h: Likewise.
48660         * libio/libioP.h: Likewise.
48661         * libio/stdio.h: Likewise.
48662         * locale/lc-ctype.c: Likewise.
48663         * locale/locale.h: Likewise.
48664         * login/utmp.h: Likewise.
48665         * malloc/arena.c: Likewise.
48666         * malloc/malloc.c: Likewise.
48667         * malloc/malloc.h: Likewise.
48668         * malloc/mcheck.c: Likewise.
48669         * malloc/mtrace.c: Likewise.
48670         * math/bits/mathcalls.h: Likewise.
48671         * math/fenv.h: Likewise.
48672         * math/math_private.h: Likewise.
48673         * misc/bits/error.h: Likewise.
48674         * misc/bits/syslog.h: Likewise.
48675         * misc/err.h: Likewise.
48676         * misc/error.h: Likewise.
48677         * misc/fstab.h: Likewise.
48678         * misc/mntent.h: Likewise.
48679         * misc/regexp.h: Likewise.
48680         * misc/search.h: Likewise.
48681         * misc/sgtty.h: Likewise.
48682         * misc/sys/mman.h: Likewise.
48683         * misc/sys/syslog.h: Likewise.
48684         * misc/sys/uio.h: Likewise.
48685         * misc/sys/xattr.h: Likewise.
48686         * misc/ttyent.h: Likewise.
48687         * nis/rpcsvc/ypclnt.h: Likewise.
48688         * nss/nss.h: Likewise.
48689         * posix/bits/unistd.h: Likewise.
48690         * posix/fnmatch.h: Likewise.
48691         * posix/glob.h: Likewise.
48692         * posix/sched.h: Likewise.
48693         * posix/spawn.h: Likewise.
48694         * posix/sys/wait.h: Likewise.
48695         * posix/unistd.h: Likewise.
48696         * posix/wordexp.h: Likewise.
48697         * pwd/pwd.h: Likewise.
48698         * resolv/netdb.h: Likewise.
48699         * resource/sys/resource.h: Likewise.
48700         * rt/aio.h: Likewise.
48701         * rt/bits/mqueue2.h: Likewise.
48702         * rt/mqueue.h: Likewise.
48703         * shadow/shadow.h: Likewise.
48704         * signal/signal.h: Likewise.
48705         * socket/send.c: Likewise.
48706         * socket/sendto.c: Likewise.
48707         * socket/sys/socket.h: Likewise.
48708         * stdio-common/printf.h: Likewise.
48709         * stdlib/bits/stdlib.h: Likewise.
48710         * stdlib/fmtmsg.h: Likewise.
48711         * stdlib/monetary.h: Likewise.
48712         * stdlib/stdlib.h: Likewise.
48713         * stdlib/ucontext.h: Likewise.
48714         * streams/stropts.h: Likewise.
48715         * string/argz.h: Likewise.
48716         * string/bits/string2.h: Likewise.
48717         * string/string.h: Likewise.
48718         * string/strings.h: Likewise.
48719         * sunrpc/rpc/auth.h: Likewise.
48720         * sunrpc/rpc/auth_des.h: Likewise.
48721         * sunrpc/rpc/clnt.h: Likewise.
48722         * sunrpc/rpc/netdb.h: Likewise.
48723         * sunrpc/rpc/pmap_clnt.h: Likewise.
48724         * sunrpc/rpc/xdr.h: Likewise.
48725         * sysdeps/generic/inttypes.h: Likewise.
48726         * sysdeps/generic/net/if.h: Likewise.
48727         * sysdeps/generic/sys/swap.h: Likewise.
48728         * sysdeps/gnu/net/if.h: Likewise.
48729         * sysdeps/gnu/utmpx.h: Likewise.
48730         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48731         * sysdeps/i386/i486/bits/string.h: Likewise.
48732         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48733         * sysdeps/s390/bits/string.h: Likewise.
48734         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48735         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48736         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48737         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48738         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48739         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48740         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48741         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48742         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48743         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48744         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48745         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48746         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48747         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48748         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48749         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48750         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48752         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48753         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48754         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48755         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48756         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48757         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48758         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48759         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48760         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48761         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48762         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48763         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48764         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48765         * sysvipc/sys/ipc.h: Likewise.
48766         * sysvipc/sys/msg.h: Likewise.
48767         * sysvipc/sys/sem.h: Likewise.
48768         * sysvipc/sys/shm.h: Likewise.
48769         * termios/termios.h: Likewise.
48770         * time/sys/time.h: Likewise.
48771         * time/time.h: Likewise.
48772         * wcsmbs/bits/wchar2.h: Likewise.
48773         * wcsmbs/uchar.h: Likewise.
48774         * wcsmbs/wchar.h: Likewise.
48775         * wctype/wctype.h: Likewise.
48776
48777         [BZ #13551]
48778         * Makeconfig: Remove all but ELF support including AIX support.
48779         * Makerules: Likewise.
48780         * config.h.in: Likewise.
48781         * config.make.in: Likewise.
48782         * configure: Likewise.
48783         * configure.in: Likewise.
48784         * csu/Makefile: Likewise.
48785         * csu/version.c: Likewise.
48786         * debug/Makefile: Likewise.
48787         * dlfcn/Makefile: Likewise.
48788         * elf/Makefile: Likewise.
48789         * extra-lib.mk: Likewise.
48790         * iconv/Makefile: Likewise.
48791         * include/libc-symbols.h: Likewise.
48792         * include/shlib-compat.h: Likewise.
48793         * resolv/Makefile: Likewise.
48794         * resolv/res_libc.c: Likewise.
48795         * rt/Makefile: Likewise.
48796         * sysdeps/i386/asm-syntax.h: Likewise.
48797         * sysdeps/i386/sysdep.h: Likewise.
48798         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48799         * sysdeps/mach/sysdep.h: Likewise.
48800         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48801         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48802         * sysdeps/s390/asm-syntax.h: Likewise.
48803         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48804         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48805         * sysdeps/sh/sysdep.h: Likewise.
48806         * sysdeps/unix/sparc/sysdep.h: Likewise.
48807         * sysdeps/wordsize-32/divdi3.c: Likewise.
48808         * sysdeps/x86_64/sysdep.h: Likewise.
48809
48810         * argp/Versions: Remove _argp_unlock_xxx.
48811
48812         [BZ #13559]
48813         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48814         * abilist/libBrokenLocale.abilist: Likewise.
48815         * abilist/libanl.abilist: Likewise.
48816         * abilist/libc.abilist: Likewise.
48817         * abilist/libcrypt.abilist: Likewise.
48818         * abilist/libdl.abilist: Likewise.
48819         * abilist/libm.abilist: Likewise.
48820         * abilist/libnsl.abilist: Likewise.
48821         * abilist/libpthread.abilist: Likewise.
48822         * abilist/libresolv.abilist: Likewise.
48823         * abilist/librt.abilist: Likewise.
48824         * abilist/libthread_db.abilist: Likewise.
48825         * abilist/libutil.abilist: Likewise.
48826         * abilist/libnss_db.abilist: New file.
48827
48828         * scripts/abilist.awk: Add support for indirect functions.
48829
48830         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48831
48832         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48833
48834         * shlib-versions: Remove entries for ports architectures.
48835
48836         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48837         files in ports.
48838         * elf/stackguard-macros.h: Remove support for IA-64.
48839         * elf/tst-auditmod1.c: Likewise.
48840         * sysdeps/generic/ldsodefs.h: Likewise.
48841
48842         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48843         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48844         configure files.
48845
48846         [BZ #13552]
48847         * configure.in: Remove --enable-omitfp support.
48848         * FAQ.in: Adjust.
48849         * config.make.in: Likewise.
48850         * Makeconfig: Likewise.
48851         * manual/install.texi: Likewise.
48852
48853         In case anyone cares, the IA-64 architecture could move to ports.
48854         * sysdeps/ia64/*: Removed.
48855         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48856         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48857
48858         [BZ #13555]
48859         * configure.in: Remove entries for unsupported architectures.
48860
48861         [BZ #13533]
48862         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48863         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48864         routines.
48865         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48866         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48867         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48868         fall back to using wcrtomb.
48869         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48870         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48871         renaming.
48872         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48873         * wcsmbs/tst-c16c32-1.c: New file.
48874
48875         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48876         local variable.
48877
48878         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48879
48880         * elf/tst-unique3.cc: Add explicit declaration of gets.
48881         * elf/tst-unique3lib.cc: Likewise.
48882         * elf/tst-unique3lib2.cc: Likewise.
48883         * elf/tst-unique4.cc: Likewise.
48884
48885         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48886
48887 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48888
48889         [BZ #13566]
48890         * assert/assert.h (static_assert): Don't define for C++.
48891         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48892         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48893
48894 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48895
48896         * iconv/loop.c (single loop): Fix assertion in storing of
48897         remaining bytes.
48898
48899         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48900
48901 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48902
48903         * posix/getconf.c: Update copyright year.
48904         * nss/getent.c: Likewise.
48905         * nss/makedb.c: Likewise.
48906         * iconv/iconvconfig.c: Likewise.
48907         * iconv/iconv_prog.c: Likewise.
48908         * elf/ldconfig.c: Likewise.
48909         * elf/pldd.c: Likewise.
48910         * elf/sotruss.ksh: Likewise.
48911         * catgets/gencat.c: Likewise.
48912         * csu/version.c: Likewise.
48913         * elf/ldd.bash.in: Likewise.
48914         * elf/sprof.c (print_version): Likewise.
48915         * locale/programs/locale.c: Likewise.
48916         * locale/programs/localedef.c: Likewise.
48917         * login/programs/pt_chown.c: Likewise.
48918         * nscd/nscd.c (print_version): Likewise.
48919         * debug/xtrace.sh: Likewise.
48920         * malloc/memusage.sh: Likewise.
48921         * malloc/mtrace.pl: Likewise.
48922         * debug/catchsegv.sh: Likewise.
48923
48924 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48925
48926         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48927         pure attribute.
48928
48929 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48930
48931         [BZ #13533]
48932         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48933         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48934         transformations.
48935         * iconv/gconv_int.h: Likewise.
48936         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48937         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48938         from libc for GLIBC_2.16.
48939         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48940         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48941         * wcsmbs/uchar.h: Really define mbstate_t.
48942         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48943         * wcsmbs/c16rtomb.c: New file.
48944         * wcsmbs/mbrtoc16.c: New file.
48945         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48946         for C/POSIX locale.
48947         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48948         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48949
48950         * wcsmbs/wchar.h: Add missing __restrict.
48951
48952 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48953
48954         [BZ #13532]
48955         * time/Makefile (routines): Add timespec_get.
48956         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48957         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48958         timespec for ISO C11.
48959         * time/timespec_get.c: New file.
48960         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48961         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48962
48963         [BZ #13531]
48964         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48965         * stdlib/stdlib.h: Declare aligned_alloc.
48966         * Versions.def: Add GLIBC_2.16 for libc.
48967         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48968
48969         [BZ 13527]
48970         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48971         ISO C11.
48972
48973         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48974         code.
48975
48976         [BZ #13528]
48977         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48978
48979         [BZ #13529]
48980         * assert/assert.h (static_assert): Define.
48981
48982         * version.h: Update for 2.16 development version.
48983
48984         [BZ #13526]
48985         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48986         _ISOC11_SOURCE.
48987
48988         * version.h (RELEASE): Bump for 2.15 release.
48989         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48990
48991         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48992         Patch by Marek Polacek <mpolacek@redhat.com>.
48993
48994         * bits/byteswap.h: Protect long long constants with __extension__.
48995         * sysdeps/i386/bits/byteswap.h: Likewise.
48996         * sysdeps/ia64/bits/byteswap.h: Likewise.
48997         * sysdeps/s390/bits/byteswap.h: Likewise.
48998         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48999
49000 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49001
49002         [BZ #13540]
49003         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49004         destination buffer.
49005         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49006
49007 2011-12-23  Marek Polacek  <polacek@redhat.com>
49008
49009         * elf/dl-addr.c (determine_info): Add inline keyword.
49010         * elf/tst-auditmod4b.c (check_avx): Likewise.
49011         * elf/tst-auditmod6b.c (check_avx): Likewise.
49012         * elf/tst-auditmod6c.c (check_avx): Likewise.
49013         * elf/tst-auditmod7b.c (check_avx): Likewise.
49014
49015 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49016
49017         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49018         !__SSE_MATH__.
49019
49020 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49021
49022         [BZ #13540]
49023         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49024         processing for last bytes.
49025
49026 2011-08-06  Bruno Haible  <bruno@clisp.org>
49027
49028         [BZ #13061]
49029         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49030         U+0385, not to U+1FEE.
49031
49032         [BZ #13062]
49033         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49034         entry for U+00A5 U+0301.
49035
49036 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49037
49038         [BZ #13166]
49039         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49040         buffer for the output is too small.
49041
49042         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49043         optimization.
49044
49045         [BZ #13185]
49046         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49047         SSE flags if possible.
49048
49049 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49050
49051         [BZ #13540]
49052         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49053         processing for last bytes.
49054
49055 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49056
49057         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49058         (syscall-list-default-options, syscall-list-default-condition)
49059         (syscall-list-includes): Define.
49060         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49061         list of ABIs and options and #if conditions for each ABI.  Do not
49062         handle common syscalls between ABIs specially.
49063         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49064         Remove.
49065         (syscall-list-variants, syscall-list-32bit-options)
49066         (syscall-list-32bit-condition, syscall-list-64bit-options)
49067         (syscall-list-64bit-condition): Define.
49068         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49069         (syscall-list-variants, syscall-list-32bit-options)
49070         (syscall-list-32bit-condition, syscall-list-64bit-options)
49071         (syscall-list-64bit-condition): Define.
49072         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49073         Remove.
49074         (syscall-list-variants, syscall-list-32bit-options)
49075         (syscall-list-32bit-condition, syscall-list-64bit-options)
49076         (syscall-list-64bit-condition): Define.
49077         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49078         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
49083 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49084
49085         * locale/iso-639.def: Add brx entry.
49086
49087         [BZ #13328]
49088         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49089         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49090
49091         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49092         __feraiseexcept_renamed.
49093
49094 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49095
49096         [BZ #13538]
49097         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49098         EPOLLET with unsigned values.
49099         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49100         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49101
49102         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49103         to large cancellation.
49104         * math/s_cacoshf.c: Likewise.
49105         * math/s_cacoshl.c: Likewise.
49106
49107 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49108
49109         [BZ #13305]
49110         [BZ #12786]
49111         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49112         * math/s_cacoshf.c: Likewise.
49113         * math/s_cacoshl.c: Likewise.
49114
49115 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49116
49117         [BZ #13439]
49118         * iconv/gconv.h: Define __GCONV_SWAP.
49119         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49120         * iconvdata/utf-16.c: Likewise.
49121         * iconvdata/utf-32.c: Likewise.
49122
49123 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49124
49125         [BZ #13524]
49126         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49127         numerator after shifting it by one limb.
49128
49129 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49130
49131         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49132         under [__USE_EXTERN_INLINES].
49133
49134 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49135
49136         [BZ #13446]
49137         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49138
49139 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49140
49141         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49142         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49143         optimized code.
49144         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49145         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49146         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49147         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49148         for strncasecmp/strncasecmp_l compilation.
49149         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49150         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49151
49152 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49153
49154         [BZ #13484]
49155         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49156         of __asm__.
49157
49158 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49159
49160         [BZ #13506]
49161         * time/tzfile.c (__tzfile_read): Check values from file header.
49162
49163 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49164
49165         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49166         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49167         * powerpc/powerpc32/dl-start.S: Likewise.
49168         * powerpc/powerpc32/elf/start.S: Likewise.
49169         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49170         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49171         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49172         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49173         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49174         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49175         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49176         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49177         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49178         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49179         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49180         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49181         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49182         * powerpc/powerpc32/memset.S: Likewise.
49183         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49184         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49185         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49186         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49187         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49188         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49189         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49190         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49191         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49192         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49193         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49194         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49195         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49196
49197 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49198
49199         * math/libm-test.inc: Added more nearbyint tests.
49200         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49201         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49202         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49203         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49204
49205 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49206
49207         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49208         FD_CLOEXEC.
49209
49210 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49211
49212         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49213         Add wcscpy-ssse3 wcscpy-c.
49214         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49215         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49216         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49217         * sysdeps/x86_64/wcschr.S: New file.
49218         * sysdeps/x86_64/wcsrchr.S: New file.
49219         * string/test-strcmp.c: Remove checking of wcscmp function for
49220         wrong alignments.
49221         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49222         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49223         wcsrchr-sse2 wcsrchr-c.
49224         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49225         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49226         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49227         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49228         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49229         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49230         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49231         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49232         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49233         * wcsmbc/wcschr.c (WCSCHR): New macro.
49234
49235 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49236
49237         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49238         * wcsmbs/test-wcsrchr.c: New file.
49239         * string/test-strrchr.c: Add wcsrchr support.
49240         (WIDE): New macro.
49241         * wcsmbs/test-wcscpy.c: New file.
49242         * string/test-strcpy.c: Add wcscpy support.
49243         (WIDE): New macro.
49244
49245 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49246
49247         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49248         the inner loop.
49249
49250 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49251
49252         [BZ #13472]
49253         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49254
49255 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49256
49257         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49258         Minor optimizations.
49259
49260         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49261         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49262         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49263
49264 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49265
49266         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49267         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49268         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49269         for gcc to avoid warnings.
49270         * inet/Makefile (tests): Add tst-checks.
49271         * inet/tst-checks.c: New file.
49272
49273         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49274         warning.
49275
49276         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49277         __wmemcmp_sse2.
49278
49279         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49280         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49281
49282         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49283
49284 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49285
49286         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49287         problem.
49288
49289         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49290
49291 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49292
49293         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49294         conditional on GCC version.
49295         (__arch_compare_and_exchange_val_8_acq)
49296         (__arch_compare_and_exchange_val_16_acq)
49297         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49298         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49299         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49300
49301 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49302
49303         * sysdeps/sh/backtrace.c: New file.
49304
49305 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49306
49307         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49308         parenthesis.
49309
49310 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49311
49312         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49313         falling back to utime.
49314
49315 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49316
49317         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49318         expectations for float.
49319
49320 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49321
49322         * locale/weight.h (findidx): Add parameter len.
49323         * locale/weightwc.h (findidx): Likewise.
49324         * posix/fnmatch_loop.c (FCT): Adjust caller.
49325         * posix/regcomp.c (build_equiv_class): Likewise.
49326         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49327         * posix/regexec.c (check_node_accept_bytes): Likewise.
49328         * string/strcoll_l.c (STRCOLL): Likewise.
49329         * string/strxfrm_l.c (STRXFRM): Likewise.
49330
49331 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49332
49333         * Makefile.in: Remove CVSOPT handling.
49334         * configure.in: Remove use of AC_REVISION.
49335         * iconvdata/Makefile (distribute): No need to filter out CVS.
49336         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49337         handling.
49338
49339 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49340
49341         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49342         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49343         [USE_AS_STRNCASECMP_L]: Likewise.
49344         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49345         NO_TLS_DIRECT_SEG_REFS.
49346         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49347         Fix argument offsets for non-PIC.
49348         [USE_AS_STRNCASECMP_L]: Likewise.
49349         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49350         NO_TLS_DIRECT_SEG_REFS.
49351
49352 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49353
49354         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49355         O_CLOEXEC.
49356         * locale/loadlocale.c (_nl_load_locale): Likewise.
49357
49358 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49359
49360         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49361         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49362         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49363         (SYSCALL_GETTIME): Set errno on error.
49364
49365         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49366         count references to noai6ai_cached.
49367
49368 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49369
49370         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49371
49372         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49373         FD_CLOEXEC for /proc/self/maps.
49374
49375         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49376         FD_CLOEXEC for /proc/meminfo.
49377
49378         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49379         gai.conf.
49380
49381         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49382         FD_CLOEXEC for given file.
49383
49384         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49385
49386         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49387         FD_CLOEXEC for /etc/hosts.
49388         (_gethtent): Likewise.
49389
49390         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49391
49392         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49393         cancellation and set FD_CLOEXEC for /etc/netgroup.
49394
49395         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49396         reading /etc/publickey.
49397
49398         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49399         allow cancellation when reading /etc/group.
49400
49401         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49402         cancellation.
49403         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49404
49405         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49406         when using data file.
49407
49408         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49409
49410         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49411         (write_nis_obj): Use "c" and "e" in fopen.
49412
49413         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49414
49415         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49416
49417         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49418
49419         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49420
49421         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49422         locale.alias.
49423
49424         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49425
49426         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49427
49428         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49429
49430         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49431         file parsing and set FD_CLOEXEC.
49432
49433 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49434
49435         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49436
49437 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49438
49439         * malloc/arena.c (arena_get2): Don't call reused_arena when
49440         _int_new_arena failed.
49441
49442 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49443
49444         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49445         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49446         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49447         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49448         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49449         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49450         to compile strcasecmp and strncasecmp.
49451         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49452         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49453
49454         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49455
49456 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49457
49458         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49459         locale-defines.sym to gen-as-const-headers.
49460         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49461         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49463         to compile strcasecmp and strncasecmp.
49464         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49465         strcasecmp_l and strncasecmp_l.
49466         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49467         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49468         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49469         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49470         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49471         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49472         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49473         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49474         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49475         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49476         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49477
49478 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49479
49480         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49481         result of SYSDEP_GETTIME_CPU to retval.
49482         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49483         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49484
49485         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49486         variable.
49487
49488         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49489         mantissa words.
49490         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49491
49492         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49493         from unused variable.
49494
49495         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49496         DWARF definitions.
49497         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49498         for assembling.
49499
49500         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49501         over namespaces.
49502
49503         * sunrpc/rpc_prot.c (rejected): Fix case value.
49504
49505         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49506         unsigned long long int to avoid warnings in shift.
49507
49508         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49509         of use of trans.
49510         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49511         variable tmp.
49512
49513         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49514         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49515         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49516
49517         * nis/nis_table.c (nis_list): Use variable of correct type for
49518         result of __follow_path call.
49519
49520 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49521
49522         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49523         of math functions ceil, trunc, floor, round, and sqrt, when
49524         avaliable on the platform.
49525         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49526         name clash.
49527         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49528         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49529         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49530
49531 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49532
49533         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49534         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49535
49536 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49537
49538         * include/unistd.h: Fix __readlink return type.
49539         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49540
49541 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49542
49543         * stdlib/ucontext.h: Undo last change for makecontext.
49544
49545 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49546
49547         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49548
49549         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49550         * setjmp/setjmp.h: Mark functions as non-leaf.
49551         * setjmp/bits/setjmp2.h: Likewise.
49552         * stdlib/ucontext.h: Likewise.
49553
49554 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49555
49556         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49557         (reused_arena): Don't check arena limit.
49558         (arena_get2): Atomically check arena limit.
49559
49560 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49561
49562         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49563         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49564
49565         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49566         instructions.
49567
49568 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49569
49570         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49571         handler when locking.
49572
49573         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49574         Fix size of allocated buffer.
49575
49576 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49577
49578         [BZ #10103]
49579         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49580         declarations for long double functions.
49581         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49582
49583         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49584
49585 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49586
49587         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49588         installed.
49589
49590         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49591         is disabled.
49592
49593 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49594
49595         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49596
49597 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49598
49599         * include/alloca.h (stackinfo_alloca_round): Define.
49600         (extend_alloca): Use it.
49601         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49602         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49603         here.
49604
49605         * scripts/check-local-headers.sh: Ignore libaudit.h.
49606
49607         * nscd/Makefile (extra-objs): Make recursively expanded.
49608
49609 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49610
49611         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49612         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49613
49614         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49615         * posix/tst-rfc3484-2.c: Likewise.
49616         * posix/tst-rfc3484-3.c: Likewise.
49617
49618         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49619         process_vm_writev.
49620         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49621         process_vm_writev.
49622         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49623         process_vm_writev from libc using GLIBC_2.15 version.
49624
49625         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49626
49627 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49628
49629         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49630         stack usage.
49631
49632 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49633
49634         [BZ #13367]
49635         * nss/getent.c (initgroups_keys): Show error message in case no group
49636         names are given.
49637
49638         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49639         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49640         __bump_nl_timestamp.
49641         * nscd/connections (nscd_init): When host database is served open
49642         netlink socket and request notification about configuration changes.
49643         (main_loop_poll): Track netlink file descriptor and bump timestamp
49644         in case data becomes available.
49645         (main_loop_epoll): Likewise.
49646         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49647         (database_pers_head): Add extra_data fileds.
49648         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49649         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49650         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49651         Adjust caller.
49652         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49653         in6ai data, call __free_in6ai.
49654         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49655         Add -DHAVE_NETLINK.
49656         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49657         interface information.  Reuse previous data if netlink timestamp
49658         is not changed.
49659         (__bump_nl_timestamp): New function.
49660         (__free_in6ai): New function.
49661
49662 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49663
49664         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49665         close_not_cancel_no_status here.
49666         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49667
49668 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49669
49670         [BZ #13276]
49671         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49672         return value.
49673
49674         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49675         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49676         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49677
49678 2011-07-03  Andreas Jaeger  <aj@suse.de>
49679
49680         [BZ #10709]
49681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49682         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49683         * math/libm-test.inc (sin_test): Add test case.
49684
49685 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49686
49687         [BZ #13337]
49688         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49689         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49690
49691         * elf/chroot_canon.c (chroot_canon): Cleanups.
49692
49693         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49694
49695         [BZ #13335]
49696         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49697         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49698
49699         * string/test-strchr.c: Make usable for strchrnul testing.
49700         * string/test-strchrnul.c: New file.
49701         * string/Makefile (strop-tests): Add strchrnul.
49702
49703         * po/it.po: Update from translation team.
49704         * po/es.po: Likewise.
49705
49706 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49707
49708         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49709         the three constants needed as parameters.  Drop the others.
49710         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49711         __m128i_strloadu_tolower.
49712         Create and initialize variable zero and use it in all the places
49713         where _mm_setzero_si128 was used.
49714
49715         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49716         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49717         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49718         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49719         anymore.
49720         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49721         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49722         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49723         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49724         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49725         __mpranred, __mptan.
49726         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49727         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49728         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49729         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49730         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49731         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49732         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49733         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49734         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49735
49736 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49737
49738         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49739         redefine if SHARED.
49740         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49741
49742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49743         wide char related routines to wcsmbs subdir.
49744
49745 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49746
49747         [BZ #13344]
49748         * misc/sys/cdefs.h (__THROWNL): Define.
49749         * posix/unistd.h: Use __THREADNL instead of __THREAD
49750         for memory synchronization functions.
49751
49752 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49753
49754         [BZ #13349]
49755         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49756         doesn't exist.
49757         * manual/stdio.texi (Obstack Streams): Node removed.
49758
49759 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49760
49761         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49762         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49763         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49764
49765         * math/math_private.h (math_force_eval): Allow non-addressable
49766         arguments.
49767         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49768
49769 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49770
49771         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49772         file is not needed.
49773
49774         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49775         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49776         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49777         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49778         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49779         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49780         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49781         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49782         Add AVX variants.
49783         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49784         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49785         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49786         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49787         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49788         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49789         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49790         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49791         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49792         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49793         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49794         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49795         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49796         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49797         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49798         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49799         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49800         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49801         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49802
49803         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49804         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49805
49806         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49807         place.  Use VEX encoding when compiling for AVX.
49808
49809 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49810
49811         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49812         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49813
49814         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49815
49816 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49817
49818         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49819         useless if() expression.
49820         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49821         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49822         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49823         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49824         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49825         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49826         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49827         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49828         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49829         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49830         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49831         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49832         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49833         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49834         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49835         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49836         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49837         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49838         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49839
49840         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49841
49842 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49843
49844         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49845         condition.
49846         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49847
49848 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49849
49850         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49851         .text section.  Avoid duplicate constants.
49852         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49853         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49854         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49856         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49859         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49860         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49861         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49862         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49863         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49864         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49865         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49866         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49867         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49868         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49869         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49870         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49871         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49872         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49873         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49874         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49875         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49876         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49877         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49878         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49879         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49880         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49881         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49882         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49883         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49884         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49885         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49886         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49887         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49888         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49889         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49890         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49891         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49892         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49893         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49894         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49895         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49896         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49897
49898 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49899
49900         * sysdeps/x86_64/dla.h: Move to ...
49901         * sysdeps/x86_64/fpu/dla.h: ...here.
49902         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49903         situations.  Use __builtin_fma only for gcc 4.6 and up.
49904
49905         * config.make.in: Add have-mfma4 entry.
49906         * configure.in: Substitute libc_cv_cc_fma4.
49907         * math/Makefile (dbl-only-routines): Add sincostab.
49908         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49909         Use __sincostab not sincos.
49910         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49911         name is a macro.
49912         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49914         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49915         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49916         using __copysign.
49917         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49918         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49919         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49920         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49921         and __inv.
49922         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49923         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49924         __copysign.
49925         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49926         define aliases when function name is a macro.
49927         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49928         sysdeps/ieee754/dbl-64/sincos.tbl.
49929         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49930         fma4-enabled routines.
49931         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49932         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49933         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49934         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49935         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49936         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49937         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49938         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49939         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49940         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49941         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49942         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49943         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49944         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49945         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49946         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49947         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49948         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49949         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49950         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49951         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49952         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49953         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49954         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49955         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49956         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49957         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49958         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49959         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49960         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49961
49962         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49963         rename.
49964         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49965         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49966         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49968         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49969         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49970         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49971         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49972
49973 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49974
49975         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49976
49977 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49978
49979         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49980
49981         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49982         prediction.
49983         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49984
49985         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49986         Remove unused variable magic_bits.
49987         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49988
49989         * string/strnlen.c: Define and use STRNLEN macro.
49990         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49991         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49992         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49993         * wcsmbs/wcslen.c: Define and use WCSLEN.
49994         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49995         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49996         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49997         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49998         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49999         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50000         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50001
50002 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50003
50004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50005         strnlen-sse2-no-bsf.
50006         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50007         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50008         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50009         Add strnlen support.
50010         (USE_AS_STRNLEN): New macro.
50011         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50012         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50013         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50014         * sysdeps/x86_64/wcslen.S: New file.
50015
50016 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50017
50018         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50019         XMM-moves are used for copying on small sizes.
50020
50021 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50022
50023         * wcsmbs/Makefile (strop-tests): Add wcschr.
50024         * wcsmbs/test-wcschr.c: New file.
50025         * string/test-strchr.c: Update.
50026         Add wcschr support.
50027         (WIDE): New macro.
50028
50029 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50030
50031         * wcsmbs/Makefile (strop-tests): Add wcslen.
50032         * wcsmbs/test-wcslen.c: New file.
50033         * string/test-strlen.c: Update.
50034         Add wcslen support.
50035         (WIDE): New macro.
50036
50037 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50038
50039         * po/it.po: Update from translation team.
50040
50041 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50042
50043         * sysdeps/x86_64/wcscmp.S: Update.
50044         Fix wrong comparison semantics.
50045         wcscmp shall use signed comparison not unsigned.
50046         Don't use substraction to avoid overflow bug.
50047         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50048         * wcsmbc/wcscmp.c: Likewise.
50049         * string/test-strcmp.c: Likewise.
50050         Add new tests to check cases with negative values.
50051
50052 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50053
50054         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50055         * sysdeps/x86_64/dla.h: ...here.  New file.
50056         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50057         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50058         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50059         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50060         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50061         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50063         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50064         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50065
50066 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50067
50068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50069         __ynl_finite aliases.
50070
50071 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50072
50073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50074
50075         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50076         define DLA_FMA.
50077         [DLA_FMA] (EMULV): Use DLA_FMA.
50078         [DLA_FMA] (MUL12): Use EMULV.
50079         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50080         that are not needed.
50081         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50083         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50084         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50085         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50086         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50088
50089 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50090
50091         * math/s_nan.c: Undef __nan.
50092         * math/s_nanf.c: Undef __nanf.
50093         * math/s_nanl.c: Undef __nanl.
50094         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50095         "math_private.h".
50096
50097 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50098
50099         * math/s_catan.c: Add branch predictions.
50100         * math/s_catanf.c: Likewise.
50101         * math/s_catanh.c: Likewise.
50102         * math/s_catanhf.c: Likewise.
50103         * math/s_catanhl.c: Likewise.
50104         * math/s_catanl.c: Likewise.
50105         * math/s_cexp.c: Likewise.
50106         * math/s_cexpf.c: Likewise.
50107         * math/s_cexpl.c: Likewise.
50108         * math/s_clog.c: Likewise.
50109         * math/s_clog10.c: Likewise.
50110         * math/s_clog10f.c: Likewise.
50111         * math/s_clog10l.c: Likewise.
50112         * math/s_clogf.c: Likewise.
50113         * math/s_clogl.c: Likewise.
50114         * math/s_csqrt.c: Likewise.
50115         * math/s_csqrtf.c: Likewise.
50116         * math/s_csqrtl.c: Likewise.
50117         * math/s_ctanf.c: Likewise.
50118         * math/s_ctanh.c: Likewise.
50119         * math/s_ctanhf.c: Likewise.
50120         * math/s_ctanhl.c: Likewise.
50121         * math/s_ctanl.c: Likewise.
50122
50123         * math/math_private.h: Define __nan, __nanf, __nanl.
50124         * math/s_cacosh.c: Include <math_private.h>.
50125         * math/s_cacoshl.c: Likewise.
50126         * math/s_casinh.c: Likewise.
50127         * math/s_casinhf.c: Likewise.
50128         * math/s_casinhl.c: Likewise.
50129         * math/s_ccos.c: Rely entire on ccosh.
50130         * math/s_ccosf.c: Rely entire on ccoshf.
50131         * math/s_ccosl.c: Rely entirely on ccoshl.
50132         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50133         Remove tests for FE_INVALID.
50134         * math/s_ccoshf.c: Likewise.
50135         * math/s_ccoshl.c: Likewise.
50136         * math/s_csin.c: Likewise.
50137         * math/s_csinf.c: Likewise.
50138         * math/s_csinh.c Likewise.
50139         * math/s_csinhf.c: Likewise.
50140         * math/s_csinhl.c: Likewise.
50141         * math/s_csinl.c: Likewise.
50142         * math/s_ctan.c: Likewise.
50143         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50144         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50145         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50146
50147 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50148
50149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50150         compilation problems.
50151
50152         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50153         __builtin_expect.
50154
50155 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50156
50157         * sysdeps/i386/configure.in: Test for -mfma4 option.
50158         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50159         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50160         COMMON_CPUID_INDEX_80000001.
50161         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50162         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50163         use it if FMA3 is not supported.
50164         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50165
50166         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50167         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50168
50169 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50170
50171         [BZ #12892]
50172         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50173         it would create a cycle with a link time dependency.
50174
50175 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50176
50177         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50178         instruction.
50179         * string/Makefile (strop-tests): Add rawmemchr.
50180         * string/test-rawmemchr.c: New file.
50181
50182         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50183         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50184         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50185         when compiling str{,n}casecmp and when AVX is available.  Hook up
50186         new optimized code in initializers.
50187
50188 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50189
50190         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50191         __feraiseexcept instead of feraiseexcept.
50192
50193 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50194
50195         * math/math_private.h: Define defaults for libc_fetestexcept and
50196         libc_feupdateenv.
50197         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50198         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50199         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50200         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50201         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50202         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50203         libc_fetestexcept and libc_feupdateenv.
50204
50205         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50206         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50207         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50208         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50209         libc_feholdexcept_setround.
50210
50211         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50212         Add s_nearbyint-c and s_nearbyintf-c.
50213         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50214         nearbyintf inlines.
50215         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50216         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50217         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50218         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50219
50220         * math/math_private.h: Define defaults for libc_fegetround,
50221         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50222         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50223         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50224         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50225         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50226         standard functions.
50227         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50228         Remove comments and hacks for old compiler versions.
50229         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50230         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50231         libc_feholdexceptl.
50232
50233 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50234
50235         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50236         (__feraiseexcept_renamed): Add __NTH.
50237         (feraiseexcept): Add __NTH.  Rename local variables to fix
50238         namespace violations.
50239
50240 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50241
50242         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50243
50244         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50245
50246         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50247         recently added interfaces.
50248         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50249
50250         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50251         about macro parameter expansion.
50252
50253         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50254         __NO_MATH_INLINES is defined.  Cleanups.
50255
50256         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50257         and __floorf is target has SSE4.1.
50258         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50259         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50260         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50261         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50262
50263         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50264         name.
50265         (floorf): Likewise.
50266
50267         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50268
50269 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50270
50271         * misc/sys/cdefs.h: Fix last change.
50272
50273         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50274         database lookup.
50275
50276 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50277
50278         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50279
50280         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50281         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50282         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50283         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50285         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50286         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50287         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50288         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50289         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50290         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50291         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50292         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50293         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50294         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50295         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50296         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50297         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50298         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50299         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50300         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50301         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50302
50303         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50304         ceil, ceilf, floor, floorf.
50305
50306         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50307         Perform IRELATIVE relocations last.
50308
50309         * elf/do-rel.h: Add another parameter nrelative, replacing the
50310         local variable with the same name.  Change name of the function
50311         to end in Rel or Rela (uppercase).
50312         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50313         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50314         elf_dynamic_do_##reloc function.
50315
50316 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50317
50318         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50319         is sufficient, at least on modern CPUs.
50320
50321         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50322
50323         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50324         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50325
50326         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50327         __expl_finite.
50328         * math/bits/math-finite.h: Add entries for exp.
50329         * math/e_expl.c: Add __*_finite alias.
50330         * sysdeps/i386/fpu/e_exp.S: Likewise.
50331         * sysdeps/i386/fpu/e_expf.S: Likewise.
50332         * sysdeps/i386/fpu/e_expl.c: Likewise.
50333         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50334         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50335         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50337         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50338         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50339         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50340
50341         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50342         is sufficient, at least on modern CPUs.
50343
50344         * ctype/ctype-info.c (__ctype_init): Define.
50345         * include/ctype.h (__ctype_init): Declare.
50346         (__ctype_b_loc): The variable is always initialized.
50347         (__ctype_toupper_loc): Likewise.
50348         (__ctype_tolower_loc): Likewise.
50349         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50350         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50351
50352 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50353
50354         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50355
50356         * configure.in: Also look in $cxxmachine/include for C++ system
50357         headers.
50358
50359 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50360
50361         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50362         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50363         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50364         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50365         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50366         (USE_AS_WMEMCMP): New macro.
50367         Fixing indents.
50368         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50369         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50370         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50371         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50373         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50374         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50375         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50376         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50377         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50378         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50379         (USE_AS_WMEMCMP): New macro.
50380         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50381         * sysdeps/string/test-memcmp.c: Update.
50382         Fix simple_wmemcmp.
50383         Add new tests.
50384         * wcsmbs/wmemcmp.c: Update.
50385         (WMEMCMP): New macro.
50386         Fix overflow bug.
50387
50388 2011-10-12  Andreas Jaeger  <aj@suse.de>
50389
50390         [BZ #13268]
50391         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50392
50393 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50394
50395         * libio/iofwide.c (do_length): Avoid warning.
50396
50397         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50398
50399 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50400
50401         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50402
50403         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50404         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50405         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50406         * sysdeps/i386/i686/fpu/e_log.S: New file.
50407         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50408         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50409
50410         * ctype/ctype.h: Add support for inlined isXXX functions when
50411         compiling C++ code.
50412
50413 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50414
50415         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50416
50417         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50418
50419 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50420
50421         [BZ #13291]
50422         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50423
50424 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50425
50426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50427         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50428         feraiseexcept.
50429
50430         * sysdeps/x86_64/memrchr.S: Check for zero size.
50431
50432         * string/stratcliff.c: Add memrchr tests.
50433
50434 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50435
50436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50437         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50438         rawmemchr-sse2 rawmemchr-sse2-bsf.
50439         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50440         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50441         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50442         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50443         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50444         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50445         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50446         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50447         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50448         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50449         * string/memrchr.c (MEMRCHR): New macro.
50450
50451 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50452
50453         Add integration with gcc's -ffinite-math-only and optimize wrapper
50454         functions in libm.
50455         * Versions.def: Define GLIBC_2.15 version for libm.
50456         * math/Makefile (headers): Add bits/math-finite.h.
50457         * math/bits/math-finite.h: New file.
50458         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50459         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50460         * math/e_acoshl.c: Add __*_finite alias.
50461         * math/e_acosl.c: Likewise.
50462         * math/e_asinl.c: Likewise.
50463         * math/e_atan2l.c: Likewise.
50464         * math/e_atanhl.c: Likewise.
50465         * math/e_coshl.c: Likewise.
50466         * math/e_exp10.c: Likewise.
50467         * math/e_exp10f.c: Likewise.
50468         * math/e_exp10l.c: Likewise.
50469         * math/e_exp2l.c: Likewise.
50470         * math/e_fmodl.c: Likewise.
50471         * math/e_gammal_r.c: Likewise.
50472         * math/e_hypotl.c: Likewise.
50473         * math/e_j0l.c: Likewise.
50474         * math/e_j1l.c: Likewise.
50475         * math/e_jnl.c: Likewise.
50476         * math/e_lgammal_r.c: Likewise.
50477         * math/e_log10l.c: Likewise.
50478         * math/e_log2l.c: Likewise.
50479         * math/e_logl.c: Likewise.
50480         * math/e_powl.c: Likewise.
50481         * math/e_sinhl.c: Likewise.
50482         * math/e_sqrtl.c: Likewise.
50483         * math/e_scalb.c: Completely rewritten and optimized.
50484         * math/e_scalbf.c: Likewise.
50485         * math/e_scalbl.c: Likewise.
50486         * math/w_acos.c: Likewise.
50487         * math/w_acosf.c: Likewise.
50488         * math/w_acosl.c: Likewise.
50489         * math/w_acosh.c: Likewise.
50490         * math/w_acoshf.c: Likewise.
50491         * math/w_acoshl.c: Likewise.
50492         * math/w_asin.c: Likewise.
50493         * math/w_asinf.c: Likewise.
50494         * math/w_asinl.c: Likewise.
50495         * math/w_atan2.c: Likewise.
50496         * math/w_atan2f.c: Likewise.
50497         * math/w_atan2l.c: Likewise.
50498         * math/w_atanh.c: Likewise.
50499         * math/w_atanhf.c: Likewise.
50500         * math/w_atanhl.c: Likewise.
50501         * math/w_exp10.c: Likewise.
50502         * math/w_exp10f.c: Likewise.
50503         * math/w_exp10l.c: Likewise.
50504         * math/w_fmod.c: Likewise.
50505         * math/w_fmodf.c: Likewise.
50506         * math/w_fmodl.c: Likewise.
50507         * math/w_j0.c: Likewise.
50508         * math/w_j0f.c: Likewise.
50509         * math/w_j0l.c: Likewise.
50510         * math/w_j1.c: Likewise.
50511         * math/w_j1f.c: Likewise.
50512         * math/w_j1l.c: Likewise.
50513         * math/w_jn.c: Likewise.
50514         * math/w_jnf.c: Likewise.
50515         * math/w_log.c: Likewise.
50516         * math/w_logf.c: Likewise.
50517         * math/w_logl.c: Likewise.
50518         * math/w_log10.c: Likewise.
50519         * math/w_log10f.c: Likewise.
50520         * math/w_log10l.c: Likewise.
50521         * math/w_log2.c: Likewise.
50522         * math/w_log2f.c: Likewise.
50523         * math/w_log2l.c: Likewise.
50524         * math/w_pow.c: Likewise.
50525         * math/w_powf.c: Likewise.
50526         * math/w_powl.c: Likewise.
50527         * math/w_remainder.c: Likewise.
50528         * math/w_remainderf.c: Likewise.
50529         * math/w_remainderl.c: Likewise.
50530         * math/w_scalb.c: Likewise.
50531         * math/w_scalbf.c: Likewise.
50532         * math/w_scalbl.c: Likewise.
50533         * math/w_sqrt.c: Likewise.
50534         * math/w_sqrtf.c: Likewise.
50535         * math/w_sqrtl.c: Likewise.
50536         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50537         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50538         used.
50539         * math/math_private.h: Declare __kernel_standard_f.
50540         * math/w_cosh.c: Remove cruft and optimize a bit.
50541         * math/w_coshf.c: Likewise.
50542         * math/w_coshl.c: Likewise.
50543         * math/w_exp2.c: Likewise.
50544         * math/w_exp2f.c: Likewise.
50545         * math/w_exp2l.c: Likewise.
50546         * math/w_hypot.c: Likewise.
50547         * math/w_hypotf.c: Likewise.
50548         * math/w_hypotl.c: Likewise.
50549         * math/w_lgamma.c: Likewise.
50550         * math/w_lgamma_r.c: Likewise.
50551         * math/w_lgammaf.c: Likewise.
50552         * math/w_lgammaf_r.c: Likewise.
50553         * math/w_lgammal.c: Likewise.
50554         * math/w_lgammal_r.c: Likewise.
50555         * math/w_sinh.c: Likewise.
50556         * math/w_sinhf.c: Likewise.
50557         * math/w_sinhl.c: Likewise.
50558         * math/w_tgamma.c: Likewise.
50559         * math/w_tgammaf.c: Likewise.
50560         * math/w_tgammal.c: Likewise.
50561         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50562         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50563         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50564         Minor optimizations.  Pretty printing.  Remove cruft.
50565         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50566         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50567         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50568         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50569         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50570         * sysdeps/i386/fpu/e_asin.S: Likewise.
50571         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50572         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50573         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50574         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50575         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50576         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50577         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50578         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50579         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50580         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50581         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50582         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50583         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50584         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50585         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50586         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50587         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50588         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50589         * sysdeps/i386/fpu/e_log.S: Likewise.
50590         * sysdeps/i386/fpu/e_log10.S: Likewise.
50591         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50592         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50593         * sysdeps/i386/fpu/e_log2.S: Likewise.
50594         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50595         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50596         * sysdeps/i386/fpu/e_logf.S: Likewise.
50597         * sysdeps/i386/fpu/e_logl.S: Likewise.
50598         * sysdeps/i386/fpu/e_pow.S: Likewise.
50599         * sysdeps/i386/fpu/e_powf.S: Likewise.
50600         * sysdeps/i386/fpu/e_powl.S: Likewise.
50601         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50602         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50603         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50604         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50605         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50606         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50607         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50608         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50609         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50610         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50611         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50612         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50613         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50614         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50615         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50616         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50617         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50618         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50619         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50620         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50621         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50622         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50623         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50624         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50626         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50627         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50628         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50630         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50631         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50632         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50633         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50634         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50635         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50636         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50637         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50638         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50639         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50640         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50641         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50642         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50643         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50644         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50645         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50646         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50647         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50648         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50649         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50650         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50651         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50652         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50653         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50654         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50655         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50656         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50657         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50658         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50659         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50660         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50661         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50662         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50663         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50664         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50665         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50666         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50667         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50668         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50669         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50670         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50671         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50672         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50673         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50674         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50675         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50676         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50677         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50678         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50679         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50680         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50681         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50682         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50684         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50685         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50686         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50687         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50688         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50689         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50690         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50691         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50692         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50693         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50694         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50695         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50696         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50697         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50698         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50699         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50700         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50701         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50702         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50703         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50704         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50705         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50706         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50707         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50708         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50709         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50710         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50711         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50712         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50713         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50714         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50715         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50716         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50717         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50718         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50719         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50720         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50721         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50722         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50723         (__isnanf): Likewise.
50724         (__isinf_ns): Likewise.
50725         (__isinf_nsf): Likewise.
50726         (__finite): Likewise.
50727         (__finitef): Likewise.
50728         (__ieee754_sqrt): Define as macro.
50729         (__ieee754_sqrtf): Define as macro.
50730         (__ieee754_sqrtl): Define as macro.
50731         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50732         inlined copy.
50733         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50734         __FINITE_MATH_ONLY__ consistent.
50735         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50736
50737 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50738
50739         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50740         of rawmemchr.
50741
50742         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50743
50744 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50745
50746         * po/ja.po: Update from translation team.
50747
50748 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50749
50750         * locale/programs/locarchive.c (prepare_address_space): New function.
50751         (create_archive, enlarge_archive, open_archive): Use it.
50752
50753         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50754         inside [SHARED], where it is used.
50755
50756         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50757
50758         * nss/getent.c (netgroup_keys): Remove unused variable.
50759         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50760
50761 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50762
50763         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50764         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50765         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50766         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50767         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50768         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50769         * math/Makefile (libm-calls): Add s_isinf_ns.
50770         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50771         * math/multc3.c: Likewise.
50772         * math/s_casin.c: Likewise.
50773         * math/s_casinf.c: Likewise.
50774         * math/s_casinl.c: Likewise.
50775         * math/s_ccos.c: Likewise.
50776         * math/s_ccosf.c: Likewise.
50777         * math/s_ccosl.c: Likewise.
50778         * math/s_ctan.c: Likewise.
50779         * math/s_ctanf.c: Likewise.
50780         * math/s_ctanh.c: Likewise.
50781         * math/s_ctanhf.c: Likewise.
50782         * math/s_ctanhl.c: Likewise.
50783         * math/s_ctanl.c: Likewise.
50784         * math/w_fmod.c: Likewise.
50785         * math/w_fmodf.c: Likewise.
50786         * math/w_fmodl.c: Likewise.
50787         * math/w_remainder.c: Likewise.
50788         * math/w_remainderf.c: Likewise.
50789         * math/w_remainderl.c: Likewise.
50790         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50791         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50792         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50793         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50794         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50795         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50796         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50797         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50798
50799         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50800         of the number.
50801         * stdio-common/printf_fphex.c: Likewise.
50802         * stdio-common/printf_size.c: Likewise.
50803
50804         * math/e_exp10.c: Include math_private.h using <...> not "...".
50805         * math/e_exp10f.c: Likewise.
50806         * math/e_exp10l.c: Likewise.
50807         * math/e_exp2l.c: Likewise.
50808         * math/e_j0l.c: Likewise.
50809         * math/e_j1l.c: Likewise.
50810         * math/e_jnl.c: Likewise.
50811         * math/e_lgammal_r.c: Likewise.
50812         * math/e_rem_pio2l.c: Likewise.
50813         * math/e_scalb.c: Likewise.
50814         * math/e_scalbf.c: Likewise.
50815         * math/e_scalbl.c: Likewise.
50816         * math/k_cosl.c: Likewise.
50817         * math/k_sinl.c: Likewise.
50818         * math/k_tanl.c: Likewise.
50819         * math/s_cacoshf.c: Likewise.
50820         * math/s_catan.c: Likewise.
50821         * math/s_catanf.c: Likewise.
50822         * math/s_catanh.c: Likewise.
50823         * math/s_catanhf.c: Likewise.
50824         * math/s_catanhl.c: Likewise.
50825         * math/s_catanl.c: Likewise.
50826         * math/s_ccosh.c: Likewise.
50827         * math/s_ccoshf.c: Likewise.
50828         * math/s_ccoshl.c: Likewise.
50829         * math/s_cexp.c: Likewise.
50830         * math/s_cexpf.c: Likewise.
50831         * math/s_cexpl.c: Likewise.
50832         * math/s_clog.c: Likewise.
50833         * math/s_clog10.c: Likewise.
50834         * math/s_clog10f.c: Likewise.
50835         * math/s_clog10l.c: Likewise.
50836         * math/s_clogf.c: Likewise.
50837         * math/s_clogl.c: Likewise.
50838         * math/s_csin.c: Likewise.
50839         * math/s_csinf.c: Likewise.
50840         * math/s_csinh.c: Likewise.
50841         * math/s_csinhf.c: Likewise.
50842         * math/s_csinhl.c: Likewise.
50843         * math/s_csinl.c: Likewise.
50844         * math/s_csqrt.c: Likewise.
50845         * math/s_csqrtf.c: Likewise.
50846         * math/s_csqrtl.c: Likewise.
50847         * math/s_ctan.c: Likewise.
50848         * math/s_ctanf.c: Likewise.
50849         * math/s_ctanh.c: Likewise.
50850         * math/s_ctanhf.c: Likewise.
50851         * math/s_ctanhl.c: Likewise.
50852         * math/s_ctanl.c: Likewise.
50853         * math/s_ldexp.c: Likewise.
50854         * math/s_ldexpf.c: Likewise.
50855         * math/s_ldexpl.c: Likewise.
50856         * math/s_significand.c: Likewise.
50857         * math/s_significandf.c: Likewise.
50858         * math/s_significandl.c: Likewise.
50859         * math/w_acos.c: Likewise.
50860         * math/w_acosf.c: Likewise.
50861         * math/w_acosh.c: Likewise.
50862         * math/w_acoshf.c: Likewise.
50863         * math/w_acoshl.c: Likewise.
50864         * math/w_acosl.c: Likewise.
50865         * math/w_asin.c: Likewise.
50866         * math/w_asinf.c: Likewise.
50867         * math/w_asinl.c: Likewise.
50868         * math/w_atan2.c: Likewise.
50869         * math/w_atan2f.c: Likewise.
50870         * math/w_atan2l.c: Likewise.
50871         * math/w_atanh.c: Likewise.
50872         * math/w_atanhf.c: Likewise.
50873         * math/w_atanhl.c: Likewise.
50874         * math/w_cosh.c: Likewise.
50875         * math/w_coshf.c: Likewise.
50876         * math/w_coshl.c: Likewise.
50877         * math/w_dremf.c: Likewise.
50878         * math/w_exp10.c: Likewise.
50879         * math/w_exp10f.c: Likewise.
50880         * math/w_exp10l.c: Likewise.
50881         * math/w_exp2.c: Likewise.
50882         * math/w_exp2f.c: Likewise.
50883         * math/w_fmod.c: Likewise.
50884         * math/w_fmodf.c: Likewise.
50885         * math/w_fmodl.c: Likewise.
50886         * math/w_hypot.c: Likewise.
50887         * math/w_hypotf.c: Likewise.
50888         * math/w_hypotl.c: Likewise.
50889         * math/w_j0.c: Likewise.
50890         * math/w_j0f.c: Likewise.
50891         * math/w_j0l.c: Likewise.
50892         * math/w_j1.c: Likewise.
50893         * math/w_j1f.c: Likewise.
50894         * math/w_j1l.c: Likewise.
50895         * math/w_jn.c: Likewise.
50896         * math/w_jnf.c: Likewise.
50897         * math/w_jnl.c: Likewise.
50898         * math/w_lgamma.c: Likewise.
50899         * math/w_lgamma_r.c: Likewise.
50900         * math/w_lgammaf.c: Likewise.
50901         * math/w_lgammaf_r.c: Likewise.
50902         * math/w_lgammal.c: Likewise.
50903         * math/w_lgammal_r.c: Likewise.
50904         * math/w_log.c: Likewise.
50905         * math/w_log10.c: Likewise.
50906         * math/w_log10f.c: Likewise.
50907         * math/w_log10l.c: Likewise.
50908         * math/w_log2.c: Likewise.
50909         * math/w_log2f.c: Likewise.
50910         * math/w_log2l.c: Likewise.
50911         * math/w_logf.c: Likewise.
50912         * math/w_logl.c: Likewise.
50913         * math/w_pow.c: Likewise.
50914         * math/w_powf.c: Likewise.
50915         * math/w_powl.c: Likewise.
50916         * math/w_remainder.c: Likewise.
50917         * math/w_remainderf.c: Likewise.
50918         * math/w_remainderl.c: Likewise.
50919         * math/w_scalb.c: Likewise.
50920         * math/w_scalbf.c: Likewise.
50921         * math/w_scalbl.c: Likewise.
50922         * math/w_sinh.c: Likewise.
50923         * math/w_sinhf.c: Likewise.
50924         * math/w_sinhl.c: Likewise.
50925         * math/w_sqrt.c: Likewise.
50926         * math/w_sqrtf.c: Likewise.
50927         * math/w_sqrtl.c: Likewise.
50928         * math/w_tgamma.c: Likewise.
50929         * math/w_tgammaf.c: Likewise.
50930         * math/w_tgammal.c: Likewise.
50931
50932         * po/ja.po: Update from translation team.
50933
50934 2011-09-29  Andreas Jaeger  <aj@suse.de>
50935
50936         [BZ #13179]
50937         * sunrpc/netname.c (netname2host): Fix logic.
50938
50939         [BZ #6779]
50940         [BZ #6783]
50941         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50942         correctly.
50943         * math/w_remainder.c (__remainder): Likewise.
50944         * math/w_remainderf.c (__remainderf): Likewise.
50945         * math/libm-test.inc (remainder_test): Add test cases.
50946
50947 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50948
50949         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50950         sdiv_qrnnd.
50951
50952 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50953
50954         * string/test-memcmp.c: Avoid unncessary #defines.
50955         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50956
50957 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50958
50959         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50960         Use new sse2 version for core i3 - i7 as it's faster
50961         than sse42 version.
50962         (bit_Prefer_PMINUB_for_stringop): New.
50963         * sysdeps/x86_64/rawmemchr.S: Update.
50964         Replace with faster SSE2 version.
50965         * sysdeps/x86_64/memrchr.S: New file.
50966         * sysdeps/x86_64/memchr.S: Update.
50967         Replace with faster SSE2 version.
50968
50969 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50970
50971         * elf/dl-load.c (lose): Add cast to avoid warning.
50972
50973 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50974
50975         * po/ca.po: Update from translation team.
50976
50977         * inet/getnetgrent_r.c: Hook up nscd.
50978         * nscd/Makefile (routines): Add nscd_netgroup.
50979         (nscd-modules): Add netgroupcache.
50980         (CFLAGS-netgroupcache.c): Define.
50981         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50982         (cache_search): Add const to second parameter.
50983         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50984         INNETGR.
50985         (dbs): Add netgrdb entry.
50986         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50987         (verify_persistent_db): Handle netgrdb.
50988         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50989         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50990         GETFDNETGR.
50991         (netgroup_response_header): Define.
50992         (innetgroup_response_header): Define.
50993         (datahead): Add netgroup_response_header and innetgroup_response_header
50994         elements.
50995         * nscd/nscd.conf: Add entries for netgroup cache.
50996         * nscd/nscd.h (dbtype): Add netgrdb.
50997         (_PATH_NSCD_NETGROUP_DB): Define.
50998         (netgroup_iov_disabled): Declare.
50999         (xmalloc, xcalloc, xrealloc): Move declarations here.
51000         (cache_search): Adjust prototype.
51001         Add netgroup-related prototypes.
51002         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51003         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51004         (__nscd_innetgr): Declare.
51005         * nscd/selinux.c (perms): Use access_vector_t as element type and
51006         add netgroup-related initializers.
51007         * nscd/netgroupcache.c: New file.
51008         * nscd/nscd_netgroup.c: New file.
51009         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51010         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51011         For four parameters use innetgr.
51012         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51013         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51014         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51015         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51016
51017         * nscd/connections.c (register_traced_file): Don't register file
51018         for disabled databases.
51019
51020 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51021
51022         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51023
51024         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51025         from tree and freeing node.
51026
51027 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51028
51029         * nss/nsswitch.c (__nss_database_lookup): Handle
51030         nss_parse_service_list out of memory case.
51031
51032 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51033
51034         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51035         out of memory case.
51036
51037 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51038
51039         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51040         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51041         pass it down.
51042         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51043         elf_machine_rela, elf_machine_lazy_rel.
51044         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51045         (ELF_DYNAMIC_DO_REL): Likewise.
51046         (ELF_DYNAMIC_DO_RELA): Likewise.
51047         (ELF_DYNAMIC_RELOCATE): Likewise.
51048         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51049         to ELF_DYNAMIC_DO_REL.
51050         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51051         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51052         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51053         elf_machine_rela.
51054         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51055         skip_ifunc, don't call ifunc function if non-zero.
51056         (elf_machine_rela): Likewise.
51057         (elf_machine_lazy_rel): Likewise.
51058         (elf_machine_lazy_rela): Likewise.
51059         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51060         (elf_machine_lazy_rel): Likewise.
51061         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51062         Likewise.
51063         (elf_machine_lazy_rel): Likewise.
51064         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51065         Likewise.
51066         (elf_machine_lazy_rel): Likewise.
51067         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51068         (elf_machine_lazy_rel): Likewise.
51069         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51070         (elf_machine_lazy_rel): Likewise.
51071         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51072         (elf_machine_lazy_rel): Likewise.
51073         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51074         (elf_machine_lazy_rel): Likewise.
51075         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51076         (elf_machine_lazy_rel): Likewise.
51077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51078         (elf_machine_lazy_rel): Likewise.
51079
51080 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51081
51082         * nss/nss_files/files-init.c (_nss_files_init): Use static
51083         initialization for all the *_traced_file variables.
51084
51085 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51086
51087         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51088
51089 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51090
51091         [BZ #13226]
51092         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51093
51094 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51095
51096         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51097         Reread the line before reparsing it.
51098
51099 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51100
51101         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51102
51103 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51104             Maxim Kuvyrkov  <maxim@codesourcery.com>
51105             Joseph Myers  <joseph@codesourcery.com>
51106
51107         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51108         if needed for __stack_chk_guard.
51109
51110 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51111
51112         * sysdeps/posix/spawni.c (script_execute): Always define it.
51113         It will be optimized away if unused.
51114         (maybe_script_execute): New function.
51115         (__spawni): Call it.
51116
51117         * Makerules: Don't include tls.make.
51118         (config-tls): Always set to thread.
51119         * tls.make.c: File removed.
51120
51121 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51122
51123         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51124         * config.make.in (CPPFLAGS-config): New substituted variable.
51125
51126 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51127
51128         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51129
51130         [BZ #13192]
51131         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51132         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51133
51134 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51135
51136         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51137         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51138         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51139         (CALL_FAIL): Likewise.
51140         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51141         (CALL_FAIL): Macro removed.
51142         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51143
51144 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51145
51146         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51147         for __FINITE_MATH_ONLY__ == 1.
51148
51149 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51150
51151         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51152         __ieee754_sqrt instead of sqrt.
51153         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51154         __ieee754_sqrtf instead of sqrtf.
51155         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51156         __floorf instead of floorf.
51157         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51158         __floorf, __truncf instead of floorf, truncf.
51159
51160 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51161
51162         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51163
51164         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51165         __extern_always_inline.
51166         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51167         32-bit.
51168
51169 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51170
51171         * elf/rtld.c (dl_main): Also relocate in dependency order when
51172         doing symbol dependency testing.
51173
51174 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51175
51176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51177         Always define `refsym'.
51178
51179 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51180
51181         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51182         (__FD_ELT): Renamed from __FDELT.
51183         * misc/bits/select2.h (__FD_ELT): Likewise.
51184         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51185         __FD_MASK instead of __FDELT, __FDMASK.
51186         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51187         Likewise.
51188         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51189         Likewise.
51190
51191         * elf/Makefile (gen-ldd): Fix pattern.
51192
51193         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51194         (init_tls): Likewise.
51195
51196 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51197
51198         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51199
51200 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51201
51202         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51203         `struct cmsghdr *' instead of `void *'.
51204         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51205         Likewise.
51206
51207 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51208
51209         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51210         if non-absolute.
51211         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51212         ldd_rewrite_script.
51213
51214 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51215
51216         * configure.in: Remove --with-tls option.
51217         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51218         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51219         out in case it is missing.
51220         * sysdeps/ia64/elf/configure.in: Likewise.
51221         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51222         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51223         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51224         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51225         * sysdeps/sh/elf/configure.in: Likewise.
51226         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51227         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51228         * sysdeps/x86_64/elf/configure.in: Likewise.
51229         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51230         * sysdeps/mach/hurd/tls.h: Likewise.
51231
51232         [BZ #13067]
51233         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51234
51235         [BZ #13090]
51236         * configure.in: Fix use of AC_INIT.
51237
51238         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51239
51240 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51241
51242         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51243         __set_errno.
51244         * malloc/hooks.c: Likewise.
51245
51246         [BZ #11929]
51247         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51248         variables statically.
51249         (narenas): Initialize.
51250         (list_lock): Initialize.
51251         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51252         initializtion of main_arena and list_lock.  Small cleanups.
51253         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51254         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51255         Add initializers to main_arena and mp_.
51256         (malloc_state): Remove pagesize member.  Change all users to use
51257         GLRO(dl_pagesize).
51258
51259         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51260         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51261         is always initialized.
51262
51263         * malloc/malloc.c: Removed unused configurations and dead code.
51264         * malloc/arena.c: Likewise.
51265         * malloc/hooks.c: Likewise.
51266         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51267
51268         * include/tls.h: Removed.  USE___THREAD must always be defined.
51269         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51270         * elf/dl-libc.c: Likewise.
51271         * elf/dl-tsd.c: Likewise.
51272         * include/errno.h: Likewise.
51273         * include/netdb.h: Likewise.
51274         * include/resolv.h: Likewise.
51275         * inet/herrno-loc.c: Likewise.
51276         * inet/herrno.c: Likewise.
51277         * malloc/arena.c: Likewise.
51278         * malloc/hooks.c: Likewise.
51279         * malloc/malloc.c: Likewise.
51280         * resolv/res-state.c: Likewise.
51281         * resolv/res_libc.c: Likewise.
51282         * sysdeps/i386/dl-machine.h: Likewise.
51283         * sysdeps/ia64/dl-machine.h: Likewise.
51284         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51285         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51286         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51287         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51288         * sysdeps/sh/dl-machine.h: Likewise.
51289         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51290         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51291         * sysdeps/unix/i386/sysdep.S: Likewise.
51292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51293         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51294         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51297         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51298         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51302         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51303         * sysdeps/x86_64/dl-machine.h: Likewise.
51304         * tls.make.c: Likewise.
51305
51306         * configure.in: Remove --with-__thread option.  Make tests for
51307         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51308         tls_model attribute fail if no support is available.  Remove
51309         USE_IN_LIBIO.
51310         * Makeconfig: Adjust for dropped configure option.  All features are
51311         now mandatory.
51312         * Makerules: Likewise.
51313         * Versions.def: Likewise.
51314         * argp/argp-fmtstream.c: Likewise.
51315         * argp/argp-fmtstream.h: Likewise.
51316         * argp/argp-help.c: Likewise.
51317         * assert/assert.c: Likewise.
51318         * config.h.in: Likewise.
51319         * config.make.in: Likewise.
51320         * configure: Likewise.
51321         * configure.in: Likewise.
51322         * csu/Versions: Likewise.
51323         * csu/init.c: Likewise.
51324         * elf/tst-audit2.c: Likewise.
51325         * elf/tst-tls10.c: Likewise.
51326         * elf/tst-tls10.h: Likewise.
51327         * elf/tst-tls11.c: Likewise.
51328         * elf/tst-tls12.c: Likewise.
51329         * elf/tst-tls14.c: Likewise.
51330         * elf/tst-tlsmod11.c: Likewise.
51331         * elf/tst-tlsmod12.c: Likewise.
51332         * elf/tst-tlsmod13.c: Likewise.
51333         * elf/tst-tlsmod13a.c: Likewise.
51334         * elf/tst-tlsmod14a.c: Likewise.
51335         * elf/tst-tlsmod15b.c: Likewise.
51336         * elf/tst-tlsmod16a.c: Likewise.
51337         * elf/tst-tlsmod16b.c: Likewise.
51338         * elf/tst-tlsmod7.c: Likewise.
51339         * elf/tst-tlsmod8.c: Likewise.
51340         * elf/tst-tlsmod9.c: Likewise.
51341         * gmon/gmon.c: Likewise.
51342         * grp/fgetgrent_r.c: Likewise.
51343         * grp/putgrent.c: Likewise.
51344         * hurd/fopenport.c: Likewise.
51345         * include/libc-symbols.h: Likewise.
51346         * include/tls.h: Likewise.
51347         * intl/gettextP.h: Likewise.
51348         * intl/loadinfo.h: Likewise.
51349         * locale/global-locale.c: Likewise.
51350         * locale/localeinfo.h: Likewise.
51351         * mach/devstream.c: Likewise.
51352         * malloc/arena.c: Likewise.
51353         * malloc/set-freeres.c: Likewise.
51354         * misc/err.c: Likewise.
51355         * misc/getttyent.c: Likewise.
51356         * misc/mntent_r.c: Likewise.
51357         * posix/getopt.c: Likewise.
51358         * posix/wordexp.c: Likewise.
51359         * pwd/fgetpwent_r.c: Likewise.
51360         * resolv/Versions: Likewise.
51361         * resolv/res_hconf.c: Likewise.
51362         * shadow/fgetspent_r.c: Likewise.
51363         * shadow/putspent.c: Likewise.
51364         * stdio-common/printf_fphex.c: Likewise.
51365         * stdio-common/tmpfile.c: Likewise.
51366         * stdlib/abort.c: Likewise.
51367         * stdlib/fmtmsg.c: Likewise.
51368         * sunrpc/auth_unix.c: Likewise.
51369         * sunrpc/clnt_perr.c: Likewise.
51370         * sunrpc/clnt_tcp.c: Likewise.
51371         * sunrpc/clnt_udp.c: Likewise.
51372         * sunrpc/clnt_unix.c: Likewise.
51373         * sunrpc/openchild.c: Likewise.
51374         * sunrpc/svc_simple.c: Likewise.
51375         * sunrpc/svc_tcp.c: Likewise.
51376         * sunrpc/svc_udp.c: Likewise.
51377         * sunrpc/svc_unix.c: Likewise.
51378         * sunrpc/xdr.c: Likewise.
51379         * sunrpc/xdr_array.c: Likewise.
51380         * sunrpc/xdr_rec.c: Likewise.
51381         * sunrpc/xdr_ref.c: Likewise.
51382         * sunrpc/xdr_stdio.c: Likewise.
51383
51384 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51385
51386         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51387
51388 2011-07-03  Andreas Jaeger  <aj@suse.de>
51389
51390         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51391         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51392         regenerate with gen-libm-tests.pl.
51393
51394 2010-05-12  Petr Baudis  <pasky@suse.cz>
51395
51396         [BZ #11589]
51397         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51398         around j0() zero points by switching to j1().
51399         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51400         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51401         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51402         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51403
51404 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51405
51406         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51407         instead of 0.
51408         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51409         instead of 0.
51410         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51411         Patch in part by Pavel Roskin <proski@gnu.org>.
51412
51413         [BZ #13138]
51414         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51415         realloc.
51416         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51417         Free memory block if necessary.
51418
51419         [BZ #12847]
51420         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51421         be NULL.  Don't lock in this case.
51422
51423 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51424
51425         * elf/elf.h (ELFOSABI_GNU): New macro.
51426         (ELFOSABI_LINUX): Define to that.
51427
51428 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51429
51430         * string/strncat.c (strncat): Undef the symbol in case it has been
51431         defined in bits/string.h.
51432
51433 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51434
51435         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51436
51437         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51438         link map.
51439
51440 2011-08-17  Andreas Jaeger  <aj@suse.de>
51441
51442         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51443
51444 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51445             Ian Lance Taylor  <iant@google.com>
51446
51447         * math/libm-test.inc (lround_test): New testcase.
51448         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51449
51450 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51451
51452         * Makefile: Remove support for automatic cvs check-ins.
51453         * Makerules: Likewise.
51454         * config.make.in: Likewise.
51455         * configure.in: Likewise.
51456         * intl/Makefile: Likewise.
51457         * locale/Makefile: Likewise.
51458         * po/Makefile: Likewise.
51459         * posix/Makefile: Likewise.
51460         * sysdeps/gnu/Makefile: Likewise.
51461         * sysdeps/mach/hurd/Makefile: Likewise.
51462         * sysdeps/sparc/sparc32/Makefile: Likewise.
51463
51464         [BZ #13118]
51465         * posix/Makefile (bug-regex32-ENV): Define.
51466         Patch by John Stanley <jpsinthemix@verizon.net>.
51467
51468         * misc/Makefile (headers): Add bits/select2.h.
51469         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51470         * misc/bits/select2.h: New file.
51471         * include/bits/select2.h: New file.
51472         * debug/Makefile (routines): Add fdelt_chk.
51473         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51474         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51475         FD_ISSET.
51476         * debug/fdelt_chk.c: New file.
51477
51478         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51479         * wcsmbs/test-wmemcmp.c: Likewise.
51480         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51481         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51482
51483 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51484
51485         * string/Makefile (strop-tests): Add memcmp.
51486         * string/test-wmemcmp.c: New file.
51487         * string/test-memcmp.c: Add wmemcmp support.
51488
51489 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51490
51491         [BZ #13153]
51492         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51493         2011-07-19 change.
51494
51495         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51496         garbage value in a __mach_port_mod_refs call in the cases of the
51497         task-self and thread-self ports.
51498
51499 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51500
51501         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51502
51503 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51504
51505         * elf/dl-load.c (lose): Check for non-null L.
51506
51507 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51508
51509         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51510
51511         * elf/dl-libc.c (dlerror_run): Pass back error code from
51512         dl_catch_error.
51513
51514         [BZ #13123]
51515         * elf/dl-load.c (lose): Free l_origin if it is valid.
51516
51517         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51518         names.
51519         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51520         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51521         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51522         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51523         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51524         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51525
51526 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51527
51528         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51529         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51530         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51531         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51532         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51533         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51534         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51535         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51536         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51537         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51538
51539 2011-08-15  Alan Modra  <amodra@gmail.com>
51540
51541         [BZ #13092]
51542         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51543         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51544         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51545         ppc_mcount to static-only-routines.
51546         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51547         __mcount_internal.
51548         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51549         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51550
51551 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51552
51553         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51554         for finite and infinity parameters.
51555
51556 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51557
51558         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51559         and add nop instructions for throughput optimization.
51560         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51561
51562 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51563
51564         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51565         aligned copy for power7 with vector-scalar instructions.
51566         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51567
51568 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51569
51570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51571         AVX check.
51572
51573 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51574
51575         [BZ #13144]
51576         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51577         last change.
51578
51579 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51580
51581         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51582         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51583         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51584         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51585         clock_gettime.
51586
51587 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51588
51589         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51590         Forgot to demangle the pointer.
51591
51592         * sysdeps/i386/sysdep.h: Define atom_text_section.
51593         * sysdeps/x86_64/sysdep.h: Likewise.
51594         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51595         section with atom_text_section.
51596         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51597         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51598         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51599         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51600         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51601
51602         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51603         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51604         already be defined.  Change to take two parameters and don't assign
51605         result to variable.  Adjust all users.
51606         Define INTERNAL_GETTIME if not already defined.
51607         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51608         call.
51609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51610         HAVE_CLOCK_GETTIME_VSYSCALL.
51611         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51612
51613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51614         gettimeofday vsyscall, just use time.
51615
51616 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51617
51618         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51619         <errno.h>.
51620
51621 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51622
51623         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51624         syscall on x86-64.
51625         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51626         syscall.
51627         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51628         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51629         syscall if possible.
51630
51631 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51632
51633         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51634         e_ident.  Don't pass to find_mapsXX.
51635         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51636
51637 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51638
51639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51640         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51641         * sysdeps/x86_64/multiarch/strchr.S: Update.
51642         Check bit_slow_BSF bit.
51643         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51644         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51645         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51646
51647 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51648
51649         [BZ #13134]
51650         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51651         before glibc 2.15.
51652         (tryshell): Define.
51653         (__spawni): Change last parameter to be flag.  Test
51654         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51655         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51656         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51657         * posix/spawni.c: Likewise.
51658         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51659         * posix/spawnp.c: Likewise.  Change normal version to use
51660         SPAWN_XFLAGS_USE_PATH.
51661         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51662         SPAWN_XFLAGS_TRY_SHELL.
51663
51664         [BZ #13150]
51665         * posix/glob.h: Remove gcc 1.x support.
51666
51667         [BZ #13068]
51668         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51669
51670 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51671
51672         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51673         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51674         strrchr-sse2-bsf
51675         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51676         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51677         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51678         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51679         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51680         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51681
51682 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51683
51684         * sysdeps/x86_64/wcscmp.S: New file.
51685
51686         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51687         wcscmp-c wcscmp-sse2
51688         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51689         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51690         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51691         * wcsmbs/wcscmp.c: Allow renaming.
51692
51693 2011-09-05  David S. Miller  <davem@davemloft.net>
51694
51695         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51696         stack slot, rather than the struct return pointer slot.
51697         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51698         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51700         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51701
51702 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51703
51704         * po/ja.po: Update from translation team.
51705
51706         [BZ #13144]
51707         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51708         kernel in 64-bit binaries.
51709
51710 2011-09-01  David S. Miller  <davem@davemloft.net>
51711
51712         * elf/elf.h (HWCAP_SPARC_*): Move to..
51713         * sysdeps/sparc/sysdep.h: this new file and add new values.
51714         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51715         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51716         _DL_HWCAP_COUNT to 24.
51717         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51718         entries.
51719         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51720         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51721         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51722         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51723         instead of magic constants.
51724         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51725
51726 2011-08-31  David S. Miller  <davem@davemloft.net>
51727
51728         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51730         Reimplement to do errno handling inline.
51731         (SYSCALL_ERROR_HANDLER): New macro.
51732         (__SYSCALL_STRING): Do not do errno handling in asm.
51733         (__CLONE_SYSCALL_STRING): Delete.
51734         (__INTERNAL_SYSCALL_STRING): Delete.
51735         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51736         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51737         (PSEUDO): Reimplement to do errno handling inline.
51738         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51739         (SYSCALL_ERROR_HANDLER): New macro.
51740         (__SYSCALL_STRING): Do not do errno handling in asm.
51741         (__CLONE_SYSCALL_STRING): Delete.
51742         (__INTERNAL_SYSCALL_STRING): Delete.
51743         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51744         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51745         i386.
51746         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51747         (inline_syscall*): Add 'err' argument.
51748         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51749         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51750         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51751         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51752
51753         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51754         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51755
51756 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51757
51758         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51759
51760 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51761
51762         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51763         directive.
51764
51765 2011-08-24  David S. Miller  <davem@davemloft.net>
51766
51767         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51768
51769 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51770
51771         * elf/Makefile: Add rules to build and run unload8 test.
51772         * elf/unload8.c: New file.
51773         * elf/unload8mod1.c: New file.
51774         * elf/unload8mod1x.c: New file.
51775         * elf/unload8mod2.c: New file.
51776         * elf/unload8mod3.c: New file.
51777
51778         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51779         it wasn't used.
51780
51781 2011-08-23  David S. Miller  <davem@davemloft.net>
51782
51783         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51784         subtract stack bias.
51785         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51786         %sp not %fp in calculations.
51787         (_JMPBUF_UNWINDS_ADJ): Likewise.
51788
51789         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51790         (aio_suspend): Call it to force an exception region around the
51791         AIO_MISC_WAIT() invocation.
51792
51793 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51794
51795         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51796         backslash.
51797
51798 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51799
51800         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51801         protection macro.
51802         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51803         and <dl-machine.h>.
51804         (Elf64_FuncDesc): Remove.
51805
51806 2011-08-22  David S. Miller  <davem@davemloft.net>
51807
51808         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51809         sigaltstack check, add missing cfi directives.
51810         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51811         missing cfi directives, and sigaltstack handling.
51812
51813 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51814
51815         [BZ #11724]
51816         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51817         object is seen twice.
51818         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51819
51820         * elf/Makefile (distribute): Add tst-initorder2.c.
51821         (tests): Add tst-initorder2.
51822         (modules-names): Add tst-initorder2a tst-initorder2b
51823         tst-initorder2c tst-initorder2d.  Add rules to build them.
51824         ($(objpfx)tst-initorder2.out): New rule.
51825         * elf/tst-initorder2.c: New file.
51826         * elf/tst-initorder2.exp: New file.
51827
51828 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51829
51830         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51831
51832         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51833         dependencies back to end of function.
51834
51835         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51836         $(elfobjdir)/ld.so.
51837
51838 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51839
51840         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51841         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51842         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51843         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51844         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51845         of __vdso_gettimeofday.
51846         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51847         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51848         attribute_hidden.
51849         (_libc_vdso_platform_setup): Remove initialization of
51850         __vdso_gettimeofday and __vdso_time.
51851
51852 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51853
51854         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51855         and fgetc_unlocked.
51856         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51857         getc_unlocked.
51858
51859         * elf/dl-open.c (add_to_global): Report additions to the global scope
51860         for LD_DEBUG=scopes.
51861         (dl_open_worker): Also print scope of newly loaded dependencies.
51862         (_dl_show_scope): Indicate if there is no scope.
51863
51864         [BZ #13114]
51865         * stdio-common/Makefile (tests): Add bug24.
51866         * stdio-common/bug24.c: New file.
51867
51868 2011-08-19  Andreas Jaeger  <aj@suse.de>
51869
51870         [BZ #13114]
51871         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51872         non-existant file when using close-on-exec mode.
51873
51874 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51875
51876         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51877         the very first instruction.
51878
51879         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51880         the CFI state in the end.
51881         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51882         inclusion of dl-trampoline.h.
51883         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51884
51885 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51886
51887         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51888         expectations for long double.
51889
51890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51891         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51892
51893 2011-08-14  David S. Miller  <davem@davemloft.net>
51894
51895         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51896         artificual limit depends upon the system page size.
51897
51898 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51899
51900         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51901         * resolv/Makefile: Define CFLAGS-libresolv.
51902
51903 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51904
51905         * nss/makedb.c (compute_tables): Make variables used in nested
51906         function static.
51907
51908 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51909
51910         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51911         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51912         if buffer was too small.
51913
51914         * elf/pldd.c (main): Attach to all threads in the process.
51915         Rewrite /proc handling to use *at functions.
51916
51917 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51918
51919         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51920         specifies first scope to show.
51921         (dl_open_worker): Update callers.  Move printing scope of new
51922         object to before the relocation.
51923         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51924         * sysdeps/generic/ldsodefs.h: Update declaration.
51925
51926         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51927         string for the scope number.
51928
51929 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51930
51931         * nscd/servicescache.c (cache_addserv): Make sure written is always
51932         initialized.
51933
51934 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51935
51936         * sysdeps/i386/i486/bits/atomic.h
51937         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51938         statement expression, so as to suppress "set but not used" warning.
51939         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51940
51941         * string/strncat.c (STRNCAT): Use prototype definition.
51942
51943         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51944         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51945         -Iprograms here.
51946         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51947         (localedef-modules): Add localedef.
51948         (locale-modules): Add locale.
51949
51950         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51951         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51952         to avoid a warning.
51953
51954 2011-08-14  David S. Miller  <davem@davemloft.net>
51955
51956         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51957         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51958
51959 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51960
51961         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51962         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51963         * elf/rtld.c (dl_main): Set l_name of vDSO.
51964         Call _dl_show_scope when DL_DEBUG_SCOPES.
51965         (process_dl_debug): Recognize scopes flag and also set it for all.
51966         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51967         Declare _dl_show_scope.
51968
51969         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51970         (do_dlopen): Pass caller_dlopen to dl_open.
51971         (__libc_dlopen_mode): Initialize caller_dlopen.
51972
51973         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51974         of libc.  Make tolower call locale-independent.  Optimize a bit by
51975         using isdigit instead of isalnum.
51976         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51977
51978 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51979
51980         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51981         was a dependency or dynamically loaded.
51982
51983 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51984
51985         * intl/l10nflist.c: Allow architecture-specific pop function.
51986         * sysdeps/x86_64/l10nflist.c: New file.
51987
51988         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51989         classification.
51990
51991 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51992
51993         * include/dirent.h: Add libc_hidden_proto for scandirat and
51994         scandirat64.  Don't declare __scandirat64.
51995         * dirent/scandirat.c: Add libc_hidden_def.
51996         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51997         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51998
51999 2011-08-10  David S. Miller  <davem@davemloft.net>
52000
52001         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52002         enum.
52003         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52004         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52005         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52006
52007 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52008
52009         * Versions.def [libc]: Add GLIBC_2.15.
52010         * dirent/Makefile (routines): Add scandirat and scandirat64.
52011         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52012         GLIBC_2.15.
52013         * dirent/dirent.h: Declare scandirat and scandirat64.
52014         * dirent/scandirat.c: New file.
52015         * dirent/scandirat64.c: New file.
52016         * sysdeps/wordsize-64/scandirat.c: New file.
52017         * sysdeps/wordsize-64/scandirat64.c: New file.
52018         * dirent/opendir.c: Define opendirat.
52019         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52020         using scandirat.
52021         * dirent/scandir64.c: Adjust for scandir.c change.
52022         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52023         __scandirat64, and __scandir_cancel_handler.
52024         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52025         additional parameter and use openat instead of open (outside of ld.so).
52026         Add new __opendir as wrapper around __opendirat.
52027         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52028         here without requiring old scandirat implementation.
52029
52030 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52031
52032         * dirent/scandir.c (cancel_handler): Renamed to
52033         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52034         defined.  Adjust users.
52035         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52036         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52037
52038 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52039
52040         * string/test-string.h (IMPL): Use __STRING to expand name and then
52041         stringify it.
52042
52043         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52044         of cleanups.
52045
52046 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52047
52048         * string/Makefile: Update.
52049         (strop-tests): Append strncat.
52050         * string/test-wcscmp.c: New file.
52051         New comprehensive test for wcscmp.
52052         * string/test-strcmp.c: Update.
52053         (WIDE): New define.
52054
52055 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52056
52057         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52058         line.
52059
52060 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52061
52062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52063         encoding to ACE if AI_IDN.
52064
52065 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52066
52067         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52068         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52069
52070 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52071
52072         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52073         Fix overflow bug in strncat.
52074         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52075
52076         * string/test-strncat.c: Update.
52077         Add new tests for checking overflow bugs.
52078
52079 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52080
52081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52082         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52083         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52084         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52085         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52086         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52087         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52088         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52089         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52090
52091         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52092         (USE_AS_STRCAT): Define.
52093         Add strcat and strncat support.
52094         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52095
52096 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52097
52098         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52099         __n bigger than INT_MAX+1.
52100         (__strncmp_g): Likewise.
52101
52102 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52103
52104         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52105         * libio/stido.h: Likewise.
52106
52107         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52108         (AF_NFC): Define.
52109         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52110         (AF_NFC): Define.
52111
52112         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52114         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52115         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52116         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52117
52118         [BZ #13021]
52119         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52120         installed.
52121
52122         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52123         typo.
52124         (_dl_x86_64_save_sse): Likewise.
52125
52126 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52127
52128         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52129         OSXSAVE.
52130         (_dl_x86_64_save_sse): Likewise.
52131
52132         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52133
52134         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52135
52136 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52137
52138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52139         change.
52140         (_dl_x86_64_save_sse): Use correct AVX check.
52141
52142 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52143
52144         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52145         bug in strncpy/strncat.
52146         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52147
52148 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52149
52150         * string/tester.c (test_strcat): Add tests for different alignments
52151         of source and destination.
52152         (test_strncat): Likewise.
52153
52154 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52155
52156         [BZ #12852]
52157         * posix/glob.c (glob): Check passed in values before using them in
52158         expressions to avoid some overflows.
52159         (glob_in_dir): Likewise.
52160
52161         [BZ #13007]
52162         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52163         check for AVX enablement so that we don't crash with old kernels and
52164         new hardware.
52165         * elf/tst-audit4.c: Add same checks here.
52166         * elf/tst-audit6.c: Likewise.
52167
52168         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52169
52170 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52171
52172         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52173
52174 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52175
52176         * po/cs.po: Update from translation team.
52177         * po/bg.po: Likewise.
52178
52179 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52180
52181         * misc/sys/cdefs.h: Add support for const attribute.
52182         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52183         to gnu_dev_{major,minor,makedev} functions.
52184
52185 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52186
52187         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52188
52189 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52190
52191         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52192         strlen results.
52193
52194 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52195
52196         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52197         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52198         register in order to avoid conflicts with the soft frame pointer
52199         being held in r11 when necessary.
52200         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52201         (INTERNAL_VSYSCALL_NCS): Likewise.
52202
52203 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52204
52205         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52206         * elf/dl-fini.c (_dl_fini): Adjust caller.
52207         * elf/dl-close.c (_dl_close_worker): Likewise.
52208         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52209
52210 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52211
52212         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52213         "aux_cache->nlibs < 0".
52214
52215         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52216         in the reload-count case.
52217
52218 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52219
52220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52221         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52222         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52223         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52224         * sysdeps/x86_64/multiarch/strcat.S: New file.
52225         * sysdeps/x86_64/multiarch/strncat.S: New file.
52226         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52227         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52228         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52229         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52230         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52231         (USE_AS_STRCAT): Define.
52232         Add strcat and strncat support.
52233         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52234         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52235         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52236         * string/strncat.c: Update.
52237         (USE_AS_STRNCAT): Define.
52238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52239         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52240         and i7.
52241         * sysdeps/x86_64/multiarch/init-arch.h
52242         (bit_Prefer_PMINUB_for_stringop): New.
52243         (index_Prefer_PMINUB_for_stringop): Likewise.
52244         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52245         bit_Prefer_PMINUB_for_stringop.
52246
52247 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52248
52249         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52250         buffer64.
52251         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52252         of casting of buffer.
52253         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52254         buffer32 and buffer64.
52255         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52256         writes instead of casting of buffer.
52257         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52258         buffer32.
52259         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52260         casting of buffer.
52261
52262 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52263
52264         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52265
52266 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52267
52268         * nscd/nscd.c (termination_handler): Don't do anything for a database
52269         if it has not yet been initialized.
52270
52271 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52272
52273         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52274
52275 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52276
52277         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52278
52279 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52280
52281         * po/nl.po: Update from translation team.
52282         * po/sv.po: Likewise.
52283
52284 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52285
52286         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52287         now disallowed by GCC.
52288
52289         * configure.in (use-default-link): Default to yes if a test -shared
52290         link meets our qualifications.
52291         * configure: Regenerated.
52292
52293         * config.make.in (output-format): New variable.
52294         * configure.in: Check for ld --print-output-format support.
52295         * configure: Regenerated.
52296         * Makerules ($(common-objpfx)format.lds)
52297         [$(output-format) != unknown]: Just use $(output-format),
52298         instead of the linker-script munging.
52299
52300 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52301
52302         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52303         of $(common-objpfx)shlib.lds.
52304         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52305
52306         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52307         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52308
52309         * configure.in (-z relro check): Adjust test code to add a large
52310         writable data section after it.
52311         * configure: Regenerated.
52312
52313 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52314
52315         * configure.in (-z relro check): Fix test code to make the variable
52316         truly const.
52317         * configure: Regenerated.
52318
52319 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52320
52321         * nscd/nscd.h (struct traced_file): Define.
52322         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52323         elements.  Add traced_files.
52324         (inotify_fd): Declare.
52325         (register_traced_file): Declare.
52326         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52327         (inotify_fd): Export.
52328         (resolv_conf_descr): Remove.
52329         (nscd_init): Move inotify descriptor creation to main.
52330         Don't register files for notification here.
52331         (register_traced_file): New function.
52332         (invalidate_cache): Don't use reset_res to determine whether to call
52333         res_init, go through the list of registered files.
52334         (main_loop_poll): The inotify descriptors are now stored in the
52335         structures for the traced files.
52336         (main_loop_epoll): Likewise
52337         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52338         to __nss_disable_nscd.
52339         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52340         for a database anymore.  Check the records for all the registered
52341         files instead.
52342         * nss/Makefile (libnss_files-routines): Add files-init.
52343         (libnss_db-routines): Add db-init.
52344         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52345         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52346         * nss/nss_db/db-init.c: New file.
52347         * nss/nss_files/files-init.c: New file.
52348         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52349         __nss_lookup_function.
52350         (__nss_lookup_function): Call nss_load_library.
52351         (nss_load_all_libraries): New function.
52352         (__nss_disable_nscd): Take parameter with callback function for files
52353         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52354         used for the cached services.
52355         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52356         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52357         options for features to all the files in nscd.
52358
52359         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52360
52361 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52362
52363         * csu/elf-init.c (__libc_csu_init): Comment typo.
52364
52365 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52366
52367         * po/pl.po: Update from translation team.
52368         * po/ja.po: Likewise.
52369         * po/ru.po: Likewise.
52370         * po/ko.po: Likewise.
52371         * po/fr.po: Likewise.
52372
52373 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52374
52375         * configure.in (.ctors/.dtors header and trailer check):
52376         Use an empirical test on a built program.
52377         * configure: Regenerated.
52378
52379         * configure.in (-z relro check): Use an empirical test on a built DSO.
52380         Detect, but do not require, on ia64.
52381         * configure: Regenerated.
52382
52383         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52384         Update tests that use readelf to use $READELF instead.
52385         * configure: Regenerated.
52386
52387 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52388
52389         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52390         if the result is not used.
52391
52392 2011-07-05  Andreas Jaeger  <aj@suse.de>
52393
52394         [BZ#9696]
52395         * stdlib/tst-strtod.c: Add testcase.
52396
52397 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52398
52399         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52400         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52401         The latter has a higher limit.  Take additional parameter to pass to
52402         the new function.
52403         (__pathconf): Pass file to __statfs_link_max.
52404         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52405         __statfs_link_max.
52406         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52407         __statfs_link_max.
52408
52409         [BZ #12868]
52410         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52411         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52412         Handle Lustre.
52413         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52414         (__statfs_filesize_max): Likewise.
52415         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52416
52417 2011-07-05  Andreas Jaeger  <aj@suse.de>
52418
52419         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52420
52421 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52422
52423         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52424         `status' variable.
52425         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52426         Likewise.
52427
52428 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52429
52430         * Makefile (strop-tests): Add strncat.
52431         * string/test-strncat.c: New file.
52432
52433 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52434
52435         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52436
52437 2011-06-21  Andreas Jaeger  <aj@suse.de>
52438
52439         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52440         Copy rule from iconvdata/Makefile.
52441
52442 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52443
52444         [BZ #12922]
52445         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52446         but no long options are defined, just return 'W'.
52447
52448 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52449
52450         [BZ #9696]
52451         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52452
52453 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52454
52455         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52456         netgroups to read.
52457         (innetgr): Likewise.
52458
52459 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52460
52461         * config.make.in (install_root): Default to $(DESTDIR).
52462
52463 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52464
52465         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52466
52467 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52468
52469         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52470
52471         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52472         containing directory rather than embedding absolute directory names.
52473
52474         * scripts/check-local-headers.sh: Rewritten using awk.
52475         Match by word, not by line.  Print error messages for matches.
52476         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52477
52478         * Makerules [shlib-lds-flags empty]:
52479         ($(common-objpfx)libc_pic.opts): New target.
52480         ($(common-objpfx)libc_pic.os.clean): New target.
52481         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52482
52483         * config.make.in (OBJCOPY): New variable.
52484         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52485         * configure: Regenerated.
52486
52487         * config.make.in (use-default-link): New variable.
52488         * configure.in (use_default_link): Grok --with-default-link to set it.
52489         * configure: Regenerated.
52490         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52491         (shlib-lds, shlib-lds-flags): Define to empty.
52492
52493         * Makerules (shlib-lds): New variable.
52494         (shlib-lds-flags): New variable.
52495         (build-shlib, build-moduile, build-module-asneeded): Use it.
52496         ($(common-objpfx)libc.so): Use $(shlib-lds).
52497         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52498         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52499
52500         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52501         DT_FLAGS/DT_FLAGS_1 with zero flags.
52502
52503         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52504         linker script munging.
52505
52506 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52507
52508         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52509         as 128-bit value.
52510         * crypt/sha512.c (sha512_process_block): Perform total addition using
52511         128-bit if possible.
52512         (__sha512_finish_ctx): Likewise.
52513         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52514         as 64-bit value.
52515         * crypt/sha256.c (SWAP64): Define.
52516         (sha256_process_block): Perform total addition using 64-bit if
52517         possible.
52518         (__sha256_finish_ctx): Likewise.
52519
52520 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52521
52522         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52523         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52524         * nscd/hstcache.c (cache_addhst): Likewise.
52525         * nscd/grpcache.c (cache_addgr): Likewise.
52526         * nscd/aicache.c (addhstaiX): Likewise
52527         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52528
52529 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52530
52531         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52532         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52533         * nscd/hstcache.c (cache_addhst): Likewise.
52534         * nscd/grpcache.c (cache_addgr): Likewise.
52535         * nscd/aicache.c (addhstaiX): Likewise
52536
52537 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52538
52539         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52540         domain only when needed.
52541
52542 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52543
52544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52545         is always restored.
52546
52547 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52548
52549         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52550         are re-adding the entry.
52551         * nscd/servicescache.c (cache_addserv): Likewise.
52552
52553 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52554
52555         * sysdeps/generic/dl-irel.h: fix protection against multiple
52556         inclusions.
52557         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52558
52559 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52560
52561         [BZ #12935]
52562         * malloc/memusage.sh: Fix quoting in message.
52563         * debug/xtrace.sh: Likewise.
52564
52565         * configure.in: Remove support for --experimental-malloc option, make
52566         it the default.
52567         * config.make.in: Likewise.
52568         * malloc/Makefile: Likewise.
52569
52570 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52571
52572         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52573         two-byte characters.
52574
52575 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52576
52577         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52578         AC_CACHE_CHECK invocation.
52579         * configure: Regenerated.
52580
52581         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52582
52583 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52584
52585         [BZ #12350]
52586         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52587         bit from old_res_options.
52588
52589         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52590
52591         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52592         value type for setfct.
52593
52594 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52595
52596         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52597         __gettimeofday instead of gettimeofday.
52598
52599 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52600
52601         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52602
52603 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52604
52605         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52606
52607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52608         info.
52609
52610 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52611
52612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52613         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52614         strcpy-sse2-unaligned strncpy-sse2-unaligned
52615         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52616         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52617         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52618         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52619         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52620         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52621         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52622         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52623         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52624         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52625         (STRCPY): Support SSE2 and SSSE3 versions.
52626
52627 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52628
52629         [BZ #12874]
52630         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52631         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52632         kernels which artificially limit size of requests.
52633
52634 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52635
52636         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52637         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52638         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52639         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52640         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52641         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52642         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52643         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52644         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52645         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52646         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52647         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52648         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52649         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52650         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52652         Enable unaligned load optimization for Intel Core i3, i5 and i7
52653         processors.
52654         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52655         Define.
52656         (index_Fast_Unaligned_Load): Define.
52657         (HAS_FAST_UNALIGNED_LOAD): Define.
52658
52659 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52660
52661         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52662
52663 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52664
52665         [BZ #12907]
52666         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52667         until it is clear that the information is realy needed.
52668         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52669
52670 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52671
52672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52673
52674 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52675
52676         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52677         /sys/devices/system/cpu/online if it is usable.
52678
52679         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52680         reading the information from the /proc filesystem to once a second.
52681
52682 2011-06-21  Andreas Jaeger  <aj@suse.de>
52683
52684         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52685         NULL after inclusion of kernel headers.
52686
52687 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52688
52689         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52690         calls to internal_setent.
52691
52692         [BZ #12885]
52693         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52694         addresses using gethostbyname4_r ignore IPv4 addresses.
52695
52696         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52697         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52698
52699         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52700
52701 2011-06-20  David S. Miller  <davem@davemloft.net>
52702
52703         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52704         inclusions.
52705         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52706
52707         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52708         (elf_irel): Use it.
52709         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52710         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52711         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52712         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52713         * sysdeps/x86_64/dl-irel.h: Likewise.
52714
52715         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52716         * elf/dl-sym.c: Likewise.
52717
52718 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52719
52720         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52721         need to dereference resplen2.
52722
52723 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52724
52725         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52726
52727 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52728
52729         * Makeconfig: Define vardbdir and inst_vardbdir.
52730         * nss/Makefile: Add rules to install db-Makefile.
52731
52732         * nss/nss_db/db-XXX.c: Cleanup.
52733
52734         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52735         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52736         GLIBC_PRIVATE.
52737         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52738         * nss/makedb.c: Implement -g option to specify that value strings
52739         are generated and should not be added to table iterated over for
52740         get*ent calls.
52741         * nss/nss_db/db-initgroups.c: New file.
52742
52743         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52744         interface.
52745
52746         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52747         (internal_getgrouplist): Adjust to name change.
52748         Update use_initgroups_entry if this is not the first call.
52749         * nss/databases.def: Add initgroups entry.
52750
52751         * nss/makedb.c (compute_tables): Check result of multiple hash table
52752         sizes to minimize maximum chain length.
52753
52754 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52755
52756         * Versions.def: Add entry for libnss_db.
52757         * shlib-versions: Likewise.
52758         * nss/Makefile: Add rules to build libnss_db.
52759         * nss/Versions: Add libnss_db information.  Organize libnss_files
52760         entries better.
52761         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52762         makedb progra.  Some minor improvements to generate smaller files.
52763         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52764         here from...
52765         * nss/makedb.c: ...here.
52766         Improve database format to be smaller and require less memory at
52767         runtime.
52768         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52769         db anymore.
52770         * nss/nss_db/db-netgrp.c: Likewise.
52771         * nss/nss_db/db-open.c: Likewise.
52772         * nss/nss_files/flies-XXX.x: Adjust comments.
52773         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52774         * nss/nss_files/files-grp.c: Likewise.
52775         * nss/nss_files/files-hosts.c: Likewise.
52776         * nss/nss_files/files-network.c: Likewise.
52777         * nss/nss_files/files-proto.c: Likewise.
52778         * nss/nss_files/files-pwd.c: Likewise.
52779         * nss/nss_files/files-rpc.c: Likewise.
52780         * nss/nss_files/files-service.c: Likewise.
52781         * nss/nss_files/files-sgrp.c: Likewise.
52782         * nss/nss_files/files-spwd.c: Likewise.
52783         * nss/nss_db/db-alias.c: Removed.
52784         * nss/nss_db/dummy-db.h: Removed.
52785
52786 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52787
52788         * nss/makedb.c: Rewritten to not use database library.
52789         * nss/Makefile: Update to build new makedb program.
52790
52791 2011-06-14  Andreas Jaeger  <aj@suse.de>
52792
52793         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52794         memset declaration.
52795
52796 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52797
52798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52799         tmpbuf.
52800
52801 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52802
52803         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52804         * elf/Makefile ($(objpfx)ld.so): Likewise.
52805
52806         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52807         Don't list ld.so twice in dependencies.
52808
52809         * posix/bug-regex31.c: Include <stdlib.h>.
52810
52811         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52812
52813         * nis/nss_compat/compat-spwd.c
52814         (getspent_next_nss_netgr): Remove unused variable.
52815         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52816
52817         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52818         nonmembers" output to use the right array.
52819
52820         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52821
52822         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52823
52824         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52825         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52826         * catgets/gencat.c (read_input_file): Likewise.
52827         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52828
52829         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52830         variable definition inside #if's controlling its use.
52831
52832         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52833
52834         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52835
52836         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52837
52838         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52839         unreachable code.
52840
52841         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52842
52843         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52844         * configure: Regenerated.
52845
52846         * Makerules: Revert last change.
52847         * elf/Makefile: Likewise.
52848
52849 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52850
52851         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52852         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52853         (reloc-link): Likewise.
52854
52855 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52856
52857         * elf/Makefile: Add rules to build pldd.
52858         * elf/pldd.c: New file.
52859         * elf/pldd-xx.c: New file.
52860
52861 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52862
52863         * version.h: Update for 2.15 development version.
52864
52865 2011-06-07  David S. Miller  <davem@davemloft.net>
52866
52867         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52868         ifuncs.
52869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52870         elf_machine_lazy_rel): Likewise.
52871         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52872         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52873         elf_machine_lazy_rel): Likewise.
52874         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52875         dl_hwcap via passed in argument.
52876         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52877         Likewise.
52878
52879 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52880
52881         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52882
52883 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52884
52885         [BZ #12849]
52886         * manual/fdl-1.1.texi: New file, verbatim from:
52887         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52888         * manual/lgpl-2.1.texi: New file, verbatim from:
52889         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52890         * manual/Makefile (licenses): New variable, list those new file names.
52891         (texis): Use it.
52892         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52893
52894         * manual/fdl.texi: File removed.
52895         * manual/lesser.texi: File removed.
52896         * manual/libc.texinfo (Copying, Documentation License):
52897         Use new @include file names, put @appendix directive before @include.
52898
52899 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52900
52901         [BZ #12841]
52902         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52903         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52904         (mq_open): Add __NTH.
52905
52906 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52907
52908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52909         Assume Intel Core i3/i5/i7 processor if AVX is available.
52910
52911 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52912
52913         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52914         typo.
52915
52916 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52917
52918         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52919         memory.  Use alloca_account.  Fix memory leak when retrying.
52920
52921 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52922
52923         * version.h (RELEASE): Bump for 2.14 release.
52924         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52925
52926         * config.make.in (RANLIB): Remove entry.
52927
52928 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52929
52930         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52931         (libc.pot): Work around missing support for .ksh extension in xgettext.
52932
52933         [BZ #12684]
52934         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52935         if both request failed.
52936         (send_dg): In case of server errors clear resplen or *resplen2.
52937
52938         [BZ #12454]
52939         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52940         when there are multiple maps.
52941         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52942         (_dl_fini): Remove test here.
52943
52944         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52945
52946 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52947
52948         [BZ #12350]
52949         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52950         bit from old_res_options.
52951         (gaih_inet): Likewise.
52952
52953         [BZ #11099]
52954         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52955         as signed.
52956
52957         * resolv/res_init.c (res_setoptions): Make the code more compact.
52958
52959         [BZ #11558]
52960         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52961         set RES_USEVC.
52962
52963         [BZ #11634]
52964         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52965
52966         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52967
52968         [BZ #11781]
52969         * malloc/malloc.h: Declare malloc hook variables as volatile.
52970
52971         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52972         in last patch.
52973
52974         [BZ #11799]
52975         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52976         raise in the comment.
52977         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52978         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52979         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52980
52981 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52982
52983         [BZ #12811]
52984         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52985         grow the buffers more if it already has to be sufficient.
52986         (build_wcs_upper_buffer): Likewise.
52987         * posix/regexec.c (check_matching): Likewise.
52988         (clean_state_log_if_needed): Likewise.
52989         (extend_buffers): Don't enlarge buffers beyond size of the input
52990         buffer.
52991         Patches mostly by Emil Wojak <emil@wojak.eu>.
52992         * posix/bug-regex32.c: New file.
52993         * posix/Makefile (tests): Add bug-regex32.
52994
52995         * locale/findlocale.c (_nl_find_locale): Return right away if
52996         _nl_explode_name failed.
52997         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52998
52999         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53000
53001         * debug/xtrace.sh: Unify messages.
53002         * malloc/memusage.sh: Likewise.
53003
53004         [BZ #12813]
53005         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53006         time symbol from vDSO.  Substitute with vsyscall if not available.
53007         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53008         __vdso_time.
53009
53010         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53011         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53012         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53013         Add sendmmsg and internal_sendmmsg.
53014         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53015         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53016         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53017
53018         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53019         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53020         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53021
53022 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53023
53024         [BZ #12813]
53025         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53026         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53027         available.
53028         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53029         __vdso_getcpu.
53030
53031         [BZ #12814]
53032         * iconvdata/Makefile (tests): Add bug-iconv9.
53033         * iconvdata/bug-iconv9.c: New file.
53034
53035 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53036
53037         [BZ #12814]
53038         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53039
53040 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53041
53042         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53043         (struct user_regs_struct): Change intcs field back to cs.
53044
53045 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53046
53047         * po/ja.po: Update from translation team.
53048
53049 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53050
53051         [BZ #12795]
53052         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53053         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53054
53055 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53056
53057         * stdlib/longlong.h: Update from GCC.
53058
53059 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53060
53061         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53062         parameter name.
53063         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53064         Add parameter name.
53065         (__sysconf): Pass it down.
53066
53067 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53068
53069         [BZ #12671]
53070         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53071         some situations.
53072         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53073         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53074         add in in __libc_use_alloca calls.  Adjust callers.
53075         (glob): Use malloc in some situations.
53076
53077         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53078         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53079         pltexit.
53080
53081 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53082
53083         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53084         and CLOCK_BOOTTIME_ALARM.
53085
53086         [BZ #12782]
53087         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53088         is returned.
53089
53090         * string/_strerror.c (__strerror_r): Print negative errors as signed
53091         numbers.
53092
53093         [BZ #12777]
53094         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53095         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53096         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53097
53098         * configure.in: Fix typo in redirection and correct removal of test
53099         files in two cases.
53100
53101         [BZ #12788]
53102         * locale/setlocale.c (new_composite_name): Fix test to check for
53103         identical name of all categories.
53104
53105         [BZ #12792]
53106         * libio/filedoalloc.c (local_isatty): New function.
53107         (_IO_file_doallocate): Use local_isatty.
53108         * stdio-common/perror.c (perror): In case a new stream is used
53109         forward the stream error.
53110         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53111         error flag.
53112
53113 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53114
53115         [BZ #11869]
53116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53117         alloca.
53118         * include/alloca.h (extend_alloca_account): Define.
53119
53120         [BZ #11857]
53121         * posix/regex.h: Fix comments with documentation of user-accessible
53122         fields after compilation and describe correct free'ing of pattern
53123         after re_compile_pattern.
53124         Patch by Reuben Thomas <rrt@sc3d.org>.
53125
53126 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53127
53128         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53129         and -mno-altivec to prevent the compiler from using Altivec and/or
53130         VSX instructions when the corresponding registers are not available.
53131
53132 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53133
53134         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53135
53136 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53137
53138         * libio/freopen.c (freopen): Use __dup2, not dup2.
53139         * libio/freopen64.c (freopen64): Likewise.
53140
53141 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53142
53143         [BZ #12775]
53144         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53145         * math/Makefile (tests): Add test-powl.
53146         (CFLAGS-test-powl.c): Define.
53147         * math/test-powl.c: New file.
53148
53149 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53150
53151         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53152
53153 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53154
53155         [BZ #11837]
53156         * iconvdata/gb18030.c: Update to GB18020-2005.
53157
53158 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53159
53160         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53161         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53162         Patch by Aharon Robbins <arnold@skeeve.com>.
53163
53164         [BZ #11892]
53165         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53166         on the stack.
53167
53168         [BZ #11895]
53169         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53170         through underflows.
53171
53172         [BZ #12766]
53173         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53174         point to strings before performing equality test for error_one_per_line
53175         mode.
53176
53177         [BZ #11697]
53178         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53179
53180         [BZ #11820]
53181         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53182         (struct user_fpregs_struct): Avoid __uint*_t types.
53183
53184         [BZ #6420]
53185         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53186         symbol info.  Use it instead of calling _dl_addr locally.
53187         (lock_and_info): New function.
53188         (tr_freehook): Call lock_and_info and pass symbol info as additional
53189         parameter to tr_where.
53190         (tr_mallochook): Likewise.
53191         (tr_reallochook): Likewise.
53192         (tr_memalignhook): Likewise.
53193
53194         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53195         used and couldn't be at all thread-safe.
53196
53197 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53198
53199         * libio/freopen.c (freopen): Don't close old file descriptor
53200         before the new one is opened.  Instead dup the new file descriptor
53201         to the old one after the new stream is created.
53202         * libio/freopen64.c (freopen64): Likewise.
53203         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53204         * libio/fileops.c (_IO_new_file_close_it): Handle new
53205         _IO_FLAGS2_NOCLOSE flag.
53206         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53207         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53208         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53209         _IO_FLAGS2_NOCLOSE flag.
53210         * include/unistd.h: Add hidden_proto for dup3.
53211         Define __have_dup3.
53212         * io/dup3.c: Define hidden symbol.
53213         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53214
53215         [BZ #7101]
53216         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53217         when an incomplete long option is used.
53218         * posix/tst-getopt_long1.c: New file.
53219         * posix/Makefile (tests): Add tst-getopt_long1.
53220
53221         [BZ #10138]
53222         * scripts/config.guess: Update from autoconf-2.68.
53223         * scripts/config.sub: Likewise.
53224
53225         [BZ #10157]
53226         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53227         tests into ...
53228         (has_cpuclock): ...this.  New function.
53229         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53230         macro here based on has_cpuclock code.
53231
53232         [BZ #10149]
53233         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53234         First byte (not low byte) is now always NUL.
53235         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53236
53237         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53238         Use non-cancelable interfaces.
53239
53240         [BZ #9809]
53241         * locale/iso-639.def: Add entry for Sorani.
53242
53243         [BZ #11901]
53244         * include/stdlib.h: Move include protection to the right place.
53245         Define abort_msg_s.  Declare __abort_msg with it.
53246         * stdlib/abort.c (__abort_msg): Adjust type.
53247         * assert/assert.c (__assert_fail_base): New function.  Majority
53248         of code from __assert_fail.  Allocate memory for __abort_msg with
53249         mmap.
53250         (__assert_fail): Now call __assert_fail_base.
53251         * assert/assert-perr.c: Remove bulk of implementation.  Use
53252         __assert_fail_base.
53253         * include/assert.hL Declare __assert_fail_base.
53254         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53255         mmap.
53256         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53257
53258 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53259
53260         [BZ #11952]
53261         [BZ #12453]
53262         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53263         until all modules are registered in the DTV.
53264         * elf/Makefile: Add rules to build and run tst-tls19.
53265         * elf/tst-tls19.c: New file.
53266         * elf/tst-tls19mod1.c: New file.
53267         * elf/tst-tls19mod2.c: New file.
53268         * elf/tst-tls19mod3.c: New file.
53269         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53270
53271         [BZ #12083]
53272         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53273         correctly.
53274
53275         [BZ #12601]
53276         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53277         two-byte sequence errors.
53278         * iconvdata/Makefile (tests): Add bug-iconv8.
53279         * iconvdata/bug-iconv8.c: New file.
53280
53281         [BZ #12626]
53282         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53283         buf2 definition.
53284
53285         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53286
53287         [BZ #12432]
53288         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53289         (dummy_getcfa): New function.
53290         (init): Get _Unwind_GetCFA address, use dummy if not found.
53291         (backtrace_helper): In recursion check, also check whether CFA changes.
53292         (__backtrace): Completely initialize arg.
53293
53294         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53295         storing incomplete byte sequence in state object.  Avoid testing for
53296         guaranteed too small input if we know there is enough data available.
53297
53298 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53299
53300         * Makeconfig (+link-pie): Indent.
53301         * Rules (binaries-pie): Define if $(have-fpie) and
53302         $(build-shared).
53303         (binaries-shared): Also filter out $(binaries-pie).
53304         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53305         * nscd/Makefile (others-pie): Add nscd.
53306         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53307         ($(objpfx)nscd): Remove command override.
53308         * login/Makefile (others-pie): Add pt_chown.
53309         ($(objpfx)pt_chown): Remove command override.
53310         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53311         remove command overrides.
53312
53313 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53314
53315         * libio/tst_putwc.c: Fix error messages.
53316
53317         [BZ #12724]
53318         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53319         currently writing and seek to current position when not.
53320         * libio/Makefile (tests): Add bug-fclose1.
53321         * libio/bug-fclose1.c: New file.
53322
53323 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53324
53325         [BZ #12511]
53326         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53327         don't set DF_1_NODELETE here.
53328         (do_lookup_x): When entering new entry test for copy relocation
53329         and if necessary set DF_1_NODELETE flag.
53330         * elf/tst-unique4.cc: New file.
53331         * elf/tst-unique4.h: New file.
53332         * elf/tst-unique4lib.cc: New file.
53333         * elf/Makefile: Add rules to build and run tst-unique4.
53334         Patch by Piotr Bury <pbury@goahead.com>.
53335
53336 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53337
53338         [BZ #12052]
53339         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53340
53341         [BZ #12625]
53342         * misc/mntent_r.c (addmntent): Flush the stream after the output
53343
53344         [BZ #12393]
53345         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53346         (is_trusted_path_normalize): Skip initial colon.  Append slash
53347         to empty buffer.  Duplicate is_trusted_path code but allow
53348         constructed patch to be prefix.
53349         (is_dst): Allow $ORIGIN followed by /.
53350         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53351         Correct testing of result of is_trusted_path_normalize
53352         (decompose_rpath): Fix warning.
53353
53354 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53355
53356         [BZ #11257]
53357         * grp/initgroups.c (internal_getgrouplist): When we found the service
53358         list through the initgroups entry in nsswitch.conf do not always
53359         continue on a successful lookup.  Don't always use the
53360         __nss_group_database value if it is set.
53361         * nss/nsswitch.conf (initgroups): Change action for successful db
53362         lookup to continue for compatibility.
53363
53364 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53365
53366         [BZ #11532]
53367         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53368         and CP774 modules.
53369         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53370         and CP774 modules.
53371         * iconvdata/tst-tables.sh: Likewise.
53372         * iconvdata/cp770.c: New file.
53373         * iconvdata/cp771.c: New file.
53374         * iconvdata/cp772.c: New file.
53375         * iconvdata/cp773.c: New file.
53376         * iconvdata/cp774.c: New file.
53377         * iconvdata/testdata/CP770: New file.
53378         * iconvdata/testdata/CP770..UTF8: New file.
53379         * iconvdata/testdata/CP771: New file.
53380         * iconvdata/testdata/CP771..UTF8: New file.
53381         * iconvdata/testdata/CP772: New file.
53382         * iconvdata/testdata/CP772..UTF8: New file.
53383         * iconvdata/testdata/CP773: New file.
53384         * iconvdata/testdata/CP773..UTF8: New file.
53385         * iconvdata/testdata/CP774: New file.
53386         * iconvdata/testdata/CP774..UTF8: New file.
53387
53388         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53389         END CHARMAP line.
53390         * iconvdata/gen-8bit-gap.sh: Likewise.
53391         * iconvdata/gen-8bit.sh: Likewise.
53392
53393         * locale/iso-639.def: Add ary entry.
53394
53395         [BZ #11258]
53396         * locale/C-translit.h.in: Add U20A1 transliteration.
53397
53398         [BZ #12178]
53399         * locale/iso-639.def: Add wae entry.
53400         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53401
53402         [BZ #12545]
53403         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53404         for n.
53405
53406         [BZ #12711]
53407         * locale/C-translit.h.in: Add entry for U20B9.
53408         Patch by pravin.d.s@gmail.com.
53409
53410 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53411
53412         [BZ #12713]
53413         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53414         ENAMETOOLONG use generic getcwd.
53415         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53416         in rtld.  Use *stat64.
53417         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53418         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53419         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53420         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53421         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53422         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53423         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53424         __fstatat64 macros.
53425         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53426         * dirent/rewinddir.c: Add libc_hidden_def.
53427         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53428         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53429
53430         * include/dirent.h (__alloc_dir): Add flags parameter.
53431         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53432         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53433         __alloc_dir.
53434         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53435         from fdopendir if O_CLOEXEC is already set.
53436
53437 2011-03-15  Alan Modra  <amodra@gmail.com>
53438
53439         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53440         l_tls_firstbyte_offset non-zero.  Save padding offset in
53441         l_tls_firstbyte_offset for later use.
53442         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53443         freeing static tls block.
53444
53445 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53446
53447         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53448         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53449         being defined by the kernel headers.
53450
53451 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53452
53453         [BZ #12734]
53454         * resolv/resolv.h: Define RES_NOTLDQUERY.
53455         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53456         no-tld-query and set RES_NOTLDQUERY.
53457         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53458         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53459         modern BIND to search name as TLD unless forbidden.
53460
53461 2011-05-07  Petr Baudis  <pasky@suse.cz>
53462             Ulrich Drepper  <drepper@gmail.com>
53463
53464         [BZ #12393]
53465         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53466         (is_trusted_path): ...to here.
53467         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53468         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53469         using is_trusted_path_normalize() in setuid scripts.
53470
53471 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53472
53473         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53474         __BEGIN/__END_DECLS.
53475
53476 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53477
53478         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53479         NSS_STATUS_NOTFOUND if no record was found.
53480
53481 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53482
53483         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53484         (headers-not-in-tirpc): Remove rpc/netdb.h
53485         * resolv/netdb.h: Revert last change.
53486
53487 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53488
53489         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53490         circular dependency between libgcc.a and libc.a.
53491
53492 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53493
53494         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53495         * nis/Makefile: Don't install rpcsvc/*.
53496         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53497         instead of <rpc/types.h>.
53498         (MAXHOSTNAMELEN): Define.
53499
53500 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53501
53502         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53503
53504 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53505
53506         [BZ #12714]
53507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53508         gethostbyname4_r when IPv6 results are possible.
53509
53510 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53511
53512         [BZ #12723]
53513         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53514         _PC_PIPE_BUF handling.
53515
53516 2011-04-30  Bruno Haible  <bruno@clisp.org>
53517
53518         [BZ #12717]
53519         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53520         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53521         to 'int'.
53522         * inet/getnameinfo.c (getnameinfo): Likewise.
53523
53524 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53525
53526         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53527         to groups setting in database lookup.
53528         * nss/nsswitch.conf: Add initgroups entry.
53529
53530 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53531
53532         [BZ #12685]
53533         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53534         mode string.
53535         Patch by Eric Blake <eblake@redhat.com>.
53536
53537 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53538
53539         * sunrpc/Makefile (need-export-routines): Add svc_run.
53540         (routines): Remove svc_run.
53541         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53542         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53543         * sunrpc/svc_run.c (svc_run): Likewise.
53544         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53545
53546 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53547
53548         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53549         problem in reallocation in last patch.
53550
53551 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53552
53553         * sunrpc/Makefile: Move inclusion of Rules.
53554
53555 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53556
53557         * nss/nss_files/files-initgroups.c: New file.
53558         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53559         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53560         _nss_files_initgroups_dyn.
53561
53562 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53563
53564         * elf/elf.h (R_ARM_IRELATIVE): Define.
53565
53566 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53567
53568         * po/ru.po: Update from translation team.
53569
53570 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53571
53572         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53573         dependencies.
53574
53575 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53576
53577         [BZ #12653]
53578         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53579         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53580         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53581         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53583
53584 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53585
53586         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53587         differing bytes.
53588         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53589         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53590         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53591
53592 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53593
53594         [BZ #12420]
53595         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53596         storing it.
53597         * stdlib/bug-getcontext.c: New file.
53598         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53599
53600 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53601
53602         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53603         instructions into .machine "z9-109".
53604         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53605         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53606
53607 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53608
53609         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53610         between environment variables and auxiliary vector.
53611
53612 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53613
53614         * Makefile: Add rules to build linkobj/libc.so.
53615         * include/libc-symbols.h: Define libc_hidden_nolink.
53616         * include/rpc/auth.h: Mark functions which are to be hidden.
53617         * include/rpc/auth_des.h: Likewise.
53618         * include/rpc/auth_unix.h: Likewise.
53619         * include/rpc/clnt.h: Likewise.
53620         * include/rpc/des_crypt.h: Likewise.
53621         * include/rpc/key_prot.h: Likewise.
53622         * include/rpc/pmap_clnt.h: Likewise.
53623         * include/rpc/pmap_prot.h: Likewise.
53624         * include/rpc/pmap_rmt.h: Likewise.
53625         * include/rpc/rpc_msg.h: Likewise.
53626         * include/rpc/svc.h: Likewise.
53627         * include/rpc/svc_auth.h: Likewise.
53628         * include/rpc/xdr.h: Likewise.
53629         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53630         * nss/Makefile: Likewise.
53631         * sunrpc/Makefile: Don't install headers.  Build library with normal
53632         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53633         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53634         for the compat linking library.  Remove use of INTDEF/INTUSE.
53635         * sunrpc/auth_none.c: Likewise.
53636         * sunrpc/auth_unix.c: Likewise.
53637         * sunrpc/authdes_prot.c: Likewise.
53638         * sunrpc/authuxprot.c: Likewise.
53639         * sunrpc/clnt_gen.c: Likewise.
53640         * sunrpc/clnt_perr.c: Likewise.
53641         * sunrpc/clnt_raw.c: Likewise.
53642         * sunrpc/clnt_simp.c: Likewise.
53643         * sunrpc/clnt_tcp.c: Likewise.
53644         * sunrpc/clnt_udp.c: Likewise.
53645         * sunrpc/clnt_unix.c: Likewise.
53646         * sunrpc/des_crypt.c: Likewise.
53647         * sunrpc/des_soft.c: Likewise.
53648         * sunrpc/get_myaddr.c: Likewise.
53649         * sunrpc/key_call.c: Likewise.
53650         * sunrpc/key_prot.c: Likewise.
53651         * sunrpc/netname.c: Likewise.
53652         * sunrpc/pm_getmaps.c: Likewise.
53653         * sunrpc/pm_getport.c: Likewise.
53654         * sunrpc/pmap_clnt.c: Likewise.
53655         * sunrpc/pmap_prot.c: Likewise.
53656         * sunrpc/pmap_prot2.c: Likewise.
53657         * sunrpc/pmap_rmt.c: Likewise.
53658         * sunrpc/publickey.c: Likewise.
53659         * sunrpc/rpc_cmsg.c: Likewise.
53660         * sunrpc/rpc_common.c: Likewise.
53661         * sunrpc/rpc_dtable.c: Likewise.
53662         * sunrpc/rpc_prot.c: Likewise.
53663         * sunrpc/rpc_thread.c: Likewise.
53664         * sunrpc/rtime.c: Likewise.
53665         * sunrpc/svc.c: Likewise.
53666         * sunrpc/svc_auth.c: Likewise.
53667         * sunrpc/svc_authux.c: Likewise.
53668         * sunrpc/svc_raw.c: Likewise.
53669         * sunrpc/svc_run.c: Likewise.
53670         * sunrpc/svc_simple.c: Likewise.
53671         * sunrpc/svc_tcp.c: Likewise.
53672         * sunrpc/svc_udp.c: Likewise.
53673         * sunrpc/svc_unix.c: Likewise.
53674         * sunrpc/svcauth_des.c: Likewise.
53675         * sunrpc/xcrypt.c: Likewise.
53676         * sunrpc/xdr.c: Likewise.
53677         * sunrpc/xdr_array.c: Likewise.
53678         * sunrpc/xdr_float.c: Likewise.
53679         * sunrpc/xdr_intXX_t.c: Likewise.
53680         * sunrpc/xdr_mem.c: Likewise.
53681         * sunrpc/xdr_rec.c: Likewise.
53682         * sunrpc/xdr_ref.c: Likewise.
53683         * sunrpc/xdr_sizeof.c: Likewise.
53684         * sunrpc/xdr_stdio.c: Likewise.
53685
53686 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53687
53688         [BZ #12650]
53689         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53690         * sysdeps/ia64/dl-tls.h: Likewise.
53691         * sysdeps/powerpc/dl-tls.h: Likewise.
53692         * sysdeps/s390/dl-tls.h: Likewise.
53693         * sysdeps/sh/dl-tls.h: Likewise.
53694         * sysdeps/sparc/dl-tls.h: Likewise.
53695         * sysdeps/x86_64/dl-tls.h: Likewise.
53696         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53697
53698 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53699
53700         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53701         rpath element also skip the following colon.
53702         (expand_dynamic_string_token): Add is_path parameter and pass
53703         down to DL_DST_REQUIRED and _dl_dst_substitute.
53704         (decompose_rpath): Call expand_dynamic_string_token with
53705         non-zero is_path.  Ignore empty rpaths.
53706         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53707         with zero is_path.
53708
53709 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53710
53711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53712         Make cancelable.
53713
53714 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53715
53716         [BZ #12655]
53717         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53718         Patch by Filipe David Manana <fdmanana@apache.org>.
53719
53720 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53721
53722         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53723         Maintain aligned stack.
53724         (CHECK_RSP): Remove unused macro.
53725
53726 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53727
53728         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53729         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53730
53731 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53732
53733         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53734
53735         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53736
53737 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53738
53739         [BZ #12518]
53740         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53741         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53742         * sysdeps/x86_64/memmove.c: New file.
53743         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53744         (memcpy): Renamed to ...
53745         (__new_memcpy): This.
53746         (memcpy): Provide GLIBC_2_14 memcpy.
53747         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53748         (memcpy): Provide GLIBC_2_2_5 memcpy.
53749
53750 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53751
53752         [BZ #12631]
53753         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53754
53755 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53756
53757         * misc/syncfs.c: New file.
53758         * misc/Makefile (routines): Add syncfs.
53759         * posix/unistd.h: Declare syncfs.
53760         * sysdeps/unix/syscalls.list: Add syncfs.
53761
53762 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53763
53764         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53765         open_by_handle_at.
53766         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53767         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53768         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53769         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53771         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53772         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53773
53774 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53775
53776         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53778         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53779         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53780         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53782         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53783
53784         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53785         sync_file_range.c with -fexceptions.
53786         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53787         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53788         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53789         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53790         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53791         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53792         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53793         sync_file_range as cancellation point
53794         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53795         now a wrapper around __call_sync_file_range with cancellation handling.
53796         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53797         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53798         function name to __call_sync_file_range.
53799         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53800         Add call_sync_file_range.
53801
53802 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53803
53804         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53805         bits/timex.h.
53806
53807 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53808
53809         * iconv/iconv.h: Fix typo in comment.
53810         * io/fcntl.h: Likewise.
53811         * libio/stdio.h: Likewise.
53812         * posix/spawn.h: Likewise.
53813         * posix/unistd.h: Likewise.
53814         * stdlib/stdlib.h: Likewise.
53815         * time/time.h: Likewise.
53816         * wcsmbs/wchar.h: Likewise.
53817
53818         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53819         open_by_handle): Add.
53820         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53821         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53822         Augment a few comments.
53823         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53824         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53825         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53826         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53827         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53828         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53829         open_by_handle.
53830
53831         * io/fcntl.h (AT_EMPTY_PATH): Define.
53832
53833 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53834
53835         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53836         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53837         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53838         to...
53839         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53840         * Versions.def: Add GLIBC_2.14.
53841         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53842         Export.
53843
53844 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53845
53846         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53847         round counter.
53848         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53849
53850 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53851
53852         [BZ #12597]
53853         * string/test-strncmp.c (do_page_test): New function.
53854         (check2): Likewise.
53855         (test_main): Call check2.
53856         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53857
53858 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53859
53860         [BZ #12587]
53861         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53862         Handle cache information in CPU leaf 4.
53863         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53864
53865 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53866
53867         [BZ #12583]
53868         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53869         character representation.
53870         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53871
53872 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53873
53874         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53875         END(__isnan) to END(__isnanf) to match function entry point/label
53876         EALIGN(__isnanf,...).
53877
53878 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53879
53880         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53881
53882 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53883
53884         [BZ #12510]
53885         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53886         copy from the symbol referenced in the relocation to initialize the
53887         used variable.
53888         Patch by Piotr Bury <pbury@goahead.com>.
53889         * elf/Makefile: Add rules to build and tst-unique3.
53890         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53891         * elf/tst-unique3.cc: New file.
53892         * elf/tst-unique3.h: New file.
53893         * elf/tst-unique3lib.cc: New file.
53894         * elf/tst-unique3lib2.cc: New file.
53895
53896         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53897
53898 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53899
53900         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53901         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53902         to _start.
53903
53904 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53905
53906         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53907         to-be-loaded object along a path to loader is ld.so.
53908
53909 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53910             Ulrich Drepper  <drepper@gmail.com>
53911
53912         * sysdeps/x86_64/memset.S: After aligning destination, code
53913         branches to different locations depending on the value of
53914         misalignment, when multiarch is enabled. Fix this.
53915
53916 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53917
53918         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53919         Set _x86_64_preferred_memory_instruction for AMD processsors.
53920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53921         Set bit_Prefer_SSE_for_memop for AMD processors.
53922
53923 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53924
53925         * libio/fmemopen.c (fmemopen): Optimize a bit.
53926
53927 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53928
53929         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53930
53931 2011-03-03  Roland McGrath  <roland@redhat.com>
53932
53933         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53934
53935 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53936
53937         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53938         __bzero_ultra1 instead of __memset_ultra1.
53939
53940 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53941             Ulrich Drepper  <drepper@gmail.com>
53942
53943         [BZ #12509]
53944         * include/link.h (struct link_map): Add l_orig_initfini.
53945         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53946         returning unsuccessfully.
53947         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53948         close of a file loaded at startup, restore the original l_initfini
53949         list.
53950         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53951         list, store the pointer.
53952         * elf/Makefile ($(objpfx)noload-mem): New rule.
53953         (noload-ENV): Define.
53954         (tests): Add $(objpfx)noload-mem.
53955         * elf/noload.c: Include <memcheck.h>.
53956         (main): Call mtrace.  Close all opened handles.
53957
53958 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53959
53960         [BZ #12454]
53961         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53962         dependencies are missing.
53963
53964 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53965
53966         Fix __if_freereq crash: Unlike the generic version which uses free,
53967         Hurd needs munmap.
53968         * sysdeps/mach/hurd/ifreq.h: New file.
53969
53970 2011-01-27  Petr Baudis  <pasky@suse.cz>
53971             Ulrich Drepper  <drepper@gmail.com>
53972
53973         [BZ 12445]#
53974         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53975         to extend_alloca().
53976         * stdio-common/bug23.c: New file.
53977         * stdio-common/Makefile (tests): Add bug23.
53978
53979 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53980             Ulrich Drepper  <drepper@gmail.com>
53981
53982         [BZ #12489]
53983         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53984         before performing relro protection.  At old place add assertion
53985         to make sure nothing changed.
53986
53987 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53988             Glauber de Oliveira Costa  <glommer@gmail.com>
53989
53990         * elf/elf.h: Add new ARM TLS relocs.
53991
53992 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53993
53994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53995         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53996         cast from r3.
53997         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53998         'tests' variable.
53999         * sysdeps/wordsize-64/tst-writev.c: New file.
54000
54001 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54002
54003         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54004         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54005         insns in _dl_start to prevent a TOC reference before relocs are
54006         resolved.
54007
54008 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54009
54010         [BZ #12469]
54011         * Makeconfig: Remove RANLIB definition.
54012         * Makerules: Don't use RANLIB.
54013         * aclocal.m4: Remove ranlib test.
54014         * configure.in: No need to check for ranlib.
54015         * elf/rtld-Rules: Don't use RANLIB.
54016
54017 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54018
54019         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54020         protection macro.
54021         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54022         inclusion protection macro.
54023
54024         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54025         SIGRTMIN and SIGRTMAX and print information in that case only when
54026         SIGRTMIN is defined.
54027
54028 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54029
54030         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54031         arginfo fn returning -1.
54032
54033         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54034         and thousands string is zero terminated.
54035
54036 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54037
54038         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54039         sysdeps/unix/sysv/linux/bits/socket.h.
54040
54041 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54042
54043         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54044         (__CPU_COUNT): Remove old macros.
54045         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54046         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54047         (__CPU_ALLOC, __CPU_FREE): Add macros.
54048         (__sched_cpualloc, __sched_cpufree): Add declarations.
54049
54050 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54051
54052         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54053         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54054         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54055         (readdhstai): Return value of addhstaiX call.
54056         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54057         (addgrbyX): Return value returned by cache_addgr.
54058         (readdgrbyname): Return value returned by addgrbyX.
54059         (readdgrbygid): Likewise.
54060         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54061         (addpwbyX): Return value returned by cache_addpw.
54062         (readdpwbyname): Return value returned by addhstbyX.
54063         (readdpwbyuid): Likewise.
54064         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54065         (addservbyX): Return value returned by cache_addserv.
54066         (readdservbyname): Return value returned by addservbyX:
54067         (readdservbyport): Likewise.
54068         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54069         (addhstbyX): Return value returned by cache_addhst.
54070         (readdhstbyname): Return value returned by addhstbyX.
54071         (readdhstbyaddr): Likewise.
54072         (readdhstbynamev6): Likewise.
54073         (readdhstbyaddrv6): Likewise.
54074         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54075         (readdinitgroups): Return value returned by addinitgroupsX.
54076         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54077         (prune_cache): Keep track of timeout value of re-added entries.
54078         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54079         * nscd/nscd.h: Adjust prototypes of readd* functions.
54080
54081 2011-02-04  Roland McGrath  <roland@redhat.com>
54082
54083         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54084         (nis_stats): Likewise.
54085         * nis/nis_modify.c (nis_modify): Likewise.
54086         * nis/nis_remove.c (nis_remove): Likewise.
54087         * nis/nis_add.c (nis_add): Likewise.
54088
54089         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54090
54091         * posix/fnmatch_loop.c: Add some consts.
54092
54093         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54094
54095 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54096
54097         [BZ #12460]
54098         * config.make.in (config-cflags-novzeroupper): Define.
54099         * configure.in: Substitute libc_cv_cc_novzeroupper.
54100         * elf/Makefile (AVX-CFLAGS): Define.
54101         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54102         (CFLAGS-tst-auditmod4a.c): Likewise.
54103         (CFLAGS-tst-auditmod4b.c): Likewise.
54104         (CFLAGS-tst-auditmod6b.c): Likewise.
54105         (CFLAGS-tst-auditmod6c.c): Likewise.
54106         (CFLAGS-tst-auditmod7b.c): Likewise.
54107         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54108
54109 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54110
54111         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54112         function to the callback.
54113         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54114
54115 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54116
54117         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54118         of errno.
54119
54120 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54121
54122         [BZ #11724]
54123         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54124         of constructors.
54125         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54126         of destructors.
54127         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54128
54129         [BZ #11724]
54130         * elf/Makefile: Add rules to build and run new test.
54131         * elf/tst-initorder.c: New file.
54132         * elf/tst-initorder.exp: New file.
54133         * elf/tst-initordera1.c: New file.
54134         * elf/tst-initordera2.c: New file.
54135         * elf/tst-initordera3.c: New file.
54136         * elf/tst-initordera4.c: New file.
54137         * elf/tst-initorderb1.c: New file.
54138         * elf/tst-initorderb2.c: New file.
54139         * elf/tst-order-a1.c: New file.
54140         * elf/tst-order-a2.c: New file.
54141         * elf/tst-order-a3.c: New file.
54142         * elf/tst-order-a4.c: New file.
54143         * elf/tst-order-b1.c: New file.
54144         * elf/tst-order-b2.c: New file.
54145         * elf/tst-order-main.c: New file.
54146         New test case by George Gensure <werkt0@gmail.com>.
54147
54148 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54149
54150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54151         decoding ACE if AI_CANONIDN.
54152
54153 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54154
54155         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54156
54157 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54158
54159         * version.h (RELEASE): Bump for 2.13 release.
54160         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54161
54162         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54163
54164         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54165         MADV_NOHUGEPAGE.
54166         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54167         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54168         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54169         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54170         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54171         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54172
54173         * posix/getconf.c: Update copyright year.
54174         * catgets/gencat.c: Likewise.
54175         * csu/version.c: Likewise.
54176         * debug/catchsegv.sh: Likewise.
54177         * debug/xtrace.sh: Likewise.
54178         * elf/ldconfig.c: Likewise.
54179         * elf/ldd.bash.in: Likewise.
54180         * elf/sprof.c (print_version): Likewise.
54181         * iconv/iconv_prog.c: Likewise.
54182         * iconv/iconvconfig.c: Likewise.
54183         * locale/programs/locale.c: Likewise.
54184         * locale/programs/localedef.c: Likewise.
54185         * malloc/memusage.sh: Likewise.
54186         * malloc/mtrace.pl: Likewise.
54187         * nscd/nscd.c (print_version): Likewise.
54188         * nss/getent.c: Likewise.
54189
54190         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54191         PF_CAIF, and PF_ALG.
54192         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54193
54194 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54195
54196         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54197         (modules-names): Use them.
54198         (ifunc-test-modules, ifunc-pie-tests): Define.
54199         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54200         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54201         (test-extras): Likewise.
54202         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54203         $(compile-command.c).
54204         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54205         (all-built-dso): Define.
54206         (check-textrel.out, check-execstack.out): Depend on it.
54207
54208         * configure.in: Don't override --enable-multi-arch.
54209
54210 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54211
54212         [BZ #6812]
54213         * nscd/hstcache.c (tryagain): Define.
54214         (cache_addhst): Return tryagain not notfound for temporary errors.
54215         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54216         failed.
54217
54218 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54219
54220         [BZ #10563]
54221         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54222         to make the syscall.
54223         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54224
54225         [BZ #12378]
54226         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54227         and fall back to matching as normal character if the string ends before
54228         the matching ']' is found.  This is what POSIX requires.
54229         * posix/testfnm.c: Adjust test result.
54230         * posix/globtest.sh: Adjust test result.  Add new test.
54231         * posix/tst-fnmatch.input: Likewise.
54232         * posix/tst-fnmatch2.c: Add new test.
54233
54234 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54235
54236         * elf/Makefile (check-execstack): Revert last change.  Depend on
54237         check-execstack.h.
54238         (check-execstack.h): New target.
54239         (generated): Add check-execstack.h.
54240         * elf/check-execstack.c: Include "check-execstack.h".
54241         (main): Revert last change.
54242         (handle_file): Return zero if GNU_STACK is absent and
54243         DEFAULT_STACK_PERMS doesn't include PF_X.
54244
54245 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54246
54247         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54248         in child fails because the descriptor is already closed.
54249         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54250         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54251         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54252
54253         [BZ #12397]
54254         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54255         syscall.
54256
54257         [BZ #10484]
54258         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54259         temporary buffer used to handle multi lookups locally.
54260         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54261
54262 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54263
54264         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54265         loader is ld.so.
54266
54267 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54268
54269         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54270         alignment for SSE2.
54271
54272 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54273
54274         [BZ #12394]
54275         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54276         characters.  When rounding increased number of integer digits recompute
54277         number of groups.
54278         * stdio-common/tst-grouping.c: New file.
54279         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54280
54281 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54282
54283         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54284         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54285
54286         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54287         void.
54288         * bits/select.h: Likewise.
54289
54290 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54291
54292         * po/ja.po: Update from translation team.
54293
54294 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54295
54296         [BZ #11155]
54297         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54298         implementation just like for lxstat, fxstatat, et al.
54299
54300 2010-12-27  Jim Meyering  <meyering@redhat.com>
54301
54302         [BZ #12348]
54303         * posix/regexec.c (build_trtable): Return failure indication upon
54304         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54305
54306 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54307
54308         [BZ #12201]
54309         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54310         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54311         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54312         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54313
54314         [BZ #12207]
54315         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54316
54317         [BZ #12204]
54318         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54319         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54320
54321 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54322
54323         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54324         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54325         script has SORT_BY_INIT_PRIORITY.
54326         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54327         NO_CTORS_DTORS_SECTIONS is defined.
54328         * elf/soinit.c: Likewise.
54329         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54330         NO_CTORS_DTORS_SECTIONS is defined.
54331         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54332         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54333         * sysdeps/sh/init-first.c: Likewise.
54334         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54335
54336 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54337
54338         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54339         always use the slow path.
54340
54341 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54342
54343         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54344         similar rule which adds the sysdep directories to the header search in
54345         order to pick up the correct platform stackinfo.h.
54346         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54347         perform test if it is, otherwise return successfully without testing.
54348         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54349         DEFAULT_STACK_PERMS define in stackinfo.h.
54350         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54351         defined in stackinfo.h.
54352         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54353         DEFAULT_STACK_PERMS defined in stackinfo.h.
54354         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54355         * sysdeps/ia64/stackinfo.h: Likewise.
54356         * sysdeps/s390/stackinfo.h: Likewise.
54357         * sysdeps/sh/stackinfo.h: Likewise.
54358         * sysdeps/sparc/stackinfo.h: Likewise.
54359         * sysdeps/x86_64/stackinfo.h: Likewise.
54360         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54361         PF_X for powerpc64.  Retain PF_X for powerpc32.
54362
54363 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54364
54365         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54366         accurately.
54367         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54368         GETDENTS_64BIT_ALIGNED.
54369
54370 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54371
54372         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54373
54374 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54375
54376         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54377         _GNU_SOURCE.
54378
54379         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54380         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54381         Remove __restrict.
54382         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54383         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54384
54385 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54386
54387         [BZ #11655]
54388         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54389         are initialized.
54390
54391 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54392
54393         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54394
54395 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54396
54397         * po/it.po: Update from translation team.
54398
54399 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54400
54401         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54402         unused codes.
54403
54404 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54405
54406         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54407
54408 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54409
54410         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54411         specially.
54412         (gaih_getanswer_slice): Likewise.
54413
54414 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54415
54416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54417
54418 2010-05-31  Petr Baudis  <pasky@suse.cz>
54419
54420         [BZ #11149]
54421         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54422         silently even in the chroot mode.
54423
54424 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54425
54426         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54427         last patch a bit.  Pretty printing
54428
54429 2010-05-31  Petr Baudis <pasky@suse.cz>
54430
54431         [BZ #10085]
54432         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54433         initialization of skip_initgroups_dyn.
54434
54435 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54436
54437         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54438         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54439
54440 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54441
54442         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54443
54444 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54445
54446         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54447         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54448         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54449         ($(objpfx)tst-fnmatch-mem): New rule.
54450         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54451         * posix/tst-fnmatch.c (main): Call mtrace.
54452
54453 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54454
54455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54456         Support Intel processor model 6 and model 0x2c.
54457
54458 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54459
54460         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54461           signed comparison.
54462
54463 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54464
54465         [BZ #12205]
54466         * string/test-strncasecmp.c (check_result): New function.
54467         (do_one_test): Use it.
54468         (check1): New function.
54469         (test_main): Use it.
54470         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54471         Support strcasecmp and strncasecmp.
54472
54473 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54474
54475         [BZ #12194]
54476         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54477         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54478
54479 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54480
54481         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54482         IFUNC support.
54483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54484         memset-x86-64.
54485         * sysdeps/x86_64/multiarch/bzero.S: New file.
54486         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54487         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54488         * sysdeps/x86_64/multiarch/memset.S: New file.
54489         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54491         Set bit_Prefer_SSE_for_memop for Intel processors.
54492         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54493         Define.
54494         (index_Prefer_SSE_for_memop): Define.
54495         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54496
54497 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54498
54499         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54500         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54501
54502 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54503
54504         [BZ #12191]
54505         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54506         (__x86_64_raw_data_cache_size_half): Likewise.
54507         (__x86_64_raw_shared_cache_size): Likewise.
54508         (__x86_64_raw_shared_cache_size_half): Likewise.
54509
54510         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54511         (__x86_64_raw_data_cache_size_half): Likewise.
54512         (__x86_64_raw_shared_cache_size): Likewise.
54513         (__x86_64_raw_shared_cache_size_half): Likewise.
54514         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54515         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54516         and __x86_64_raw_shared_cache_size_half.  Round
54517         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54518         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54519         to multiple of 256 bytes.
54520
54521 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54522
54523         [BZ #12167]
54524         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54525         of inacessible symlinks.  Verify result of symlink before returning it.
54526         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54527         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54528
54529 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54530
54531         * math/math.h (isinf): Fix typo in comment.
54532
54533 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54534
54535         * po/da.po: Update from translation team.
54536
54537 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54538
54539         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54540         is added to the list.
54541
54542 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54543             Ulrich Drepper  <drepper@gmail.com>
54544
54545         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54546         the global list here.  Move code to...
54547         (_dl_add_to_namespace_list): ...here.  New function.
54548         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54549         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54550         * elf/dl-load.c (lose): Don't remove the element from the list.
54551         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54552         (_dl_map_object): Likewise.
54553
54554 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54555
54556         [BZ #12159]
54557         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54558         into all bytes of SSE register.
54559         Patch by Richard Li <richardpku@gmail.com>.
54560
54561 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54562
54563         [BZ #12140]
54564         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54565         perturbing.
54566
54567 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54568
54569         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54570         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54571         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54572         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54574         submachine.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54576
54577 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54578
54579         * include/dlfcn.h (__RTLD_SECURE): Define.
54580         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54581         mode & __RTLD_SECURE instead.
54582         (open_path): Rename preloaded parameter to secure.
54583         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54584         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54585         * elf/dl-deps.c (openaux): Likewise.
54586         * elf/rtld.c (struct map_args): Remove is_preloaded.
54587         (map_doit): Don't use it.
54588         (dl_main): Likewise.
54589         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54590         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54591
54592 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54593
54594         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54595         (sysd-rules-targets): Remove duplicates.
54596         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54597         rtld-%.$o dependency.
54598
54599 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54600
54601         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54602         _dl_map_object do it.
54603
54604 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54605
54606         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54607         fast fma builtins, define the macros in the C99 standard.
54608         (FP_FAST_FMAF): Likewise.
54609         (FP_FAST_FMAL): Likewise.
54610         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54611
54612         * bits/mathdef.h: Update copyright year.
54613         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54614
54615 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54616
54617         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54618         builtins, define the macros in the C99 standard.
54619         (FP_FAST_FMAF): Likewise.
54620         (FP_FAST_FMAL): Likewise.
54621         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54622         multiply/add.
54623         (FP_FAST_FMAF): Likewise.
54624
54625 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54626
54627         [BZ #3268]
54628         * math/libm-test.inc (fma_test): Some new testcases.
54629         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54630         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54631         y and infinite z.  Do multiplication by C already in long double.
54632         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54634         y and infinite z.  Do bitwise or of inexact bit into u.d.
54635         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54636         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54637         * sysdeps/i386/fpu/s_fma.S: Removed.
54638         * sysdeps/i386/fpu/s_fmal.S: Removed.
54639
54640 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54641
54642         [BZ #3268]
54643         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54645         computation is not scheduled after fetestexcept.  Fix value
54646         of minimum denormal long double.
54647
54648 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54649
54650         [BZ #3268]
54651         * math/libm-test.inc (fma_test): Add some more tests.
54652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54653         correctly.
54654
54655 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54656
54657         * scripts/data/localplt-s390-linux-gnu.data: New file.
54658         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54659
54660 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54661
54662         [BZ #3268]
54663         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54664         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54665         instead of dbl-64.
54666         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54667         inlines.
54668         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54670         if one of x and y is very large and the other is subnormal.
54671         * sysdeps/s390/fpu/s_fmaf.c: New file.
54672         * sysdeps/s390/fpu/s_fma.c: New file.
54673         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54674         * sysdeps/powerpc/fpu/s_fma.S: New file.
54675         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54676         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54677         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54678
54679 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54680
54681         [BZ #3268]
54682         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54683         fma tests.
54684         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54685         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54686         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54687         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54688         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54689         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54690         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54691
54692 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54693
54694         [BZ #12078]
54695         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54696         * posix/bug-regex31.input: Add test case.
54697
54698 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54699
54700         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54701         * posix/bug-regex31.input: New file.
54702
54703         [BZ #12078]
54704         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54705         (parse_sub_exp): Fix last change, use postorder.
54706
54707         * posix/bug-regex31.c: New file.
54708         * posix/Makefile: Add rules to build and run bug-regex31.
54709
54710         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54711
54712         [BZ #12078]
54713         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54714
54715         [BZ #12108]
54716         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54717         to have entries in sys_siglist.
54718
54719         [BZ #12093]
54720         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54721         be NULL.
54722
54723 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54724
54725         [BZ #3268]
54726         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54727         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54728         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54729         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54730         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54731         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54732         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54733         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54734         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54735         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54736         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54737         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54738         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54739         * math/ftestexcept.c (fetestexcept): Likewise.
54740         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54741         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54742         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54743         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54744         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54745         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54746         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54747
54748 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54749
54750         [BZ #12107]
54751         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54752         newline.
54753
54754 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54755
54756         * string/bug-strstr1.c: New file.
54757         * string/Makefile: Add rules to build and run bug-strstr1.
54758
54759 2010-10-05  Eric Blake  <eblake@redhat.com>
54760
54761         [BZ #12092]
54762         * string/str-two-way.h (two_way_long_needle): Always clear memory
54763         when skipping input due to the shift table.
54764
54765 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54766
54767         [BZ #12005]
54768         * malloc/mcheck.c: Handle large requests.
54769
54770         [BZ #12077]
54771         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54772         for strncmp and strncasecmp.
54773         * string/stratcliff.c: Add tests for strcmp and strncmp.
54774         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54775
54776 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54777
54778         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54779         __set_fpscr.
54780
54781 2010-09-30  Andreas Jaeger  <aj@suse.de>
54782
54783         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54784         (CGROUP_SUPER_MAGIC): Define.
54785         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54786         Handle btrfs and cgroup file systems.
54787         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54788         Likewise.
54789
54790 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54791
54792         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54793         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54794
54795 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54796
54797         [BZ #12067]
54798         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54799         trying to locate the ELF header.
54800
54801 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54802
54803         [BZ #11611]
54804         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54805         Mask out sign-bit copies when constructing f_fsid.
54806
54807 2010-09-24  Petr Baudis <pasky@suse.cz>
54808
54809         * debug/stack_chk_fail_local.c: Add missing licence exception.
54810         * debug/warning-nop.c: Likewise.
54811
54812 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54813
54814         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54815         implementing getdents64 using getdents syscall, set d_type if
54816         __ASSUME_GETDENTS32_D_TYPE.
54817
54818 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54819
54820         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54821         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54822
54823 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54824
54825         [BZ #12037]
54826         * posix/unistd.h: Undo change of feature selection for ftruncate from
54827         2010-01-11.
54828
54829 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54830
54831         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54832         detection.
54833
54834 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54835
54836         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54837         fanotify_mark.
54838         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54839
54840 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54841
54842         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54843         variables after CHECK_SP call.
54844         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54845
54846 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54847             Ulrich Drepper  <drepper@redhat.com>
54848
54849         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54850         re-relocationg ld.so.
54851         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54852         _dl_init_paths call.
54853         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54854         here anymore.
54855
54856 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54857
54858         * resolv/res_init.c (__res_vinit): Count the default server we added.
54859
54860 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54861             Ulrich Drepper  <drepper@redhat.com>
54862
54863         [BZ #11968]
54864         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54865         (____longjmp_chk): Use %ebx for saving value across system call.
54866         Add unwind info.
54867
54868 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54869
54870         * manual/Makefile: Don't mix pattern rules with normal rules.
54871
54872 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54873
54874         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54875         operation.
54876         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54877         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54878         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54879         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54881         Likewise.
54882
54883 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54884
54885         [BZ #11979]
54886         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54887         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54888
54889 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54890
54891         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54892         * sysdeps/x86_64/addmul_1.S: Likewise.
54893         * sysdeps/x86_64/lshift.S: Likewise.
54894         * sysdeps/x86_64/mul_1.S: Likewise.
54895         * sysdeps/x86_64/rshift.S: Likewise.
54896         * sysdeps/x86_64/sub_n.S: Likewise.
54897         * sysdeps/x86_64/submul_1.S: Likewise.
54898
54899 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54900
54901         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54902         Define __sched_param instead of SCHED_* and sched_param when
54903         <bits/sched.h> is included with __need_schedparam defined.
54904         * bits/sched.h [__need_schedparam]
54905         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54906         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54907         (__defined_schedparam): Define to 1.
54908         (__sched_param): New structure, identical to sched_param.
54909         (__need_schedparam): Undefine.
54910
54911 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54912
54913         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54914         (epoll_create1): Declare.
54915
54916         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54917
54918 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54919
54920         [BZ #7066]
54921         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54922         shifting retval into place.
54923
54924 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54925
54926         * nis/rpcsvc/nis.h: Update copyright notice.
54927         * nis/rpcsvc/nis.x: Likewise.
54928         * nis/rpcsvc/nis_callback.h: Likewise.
54929         * nis/rpcsvc/nis_callback.x: Likewise.
54930         * nis/rpcsvc/nis_object.x: Likewise.
54931         * nis/rpcsvc/nis_tags.h: Likewise.
54932         * nis/rpcsvc/yp.h: Likewise.
54933         * nis/rpcsvc/yp.x: Likewise.
54934         * nis/rpcsvc/ypupd.h: Likewise.
54935         * nis/yp_xdr.c: Likewise.
54936         * nis/ypupdate_xdr.c: Likewise.
54937
54938         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54939         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54940         (pmap_getport): Use __libc_rpc_getport.
54941         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54942         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54943         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54944
54945 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54946
54947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54948         fanotify_mark.
54949
54950 2010-08-27  Roland McGrath  <roland@redhat.com>
54951
54952         * sysdeps/i386/i686/multiarch/Makefile
54953         (CFLAGS-varshift.c): New variable.
54954
54955 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54956
54957         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54958         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54959
54960         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54961
54962         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54963
54964 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54965
54966         * sysdeps/x86_64/strlen.S: Unroll the loop.
54967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54968         strlen-sse2 strlen-sse2-bsf.
54969         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54970         __strlen_no_bsf if bit_Slow_BSF is set.
54971         (__strlen_sse42): Removed.
54972         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54973         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54974
54975 2010-08-25  Roland McGrath  <roland@redhat.com>
54976
54977         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54978         * sysdeps/x86_64/multiarch/varshift.c: New file.
54979         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54980         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54981         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54982         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54983
54984 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54985
54986         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54987         strlen-sse2 strlen-sse2-bsf.
54988         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54989         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54990         (__strlen_sse2): Removed.
54991         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54992         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54994         bit_Slow_BSF for Atom.
54995         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54996         (index_Slow_BSF): Define.
54997         (HAS_SLOW_BSF): Define.
54998
54999 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55000
55001         [BZ #10851]
55002         * resolv/res_init.c (__res_vinit): When no server address at all
55003         is given default to loopback.
55004
55005 2010-08-24  Roland McGrath  <roland@redhat.com>
55006
55007         * configure.in: Remove config-name.h generation.
55008         * configure: Regenerated.
55009         * config-name.in: File removed.
55010         * scripts/config-uname.sh: New file.
55011         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55012         ($(objdir)config-name.h): New target.
55013
55014         * sunrpc/rpc_parse.h: Avoid nested comment.
55015
55016 2010-08-24  Richard Henderson  <rth@redhat.com>
55017             Ulrich Drepper  <drepper@redhat.com>
55018             H.J. Lu  <hongjiu.lu@intel.com>
55019
55020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55022         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55023         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55024         _mm_alignr_epi8 with _mm_loadu_si128.
55025         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55026         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55027         (__m128i_shift_right): Removed.
55028         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55029         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55030         * sysdeps/x86_64/multiarch/varshift.h: New file.
55031         * sysdeps/x86_64/multiarch/varshift.S: New file.
55032
55033 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55034
55035         * configure.in: Move assembler checks to before sysdep dir checking.
55036
55037 2010-08-20  Petr Baudis  <pasky@suse.cz>
55038
55039         * LICENSES: Sync the sunrpc license.
55040
55041 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55042
55043         * sunrpc/auth_des.c: Update copyright notice once again.
55044         * sunrpc/auth_none.c: Likewise.
55045         * sunrpc/auth_unix.c: Likewise.
55046         * sunrpc/authdes_prot.c: Likewise.
55047         * sunrpc/authuxprot.c: Likewise.
55048         * sunrpc/bindrsvprt.c: Likewise.
55049         * sunrpc/clnt_gen.c: Likewise.
55050         * sunrpc/clnt_perr.c: Likewise.
55051         * sunrpc/clnt_raw.c: Likewise.
55052         * sunrpc/clnt_simp.c: Likewise.
55053         * sunrpc/clnt_tcp.c: Likewise.
55054         * sunrpc/clnt_udp.c: Likewise.
55055         * sunrpc/clnt_unix.c: Likewise.
55056         * sunrpc/des_crypt.c: Likewise.
55057         * sunrpc/des_soft.c: Likewise.
55058         * sunrpc/get_myaddr.c: Likewise.
55059         * sunrpc/getrpcport.c: Likewise.
55060         * sunrpc/key_call.c: Likewise.
55061         * sunrpc/key_prot.c: Likewise.
55062         * sunrpc/openchild.c: Likewise.
55063         * sunrpc/pm_getmaps.c: Likewise.
55064         * sunrpc/pm_getport.c: Likewise.
55065         * sunrpc/pmap_clnt.c: Likewise.
55066         * sunrpc/pmap_prot.c: Likewise.
55067         * sunrpc/pmap_prot2.c: Likewise.
55068         * sunrpc/pmap_rmt.c: Likewise.
55069         * sunrpc/rpc/auth.h: Likewise.
55070         * sunrpc/rpc/auth_unix.h: Likewise.
55071         * sunrpc/rpc/clnt.h: Likewise.
55072         * sunrpc/rpc/des_crypt.h: Likewise.
55073         * sunrpc/rpc/key_prot.h: Likewise.
55074         * sunrpc/rpc/netdb.h: Likewise.
55075         * sunrpc/rpc/pmap_clnt.h: Likewise.
55076         * sunrpc/rpc/pmap_prot.h: Likewise.
55077         * sunrpc/rpc/pmap_rmt.h: Likewise.
55078         * sunrpc/rpc/rpc.h: Likewise.
55079         * sunrpc/rpc/rpc_des.h: Likewise.
55080         * sunrpc/rpc/rpc_msg.h: Likewise.
55081         * sunrpc/rpc/svc.h: Likewise.
55082         * sunrpc/rpc/svc_auth.h: Likewise.
55083         * sunrpc/rpc/types.h: Likewise.
55084         * sunrpc/rpc/xdr.h: Likewise.
55085         * sunrpc/rpc_clntout.c: Likewise.
55086         * sunrpc/rpc_cmsg.c: Likewise.
55087         * sunrpc/rpc_common.c: Likewise.
55088         * sunrpc/rpc_cout.c: Likewise.
55089         * sunrpc/rpc_dtable.c: Likewise.
55090         * sunrpc/rpc_hout.c: Likewise.
55091         * sunrpc/rpc_main.c: Likewise.
55092         * sunrpc/rpc_parse.c: Likewise.
55093         * sunrpc/rpc_parse.h: Likewise.
55094         * sunrpc/rpc_prot.c: Likewise.
55095         * sunrpc/rpc_sample.c: Likewise.
55096         * sunrpc/rpc_scan.c: Likewise.
55097         * sunrpc/rpc_scan.h: Likewise.
55098         * sunrpc/rpc_svcout.c: Likewise.
55099         * sunrpc/rpc_tblout.c: Likewise.
55100         * sunrpc/rpc_util.c: Likewise.
55101         * sunrpc/rpc_util.h: Likewise.
55102         * sunrpc/rpcinfo.c: Likewise.
55103         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55104         * sunrpc/rpcsvc/key_prot.x: Likewise.
55105         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55106         * sunrpc/rpcsvc/mount.x: Likewise.
55107         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55108         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55109         * sunrpc/rpcsvc/rex.x: Likewise.
55110         * sunrpc/rpcsvc/rstat.x: Likewise.
55111         * sunrpc/rpcsvc/rusers.x: Likewise.
55112         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55113         * sunrpc/rpcsvc/spray.x: Likewise.
55114         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55115         * sunrpc/rtime.c: Likewise.
55116         * sunrpc/svc.c: Likewise.
55117         * sunrpc/svc_auth.c: Likewise.
55118         * sunrpc/svc_authux.c: Likewise.
55119         * sunrpc/svc_raw.c: Likewise.
55120         * sunrpc/svc_run.c: Likewise.
55121         * sunrpc/svc_simple.c: Likewise.
55122         * sunrpc/svc_tcp.c: Likewise.
55123         * sunrpc/svc_udp.c: Likewise.
55124         * sunrpc/svc_unix.c: Likewise.
55125         * sunrpc/svcauth_des.c: Likewise.
55126         * sunrpc/xcrypt.c: Likewise.
55127         * sunrpc/xdr.c: Likewise.
55128         * sunrpc/xdr_array.c: Likewise.
55129         * sunrpc/xdr_float.c: Likewise.
55130         * sunrpc/xdr_mem.c: Likewise.
55131         * sunrpc/xdr_rec.c: Likewise.
55132         * sunrpc/xdr_ref.c: Likewise.
55133         * sunrpc/xdr_sizeof.c: Likewise.
55134         * sunrpc/xdr_stdio.c: Likewise.
55135
55136         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55137         handling.
55138
55139 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55140
55141         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55142
55143 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55144
55145         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55146         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55147         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55148         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55149         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55150         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55151         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55152         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55153         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55154         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55155         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55156         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55157         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55158         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55159
55160 2010-07-26  Anton Blanchard  <anton@samba.org>
55161
55162         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55163         * malloc/arena.c (heap_trim): Likewise.
55164
55165 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55166
55167         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55168         here.  Not...
55169         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55170         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55171
55172 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55173
55174         * sysdeps/i386/elf/Makefile: New file.
55175
55176 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55177
55178         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55179         from fanotify_init.
55180         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55181         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55182
55183 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55184
55185         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55186         of strncasecmp_l.
55187         * sysdeps/multiarch/strcmp.S: Likewise.
55188
55189 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55190
55191         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55192         strncase_l-nonascii.
55193         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55194         Add strncase_l-ssse3.
55195         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55196         * sysdeps/x86_64/strcmp.S: Likewise.
55197         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55198         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55199         * sysdeps/x86_64/strncase.S: New file.
55200         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55201         * sysdeps/x86_64/strncase_l.S: New file.
55202         * string/Makefile (strop-tests): Add strncasecmp.
55203         * string/test-strncasecmp.c: New file.
55204
55205         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55206         warning.
55207
55208         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55209         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55210
55211 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55212
55213         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55214
55215 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55216
55217         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55218         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55219         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55220
55221 2010-05-01  Alan Modra  <amodra@gmail.com>
55222
55223         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55224         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55225         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55226         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55227         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55228         tidying.  Don't tail-call __sigjmp_save for static lib.
55229         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55230         save location.
55231         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55232         (CALL_MCOUNT): Add eh info, and nop after bl.
55233         (TAIL_CALL_SYSCALL_ERROR): New macro.
55234         (PSEUDO_RET): Use it.
55235         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55236         Correct save location of integer regs and cr.
55237         (_dl_profile_resolve): Correct cr save location.  Delete nops
55238         after bl when SHARED.  Reduce cfi size a little by better
55239         placement of cfi directives.
55240         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55241         make a stack frame.  Instead use parm save area as a temp.
55242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55243         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55245         Don't make a stack frame for parent, use parm save area.
55246         Increase child stack frame to 112 bytes.  Don't save unused reg,
55247         and adjust reg usage.  Set up cfi on error recovery and
55248         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55250         (__makecontext): Add dummy nop after jump to exit.
55251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55252         Use correct parm save area and cr save, reduce stack frame.
55253         Correct cfi for possible PSEUDO_RET frame setup.
55254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55255         Branch to local label emitted by PSEUDO_RET rather than
55256         __syscall_error.
55257
55258 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55259
55260         [BZ #11904]
55261         * locale/programs/locale.c (print_assignment): New function.
55262         (show_locale_vars): Use it.
55263
55264 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55265
55266         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55267         field.
55268         (struct statfs64): Likewise.
55269         (_STATFS_F_FLAGS): Define.
55270         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55271         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55272         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55273         (ST_VALID): Define locally.
55274         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55275         __statvfs_getflags, use the provided value.
55276         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55277         __ASSUME_STATFS_F_FLAGS.
55278
55279         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55280
55281         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55282         Add sys/fanotify.h.
55283         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55284         fanotify_mask for GLIBC_2.13.
55285         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55286         fanotify_init and fanotify_mark.
55287         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55288         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55289
55290         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55291         Add prlimit.
55292         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55293         prlimit64 for GLIBC_2.13.
55294         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55295         prlimit64.
55296         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55297         syscall.
55298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55299         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55300         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55301         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55303         add prlimit alias.
55304         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55305
55306         [BZ #11903]
55307         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55308         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55309
55310         * nss/Makefile: Add rules to build and run tst-nss-test1.
55311         * shlib-versions: Add entry for libnss_test1.
55312         * nss/nss_test1.c: New file.
55313         * nss/tst-nss-test1.c: New file.
55314
55315         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55316         (__nss_configure_lookup): Set appropriate entry in
55317         __nss_configure_lookup to true.
55318         * nss/nsswitch.h: Define enum with indeces of databases in
55319         databases and __nss_database_custom arrays.  Declare
55320         __nss_database_custom.
55321         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55322         to avoid using nscd when custom rules are installed.
55323         * nss/getXXbyYY_r.c: Likewise.
55324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55325
55326         * nss/nss_files/files-parse.c: Whitespace fixes.
55327
55328 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55329
55330         [BZ #11883]
55331         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55332         * posix/fnmatch_loop.c: Likewise.
55333
55334 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55335
55336         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55337         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55338         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55339         * Versions.def [GLIBC_2.13]: Add.
55340
55341 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55342
55343         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55344         Also fail if tpwd after pwuid call is NULL.
55345
55346 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55347
55348         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55349         when converting to ms.
55350
55351 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55352
55353         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55354         EOPNOTSUPP errors with ENOTTY.
55355         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55356         EOPNOTSUPP errors with ENOTTY.
55357
55358 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55359
55360         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55361         Add strcasecmp_l-ssse3.
55362         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55363         strcasecmp.
55364         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55365         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55366         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55367
55368 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55369
55370         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55371
55372         * string/Makefile (strop-tests): Add strcasecmp.
55373         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55374         strcasecmp_l-nonascii.
55375         (gen-as-const-headers): Add locale-defines.sym.
55376         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55377         * sysdeps/x86_64/strcasecmp.S: New file.
55378         * sysdeps/x86_64/strcasecmp_l.S: New file.
55379         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55380         * sysdeps/x86_64/locale-defines.sym: New file.
55381         * string/test-strcasecmp.c: New file.
55382
55383         * string/test-strcasestr.c: Test both ends of the range of characters.
55384         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55385
55386 2010-07-29  Roland McGrath  <roland@redhat.com>
55387
55388         [BZ #11856]
55389         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55390
55391 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55392
55393         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55394         for ld.so.
55395
55396 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55397
55398         * manual/memory.texi (Malloc Tunable Parameters): Document
55399         M_PERTURB.
55400
55401 2010-07-26  Roland McGrath  <roland@redhat.com>
55402
55403         [BZ #11840]
55404         * configure.in (-fgnu89-inline check): Set and substitute
55405         gnu89_inline, not libc_cv_gnu89_inline.
55406         * configure: Regenerated.
55407         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55408
55409 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55410
55411         * string/test-strnlen.c: New file.
55412         * string/Makefile (strop-tests): Add strnlen.
55413         * string/tester.c (test_strnlen): Add a few more test cases.
55414         * string/tst-strlen.c: Better error reporting.
55415
55416         * sysdeps/x86_64/strnlen.S: New file.
55417
55418 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55419
55420         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55421         lower-latency instructions.
55422
55423 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55424
55425         * string/test-strcasestr.c: New file.
55426         * string/test-strstr.c: New file.
55427         * string/Makefile (strop-tests): Add strstr and strcasestr.
55428         * string/str-two-way.h: Don't undefine MAX.
55429         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55430
55431 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55432
55433         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55434         strcasestr-nonascii.
55435         (CFLAGS-strcasestr-nonascii.c): Define.
55436         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55437         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55438         Remove unused attribute.
55439
55440 2010-07-20  Roland McGrath  <roland@redhat.com>
55441
55442         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55443         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55444         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55445         like LD_HWCAP_MASK can disable hwcaps.
55446
55447 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55448
55449         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55450
55451 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55452
55453         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55454         call in strcasestr.
55455         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55456         __strcasestr_sse42_nonascii.
55457         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55458         strcasestr-nonascii.c.
55459         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55460
55461 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55462
55463         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55464         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55465         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55466         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55467
55468 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55469
55470         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55471         fcntl.
55472
55473 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55474
55475         [BZ #11577]
55476         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55477         dl_signal_cerror.
55478
55479 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55480
55481         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55482         _PC_PIPE_BUF using F_GETPIPE_SZ.
55483
55484 2010-07-05  Roland McGrath  <roland@redhat.com>
55485
55486         * manual/arith.texi (Rounding Functions): Fix rint description
55487         implicit in round description.
55488
55489 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55490
55491         * elf/Makefile: Fix linking for a few tests to make recent linker
55492         happy.
55493
55494 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55495
55496         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55497         $(common-objpfx)libc_nonshared.a.
55498
55499 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55500
55501         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55502         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55503         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55504         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55505         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55506         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55507         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55508         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55523         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55524         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55525         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55526         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55527         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55528         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55529         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55530         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55531         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55532         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55533         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55534         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55549
55550 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55551
55552         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55553         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55554         * string/memmove.c (memmove): Renamed to ...
55555         (MEMMOVE): ...this.  Default to memmove.
55556         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55557         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55558         (END_CHK): Define.
55559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55560         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55561         mempcpy-ssse3-back memmove-ssse3-back.
55562         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55564         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55565         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55566         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55567         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55568         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55569         * sysdeps/x86_64/multiarch/memmove.c: New file.
55570         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55571         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55572         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55573         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55574         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55575         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55576         Define.
55577         (index_Fast_Copy_Backward): Define.
55578         (HAS_ARCH_FEATURE): Define.
55579         (HAS_FAST_REP_STRING): Define.
55580         (HAS_FAST_COPY_BACKWARD): Define.
55581
55582 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55583
55584         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55585         Restore proper fallback handling.
55586
55587 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55588
55589         [BZ #11701]
55590         * posix/group_member.c (__group_member): Correct checking loop.
55591
55592         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55593         OOM in getpwuid_r correctly.  Return error number when the caller
55594         should return, otherwise -1.
55595         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55596         call returning > 0 value.
55597         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55598
55599 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55600
55601         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55602         libc_nonshared.a from targets in modules-names.
55603
55604 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55605
55606         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55607         requires it.
55608
55609 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55610
55611         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55612         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55613         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55614         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55615
55616 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55617
55618         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55619
55620 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55621
55622         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55623         and F_GETPIPE_SZ.
55624         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55626         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55627         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55628         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55629         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55630
55631 2010-06-14  Roland McGrath  <roland@redhat.com>
55632
55633         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55634
55635 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55636
55637         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55638         __REDIRECT followed by __THROW.
55639         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55640         * posix/getopt.h (getopt): Likewise.
55641
55642 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55643
55644         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55645         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55646         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55647         in AT_FLAGS.
55648         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55649         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55650
55651 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55652
55653         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55654
55655 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55656
55657         [BZ #11640]
55658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55659         Properly check family and model.
55660
55661 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55662
55663         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55664
55665 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55666
55667         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55668
55669 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55670
55671         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55672         symbol reference.
55673
55674 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55675
55676         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55677         symbol reference.
55678
55679 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55680
55681         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55682         and internal_recvmmsg.
55683         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55684         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55685         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55686         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55687
55688         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55689         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55690         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55691
55692 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55693
55694         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55695
55696 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55697
55698         POWER7 optimizations.
55699         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55700         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55701
55702 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55703
55704         * version.h: Update for 2.13 development version.
55705
55706 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55707
55708         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55709         exceptions.  Return 0.
55710
55711 2010-05-07  Roland McGrath  <roland@redhat.com>
55712
55713         * elf/ldconfig.c (main): Add a const.
55714
55715 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55716
55717         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55718         (args_options): Add no-idn option.
55719         (ahosts_keys_int): Add idn_flags to ai_flags.
55720         (parse_option): Handle 'i' option to clear idn_flags.
55721
55722         * malloc/malloc.c (_int_free): Possible race in the most recently
55723         added check.  Only act on the data if no current modification
55724         happened.
55725
55726 See ChangeLog.17 for earlier changes.