PowerPC: multiarch bzero cleanup for PPC64
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2
3         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4         Remove bzero multiarch objects.
5         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9         Remove define.
10         [__bzero]: Redefine to specific name.
11         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14         define.
15         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17
18 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19
20         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21         warnings into errors.
22
23         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24         __cxa_thread_atexit_impl prototype.
25
26 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27
28         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29         Fix capitalization of error message.
30
31 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32
33         * sysdeps/mips/preconfigure: Modify ABI tests.
34
35 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
36
37         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
38
39 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40             Carlos O'Donell  <carlos@systemhalted.org>
41
42         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
47         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
48         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
49         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
50         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
51         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
52         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
53         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
54         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
55         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
56         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
57         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
58         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
59         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
60         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
61         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
62         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
63         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
64         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
65         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
66         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
67         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
68         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
69         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
70         Deconditionalize the code that was previously under [RESET_PID].
71         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
72         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
73         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
74         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
75         include sysdep.h.
76
77 2014-09-08  Allan McRae  <allan@archlinux.org>
78
79         * version.h (RELEASE): Set to "development".
80         (VERSION): Set to "2.20.90"
81
82 2014-09-07  Allan McRae  <allan@archlinux.org
83
84         * version.h (RELEASE): Set to "stable".
85         (VERSION): Set to "2.20"
86         * include/features.h (__GLIBC_MINOR__): Set to 20.
87
88         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
89         Liebler.
90
91         * po/ko.po: Update Korean translation from translation project.
92
93 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
94
95         [BZ #17354]
96         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
97         macro for handling signed relocations.
98
99 2014-09-03  Florian Weimer  <fweimer@redhat.com>
100
101         [BZ #17325]
102         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
103         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
104         assert.
105         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
106         * iconvdata/ibm935.c (BODY): Likewise.
107         * iconvdata/ibm937.c (BODY): Likewise.
108         * iconvdata/ibm939.c (BODY): Likewise.
109         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
110         assert.
111         * iconvdata/Makefile (iconv-test.out): Pass module list to test
112         script.
113         * iconvdata/run-iconv-test.sh: New test loop for checking for
114         decoder crashers.
115
116 2014-09-02  Khem Raj  <raj.khem@gmail.com>
117
118         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
119         libm_hidden_ver.
120
121 2014-09-01  Allan McRae  <allan@archlinux.org>
122
123         * po/eo.po: Update Esperanto translation from translation project.
124
125         * po/ca.po: Update Catalan translation from translation project.
126
127 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
128
129         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
130         __proc_dostop call.
131
132 2014-08-27  Mark Wielaard  <mjw@redhat.com>
133
134         [BZ #17319]
135         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
136         to call set_thread_area instead of hand written asm.
137         (__NR_set_thread_area): Removed define.
138         (TLS_FLAG_WRITABLE): Likewise.
139         (__ASSUME_SET_THREAD_AREA): Remove check.
140         (TLS_EBX_ARG): Remove define.
141         (TLS_LOAD_EBX): Likewise.
142
143 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
144
145         Simplify atomicity of socket creation in bind.
146
147         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
148         looking up the name after linking the file.
149
150 2014-08-27  Allan McRae  <allan@archlinux.org>
151
152         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
153
154 2014-08-26  Florian Weimer  <fweimer@redhat.com>
155
156         [BZ #17187]
157         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
158         trans_compare, open_translit, __gconv_translit_find):
159         Remove module loading code.
160
161 2014-08-26  Allan McRae  <allan@archlinux.org>
162
163         * po/vi.po: Update Vietnamese translation from translation project.
164
165         * po/uk.po: Update Ukrainian translation from translation project.
166
167         * po/fr.po: Update French translation from translation project.
168
169         * po/ru.po: Update Russian translation from translation project.
170
171         * po/pl.po: Update Polish translation from translation project.
172
173         * po/cs.po: Update Czech translation from translation project.
174
175         * po/de.po: Update German translation from translation project.
176
177         * po/bg.po: Update Bulgarian translation from translation project.
178
179         * po/sv.po: Update Sweedish translation from translation project.
180
181         * po/nl.po: Update Dutch translation from translation project.
182
183         * po/es.po: Update Spanish translation from translation project.
184
185 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
186
187         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
188
189         * catgets/Makefile (CPPFLAGS-gencat): Remove.
190         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
191         (CPPFLAGS-iconvconfig): Likewise.
192         * timezone/Makefile (CPPFLAGS-zic): Likewise.
193
194         * include/libc-symbols.h: Remove unnecessary check for
195         NOT_IN_libc.
196         * nptl/pthreadP.h: Likewise.
197         * sysdeps/aarch64/setjmp.S: Likewise.
198         * sysdeps/alpha/setjmp.S: Likewise.
199         * sysdeps/arm/sysdep.h: Likewise.
200         * sysdeps/i386/setjmp.S: Likewise.
201         * sysdeps/m68k/setjmp.c: Likewise.
202         * sysdeps/posix/getcwd.c: Likewise.
203         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
204         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
205         * sysdeps/s390/s390-32/setjmp.S: Likewise.
206         * sysdeps/s390/s390-64/setjmp.S: Likewise.
207         * sysdeps/sh/sh3/setjmp.S: Likewise.
208         * sysdeps/sh/sh4/setjmp.S: Likewise.
209         * sysdeps/unix/alpha/sysdep.h: Likewise.
210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
211         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
212         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
213         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
218         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
219         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
221         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
223         * sysdeps/x86_64/setjmp.S: Likewise.
224
225 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
226
227         [BZ #17263]
228         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
229         <stdint.h>.
230         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
231         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
232
233 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
234
235         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
236
237         [BZ #17262]
238         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
239         and __x86_64__ when disabling x87 inline functions.
240
241 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
242
243         [BZ #17259]
244         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
245         asm statement with __cpuid_count.
246
247 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
248
249         * configure.ac: Change __ehdr_start code to dereference the struct.
250         Run readelf on the output to look for relocations.
251         * configure: Regenerated.
252
253 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
254
255         [BZ #17261]
256         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
257         value to 0.
258         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
259
260 2014-08-12  Roland McGrath  <roland@hack.frob.com>
261
262         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
263
264 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
265
266         [BZ #16892]
267         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
268         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
269
270 2014-08-12  Sean Anderson  <seanga2@gmail.com>
271
272         * malloc/malloc.c: Fix typo in comment.
273
274 2014-08-09  Allan McRae  <allan@archlinux.org>
275
276         * Regenerate libc.po.
277
278 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
279
280         * intl/tst-gettext2.sh: Check every lang file for creation.
281
282 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
283
284         * sysdeps/aarch64/fpu/math_private.h
285         (libc_feholdsetround_noex_aarch64_ctx): New function.
286
287 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
288
289         * sysdeps/arm/armv6/strcpy.S (strcpy):
290         Fix performance issue in misaligned cases.
291
292 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
293
294         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
295         Move definition from termios.h.
296         (struct termio): Likewise.
297         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
298         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
299         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
300         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
301         Likewise.
302         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
303         Move definition to ioctl-types.h
304         (struct termio): Likewise.
305         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
306         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
307         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
308         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
309         Likewise.
310
311 2014-08-05  Richard Henderson  <rth@redhat.com>
312
313         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
314         exceptions.
315         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
316         Add fraiseexcpt.
317         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
318         Use __feraiseexcept.
319         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
320         Protect libm symbols with IS_IN_libm.
321
322         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
323
324 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
325
326         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
327
328 2014-08-04  Will Newton  <will.newton@linaro.org>
329
330         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
331         file.
332
333 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
334
335         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
336         variants for each function.
337
338 2014-08-04  Roland McGrath  <roland@hack.frob.com>
339
340         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
341         appended ...
342         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
343         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
344         appended ...
345         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
346         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
347         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
348         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
349         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
350         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
351         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
352         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
353         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
354         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
355         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
356         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
357         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
358         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
359         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
360         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
361         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
362         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
363         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
364         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
365         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
366         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
368         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
369         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
370         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
371         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
372         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
373         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
374         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
375         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
376         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
377         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
378         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
379         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
380         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
381         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
382         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
383         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
384         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
385         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
386         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
387         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
388         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
389         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
390         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
391         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
392         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
393         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
394         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
395         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
396         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
397         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
398         Update #include.
399         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
400         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
401
402 2014-08-04  Roland McGrath  <roland@hack.frob.com>
403
404         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
405         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
406         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
407         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
408         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
409         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
410
411 2014-08-04  Roland McGrath  <roland@hack.frob.com>
412
413         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
414         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
415         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
416         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
417
418 2014-08-04  Roland McGrath  <roland@hack.frob.com>
419
420         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
421         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
422         (__libc_vfork): Define function under this name.
423         (__vfork): Define as an alias.
424         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
425         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
426
427 2014-08-04  Roland McGrath  <roland@hack.frob.com>
428
429         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
430         that was previously under [RESET_PID].
431         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
432
433 2014-08-04  Andreas Schwab  <schwab@suse.de>
434
435         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
436
437 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
438
439         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
440         (main): Likewise.
441
442 2014-08-01  Roland McGrath  <roland@hack.frob.com>
443
444         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
445
446 2014-08-01  Richard Henderon  <rth@redhat.com>
447
448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
449         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
450         typo in exact zero test.
451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
452         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
453         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
454
455 2014-08-01  Roland McGrath  <roland@hack.frob.com>
456
457         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
458         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
459         * sysdeps/arm/sysdep.h: ... here.
460         [!__ASSEMBLER__]: Include <stdint.h>.
461
462 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
463
464         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
465         (HAVE_WCTYPE_H): Likewise.
466         (HAVE_ISWCTYPE): Likewise.
467         (ENABLE_NLS): Likewise.
468         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
469         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
470
471         * posix/regex_internal.c: Check if DEBUG is defined and is
472         set.
473
474         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
475         (HAVE_MBSRTOWCS): Likewise.
476         * posix/fnmatch.c: Include string.h unconditionally.
477
478 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
479
480         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
481         reversal.
482
483 2014-07-31  Roland McGrath  <roland@hack.frob.com>
484
485         * sysdeps/generic/safe-fatal.h: New file.
486         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
487         * nptl/forward.c: Include it.
488         (__pthread_unwind): Use __safe_fatal as default action, rather
489         than a bogus use of INTERNAL_SYSCALL that could never work.
490
491         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
492         * configure.ac (libc_cv_builtin_trap): New test.
493         * configure: Regenerated.
494         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
495         (ABORT_INSTRUCTION): Define using __builtin_trap.
496
497         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
498         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
499         * sysdeps/nptl/nptl-signals.h: New file.
500         * nptl/pthreadP.h: Include <nptl-signals.h>.
501
502 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
503
504         * sysdeps/s390/s390-64/utf16-utf32-z9.c
505         (ONE_DIRECTION): Define.
506         * sysdeps/s390/s390-64/utf8-utf16-z9.c
507         (ONE_DIRECTION): Define.
508         * sysdeps/s390/s390-64/utf8-utf32-z9.c
509         (ONE_DIRECTION): Define.
510
511 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
512
513         * sysdeps/s390/Makefile: Delete file.
514         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
515         * sysdeps/s390/__longjmp.c: Delete file.
516         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
517         Remove fields __flags and __reserved.
518         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
519         and add versioning.
520         * sysdeps/s390/rtld-__longjmp.c: Delete file.
521         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
522         * sysdeps/s390/rtld-setjmp.S: Likewise.
523         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
524         * sysdeps/s390/s390-32/__longjmp.c: ... here.
525         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
526         * sysdeps/s390/s390-32/setjmp.S: ... here.
527         Add versioning.
528         (__sigsetjmp): Remove setting __flags field.
529         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
530         * sysdeps/s390/s390-64/__longjmp.c: ... here.
531         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
532         * sysdeps/s390/s390-64/setjmp.S: ... here.
533         Add versioning.
534         (__sigsetjmp): Remove setting __flags field.
535         * sysdeps/s390/setjmp.S: Delete file.
536         * sysdeps/s390/sigjmp.c: Likewise.
537         * sysdeps/s390/v1-longjmp.c: Likewise.
538         * sysdeps/s390/v1-setjmp.h: Likewise.
539         * sysdeps/s390/v1-sigjmp.c: Likewise.
540         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
541         Remove v1-longjmp_chk.
542         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
543         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
544         Include debug/longjmp_chk.c and add versioning.
545         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
546         Include nptl/pt-longjmp.c and add versioning.
547         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
548         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
549         Include __longjmp.c.
550         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
551         Move to ...
552         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
553         (__getcontext): Remove setting __flags field.
554         Add versioning.
555         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
556         Don't restore upper high grps.
557         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
558         Likewise.
559         (__swapcontext): Remove setting uc_flags field.
560         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
561         Delete file.
562         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
563         Include __longjmp.c.
564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
565         Move to ...
566         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
567         (__getcontext): Remove setting __flags field.
568         Add versioning.
569         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
570         (__swapcontext): Remove setting uc_flags field.
571         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
572         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
573         Remove fields uc_high_gprs and __reserved.
574         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
575         New file with reverted content.
576         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
577         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
578         Regenerated.
579         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
580         Regenerated.
581
582 2014-07-31  Andreas Schwab  <schwab@suse.de>
583
584         * config.h.in (HAVE_IFUNC): Define to 0.
585         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
586         definedness.
587
588 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
589
590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
591         memmove-avx-unaligned, memcpy-avx-unaligned and
592         mempcpy-avx-unaligned.
593         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
594         Add tests for AVX memcpy functions.
595         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
596         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
597         memcpy_chk.
598         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
599         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
600         memmove_chk.
601         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
602         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
603         mempcpy_chk.
604         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
605         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
606         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
607
608 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
609
610         [BZ #17213]
611         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
612         powerpc64le.
613
614 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
615
616         [BZ #16839]
617         * manual/llio.texi: Add section about open file description locks.
618         * manual/examples/ofdlocks.c: Example of open file description
619         lock usage.
620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
621         F_OFD_SETLK, and F_OFD_SETLKW.
622
623 2014-07-23  Allan McRae  <allan@archlinux.org>
624
625         * po/es.po: Update Spanish translation from translation project.
626
627 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
628
629         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
630
631 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
632
633         [BZ #17078]
634         * sysdeps/arm/dl-machine.h (elf_machine_rela)
635         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
636         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
637
638 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
639
640         [BZ #17088]
641         * math/fesetenv.c (__fesetenv)
642         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
643         * math/feupdateenv.c (__feupdateenv)
644         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
645
646         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
647         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
648         (__ASSUME_SOCKETCALL): Do not define.
649
650         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
651         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
652         (__ASSUME_SOCKETCALL): Do not define.
653         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
654         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
655         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
656         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
657         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
658         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
659         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
660         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
661
662         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
663         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
664         (__ASSUME_SOCKETCALL): Do not define.
665         (__ASSUME_IPC64): Define unconditionally.
666         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
667         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
668         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
670         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
672         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
673         Likewise.
674
675         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
676         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
677         (__ASSUME_SOCKETCALL): Do not define.
678         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
679         (__ASSUME_FUTEX_LOCK_PI): Likewise.
680         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
681         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
682         (__ASSUME_REQUEUE_PI): Define unconditionally.
683         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
684         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
685         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
686         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
687         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
688         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
689
690         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
691         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
692         (__ASSUME_SOCKETCALL): Do not define.
693         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
694         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
695         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
696         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
698         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
699
700         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
701         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
702         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
703         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
705         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
706         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
707         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
708         (__ASSUME_GETCPU_SYSCALL): Likewise.
709
710         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
711         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
712         cases for individual architectures.
713         * sysdeps/gnu/configure: Regenerated.
714         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
715         LIBC_SLIBDIR_RTLDDIR.
716         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
717         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
718         LIBC_SLIBDIR_RTLDDIR.
719         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
721         LIBC_SLIBDIR_RTLDDIR.
722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
723         Regenerated.
724         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
725         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
726         file.
727         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
728         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
729         file.
730         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
731         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
732         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
733         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
734
735         * sysdeps/aarch64/shlib-versions: Move to ...
736         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
737         * sysdeps/alpha/shlib-versions: Move to ...
738         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
739         * sysdeps/arm/shlib-versions: Move to ...
740         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
741         * sysdeps/hppa/shlib-versions: Move all contents except for
742         libgcc_s entry to ...
743         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
744         entry from ...
745         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
746         * sysdeps/ia64/shlib-versions: Move to ...
747         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
748         entry from ...
749         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
750         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
751         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
752         * sysdeps/microblaze/shlib-versions: Move to ...
753         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
754         * sysdeps/mips/shlib-versions: Move to ...
755         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
756         entry from ...
757         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
758         * sysdeps/tile/shlib-versions: Move to ...
759         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
760         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
761         from ...
762         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
763         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
764         entry from ...
765         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
766
767 2014-07-17  Will Newton  <will.newton@linaro.org>
768
769         * sysdeps/arm/bits/atomic.h
770         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
771         (__arch_compare_and_exchange_bool_16_int): Likewise.
772         (__arch_compare_and_exchange_bool_64_int): Likewise.
773
774         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
775         into an #else block.
776
777 2014-07-16  Roland McGrath  <roland@hack.frob.com>
778
779         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
780         just Linux configurations.  Test empirically that the compiler sets
781         __ARM_EABI__, rather than using the tuple to decide.
782         * sysdeps/arm/preconfigure: Regenerated.
783         * sysdeps/unix/sysv/linux/arm/configure: File removed.
784         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
785         contents appended ...
786         * sysdeps/arm/configure.ac: ... here.
787         * sysdeps/arm/configure: Regenerated.
788
789 2014-07-15  Roland McGrath  <roland@hack.frob.com>
790
791         * nptl/pthread_kill.c: New file.
792         * nptl/pthread_sigmask.c: New file.
793         * nptl/pthread_sigqueue.c: New file.
794
795         * sysdeps/nptl/lowlevellock.h: New file.
796         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
797         * sysdeps/nptl/lowlevellock-futex.h: New file.
798
799         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
800         Remove dead declarations.
801
802 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
803
804         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
805         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
806         config-cflags-avx2.
807         * sysdeps/x86_64/configure.ac: Likewise.
808         * sysdeps/i386/configure: Regenerated.
809         * sysdeps/x86_64/configure: Likewise.
810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
811         memset-avx2 only if config-cflags-avx2 is yes.
812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
813         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
814         defined.
815         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
816         only if HAVE_AVX2_SUPPORT is defined.
817         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
818
819 2014-07-14  Alan Modra  <amodra@gmail.com>
820
821         [BZ #17153]
822         * elf/elf.h (DT_PPC64_NUM): Correct value.
823         * NEWS: Add to fixed bug list.
824
825 2014-07-13  Jim Meyering  <meyering@fb.com>
826
827         [BZ 17150]
828         regex: don't deref NULL upon heap allocation failure
829         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
830         failure in one more place.
831         To trigger the segfault, configure grep -with-included-regex,
832         build it, and run these commands:
833         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
834
835 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
836
837         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
838
839 2014-07-11  Richard Henderson  <rth@redhat.com>
840
841         * sysdeps/aarch64/libm-test-ulps: Update.
842
843 2014-07-10  Florian Weimer  <fweimer@redhat.com>
844
845         [BZ #17135]
846         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
847         * nptl/allocatestack.c (__nptl_setxid_error): New function.
848         (__nptl_setxid): Initialize error member.  Call
849         __nptl_setxid_error.
850         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
851         * nptl/descr.h (struct xid_command): Add error member.
852         * nptl/tst-setuid3.c: New file.
853         * nptl/Makefile (tests): Add it.
854
855 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
856
857         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
858         New define.
859         (__lll_trylock): Use __lll_base_trylock.
860         (__lll_cond_trylock): Likewise.
861
862 2014-07-10  Roland McGrath  <roland@hack.frob.com>
863
864         * nptl/pthread_create.c (start_thread): Use atomic_or and
865         lll_futex_wake directly rather than lll_robust_dead.
866         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
867         (lll_robust_dead): Macro removed.
868         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
869         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
870         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
871         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
872         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
873         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
874         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
875         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
876         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
877         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
878         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
879         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
880         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
881         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
882         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
883
884         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
885         Use atomic_compare_and_exchange_val_acq directly rather than
886         lll_robust_trylock.
887         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
888         (__lll_robust_trylock, lll_robust_trylock): Removed.
889         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
890         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
891         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
893         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
894         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
895         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
896         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
898         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
899         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
900         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
901         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
902         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
903
904 2014-07-02  Florian Weimer  <fweimer@redhat.com>
905
906         * manual/locale.texi (Locale Names): New section documenting
907         locale name syntax.  Adjust menu and node chaining accordingly.
908         (Choosing Locale): Reference Locale Names, Locale Categories.
909         Mention setting LC_ALL=C.  Reflect that name syntax is now
910         documented.
911         (Locale Categories): New section title.  Reference Locale Names.
912         LC_ALL is an environment variable, but not a category.
913         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
914         description, now in Locale Name.  Reference that section.  Locale
915         name syntax is now documented.
916
917 2014-07-02  Florian Weimer  <fweimer@redhat.com>
918
919         [BZ #17137]
920         * locale/findlocale.c (name_present, valid_locale_name): New
921         functions.
922         (_nl_find_locale): Use the loc_name variable to store name
923         candidates.  Call name_present and valid_locale_name to check and
924         validate locale names.  Return an error if the locale is invalid.
925
926 2014-07-02  Florian Weimer  <fweimer@redhat.com>
927
928         * locale/setlocale.c (setlocale): Use strdup for allocating
929         composite name copy.
930
931 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
932
933         Sync up with gnulib.
934         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
935         [!_LIBC && ENABLE_NLS]: Include gettext.h.
936         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
937         and _GL_ARG_NONNULL.
938         [USE_UNLOCKED_IO]: Include unlocked-io.h.
939         [!_LIBC]: Include code for Windows and Cygwin.
940         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
941         Include prototype for int strerror_r.
942         [!_LIBC] (is_open): New function.
943         (flush_stdout): New function.
944         (print_errno_message): Use it.
945         (error): Likewise.
946         (error_at_line): Likewise.
947         (error_tail) Add function attribute macros.  Use
948         __builtin_expect.
949
950         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
951
952         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
953
954         * io/ftw.c: Include sys/param.h unconditionally.
955
956         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
957
958         [BZ #17125]
959         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
960         libc_freeres_ptr.
961         (freecache): New function to free CACHE on exit.
962
963         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
964         initialization.
965
966 2014-07-09  David S. Miller  <davem@davemloft.net>
967
968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
969
970         * sysdeps/sparc/nptl/internaltypes.h: Delete.
971         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
972         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
973         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
974         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
975         * sysdeps/sparc/nptl/sem_init.c: Likewise.
976         * sysdeps/sparc/nptl/sem_post.c: Likewise.
977         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
978         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
979         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
980         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
981         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
982         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
983
984 2014-07-09  Andreas Schwab  <schwab@suse.de>
985
986         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
987         output.
988         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
989         (do_test): Likewise.
990
991         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
992
993 2014-07-09  Will Newton  <will.newton@linaro.org>
994
995         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
996         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
997         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
998         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
999         * sysdeps/hppa/start.S (_start): Likewise.
1000
1001 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1002
1003         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1004
1005         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1006         defined.
1007
1008 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1009
1010         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1011         after checking that it is non-NULL.
1012
1013         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1014
1015 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1016
1017         * sysdeps/powerpc/memmove.c: Remove file.
1018         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1019         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1020         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1021         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1022         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1023         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1024         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1025         string memmove instead of removed powerpc one.
1026
1027         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1028         [weak_alias]: Fix compiler warning due trailing data.
1029         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1030         [weak_alias]: Likewise.
1031         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1032         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1033
1034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1035         (__libc_ifunc_impl_list): Add memmove functions.
1036
1037 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1038
1039         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1040         Remove code.
1041         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1042         Likewise
1043         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1044         Likewise
1045         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1046         Likewise
1047         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1048         Likewise
1049         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1050         Likewise
1051         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1052         Likewise
1053         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1054         Likewise
1055         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1056         Likewise
1057         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1058         Likewise
1059         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1060         Likewise
1061         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1062         Likewise
1063         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1064         Likewise
1065         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1066         Likewise
1067         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1068         Likewise
1069         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1070         Likewise
1071         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1072         Likewise
1073
1074 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1075
1076         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1077         to avoid alignment traps in non-cacheable memory.
1078         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1079
1080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1081         multiarch objects.
1082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1083         file: multiarch power7 memmove.
1084         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1085         multiarch default memmove.
1086         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1087         multiarch memove for powerpc32/power4.
1088
1089         * string/bcopy.c: Use full path to include memmove.c.
1090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1091         multiarch objects.
1092         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1093         bcopy for powerpc64.
1094         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1095         bcopy for powerpc64.
1096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1097         and memmove implementations.
1098         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1099         optimized multiarch memmove for POWER7/powerpc64.
1100         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1101         default multiarch memmove for powerpc64.
1102         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1103         multiarch for powerpc64.
1104         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1105         for POWER7/powerpc64.
1106         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1107         memmove for POWER7/powerpc64.
1108
1109         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1110         glibc default one.
1111
1112         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1113         __ELF_NATIVE_CLASS equal to 64.
1114
1115 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1116
1117         * sysdeps/nptl/lowlevellock.h: File removed.
1118
1119         * NEWS: NPTL is no longer an add-on!
1120         * nptl/internaltypes.h: Moved ...
1121         * sysdeps/nptl/internaltypes.h: ... here.
1122         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1123         * sysdeps/nptl/fork.c: Likewise.
1124         * sysdeps/nptl/gai_misc.h: Likewise.
1125         * sysdeps/nptl/librt-cancellation.c: Likewise.
1126         * sysdeps/nptl/jmp-unwind.c: Likewise.
1127         * sysdeps/nptl/setxid.h: Likewise.
1128         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1129         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1130         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1131         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1132         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1133         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1134         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1135         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1136         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1137         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1138         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1139         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1140         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1141         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1142         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1143         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1144         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1145         * nptl/Makeconfig: Moved ...
1146         * sysdeps/nptl/Makeconfig: ... here.
1147         * nptl/configure: File removed.
1148         * nptl/ANNOUNCE: File removed.
1149         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1150         * sysdeps/unix/sysv/linux/configure: Regenerated.
1151
1152         * nptl/Makefile (routines): Add libc_pthread_init,
1153         libc_multiple_threads, register-atfork and unregister-atfork.
1154         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1155         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1156         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1157         pthread-pi-defines.sym, structsem.sym.
1158         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1159         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1160         [$(subdir) = nptl] (tests): Add tst-setgetname.
1161         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1162         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1163         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1164         [!LIBC_SIGACTION]: Remove aliases.
1165         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1166         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1167         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1168         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1170         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1171         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1172         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1173         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1174         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1175         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1176         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1177         __libc_allocate_rtsig_private.
1178         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1179         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1180         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1181         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1182         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1183         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1184         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1185         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1186         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1187         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1188         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1189         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1190         * nptl/internaltypes.h: ... here.
1191         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1192         * sysdeps/nptl/jmp-unwind.c: ... here.
1193         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1194         * nptl/libc-lowlevellock.c: ... here.
1195         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1196         * nptl/libc_multiple_threads.c: ... here.
1197         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1198         * nptl/libc_pthread_init.c: ... here.
1199         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1200         * nptl/lowlevelbarrier.sym: ... here.
1201         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1202         * nptl/lowlevelcond.sym: ... here.
1203         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1204         * nptl/lowlevellock.c: ... here.
1205         * nptl/lowlevellock.h: Moved ...
1206         * sysdeps/nptl/lowlevellock.h: ... here.
1207         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1208         * nptl/lowlevelrobustlock.c: ... here.
1209         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1210         * nptl/lowlevelrobustlock.sym: ... here.
1211         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1212         * nptl/lowlevelrwlock.sym: ... here.
1213         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1214         * nptl/pt-fork.c: ... here.
1215         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1216         * nptl/pthread-pi-defines.sym: ... here.
1217         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1218         * nptl/pthread_attr_getaffinity.c: ... here.
1219         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1220         * nptl/pthread_attr_setaffinity.c: ... here.
1221         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1222         * nptl/pthread_mutex_cond_lock.c: ... here.
1223         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1224         Update #include.
1225         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1226         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1227         * nptl/pthread_once.c: ... here, replacing old file.
1228         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1229         * nptl/pthread_yield.c: ... here.
1230         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1231         * nptl/register-atfork.c: ... here.
1232         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1233         * nptl/sem_post.c: ... here.
1234         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1235         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1236         * nptl/sem_timedwait.c: ... here.
1237         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1238         * nptl/sem_trywait.c: ... here.
1239         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1240         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1241         * nptl/sem_wait.c: ... here.
1242         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1243         * nptl/structsem.sym: ... here.
1244         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1245         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1246         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1247         * nptl/unregister-atfork.c: ... here.
1248         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1249         * nptl/unwindbuf.sym: ... here.
1250         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1251         * sysdeps/nptl/fork.c: ... here.
1252         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1253         * sysdeps/nptl/fork.h: ... here.
1254         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1255         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1256         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1257         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1258         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1259         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1260         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1261         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1262         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1263         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1264         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1265         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1266         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1267         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1268         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1269         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1270         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1271         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1272         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1273         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1274         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1275         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1276         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1277         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1278         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1279         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1280         * sysdeps/unix/sysv/linux/raise.c: ... here.
1281         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1282         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1283         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1284         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1285         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1286         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1287         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1288         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1289         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1290         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1291         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1292         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1293         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1294         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1295         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1296
1297 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1298
1299         * sysdeps/generic/memcopy.h: Add comment for
1300         MEMCPY_OK_FOR_FWD_MEMMOVE.
1301
1302 2014-07-04  Will Newton  <will.newton@linaro.org>
1303
1304         * string/memchr.c: Merge from gnulib.
1305         [_LIBC]: Remove conditionals.
1306         (__ptr_t): Remove define.
1307         (LONG_MAX_32_BITS): Likewise.
1308         (LONG_MAX): Likewise.
1309         (MEMCHR): Use ANSI prototype and optimize algorithm.
1310
1311         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1312
1313 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1314
1315         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1316         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1317
1318         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1319         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1320         in a bare environment with no <stdlib.h> installed.
1321         * sysdeps/nptl/configure: Regenerated.
1322
1323         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1324
1325         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1326         AC_EGREP_CPP for kernel header checks, so they only succeed if
1327         including <linux/version.h> actually works right.
1328         * sysdeps/unix/sysv/linux/configure: Regenerated.
1329
1330         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1331         value so it's not diagnosed as unused.
1332
1333         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1334         thing) with "ifeq ($(subdir),rt)".
1335
1336 2014-07-03  Richard Henderson  <rth@redhat.com>
1337
1338         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1339         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1340         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1341
1342         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1343         (math_force_eval): New.
1344
1345         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1346         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1347
1348         * sysdeps/alpha/fpu/s_round.c: Remove file.
1349         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1350
1351         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1352         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1353         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1354         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1355         (_dl_start, print_statistics): Likewise.
1356         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1357         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1358
1359         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1360         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1361         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1362         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1363         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1364         (HP_SMALL_TIMING_AVAIL): Define.
1365         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1367         (HP_SMALL_TIMING_AVAIL): Define.
1368         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1369         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1370
1371         * sysdeps/aarch64/hp-timing.h: New file.
1372
1373         * sysdeps/generic/hp-timing.h: Remove dead comment.
1374         * sysdeps/generic/hp-timing-common.h: New file.
1375         * sysdeps/alpha/hp-timing.h: Include it.
1376         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1377         * sysdeps/i386/i686/hp-timing.h: Likewise.
1378         * sysdeps/ia64/hp-timing.h: Likewise.
1379         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1380         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1381         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1382         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1383         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1384         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1385         (hp_timing_t): New.
1386
1387         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1388         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1389         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1390         * elf/rtld.c (_dl_start_final): Likewise.
1391         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1392         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1393         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1394         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1395         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1396         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1397         (HP_TIMING_DIFF_INIT): Remove.
1398         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1400         (HP_TIMING_DIFF_INIT): Remove.
1401         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1402         * sysdeps/i386/i686/hp-timing.c: Remove file.
1403         * sysdeps/x86_64/hp-timing.c: Remove file.
1404         * sysdeps/ia64/hp-timing.c: Remove file.
1405         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1406         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1408         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1409
1410         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1411         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1412         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1413         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1415         (HP_TIMING_ACCUM): Remove.
1416         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1417         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1418         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1419
1420         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1421         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1422         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1423         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1424         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1425         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1426         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1427         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1428
1429         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1430
1431 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1432
1433         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1434
1435 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1436
1437         Sync up with gettext.
1438         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1439         [_MSC_VER]: Include malloc.h
1440         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1441         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1442         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1443         TEMP_FAILURE_RETRY.  Cast return of alloca.
1444         [!_LIBC] Call gl_rwlock_init.
1445         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1446
1447 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1448
1449         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1450         before checking its value.
1451
1452 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1453
1454         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1455
1456         * debug/memcpy_chk.c: Don't include pagecopy.h.
1457         * debug/mempcpy_chk.c: Likewise.
1458         * string/memcpy.c: Likewise.
1459         * string/memmove.c: Likewise.
1460         * sysdeps/powerpc/memmove.c: Likewise.
1461         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1462         definition of PAGE_COPY_FWD_MAYBE here...
1463         * sysdeps/generic/pagecopy.h: ... from here.
1464         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1465
1466 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1467             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1468
1469         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1471         optimizations.
1472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1473         (__libc_ifunc_impl_list): Likewise.
1474         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1475         multiarch strcat for PPC64.
1476         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1477         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1478
1479 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1480
1481         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1482
1483 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1484
1485         * intl/loadmsgcat.c: Remove declaration of
1486         get_sysdep_segment_value.
1487         (get_sysdep_segment_value): Use ISO C style.
1488         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1489         semicolon.  Fix typo and formatting in comment.
1490         (_nl_unload_domain): Use ISO C style.
1491
1492         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1493
1494 2014-07-02  Will Newton  <will.newton@linaro.org>
1495
1496         * malloc/obstack.c: Merge from gnulib master.
1497         [HAVE_CONFIG_H]: Remove conditional code.
1498         [!_LIBC]: Include config.h.
1499         [!ELIDE_CODE]: Don't include inttypes.h, include
1500         stdint.h unconditionally.
1501         (print_and_abort): Mark as _Noreturn.
1502         (_obstack_allocated_p): Mark as __attribute_pure__.
1503         (obstack_free): Rename to __obstack_free.
1504         [!__attribute__]: Remove conditional code.
1505         * malloc/obstack.h: Merge from gnulib master.
1506         [__cplusplus]: Move conditional down.
1507         [!__attribute_pure__]: Define __attribute_pure__ here
1508         if it is not already defined.
1509         (_obstack_memory_used): Mark as __attribute_pure__.
1510         [!__obstack_free]: Define as obstack_free.
1511         [__GNUC__]: Remove check for ancient NeXT gcc.
1512
1513 2014-07-02  Will Newton  <will.newton@linaro.org>
1514             Paul Eggert  <eggert@cs.ucla.edu>
1515
1516         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1517
1518 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1519
1520         * resolv/gethnamaddr.c: Add comment warning that the file is
1521         not maintained.
1522
1523 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1524
1525         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1526         entries.
1527
1528         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1529         entry for aio_cancel and aio_cancel64.
1530         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1531         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1532         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1533         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1534         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1535         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1537         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1538         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1539         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1540         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1541         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1542         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1543
1544 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1545
1546         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1547         * nptl/pthread_mutex_lock.c: Likewise.
1548         * nptl/pthread_mutex_timedlock.c: Likewise.
1549         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1550
1551 2014-07-01  Richard henderson  <rth@redhat.com>
1552
1553         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1554         (__isnan, __isnanl): Remove.
1555         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1556
1557         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1558
1559 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1560
1561         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1562
1563 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1564
1565         * resolv/nss_dns/dns-host.c (getanswer_r)
1566         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1567
1568 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1569
1570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1571         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1572         undefine.
1573         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1574         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1575
1576 2014-07-01  Roland McGrath <roland@hack.frob.com>
1577
1578         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1579         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1580
1581         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1582         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1583
1584         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1585         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1586         ... here.
1587         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1588         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1589
1590         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1591         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1592         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1593         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1594
1595         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1596         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1597         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1600         Moved ...
1601         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1602         ... here.
1603         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1604         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1605         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1606         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1607         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1608         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1614         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1622         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1623         ... here.
1624         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1625         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1626         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1627         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1628         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1629         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1630         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1631         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1632
1633 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1634
1635         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1636         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1637         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1638         Add sysdep.
1639
1640 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1641
1642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1643
1644 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1645
1646         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1647         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1648
1649         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1650
1651         * sysdeps/arm/libm-test-ulps: Regenerated.
1652
1653 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1654             Roland McGrath <roland@hack.frob.com>
1655
1656         * test-skeleton.c (signal_handler): Kill the whole process group
1657         before killing the child individually.
1658         (main): Report any failure on `setpgid'.
1659
1660 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1661
1662         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1663         from _TLS_H to _ARM_NPTL_TLS_H.
1664         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1665         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1666
1667 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1668
1669         [BZ #16539]
1670         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1671         (__expm1l): Return argument unchanged when small but not
1672         subnormal.
1673
1674         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1675         include macro name.
1676         (_FP_UNPACK_RAW_1_P): Likewise.
1677         (_FP_PACK_RAW_1): Likewise.
1678         (_FP_PACK_RAW_1_P): Likewise.
1679         (_FP_MUL_MEAT_1_wide): Likewise.
1680         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1681         (_FP_MUL_MEAT_1_hard): Likewise.
1682         (_FP_DIV_MEAT_1_imm): Likewise.
1683         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1684         (_FP_DIV_MEAT_1_udiv): Likewise.
1685         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1686         (_FP_UNPACK_RAW_2): Likewise.
1687         (_FP_UNPACK_RAW_2_P): Likewise.
1688         (_FP_PACK_RAW_2): Likewise.
1689         (_FP_PACK_RAW_2_P): Likewise.
1690         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1691         (_FP_MUL_MEAT_2_wide): Likewise.
1692         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1693         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1694         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1695         (_FP_MUL_MEAT_2_gmp): Likewise.
1696         (_FP_DIV_MEAT_2_udiv): Likewise.
1697         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1698         (_FP_FRAC_SRL_4): Likewise.
1699         (_FP_FRAC_SRST_4): Likewise.
1700         (_FP_FRAC_SRS_4): Likewise.
1701         (_FP_UNPACK_RAW_4): Likewise.
1702         (_FP_UNPACK_RAW_4_P): Likewise.
1703         (_FP_PACK_RAW_4): Likewise.
1704         (_FP_PACK_RAW_4_P): Likewise.
1705         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1706         (_FP_MUL_MEAT_4_wide): Likewise.
1707         (_FP_MUL_MEAT_4_gmp): Likewise.
1708         (umul_ppppmnnn): Likewise.
1709         (_FP_DIV_MEAT_4_udiv): Likewise.
1710         (__FP_FRAC_ADD_4): Likewise.
1711         (__FP_FRAC_SUB_3): Likewise.
1712         (__FP_FRAC_SUB_4): Likewise.
1713         (__FP_FRAC_DEC_3): Likewise.
1714         (__FP_FRAC_DEC_4): Likewise.
1715         (__FP_FRAC_ADDI_4): Likewise.
1716         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1717         (_FP_FRAC_SRL_8): Likewise.
1718         (_FP_FRAC_SRS_8): Likewise.
1719
1720         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1721         include macro name.
1722         (FP_UNPACK_RAW_EP): Likewise.
1723         (FP_PACK_RAW_E): Likewise.
1724         (FP_PACK_RAW_EP): Likewise.
1725         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1726         (_FP_ISSIGNAN): Likewise.
1727         (_FP_ADD_INTERNAL): Likewise.
1728         (_FP_FMA): Likewise.
1729         (_FP_CMP): Likewise.
1730         (_FP_SQRT): Likewise.
1731         (_FP_TO_INT): Likewise.
1732         (_FP_FROM_INT): Likewise.
1733         (FP_EXTEND): Likewise.
1734         (_FP_DIV_MEAT_N_loop): Likewise.
1735
1736 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1737
1738         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1739         throughout.
1740
1741 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1742
1743         [BZ #17097]
1744         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1745         result with correct sign in case of exponents that produce
1746         overflow except for X very close to 1.
1747
1748 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1749
1750         mktime: merge #if/#ifdef usage from glibc
1751         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1752         as that works with both Glibc's and Gnulib's style.
1753         See thread starting at Siddhesh Poyarekar's bug report at:
1754         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1755
1756 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1757
1758         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1759         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1760         * sysdeps/tile/tilegx/memmove.c: Remove file.
1761
1762 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1763
1764         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1765         abi-name definition.
1766         * scripts/soversions.awk: Do not handle or generate ABI lines.
1767         * shlib-versions: Remove ABI entries.
1768         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1769         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1770
1771 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1772
1773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1774         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1776         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1778         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1780         Moved ...
1781         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1782         ... here.
1783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1784         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1786         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1788         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1790         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1792         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1794         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1796         Moved ...
1797         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1799         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1801         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1803         Moved ...
1804         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1806         Moved ...
1807         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1809         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1811         Moved ...
1812         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1816         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1818         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1820         Moved ...
1821         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1823         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1824         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1825         Moved ...
1826         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1827         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1828         Moved ...
1829         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1830         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1831         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1832         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1833         Moved ...
1834         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1835         ... here.
1836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1837         Identical file removed.
1838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1839         Moved ...
1840         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1842         Identical file removed.
1843         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1844         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1845         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1846         Moved ...
1847         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1849         Identical file removed.
1850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1851         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1853         Identical file removed.
1854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1855         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1857         Identical file removed.
1858         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1859         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1861         Identical file removed.
1862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1863         Moved ...
1864         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1866         Identical file removed.
1867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1868         Moved ...
1869         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1871         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1873         Identical file removed.
1874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1875         Moved ...
1876         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1877         ... here.
1878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1879         Identical file removed.
1880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1881         Moved ...
1882         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1884         Identical file removed.
1885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1886         Moved ...
1887         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1889         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1891         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1893         Moved ...
1894         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1895         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1896         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1897
1898         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1899         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1900         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1901         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1902         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1903
1904 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1905
1906         [BZ #17092]
1907         * nscd/nscd.c (monitor_child): Return exit status of child
1908         instead of return value from wait syscall.
1909
1910 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1911
1912         * configure.ac (libc_commonpagesize): Remove variable.
1913         (libc_relro_required): Likewise.
1914         (libc_cv_z_relro): Remove configure test.
1915         * configure: Regenerated.
1916         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1917         variable.
1918         (libc_relro_required): Likewise.
1919         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1920         (libc_relro_required): Likewise.
1921         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1922         (libc_relro_required): Likewise.
1923         * sysdeps/arm/preconfigure: Regenerated.
1924         * sysdeps/ia64/preconfigure: Remove file.
1925         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1926         variable.
1927         (libc_relro_required): Likewise.
1928
1929         [BZ #16561]
1930         [BZ #16562]
1931         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1932         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1933         recompute overflowing results in original rounding mode.
1934         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1935         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1936         recompute overflowing results in original rounding mode.
1937         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1938         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1939         recompute overflowing results in original rounding mode.
1940         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1941         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1942         recompute overflowing results in original rounding mode.
1943         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1944         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1945         recompute overflowing results in original rounding mode.
1946         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1947         (libc_feholdsetround_ctx): New macro.
1948         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1949         * sysdeps/i386/fpu/libm-test-ulps: Update.
1950         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1951
1952 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1953
1954         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1955         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1956         corresponding .cpsetup call.
1957
1958 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1959
1960         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1961         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1962         * sysdeps/arm/Makefile [$(subdir) = csu]
1963         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1964         (static-only-routines): Add aeabi_read_tp here.
1965         (shared-only-routines): Add libc-aeabi_read_tp here.
1966         (CFLAGS-libc-start.c): Add -fexceptions here.
1967         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1968         (sysdep_routines, static-only-routines, shared-only-routines):
1969         Don't add to these here.
1970         (CFLAGS-libc-start.c): Likewise.
1971
1972         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1973         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1974         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1975         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1976         * sysdeps/arm/Makefile [$(subdir) = rt]
1977         (librt-sysdep_routines, librt-shared-only-routines):
1978         Append rt-aeabi_unwind_cpp_pr1 here.
1979         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1980         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1981         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1982         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1983         Append nptl-aeabi_unwind_cpp_pr1 here.
1984         (tests): Filter out tst-cleanupx4 here.
1985         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1986         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1987         Don't do those here.
1988
1989 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1990
1991         * scripts/list-sources.sh: Do not handle ports specially.
1992
1993 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1994
1995         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1996         * sysdeps/arm/feupdateenv.c: Likewise.
1997
1998         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1999
2000 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2001
2002         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2003         trailing whitespace removed.
2004         * scripts/config.guess: Update to version 2014-03-23.
2005         * scripts/config.sub: Update to version 2014-05-01
2006         * scripts/install-sh: Update to version 2013-12-25.23.
2007         * scripts/move-if-change: Update from gnulib.
2008
2009 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2010
2011         * debug/memmove_chk.c: Remove pagecopy.h include.
2012
2013 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2014
2015         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2016         identical to gnulib mktime.
2017
2018 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2019
2020         * configure.ac: Do not test for machine being rs6000.  Do not test
2021         for powerpc*-*soft.
2022         * configure: Regenerated.
2023
2024         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2025         test.
2026         * configure: Regenerated.
2027         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2028         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2029         Remove configure test.
2030         * sysdeps/arm/configure: Regenerated.
2031         * sysdeps/nptl/configure.ac: Do not check
2032         libc_cv_asm_cfi_directives.
2033         * sysdeps/nptl/configure: Regenerated.
2034         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2035         * sysdeps/x86_64/nptl/configure: Remove generated file.
2036         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2037         unconditional.
2038         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2039
2040 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2041
2042         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2043         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2044         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2045         it is defined.
2046
2047         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2048         instead of whether it is defined.
2049         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2050         * sysdeps/hppa/dl-machine.h: Likewise.
2051         * sysdeps/ia64/dl-machine.h: Likewise.
2052         * sysdeps/m68k/dl-machine.h: Likewise.
2053         * sysdeps/microblaze/dl-machine.h: Likewise.
2054         * sysdeps/mips/dl-machine.: Likewise.
2055         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2057         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2058         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2059         * sysdeps/sh/dl-machine.h: Likewise.
2060         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2061         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2062         * sysdeps/tile/dl-machine.h: Likewise.
2063         * sysdeps/x86_64/dl-machine.h: Likewise.
2064
2065         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2066         code.
2067         (verify_persistent_db): Likewise.
2068
2069 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2070
2071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2072         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2074         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2076         Moved ...
2077         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2078         ... here.
2079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2080         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2082         Identical file removed.
2083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2084         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2086         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2088         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2090         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2092         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2094         Moved ...
2095         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2097         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2099         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2101         Moved ...
2102         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2104         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2106         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2108         Identical file removed.
2109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2110         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2112         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2116         ... here.
2117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2118         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2120         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2122         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2124         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2126         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2128         Moved ...
2129         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2131         Moved ...
2132         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2134         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2136         Moved ...
2137         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2139         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2140
2141         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2142         folded into ...
2143         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2144         * sysdeps/unix/sysv/linux/s390/Versions
2145         (libpthread: GLIBC_2.19): New version set.
2146         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2147         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2148         (librt: GLIBC_2.3.3): New version set.
2149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2150         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2151         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2152         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2153         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2154         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2155         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2156         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2157         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2158         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2159         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2160         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2161         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2162         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2163         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2164         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2165         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2166         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2167         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2168         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2169         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2171         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2172         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2173         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2174         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2175         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2176         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2177         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2178         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2179         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2180         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2185         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2186         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2187         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2188         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2189         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2190         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2191         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2193         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2194
2195         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2196         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2197         (__libc_vfork): Define the function under this name.
2198         [!NOT_IN_libc] (__vfork): Make this an alias.
2199         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2201         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2202         (__libc_vfork): Define the function under this name.
2203         [!NOT_IN_libc] (__vfork): Make this an alias.
2204         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2205         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2206         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2210
2211         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2212         code that was previously under [RESET_PID].
2213         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2214         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2216
2217         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2218         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2219         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2220         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2221         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2222         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2223         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2224         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2225         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2226         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2227         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2228         Moved ...
2229         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2230         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2231         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2232         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2233         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2234         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2235         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2236         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2237         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2239         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2240         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2241         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2242         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2243         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2244         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2245         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2246         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2247         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2248         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2249         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2250         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2251         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2252         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2253         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2254         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2255         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2256         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2257         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2258
2259 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2260
2261         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2262         that was previously under [RESET_PID].
2263         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2264
2265 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2266
2267         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2268         not undefine and redefine.
2269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2270         [O_CLOEXEC]: Make code unconditional.
2271         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2272         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2273         <kernel-features.h>.
2274         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2275         conditional variable definition.
2276         (shm_open) [O_CLOEXEC]: Make code unconditional.
2277         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2278         code.
2279
2280         * configure.ac (USE_REGPARMS): Don't define here.
2281         * configure: Regenerated.
2282         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2283         * sysdeps/i386/configure: Regenerated.
2284
2285         * nptl/createthread.c: Don't include kernel-features.h.
2286         * nptl/pthread_cancel.c: Likewise.
2287         * nptl/pthread_condattr_setclock.c: Likewise.
2288         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2289         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2290         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2291         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2292         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2294         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2297         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2298         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2299         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2300         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2301         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2302         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2303         * nscd/gai.c: Likewise.
2304         * nss/nss_db/db-open.c: Likewise.
2305         * sysdeps/generic/ldsodefs.h: Likewise.
2306         * sysdeps/sh/nptl/tls.h: Likewise.
2307         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2308         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2309         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2310         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2311         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2312         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2313         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2314         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2316         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2317         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2318         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2319         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2320         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2321         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2322         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2323         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2324         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2325         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2326         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2327         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2329         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2330         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2331         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2335         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2336         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2337         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2338         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2339         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2340         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2341         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2342         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2343         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2344         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2345         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2346         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2347         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2348         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2349         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2350         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2351         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2352         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2353         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2354         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2355         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2356         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2357         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2358         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2359         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2360         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2361         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2362         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2363         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2387         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2388         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2389         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2390         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2391         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2392         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2393         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2394         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2395         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2396         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2397         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2398         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2399         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2400         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2401         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2402         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2403         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2404         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2405         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2406         * sysdeps/unix/sysv/linux/system.c: Likewise.
2407         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2408         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2409         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2410         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2411         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2412         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2413         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2414
2415         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2416         * configure: Regenerated.
2417         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2418
2419         * configure.ac (base_machine): Do not set specially for particular
2420         machines here.
2421         * configure: Regenerated.
2422         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2423         settings from configure.ac.
2424         * sysdeps/i386/preconfigure: New file.
2425         * sysdeps/s390/preconfigure: Likewise.
2426         * sysdeps/sh/preconfigure: Likewise.
2427         * sysdeps/sparc/preconfigure: Likewise.
2428
2429 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2430
2431         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2432         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2433         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2434         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2435         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2436         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2437         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2438         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2439         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2440         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2441         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2442         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2443         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2444         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2445         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2446         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2448         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2449         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2450
2451         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2452         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2453         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2454         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2455         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2456         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2457         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2458         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2459         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2460         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2461         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2462         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2463         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2464         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2465         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2466         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2467         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2468         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2469         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2470         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2472         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2474         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2475         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2476         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2478         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2482         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2483         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2484         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2485         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2486         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2487         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2488         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2489
2490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2491         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2493         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2495         Moved ...
2496         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2497         ... here.
2498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2499         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2501         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2503         Moved ...
2504         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2506         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2508         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2510         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2512         Moved ...
2513         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2515         Moved ...
2516         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2518         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2520         Moved ...
2521         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2523         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2525         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2527         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2529         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2531         Moved ...
2532         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2533         ... here.
2534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2539         Moved ...
2540         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2542         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2544         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2546         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2548         Moved ...
2549         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2551         Moved ...
2552         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2554         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2556         Moved ...
2557         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2559         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2561         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2562
2563 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2564
2565         * timezone/checktab.awk: Update from tzcode 2014e.
2566         * timezone/private.h: Likewise.
2567         * timezone/tzfile.h: Likewise.
2568         * timezone/zdump.c: Likewise.
2569         * timezone/zic.c: Likewise.
2570
2571         * sysdeps/unix/sysv/linux/kernel-features.h
2572         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2573         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2574         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2575         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2576         Remove conditional code.
2577
2578 2014-06-25  Will Newton  <will.newton@linaro.org>
2579
2580         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2581         (_dl_arm_cap_flags): Add HWCAP2 values.
2582         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2583         (_DL_HWCAP_COUNT): Increase to 37.
2584         (_DL_HWCAP_LAST): New define.
2585         (_DL_HWCAP2_LAST): New define.
2586         (_dl_procinfo): Add support for printing
2587         AT_HWCAP2 entries.
2588         (_dl_string_hwcap): Use _dl_hwcap_string.
2589
2590 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2591
2592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2593
2594 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2595
2596         * README: Do not mention ports directory.
2597
2598         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2599         Remove macro.
2600         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2601         <kernel-features.h>.
2602         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2603         conditional variable definition.
2604         (__futimes): Update comment.
2605         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2606         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2607
2608         [BZ #16560]
2609         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2610         arguments close to 0.
2611         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2612         Likewise.
2613         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2614         Likewise.
2615         * math/auto-libm-test-in: Add more tests of exp10.
2616         * math/auto-libm-test-out: Regenerated.
2617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2618
2619         * sysdeps/unix/sysv/linux/kernel-features.h
2620         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2621         * sysdeps/unix/sysv/linux/readv.c: Do not include
2622         <kernel-features.h>.
2623         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2624         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2625         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2626         unconditional.
2627         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2628         conditional code.
2629         * sysdeps/unix/sysv/linux/writev.c: Do not include
2630         <kernel-features.h>.
2631         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2632         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2633         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2634         unconditional.
2635         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2636         conditional code.
2637
2638 2014-06-25  Will Newton  <will.newton@linaro.org>
2639
2640         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2641         comment changes throughout the file.  Remove checks
2642         for HAVE_*_H definitions that are not required.
2643         (__gen_tempname): Call abort if an unknown kind value is
2644         passed.
2645
2646 2014-06-25  Andreas Schwab  <schwab@suse.de>
2647
2648         [BZ #17086]
2649         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2650         scalbln, scalblnf, scalblnl in libc.
2651
2652 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2653
2654         [BZ #17086]
2655         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2656         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2657         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2658
2659 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2660
2661         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2662         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2663         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2664         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2665         Update #include.
2666         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2667         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2668         Update #include.
2669         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2670         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2671         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2672         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2673         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2674         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2675         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2676         * sysdeps/x86/bits/semaphore.h: ... here.
2677         * sysdeps/x86/nptl/elide.h: Moved ...
2678         * sysdeps/x86/elide.h: ... here.
2679         * sysdeps/x86_64/nptl/Implies: File removed.
2680         * sysdeps/i386/nptl/Implies: File removed.
2681
2682 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2683
2684         [BZ #16539]
2685         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2686         return the argument for normal arguments with exponent below -64.
2687         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2688         Likewise.
2689         * math/auto-libm-test-in: Add another test of expm1.
2690         * math/auto-libm-test-out: Regenerated.
2691
2692         [BZ #16287]
2693         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2694         calling __erfcl for arguments at least 16.
2695         * math/auto-libm-test-in: Add more tests of erf.
2696         * math/auto-libm-test-out: Regenerated.
2697
2698         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2699         individual architectures.
2700         * sysdeps/unix/sysv/linux/configure: Regenerated.
2701         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2702         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2703         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2704         (ldd_rewrite_script): Define variable.
2705         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2707         file.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2709         generated file.
2710         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2711         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2712         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2713         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2714         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2715         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2716         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2717         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2718
2719 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2720
2721         [BZ #17084]
2722         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2723         Rename member __data.d to __data.__elision_data.
2724
2725 2014-06-24  Wilco  <wdijkstr@arm.com>
2726
2727         * NEWS: Add 16918 to fixed bug list.
2728
2729 2014-06-24  Wilco  <wdijkstr@arm.com>
2730
2731         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2732
2733 2014-06-24  Wilco  <wdijkstr@arm.com>
2734
2735         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2736         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2737         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2738         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2739         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2740         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2741         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2742         Use _FPU_MASK_RM.
2743
2744 2014-06-24  Wilco  <wdijkstr@arm.com>
2745
2746         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2747
2748 2014-06-24  Wilco  <wdijkstr@arm.com>
2749
2750         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2751         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2752         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2753         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2754
2755 2014-06-24  Wilco  <wdijkstr@arm.com>
2756
2757         [BZ #16918]
2758         * sysdeps/arm/feupdateenv.c (feupdateenv):
2759         Rewrite to reduce FPSCR accesses and fix return value.
2760
2761 2014-06-24  Wilco  <wdijkstr@arm.com>
2762
2763         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2764         Optimize to avoid unnecessary FPSCR writes.
2765         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2766         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2767         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2768         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2769
2770 2014-06-24  Wilco  <wdijkstr@arm.com>
2771
2772         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2773         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2774         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2775         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2776         Call libc_fetestexcept_vfp.
2777         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2778         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2779         __SOFTFP__ ifdef so that they can be built for softfp.
2780
2781 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2782
2783         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2784         argument type signed char.
2785
2786         * Makerules (check-abi): Dump diff of symlist if the test
2787         fails.
2788
2789 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2790
2791         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2792         using abort.
2793
2794         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2795         Remove unused variable ST.
2796
2797 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2798
2799         [BZ #16354]
2800         [BZ #17061]
2801         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2802         small arguments before calling __expm1.
2803         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2804         small arguments before calling __expm1f.
2805         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2806         small arguments before calling __expm1l.
2807         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2808         Likewise.
2809         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2810         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2811         spurious underflow for some cosh tests.
2812         * math/auto-libm-test-out: Regenerated.
2813         * sysdeps/i386/fpu/libm-test-ulps: Update.
2814
2815         [BZ #17050]
2816         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2817         (__ieee754_y1): Set errno if return value overflows.
2818         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2819         (__ieee754_y1f): Set errno if return value overflows.
2820         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2821         (__ieee754_y1l): Set errno if return value overflows.
2822         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2823         (__ieee754_y1l): Set errno if return value overflows.
2824         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2825         * math/auto-libm-test-out: Regenerated.
2826
2827         * math/gen-auto-libm-tests.c: Document use of
2828         ignore-zero-inf-sign.
2829         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2830         (input_flags): Add ignore-zero-inf-sign.
2831         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2832         * math/gen-libm-test.pl (generate_testfile): Handle
2833         ignore-zero-inf-sign.
2834         * math/auto-libm-test-in: Mark some cpow tests with
2835         ignore-zero-inf-sign and some with xfail-rounding.
2836         * math/auto-libm-test-out: Regenerated.
2837         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2838         * sysdeps/i386/fpu/libm-test-ulps: Update.
2839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2840
2841         [BZ #16315]
2842         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2843         overflowing or underflowing operations take place with sign of
2844         result.
2845         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2846         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2847         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2848         (__ieee754_pow): Recompute overflowing and underflowing results in
2849         original rounding mode.
2850         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2851         (__powl_helper): Allow negative argument X and scale negated value
2852         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2853         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2854         overflowing or underflowing operations take place with sign of
2855         result.
2856         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2857         Include <math.h>.
2858         * math/auto-libm-test-in: Add more tests of pow.
2859         * math/auto-libm-test-out: Regenerated.
2860         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2861         (pow_tonearest_test_data): Remove.
2862         (pow_test_tonearest): Likewise.
2863         (pow_towardzero_test_data): Likewise.
2864         (pow_test_towardzero): Likewise.
2865         (pow_downward_test_data): Likewise.
2866         (pow_test_downward): Likewise.
2867         (pow_upward_test_data): Likewise.
2868         (pow_test_upward): Likewise.
2869         (main): Don't call removed functions.
2870         * sysdeps/i386/fpu/libm-test-ulps: Update.
2871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2872
2873 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2874
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2876         Moved ...
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2879         Moved ...
2880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2882         Moved ...
2883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2885         Moved ...
2886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2888         File removed.
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2890         File removed.
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2892         File removed.
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2894         File removed.
2895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2896         File removed.
2897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2898         File removed.
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2900         File removed.
2901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2902         File removed.
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2904         File removed.
2905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2906         File removed.
2907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2908         File removed.
2909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2910         File removed.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2912         Moved ...
2913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2915         Moved ...
2916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2917         ... here.
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2919         Moved ...
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2922         Moved ...
2923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2925         Moved ...
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2928         Moved ...
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2931         Moved ...
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2934         Moved ...
2935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2937         Moved ...
2938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2941         ... here.
2942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2943         Moved ...
2944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2946         Moved ...
2947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2948         ... here.
2949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2950         Moved ...
2951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2952         ... here.
2953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2954         Moved ...
2955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2956         ... here.
2957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2958         Moved ...
2959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2961         Moved ...
2962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2966         Moved ...
2967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2968         ... here.
2969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2970         Moved ...
2971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2972         ... here.
2973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2974         Moved ...
2975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2977         Moved ...
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2980         Moved ...
2981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2983         Moved ...
2984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2986         Moved ...
2987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2988         ... here.
2989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2990         Moved ...
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2993         Moved ...
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2996         Moved ...
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2999         Moved ...
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3004         Moved ...
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3007         Moved ...
3008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3010         Moved ...
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3012         ... here.
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3014         Moved ...
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3016         ... here.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3018         Moved ...
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3020         ... here.
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3022         Moved ...
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3025         Moved ...
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3028         Moved ...
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3031         Moved ...
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3033         ... here.
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3035         Moved ...
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3037         ... here.
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3039         Moved ...
3040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3041         ... here.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3043         Moved ...
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3046         Moved ...
3047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3048
3049 2014-06-23  Will Newton  <will.newton@linaro.org>
3050             Wilco  <wdijkstr@arm.com>
3051
3052         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3053         implementation.  Include get-rounding-mode.h.
3054         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3055         [!libc_feholdsetround_noex_ctx]: Define
3056         libc_feholdsetround_noex_ctx.
3057         [!libc_feholdsetround_noexf_ctx]: Define
3058         libc_feholdsetround_noexf_ctx.
3059         [!libc_feholdsetround_noexl_ctx]: Define
3060         libc_feholdsetround_noexl_ctx.
3061         (libc_feholdsetround_ctx): New function.
3062         (libc_feresetround_ctx): New function.
3063         (libc_feholdsetround_noex_ctx): New function.
3064         (libc_feresetround_noex_ctx): New function.
3065
3066 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3067
3068         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3069         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3070         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3071         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3072         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3073         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3074
3075         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3076         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3077         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3078         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3079         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3080         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3081         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3082         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3084         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3085         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3086         Moved ...
3087         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3088         ... here.
3089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3090         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3092         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3094         Moved ...
3095         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3096         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3097         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3099         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3100         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3101         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3103         Moved ...
3104         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3106         Moved ...
3107         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3109         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3111         Moved ...
3112         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3114         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3115         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3116         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3117         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3118         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3120         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3124         ... here.
3125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3126         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3130         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3132         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3133         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3136         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3138         Moved ...
3139         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3141         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3143         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3145         Moved ...
3146         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3148         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3149         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3150         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3151
3152         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3153         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3154         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3155         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3156         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3157         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3158         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3159         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3161         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3162         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3163         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3164         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3165         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3166         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3167         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3168         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3169         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3170         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3171         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3172         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3173         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3174         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3175         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3176         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3177         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3178         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3179         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3180
3181 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3182
3183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3184         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3185         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3186         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3187         (IPV6_PMTUDISC_INTERFACE): Likewise.
3188         (IPV6_PMTUDISC_OMIT): Likewise.
3189
3190 2014-06-23  Andreas Schwab  <schwab@suse.de>
3191
3192         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3193         Remove unused errout label.
3194
3195 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3196
3197         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3198         macro: hardware supports Vector Crypto instructions.
3199
3200 2014-06-23  Will Newton  <will.newton@linaro.org>
3201
3202         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3203         rather than __builtin_expect.
3204
3205         * elf/dl-lookup.c (undefined_msg): Remove variable.
3206         (_dl_lookup_symbol_x): Replace undefined_msg with string
3207         literal.
3208
3209         * elf/dl-lookup.c (do_lookup_unique): New function.
3210         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3211         to a separate function.
3212
3213 2014-06-23  Andreas Schwab  <schwab@suse.de>
3214
3215         [BZ #17079]
3216         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3217         before reading the next line.
3218
3219 2014-06-23  Will Newton  <will.newton@linaro.org>
3220
3221         * test-skeleton.c (signal_handler): Use printf and %m
3222         rather than perror.  Use printf rather than fprintf to
3223         stderr.  Use puts rather than fputs to stderr.
3224         (main): Likewise.
3225
3226 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3227
3228         * nscd/nscd.c (thread_info_t): Remove typedef.
3229         (thread_info): Remove variable.
3230
3231 2014-06-21  Allan McRae  <allan@archlinux.org>
3232
3233         * NEWS: Mention CVE-2014-4043.
3234
3235 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3236
3237         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3238         * nptl/smp.h: ... here.
3239
3240         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3241
3242         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3243         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3244         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3245         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3246
3247         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3248         * nptl/stack-aliasing.h: New file.
3249         * sysdeps/i386/i686/stack-aliasing.h: New file.
3250         * sysdeps/i386/i686/nptl/Makefile: File removed.
3251         * sysdeps/x86_64/stack-aliasing.h: New file.
3252         * sysdeps/x86_64/nptl/Makefile
3253         (CFLAGS-pthread_create.c): Variable removed.
3254
3255         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3256         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3257         old file.
3258         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3259         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3260         old file.
3261
3262 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3263
3264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3265         (__ASSUME_SIGFRAME_V2): Remove macro.
3266         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3267         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3268         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3269         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3270         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3271         Declare as function.  Remove conditional macro definitions.
3272         (__default_rt_sa_restorer): Likewise.
3273         (__default_sa_restorer_v1): Remove declaration.
3274         (__default_sa_restorer_v2): Likewise.
3275         (__default_rt_sa_restorer_v1): Likewise.
3276         (__default_rt_sa_restorer_v2): Likewise.
3277         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3278         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3279         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3280
3281 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3282
3283         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3284         (libpthread-routines): Add sysdep.
3285         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3286         * sysdeps/unix/sysv/linux/sparc/Versions
3287         (libpthread: GLIBC_2.3.3): New version set.
3288         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3289         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3290         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3291         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3292         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3294         Moved ...
3295         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3296         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3297         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3298         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3299         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3300         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3301         * sysdeps/sparc/nptl/sem_init.c: ... here.
3302         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3303         * sysdeps/sparc/nptl/sem_post.c: ... here.
3304         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3305         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3306         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3307         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3308         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3309         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3310         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3311         (libpthread-routines): Add cpu_relax.
3312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3313         File removed.
3314         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3315         (librt: GLIBC_2.3.3): New version set.
3316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3317         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3318         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3319         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3322         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3324         Moved ...
3325         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3327         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3329         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3331         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3333         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3335         Moved ...
3336         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3337         Update #include.
3338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3339         Moved ...
3340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3341         Update #include.
3342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3343         Moved ...
3344         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3345         Update #include.
3346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3347         Moved ...
3348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3349         Update #include.
3350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3351         Moved ...
3352         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3353         Update #include.
3354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3355         Moved ...
3356         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3357         Update #include.
3358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3359         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3365         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3367         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3369         Moved ...
3370         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3372         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3374         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3375
3376 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3377
3378         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3379         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3380         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3381         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3382         * nscd/nscd.c: Likewise.
3383         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3384         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3385         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3386         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3387
3388         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3389         <kernel-features.h>.
3390         (init_mq_netlink): Remove conditional have_sock_cloexec
3391         definitions.  Remove code conditional on have_sock_cloexec < 0.
3392         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3393         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3394         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3395         <kernel-features.h>.
3396         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3397         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3398
3399 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3400
3401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3402         Add tests for memset_chk and memset.
3403
3404         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3405         with AVX2_Usable.
3406
3407 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3408
3409         [BZ #16046]
3410         * elf/tst-dl-iter-static.c: New file.
3411         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3412
3413         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3414         error.
3415
3416 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3417
3418         * sysdeps/unix/sysv/linux/kernel-features.h
3419         (__ASSUME_F_GETOWN_EX): Remove macro.
3420         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3421         <kernel-features.h>.
3422         (miss_F_GETOWN_EX): Remove variable or macro.
3423         (do_fcntl): Do not check miss_F_GETOWN_EX.
3424         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3425
3426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3427         Remove macro.
3428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3429         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3430         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3431
3432         * sysdeps/unix/sysv/linux/kernel-features.h
3433         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3434         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3435         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3436         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3437
3438 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3439
3440         [BZ #17075]
3441         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3442         Fix calculation of the symbol's value.
3443         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3444         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3445         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3446         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3447         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3448         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3449         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3450         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3451         (modules-names): Add `tst-armtlsdescmod',
3452         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3453         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3454         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3455         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3456         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3457         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3458         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3459         ($(objpfx)tst-armtlsdescloc): New dependency.
3460         ($(objpfx)tst-armtlsdescextnow): Likewise.
3461         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3462         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3463         TLS scheme support.
3464         * sysdeps/arm/configure: Regenerate.
3465
3466 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3467
3468         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3469         (__atfct_seterrno_2): Likewise.
3470         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3471         <kernel-features.h>.
3472         (__ASSUME_ATFCTS): Do not undefine and redefine.
3473         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3474         (__have_atfcts): Remove conditional definition.
3475         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3476         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3477         unreachable if [__ASSUME_ATFCTS].
3478         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3479         not undefine and redefine.
3480         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3481         <kernel-features.h>.
3482         (faccessat) [__NR_faccessat]: Make code unconditional.
3483         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3484         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3485         <kernel-features.h>.
3486         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3487         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3488         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3489         <kernel-features.h>.
3490         (fchownat) [__NR_fchownat]: Make code unconditional.
3491         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3492         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3493         <kernel-features.h>.
3494         (futimesat) [__NR_futimesat]: Make code unconditional.
3495         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3496         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3497         <kernel-features.h>.
3498         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3499         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3500         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3501         <kernel-features.h>.
3502         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3503         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3504         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3505         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3506         <kernel-features.h>.
3507         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3508         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3509         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3510         <kernel-features.h>.
3511         (linkat) [__NR_linkat]: Make code unconditional.
3512         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3513         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3514         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3515         <kernel-features.h>.
3516         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3517         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3518         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3519         <kernel-features.h>.
3520         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3521         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3522         * sysdeps/unix/sysv/linux/openat.c: Do not include
3523         <kernel-features.h>.
3524         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3525         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3526         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3527         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3529         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3530         <kernel-features.h>.
3531         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3532         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3533         result of INLINE_SYSCALL directly, not via int variable.
3534         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3535         <kernel-features.h>.
3536         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3537         (renameat) [__NR_renameat]: Make code unconditional.
3538         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3539         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3540         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3541         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3542         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3543         (__ASSUME_ATFCTS): Do not undefine and redefine.
3544         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3545         <kernel-features.h>.
3546         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3547         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3548         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3549         <kernel-features.h>.
3550         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3551         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3552         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3553         (__ASSUME_ATFCTS): Do not undefine and redefine.
3554         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3555         <kernel-features.h>.
3556         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3557         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3558         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3559         <kernel-features.h>.
3560         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3561         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3562
3563 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3564
3565         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3566
3567 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3568
3569         [BZ #17069]
3570         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3571         constructed tree before returning error.
3572         * posix/bug-regexp36.c: Expand test case.
3573
3574 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3575
3576         [BZ #6803]
3577         * math/libm-test.inc (scalbln_test_date):
3578         Add errno expectations.
3579         * math/w_scalblnf.c: New File.
3580         Add wrapper which checks for setting errno to ERANGE.
3581         Add weak_alias for corresponding scalbln function.
3582         * math/w_scalbln.c: Likewise.
3583         * math/w_scalblnl.c: Likewise.
3584         * math/Makefile (libm-calls): Add w_scalbln.
3585         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3586         Remove weak_alias for corresponding scalbln function.
3587         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3588         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3590         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3591         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3592         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3593         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3594         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3595         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3596         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3597         Remove long_double_symbol for scalblnl function in libm, libc.
3598         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3599         Add wrapper which checks for setting errno to ERANGE.
3600         Add long_double_symbol for scalblnl function in libm, libc.
3601         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3602         Remove long_double_symbol for scalblnl in libm.
3603         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3604         Add wrapper which checks for setting errno to ERANGE.
3605         Add long_double_symbol for scalblnl function in libm.
3606         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3607         Do not use wrapper because of own implementation.
3608
3609 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3610
3611         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3612         3 bytes for __pad1 for x32.
3613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3614
3615 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3616             H.J. Lu  <hongjiu.lu@intel.com>
3617
3618         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3619         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3620         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3621         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3622         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3623
3624 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3625
3626         [BZ #17069]
3627         * posix/regcomp.c (parse_expression): Deallocate partially
3628         constructed tree before returning error.
3629         * posix/Makefile.c (tests): Add bug-regex36.
3630         (generated): Add bug-regex36.mtrace.
3631         (tests-special): Add $(objpfx)bug-regex36-mem.out
3632         (bug-regex36-ENV): New variable.
3633         ($(objpfx)bug-regex36-mem.out): New rule.
3634         * posix/bug-regex36.c: New file.
3635
3636 2014-06-19  Will Newton  <will.newton@linaro.org>
3637
3638         * malloc/malloc.c (systrim): If extra is zero then return
3639         early.
3640
3641 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3642
3643         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3644
3645 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3646
3647         * sysdeps/aarch64/strchr.S: New file.
3648
3649 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3650
3651         [BZ #17022]
3652         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3653         from arguments -2 or below.
3654         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3655         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3656
3657 2014-06-18  Andreas Schwab  <schwab@suse.de>
3658
3659         [BZ #17062]
3660         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3661         of a bracket expr not to run off the end of the string.
3662         * posix/Makefile (tests): Add tst-fnmatch3.
3663         * posix/tst-fnmatch3.c: New file.
3664
3665 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3666
3667         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3668         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3669         [$(cross-compiling) = no]: Likewise.
3670         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3671         [$(cross-compiling) = no]: Likewise.
3672
3673 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3674
3675         [BZ #17031]
3676         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3677         double, adjusted for any remainder from the high double.
3678         * math/libm-test.inc (nearbyint): Add tests.
3679         (rint): Likewise.
3680
3681 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3682
3683         * nptl/sysdeps/powerpc/Makefile: Moved ...
3684         * sysdeps/powerpc/nptl/Makefile: ... here.
3685         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3686         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3687         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3688         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3689         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3690         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3691         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3692         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3693         * nptl/sysdeps/powerpc/tls.h: Moved ...
3694         * sysdeps/powerpc/nptl/tls.h: ... here.
3695
3696 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3697
3698         [BZ #16681]
3699         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3700         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3701         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3702         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3703         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3704         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3705         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3706         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3707         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3708
3709 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3710
3711         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3712
3713 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3714
3715         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3716         defined operator.
3717
3718         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3719         $TIMEOUTFACTOR.
3720
3721 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3722
3723         [BZ #17058]
3724         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3725         non-executed part of the test.
3726
3727 2014-06-16  Andreas Schwab  <schwab@suse.de>
3728
3729         * string/bits/string2.h (strdup, strndup): Update feature guard.
3730
3731 2014-06-14  David S. Miller  <davem@davemloft.net>
3732
3733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3734
3735 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3736
3737         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3738         that was previously under [RESET_PID].
3739         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3740
3741         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3742         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3743         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3744         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3745         (__libc_vfork): New strong alias.
3746         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3747
3748 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3749
3750         * sysdeps/generic/elide.h: New file.
3751
3752 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3753
3754         * Makefile (installed-headers): Adjust path of pthread.h header.
3755
3756 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3757
3758         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3759         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3760         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3761         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3762
3763         * nptl/sysdeps/s390/Makefile: Moved ...
3764         * sysdeps/s390/nptl/Makefile: ... here.
3765         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3766         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3767         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3768         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3769         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3770         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3771         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3772         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3773         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3774         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3775         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3776         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3777         * nptl/sysdeps/s390/tls.h: Moved ...
3778         * sysdeps/s390/nptl/tls.h: ... here.
3779
3780         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3781         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3782
3783 2014-06-13  David S. Miller  <davem@davemloft.net>
3784
3785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3788         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3792         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3793         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3794         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3795         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3796         Remove RESET_PID cpp guards.
3797         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3798         Remove RESET_PID cpp guards.
3799         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3800
3801 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3802
3803         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3804         __sp to uintptr_t.
3805
3806 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3807
3808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3810         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3812         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3813         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3814         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3815         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3816         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3817         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3818         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3823         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3825         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3826         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3827         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3828
3829         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3830         (pthread_rwlock_rdlock): Add elision.
3831         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3832         (pthread_rwlock_wrlock): Add elision.
3833         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3834         (pthread_rwlock_trywrlock): Add elision.
3835         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3836         (pthread_rwlock_tryrdlock): Add elision.
3837         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3838         (pthread_rwlock_tryrdlock): Add elision unlock.
3839         * nptl/sysdeps/pthread/pthread.h:
3840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3841         (PTHREAD_RWLOCK_INITIALIZER,
3842         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3843         Handle new elision field.
3844         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3845         * sysdeps/arm/nptl/bits/pthreadtypes.h
3846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3847         * sysdeps/sh/nptl/bits/pthreadtypes.h
3848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3849         * sysdeps/tile/nptl/bits/pthreadtypes.h
3850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3851         * sysdeps/a/nptl/bits/pthreadtypes.h
3852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3853         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3855         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3857         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3859         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3861         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3863         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3865         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3867         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3869         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3870         (elision_init): Set try_xbegin to zero when no RTM.
3871         * sysdeps/x86/nptl/bits/pthreadtypes.h
3872         (pthread_rwlock_t): Change __pad1 to __rwelision.
3873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3874
3875 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3876
3877         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3878         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3879         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3880         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3881
3882 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3883
3884         [BZ #16996]
3885         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3886         that the cached result has been set before returning it.
3887
3888 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3889
3890         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3891         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3892         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3893         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3894         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3895         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3896
3897         * nptl/sysdeps/sparc/Makefile: Moved ...
3898         * sysdeps/sparc/nptl/Makefile: ... here.
3899         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3900         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3901         * nptl/sysdeps/sparc/tls.h: Moved ...
3902         * sysdeps/sparc/nptl/tls.h: ... here.
3903         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3904         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3905         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3906         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3907         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3908         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3909         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3910         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3911         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3912         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3913         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3914         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3915         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3916         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3917         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3918         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3919         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3920         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3921         Update #include.
3922         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3924         Update #include.
3925         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3926         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3927         Update #include.
3928         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3929         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3930         Update #include.
3931
3932         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3933
3934         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3935         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3936
3937         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3938         (struct list_links): Type removed.
3939         (struct thread_node, struct timer_node): Replace struct list_links
3940         with struct list_head.
3941         (list_unlink_ip): Likewise.
3942         * sysdeps/pthread/timer_routines.c
3943         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3944         (list_append, list_insbefore): Likewise.
3945         (list_init): Function removed.
3946         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3947         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3948         * sysdeps/pthread/Makefile: ... here, new file.
3949
3950         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3951         * sysdeps/nptl/Implies: ... here.
3952         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3953         * nptl/sysdeps/pthread/list.h: Moved ...
3954         * include/list.h: ... here.
3955         * nptl/sysdeps/pthread/createthread.c: Moved ...
3956         * nptl/createthread.c: ... here.
3957         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3958         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3959         * nptl/pt-longjmp.c: ... here.
3960         * nptl/sysdeps/pthread/Makefile: Moved ...
3961         * sysdeps/nptl/Makefile: ... here.
3962         * nptl/sysdeps/pthread/Subdirs: Moved ...
3963         * sysdeps/nptl/Subdirs: ... here.
3964         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3965         * sysdeps/nptl/aio_misc.h: ... here.
3966         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3967         * sysdeps/nptl/bits/libc-lock.h: ... here.
3968         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3969         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3970         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3971         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3972         * nptl/sysdeps/pthread/configure: Moved ...
3973         * sysdeps/nptl/configure: ... here.
3974         * nptl/sysdeps/pthread/configure.ac: Moved ...
3975         * sysdeps/nptl/configure.ac: ... here.
3976         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3977         * sysdeps/nptl/gai_misc.h: ... here.
3978         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3979         * sysdeps/nptl/librt-cancellation.c: ... here.
3980         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3981         * sysdeps/nptl/malloc-machine.h: ... here.
3982         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3983         * sysdeps/nptl/pthread-functions.h: ... here.
3984         * nptl/sysdeps/pthread/pthread.h: Moved ...
3985         * sysdeps/nptl/pthread.h: ... here.
3986         * nptl/sysdeps/pthread/setxid.h: Moved ...
3987         * sysdeps/nptl/setxid.h: ... here.
3988         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3989         * sysdeps/nptl/sigfillset.c: ... here.
3990         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3991         * sysdeps/nptl/tcb-offsets.h: ... here.
3992         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3993         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3994         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3995         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3996         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3997         * sysdeps/pthread/allocalim.h: ... here.
3998         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3999         * sysdeps/pthread/bits/sigthread.h: ... here.
4000         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4001         * sysdeps/pthread/flockfile.c: ... here.
4002         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4003         * sysdeps/pthread/ftrylockfile.c: ... here.
4004         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4005         * sysdeps/pthread/funlockfile.c: ... here.
4006         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4007         * sysdeps/pthread/posix-timer.h: ... here.
4008         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4009         * sysdeps/pthread/timer_create.c: ... here.
4010         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4011         * sysdeps/pthread/timer_delete.c: ... here.
4012         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4013         * sysdeps/pthread/timer_getoverr.c: ... here.
4014         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4015         * sysdeps/pthread/timer_gettime.c: ... here.
4016         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4017         * sysdeps/pthread/timer_routines.c: ... here.
4018         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4019         * sysdeps/pthread/timer_settime.c: ... here.
4020         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4021         * sysdeps/pthread/tst-timer.c: ... here.
4022         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4023         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4024
4025         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4026         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4027
4028         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4029         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4030         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4031         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4032         Update #include target.
4033         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4034         * sysdeps/i386/i686/nptl/Makefile: ... here.
4035         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4036         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4037         Update #include target.
4038         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4039         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4040         * nptl/sysdeps/i386/Makefile: Moved ...
4041         * sysdeps/i386/nptl/Makefile: ... here.
4042         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4043         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4044         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4045         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4046         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4047         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4048         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4049         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4050         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4051         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4052         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4053         * nptl/sysdeps/i386/tls.h: Moved ...
4054         * sysdeps/i386/nptl/tls.h: ... here.
4055
4056         * sysdeps/sh/Makefile [$(subdir) = csu]
4057         (gen-as-const-headers): Add tcb-offsets.sym.
4058         * nptl/sysdeps/sh/Makefile: File removed.
4059         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4060         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4061         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4062         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4063         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4064         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4065         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4066         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4067         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4068         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4069         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4070         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4071         * nptl/sysdeps/sh/tls.h: Moved ...
4072         * sysdeps/sh/nptl/tls.h: ... here.
4073         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4074         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4075         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4076         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4077         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4078         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4079         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4080         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4081         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4082         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4084         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4085         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4086         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4088         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4090         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4091         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4092         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4094         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4098         Moved ...
4099         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4101         Moved ...
4102         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4106         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4107         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4108         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4109         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4110         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4111         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4112         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4113         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4114         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4115         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4116         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4117         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4118         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4119         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4120         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4121
4122 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4123
4124         * posix/spawn_faction_addopen.c: Include string.h.
4125
4126 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4127
4128         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4129         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4130         * nptl/sysdeps/x86_64/Makefile: Moved ...
4131         * sysdeps/x86_64/nptl/Makefile: ... here.
4132         * nptl/sysdeps/x86_64/configure: Moved ...
4133         * sysdeps/x86_64/nptl/configure: ... here.
4134         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4135         * sysdeps/x86_64/nptl/configure.ac: ... here.
4136         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4137         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4138         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4139         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4140         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4141         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4142         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4143         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4144         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4145         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4146         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4147         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4148         * nptl/sysdeps/x86_64/tls.h: Moved ...
4149         * sysdeps/x86_64/nptl/tls.h: ... here.
4150         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4151         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4152         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4153         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4154
4155         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4156
4157 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4158
4159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4160
4161 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4162
4163         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4164         type.
4165         [POSIX] (off_t): Likewise.
4166         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4167         [POSIX] (S_ISBLK): Require macro.
4168         [POSIX] (S_ISCHR): Likewise.
4169         [POSIX] (S_ISDIR): Likewise.
4170         [POSIX] (S_ISFIFO): Likewise.
4171         [POSIX] (S_ISREG): Likewise.
4172         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4173         optional-macro.
4174         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4175         type.
4176         [POSIX] (time_t): Likewise.
4177         [POSIX] (timer_t): Likewise.
4178
4179 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4180
4181         [BZ #17048]
4182         * posix/spawn_int.h (struct __spawn_action): Make the path string
4183         non-const to support deallocation.
4184         * posix/spawn_faction_addopen.c
4185         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4186         * posix/spawn_faction_destroy.c
4187         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4188         path in all spawn_do_open actions.
4189         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4190         posix_spawn_file_actions_addopen.
4191
4192 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4193
4194         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4195         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4196         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4197         conditional code always true.
4198         (__libc_vfork): New alias.
4199
4200 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4201
4202         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4203         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4204
4205         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4206
4207         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4208         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4209
4210         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4211         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4212
4213         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4214         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4215
4216 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4217
4218         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4219         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4220         multiarch strcmp for PPC64.
4221         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4222         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4224         multiarch optimizations.
4225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4226         (__libc_ifunc_impl_list): Likewise.
4227
4228 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4229
4230         * benchtests/scripts/validate_benchout.py: New script.
4231         * benchtests/Makefile (bench-func): Call it.
4232         * benchtests/scripts/benchout.schema.json: New file.
4233
4234 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4235
4236         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4237         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4238         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4239         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4240         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4241         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4242         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4243         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4244         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4245         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4246         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4247         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4248         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4249         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4250         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4251         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4253         Moved ...
4254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4255         ... here.
4256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4257         Moved ...
4258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4260         Moved ...
4261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4262         ... here.
4263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4264         Moved ...
4265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4266         ... here.
4267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4268         Moved ...
4269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4271         Moved ...
4272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4273         ... here.
4274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4275         Moved ...
4276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4277         ... here.
4278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4279         Moved ...
4280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4282         Moved ...
4283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4284         ... here.
4285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4286         Moved ...
4287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4288         ... here.
4289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4290         Moved ...
4291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4292         ... here.
4293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4294         Moved ...
4295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4297         Moved ...
4298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4299         ... here.
4300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4301         Moved ...
4302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4303         ... here.
4304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4305         Moved ...
4306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4307         ... here.
4308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4309         Moved ...
4310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4312         Moved ...
4313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4314         ... here.
4315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4316         Moved ...
4317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4318         ... here.
4319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4320         Moved ...
4321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4323         Moved ...
4324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4325         ... here.
4326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4327         Moved ...
4328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4330         Moved ...
4331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4333         Moved ...
4334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4335         ... here.
4336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4337         Moved ...
4338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4339         ... here.
4340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4341         Moved ...
4342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4343         ... here.
4344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4345         Moved ...
4346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4348         Moved ...
4349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4350         ... here.
4351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4352         Moved ...
4353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4354         ... here.
4355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4356         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4358         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4360         Moved ...
4361         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4362         ... here.
4363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4364         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4366         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4368         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4369         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4370         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4372         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4374         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4376         Moved ...
4377         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4379         Moved ...
4380         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4382         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4384         Moved ...
4385         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4387         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4388         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4389         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4390         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4391         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4392
4393 2014-06-10  Wilco  <wdijkstr@arm.com>
4394
4395         * math/test-fenv-return.c: New file.
4396         * math/Makefile: Add new test test-fenv-return.
4397
4398 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4399
4400         [BZ #17042]
4401         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4402         when x - 1 is zero.
4403         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4404         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4405         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4406         0.0L for an argument of 1.0L.
4407         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4408         Likewise.
4409         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4410         value when x - 1 is zero.
4411         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4412         * sysdeps/i386/fpu/libm-test-ulps: Update.
4413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4414
4415 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4416
4417         [BZ #15119]
4418         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4419
4420 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4421
4422         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4423         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4424
4425 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4426
4427         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4428         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4429
4430         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4431         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4432
4433         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4434         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4435
4436         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4437         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4438
4439         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4440         if not already defined.
4441         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4442         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4443         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4444         (TLS_INIT_TP): Use it.
4445         (TLS_DEFINE_INIT_TP): New macro.
4446         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4447
4448 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4449
4450         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4451         constant.
4452         [POSIX] (IXANY): Likewise.
4453         [POSIX] (OLCUC): Likewise.
4454         [POSIX || POSIX2008] (CBAUD): Do not allow.
4455         [POSIX || POSIX2008] (DEFECHO): Likewise.
4456         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4457         [POSIX || POSIX2008] (ECHOKE): Likewise.
4458         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4459         [POSIX || POSIX2008] (EXTA): Likewise.
4460         [POSIX || POSIX2008] (EXTB): Likewise.
4461         [POSIX || POSIX2008] (FLUSHO): Likewise.
4462         [POSIX || POSIX2008] (LOBLK): Likewise.
4463         [POSIX || POSIX2008] (PENDIN): Likewise.
4464         [POSIX || POSIX2008] (SWTCH): Likewise.
4465         [POSIX || POSIX2008] (VDISCARD): Likewise.
4466         [POSIX || POSIX2008] (VDSUSP): Likewise.
4467         [POSIX || POSIX2008] (VLNEXT): Likewise.
4468         [POSIX || POSIX2008] (VREPRINT): Likewise.
4469         [POSIX || POSIX2008] (VSTATUS): Likewise.
4470         [POSIX || POSIX2008] (VWERASE): Likewise.
4471         (B*): Change to B[0123456789]*.
4472         * conform/data/time.h-data [POSIX || UNIX98]
4473         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4474         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4475         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4476         [POSIX] (tm_*): Do not allow.
4477
4478 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4479
4480         * Makefile (install): Don't set LANGUAGE.
4481         * Makefile.in (install): Likewise.
4482         * assert/Makefile (test-assert-ENV): Remove variable.
4483         (test-assert-perr-ENV): Likewise.
4484         * elf/Makefile (neededtest4-ENV): Likewise.
4485         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4486         [$(cross-compiling) = no]: Don't set LANGUAGE.
4487         * io/ftwtest-sh (LANG): Remove variable.
4488         * libio/Makefile (tst-widetext-ENV): Likewise.
4489         * manual/install.texi (Running make install): Don't refer to
4490         environment settings for make install.
4491         * INSTALL: Regenerated.
4492         * nptl/tst-tls6.sh: Don't set LANG.
4493         * posix/globtest.sh (LANG): Remove variable.
4494         * string/Makefile (tester-ENV): Likewise.
4495         (inl-tester-ENV): Likewise.
4496         (noinl-tester-ENV): Likewise.
4497         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4498         [$(cross-compiling) = no]: Don't set LANGUAGE.
4499         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4500         without explicit environment settings.
4501
4502 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4503
4504         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4505         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4506         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4507         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4508
4509 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4510
4511         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4512         other files in the crypt directory.
4513         * crypt/crypt.c: Remove duplicate includes.
4514         * crypt/crypt-entry.c: Likewise.
4515         * crypt/crypt_util.c: Likewise.
4516
4517 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4518
4519         * Makeconfig (run-program-env): New variable.
4520         (run-program-prefix-before-env): Likewise.
4521         (run-program-prefix-after-env): Likewise.
4522         (run-program-prefix): Define in terms of new variables.
4523         (built-program-cmd-before-env): New variable.
4524         (built-program-cmd-after-env): Likewise.
4525         (built-program-cmd): Define in terms of new variables.
4526         (test-program-prefix-before-env): New variable.
4527         (test-program-prefix-after-env): Likewise.
4528         (test-program-prefix): Define in terms of new variables.
4529         (test-program-cmd-before-env): New variable.
4530         (test-program-cmd-after-env): Likewise.
4531         (test-program-cmd): Define in terms of new variables.
4532         * Rules (make-test-out): Use $(run-program-env).
4533         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4534         (help): Do not mention environment variables.  Mention
4535         --timeoutfactor option.
4536         (timeoutfactor): New variable.
4537         (blacklist_exports): Remove function.
4538         (exports): Remove variable.
4539         (command): Do not include ${exports}.
4540         * manual/install.texi (Configuring and compiling): Do not mention
4541         test wrappers preserving environment variables.  Mention that last
4542         assignment to a variable must take precedence.
4543         * INSTALL: Regenerated.
4544         * benchtests/Makefile (run-bench): Use $(run-program-env).
4545         * catgets/Makefile ($(objpfx)test1.cat): Use
4546         $(built-program-cmd-before-env), $(run-program-env) and
4547         $(built-program-cmd-after-env).
4548         ($(objpfx)test2.cat): Do not specify environment variables
4549         explicitly.
4550         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4551         $(run-program-env) and $(built-program-cmd-after-env).
4552         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4553         $(run-program-env) and $(test-program-cmd-after-env).
4554         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4555         explicitly.
4556         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4557         run_program_env and test_program_cmd_after_env arguments.
4558         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4559         * elf/tst-pathopt.sh: Use run_program_env argument.
4560         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4561         $(test-wrapper-env) and $(run-program-env).
4562         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4563         run_program_env arguments.
4564         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4565         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4566         $(test-program-prefix-before-env), $(run-program-env) and
4567         $(test-program-prefix-after-env).
4568         ($(objpfx)tst-gettext2.out): Likewise.
4569         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4570         run_program_env and test_program_prefix_after_env arguments.
4571         * intl/tst-gettext2.sh: Likewise.
4572         * intl/tst-gettext4.sh: Do not set environment variables
4573         explicitly.
4574         * intl/tst-gettext6.sh: Likewise.
4575         * intl/tst-translit.sh: Likewise.
4576         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4577         $(test-program-prefix-before-env), $(run-program-env) and
4578         $(test-program-prefix-after-env).
4579         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4580         run_program_env and test_program_prefix_after_env arguments.
4581         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4582         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4583         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4584         explicitly with each use of ${test_wrapper_env}.
4585         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4586         $(test-program-prefix-before-env), $(run-program-env) and
4587         $(test-program-prefix-after-env).
4588         * posix/tst-getconf.sh: Do not set environment variables
4589         explicitly.
4590         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4591         run_program_env and test_program_prefix_after_env arguments.
4592         * stdio-common/tst-printf.sh: Do not set environment variables
4593         explicitly.
4594         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4595         $(test-program-prefix-before-env), $(run-program-env) and
4596         $(test-program-prefix-after-env).
4597         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4598         run_program_env and test_program_prefix_after_env arguments.
4599         Split $test calls into $test_pre and $test.
4600         * timezone/Makefile (build-testdata): Use
4601         $(built-program-cmd-before-env), $(run-program-env) and
4602         $(built-program-cmd-after-env).
4603
4604 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4605
4606         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4607         strlen for non SHARED builds.
4608
4609 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4610
4611         * nptl/allocatestack.c (check_list): Inlined function...
4612         (__reclaim_stacks): ... here.
4613
4614 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4615
4616         [BZ #15698]
4617         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4618         memory overrun.
4619
4620 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4621
4622         * Rules (make-test-out): Include
4623         LOCPATH=$(common-objpfx)localedata in default environment.
4624         * debug/Makefile (tst-chk1-ENV): Remove variable.
4625         (tst-chk2-ENV): Likewise.
4626         (tst-chk3-ENV): Likewise.
4627         (tst-chk4-ENV): Likewise.
4628         (tst-chk5-ENV): Likewise.
4629         (tst-chk6-ENV): Likewise.
4630         (tst-lfschk1-ENV): Likewise.
4631         (tst-lfschk2-ENV): Likewise.
4632         (tst-lfschk3-ENV): Likewise.
4633         (tst-lfschk4-ENV): Likewise.
4634         (tst-lfschk5-ENV): Likewise.
4635         (tst-lfschk6-ENV): Likewise.
4636         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4637         (tst-iconv7-ENV): Likewise.
4638         * intl/Makefile (LOCPATH-ENV): Likewise.
4639         (tst-codeset-ENV): Likewise.
4640         (tst-gettext3-ENV): Likewise.
4641         (tst-gettext5-ENV): Likewise.
4642         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4643         (tst-fopenloc-ENV): Likewise.
4644         (tst-fgetws-ENV): Remove variable.
4645         (tst-ungetwc1-ENV): Likewise.
4646         (tst-ungetwc2-ENV): Likewise.
4647         (bug-ungetwc2-ENV): Likewise.
4648         (tst-swscanf-ENV): Likewise.
4649         (bug-ftell-ENV): Likewise.
4650         (tst-fgetwc-ENV): Likewise.
4651         (tst-fseek-ENV): Likewise.
4652         (tst-ftell-partial-wide-ENV): Likewise.
4653         (tst-ftell-active-handler-ENV): Likewise.
4654         (tst-ftell-append-ENV): Likewise.
4655         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4656         (tst-regexloc-ENV): Likewise.
4657         (bug-regex1-ENV): Likewise.
4658         (tst-regex-ENV): Likewise.
4659         (tst-regex2-ENV): Likewise.
4660         (bug-regex5-ENV): Likewise.
4661         (bug-regex6-ENV): Likewise.
4662         (bug-regex17-ENV): Likewise.
4663         (bug-regex18-ENV): Likewise.
4664         (bug-regex19-ENV): Likewise.
4665         (bug-regex20-ENV): Likewise.
4666         (bug-regex22-ENV): Likewise.
4667         (bug-regex23-ENV): Likewise.
4668         (bug-regex25-ENV): Likewise.
4669         (bug-regex26-ENV): Likewise.
4670         (bug-regex30-ENV): Likewise.
4671         (bug-regex32-ENV): Likewise.
4672         (bug-regex33-ENV): Likewise.
4673         (bug-regex34-ENV): Likewise.
4674         (bug-regex35-ENV): Likewise.
4675         (tst-rxspencer-ENV): Likewise.
4676         (tst-rxspencer-no-utf8-ENV): Likewise.
4677         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4678         (tst-sscanf-ENV): Likewise.
4679         (tst-swprintf-ENV): Likewise.
4680         (tst-swscanf-ENV): Likewise.
4681         (test-vfprintf-ENV): Likewise.
4682         (scanf13-ENV): Likewise.
4683         (bug14-ENV): Likewise.
4684         (tst-grouping-ENV): Likewise.
4685         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4686         (tst-strtod3-ENV): Likewise.
4687         (tst-strtod4-ENV): Likewise.
4688         (tst-strtod5-ENV): Likewise.
4689         (testmb2-ENV): Likewise./
4690         * string/Makefile (tst-strxfrm-ENV): Likewise.
4691         (tst-strxfrm2-ENV): Likewise.
4692         (bug-strcoll1-ENV): Likewise.
4693         (test-strcasecmp-ENV): Likewise.
4694         (test-strncasecmp-ENV): Likewise.
4695         * time/Makefile (tst-strptime-ENV): Likewise.
4696         (tst-ftime_l-ENV): Likewise.
4697         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4698         (tst-mbrtowc-ENV): Likewise.
4699         (tst-wcrtomb-ENV): Likewise.
4700         (tst-mbrtowc2-ENV): Likewise.
4701         (tst-c16c32-1-ENV): Likewise.
4702         (tst-mbsnrtowcs-ENV): Likewise.
4703
4704 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4705
4706         * manual/resource.texi (How to get information about the memory
4707         subsystem?): Fix typo.
4708         Reported by Peon de la Parra Ivan <peon@keba.com>
4709
4710 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4711
4712         [BZ #16882]
4713         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4714         (pthread_spin_lock): Branch out of spin loop to proper location.
4715         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4716         (pthread_spin_lock): Likewise.
4717
4718         * nptl/tst-spin4.c: New test.
4719         * nptl/Makefile (tests): Add tst-spin4.
4720
4721 2014-06-03  Andreas Schwab  <schwab@suse.de>
4722
4723         [BZ #15946]
4724         * resolv/res_send.c (send_dg): Reload file descriptor after
4725         calling reopen.
4726
4727 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4728
4729         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4730
4731 2014-06-03  Richard Henderson  <rth@redhat.com>
4732
4733         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4734         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4735         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4736         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4737         in the SAVE_PID block.
4738         (__libc_vfork): New alias.
4739         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4740
4741         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4742         child in registers, not on the stack.  Remove RESET_PID conditionals.
4743         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4744
4745 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4746
4747         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4748
4749 2014-06-03  Wilco  <wdijkstr@arm.com>
4750
4751         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4752         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4753         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4754         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4755         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4756         Likewise.
4757
4758 2014-06-03  Wilco  <wdijkstr@arm.com>
4759
4760         * sysdeps/aarch64/fpu/math_private.h
4761         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4762         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4763         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4764         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4765         Fix declarations.
4766
4767 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4768
4769         * crypt/crypt-private.h: Include ufc-crypt.h.
4770         (__b64_from_24bit): Declare extern.
4771         * crypt/crypt_util.c(__b64_from_24bit): New function.
4772         (b64t): New static const variable.
4773         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4774         (b64t): Remove variable.
4775         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4776         * crypt/sha256-crypt.c: Include crypt-private.h.
4777         (b64t): Remove variable.
4778         (__sha256_crypt_r): Remove b64_from_24bit and replace
4779         with __b64_from_24bit.
4780         * crypt/sha512-crypt.c: Likewise.
4781
4782 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4783
4784         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4785         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4786         Label the code __libc_vfork rather than __vfork.
4787         [!NOT_IN_libc] (vfork): Define as weak alias.
4788         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4789         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4790         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4791
4792 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4793
4794         * malloc/malloc.c (malloc_info): Fix format specifier for
4795         n_mmaps.
4796
4797 2014-06-02  Wilco  <wdijkstr@arm.com>
4798
4799         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4800         FPCR write.
4801
4802 2014-06-02  Wilco  <wdijkstr@arm.com>
4803
4804         [BZ #17009]
4805         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4806         Rewrite to reduce FPCR/FPSR accesses.
4807
4808 2014-06-01  David S. Miller  <davem@davemloft.net>
4809
4810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4811
4812 2014-05-31  David S. Miller  <davem@davemloft.net>
4813
4814         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4815         to occur in round to nearest mode when |x| >= 2.0
4816
4817 2014-05-30  Richard Henderson  <rth@twiddle.net>
4818
4819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4820         (PSEUDO_RET_NOERRNO): Remove.
4821         (ret): Don't redefine.
4822         (ret_NOERRNO): Define in terms of ret.
4823         (ret_ERRVAL): Likewise.
4824
4825         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4826         use of PSEUDO_RET; perform the error check directly.
4827
4828 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4829
4830         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4831         with __int128_t.
4832
4833 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4834
4835         * malloc/malloc (malloc_info): Fix formatting.
4836
4837 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4838             Roland McGrath  <roland@hack.frob.com>
4839
4840         * malloc/malloc (malloc_info): Also print mmapped statistics.
4841
4842 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4843
4844         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4845         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4846
4847 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4848
4849         * malloc/malloc.c (malloc_info): Inline mi_arena.
4850
4851 2014-05-29  Richard Henderson  <rth@twiddle.net>
4852
4853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4854         Remove comma before expanding ASM_ARGS_##nr.
4855         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4856         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4857         of ASM_ARGS_##nr.
4858         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4859         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4860         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4861         (ASM_ARGS_1): Add leading comma.
4862
4863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4864         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4865         to __errno_location.
4866         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4867         Remove the expected plt for __errno_location.
4868
4869         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4870         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4871         call to __read_tp.
4872
4873         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4874         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4875         it and break it down.
4876         (DOCARGS_0, DOCARGS_1): Do nothing.
4877         (DOCARGS_2): Update to store into the new stack frame.
4878         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4879         (UNDOCARGS_1): Update to restore from the new stack frame.
4880         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4881         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4882
4883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4884         (SINGLE_THREAD_P): New parameter for result regno.
4885         (PSEUDO): Update to match; use cbz instead of beq.
4886
4887         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4888         Use ENTRY to define the _nocancel entry point.  Share the syscall
4889         and syscall error check paths with the cancel path.
4890         (PSEUDO_END): New.
4891
4892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4893         whitespace; tabs before and after asm mnemonics.
4894
4895 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4896
4897         [BZ #15132]
4898         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4899         Call fstat64 or stat64 internally, depending on arguments passed.
4900         Replace stat buffer argument with file descriptor argument.
4901         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4902         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4903         Pass fd to __internal_statvfs instead of calling fstat64.
4904         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4905         Pass fd to __internal_statvfs64 instead of calling fstat64.
4906         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4907         Pass -1 to __internal_statvfs instead of calling stat64.
4908         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4909         Pass -1 to __internal_statvfs64 instead of calling stat64.
4910
4911 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4912
4913         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4914         that was previously under [RESET_PID].
4915         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4916
4917         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4918         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4919
4920 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4921
4922         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4923
4924         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4925         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4926
4927 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4928
4929         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4930
4931 2014-05-27  Andreas Schwab  <schwab@suse.de>
4932
4933         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4934         TLS_INIT_TP macro.
4935         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4936         * elf/rtld.c (init_tls, dl_main): Likewise.
4937         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4938         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4939         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4940         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4941         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4942         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4943         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4944         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4945         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4946         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4947         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4948         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4949         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4950         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4951         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4952         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4953         * sysdeps/generic/tls.h: Update description.
4954
4955 2014-05-27  Will Newton  <will.newton@linaro.org>
4956
4957         [BZ #16990]
4958         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4959         and restore r2 rather than just restoring.
4960
4961 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4962
4963         [BZ #16724]
4964         * libio/tst-ftell-append.c: New test case.
4965         * libio/Makefile (tests): Add test case.
4966         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4967         append mode.
4968         * libio/wfileops.c (do_ftell_wide): Likewise.
4969
4970 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4971
4972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4973
4974         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4975         ...
4976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4978         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4979         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4980         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4981         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4982         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4985         Moved ...
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4988         Moved ...
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4990         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4991         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4992         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4993         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4994         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4995         ...
4996         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4997         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4998         Moved ...
4999         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5000         here.
5001         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5002         ...
5003         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5004         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5005         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5006
5007         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5008         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5009         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5010         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5011
5012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5013         merge into ...
5014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5016         ...
5017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5019         ...
5020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5022         Moved ...
5023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5024         here.
5025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5026         Moved ...
5027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5029         Moved ...
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5031
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5033         conditional [RESET_PID].
5034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5036         removed.
5037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5038         removed.
5039
5040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5041         <tcb-offsets.h>.
5042         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5043         (__libc_vfork): New strong alias.
5044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5045         removed.
5046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5047         Removed.
5048
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5050         <tcb-offsets.h>.
5051         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5052         (__libc_vfork): New strong alias.
5053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5054         removed.
5055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5056         removed.
5057
5058 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5059
5060         * malloc/malloc.c (mi_arena): New function.
5061         (malloc_info): Remove nested function mi_arena. Call non-nosted
5062         function mi_arena.
5063
5064 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5065
5066         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5067         by insrwi.
5068         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5069         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5070         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5071         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5072         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5073         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5074         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5075
5076 2014-05-26  Andreas Schwab  <schwab@suse.de>
5077
5078         [BZ #16984]
5079         * locale/programs/repertoire.c (repertoire_read): Add slash
5080         between I18NPATH element and file name.
5081         * locale/programs/locfile.c (locfile_read): Likewise.
5082
5083 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5084
5085         * nptl/pthread_mutexattr_settype.c
5086         (__pthread_mutexattr_settype):
5087         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5088
5089 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5090
5091         * nptl/tst-mutex5 (do_test):
5092         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5093
5094 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5095
5096         * benchtests/README: Document 'init' directive.
5097         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5098         BENCH_INIT.
5099         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5100         (parse_file): Recognize 'init' directive.
5101
5102 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5103
5104         [BZ #16796]
5105         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5106         alignment of struct pthread.
5107
5108 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5109
5110         [BZ #16878]
5111         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5112         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5113         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5114         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5115
5116 2014-05-25  Richard Henderson  <rth@twiddle.net>
5117
5118         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5119         (SINGLE_THREAD_P_PIC): Remove.
5120         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5121         (SINGLE_THREAD_P_PIC): Remove.
5122
5123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5124         branch to syscall error ...
5125         (PSEUDO): ... here.
5126         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5127         from __local_syscall_error to .Lsyscall_error.
5128         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5129         (SYSCALL_ERROR): Update label name.
5130
5131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5132         Do not use DOARGS/UNDOARGS.
5133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5134         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5135         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5136         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5137         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5138
5139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5140         block comment.
5141
5142         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5143         define if !NOT_IN_libc.
5144         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5145         define with non-default symbol versions.
5146
5147 2014-05-23  Richard Henderson  <rth@twiddle.net>
5148
5149         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5150         (vfork, __vfork): Define via compat_symbol.
5151
5152         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5153         [!HAVE_IFUNC] (vfork_compat): Remove.
5154         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5155
5156 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5157
5158         [BZ #16978]
5159         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5160         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5161         variable.
5162
5163 2014-05-23  Richard Henderson  <rth@twiddle.net>
5164
5165         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5166         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5167         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5168         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5169
5170         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5171         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5172         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5173         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5174         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5175         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5176         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5177         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5178         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5179         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5180         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5181         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5182         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5183         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5184         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5185         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5186         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5187         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5188         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5189         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5190         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5191         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5192         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5193         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5194         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5196         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5197         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5198         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5199         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5200         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5201         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5202         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5203         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5204         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5205         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5206         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5207         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5208         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5209         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5210         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5211         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5212         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5213         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5214         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5215         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5217         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5219         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5220         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5221         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5222         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5223         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5224         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5225         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5226
5227         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5228         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5229         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5230         before exiting on error.
5231         (__libc_vfork): New strong alias.
5232         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5233         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5234
5235         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5236         that was previously under [RESET_PID].
5237         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5238
5239         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5240
5241 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5242
5243         [BZ #16977]
5244         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5245         value when x - 1 is zero.
5246         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5247         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5248         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5249         0.0L for an argument of 1.0L.
5250         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5251         Likewise.
5252         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5253         value when x - 1 is zero.
5254         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5255         * sysdeps/i386/fpu/libm-test-ulps: Update.
5256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257
5258 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5259
5260         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5261         alphasort and versionsort.
5262
5263 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5264
5265         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5266         macro.
5267         [copysignf]: Likewise.
5268
5269 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5270
5271         * crypt/md5-crypt.c: Fix formatting.
5272
5273 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5274
5275         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5276         (b64_from_24bit): New function.
5277
5278 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5279
5280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5281         libc_hidden_builtin_def to ifunc.
5282         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5283         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5284
5285 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5286
5287         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5288         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5289
5290 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5291
5292         * nscd/Depend (linuxthreads): Remove.
5293         (nptl): Add.
5294         * resolv/Depend (linuxthreads): Remove.
5295         * rt/Depend (linuxthreads): Remove.
5296
5297         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5298         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5299         $(common-objpfx)elf/.
5300         (link-libc-before-gnulib): Likewise.
5301         (elfobjdir): Remove variable.
5302         * Makefile (install): Use $(elf-objpfx) instead of
5303         $(common-objpfx)elf/.
5304         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5305         $(elfobjdir)/.
5306         (link-libc-deps): Likewise.
5307         ($(common-objpfx)libc.so): Likewise.
5308         ($(common-objpfx)linkobj/libc.so): Likewise.
5309         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5310         instead of $(common-objpfx)elf/.
5311         (symbolic-link-list): Likewise.
5312         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5313         [$(cross-compiling) = no]: Likewise.
5314         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5315         $(elfobjdir)/.
5316         (static-gnulib-arch): Likewise.
5317         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5318         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5319         $(common-objpfx)elf/.
5320
5321 2014-05-21  Richard Henderson  <rth@redhat.com>
5322
5323         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5324         (SINGLE_THREAD_P): Use the correct width load.  Fold
5325         into the ldr offset.
5326
5327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5328         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5329
5330 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5331
5332         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5333         (libgcc_s_resume): Use __attribute_used__.
5334         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5335         Likewise.
5336
5337 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5338
5339         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5340         optimization when used with float constants.
5341
5342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5343
5344 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5345
5346         [BZ #16915]
5347         * locale/nl_langinfo_l.c: Make direct reference to every
5348         _nl_current_CATEGORY symbol.
5349         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5350         (tests-static): Add tst-langinfo-static.
5351         (tests-special): Add tst-langinfo-static.out.
5352         ($(objpfx)tst-langinfo.out): Redirect output.
5353         ($(objpfx)tst-langinfo-static.out): New.
5354         * localedata/tst-langinfo.sh: Send output to stdout.
5355         * localedata/tst-langinfo-static.c: New file.
5356
5357         [BZ #16965]
5358         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5359         when the shift amount is modulo the limb size.
5360
5361 2014-05-20  Richard Henderson  <rth@redhat.com>
5362
5363         [BZ #16967]
5364         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5365         Change type of sa_flags from unsigned int to int.
5366
5367         [BZ #16966]
5368         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5369
5370         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5371
5372 2014-05-20  Will Newton  <will.newton@linaro.org>
5373
5374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5375         Test the return value of the system call in the nocancel case.
5376
5377 2014-05-20  Will Newton  <will.newton@linaro.org>
5378             Yvan Roux  <yvan.roux@linaro.org>
5379
5380         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5381         #include of asm/ptrace.h.
5382         (PTRACE_GET_THREAD_AREA): Remove #undef.
5383         (PTRACE_GETHBPREGS): Likewise.
5384         (PTRACE_SETHBPREGS): Likewise.
5385         (struct user_regs_struct): New structure.
5386         (struct user_fpsimd_struct): New structure.
5387         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5388         #include of asm/ptrace.h and second #include of sys/user.h.
5389         (PTRACE_GET_THREAD_AREA): Remove #undef.
5390         (PTRACE_GETHBPREGS): Likewise.
5391         (PTRACE_SETHBPREGS): Likewise.
5392         (ELF_NGREG): Use new struct user_regs_struct.
5393         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5394
5395 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5396
5397         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5398         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5399
5400 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5401
5402         [BZ #16958]
5403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5404         membar to avoid block loads/stores to overlap previous stores.
5405
5406 2014-05-17  Richard Henderson  <rth@redhat.com>
5407
5408         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5409         Create the __##syscall_name##_nocancel entry point.
5410         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5411         Remove; let the sysdep-cancel.h code create it.
5412
5413 2014-05-17  David S. Miller  <davem@davemloft.net>
5414
5415         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5416         Protect with __USE_GNU.
5417         (TIOCSET_TEMPT): Likewise.
5418         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5419         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5420         these are already provided in bits/ioctl-types.h
5421
5422 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5423
5424         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5425         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5426
5427         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5428         Use wait4 regardless of [__NR_waitpid].
5429
5430 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5431
5432         PR libgcc/60166
5433         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5434         (_FP_NANSIGN_Q): Set the quiet bit.
5435
5436 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5437
5438         * benchtests/Makefile
5439         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5440         not $(common-objpfx)math/libm.so.
5441         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5442         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5443         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5444         $(common-objpfx)dlfcn/libdl.so.
5445         ($(objpfx)tst-audit8): Depend on $(libm), not
5446         $(common-objpfx)math/libm.so.
5447         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5448         not $(common-objpfx)dlfcn/libdl.so.
5449         * math/Makefile
5450         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5451         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5452         [$(build-shared) = yes].
5453         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5454         $(common-objpfx)nptl/libpthread.so.
5455         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5456         $(common-objpfx)math/libm.so$(libm.so-version) or
5457         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5458         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5459         $(common-objpfx)dlfcn/libdl.so.
5460         * setjmp/Makefile (link-libm): Remove variable.
5461         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5462         * stdio-common/Makefile (link-libm): Remove variable.
5463         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5464         * stdlib/Makefile (link-libm): Remove variable.
5465         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5466         ($(objpfx)tst-strtod-round): Likewise.
5467         ($(objpfx)tst-tininess): Likewise.
5468         ($(objpfx)tst-strtod-underflow): Likewise.
5469         ($(objpfx)tst-strtod6): Likewise.
5470         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5471         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5472         $(common-objpfx)dlfcn/libdl.so.
5473
5474 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5475
5476         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5477         BSD terminal modes definitions.
5478
5479 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5480
5481         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5482         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5483
5484         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5485         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5486         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5487         Don't do #include_next.
5488         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5489         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5490         Don't do #include_next.
5491         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5492         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5493         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5494         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5495
5496 2014-05-16  Allan McRae  <allan@archlinux.org>
5497
5498         * po/sv.po: Update Swedish translation from translation project.
5499
5500         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5501         in sed expression.
5502
5503 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5504
5505         [BZ #16917]
5506         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5507         errno if the TIOCGPTN ioctl fails with an error different than
5508         EINVAL.
5509         * login/tst-ptsname.c: New file.
5510         * login/Makefile (tests): Add tst-ptsname.
5511
5512         [BZ #16943]
5513         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5514         and prlimit64.
5515
5516 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5517
5518         [BZ #16849]
5519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5520         herrno to return EAI_AGAIN.
5521
5522 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5523
5524         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5525         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5526         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5527         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5528         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5529         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5530         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5531         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5532         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5533         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5534         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5535         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5536         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5537         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5538         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5539         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5540         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5541         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5542         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5543         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5544         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5545         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5546         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5547         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5548         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5549         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5550         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5551         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5552         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5553         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5555         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5557         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5559         Moved ...
5560         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5562         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5564         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5566         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5568         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5570         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5572         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5574         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5576         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5578         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5580         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5582         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5584         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5586         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5588         Moved ...
5589         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5591         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5593         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5595         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5597         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5599         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5601         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5603         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5605         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5607         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5609         Moved ...
5610         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5612         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5613
5614         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5615         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5616         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5617         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5618         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5619         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5620         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5622         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5623         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5624         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5625         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5626         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5627         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5628         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5629         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5630         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5631         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5632         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5633         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5634         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5635         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5636         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5637         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5638         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5639         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5640         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5641         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5642         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5643         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5644         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5645
5646         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5647         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5648
5649         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5650         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5651         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5652         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5653         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5655         Moved ...
5656         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5658         Moved ...
5659         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5660         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5661         Moved ...
5662         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5663         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5664         Moved ...
5665         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5666         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5667         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5669         Moved ...
5670         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5671         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5672         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5674         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5675         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5676         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5677         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5678         Moved ...
5679         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5681         Moved ...
5682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5683         ... here.
5684         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5685         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5686         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5687         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5689         Moved ...
5690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5691         ... here.
5692         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5693         Moved ...
5694         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5695         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5696         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5697         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5698         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5700         Moved ...
5701         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5703         Moved ...
5704         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5705         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5706         Moved ...
5707         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5709         Moved ...
5710         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5711         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5712         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5714         Moved ...
5715         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5716         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5717         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5719         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5720         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5721         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5722         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5723         Moved ...
5724         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5726         Moved ...
5727         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5728         ... here.
5729         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5730         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5731         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5732         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5734         Moved ...
5735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5736         ... here.
5737         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5738         Moved ...
5739         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5740         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5741         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5742         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5743         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5744         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5746         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5747         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5748         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5749         Moved ...
5750         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5752         Moved ...
5753         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5755         Moved ...
5756         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5758         Moved ...
5759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5760         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5761         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5762         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5763         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5765         Moved ...
5766         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5767         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5768         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5769         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5770         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5771         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5772         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5774         Moved ...
5775         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5777         Moved ...
5778         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5779         ... here.
5780         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5781         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5783         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5785         Moved ...
5786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5787         ... here.
5788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5789         Moved ...
5790         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5791         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5792         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5793         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5794         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5795         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5796         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5797         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5798         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5799         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5800         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5801
5802         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5803         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5804
5805         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5806         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5807
5808         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5809         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5810         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5811         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5812         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5813         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5814         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5815         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5816         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5817         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5818         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5819         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5820         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5821         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5822         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5824         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5826         Moved ...
5827         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5828         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5829         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5830         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5831         Moved ...
5832         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5834         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5836         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5837         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5840         Moved ...
5841         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5843         Moved ...
5844         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5850         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5851         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5852         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5853         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5854         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5855         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5856         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5857         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5858         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5859         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5860         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5861
5862         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5863         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5864         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5865         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5866         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5867
5868         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5869         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5870         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5871         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5872         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5873         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5874         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5875         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5876         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5877         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5878
5879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5881
5882         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5883         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5884         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5885         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5886         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5887         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5888         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5889         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5890         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5891         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5892         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5893         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5894         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5895         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5897         Update #include.
5898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5899         Likewise.
5900         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5901         Likewise.
5902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5903         Likewise.
5904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5905         Likewise.
5906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5907         Likewise.
5908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5909         Likewise.
5910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5911         Likewise.
5912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5913         Likewise.
5914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5915         Likewise.
5916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5924         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5925         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5926         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5927         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5928         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5929         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5930         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5931
5932         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5933         that was previously under [RESET_PID].
5934         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5935         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5936         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5937
5938         * sysdeps/i386/nptl/Implies: New file.
5939         * sysdeps/x86_64/nptl/Implies: New file.
5940         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5941         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5942         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5943         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5944
5945         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5946         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5947         (__libc_vfork): New strong alias.
5948         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5949         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5950
5951         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5952         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5953         (__libc_vfork): New strong alias.
5954         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5955         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5956
5957         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5958         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5959         (__libc_vfork): New strong alias.
5960         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5961         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5962         * nptl/pt-vfork.c: New file.
5963         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5964         (libpthread: GLIBC_2.20): New version set (empty).
5965
5966 2014-05-14  Will Newton  <will.newton@linaro.org>
5967
5968         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5969         rather than #if.
5970
5971 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5972
5973         [BZ #16564]
5974         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5975         arguments with exponent 65 or above.
5976         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5977         arguments 0x1p113L or above.
5978         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5979         to arguments 0x1p107L or above.
5980         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5981         positive arguments with exponent 65 or above.
5982         * math/auto-libm-test-in: Add more tests of log1p.
5983         * math/auto-libm-test-out: Regenerated.
5984
5985         [BZ #16928]
5986         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5987         non-finite arguments is +0.
5988         * math/s_cacosf.c (__cacosf): Likewise.
5989         * math/s_cacosl.c (__cacosl): Likewise.
5990         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5991         * sysdeps/i386/fpu/libm-test-ulps: Update.
5992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
5994         [BZ #16927]
5995         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5996         value.
5997         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5998         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5999         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6000         for explicit high bit of mantissa when testing for argument equal
6001         to 1.
6002         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6003         * sysdeps/i386/fpu/libm-test-ulps: Update.
6004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005
6006         [BZ #16516]
6007         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6008         (__erf): Scale by 16 instead of 8 in potentially underflowing
6009         case.  Ensure exception if result actually underflows.
6010         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6011         (__erff): Scale by 16 instead of 8 in potentially underflowing
6012         case.  Ensure exception if result actually underflows.
6013         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6014         (efx8): Remove variable.
6015         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6016         case.  Ensure exception if result actually underflows.
6017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6018         (efx8): Remove variable.
6019         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6020         case.  Ensure exception if result actually underflows.
6021         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6022         (efx8): Remove variable.
6023         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6024         case.  Ensure exception if result actually underflows.
6025         * math/auto-libm-test-in: Add more tests of erf.
6026         * math/auto-libm-test-out: Regenerated.
6027
6028 2014-05-14  Andreas Schwab  <schwab@suse.de>
6029
6030         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6031         Remove code conditionalized on USE___THREAD.
6032
6033         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6034         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6035         not definedness.
6036
6037 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6038
6039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6040         Define unconditionally.
6041         (__ASSUME_O_CLOEXEC): Likewise.
6042         (__ASSUME_SOCK_CLOEXEC): Likewise.
6043         (__ASSUME_IN_NONBLOCK): Likewise.
6044         (__ASSUME_PIPE2): Likewise.
6045         (__ASSUME_EVENTFD2): Likewise.
6046         (__ASSUME_SIGNALFD4): Likewise.
6047         (__ASSUME_DUP3): Likewise.
6048         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6049         (__ASSUME_DUP3): Do not define.
6050         (__ASSUME_EVENTFD2): Likewise.
6051         (__ASSUME_IN_NONBLOCK): Likewise.
6052         (__ASSUME_O_CLOEXEC): Likewise.
6053         (__ASSUME_PIPE2): Likewise.
6054         (__ASSUME_SIGNALFD4): Likewise.
6055         (__ASSUME_SOCK_CLOEXEC): Likewise.
6056         (__ASSUME_UTIMES): Undefine.
6057         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6058         (__ASSUME_UTIMES): Do not define.
6059         (__ASSUME_O_CLOEXEC): Likewise.
6060         (__ASSUME_SOCK_CLOEXEC): Likewise.
6061         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6062         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6063         0x020621].
6064         (__ASSUME_PIPE2): Likewise.
6065         (__ASSUME_EVENTFD2): Likewise.
6066         (__ASSUME_SIGNALFD4): Likewise.
6067         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6068         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6069         Do not define.
6070         (__ASSUME_EVENTFD2): Likewise.
6071         (__ASSUME_SIGNALFD4): Likewise.
6072         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6073         (__ASSUME_32BITUIDS): Likewise.
6074         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6075         (__ASSUME_IPC64): Likewise.
6076         (__ASSUME_ST_INO_64_BIT): Likewise.
6077         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6078         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6080         (__ASSUME_UTIMES): Do not define.
6081         (__ASSUME_PSELECT): Likewise.
6082         (__ASSUME_PPOLL): Likewise.
6083         (__ASSUME_O_CLOEXEC): Likewise.
6084         (__ASSUME_SOCK_CLOEXEC): Likewise.
6085         (__ASSUME_IN_NONBLOCK): Likewise.
6086         (__ASSUME_PIPE2): Likewise.
6087         (__ASSUME_EVENTFD2): Likewise.
6088         (__ASSUME_SIGNALFD4): Likewise.
6089         (__ASSUME_DUP3): Likewise.
6090         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6091         (__ASSUME_UTIMES): Likewise.
6092         (__ASSUME_O_CLOEXEC): Likewise.
6093         (__ASSUME_SOCK_CLOEXEC): Likewise.
6094         (__ASSUME_IN_NONBLOCK): Likewise.
6095         (__ASSUME_PIPE2): Likewise.
6096         (__ASSUME_EVENTFD2): Likewise.
6097         (__ASSUME_SIGNALFD4): Likewise.
6098         (__ASSUME_DUP3): Likewise.
6099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6100         (__ASSUME_UTIMES): Likewise.
6101         (__ASSUME_O_CLOEXEC): Likewise.
6102         (__ASSUME_SOCK_CLOEXEC): Likewise.
6103         (__ASSUME_IN_NONBLOCK): Likewise.
6104         (__ASSUME_PIPE2): Likewise.
6105         (__ASSUME_EVENTFD2): Likewise.
6106         (__ASSUME_SIGNALFD4): Likewise.
6107         (__ASSUME_DUP3): Likewise.
6108         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6109         Likewise.
6110         (__ASSUME_UTIMES): Likewise.
6111         (__ASSUME_EVENTFD2): Likewise.
6112         (__ASSUME_SIGNALFD4): Likewise.
6113         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6114         (__ASSUME_O_CLOEXEC): Likewise.
6115         (__ASSUME_SOCK_CLOEXEC): Likewise.
6116         (__ASSUME_IN_NONBLOCK): Likewise.
6117         (__ASSUME_PIPE2): Likewise.
6118         (__ASSUME_EVENTFD2): Likewise.
6119         (__ASSUME_SIGNALFD4): Likewise.
6120         (__ASSUME_DUP3): Likewise.
6121         (__ASSUME_UTIMES): Undefine.
6122
6123         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6124         feclearexcept.  Remove symbol versioning code.
6125         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6126         symbol versioning code.
6127         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6128         symbol versioning code.
6129         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6130         feupdateenv.  Remove symbol versioning code.
6131         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6132         fegetexceptflag.  Remove symbol versioning code.
6133         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6134         fesetexceptflag.  Remove symbol versioning code.
6135         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6136         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6137         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6138         (__posix_fadvise64_l32): Remove prototype.
6139         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6140         code.
6141
6142 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6143
6144         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6145         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6146         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6147         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6148
6149 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6150
6151         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6152         current working directory
6153
6154 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6155
6156         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6157         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6158         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6159         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6160         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6161         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6162         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6163         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6164         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6165         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6166         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6167         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6168         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6169         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6170         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6171         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6172         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6173         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6174         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6175         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6176         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6177         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6178         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6179         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6180         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6181         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6182         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6183         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6184         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6185         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6186         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6187         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6188         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6189         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6190         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6191         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6192         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6193         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6194         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6195         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6196         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6197         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6198
6199         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6200         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6201
6202         * sysdeps/unix/sysv/linux/arm/Makefile
6203         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6204         Add rt-aeabi_unwind_cpp_pr1.
6205         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6206         Add nptl-aeabi_unwind_cpp_pr1.
6207         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6208         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6209         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6210         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6211         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6212         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6213
6214         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6215         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6216         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6217         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6218
6219         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6220         Deconditionalize the code that was previously under [RESET_PID].
6221         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6222
6223         * sysdeps/generic/exit-thread.h: New file.
6224         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6225         * include/unistd.h (__exit_thread): Remove declaration.
6226         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6227         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6228         * csu/libc-start.c: Include <exit-thread.h>.
6229         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6230         * nptl/pthread_create.c: Include <exit-thread.h>.
6231         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6232         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6233         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6234         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6235         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6236         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6237         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6238         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6239         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6240         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6241         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6242         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6243         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6244         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6245         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6246         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6247         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6248
6249 2014-05-13  Andreas Schwab  <schwab@suse.de>
6250
6251         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6252
6253 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6254
6255         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6256         (__ASSUME_UTIMES): Do not condition on kernel version.
6257         (__ASSUME_PSELECT): Define unconditionally.
6258         (__ASSUME_PPOLL): Likewise.
6259         (__ASSUME_ATFCTS): Likewise.
6260         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6261         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6262         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6263         (__ASSUME_UTIMENSAT): Define unconditionally.
6264         (__ASSUME_PRIVATE_FUTEX): Likewise.
6265         (__ASSUME_FALLOCATE): Likewise.
6266         (__ASSUME_O_CLOEXEC): Likewise.
6267         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6268         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6269         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6270         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6271         (__ASSUME_IN_NONBLOCK): Likewise.
6272         (__ASSUME_PIPE2): Likewise.
6273         (__ASSUME_EVENTFD2): Likewise.
6274         (__ASSUME_SIGNALFD4): Likewise.
6275         (__ASSUME_DUP3): Likewise.
6276         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6277         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6278         (__ASSUME_AT_RANDOM): Likewise.
6279         (__ASSUME_PREADV): Likewise.
6280         (__ASSUME_PWRITEV): Likewise.
6281         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6282         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6283         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6284         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6285         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6286         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6287         (__ASSUME_O_CLOEXEC): Define unconditionally.
6288         (__ASSUME_PSELECT): Do not undefine conditionally.
6289         (__ASSUME_PPOLL): Likewise.
6290         (__ASSUME_ATFCTS): Likewise.
6291         (__ASSUME_SET_ROBUST_LIST): Likewise.
6292         (__ASSUME_UTIMENSAT): Likewise.
6293         (__ASSUME_FDATASYNC): Define unconditionally.
6294         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6295         (__ASSUME_SIGFRAME_V2): Likewise.
6296         )__ASSUME_EVENTFD2): Likewise.
6297         (__ASSUME_SIGNALFD4): Likewise.
6298         (__ASSUME_PSELECT): Do not undefine conditionally.
6299         (__ASSUME_PPOLL): Likewise.
6300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6301         (__ASSUME_PSELECT): Define unconditionally.
6302         (__ASSUME_PPOLL): Likewise.
6303         (__ASSUME_O_CLOEXEC): Likewise.
6304         (__ASSUME_SOCK_CLOEXEC): Likewise.
6305         (__ASSUME_IN_NONBLOCK): Likewise.
6306         (__ASSUME_PIPE2): Likewise.
6307         (__ASSUME_EVENTFD2): Likewise.
6308         (__ASSUME_SIGNALFD4): Likewise.
6309         (__ASSUME_DUP3): Likewise.
6310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6311         (__ASSUME_O_CLOEXEC): Likewise.
6312         (__ASSUME_SOCK_CLOEXEC): Likewise.
6313         (__ASSUME_IN_NONBLOCK): Likewise.
6314         (__ASSUME_PIPE2): Likewise.
6315         (__ASSUME_EVENTFD2): Likewise.
6316         (__ASSUME_SIGNALFD4): Likewise.
6317         (__ASSUME_DUP3): Likewise.
6318         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6319         (__ASSUME_EVENTFD2): Likewise.
6320         (__ASSUME_SIGNALFD4): Likewise.
6321         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6322
6323 2014-05-12  Andreas Schwab  <schwab@suse.de>
6324
6325         [BZ #16932]
6326         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6327         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6328         than maximum RPC packet size.
6329         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6330         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6331         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6332         (_nss_nis_getservbyport_r): Likewise.
6333
6334 2014-05-12  Will Newton  <will.newton@linaro.org>
6335
6336         * malloc/Makefile (tests): Add tst-mallopt.
6337         * malloc/tst-mallopt.c: New file.
6338
6339 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6340
6341         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6342         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6343
6344 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6345
6346         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6347         (tst-tlsmod6.so): Likewise.
6348
6349 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6350
6351         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6352
6353 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6354
6355         [BZ #16064]
6356         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6357         and <dl-procinfo.h>.
6358         (__fegetenv): Save SSE state in envp->__eip if supported.
6359         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6360         envp->__eip if supported.
6361         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6362         and <dl-procinfo.h>.
6363         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6364         __data_offset and __data_selector in environment to 0.  Set SSE
6365         state if supported.
6366         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6367         test-fenv-sse.
6368         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6369         -mfpmath=sse.
6370         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6371
6372 2014-05-09  Will Newton  <will.newton@linaro.org>
6373
6374         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6375         and libc_relro_required for ARM.
6376         * sysdeps/arm/preconfigure: Regenerate.
6377
6378 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6379             Stefan Liebler  <stli@linux.vnet.ibm.com>
6380
6381         * config.make.in (enable-lock-elision): New Makefile variable.
6382         * configure.ac: Likewise.
6383         * configure: Regenerate.
6384         * sysdeps/s390/configure.ac:
6385         Add check for gcc transactions support.
6386         * sysdeps/s390/configure: Regenerate.
6387         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6388         Build elision files if enabled.
6389         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6390         Add lock elision support for s390.
6391         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6392         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6393         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6394         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6395         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6396         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6397         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6398         Likewise.
6399         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6400         Likewise.
6401         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6402         Likewise.
6403         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6404         Likewise.
6405         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6406         (__lll_timedlock_elision, __lll_lock_elision)
6407         (__lll_unlock_elision, __lll_trylock_elision)
6408         (lll_timedlock_elision, lll_lock_elision)
6409         (lll_unlock_elision, lll_trylock_elision): Add.
6410         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6411         (pthread_mutex_t): Add lock elision support for s390.
6412
6413 2014-05-14  Wilco  <wdijkstr@arm.com>
6414
6415         * sysdeps/arm/fclrexcpt.c: Cleanup.
6416         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6417         * sysdeps/arm/feenablxcpt.c: Cleanup.
6418         * sysdeps/arm/fegetenv.c: Cleanup.
6419         * sysdeps/arm/fegetexcept.c: Cleanup.
6420         * sysdeps/arm/fegetround.c: Cleanup.
6421         * sysdeps/arm/feholdexcpt.c: Cleanup.
6422         * sysdeps/arm/fesetenv.c: Cleanup.
6423         * sysdeps/arm/fesetround.c: Cleanup.
6424         * sysdeps/arm/feupdateenv.c: Cleanup.
6425         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6426         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6427         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6428         * sysdeps/arm/ftestexcept.c: Cleanup.
6429         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6430         * sysdeps/arm/setfpucw.c: Cleanup.
6431
6432 2014-05-09  Will Newton  <will.newton@linaro.org>
6433
6434         * sysdeps/arm/armv7/strcmp.S: New file.
6435         * NEWS: Mention addition of ARMv7 optimized strcmp.
6436
6437 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6438
6439         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6440         look for %.ac rather than %.in.
6441
6442         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6443         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6444         * sysdeps/mach/hurd/configure: Regenerated.
6445         * sysdeps/unix/sysv/linux/configure: Regenerated.
6446
6447         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6448
6449 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6450
6451         [BZ# 16922]
6452         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6453         (LONG_SUB): Ditto.
6454         (PTR_SUB): Ditto.
6455
6456 2014-05-07  Andreas Schwab  <schwab@suse.de>
6457
6458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6459         when skipping over non-matching result from nscd.
6460
6461 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6462
6463         [BZ #16876]
6464         * nptl/sockperf.c (client): Check socket return value.
6465
6466         [BZ #16877]
6467         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6468         nscd security class.
6469
6470 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6471
6472         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6473         * sysdeps/arm/unwind.h: ... here.
6474
6475 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6476
6477         [BZ# 16916]
6478         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6479         Define.
6480
6481 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6482
6483         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6484         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6485         multiarch strncpy for PPC64.
6486         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6487         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6489         multiarch optimizations.
6490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6491         (__libc_ifunc_impl_list): Likewise.
6492         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6494         multiarch stpncpy for PPC64.
6495         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6496         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6497
6498 2014-05-06  Andreas Schwab  <schwab@suse.de>
6499
6500         [BZ #16912]
6501         * gmon/mcount.c (_MCOUNT_DECL): Use
6502         atomic_compare_and_exchange_bool_acq instead of
6503         catomic_compare_and_exchange_bool_acq.
6504
6505 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6506
6507         * elf/Makefile (others, install-bin): Remove pldd.
6508         (pldd-modules): Variable removed.
6509         ($(objpfx)pldd): Target removed.
6510         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6511         (others, install-bin): Append pldd here.
6512         ($(objpfx)pldd): New target.
6513
6514         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6515         to 0, so the first #if test emitted later doesn't see it undefined.
6516         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6517         * sysdeps/gnu/errlist.c: Regenerated.
6518
6519 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6520
6521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6522         [libc_hidden_builtin_def]: Define to empty value.
6523         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6524         [libc_hidden_builtin_def]: Likewise.
6525         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6526         [libc_hidden_builtin_def]: Likewise.
6527         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6528         [libc_hidden_builtin_def]: Likewise.
6529         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6530         __redirect_memcpy and define ifunc as default hidden symbol.
6531         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6532         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6533
6534 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6535
6536         * locale/iso-4217.def: Reintroduce XDR currency.
6537
6538 2014-05-04  Allan McRae  <allan@archlinux.org>
6539
6540         * po/eo.po: Update Esperanto translation from translation project.
6541
6542 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6543
6544         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6545         and FEATURE_INDEX_MAX to 1.
6546         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6547
6548 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6549
6550         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6551         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6552         * iconvdata/big5.c (ONE_DIRECTION): Define.
6553         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6554         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6555         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6556         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6557         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6558         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6559         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6560         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6561         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6562         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6563         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6564         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6565         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6566         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6567         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6568         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6569         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6570         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6571         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6572         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6573         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6574         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6575         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6576         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6577         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6578         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6579         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6580         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6581         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6582         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6583         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6584         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6585         * iconvdata/johab.c (ONE_DIRECTION): Define.
6586         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6587         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6588         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6589         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6590         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6591         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6592         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6593         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6594         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6595         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6596
6597 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6598
6599         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6600         (_IO_JUMPS_OFFSET): Define to 0.
6601
6602         * nptl/sysdeps/pthread/bits/libc-lock.h
6603         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6604         (__libc_lock_define_initialized_recursive): Always define using
6605         initializer.  Modern compilers treat uninitialized (implicit zero) and
6606         explicit zero initializers the same (i.e. put the datum in bss).
6607
6608 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6609
6610         * nscd/nscd-client.h: Include <string.h>.
6611
6612 2014-05-01  David S. Miller  <davem@davemloft.net>
6613
6614         [BZ #16885]
6615         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6616         multiple zero bytes exist at the end of a string.
6617         Reported by Aurelien Jarno <aurelien@aurel32.net>
6618
6619         * string/test-strcmp.c (check): Add explicit test for situations where
6620         there are multiple zero bytes after the first.
6621
6622 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6623
6624         [BZ #16890]
6625         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6626         when compiling wprintf.
6627         * stdio-common/tstdiomisc.c (t3): New function.
6628         (main): Call it.
6629
6630 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6631
6632         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6633         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6634         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6635         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6636
6637 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6638
6639         * stdlib/longlong.h: Updated from GCC.
6640
6641 2014-05-01  Will Newton  <will.newton@linaro.org>
6642             Bernard Ogden  <bernie.ogden@linaro.org>
6643
6644         * NEWS: Update fixed bug list.
6645
6646         [BZ #15119]
6647         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6648
6649 2014-04-30  David S. Miller  <davem@davemloft.net>
6650
6651         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6652         (libc_feholdexcept_setround_sparc_ctx): New function.
6653         (libc_fesetenv_sparc_ctx): Likewise.
6654         (libc_feupdateenv_sparc_ctx): Likewise.
6655         (libc_feholdsetround_sparc_ctx): Likewise.
6656         (libc_feholdexcept_setround_ctx): Define.
6657         (libc_feholdexcept_setroundf_ctx): Likewise.
6658         (libc_feholdexcept_setroundl_ctx): Likewise.
6659         (libc_fesetenv_ctx): Likewise.
6660         (libc_fesetenvf_ctx): Likewise.
6661         (libc_fesetenvl_ctx): Likewise.
6662         (libc_feupdateenv_ctx): Likewise.
6663         (libc_feupdateenvf_ctx): Likewise.
6664         (libc_feupdateenvl_ctx): Likewise.
6665         (libc_feresetround_ctx): Likewise.
6666         (libc_feresetroundf_ctx): Likewise.
6667         (libc_feresetroundl_ctx): Likewise.
6668         (libc_feholdsetround_ctx): Likewise.
6669         (libc_feholdsetroundf_ctx): Likewise.
6670         (libc_feholdsetroundl_ctx): Likewise.
6671
6672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6673         with __USE_GNU instead of XOPEN cpp guards.
6674
6675         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6676         0.
6677
6678         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6679         with XOPEN cpp guards.
6680
6681 2014-04-30  Julian Brown  <julian@codesourcery.com>
6682
6683         [BZ #16888]
6684         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6685         handling.
6686
6687 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6688
6689         [BZ #9894]
6690         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6691         Change to 2.6.32.
6692         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6693         * sysdeps/unix/sysv/linux/configure: Regenerated.
6694         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6695         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6696         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6697         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6698         * README: Update reference to required Linux kernel version.
6699         * manual/install.texi (Linux): Update reference to required Linux
6700         kernel headers version.
6701         * INSTALL: Regenerated.
6702
6703         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6704         header inclusion.
6705         [POSIX] (limits.h): Likewise.
6706         [POSIX] (math.h): Likewise.
6707         [POSIX] (sys/wait.h): Likewise.
6708         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6709         function.
6710         [POSIX] (stddef.h): Do not allow header inclusion.
6711
6712 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6713
6714         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6715
6716 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6717
6718         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6719         Return immediately after lll_futex_wake.
6720
6721 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6722
6723         [BZ #16791]
6724         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6725         structure.
6726         (datahead_init_pos): Call datahead_init_common early.
6727         (datahead_init_neg): Likewise.
6728
6729         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6730         datahead_init_neg): New functions.
6731         * nscd/aicache.c (addhstaiX): Use them.
6732         * nscd/grpcache.c (cache_addgr): Likewise.
6733         * nscd/hstcache.c (cache_addhst): Likewise.
6734         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6735         * nscd/netgroupcache.c (do_notfound): Likewise.
6736         (addgetnetgrentX): Likewise.
6737         (addinnetgrX): Likewise.
6738         * nscd/pwdcache.c (cache_addpw): Likewise.
6739         * nscd/servicescache.c (cache_addserv): Likewise.
6740
6741 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6742             Atsushi Onoe  <atsushi@onoe.org>
6743
6744         [BZ #14308]
6745         [BZ #12994]
6746         [BZ #13651]
6747         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6748         one response is valid.
6749         * resolv/res_send.c (send_dg): Check for validity of other
6750         response if the current response is a referral.
6751
6752 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6753
6754         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6755
6756 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6757
6758         [BZ #16823]
6759         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6760         Always divide by positive zero when computing -Inf result.
6761         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6762         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6763
6764 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6765
6766         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6767         FPSCR if value do not change.
6768         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6769         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6770         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6771         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6772         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6773         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6774         function.
6775
6776 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6777
6778         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6779         * sysdeps/unix/sysv/linux/hppa: Move directory from
6780         ports/systeps/unix/sysv/linux/hppa.
6781         * README: Update listing for hppa-*-linux-gnu.
6782
6783 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6784
6785         [BZ #16754]
6786         * manual/stdio.texi (Hook functions): Fix types of stream hook
6787         functions.
6788         [BZ #16854]
6789         * socket/sys/socket.h: Fix typo in comment.
6790
6791 2014-04-28  Wilco  <wdijkstr@arm.com>
6792
6793         * sysdeps/arm/fenv_private.h: New file.
6794         * sysdeps/arm/math_private.h: New file.
6795         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6796
6797 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6798
6799         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6800         with __int128_t.
6801         (La_x86_64_retval): Likewise.
6802
6803 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6804
6805         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6806         fpsr if value didn't change.
6807         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6808         to fpcr if value didn't change.
6809         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6810         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6811         fpsr or fpcr if value didn't change.
6812         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6813         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6814         fpcr if value didn't change.
6815         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6816         to fpsr if value didn't change.
6817
6818 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6819
6820         * nptl/tst-sem3.c: Use test-skeleton.c
6821         (main): Rename to do_test.  Use return instead of
6822         exit.
6823         * nptl/tst-sem4.c: Use test-skeleton.c
6824         (main): Rename to do_test.
6825
6826 2014-04-22  David S. Miller  <davem@davemloft.net>
6827
6828         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6829         (struct sigaction): New struct member __glibc_reserved0, change
6830         type of sa_flags to int.
6831
6832 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6833
6834         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6835         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6836
6837 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6838
6839         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6840         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6841
6842 2014-04-22  Will Newton  <will.newton@linaro.org>
6843             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6844
6845         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6846         (__longjmp): Add longjmp and longjmp_target SystemTap
6847         probes.
6848         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6849         (__sigsetjmp): Add setjmp SystemTap probe.
6850
6851 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6852
6853         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6854         match manual order.
6855
6856 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6857
6858         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6859
6860         * sysdeps/powerpc/fpu/fenv_private.h
6861         (libc_feholdexcept_setroundl_ctx): Define to
6862         libc_feholdexcept_setround_ppc_ctx.
6863         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6864         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6865         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6866         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6867
6868 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6869
6870         * sysdeps/aarch64/math-tests.h: New file.
6871
6872 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6873
6874         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6875         New.
6876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6877         Check and set bit_AVX2_Usable.
6878         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6879         macro.
6880         (bit_AVX2): Likewise.
6881         (index_AVX2_Usable): Likewise.
6882         (CPUID_AVX2): Likewise.
6883         (HAS_AVX2): Likewise.
6884
6885 2014-04-17  Will Newton  <will.newton@linaro.org>
6886
6887         * manual/setjmp.texi (System V contexts): Add note that
6888         calling setcontext on a context created by a call to a
6889         signal handler is undefined.  Update text to note that
6890         setcontext from a signal handler is possible but not
6891         recommended.
6892
6893         [BZ #16629]
6894         * stdlib/tst-setcontext.c: Include signal.h.
6895         (main): Check that the signal stack before and
6896         after swapcontext is the same.
6897
6898         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6899         Re-implement to restore registers in user code and avoid
6900         rt_sigreturn system call.
6901
6902 2014-04-17  Wilco  <wdijkstr@arm.com>
6903
6904         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6905         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6906         * math/test-fenv.c: Skip exception trap tests on targets which only
6907         support non-stop mode.
6908
6909 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6910             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6911
6912         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6913         (libc_feholdsetround_aarch64_ctx)
6914         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6915         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6916         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6917         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6918         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6919         (libc_feresetround_noexl_ctx): Define.
6920
6921 2014-04-16  Richard Henderson  <rth@redhat.com>
6922
6923         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6924
6925         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6926         unwind tables.
6927
6928         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6929         const from the non-libc, non-ldso copy.
6930
6931         * sysdeps/alpha/libm-test-ulps: Regenerate.
6932
6933 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6934             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6935
6936         * sysdeps/aarch64/fpu/math_private.h: New file.
6937
6938 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6939
6940         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6941
6942 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6943
6944         [BZ #16275]
6945         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6946         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6948         Intel MPX bound registers before _dl_profile_fixup.
6949         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6950         registers after _dl_profile_fixup.  Save and restore bound
6951         registers bnd0/bnd1 when calling _dl_call_pltexit.
6952         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6953         (LR_BND_OFFSET): Likewise.
6954         (LRV_BND0_OFFSET): Likewise.
6955         (LRV_BND1_OFFSET): Likewise.
6956
6957 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6958
6959         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6960         to...
6961         * sysdeps/mach/hurd/i386/tls.h: ... here.
6962         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6963         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6964         fields.
6965
6966 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6967
6968         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6969
6970 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6971
6972         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6973
6974 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6975
6976         [BZ #14770]
6977         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6978         * sysdeps/s390/configure: Regenerate.
6979
6980         [BZ #16824]
6981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6982         Set round-to-nearest internally to reduce error accumulation.
6983
6984 2014-04-16  Alan Modra  <amodra@gmail.com>
6985
6986         [BZ #16740]
6987         [BZ #16619]
6988         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6989         * math/libm-test.inc (frexp_test_data): Add tests.
6990         * NEWS: Update fixed bug list.
6991
6992 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6993
6994         * benchtests/Makefile: Depend on libraries in build directory.
6995         (bench-math): Separate out math tests.
6996         (bench-pthread): Separate out pthread tests.
6997         (bench): Include math and pthread tests.
6998
6999 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7000
7001         [BZ #16831]
7002         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7003         _dl_debug_initialize.
7004
7005         * configure.ac: Remove SELinux header check.
7006         * configure: Regenerate.
7007         * nscd/selinux.c (perms): Array of const char* to permission names.
7008         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7009         default policy. Call string_to_security_class and string_to_av_perm to
7010         translate strings. Enforce default policy and call avs_has_perm with
7011         results of translated strings.
7012
7013 2014-04-13  David S. Miller  <davem@davemloft.net>
7014
7015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7016
7017 2014-04-12  Allan McRae  <allan@archlinux.org>
7018
7019         [BZ #16838]
7020         * manual/string.texi (Collation Functions): Fix qsort argument
7021         order in example.
7022         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7023
7024 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7025
7026         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7027         Make the test a no-op if there are no exceptions defined.
7028
7029 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7030
7031         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7032         enable-hardcoded-path-in-tests
7033
7034 2014-04-11  Will Newton  <will.newton@linaro.org>
7035
7036         * benchtests/Makefile (extra-objs): Add json-lib.o.
7037         (bench-func): Tidy up JSON output.
7038         * benchtests/bench-skeleton.c: Include json-lib.h.
7039         (main): Use JSON library functions to do output of
7040         benchmark results.
7041         * benchtests/bench-timing-type.c (main): Output the
7042         timing type simply, leaving formatting to the user.
7043         * benchtests/json-lib.c: New file.
7044         * benchtests/json-lib.h: Likewise.
7045
7046 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7047
7048         [BZ #15215]
7049         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7050         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7051         memory barriers.  Add comments.
7052         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7053         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7054         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7055         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7056         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7057         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7058
7059 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7060
7061         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7062         * sysdeps/s390/s390-64/configure.ac: ... this ...
7063         * sysdeps/s390/configure.ac: ... to here.
7064         * sysdeps/s390/s390-32/configure: Delete file.
7065         * sysdeps/s390/s390-64/configure: Delete file.
7066         * sysdeps/s390/configure: Regenerate.
7067
7068 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7069
7070         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7071
7072 2014-04-11  Will Newton  <will.newton@linaro.org>
7073
7074         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7075         to zero if it is not defined elsewhere.  (mtrim): Test
7076         the value of MALLOC_DEBUG with #if rather than #ifdef.
7077
7078 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7079
7080         * benchtests/pthread_once-inputs: New file.
7081         * benchtests/pthread_once-source.c: New file.
7082         * benchtests/README: Update documentation.
7083
7084 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7085             H.J. Lu  <hongjiu.lu@intel.com>
7086
7087         [BZ #16275]
7088         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7089         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7090         * sysdeps/x86_64/configure: Regenerated.
7091         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7092         macro.
7093         (REGISTER_SAVE_RAX): Likewise.
7094         (REGISTER_SAVE_RCX): Likewise.
7095         (REGISTER_SAVE_RDX): Likewise.
7096         (REGISTER_SAVE_RSI): Likewise.
7097         (REGISTER_SAVE_RDI): Likewise.
7098         (REGISTER_SAVE_R8): Likewise.
7099         (REGISTER_SAVE_R9): Likewise.
7100         (REGISTER_SAVE_BND0): Likewise.
7101         (REGISTER_SAVE_BND1): Likewise.
7102         (REGISTER_SAVE_BND2): Likewise.
7103         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7104         bound registers when calling _dl_fixup.
7105
7106 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7107
7108         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7109         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7110         of its definition.
7111         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7112         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7113         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7114         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7115         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7116         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7117         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7118
7119 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7120
7121         [BZ #15514]
7122         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7123         pathconf(_PC_NAME_MAX).
7124
7125 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7126
7127         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7128         Remove macro usage.
7129         (__PTHREAD_SPINS): Move definition to ...
7130         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7131         (__PTHREAD_SPINS): ... here.
7132         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7133         (__PTHREAD_SPIN): Likewise.
7134         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7135         (__PTHREAD_SPIN): Likewise.
7136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7137         (__PTHREAD_SPIN): Likewise.
7138         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7139         (__PTHREAD_SPIN): Likewise.
7140         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7141         (__PTHREAD_SPIN): Likewise.
7142         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7143         (__PTHREAD_SPIN): Likewise.
7144         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7145         (__PTHREAD_SPIN): Likewise.
7146         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7147         (__PTHREAD_SPIN): Likewise.
7148         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7149         (__PTHREAD_SPIN): Likewise.
7150         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7151         (__PTHREAD_SPIN): Likewise.
7152         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7153         (__PTHREAD_SPIN): Likewise.
7154         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7155         (__PTHREAD_SPIN): Likewise.
7156
7157         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7158         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7159         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7160         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7161         imply folder.
7162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7163         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7164         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7165         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7166         correct imply path.
7167         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7168         strlen symbol for non multi-arch builds.
7169         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7170         missing hidden_def and weak_alias.
7171
7172 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7173
7174         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7175
7176 2014-04-07  Will Newton  <will.newton@linaro.org>
7177
7178         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7179         and contents.  [!_LIBC] Remove #ifndef and contents.
7180         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7181         * string/memccpy.c (__memccpy): Use ANSI prototype.
7182         * string/memfrob.c (memfrob): Likewise.
7183         * string/strcoll.c (STRCOLL): Likewise.
7184         * string/strlen.c (strlen): Likewise.
7185         * string/strtok.c (STRTOK): Likewise.
7186         * string/strcat.c: Remove unused #include of memcopy.h.
7187         (strcat): Use ANSI prototype.
7188         * string/strchr.c: Remove unused #include of memcopy.h.
7189         (strchr): Use ANSI prototype.
7190         * string/strcmp.c: Remove unused #include of memcopy.h.
7191         (strcmp): Use ANSI prototype.
7192         * string/strcpy.c: Remove unused #include of memcopy.h.
7193         (strcpy): Use ANSI prototype.
7194
7195 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7196
7197         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7198         * config.make.in (config-extra-cppflags): Set it from
7199         libc_extra_cppflags.
7200         * configure.ac (libc_extra_cflags): Make it accumulate over
7201         configure fragments.
7202         (libc_extra_cppflags): New flag.
7203         * configure. Regenerate.
7204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7205         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7206         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7208
7209         [BZ #16815]
7210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7211         result for FE_DOWNWARD rounding mode.
7212         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7213         Likewise.
7214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7215
7216 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7217
7218         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7219         in function argument name.
7220
7221 2014-04-03  David Svoboda  <svoboda@cert.org>
7222
7223         [BZ #5666]
7224         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7225         explicitly.
7226
7227 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7228
7229         * elf/dl-unmap-segments.h: New file.
7230         * sysdeps/generic/ldsodefs.h
7231         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7232         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7233         * elf/dl-fptr.c: Likewise.
7234         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7235         * sysdeps/aarch64/tlsdesc.c: Likewise.
7236         * sysdeps/arm/tlsdesc.c: Likewise.
7237         * sysdeps/i386/tlsdesc.c: Likewise.
7238         * sysdeps/tile/dl-runtime.c: Likewise.
7239         * sysdeps/x86_64/tlsdesc.c: Likewise.
7240         * elf/dl-load.h: New file.
7241         * elf/dl-load.c: Include it.
7242         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7243         Macros moved to dl-load.h.
7244         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7245         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7246         Use _dl_unmap_segments in place of __munmap.
7247         Break out segment-mapping loop into ...
7248         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7249
7250 2014-04-03  Will Newton  <will.newton@linaro.org>
7251
7252         * elf/dl-lookup.c (do_lookup_x): Remove comment
7253         referring to nested function and move variable
7254         declarations down to before first use.
7255
7256 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7257
7258         [BZ #16799]
7259         [BZ #16800]
7260         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7261         with 0 numerator.
7262         * math/s_catanf.c (__catanf): Likewise.
7263         * math/s_catanh.c (__catanh): Likewise.
7264         * math/s_catanhf.c (__catanhf): Likewise.
7265         * math/s_catanhl.c (__catanhl): Likewise.
7266         * math/s_catanl.c (__catanl): Likewise.
7267         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7268         by positive zero when computing -Inf result.
7269         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7270         (catanh_test): Likewise.
7271         * sysdeps/i386/fpu/libm-test-ulps: Update.
7272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7273
7274         [BZ #16789]
7275         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7276         instead of using underflowing value in computing result.
7277         * math/s_clog10.c (__clog10): Likewise.
7278         * math/s_clog10f.c (__clog10f): Likewise.
7279         * math/s_clog10l.c (__clog10l): Likewise.
7280         * math/s_clogf.c (__clogf): Likewise.
7281         * math/s_clogl.c (__clogl): Likewise.
7282         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7283         (clog10_test): Likewise.
7284         * sysdeps/i386/fpu/libm-test-ulps: Update.
7285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7286
7287 2014-04-02  Alan Modra  <amodra@gmail.com>
7288
7289         [BZ #16739]
7290         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7291         output when value is near a power of two.  Use int64_t for lx and
7292         remove casts.  Use decimal rather than hex exponent constants.
7293         Don't use long double multiplication when double will suffice.
7294         * math/libm-test.inc (nextafter_test_data): Add tests.
7295         * NEWS: Add 16739 and 16786 to bug list.
7296
7297         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7298
7299         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7300
7301 2014-04-01  Will Newton  <will.newton@linaro.org>
7302
7303         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7304         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7305
7306 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7307
7308         [BZ #13347]
7309         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7310         * nptl/tst-setuid2.c: New file.
7311         * nptl/Makefile (xtests): Add tst-setuid2.
7312
7313 2014-04-01  Alan Modra  <amodra@gmail.com>
7314
7315         [BZ #16786]
7316         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7317
7318 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7319
7320         [BZ #6803]
7321         [BZ #6804]
7322         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7323         set errno as appropriate.
7324         * math/w_scalbf.c (__scalbf): Likewise.
7325         * math/w_scalbl.c (__scalbl): Likewise.
7326         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7327         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7328         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7329         Add more NaN tests.
7330
7331         [BZ #16349]
7332         * math/w_atan2.c: Include <errno.h>.
7333         (__atan2): Set errno for result underflowing to zero.
7334         * math/w_atan2f.c: Include <errno.h>.
7335         (__atan2f): Set errno for result underflowing to zero.
7336         * math/w_atan2l.c: Include <errno.h>.
7337         (__atan2l): Set errno for result underflowing to zero.
7338         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7339         tests.
7340         * math/auto-libm-test-out: Regenerated.
7341
7342 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7343
7344         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7345         Encode instruction correctly in little endian.
7346         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7347         Likewise.
7348         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7349         Likewise.
7350         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7351         Likewise.
7352         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7353         Likewise.
7354
7355 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7356
7357         [BZ #9894]
7358         * sysdeps/unix/sysv/linux/kernel-features.h
7359         [__sparc__ && !__arch64__ && !__sparc_v9__]
7360         (__ASSUME_SET_ROBUST_LIST): Do not define.
7361         [__sparc__ && !__arch64__ && !__sparc_v9__]
7362         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7363         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7364         Likewise.
7365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7366         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7367         (__ASSUME_REQUEUE_PI): Likewise.
7368         (__ASSUME_SET_ROBUST_LIST): Likewise.
7369         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7370         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7371         Undefine.
7372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7373         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7374         Likewise.
7375         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7376         Likewise.
7377         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7378         Likewise.
7379         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7380         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7381         Undefine.
7382         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7383         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7384         Likewise.
7385
7386         [BZ #16648]
7387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7389         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7390
7391 2014-03-31  Will Newton  <will.newton@linaro.org>
7392
7393         * benchtests/Makefile (bench): Add ffs and ffsll to list
7394         of tests.
7395         * benchtests/ffs-inputs: New file.
7396         * benchtests/ffsll-inputs: Likewise.
7397
7398 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7399
7400         [BZ #16770]
7401         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7402         too large before casting to int.
7403         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7404         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7405         * math/libm-test.inc (scalb_test_data): Add more tests.
7406
7407 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7408
7409         * benchtests/Makefile (DETAILED_OPT): New make option.
7410         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7411         set.
7412         * benchtests/bench-skeleton.c: Include stdbool.h.
7413         (main): Store and print timings per input.
7414         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7415         member to each argument value.
7416         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7417         (_print_arg_data): Initialize per-input timing to 0.
7418
7419         * benchtests/Makefile (timing-type): New binary.
7420         (bench-clean): Also remove bench-timing-type.
7421         (bench): New target for timing-type.
7422         (bench-func): Print output in JSON format.
7423         * benchtests/bench-skeleton.c (main): Print output in JSON
7424         format.
7425         * benchtests/bench-timing-type.c: New file.
7426         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7427         (TIMING_PRINT_STATS): Remove.
7428         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7429         name separately.
7430
7431         * benchtests/bench-modf.c: Remove.
7432         * benchtests/modf-inputs: New inputs file.
7433
7434 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7435
7436         [BZ #16362]
7437         * math/s_clog10.c (M_PI_LOG10E): New macro.
7438         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7439         imaginary parts are 0.
7440         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7441         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7442         imaginary parts are 0.
7443         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7444         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7445         imaginary parts are 0.
7446         * math/libm-test.inc (clog10_test_data): Update expected results
7447         for when real and imaginary parts are 0.
7448
7449 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7450
7451         * elf/dl-load.c: Finish conversion of __builtin_expect into
7452         __glibc_{un}likely.
7453
7454 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7455
7456         [BZ #16348]
7457         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7458         1+x for argument with exponent below -67.
7459         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7460         Likewise.
7461         * math/auto-libm-test-in: Add more tests of exp.
7462         * math/auto-libm-test-out: Regenerated.
7463
7464 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7465
7466         [BZ #16759]
7467         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7468         (nscd_getnetgrent): Use it.
7469
7470         [BZ #16760]
7471         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7472         of stpcpy.
7473
7474 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7475
7476         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7477         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7478         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7479         (lll_robust_unlock): Remove out of line section. Use cfi
7480         intrinsics.
7481         (LLL_STUB_UNWIND_INFO*): Remove.
7482         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7483         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7484         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7485         (lll_robust_unlock): Remove out of line section. Use cfi
7486         intrinsics.
7487         (LLL_STUB_UNWIND_INFO*): Remove.
7488
7489 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7490
7491         [BZ #16758]
7492         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7493         blank values.
7494
7495 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7496
7497         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7498
7499 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7500
7501         [BZ #16198]
7502         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7503         fnstenv.
7504         * math/test-fenv-preserve.c: New file.
7505         * math/Makefile (tests): Add test-fenv-preserve.
7506
7507 2014-03-26  Will Newton <will.newton@linaro.org>
7508
7509         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7510
7511 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7512
7513         * scripts/versionlist.awk: Partition the version sets and emit all
7514         GLIBC_* (sorted) before all others (sorted).
7515
7516 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7517
7518         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7519         GLIBC_2.2.5 version.
7520
7521 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7522
7523         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7524         calls.
7525
7526         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7527         previous change.
7528
7529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7530
7531 2014-03-25  Andreas Schwab  <schwab@suse.de>
7532
7533         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7534         label to be used after in6ailist is initialized.
7535
7536 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7537
7538         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7539         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7540
7541 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7542
7543         [BZ #16357]
7544         [BZ #16599]
7545         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7546         min_plus_half.
7547         (fp_formats): Update initializers.
7548         (init_fp_formats): Initialize new field.
7549         (output_for_one_input_case): Allow underflow for results up to
7550         min_plus_half.
7551         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7552         * math/auto-libm-test-in: Don't mark some underflows from asin and
7553         atanh as spurious.
7554         * math/auto-libm-test-out: Regenerated.
7555         * sysdeps/i386/fpu/libm-test-ulps: Update.
7556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7557
7558 2014-03-25  Andreas Schwab  <schwab@suse.de>
7559
7560         * libio/Makefile (tst-ftell-partial-wide-ENV)
7561         (tst-ftell-active-handler-ENV): Define.
7562
7563 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7564
7565         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7566
7567 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7568
7569         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7570
7571 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7572
7573         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7574         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7575         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7576
7577 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7578
7579         [BZ #16634]
7580         * elf/dl-load.c (open_verify): Add mode parameter.
7581         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7582         (open_path): Change from boolean 'secure' to complete flag 'mode'
7583         (_dl_map_object): Adjust.
7584         * elf/Makefile (tests): Add tst-dlopen-aout.
7585         * elf/tst-dlopen-aout.c: New test.
7586
7587 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7588
7589         [BZ #16714]
7590         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7591         (struct stat): Rename member pad0 to __glibc_reserved0.
7592
7593         [BZ #16712]
7594         * sysdeps/s390/s390-32/bits/wordsize.h
7595         (__WORDSIZE32_SIZE_ULONG): New define.
7596         * sysdeps/s390/s390-64/bits/wordsize.h
7597         (__WORDSIZE32_SIZE_ULONG): Likewise.
7598         * sysdeps/generic/stdint.h (SIZE_MAX):
7599         Define as UL if __WORDSIZE32_SIZE_ULONG.
7600
7601         [BZ #16713]
7602         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7603         (__glibc_reserved0): New variable.
7604         (sa_flags): Change type to int.
7605
7606         * posix/Makefile (before-compile): Use += before-compile instead
7607         of a :=.
7608
7609         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7610         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7611
7612 2014-03-20  Andreas Schwab  <schwab@suse.de>
7613
7614         [BZ #16743]
7615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7616         non-matching result from nscd.
7617
7618 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7619
7620         * scripts/bench.py: Moved to ...
7621         * benchtests/scripts/bench.py: ... here.
7622         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7623
7624 2014-03-24  Andreas Schwab  <schwab@suse.de>
7625
7626         [BZ #16002]
7627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7628         alloca_account and account alloca use for struct in6ailist.
7629
7630 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7631
7632         [BZ #16284]
7633         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7634         rounding mode to recompute results that overflow to infinity or
7635         underflow to zero.
7636         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7637         bug 16284.
7638         * math/auto-libm-test-out: Regenerated.
7639         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7640         (ccosh_test): Likewise.
7641         (csin_test_data): Use plus_oflow.
7642         (csin_test): Use ALL_RM_TEST.
7643         (csinh_test_data): Use plus_oflow.
7644         (csinh_test): Use ALL_RM_TEST.
7645         * sysdeps/i386/fpu/libm-test-ulps: Update.
7646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647
7648 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7649
7650         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7651         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7652         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7653
7654         [BZ #16731]
7655         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7656         when x - 1 is zero.
7657         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7658         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7659         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7660         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7661         argument is 1.
7662         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7663         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7664         zero.
7665         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7666         * sysdeps/i386/fpu/libm-test-ulps: Update.
7667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7668
7669 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7670
7671         * scripts/bench.pl: Remove file.
7672         * scripts/bench.py: New benchmark script.
7673         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7674         * benchtests/README: Mention python dependency.
7675         * scripts/pylintrc: New file.
7676         * scripts/pylint: New file.
7677
7678         * bits/mathdef.h: Use #ifdef instead of #if.
7679         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7680         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7681         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7682         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7683         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7684         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7685
7686 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7687             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7688
7689         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7691         and strpbrk-ppc64 objects.
7692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7693         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7694         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7695         multiarch strpbrk for POWER7.
7696         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7697         multiarch strpbrk for PPC64.
7698         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7699         ifunc selector.
7700         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7701         strpbrk for POWER7.
7702
7703 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7704
7705         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7706         (atan_test): Likewise.
7707         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7708         (atanh_test): Use ALL_RM_TEST.
7709         (atan2_test_data): Likewise.
7710         (cabs_test): Likewise.
7711         (cacosh_test): Likewise.
7712         (carg_test): Likewise.
7713         (casin_test): Likewise.
7714         (casinh_test): Likewise.
7715         (cbrt_test): Likewise.
7716         (csqrt_test): Likewise.
7717         (erf_test): Likewise.
7718         (erfc_test): Likewise.
7719         (pow10_test): Likewise.
7720         (exp2_test): Likewise.
7721         (hypot_test): Likewise.
7722         (j0_test): Likewise.
7723         (j1_test): Likewise.
7724         (lgamma_test): Likewise.
7725         (gamma_test): Likewise.
7726         (sincos_test): Likewise.
7727         (tanh_test): Likewise.
7728         (y0_test): Likewise.
7729         (y1_test): Likewise.
7730         * sysdeps/i386/fpu/libm-test-ulps: Update.
7731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7732
7733 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7734
7735         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7737         and strcspn-ppc64 objects.
7738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7739         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7740         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7741         multiarch strcspn for POWER7.
7742         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7743         multiarch strcspn for PPC64.
7744         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7745         ifunc selector.
7746         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7747         strcspn for POWER7.
7748
7749 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7750
7751         * math/gen-libm-test.pl (generate_testfile): Expect only function
7752         name as argument to AUTO_TESTS_* and pass results for all rounding
7753         modes to parse_args.
7754         (parse_auto_input): Separate inputs of automatic tests from
7755         outputs before storing in %auto_tests.
7756         * math/libm-test.inc (acos_test_data): Update call to
7757         AUTO_TESTS_f_f.
7758         (acos_test): Use ALL_RM_TEST.
7759         (acos_tonearest_test_data): Remove.
7760         (acos_test_tonearest): Likewise.
7761         (acos_towardzero_test_data): Likewise.
7762         (acos_test_towardzero): Likewise.
7763         (acos_downward_test_data): Likewise.
7764         (acos_test_downward): Likewise.
7765         (acos_upward_test_data): Likewise.
7766         (acos_test_upward): Likewise.
7767         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7768         (asin_test_data): Likewise.
7769         (asin_test): Use ALL_RM_TEST.
7770         (asin_tonearest_test_data): Remove.
7771         (asin_test_tonearest): Likewise.
7772         (asin_towardzero_test_data): Likewise.
7773         (asin_test_towardzero): Likewise.
7774         (asin_downward_test_data): Likewise.
7775         (asin_test_downward): Likewise.
7776         (asin_upward_test_data): Likewise.
7777         (asin_test_upward): Likewise.
7778         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7779         (atan_test_data): Likewise.
7780         (atanh_test_data): Likewise.
7781         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7782         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7783         (carg_test_data): Likewise.
7784         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7785         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7786         (ccosh_test_data): Likewise.
7787         (cexp_test_data): Likewise.
7788         (clog_test_data): Likewise.
7789         (clog10_test_data): Likewise.
7790         (cos_test_data): Update call to AUTO_TESTS_f_f.
7791         (cos_test): Use ALL_RM_TEST.
7792         (cos_tonearest_test_data): Remove.
7793         (cos_test_tonearest): Likewise.
7794         (cos_towardzero_test_data): Likewise.
7795         (cos_test_towardzero): Likewise.
7796         (cos_downward_test_data): Likewise.
7797         (cos_test_downward): Likewise.
7798         (cos_upward_test_data): Likewise.
7799         (cos_test_upward): Likewise.
7800         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7801         (cosh_test): Use ALL_RM_TEST.
7802         (cosh_tonearest_test_data): Remove.
7803         (cosh_test_tonearest): Likewise.
7804         (cosh_towardzero_test_data): Likewise.
7805         (cosh_test_towardzero): Likewise.
7806         (cosh_downward_test_data): Likewise.
7807         (cosh_test_downward): Likewise.
7808         (cosh_upward_test_data): Likewise.
7809         (cosh_test_upward): Likewise.
7810         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7811         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7812         (ctan_test_data): Likewise.
7813         (ctan_test): Use ALL_RM_TEST.
7814         (ctan_tonearest_test_data): Remove.
7815         (ctan_test_tonearest): Likewise.
7816         (ctan_towardzero_test_data): Likewise.
7817         (ctan_test_towardzero): Likewise.
7818         (ctan_downward_test_data): Likewise.
7819         (ctan_test_downward): Likewise.
7820         (ctan_upward_test_data): Likewise.
7821         (ctan_test_upward): Likewise.
7822         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7823         (ctanh_test): Use ALL_RM_TEST.
7824         (ctanh_tonearest_test_data): Remove.
7825         (ctanh_test_tonearest): Likewise.
7826         (ctanh_towardzero_test_data): Likewise.
7827         (ctanh_test_towardzero): Likewise.
7828         (ctanh_downward_test_data): Likewise.
7829         (ctanh_test_downward): Likewise.
7830         (ctanh_upward_test_data): Likewise.
7831         (ctanh_test_upward): Likewise.
7832         (erf_test_data): Update call to AUTO_TESTS_f_f.
7833         (erfc_test_data): Likewise.
7834         (exp_test_data): Likewise.
7835         (exp_test): Use ALL_RM_TEST.
7836         (exp_tonearest_test_data): Remove.
7837         (exp_test_tonearest): Likewise.
7838         (exp_towardzero_test_data): Likewise.
7839         (exp_test_towardzero): Likewise.
7840         (exp_downward_test_data): Likewise.
7841         (exp_test_downward): Likewise.
7842         (exp_upward_test_data): Likewise.
7843         (exp_test_upward): Likewise.
7844         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7845         (exp10_test): Use ALL_RM_TEST.
7846         (exp10_tonearest_test_data): Remove.
7847         (exp10_test_tonearest): Likewise.
7848         (exp10_towardzero_test_data): Likewise.
7849         (exp10_test_towardzero): Likewise.
7850         (exp10_downward_test_data): Likewise.
7851         (exp10_test_downward): Likewise.
7852         (exp10_upward_test_data): Likewise.
7853         (exp10_test_upward): Likewise.
7854         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7855         (expm1_test_data): Likewise.
7856         (expm1_test): Use ALL_RM_TEST.
7857         (expm1_tonearest_test_data): Remove.
7858         (expm1_test_tonearest): Likewise.
7859         (expm1_towardzero_test_data): Likewise.
7860         (expm1_test_towardzero): Likewise.
7861         (expm1_downward_test_data): Likewise.
7862         (expm1_test_downward): Likewise.
7863         (expm1_upward_test_data): Likewise.
7864         (expm1_test_upward): Likewise.
7865         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7866         (fma_test): Use ALL_RM_TEST.
7867         (fma_towardzero_test_data): Remove.
7868         (fma_test_towardzero): Likewise.
7869         (fma_downward_test_data): Likewise.
7870         (fma_test_downward): Likewise.
7871         (fma_upward_test_data): Likewise.
7872         (fma_test_upward): Likewise.
7873         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7874         (j0_test_data): Update call to AUTO_TESTS_f_f.
7875         (j1_test_data): Likewise.
7876         (jn_test_data): Update call to AUTO_TESTS_if_f.
7877         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7878         (log_test_data): Update call to AUTO_TESTS_f_f.
7879         (log10_test_data): Likewise.
7880         (log1p_test_data): Likewise.
7881         (log2_test_data): Likewise.
7882         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7883         (pow_tonearest_test_data): Likewise.
7884         (sin_test_data): Update call to AUTO_TESTS_f_f.
7885         (sin_test): Use ALL_RM_TEST.
7886         (sin_tonearest_test_data): Remove.
7887         (sin_test_tonearest): Likewise.
7888         (sin_towardzero_test_data): Likewise.
7889         (sin_test_towardzero): Likewise.
7890         (sin_downward_test_data): Likewise.
7891         (sin_test_downward): Likewise.
7892         (sin_upward_test_data): Likewise.
7893         (sin_test_upward): Likewise.
7894         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7895         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7896         (sinh_test): Use ALL_RM_TEST.
7897         (sinh_tonearest_test_data): Remove.
7898         (sinh_test_tonearest): Likewise.
7899         (sinh_towardzero_test_data): Likewise.
7900         (sinh_test_towardzero): Likewise.
7901         (sinh_downward_test_data): Likewise.
7902         (sinh_test_downward): Likewise.
7903         (sinh_upward_test_data): Likewise.
7904         (sinh_test_upward): Likewise.
7905         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7906         (sqrt_test): Use ALL_RM_TEST.
7907         (sqrt_tonearest_test_data): Remove.
7908         (sqrt_test_tonearest): Likewise.
7909         (sqrt_towardzero_test_data): Likewise.
7910         (sqrt_test_towardzero): Likewise.
7911         (sqrt_downward_test_data): Likewise.
7912         (sqrt_test_downward): Likewise.
7913         (sqrt_upward_test_data): Likewise.
7914         (sqrt_test_upward): Likewise.
7915         (tan_test_data): Update call to AUTO_TESTS_f_f.
7916         (tan_test): Use ALL_RM_TEST.
7917         (tan_tonearest_test_data): Remove.
7918         (tan_test_tonearest): Likewise.
7919         (tan_towardzero_test_data): Likewise.
7920         (tan_test_towardzero): Likewise.
7921         (tan_downward_test_data): Likewise.
7922         (tan_test_downward): Likewise.
7923         (tan_upward_test_data): Likewise.
7924         (tan_test_upward): Likewise.
7925         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7926         (tgamma_test_data): Likewise.
7927         (y0_test_data): Likewise.
7928         (y1_test_data): Likewise.
7929         (yn_test_data): Update call to AUTO_TESTS_if_f.
7930         (main): Do not call removed functions.
7931
7932 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7933
7934         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7935         (ldexp_test_data): Remove.
7936         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7937         scalbn_test_data.
7938         (scalb_test): Use ALL_RM_TEST.
7939
7940 2014-03-19  Andreas Schwab  <schwab@suse.de>
7941
7942         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7943
7944 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7945
7946         [BZ #16649]
7947         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7948         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7949         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7950         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7951         (__ASSUME_PREADV): Undefine.
7952         (__ASSUME_PWRITEV): Likewise.
7953
7954 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7955
7956         * bits/mman-linux.h: Add comment about non-Linux use.
7957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7958         bits/mman-linux.h resting place.
7959
7960         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7961         * bits/mman-linux.h: ... here.
7962
7963 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7964
7965         * conform/conformtest.pl: Add standard definition when calling C
7966         preprocessor on data files.
7967         (checknamespace): Remove unused variable.
7968
7969 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7970
7971         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7972         minus_oflow, plus_uflow and minus_uflow in expected results.
7973         * math/libm-test.inc (scalbn_test_data): Add more tests of
7974         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7975         minus_uflow.
7976         (scalbn_test): Use ALL_RM_TEST.
7977         (scalbln_test_data): Add more tests of negative arguments.  Use
7978         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7979         (scalbln_test): Use ALL_RM_TEST.
7980
7981 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7982
7983         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7984
7985 2014-03-18  Will Newton  <will.newton@linaro.org>
7986
7987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7988         inaccurate comment.
7989
7990 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7991
7992         * Makerules [!subdir] (check-abi): Exit with error status if a
7993         test failed.
7994
7995 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7996
7997         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7998         for rint.  Include results for all rounding modes.
7999         (nearbyint_test): Use ALL_RM_TEST.
8000         (rint_test_data): Include all tests used for nearbyint.
8001
8002 2014-03-17  Will Newton  <will.newton@linaro.org>
8003
8004         * nptl/sysdeps/pthread/pthread.h: Revert previous
8005         change.
8006
8007         * sysdeps/generic/ldsodefs.h: Revert previous
8008         change.
8009
8010         * libio/genops.c: Revert previous change.
8011         * libio/libioP.h: Likewise.
8012         * stdio-common/vfprintf.c: Likewise.
8013
8014         * sysdeps/generic/math_private.h: Revert previous
8015         change.
8016
8017         * sysdeps/generic/math_private.h: Check whether
8018         HAVE_RM_CTX is defined with #ifdef rather
8019         than #if.
8020
8021         * argp/argp-fmtstream.h: Check whether
8022         __STRICT_ANSI__ is defined with #ifdef rather
8023         than #if.
8024         * argp/argp.h: Likewise.
8025
8026         * libio/genops.c: Check whether
8027         _IO_JUMPS_OFFSET is defined with #ifdef rather
8028         than #if.
8029         * libio/libioP.h: Likewise.
8030         * stdio-common/vfprintf.c: Likewise.
8031
8032         * sysdeps/generic/ldsodefs.h: Check whether
8033         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8034         than #if.
8035
8036         * nptl/sysdeps/pthread/pthread.h: Check
8037         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8038         its value.
8039
8040 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8041
8042         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8043         setting O_APPEND.
8044         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8045         test case.
8046
8047         [BZ #16680]
8048         * libio/fileops.c (_IO_file_open): Seek to end of file but
8049         don't cache the offset.
8050         (get_file_offset): Remove function.
8051         (do_ftell): Use cached offset when available.
8052         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8053         don't cache the offset.
8054         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8055         case.
8056         (do_one_test): Call it.
8057         (do_ftell_test): Fix up expected old offset for a+ mode.
8058         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8059         available.
8060
8061         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8062         up test status with function return status.
8063         (do_write_test): Likewise.
8064         (do_append_test): Likewise.
8065
8066         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8067         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8068         Remove.
8069
8070 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8071
8072         * math/gen-libm-test.pl (parse_args): Handle results specified for
8073         each rounding mode separately.
8074         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8075         tests and results from lrint_tonearest_test_data,
8076         lrint_towardzero_test_data, lrint_downward_test_data and
8077         lrint_upward_test_data.
8078         (lrint_test): Use ALL_RM_TEST.
8079         (lrint_tonearest_test_data): Remove.
8080         (lrint_test_tonearest): Likewise.
8081         (lrint_towardzero_test_data): Likewise.
8082         (lrint_test_towardzero): Likewise.
8083         (lrint_downward_test_data): Likewise.
8084         (lrint_test_downward): Likewise.
8085         (lrint_upward_test_data): Likewise.
8086         (lrint_test_upward): Likewise.
8087         (llrint_test_data): Merge in per-rounding-mode tests and results
8088         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8089         llrint_downward_test_data and llrint_upward_test_data.
8090         (llrint_test): Use ALL_RM_TEST.
8091         (llrint_tonearest_test_data): Remove.
8092         (llrint_test_tonearest): Likewise.
8093         (llrint_towardzero_test_data): Likewise.
8094         (llrint_test_towardzero): Likewise.
8095         (llrint_downward_test_data): Likewise.
8096         (llrint_test_downward): Likewise.
8097         (llrint_upward_test_data): Likewise.
8098         (llrint_test_upward): Likewise.
8099         (rint_test_data): Merge in per-rounding-mode tests and results
8100         from rint_tonearest_test_data, rint_towardzero_test_data,
8101         rint_downward_test_data and rint_upward_test_data.  Add
8102         per-rounding-mode results for tests not in those arrays.
8103         (rint_test): Use ALL_RM_TEST.
8104         (rint_tonearest_test_data): Remove.
8105         (rint_test_tonearest): Likewise.
8106         (rint_towardzero_test_data): Likewise.
8107         (rint_test_towardzero): Likewise.
8108         (rint_downward_test_data): Likewise.
8109         (rint_test_downward): Likewise.
8110         (rint_upward_test_data): Likewise.
8111         (rint_test_upward): Likewise.
8112         (main): Don't call removed functions.
8113
8114 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8115
8116         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8117         "Compiled on ..." crapola.  It is anti-useful.
8118
8119 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8120
8121         * scripts/evaluate-test.sh: Handle fourth argument to determine
8122         whether test run should stop on failure.
8123         * Makeconfig (stop-on-test-failure): New variable.
8124         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8125         $(stop-on-test-failure).
8126         * Makefile (tests): Give a summary of results from testing and
8127         exit with failure status if they include an ERROR or FAIL.
8128         (xtests): Likewise.
8129         * manual/install.texi (Configuring and compiling): Mention
8130         stop-on-test-failure=y.
8131         * INSTALL: Regenerated.
8132
8133 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8134
8135         * scripts/versionlist.awk: New file.
8136         * Makerules [$(build-shared) = yes]
8137         (postclean-generated): Add Versions.def, not Versions.def.v and
8138         Versions.def.v.i.
8139         ($(common-objpfx)Versions.def.v.i): Target removed.
8140         ($(common-objpfx)Versions.def): New target.
8141         ($(common-objpfx)Versions.all): Depend on that rather that
8142         $(common-objpfx)Versions.def.v.
8143         * Versions.def: File removed.
8144
8145         * Makeconfig (+gccwarn): Add -Wundef.
8146         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8147         a dl-sysdep.h breaking its contract.
8148         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8149         * include/stackinfo.h: New file.
8150         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8151         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8152         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8153         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8154         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8155         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8156         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8157         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8158         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8159         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8160         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8161         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8162         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8163         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8164         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8165
8166 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8167
8168         [BZ #16707]
8169         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8170         implementation.
8171         * math/libm-test.inc (round_test_data): Add more tests.
8172
8173         [BZ #16706]
8174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8175         implementation.
8176         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8177
8178         [BZ #16701]
8179         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8180         implementation.
8181         * math/libm-test.inc (ceil_test_data): Add more tests.
8182
8183         * math/libm-test.inc (trunc_test_data): Add more tests related to
8184         BZ#16414.
8185
8186 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8187
8188         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8189         with #if rather than #ifdef.
8190         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8191
8192 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8193
8194         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8195         first.  Disable AVX-512 GCC support if assembler doesn't support
8196         it.
8197         * sysdeps/x86_64/configure: Regenerated.
8198
8199 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8200
8201         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8202         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8203         (__old_pthread_attr_setstack): Likewise.
8204         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8205         [!_STACK_GROWS_DOWN]: Likewise.
8206
8207 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8208
8209         * config.make.in (have-bash2): Delete.
8210         * configure.ac (libc_cv_have_bash2): Delete.
8211         * configure: Regenerate.
8212         * elf/Makefile (common-ldd-rewrite): Rename to ...
8213         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8214         (sh-ldd-rewrite): Delete.
8215         (bash-ldd-rewrite): Delete.
8216         (have-bash2): Delete checks.
8217         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8218         ldd-rewrite.
8219
8220         * config.make.in (have-ksh): Delete.
8221         (KSH): Delete.
8222         * configure.ac (libc_cv_have_ksh): Delete.
8223         * configure: Regenerate.
8224
8225         * elf/Makefile: Delete $(have-ksh) check.
8226         ($(objpfx)sotruss): Change KSH to BASH.
8227         * elf/sotruss.ksh: Rename to ...
8228         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8229         function style to match POSIX.  Drop ksh vim mode setting.
8230
8231         * manual/time.texi (Specifying the Time Zone with TZ): Change
8232         Tuesday to Thursday.
8233
8234         * debug/tst-longjmp_chk2.c: Update header comment.
8235         (stackoverflow_handler): Add comment.  Call assert on pass value.
8236
8237 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8238
8239         [BZ #16194]
8240         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8241         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8242         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8243         (La_x86_64_vector): Add zmm.
8244         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8245         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8246         ($(objpfx)tst-audit10): New target.
8247         ($(objpfx)tst-audit10.out): Likewise.
8248         (tst-audit10-ENV): New.
8249         (AVX512-CFLAGS): Likewise.
8250         (CFLAGS-tst-audit10.c): Likewise.
8251         (CFLAGS-tst-auditmod10a.c): Likewise.
8252         (CFLAGS-tst-auditmod10b.c): Likewise.
8253         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8254         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8255         * sysdeps/x86_64/configure: Regenerated.
8256         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8257         AVX-512 zmm register support.
8258         (_dl_x86_64_save_sse): Likewise.
8259         (_dl_x86_64_restore_sse): Likewise.
8260         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8261         size vector registers.
8262         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8263         (ZMM_SIZE): Likewise.
8264         * sysdeps/x86_64/tst-audit10.c: New file.
8265         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8266         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8267
8268 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8269
8270         * configure.ac (HAVE_EHDR_START): New check.
8271         * configure: Regenerated.
8272         * config.h.in (HAVE_EHDR_START): New #undef.
8273         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8274         assuming the lowest-addressed segment maps the start of the file.
8275
8276 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8277
8278         * INSTALL: Regenerated.
8279
8280 2014-03-13  Will Newton  <will.newton@linaro.org>
8281
8282         * manual/setjmp.texi (System V contexts): Improve
8283         clarity and grammar of documentation.
8284
8285 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8286
8287         [BZ #16381]
8288         * elf/Makefile (tests): Add tst-pie2.
8289         (tests-pie): Add tst-pie2.
8290         * elf/tst-pie2.c: New file.
8291         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8292         for ET_EXEC.
8293         * elf/rtld.c (map_doit): Load executable as lt_executable.
8294         (dl_main): Likewise.
8295
8296 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8297
8298         [BZ #16642]
8299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8300         (__ASSUME_PSELECT): Undefine.
8301
8302 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8303
8304         [BZ #16689]
8305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8306         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8307         static build.
8308         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8309         selector for static builds.
8310
8311 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8312
8313         [BZ #16695]
8314         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8315         key in the buffer.
8316
8317 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8318
8319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8320         IFUNC selector for static builds.
8321
8322 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8323
8324         * sysdeps/mips/math_private.h [__mips_hard_float]
8325         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8326         libc_feresetround_mips_ctx.
8327         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8328         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8329         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8330
8331         [BZ #16677]
8332         * math/s_nextafter.c (__nextafter): Do not return value from
8333         overflowing computation.
8334         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8335         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8337         Likewise.
8338         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8339         Likewise.
8340         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8341         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8342
8343 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8344
8345         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8346         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8347         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8348         the new mov targetting sp.
8349
8350 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8351
8352         [BZ #16683]
8353         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8354         Define it for static builds as well.
8355         (NO_BZERO_IMPL): Likewise.
8356
8357 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8358
8359         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8360         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8361         multiarch strspn for PPC64.
8362         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8363         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8365         (__libc_ifunc_impl_list): Likewise.
8366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8367         multiarch optimizations
8368         * string/strspn.c (strspn): Using macro to redefine symbol name.
8369
8370 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8372
8373         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8374         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8375         multiarch strncat for PPC64.
8376         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8377         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8379         (__libc_ifunc_impl_list): Likewise.
8380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8381         multiarch optimizations
8382
8383 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8384
8385         [BZ #16639]
8386         * nscd/nscd.service: Make service type forking.
8387
8388 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8389
8390         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8391         sign in non default rounding modes.
8392         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8393
8394 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8395
8396         * math/libm-test.inc (ALL_RM_TEST): New macro.
8397         (ceil_test): Use ALL_RM_TEST.
8398         (cimag_test): Likewise.
8399         (conj_test): Likewise.
8400         (copysign_test): Likewise.
8401         (cproj_test): Likewise.
8402         (creal_test): Likewise.
8403         (fabs_test): Likewise.
8404         (floor_test): Likewise.
8405         (fmax_test): Likewise.
8406         (fmin_test): Likewise.
8407         (fmod_test): Likewise.
8408         (fpclassify_test): Likewise.
8409         (frexp_test): Likewise.
8410         (ilogb_test): Likewise.
8411         (isfinite_test): Likewise.
8412         (finite_test): Likewise.
8413         (isgreater_test): Likewise.
8414         (isgreaterequal_test): Likewise.
8415         (isinf_test): Likewise.
8416         (isless_test): Likewise.
8417         (islessequal_test): Likewise.
8418         (islessgreater_test): Likewise.
8419         (isnan_test): Likewise.
8420         (isnormal_test): Likewise.
8421         (issignaling_test): Likewise.
8422         (isunordered_test): Likewise.
8423         (logb_test): Likewise.
8424         (logb_downward_test_data): Remove.
8425         (logb_test_downward): Likewise.
8426         (lround_test): Use ALL_RM_TEST.
8427         (llround_test): Likewise.
8428         (modf_test): Likewise.
8429         (nexttoward_test): Likewise.
8430         (remainder_test): Likewise.
8431         (drem_test): Likewise.
8432         (remainder_tonearest_test_data): Likewise.
8433         (remainder_test_tonearest): Likewise.
8434         (drem_test_tonearest): Likewise.
8435         (remainder_towardzero_test_data): Likewise.
8436         (remainder_test_towardzero): Likewise.
8437         (drem_test_towardzero): Likewise.
8438         (remainder_downward_test_data): Likewise.
8439         (remainder_test_downward): Likewise.
8440         (drem_test_downward): Likewise.
8441         (remainder_upward_test_data): Likewise.
8442         (remainder_test_upward): Likewise.
8443         (drem_test_upward): Likewise.
8444         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8445         (round_test): Use ALL_RM_TEST.
8446         (signbit_test): Likewise.
8447         (trunc_test): Likewise.
8448         (significand_test): Likewise.
8449         (main): Don't call removed functions.
8450
8451 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8452
8453         [BZ #16674]
8454         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8455         || __USE_XOPEN2K8].
8456         (ILL_ILLOPN): Likewise.
8457         (ILL_ILLADR): Likewise.
8458         (ILL_ILLTRP): Likewise.
8459         (ILL_PRVOPC): Likewise.
8460         (ILL_PRVREG): Likewise.
8461         (ILL_COPROC): Likewise.
8462         (ILL_BADSTK): Likewise.
8463         (FPE_INTDIV): Likewise.
8464         (FPE_INTOVF): Likewise.
8465         (FPE_FLTDIV): Likewise.
8466         (FPE_FLTOVF): Likewise.
8467         (FPE_FLTUND): Likewise.
8468         (FPE_FLTRES): Likewise.
8469         (FPE_FLTINV): Likewise.
8470         (FPE_FLTSUB): Likewise.
8471         (SEGV_MAPERR): Likewise.
8472         (SEGV_ACCERR): Likewise.
8473         (BUS_ADRALN): Likewise.
8474         (BUS_ADRERR): Likewise.
8475         (BUS_OBJERR): Likewise.
8476         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8477         (TRAP_TRACE): Likewise.
8478         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8479         __USE_XOPEN2K8].
8480         (CLD_KILLED): Likewise.
8481         (CLD_DUMPED): Likewise.
8482         (CLD_TRAPPED): Likewise.
8483         (CLD_STOPPED): Likewise.
8484         (CLD_CONTINUED): Likewise.
8485         (POLL_IN): Likewise.
8486         (POLL_OUT): Likewise.
8487         (POLL_MSG): Likewise.
8488         (POLL_ERR): Likewise.
8489         (POLL_PRI): Likewise.
8490         (POLL_HUP): Likewise.
8491         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8492         Likewise.
8493         (ILL_ILLOPN): Likewise.
8494         (ILL_ILLADR): Likewise.
8495         (ILL_ILLTRP): Likewise.
8496         (ILL_PRVOPC): Likewise.
8497         (ILL_PRVREG): Likewise.
8498         (ILL_COPROC): Likewise.
8499         (ILL_BADSTK): Likewise.
8500         (FPE_INTDIV): Likewise.
8501         (FPE_INTOVF): Likewise.
8502         (FPE_FLTDIV): Likewise.
8503         (FPE_FLTOVF): Likewise.
8504         (FPE_FLTUND): Likewise.
8505         (FPE_FLTRES): Likewise.
8506         (FPE_FLTINV): Likewise.
8507         (FPE_FLTSUB): Likewise.
8508         (SEGV_MAPERR): Likewise.
8509         (SEGV_ACCERR): Likewise.
8510         (BUS_ADRALN): Likewise.
8511         (BUS_ADRERR): Likewise.
8512         (BUS_OBJERR): Likewise.
8513         (BUS_MCEERR_AR): Likewise.
8514         (BUS_MCEERR_AO): Likewise.
8515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8516         (TRAP_TRACE): Likewise.
8517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8518         __USE_XOPEN2K8].
8519         (CLD_KILLED): Likewise.
8520         (CLD_DUMPED): Likewise.
8521         (CLD_TRAPPED): Likewise.
8522         (CLD_STOPPED): Likewise.
8523         (CLD_CONTINUED): Likewise.
8524         (POLL_IN): Likewise.
8525         (POLL_OUT): Likewise.
8526         (POLL_MSG): Likewise.
8527         (POLL_ERR): Likewise.
8528         (POLL_PRI): Likewise.
8529         (POLL_HUP): Likewise.
8530         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8531         (ILL_ILLOPN): Likewise.
8532         (ILL_ILLADR): Likewise.
8533         (ILL_ILLTRP): Likewise.
8534         (ILL_PRVOPC): Likewise.
8535         (ILL_PRVREG): Likewise.
8536         (ILL_COPROC): Likewise.
8537         (ILL_BADSTK): Likewise.
8538         (FPE_INTDIV): Likewise.
8539         (FPE_INTOVF): Likewise.
8540         (FPE_FLTDIV): Likewise.
8541         (FPE_FLTOVF): Likewise.
8542         (FPE_FLTUND): Likewise.
8543         (FPE_FLTRES): Likewise.
8544         (FPE_FLTINV): Likewise.
8545         (FPE_FLTSUB): Likewise.
8546         (SEGV_MAPERR): Likewise.
8547         (SEGV_ACCERR): Likewise.
8548         (BUS_ADRALN): Likewise.
8549         (BUS_ADRERR): Likewise.
8550         (BUS_OBJERR): Likewise.
8551         (BUS_MCEERR_AR): Likewise.
8552         (BUS_MCEERR_AO): Likewise.
8553         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8554         (TRAP_TRACE): Likewise.
8555         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8556         __USE_XOPEN2K8].
8557         (CLD_KILLED): Likewise.
8558         (CLD_DUMPED): Likewise.
8559         (CLD_TRAPPED): Likewise.
8560         (CLD_STOPPED): Likewise.
8561         (CLD_CONTINUED): Likewise.
8562         (POLL_IN): Likewise.
8563         (POLL_OUT): Likewise.
8564         (POLL_MSG): Likewise.
8565         (POLL_ERR): Likewise.
8566         (POLL_PRI): Likewise.
8567         (POLL_HUP): Likewise.
8568         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8569         Likewise.
8570         (ILL_ILLOPN): Likewise.
8571         (ILL_ILLADR): Likewise.
8572         (ILL_ILLTRP): Likewise.
8573         (ILL_PRVOPC): Likewise.
8574         (ILL_PRVREG): Likewise.
8575         (ILL_COPROC): Likewise.
8576         (ILL_BADSTK): Likewise.
8577         (ILL_BADIADDR): Likewise.
8578         (ILL_BREAK): Likewise.
8579         (FPE_INTDIV): Likewise.
8580         (FPE_INTOVF): Likewise.
8581         (FPE_FLTDIV): Likewise.
8582         (FPE_FLTOVF): Likewise.
8583         (FPE_FLTUND): Likewise.
8584         (FPE_FLTRES): Likewise.
8585         (FPE_FLTINV): Likewise.
8586         (FPE_FLTSUB): Likewise.
8587         (FPE_DECOVF): Likewise.
8588         (FPE_DECDIV): Likewise.
8589         (FPE_DECERR): Likewise.
8590         (FPE_INVASC): Likewise.
8591         (FPE_INVDEC): Likewise.
8592         (SEGV_MAPERR): Likewise.
8593         (SEGV_ACCERR): Likewise.
8594         (SEGV_PSTKOVF): Likewise.
8595         (BUS_ADRALN): Likewise.
8596         (BUS_ADRERR): Likewise.
8597         (BUS_OBJERR): Likewise.
8598         (BUS_MCEERR_AR): Likewise.
8599         (BUS_MCEERR_AO): Likewise.
8600         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8601         (TRAP_TRACE): Likewise.
8602         (TRAP_BRANCH): Likewise.
8603         (TRAP_HWBKPT): Likewise.
8604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8605         __USE_XOPEN2K8].
8606         (CLD_KILLED): Likewise.
8607         (CLD_DUMPED): Likewise.
8608         (CLD_TRAPPED): Likewise.
8609         (CLD_STOPPED): Likewise.
8610         (CLD_CONTINUED): Likewise.
8611         (POLL_IN): Likewise.
8612         (POLL_OUT): Likewise.
8613         (POLL_MSG): Likewise.
8614         (POLL_ERR): Likewise.
8615         (POLL_PRI): Likewise.
8616         (POLL_HUP): Likewise.
8617         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8618         (ILL_ILLOPN): Likewise.
8619         (ILL_ILLADR): Likewise.
8620         (ILL_ILLTRP): Likewise.
8621         (ILL_PRVOPC): Likewise.
8622         (ILL_PRVREG): Likewise.
8623         (ILL_COPROC): Likewise.
8624         (ILL_BADSTK): Likewise.
8625         (FPE_INTDIV): Likewise.
8626         (FPE_INTOVF): Likewise.
8627         (FPE_FLTDIV): Likewise.
8628         (FPE_FLTOVF): Likewise.
8629         (FPE_FLTUND): Likewise.
8630         (FPE_FLTRES): Likewise.
8631         (FPE_FLTINV): Likewise.
8632         (FPE_FLTSUB): Likewise.
8633         (SEGV_MAPERR): Likewise.
8634         (SEGV_ACCERR): Likewise.
8635         (BUS_ADRALN): Likewise.
8636         (BUS_ADRERR): Likewise.
8637         (BUS_OBJERR): Likewise.
8638         (BUS_MCEERR_AR): Likewise.
8639         (BUS_MCEERR_AO): Likewise.
8640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8641         (TRAP_TRACE): Likewise.
8642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8643         __USE_XOPEN2K8].
8644         (CLD_KILLED): Likewise.
8645         (CLD_DUMPED): Likewise.
8646         (CLD_TRAPPED): Likewise.
8647         (CLD_STOPPED): Likewise.
8648         (CLD_CONTINUED): Likewise.
8649         (POLL_IN): Likewise.
8650         (POLL_OUT): Likewise.
8651         (POLL_MSG): Likewise.
8652         (POLL_ERR): Likewise.
8653         (POLL_PRI): Likewise.
8654         (POLL_HUP): Likewise.
8655         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8656         (ILL_ILLOPN): Likewise.
8657         (ILL_ILLADR): Likewise.
8658         (ILL_ILLTRP): Likewise.
8659         (ILL_PRVOPC): Likewise.
8660         (ILL_PRVREG): Likewise.
8661         (ILL_COPROC): Likewise.
8662         (ILL_BADSTK): Likewise.
8663         (FPE_INTDIV): Likewise.
8664         (FPE_INTOVF): Likewise.
8665         (FPE_FLTDIV): Likewise.
8666         (FPE_FLTOVF): Likewise.
8667         (FPE_FLTUND): Likewise.
8668         (FPE_FLTRES): Likewise.
8669         (FPE_FLTINV): Likewise.
8670         (FPE_FLTSUB): Likewise.
8671         (SEGV_MAPERR): Likewise.
8672         (SEGV_ACCERR): Likewise.
8673         (BUS_ADRALN): Likewise.
8674         (BUS_ADRERR): Likewise.
8675         (BUS_OBJERR): Likewise.
8676         (BUS_MCEERR_AR): Likewise.
8677         (BUS_MCEERR_AO): Likewise.
8678         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8679         (TRAP_TRACE): Likewise.
8680         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8681         __USE_XOPEN2K8].
8682         (CLD_KILLED): Likewise.
8683         (CLD_DUMPED): Likewise.
8684         (CLD_TRAPPED): Likewise.
8685         (CLD_STOPPED): Likewise.
8686         (CLD_CONTINUED): Likewise.
8687         (POLL_IN): Likewise.
8688         (POLL_OUT): Likewise.
8689         (POLL_MSG): Likewise.
8690         (POLL_ERR): Likewise.
8691         (POLL_PRI): Likewise.
8692         (POLL_HUP): Likewise.
8693         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8694         (ILL_ILLOPN): Likewise.
8695         (ILL_ILLADR): Likewise.
8696         (ILL_ILLTRP): Likewise.
8697         (ILL_PRVOPC): Likewise.
8698         (ILL_PRVREG): Likewise.
8699         (ILL_COPROC): Likewise.
8700         (ILL_BADSTK): Likewise.
8701         (FPE_INTDIV): Likewise.
8702         (FPE_INTOVF): Likewise.
8703         (FPE_FLTDIV): Likewise.
8704         (FPE_FLTOVF): Likewise.
8705         (FPE_FLTUND): Likewise.
8706         (FPE_FLTRES): Likewise.
8707         (FPE_FLTINV): Likewise.
8708         (FPE_FLTSUB): Likewise.
8709         (SEGV_MAPERR): Likewise.
8710         (SEGV_ACCERR): Likewise.
8711         (BUS_ADRALN): Likewise.
8712         (BUS_ADRERR): Likewise.
8713         (BUS_OBJERR): Likewise.
8714         (BUS_MCEERR_AR): Likewise.
8715         (BUS_MCEERR_AO): Likewise.
8716         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8717         (TRAP_TRACE): Likewise.
8718         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8719         __USE_XOPEN2K8].
8720         (CLD_KILLED): Likewise.
8721         (CLD_DUMPED): Likewise.
8722         (CLD_TRAPPED): Likewise.
8723         (CLD_STOPPED): Likewise.
8724         (CLD_CONTINUED): Likewise.
8725         (POLL_IN): Likewise.
8726         (POLL_OUT): Likewise.
8727         (POLL_MSG): Likewise.
8728         (POLL_ERR): Likewise.
8729         (POLL_PRI): Likewise.
8730         (POLL_HUP): Likewise.
8731         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8732         (ILL_ILLOPN): Likewise.
8733         (ILL_ILLADR): Likewise.
8734         (ILL_ILLTRP): Likewise.
8735         (ILL_PRVOPC): Likewise.
8736         (ILL_PRVREG): Likewise.
8737         (ILL_COPROC): Likewise.
8738         (ILL_BADSTK): Likewise.
8739         (ILL_DBLFLT): Likewise.
8740         (ILL_HARDWALL): Likewise.
8741         (FPE_INTDIV): Likewise.
8742         (FPE_INTOVF): Likewise.
8743         (FPE_FLTDIV): Likewise.
8744         (FPE_FLTOVF): Likewise.
8745         (FPE_FLTUND): Likewise.
8746         (FPE_FLTRES): Likewise.
8747         (FPE_FLTINV): Likewise.
8748         (FPE_FLTSUB): Likewise.
8749         (SEGV_MAPERR): Likewise.
8750         (SEGV_ACCERR): Likewise.
8751         (BUS_ADRALN): Likewise.
8752         (BUS_ADRERR): Likewise.
8753         (BUS_OBJERR): Likewise.
8754         (BUS_MCEERR_AR): Likewise.
8755         (BUS_MCEERR_AO): Likewise.
8756         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8757         (TRAP_TRACE): Likewise.
8758         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8759         __USE_XOPEN2K8].
8760         (CLD_KILLED): Likewise.
8761         (CLD_DUMPED): Likewise.
8762         (CLD_TRAPPED): Likewise.
8763         (CLD_STOPPED): Likewise.
8764         (CLD_CONTINUED): Likewise.
8765         (POLL_IN): Likewise.
8766         (POLL_OUT): Likewise.
8767         (POLL_MSG): Likewise.
8768         (POLL_ERR): Likewise.
8769         (POLL_PRI): Likewise.
8770         (POLL_HUP): Likewise.
8771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8772         (ILL_ILLOPN): Likewise.
8773         (ILL_ILLADR): Likewise.
8774         (ILL_ILLTRP): Likewise.
8775         (ILL_PRVOPC): Likewise.
8776         (ILL_PRVREG): Likewise.
8777         (ILL_COPROC): Likewise.
8778         (ILL_BADSTK): Likewise.
8779         (FPE_INTDIV): Likewise.
8780         (FPE_INTOVF): Likewise.
8781         (FPE_FLTDIV): Likewise.
8782         (FPE_FLTOVF): Likewise.
8783         (FPE_FLTUND): Likewise.
8784         (FPE_FLTRES): Likewise.
8785         (FPE_FLTINV): Likewise.
8786         (FPE_FLTSUB): Likewise.
8787         (SEGV_MAPERR): Likewise.
8788         (SEGV_ACCERR): Likewise.
8789         (BUS_ADRALN): Likewise.
8790         (BUS_ADRERR): Likewise.
8791         (BUS_OBJERR): Likewise.
8792         (BUS_MCEERR_AR): Likewise.
8793         (BUS_MCEERR_AO): Likewise.
8794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8795         (TRAP_TRACE): Likewise.
8796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8797         __USE_XOPEN2K8].
8798         (CLD_KILLED): Likewise.
8799         (CLD_DUMPED): Likewise.
8800         (CLD_TRAPPED): Likewise.
8801         (CLD_STOPPED): Likewise.
8802         (CLD_CONTINUED): Likewise.
8803         (POLL_IN): Likewise.
8804         (POLL_OUT): Likewise.
8805         (POLL_MSG): Likewise.
8806         (POLL_ERR): Likewise.
8807         (POLL_PRI): Likewise.
8808         (POLL_HUP): Likewise.
8809         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8810         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8811
8812         [BZ #16670]
8813         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8814         before #include of <time.h>.
8815         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8816         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8817         (test-xfail-UNIX98/sched.h/conform): Likewise.
8818
8819 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8820
8821         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8822         error absence of trapping exception support.
8823         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8824
8825 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8826
8827         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8828         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8829         * timezone/Makefile (testdata): Move definition above include of
8830         Rules.
8831         (test-zones): New variable.
8832         (tests-special): Add zone files.
8833         (build-testdata): Use $(evaluate-test).
8834
8835         * elf/Makefile (tests-special): Rename tests to end with .out.
8836         ($(objpfx)noload-mem): Likewise.
8837         ($(objpfx)tst-leaks1-mem): Likewise.
8838         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8839         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8840         $(objpfx)test-iconvconfig.out.
8841         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8842         set -e inside subshell and redirect output to file.
8843         * iconvdata/Makefile (generated): Rename tests to end with .out.
8844         Correct type.
8845         (tests-special): Rename tests to end with .out.
8846         ($(objpfx)mtrace-tst-loading): Likewise.
8847         * intl/Makefile (generated): Likewise.
8848         (tests-special): Likewise.
8849         ($(objpfx)mtrace-tst-gettext): Likewise.
8850         * misc/Makefile (generated): Likewise.
8851         (tests-special): Likewise.
8852         ($(objpfx)tst-error1-mem): Likewise.
8853         * nptl/Makefile (tests-special): Likewise.
8854         ($(objpfx)tst-stack3-mem): Likewise.
8855         (generated): Likewise.
8856         * posix/Makefile (generated): Likewise.
8857         (tests-special): Likewise.
8858         (xtests-special): Likewise.
8859         ($(objpfx)tst-fnmatch-mem): Likewise.
8860         ($(objpfx)bug-regex2-mem): Likewise.
8861         ($(objpfx)bug-regex14-mem): Likewise.
8862         ($(objpfx)bug-regex21-mem): Likewise.
8863         ($(objpfx)bug-regex31-mem): Likewise.
8864         ($(objpfx)tst-vfork3-mem): Likewise.
8865         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8866         ($(objpfx)tst-pcre-mem): Likewise.
8867         ($(objpfx)tst-boost-mem): Likewise.
8868         ($(objpfx)bug-ga2-mem): Likewise.
8869         ($(objpfx)bug-glob2-mem): Likewise.
8870         * resolv/Makefile (generate): Likewise.
8871         (tests-special): Likewise.
8872         (xtests-special): Likewise.
8873         (generated): Likewise.
8874         ($(objpfx)mtrace-tst-leaks): Likewise.
8875         ($(objpfx)mtrace-tst-leaks2): Likewise.
8876
8877         * scripts/merge-test-results.sh: New file.
8878         * Makefile (tests-special-notdir): New variable.
8879         (tests): Run merge-test-results.sh.
8880         (xtests): Likewise.
8881         * Rules (tests-special-notdir): New variable.
8882         (xtests-special-notdir): Likewise.
8883         (tests): Run merge-test-results.sh
8884         (xtests): Likewise.
8885
8886         * Makeconfig (test-xfail-name): New variable.
8887         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8888         compute variable name for expected failures.
8889         * conform/Makefile (conformtest-headers-data): New variable.
8890         (conformtest-standards): Likewise.
8891         (conformtest-headers-ISO): Likewise.
8892         (conformtest-headers-ISO99): Likewise.
8893         (conformtest-headers-ISO11): Likewise.
8894         (conformtest-headers-POSIX): Likewise.
8895         (conformtest-headers-XPG3): Likewise.
8896         (conformtest-headers-XPG4): Likewise.
8897         (conformtest-headers-UNIX98): Likewise.
8898         (conformtest-headers-XOPEN2K): Likewise.
8899         (conformtest-headers-POSIX2008): Likewise.
8900         (conformtest-headers-XOPEN2K8): Likewise.
8901         (conformtest-header-list-base): Likewise.
8902         (conformtest-header-list-tests): Likewise.
8903         (conformtest-header-base): Likewise.
8904         (conformtest-header-tests): Likewise.
8905         (tests-special): Add $(conformtest-header-list-tests).  If
8906         [$(fast-check) && !$(cross-compiling)], add
8907         $(conformtest-header-tests) instead of
8908         $(objpfx)run-conformtest.out.
8909         (generated): Add $(conformtest-header-list-base).  If
8910         [$(fast-check) && !$(cross-compiling)], add
8911         $(conformtest-header-base).  Remove previous setting.
8912         ($(conformtest-header-list-tests)): New target.
8913         (test-xfail-run-conformtest): Remove variable.
8914         ($(objpfx)run-conformtest.out): Remove target.
8915         (test-xfail-ISO11/complex.h/conform): New variable.
8916         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8917         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8918         (test-xfail-XPG3/varargs.h/conform): Likewise.
8919         (test-xfail-XPG4/varargs.h/conform): Likewise.
8920         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8921         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8922         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8923         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8924         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8925         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8926         (test-xfail-XPG3/ftw.h/conform): Likewise.
8927         (test-xfail-XPG3/grp.h/conform): Likewise.
8928         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8929         (test-xfail-XPG3/limits.h/conform): Likewise.
8930         (test-xfail-XPG3/pwd.h/conform): Likewise.
8931         (test-xfail-XPG3/search.h/conform): Likewise.
8932         (test-xfail-XPG3/signal.h/conform): Likewise.
8933         (test-xfail-XPG3/stdio.h/conform): Likewise.
8934         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8935         (test-xfail-XPG3/string.h/conform): Likewise.
8936         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8937         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8938         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8939         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8940         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8941         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8942         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8943         (test-xfail-XPG3/termios.h/conform): Likewise.
8944         (test-xfail-XPG3/time.h/conform): Likewise.
8945         (test-xfail-XPG3/unistd.h/conform): Likewise.
8946         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8947         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8948         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8949         (test-xfail-XPG4/netdb.h/conform): Likewise.
8950         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8951         (test-xfail-XPG4/signal.h/conform): Likewise.
8952         (test-xfail-XPG4/stdio.h/conform): Likewise.
8953         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8954         (test-xfail-XPG4/stropts.h/conform): Likewise.
8955         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8956         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8957         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8958         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8959         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8960         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8961         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8962         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8963         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8964         (test-xfail-XPG4/termios.h/conform): Likewise.
8965         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8966         (test-xfail-XPG4/unistd.h/conform): Likewise.
8967         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8968         (test-xfail-POSIX/sched.h/conform): Likewise.
8969         (test-xfail-POSIX/signal.h/conform): Likewise.
8970         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8971         (test-xfail-POSIX/tar.h/conform): Likewise.
8972         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8973         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8974         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8975         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8976         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8977         (test-xfail-UNIX98/sched.h/conform): Likewise.
8978         (test-xfail-UNIX98/signal.h/conform): Likewise.
8979         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8980         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8981         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8982         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8983         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8984         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8985         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8986         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8987         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8988         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8989         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8990         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8991         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8992         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8993         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8994         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8995         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8996         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8997         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8998         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8999         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9000         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9001         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9002         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9003         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9004         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9005         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9006         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9007         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9008         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9009         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9010         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9011         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9012         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9013         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9014         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9015         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9016         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9017         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9018         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9019         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9020         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9021         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9022         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9023         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9024         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9025         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9026         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9027         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9028         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9029         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9030         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9031         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9032         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9033         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9034         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9035         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9036         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9037         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9038         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9039         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9040         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9041         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9042         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9043         (conformtest-cc-flags): Likewise.
9044         ($(conformtest-header-tests): New target.
9045         * conform/check-header-lists.sh: New file.
9046         * conform/run-conformtest.sh: Remove.
9047
9048         * conform/conformtest.pl: Allow ' and \ in values given for
9049         constants.
9050         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9051         inclusion.
9052         [POSIX] (sys/types.h): Likewise.
9053         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9054         inclusion.
9055         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9056         inclusion.
9057         * conform/data/signal.h-data (SIGIO): Remove expectation.
9058         [XPG3] (SIGBUS): Do not expect.
9059         [POSIX || XPG3] (SIGPOLL): Likewise.
9060         [POSIX || XPG3] (SIGPROF): Likewise.
9061         [POSIX || XPG3] (SIGSYS): Likewise.
9062         [XPG3] (SIGTRAP): Likewise.
9063         [POSIX || XPG3] (SIGURG): Likewise.
9064         [POSIX || XPG3] (SIGVTALRM): Likewise.
9065         [POSIX || XPG3] (SIGXCPU): Likewise.
9066         [POSIX || XPG3] (SIGXFSZ): Likewise.
9067         [POSIX] (SA_SIGINFO): Expect.
9068         [XPG3] (siginfo_t): Do not expect type or contents.
9069         [POSIX] (si_pid): Do not expect element.
9070         [POSIX] (si_uid): Likewise.
9071         [POSIX] (si_addr): Likewise.
9072         [POSIX] (si_status): Likewise.
9073         [POSIX] (si_band): Likewise.
9074         [XPG4] (si_value): Likewise.
9075         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9076         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9077         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9078         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9079         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9080         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9081         [POSIX || XPG3] (ILL_COPROC): Likewise.
9082         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9083         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9084         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9085         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9086         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9087         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9088         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9089         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9090         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9091         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9092         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9093         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9094         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9095         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9096         [POSIX || XPG3] (CLD_EXITED): Likewise.
9097         [POSIX || XPG3] (CLD_KILLED): Likewise.
9098         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9099         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9100         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9101         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9102         [POSIX || XPG3] (POLL_IN): Likewise.
9103         [POSIX || XPG3] (POLL_OUT): Likewise.
9104         [POSIX || XPG3] (POLL_MSG): Likewise.
9105         [POSIX || XPG3] (POLL_ERR): Likewise.
9106         [POSIX || XPG3] (POLL_PRI): Likewise.
9107         [POSIX || XPG3] (POLL_HUP): Likewise.
9108         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9109         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9110         (SIG*): Do not allow.
9111         [XPG3] (si_*): Likewise.
9112         [XPG3] (SI_*): Likewise.
9113         [XPG3 || XPG4] (sigev_*): Likewise.
9114         [XPG3 || XPG4] (SIGEV_*): Likewise.
9115         [XPG3 || XPG4] (sival_*): Likewise.
9116         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9117         [POSIX || XPG3] (BUS_*): Likewise.
9118         [POSIX || XPG3] (CLD_*): Likewise.
9119         [POSIX || XPG3] (FPE_*): Likewise.
9120         [POSIX || XPG3] (ILL_*): Likewise.
9121         [POSIX || XPG3] (POLL_*): Likewise.
9122         [POSIX || XPG3] (SEGV_*): Likewise.
9123         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9124         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9125         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9126         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9127         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9128         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9129         Specify type and value.
9130         (TVERSLEN): Likewise.
9131         (REGTYPE): Likewise.
9132         (AREGTYPE): Likewise.
9133         (LNKTYPE): Likewise.
9134         (SYMTYPE): Likewise.
9135         (CHRTYPE): Likewise.
9136         (BLKTYPE): Likewise.
9137         (DIRTYPE): Likewise.
9138         (FIFOTYPE): Likewise.
9139         (CONTTYPE): Likewise.
9140         (TSUID): Likewise.
9141         (TSGID): Likewise.
9142         (TSVTX): Likewise.
9143         (TUREAD): Likewise.
9144         (TUWRITE): Likewise.
9145         (TUEXEC): Likewise.
9146         (TGREAD): Likewise.
9147         (TGWRITE): Likewise.
9148         (TGEXEC): Likewise.
9149         (TOREAD): Likewise.
9150         (TOWRITE): Likewise.
9151         (TOEXEC): Likewise.
9152         [POSIX] (TSVTX): Expect constant.
9153
9154 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9155
9156         * Makefile (tests): Change dependencies to ....
9157         (tests-special): ... additions to this variable.
9158         (tests): Depend on $(tests-special).
9159         * Makerules (check-abi-list): New variable.
9160         (check-abi): Depend on $(check-abi-list).
9161         [$(subdir) = elf] (tests-special): Add
9162         $(objpfx)check-abi-libc.out.
9163         [$(build-shared) = yes && subdir] (tests-special): Add
9164         $(check-abi-list).
9165         [$(build-shared) = yes && subdir] (tests): Do not depend on
9166         check-abi.
9167         * Rules (tests): Depend on $(tests-special).
9168         (xtests): Depend on $(xtests-special).
9169         * catgets/Makefile (tests): Change dependencies to ....
9170         (tests-special): ... additions to this variable.
9171         * conform/Makefile (tests): Change dependencies to ....
9172         (tests-special): ... additions to this variable.
9173         * elf/Makefile (tests): Change dependencies to ....
9174         (tests-special): ... additions to this variable.
9175         * grp/Makefile (tests): Change dependencies to ....
9176         (tests-special): ... additions to this variable.
9177         * iconv/Makefile (xtests): Change dependencies to ....
9178         (xtests-special): ... additions to this variable.
9179         * iconvdata/Makefile (tests): Change dependencies to ....
9180         (tests-special): ... additions to this variable.
9181         * intl/Makefile (tests): Change dependencies to ....
9182         (tests-special): ... additions to this variable.  Also add
9183         $(objpfx)tst-gettext.out.
9184         * io/Makefile (tests): Change dependencies to ....
9185         (tests-special): ... additions to this variable.
9186         * libio/Makefile (tests): Change dependencies to ....
9187         (tests-special): ... additions to this variable.
9188         * malloc/Makefile (tests): Change dependencies to ....
9189         (tests-special): ... additions to this variable.
9190         * misc/Makefile (tests): Change dependencies to ....
9191         (tests-special): ... additions to this variable.
9192         * nptl/Makefile (tests): Change dependencies to ....
9193         (tests-special): ... additions to this variable.
9194         * nptl_db/Makefile (tests): Change dependencies to ....
9195         (tests-special): ... additions to this variable.
9196         * posix/Makefile (tests): Change dependencies to ....
9197         (tests-special): ... additions to this variable.
9198         (xtests): Change dependencies to ....
9199         (xtests-special): ... additions to this variable.
9200         * resolv/Makefile (tests): Change dependencies to ....
9201         (tests-special): ... additions to this variable.
9202         (xtests): Change dependencies to ....
9203         (xtests-special): ... additions to this variable.
9204         * stdio-common/Makefile (tests): Change dependencies to ....
9205         (tests-special): ... additions to this variable.
9206         (do-tst-unbputc): Remove target.
9207         (do-tst-printf): Likewise.
9208         * stdlib/Makefile (tests): Change dependencies to ....
9209         (tests-special): ... additions to this variable.
9210         * string/Makefile (tests): Change dependencies to ....
9211         (tests-special): ... additions to this variable.
9212         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9213         (tests-special): ... additions to this variable.
9214
9215         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9216         whole file.
9217         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9218         whole file.
9219         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9220         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9221
9222         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9223         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9224         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9225         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9226         * conform/data/libgen.h-data [XPG3]: Likewise.
9227         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9228         * conform/data/ndbm.h-data [XPG3]: Likewise.
9229         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9230         * conform/data/netdb.h-data [XPG3]: Likewise.
9231         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9232         * conform/data/poll.h-data [XPG3]: Likewise.
9233         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9234         * conform/data/strings.h-data [XPG3]: Likewise.
9235         * conform/data/stropts.h-data [XPG3]: Likewise.
9236         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9237         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9238         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9239         Likewise.
9240         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9241         * conform/data/sys/time.h-data [XPG3]: Likewise.
9242         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9243         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9244         * conform/data/sys/un.h-data [XPG3]: Likewise.
9245         * conform/data/syslog.h-data [XPG3]: Likewise.
9246         * conform/data/ucontext.h-data [XPG3]: Likewise.
9247         * conform/data/utmpx.h-data [XPG3]: Likewise.
9248         * conform/data/varargs.h-data [UNIX98]: Enable file.
9249
9250         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9251
9252         * math/libm-test.inc (struct test_f_f_data): Move expected results
9253         into structure for each rounding mode.
9254         (struct test_ff_f_data): Likewise.
9255         (struct test_ff_f_data_nexttoward): Likewise.
9256         (struct test_fi_f_data): Likewise.
9257         (struct test_fl_f_data): Likewise.
9258         (struct test_if_f_data): Likewise.
9259         (struct test_fff_f_data): Likewise.
9260         (struct test_c_f_data): Likewise.
9261         (struct test_f_f1_data): Likewise.
9262         (struct test_fF_f1_data): Likewise.
9263         (struct test_ffI_f1_data): Likewise.
9264         (struct test_c_c_data): Likewise.
9265         (struct test_cc_c_data): Likewise.
9266         (struct test_f_i_data): Likewise.
9267         (struct test_ff_i_data): Likewise.
9268         (struct test_f_l_data): Likewise.
9269         (struct test_f_L_data): Likewise.
9270         (struct test_fFF_11_data): Likewise.
9271         (RM_): New macro.
9272         (RM_FE_DOWNWARD): Likewise.
9273         (RM_FE_TONEAREST): Likewise.
9274         (RM_FE_TOWARDZERO): Likewise.
9275         (RM_FE_UPWARD): Likewise.
9276         (RUN_TEST_LOOP_f_f): Update references to expected results.
9277         (RUN_TEST_LOOP_2_f): Likewise.
9278         (RUN_TEST_LOOP_fff_f): Likewise.
9279         (RUN_TEST_LOOP_c_f): Likewise.
9280         (RUN_TEST_LOOP_f_f1): Likewise.
9281         (RUN_TEST_LOOP_fF_f1): Likewise.
9282         (RUN_TEST_LOOP_fI_f1): Likewise.
9283         (RUN_TEST_LOOP_ffI_f1): Likewise.
9284         (RUN_TEST_LOOP_c_c): Likewise.
9285         (RUN_TEST_LOOP_cc_c): Likewise.
9286         (RUN_TEST_LOOP_f_i): Likewise.
9287         (RUN_TEST_LOOP_f_i_tg): Likewise.
9288         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9289         (RUN_TEST_LOOP_f_b): Likewise.
9290         (RUN_TEST_LOOP_f_b_tg): Likewise.
9291         (RUN_TEST_LOOP_f_l): Likewise.
9292         (RUN_TEST_LOOP_f_L): Likewise.
9293         (RUN_TEST_LOOP_fFF_11): Likewise.
9294         * math/gen-libm-test.pl (parse_args): Output four copies of
9295         expected results for each test.
9296
9297         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9298         (__ASSUME_UTIMES): Remove.
9299         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9300         (__ASSUME_UTIMES): Likewise.
9301
9302         * math/gen-auto-libm-tests.c: Update comment on output format.
9303         (output_for_one_input_case): Generate before-rounding and
9304         after-rounding information as conditions on output flags not
9305         floating-point format.
9306         * math/auto-libm-test-out: Regenerated.
9307         * math/gen-libm-test.pl (cond_value): New function.
9308         (or_cond_value): Use cond_value.
9309         (generate_testfile): Handle conditional exceptions.
9310
9311 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9312
9313         * math/libm-test.inc (max_valid_error): New variable.
9314         (init_max_error): Take new argument specifying whether function
9315         results are exactly determined.  Set max_valid_error and bound
9316         other variables for errors based on this argument.
9317         (set_max_error): Do not record results above max_valid_error.
9318         (check_float_internal): Only accept errors of up to 0.5ulps if
9319         also at most max_valid_error.
9320         (START): Take new argument EXACT and pass it to init_max_error.
9321         (acos_test): Update call to START.
9322         (acos_test_tonearest): Likewise.
9323         (acos_test_towardzero): Likewise.
9324         (acos_test_downward): Likewise.
9325         (acos_test_upward): Likewise.
9326         (acosh_test): Likewise.
9327         (asin_test): Likewise.
9328         (asin_test_tonearest): Likewise.
9329         (asin_test_towardzero): Likewise.
9330         (asin_test_downward): Likewise.
9331         (asin_test_upward): Likewise.
9332         (asinh_test): Likewise.
9333         (atan_test): Likewise.
9334         (atanh_test): Likewise.
9335         (atan2_test): Likewise.
9336         (cabs_test): Likewise.
9337         (cacos_test): Likewise.
9338         (cacosh_test): Likewise.
9339         (carg_test): Likewise.
9340         (casin_test): Likewise.
9341         (casinh_test): Likewise.
9342         (catan_test): Likewise.
9343         (catanh_test): Likewise.
9344         (cbrt_test): Likewise.
9345         (ccos_test): Likewise.
9346         (ccosh_test): Likewise.
9347         (ceil_test): Likewise.
9348         (cexp_test): Likewise.
9349         (cimag_test): Likewise.
9350         (clog_test): Likewise.
9351         (clog10_test): Likewise.
9352         (conj_test): Likewise.
9353         (copysign_test): Likewise.
9354         (cos_test): Likewise.
9355         (cos_test_tonearest): Likewise.
9356         (cos_test_towardzero): Likewise.
9357         (cos_test_downward): Likewise.
9358         (cos_test_upward): Likewise.
9359         (cosh_test): Likewise.
9360         (cosh_test_tonearest): Likewise.
9361         (cosh_test_towardzero): Likewise.
9362         (cosh_test_downward): Likewise.
9363         (cosh_test_upward): Likewise.
9364         (cpow_test): Likewise.
9365         (cproj_test): Likewise.
9366         (creal_test): Likewise.
9367         (csin_test): Likewise.
9368         (csinh_test): Likewise.
9369         (csqrt_test): Likewise.
9370         (ctan_test): Likewise.
9371         (ctan_test_tonearest): Likewise.
9372         (ctan_test_towardzero): Likewise.
9373         (ctan_test_downward): Likewise.
9374         (ctan_test_upward): Likewise.
9375         (ctanh_test): Likewise.
9376         (ctanh_test_tonearest): Likewise.
9377         (ctanh_test_towardzero): Likewise.
9378         (ctanh_test_downward): Likewise.
9379         (ctanh_test_upward): Likewise.
9380         (erf_test): Likewise.
9381         (erfc_test): Likewise.
9382         (exp_test): Likewise.
9383         (exp_test_tonearest): Likewise.
9384         (exp_test_towardzero): Likewise.
9385         (exp_test_downward): Likewise.
9386         (exp_test_upward): Likewise.
9387         (exp10_test): Likewise.
9388         (exp10_test_tonearest): Likewise.
9389         (exp10_test_towardzero): Likewise.
9390         (exp10_test_downward): Likewise.
9391         (exp10_test_upward): Likewise.
9392         (pow10_test): Likewise.
9393         (exp2_test): Likewise.
9394         (expm1_test): Likewise.
9395         (expm1_test_tonearest): Likewise.
9396         (expm1_test_towardzero): Likewise.
9397         (expm1_test_downward): Likewise.
9398         (expm1_test_upward): Likewise.
9399         (fabs_test): Likewise.
9400         (fdim_test): Likewise.
9401         (floor_test): Likewise.
9402         (fma_test): Likewise.
9403         (fma_test_towardzero): Likewise.
9404         (fma_test_downward): Likewise.
9405         (fma_test_upward): Likewise.
9406         (fmax_test): Likewise.
9407         (fmin_test): Likewise.
9408         (fmod_test): Likewise.
9409         (fpclassify_test): Likewise.
9410         (frexp_test): Likewise.
9411         (hypot_test): Likewise.
9412         (ilogb_test): Likewise.
9413         (isfinite_test): Likewise.
9414         (finite_test): Likewise.
9415         (isgreater_test): Likewise.
9416         (isgreaterequal_test): Likewise.
9417         (isinf_test): Likewise.
9418         (isless_test): Likewise.
9419         (islessequal_test): Likewise.
9420         (islessgreater_test): Likewise.
9421         (isnan_test): Likewise.
9422         (isnormal_test): Likewise.
9423         (issignaling_test): Likewise.
9424         (isunordered_test): Likewise.
9425         (j0_test): Likewise.
9426         (j1_test): Likewise.
9427         (jn_test): Likewise.
9428         (ldexp_test): Likewise.
9429         (lgamma_test): Likewise.
9430         (gamma_test): Likewise.
9431         (lrint_test): Likewise.
9432         (lrint_test_tonearest): Likewise.
9433         (lrint_test_towardzero): Likewise.
9434         (lrint_test_downward): Likewise.
9435         (lrint_test_upward): Likewise.
9436         (llrint_test): Likewise.
9437         (llrint_test_tonearest): Likewise.
9438         (llrint_test_towardzero): Likewise.
9439         (llrint_test_downward): Likewise.
9440         (llrint_test_upward): Likewise.
9441         (log_test): Likewise.
9442         (log10_test): Likewise.
9443         (log1p_test): Likewise.
9444         (log2_test): Likewise.
9445         (logb_test): Likewise.
9446         (logb_test_downward): Likewise.
9447         (lround_test): Likewise.
9448         (llround_test): Likewise.
9449         (modf_test): Likewise.
9450         (nearbyint_test): Likewise.
9451         (nextafter_test): Likewise.
9452         (nexttoward_test): Likewise.
9453         (pow_test): Likewise.
9454         (pow_test_tonearest): Likewise.
9455         (pow_test_towardzero): Likewise.
9456         (pow_test_downward): Likewise.
9457         (pow_test_upward): Likewise.
9458         (remainder_test): Likewise.
9459         (drem_test): Likewise.
9460         (remainder_test_tonearest): Likewise.
9461         (drem_test_tonearest): Likewise.
9462         (remainder_test_towardzero): Likewise.
9463         (drem_test_towardzero): Likewise.
9464         (remainder_test_downward): Likewise.
9465         (drem_test_downward): Likewise.
9466         (remainder_test_upward): Likewise.
9467         (drem_test_upward): Likewise.
9468         (remquo_test): Likewise.
9469         (rint_test): Likewise.
9470         (rint_test_tonearest): Likewise.
9471         (rint_test_towardzero): Likewise.
9472         (rint_test_downward): Likewise.
9473         (rint_test_upward): Likewise.
9474         (round_test): Likewise.
9475         (scalb_test): Likewise.
9476         (scalbn_test): Likewise.
9477         (scalbln_test): Likewise.
9478         (signbit_test): Likewise.
9479         (sin_test): Likewise.
9480         (sin_test_tonearest): Likewise.
9481         (sin_test_towardzero): Likewise.
9482         (sin_test_downward): Likewise.
9483         (sin_test_upward): Likewise.
9484         (sincos_test): Likewise.
9485         (sinh_test): Likewise.
9486         (sinh_test_tonearest): Likewise.
9487         (sinh_test_towardzero): Likewise.
9488         (sinh_test_downward): Likewise.
9489         (sinh_test_upward): Likewise.
9490         (sqrt_test): Likewise.
9491         (sqrt_test_tonearest): Likewise.
9492         (sqrt_test_towardzero): Likewise.
9493         (sqrt_test_downward): Likewise.
9494         (sqrt_test_upward): Likewise.
9495         (tan_test): Likewise.
9496         (tan_test_tonearest): Likewise.
9497         (tan_test_towardzero): Likewise.
9498         (tan_test_downward): Likewise.
9499         (tan_test_upward): Likewise.
9500         (tanh_test): Likewise.
9501         (tgamma_test): Likewise.
9502         (trunc_test): Likewise.
9503         (y0_test): Likewise.
9504         (y1_test): Likewise.
9505         (yn_test): Likewise.
9506         (significand_test): Likewise.
9507
9508         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9509         individual tests in comment.
9510         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9511         (prev_max_error): New variable.
9512         (prev_real_max_error): Likewise.
9513         (prev_imag_max_error): Likewise.
9514         (compare_ulp_data): Don't refer to test names in comment.
9515         (find_test_ulps): Remove function.
9516         (find_function_ulps): Likewise.
9517         (find_complex_function_ulps): Likewise.
9518         (init_max_error): Take function name as argument.  Look up ulps
9519         for that function.
9520         (print_ulps): Remove function.
9521         (print_max_error): Use prev_max_error instead of calling
9522         find_function_ulps.
9523         (print_complex_max_error): Use prev_real_max_error and
9524         prev_imag_max_error instead of calling find_complex_function_ulps.
9525         (check_float_internal): Take max_ulp parameter instead of calling
9526         find_test_ulps.  Don't call print_ulps.
9527         (check_float): Update call to check_float_internal.
9528         (check_complex): Update calls to check_float_internal.
9529         (START): Pass argument to init_max_error.
9530         * math/gen-libm-test.pl (%results): Don't include "kind"
9531         information.
9532         (parse_ulps): Don't handle ulps of individual tests.
9533         (print_ulps_file): Likewise.
9534         (output_ulps): Likewise.
9535         * math/README.libm-test: Update.
9536         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9537         individual tests.
9538         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9539         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9540         * sysdeps/arm/libm-test-ulps: Likewise.
9541         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9542         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9543         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9544         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9545         * sysdeps/microblaze/libm-test-ulps: Likewise.
9546         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9547         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9549         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9550         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9551         * sysdeps/sh/libm-test-ulps: Likewise.
9552         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9553         * sysdeps/tile/libm-test-ulps: Likewise.
9554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9555
9556 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9557
9558         * math/libm-test.inc (print_complex_max_error): Check separately
9559         whether real and imaginary errors are within allowed range and
9560         pass 0 to print_complex_function_ulps instead of value within
9561         allowed range.
9562
9563 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9564
9565         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9566         formatting.
9567         (get_handles_fopen): Likewise.
9568         (do_write_test): Likewise.
9569
9570         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9571
9572         * libio/fileops.c (do_ftell): Use cached offset when
9573         available.
9574         * libio/iofwide.c (do_ftell_wide): Likewise.
9575         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9576         _IO_file_attach.
9577         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9578
9579         [BZ #16532]
9580         * libio/libioP.h (get_file_offset): New function.
9581         * libio/fileops.c (get_file_offset): Likewise.
9582         (do_ftell): Likewise.
9583         (_IO_new_file_seekoff): Split out ftell logic.
9584         * libio/wfileops.c (do_ftell_wide): Likewise.
9585         (_IO_wfile_seekoff): Split out ftell logic.
9586         * libio/tst-ftell-active-handler.c: New test case.
9587         * libio/Makefile (tests): Add it.
9588
9589 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9590
9591         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9592         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9593
9594 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9595
9596         [BZ #16639]
9597         * nscd/connections.c (nscd_init): Call do_exit.
9598         (start_threads): Call do_exit and notify_parent.
9599         (begin_drop_privileges): Call do_exit.
9600         (finish_drop_privileges): Likewise.
9601         * nscd/selinux.c (preserve_capabilities): Likewise.
9602         (install_real_capabilities): Likewise.
9603         (nscd_selinux_enabled): Likewise.
9604         (avc_create_thread): Likewise.
9605         (avc_alloc_lock): Likewise.
9606         (nscd_avc_init): Likewise.
9607         * nscd/nscd.c (parent_fd): New static variable.
9608         (main): Create a pipe between parent and child processes.
9609         Skip closing parent_fd.
9610         (monitor_child): New function.
9611         (do_exit): Likewise.
9612         (notify_parent): Likewise.
9613         * nscd/nscd.h (notify_parent): Likewise.
9614         (do_exit): Likewise.
9615
9616 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9617
9618         * malloc/malloc.c (__libc_calloc): Revert last change.
9619
9620 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9621
9622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9623
9624 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9625
9626         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9628         implementation.
9629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9630         (__libc_ifunc_impl_list): Likewise.
9631         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9632         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9633         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9634         * string/strrchr.c: Define STRRCHR.
9635
9636 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9637
9638         * benchtest/bench-strtok.c (simple_strtok): Delete.
9639         (strtok_string): Use as benchmark.
9640         * string/strtok (STRTOK): New macro.
9641
9642 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9643
9644         * manual/threads.texi: Add header and standard comments to all
9645         functions.
9646
9647         * elf/dl-lookup.c (check_match): New function.
9648         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9649         (do_lookup_x): Remove nested function check_match. Use non-nested
9650         function check_match.
9651
9652 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9653
9654         * csu/Makefile (generated, before-compile): Use += rather than =.
9655         * catgets/Makefile (generated, generated-dirs): Likewise.
9656         * debug/Makefile (generated): Likewise.
9657         * dlfcn/Makefile (generated): Likewise.
9658         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9659         * iconvdata/Makefile (before-compile, generated): Likewise.
9660         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9661         * libio/Makefile (generated): Likewise.
9662         * malloc/Makefile (generated): Likewise.
9663         * manual/Makefile (generated, generated-dirs): Likewise.
9664         * misc/Makefile (generated): Likewise.
9665         * posix/Makefile (generated): Likewise.
9666         * resolv/Makefile (generated): Likewise.
9667         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9668         * timezone/Makefile (generated, generated-dirs): Likewise.
9669
9670         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9671
9672 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9673
9674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9675         power8 implementation.
9676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9677         file: POWER8 llround ifunc implementation.
9678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9679         (__lllround): Add POWER8 implementation.
9680         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9681         POWER8 llround implementation.
9682
9683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9684         power8 implementation.
9685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9686         file: POWER8 llrint ifunc implementation.
9687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9688         Add POWER8 implementation.
9689         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9690         POWER8 llrint implementation.
9691
9692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9693         power8 implementation.
9694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9695         file: POWER8 finite ifunc implementation.
9696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9697         Add POWER8 implementation.
9698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9699         Likewise.
9700         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9701         POWER8 finite implementation.
9702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9703
9704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9705         power8 implementation.
9706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9707         file: POWER8 isinf ifunc implementation.
9708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9709         POWER8 implementation.
9710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9711         Likewise.
9712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9713         isinf implementation.
9714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9715
9716         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9717         (INIT_ARCH): Add hwcap2 initialization.
9718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9719         power8 implementation.
9720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9721         file: POWER8 isnan ifunc implementation.
9722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9723         POWER8 implementation.
9724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9725         Likewise.
9726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9727         isnan implementation.
9728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9729
9730 2014-02-27  Joey Ye  <joey.ye@arm.com>
9731
9732         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9733         (_FP_NANFRAC_Q): Set to zero.
9734
9735 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9736
9737         [BZ #16623]
9738         * math/auto-libm-test-in: New test inputs.
9739         * math/auto-libm-test-out: Regenerate.
9740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9741         and DA.
9742         (__cos): Likewise.
9743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9744
9745 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9746
9747         * scripts/evaluate-test.sh: Take new argument indicating whether
9748         failure is expected.
9749         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9750         indicating whether failure is expected.
9751         * conform/Makefile (test-xfail-run-conformtest): New variable.
9752         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9753         level.
9754         * posix/Makefile (test-xfail-annexc): New variable.
9755         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9756
9757 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9758
9759         * argp/Makefile: Include Makeconfig immediately after defining
9760         subdir.
9761         * assert/Makefile: Likewise.
9762         * benchtests/Makefile: Likewise.
9763         * catgets/Makefile: Likewise.
9764         * conform/Makefile: Likewise.
9765         * crypt/Makefile: Likewise.
9766         * csu/Makefile: Likewise.
9767         (all): Remove target.
9768         * ctype/Makefile: Include Makeconfig immediately after defining
9769         subdir.
9770         * debug/Makefile: Likewise.
9771         * dirent/Makefile: Likewise.
9772         * dlfcn/Makefile: Likewise.
9773         * gmon/Makefile: Likewise.
9774         * gnulib/Makefile: Likewise.
9775         * grp/Makefile: Likewise.
9776         * gshadow/Makefile: Likewise.
9777         * hesiod/Makefile: Likewise.
9778         * hurd/Makefile: Likewise.
9779         (all): Remove target.
9780         * iconvdata/Makefile: Include Makeconfig immediately after
9781         defining subdir.
9782         * inet/Makefile: Likewise.
9783         * intl/Makefile: Likewise.
9784         * io/Makefile: Likewise.
9785         * libio/Makefile: Likewise.
9786         (all): Remove target.
9787         * locale/Makefile: Include Makeconfig immediately after defining
9788         subdir.
9789         * login/Makefile: Likewise.
9790         * mach/Makefile: Likewise.
9791         (all): Remove target.
9792         * malloc/Makefile: Include Makeconfig immediately after defining
9793         subdir.
9794         (all): Remove target.
9795         * manual/Makefile: Include Makeconfig immediately after defining
9796         subdir.
9797         * math/Makefile: Likewise.
9798         * misc/Makefile: Likewise.
9799         * nis/Makefile: Likewise.
9800         * nss/Makefile: Likewise.
9801         * po/Makefile: Likewise.
9802         (all): Remove target.
9803         * posix/Makefile: Include Makeconfig immediately after defining
9804         subdir.
9805         * pwd/Makefile: Likewise.
9806         * resolv/Makefile: Likewise.
9807         * resource/Makefile: Likewise.
9808         * rt/Makefile: Likewise.
9809         * setjmp/Makefile: Likewise.
9810         * shadow/Makefile: Likewise.
9811         * signal/Makefile: Likewise.
9812         * socket/Makefile: Likewise.
9813         * soft-fp/Makefile: Likewise.
9814         * stdio-common/Makefile: Likewise.
9815         * stdlib/Makefile: Likewise.
9816         * streams/Makefile: Likewise.
9817         * string/Makefile: Likewise.
9818         * sunrpc/Makefile: Likewise.
9819         (all): Remove target.
9820         * sysvipc/Makefile: Include Makeconfig immediately after defining
9821         subdir.
9822         * termios/Makefile: Likewise.
9823         * time/Makefile: Likewise.
9824         * timezone/Makefile: Likewise.
9825         (all): Remove target.
9826         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9827         subdir.
9828         * wctype/Makefile: Likewise.
9829
9830 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9831
9832         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9833         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9834         (libc_feholdexcept_setround_mips): Ditto.
9835         (libc_feholdsetround): New.
9836         (libc_feholdsetroundf): New.
9837         (libc_feholdsetroundl): New.
9838         (libc_feupdateenv_test_mips): New.
9839         (libc_feupdateenv_test): New.
9840         (libc_feupdateenv_testf): New.
9841         (libc_feupdateenv_testl): New.
9842         (libc_feresetround): New.
9843         (libc_feresetroundf): New.
9844         (libc_feresetroundl): New.
9845         (libc_fetestexcept_mips): New.
9846         (libc_fetestexcept): New.
9847         (libc_fetestexceptf): New.
9848         (libc_fetestexceptl): New.
9849         (HAVE_RM_CTX): New.
9850         (libc_feholdexcept_setround_mips_ctx): New.
9851         (libc_feholdexcept_setround_ctx): New.
9852         (libc_feholdexcept_setroundf_ctx): New.
9853         (libc_feholdexcept_setroundl_ctx): New.
9854         (libc_fesetenv_mips_ctx): New.
9855         (libc_fesetenv_ctx): New.
9856         (libc_fesetenv_ctxf): New.
9857         (libc_fesetenv_ctxl): New.
9858         (libc_feupdateenv_mips_ctx): New.
9859         (libc_feupdateenv_ctx): New.
9860         (libc_feupdateenvf_ctx): New.
9861         (libc_feupdateenvl_ctx): New.
9862         (libc_feholdsetround_mips_ctx): New.
9863         (libc_feholdsetround_ctx): New.
9864         (libc_feholdsetroundf_ctx): New.
9865         (libc_feholdsetroundl_ctx): New.
9866         (libc_feresetround_mips_ctx): New.
9867         (libc_feresetround_ctx): New.
9868         (libc_feresetroundf_ctx): New.
9869         (libc_feresetroundl_ctx): New.
9870
9871 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9872
9873         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9874
9875         * manual/ipc.texi: New file.
9876         * manual/Makefile (chapters): Add ipc.
9877         * manual/job.texi: Add "Inter-Process Communication" to next.
9878         * manual/process.texi: Add "Inter-Process Communication" to prev.
9879
9880 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9881
9882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9883
9884 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9885
9886         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9887
9888         * manual/arith.texi: Fix spaces after sentences.
9889         * manual/charset.texi: Likewise.
9890         * manual/errno.texi: Likewise.
9891         * manual/install.texi: Likewise.
9892         * manual/llio.texi: Likewise.
9893         * manual/locale.texi: Likewise.
9894         * manual/maint.texi: Likewise.
9895         * manual/math.texi: Likewise.
9896         * manual/memory.texi: Likewise.
9897         * manual/message.texi: Likewise.
9898         * manual/probes.texi: Likewise.
9899         * manual/resource.texi: Likewise.
9900         * manual/signal.texi: Likewise.
9901         * manual/socket.texi: Likewise.
9902         * manual/stdio.texi: Likewise.
9903         * manual/string.texi: Likewise.
9904         * manual/time.texi: Likewise.
9905         * manual/users.texi: Likewise.
9906
9907 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9908
9909         [BZ #16632]
9910         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9911         _DEFAULT_SOURCE is defined.
9912
9913 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9914             Carlos O'Donell  <carlos@redhat.com>
9915
9916         [BZ #16613]
9917         * elf/dl-tls.c (_dl_count_modids): New function.
9918         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9919         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9920         audit library and increment generation counter.
9921         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9922         * elf/tst-audit9.c: New file.
9923         * elf/tst-auditmod9a.c: New file.
9924         * elf/tst-auditmod9b.c: New file.
9925         * elf/Makefile: Add rules to build and run tst-audit9.
9926
9927 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9928
9929         [BZ #15347]
9930         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9931
9932 2014-02-25  Will Newton  <will.newton@linaro.org>
9933
9934         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9935         (__longjmp): Restore sp and lr before restoring callee
9936         saved registers.  Add longjmp and longjmp_target
9937         SystemTap probe point.
9938         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9939         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9940         Define to zero to match jmpbuf layout.
9941         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9942         (__sigsetjmp): Save sp and lr before saving callee
9943         saved registers.  Add setjmp SystemTap probe point.
9944
9945 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9946
9947         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9948
9949 2014-02-24  Andreas Schwab  <schwab@suse.de>
9950
9951         [BZ #15804]
9952         * elf/pldd.c (wait_for_ptrace_stop): New function.
9953         (main): Call it after attaching.
9954
9955 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9956
9957         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9958         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9959         Versions files is now verboten.
9960         * hurd/Versions (libc: GLIBC_2.0):
9961         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9962         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9963         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9964         * mach/Versions: Likewise.
9965
9966         * csu/Versions: Remove unused %include.
9967         * resolv/Versions: Likewise.
9968
9969 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9970
9971         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9972         ($(objpfx)check-local-headers.out): Likewise.
9973         ($(objpfx)begin-end-check.out): Likewise.
9974         * Makerules (check-abi-%.out): Likewise.
9975         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9976         ($(objpfx)test2.cat): Likewise.
9977         ($(objpfx)de/libc.cat): Likewise.
9978         ($(objpfx)test-gencat.out): Likewise.
9979         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9980         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9981         ($(objpfx)noload-mem): Likewise.
9982         ($(objpfx)tst-pathopt.out): Likewise.
9983         ($(objpfx)tst-rtld-load-self.out): Likewise.
9984         ($(objpfx)tst-array1-cmp.out): Likewise.
9985         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9986         ($(objpfx)tst-array2-cmp.out): Likewise.
9987         ($(objpfx)tst-array3-cmp.out): Likewise.
9988         ($(objpfx)tst-array4-cmp.out): Likewise.
9989         ($(objpfx)tst-array5-cmp.out): Likewise.
9990         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9991         ($(objpfx)check-textrel.out): Likewise.
9992         ($(objpfx)check-execstack.out): Likewise.
9993         ($(objpfx)check-localplt.out): Likewise.
9994         ($(objpfx)order2-cmp.out): Likewise.
9995         ($(objpfx)tst-leaks1-mem): Likewise.
9996         ($(objpfx)tst-leaks1-static-mem): Likewise.
9997         ($(objpfx)tst-initorder-cmp.out): Likewise.
9998         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9999         ($(objpfx)tst-unused-dep.out): Likewise.
10000         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10001         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10002         * iconv/Makefile (test-iconvconfig): Likewise.
10003         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10004         ($(objpfx)iconv-test.out): Likewise.
10005         ($(objpfx)tst-tables.out): Likewise.
10006         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10007         ($(objpfx)tst-gettext.out): Likewise.
10008         ($(objpfx)tst-translit.out): Likewise.
10009         ($(objpfx)tst-gettext2.out): Likewise.
10010         ($(objpfx)tst-gettext4.out): Likewise.
10011         ($(objpfx)tst-gettext6.out): Likewise.
10012         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10013         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10014         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10015         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10016         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10017         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10018         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10019         ($(objpfx)wordexp-tst.out): Likewise.
10020         ($(objpfx)annexc.out): Likewise.
10021         ($(objpfx)tst-fnmatch-mem): Likewise.
10022         ($(objpfx)bug-regex2-mem): Likewise.
10023         ($(objpfx)bug-regex14-mem): Likewise.
10024         ($(objpfx)bug-regex21-mem): Likewise.
10025         ($(objpfx)bug-regex31-mem): Likewise.
10026         ($(objpfx)tst-vfork3-mem): Likewise.
10027         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10028         ($(objpfx)tst-pcre-mem): Likewise.
10029         ($(objpfx)tst-boost-mem): Likewise.
10030         ($(objpfx)tst-getconf.out): Likewise.
10031         ($(objpfx)bug-ga2-mem): Likewise.
10032         ($(objpfx)bug-glob2-mem): Likewise.
10033         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10034         ($(objpfx)mtrace-tst-leaks2): Likewise.
10035         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10036         ($(objpfx)tst-printf.out): Likewise.
10037         ($(objpfx)tst-setvbuf1.out): Likewise.
10038         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10039         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10040         ($(objpfx)tst-fmtmsg.out): Likewise.
10041         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10042         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10043
10044         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10045         * bits/sigaction.h [__USE_MISC]: Likewise.
10046         * bits/waitstatus.h: Update #endif comments.
10047         * ctype/ctype.h: Likewise.
10048         * dirent/dirent.h: Likewise.
10049         [__USE_MISC]: Remove redundant conditionals.
10050         * grp/grp.h: Update #endif comments.
10051         [__USE_GNU]: Remove redundant conditionals.
10052         [__USE_MISC]: Likewise.
10053         * inet/netinet/in.h [__USE_GNU]: Likewise.
10054         * io/sys/stat.h [__USE_MISC]: Likewise.
10055         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10056         * libio/bits/stdio.h: Update #endif comments.
10057         [__USE_MISC]: Remove redundant conditionals.
10058         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10059         * libio/stdio.h: Update #endif comments.
10060         [__USE_MISC]: Remove redundant conditionals.
10061         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10062         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10063         * math/math.h: Update #else and #endif comments.
10064         [__USE_MISC]: Remove redundant conditionals.
10065         * misc/sys/uio.h: Update #endif comments.
10066         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10067         * posix/glob.h [__USE_MISC]: Likewise.
10068         * posix/sys/types.h: Update #endif comments.
10069         [__USE_MISC]: Remove redundant conditionals.
10070         * posix/sys/wait.h: Update #endif comments.
10071         [__USE_MISC]: Remove redundant conditionals.
10072         * posix/unistd.h: Update #endif comments.
10073         [__USE_MISC]: Remove redundant conditionals.
10074         * pwd/pwd.h [__USE_GNU]: Likewise.
10075         [__USE_MISC]: Likewise.
10076         * resolv/netdb.h [__USE_GNU]: Likewise.
10077         * signal/signal.h: Update #endif comments.
10078         [__USE_MISC]: Remove redundant conditionals.
10079         * stdlib/stdlib.h: Update #else and #endif comments.
10080         [__USE_MISC]: Remove redundant conditionals.
10081         [__USE_GNU]: Likewise.
10082         * string/bits/string2.h [__USE_MISC]: Likewise.
10083         * string/string.h: Update #endif comments.
10084         [__USE_MISC]: Remove redundant conditionals.
10085         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10086         Likewise.
10087         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10088         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10089         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10090         Likewise.
10091         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10092         Likewise.
10093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10094         comments.
10095         [__USE_MISC]: Remove redundant conditionals.
10096         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10097         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10098         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10099         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10100         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10101         Likewise.
10102         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10103         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10104         Likewise.
10105         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10106         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10107         Likewise.
10108         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10109         Likewise.
10110         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10111         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10112         Likewise.
10113         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10114         Likewise.
10115         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10116         * sysdeps/x86/bits/string.h: Update #endif comments.
10117         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10118         conditionals.
10119         * time/sys/time.h: Update #endif comments.
10120         * time/time.h: Likewise.
10121         [__USE_MISC]: Remove redundant conditionals.
10122
10123 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10124
10125         [BZ #16600]
10126         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10127
10128 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10129
10130         * Versions.def (librt): Add GLIBC_2.17.
10131
10132 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10133
10134         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10135         synonym for _SYS_AUXV_H to allow direct inclusion.
10136         * sysdeps/sparc/bits/hwcap.h: Likewise.
10137         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10138         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10139         * sysdeps/sparc/sysdep.h: Likewise.
10140
10141 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10142
10143         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10144
10145 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10146
10147         * benchtests/bench-strrchr.c: Print length instead of position.
10148
10149 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10150
10151         [BZ #16611]
10152         * sysdeps/unix/sysv/linux/kernel-features.h
10153         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10154         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10155         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10156         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10157         Likewise.
10158         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10159         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10160         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10161         (__ASSUME_SENDMMSG): Define instead of using previous
10162         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10163         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10164         (__ASSUME_SENDMMSG_SYSCALL): Define.
10165         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10166         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10167         Likewise.
10168         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10169         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10170         Likewise.
10171         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10172         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10173         Likewise.
10174         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10175         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10176         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10177         [__ASSUME_SENDMMSG]: Change conditionals to
10178         [__ASSUME_SENDMMSG_SOCKETCALL].
10179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10180         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10181         Define.
10182         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10183         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10184         Likewise.
10185         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10186         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10187         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10188         [!__ASSUME_SENDMMSG]: Change conditional to
10189         [!__ASSUME_SENDMMSG_SOCKETCALL].
10190         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10191         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10192         Define.
10193
10194         [BZ #16610]
10195         * sysdeps/unix/sysv/linux/kernel-features.h
10196         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10197         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10198         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10199         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10200         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10201         [__i386__ || __sparc__]
10202         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10203         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10204         (__ASSUME_RECVMMSG): Define instead of using previous
10205         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10206         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10207         (__ASSUME_RECVMMSG_SYSCALL): Define.
10208         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10209         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10210         Likewise.
10211         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10212         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10213         Likewise.
10214         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10215         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10216         Likewise.
10217         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10218         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10219         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10220         [__ASSUME_RECVMMSG]: Change condition to
10221         [__ASSUME_RECVMMSG_SOCKETCALL].
10222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10223         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10224         Define.
10225         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10227         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10228         Likewise.
10229         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10230         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10231         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10232         [!__ASSUME_RECVMMSG]: Change condition to
10233         [!__ASSUME_RECVMMSG_SOCKETCALL].
10234         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10235         (__ASSUME_RECVMMSG_SYSCALL): Define.
10236
10237         [BZ #16609]
10238         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10239         __powerpc__ || __s390__ || __sh__ || __sparc__]
10240         (__ASSUME_SOCKETCALL): Define.
10241         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10242         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10243         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10244         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10245         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10246         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10247         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10248         (__ASSUME_ACCEPT4): Define instead of using previous
10249         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10250         __powerpc__ || __sparc__ || __s390__)] condition.
10251         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10252         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10253         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10254         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10255         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10256         [!__ASSUME_ACCEPT4]: Change condition to
10257         [!__ASSUME_ACCEPT4_SOCKETCALL].
10258         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10259         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10260         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10261         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10262         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10263         __ASSUME_ACCEPT4_SYSCALL.
10264         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10265         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10266         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10267         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10268         __ASSUME_ACCEPT4_SYSCALL.
10269         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10270         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10271         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10272         [__ASSUME_ACCEPT4]: Change condition to
10273         [__ASSUME_ACCEPT4_SOCKETCALL].
10274         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10275         (__ASSUME_SOCKETCALL): Define.
10276         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10278         (__ASSUME_SOCKETCALL): Define.
10279         (__ASSUME_ACCEPT4): Remove.
10280         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10281         Define.
10282         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10283         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10284         Likewise.
10285         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10286         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10287
10288         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10289         macro.
10290         (HWCAP_ARM_LPAE): Likewise.
10291         (HWCAP_ARM_EVTSTRM): Likewise.
10292         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10293         Add vpfd32, lpae and evtstrm.
10294         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10295         Increase to 22.
10296
10297 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10298
10299         * math/auto-libm-test-in: Add tests of clog10.
10300         * math/auto-libm-test-out: Regenerated.
10301         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10302         * sysdeps/i386/fpu/libm-test-ulps: Update.
10303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10304
10305 2014-02-18  Andreas Schwab  <schwab@suse.de>
10306
10307         [BZ #16574]
10308         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10309         Store non-zero if the second buffer was newly allocated.
10310         (send_dg): Likewise.
10311         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10312         to send_vc and send_dg.
10313         (res_nsend): Pass NULL for ansp2_malloced.
10314         * resolv/res_query.c (__libc_res_nquery): Add parameter
10315         answerp2_malloced and pass it down to __libc_res_nsend.
10316         (res_nquery): Pass additional NULL to __libc_res_nquery.
10317         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10318         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10319         second answer buffer if answerp2_malloced was set.
10320         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10321         (__libc_res_nquerydomain): Add parameter
10322         answerp2_malloced and pass it down to __libc_res_nquery.
10323         (res_nquerydomain): Pass additional NULL to
10324         __libc_res_nquerydomain.
10325         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10326         additional NULL to __libc_res_nsend and __libc_res_nquery.
10327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10328         additional NULL to __libc_res_nsearch.
10329         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10330         parameter of __libc_res_nsearch to check for separately allocated
10331         second buffer.
10332         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10333         __libc_res_nquery.
10334         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10335         additional NULL to __libc_res_nquery.
10336         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10337         __libc_res_nsearch.
10338         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10339         * include/resolv.h: Update prototypes of __libc_res_nquery,
10340         __libc_res_nsearch, __libc_res_nsend.
10341
10342 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10343
10344         * math/auto-libm-test-in: Add tests of fma.
10345         * math/auto-libm-test-out: Regenerated.
10346         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10347         (fma_towardzero_test_data): Likewise.
10348         (fma_downward_test_data): Likewise.
10349         (fma_upward_test_data): Likewise.
10350         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10351         mpc_mode.
10352         (rounding_modes): Add values for new field.
10353         (func_calc_method): Add value mpfr_fff_f.
10354         (func_calc_desc): Add mpfr_fff_f union field.
10355         (test_function): Add field exact_args.
10356         (FUNC): Add macro argument EXACT_ARGS.
10357         (FUNC_mpfr_f_f): Update call to FUNC.
10358         (FUNC_mpfr_f_f): Likewise.
10359         (FUNC_mpfr_ff_f): Likewise.
10360         (FUNC_mpfr_if_f): Likewise.
10361         (FUNC_mpc_c_f): Likewise.
10362         (FUNC_mpc_c_c): Likewise.
10363         (test_functions): Add fma.  Update calls to FUNC.
10364         (handle_input_arg): Add argument exact_args.
10365         (add_test): Update call to handle_input_arg.
10366         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10367         (output_for_one_input_case): Update call to calc_generic_results.
10368         Recalculate exact zero results in each rounding mode.
10369
10370         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10371         non-negative before setting low bit.
10372         * math/auto-libm-test-in: Mark one asin test possibly having
10373         spurious underflow.
10374         * math/auto-libm-test-out: Regenerated.
10375         * sysdeps/i386/fpu/libm-test-ulps: Update.
10376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10377
10378 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10379
10380         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10381         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10382         ports/sysdeps/unix/sysv/linux/microblaze.
10383         * README: Add missing listing for microblaze*-*-linux-gnu.
10384
10385 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10386
10387         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10388         duplicate code
10389
10390 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10391
10392         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10393         * sysdeps/unix/sysv/linux/ia64: Move directory from
10394         ports/sysdeps/unix/sysv/linux/ia64.
10395         * README: Update listing for ia64-*-linux-gnu.
10396
10397 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10398             Joseph Myers  <joseph@codesourcery.com>
10399
10400         * Makeconfig (test-name): New variable.
10401         (evaluate-test): Likewise.
10402         * Makerules (do-test-clean): Remove .test-result files.
10403         (common-mostlyclean): Likewise.
10404         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10405         * scripts/evaluate-test.sh: New file.
10406
10407 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10408
10409         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10410         separate $(objpfx)tst-fopenloc-cmp.out and
10411         $(objpfx)tst-fopenloc-mem.out targets.
10412         (tests): Update dependencies.
10413         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10414         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10415         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10416         (tst-rxspencer-no-utf8-ARGS): New variable.
10417         (tst-rxspencer-no-utf8-ENV): Likewise.
10418         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10419         instead of $(objpfx)tst-rxspencer-mem.
10420         ($(objpfx)tst-rxspencer-mem): Change target to
10421         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10422         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10423         * posix/tst-rxspencer-no-utf8.c: New file.
10424
10425         * elf/Makefile ($(objpfx)order.out): Remove rule.
10426         [$(run-built-tests) = yes] (tests): Depend on
10427         $(objpfx)order-cmp.out.
10428         ($(objpfx)order-cmp.out): New rule.
10429         [$(run-built-tests) = yes] (tests): Depend on
10430         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10431         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10432         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10433         $(objpfx)tst-array5-static-cmp.out.
10434         ($(objpfx)tst-array1.out): Remove rule.
10435         ($(objpfx)tst-array1-cmp.out): New rule.
10436         ($(objpfx)tst-array1-static.out): Remove rule.
10437         ($(objpfx)tst-array1-static-cmp.out): New rule.
10438         ($(objpfx)tst-array2.out): Remove rule.
10439         ($(objpfx)tst-array2-cmp.out): New rule.
10440         ($(objpfx)tst-array3.out): Remove rule.
10441         ($(objpfx)tst-array3-cmp.out): New rule.
10442         ($(objpfx)tst-array4.out): Remove rule.
10443         ($(objpfx)tst-array4-cmp.out): New rule.
10444         ($(objpfx)tst-array5.out): Remove rule.
10445         ($(objpfx)tst-array5-cmp.out): New rule.
10446         ($(objpfx)tst-array5-static.out): Remove rule.
10447         ($(objpfx)tst-array5-static-cmp.out): New rule.
10448         [$(run-built-tests) = yes] (tests): Depend on
10449         $(objpfx)order2-cmp.out.
10450         ($(objpfx)order2.out): Remove rule.
10451         ($(objpfx)order2-cmp.out): New rule.
10452         ($(objpfx)tst-initorder.out): Remove rule.
10453         [$(run-built-tests) = yes] (tests): Depend on
10454         $(objpfx)tst-initorder-cmp.out.
10455         ($(objpfx)tst-initorder-cmp.out): New rule.
10456         ($(objpfx)tst-initorder2.out): Remove rule.
10457         [$(run-built-tests) = yes] (tests): Depend on
10458         $(objpfx)tst-initorder2-cmp.out.
10459         ($(objpfx)tst-initorder2-cmp.out): New rule.
10460         [$(run-built-tests) = yes] (tests): Depend on
10461         $(objpfx)tst-unused-dep-cmp.out.
10462         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10463         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10464         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10465         on $(objpfx)tst-setvbuf1-cmp.out.
10466         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10467         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10468         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10469         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10470         ($(objpfx)tst-svc.out): Remove rule.
10471         ($(objpfx)tst-svc-cmp.out): New rule.
10472
10473 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10474
10475         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10476         * ctype/ctype.h [__USE_MISC]: Likewise.
10477         * dirent/dirent.h [__USE_MISC]: Likewise.
10478         * grp/grp.h [__USE_MISC]: Likewise.
10479         * io/fcntl.h [__USE_MISC]: Likewise.
10480         * io/sys/stat.h [__USE_MISC]: Likewise.
10481         * libio/stdio.h [__USE_MISC]: Likewise.
10482         * posix/unistd.h [__USE_MISC]: Likewise.
10483         * pwd/pwd.h [__USE_MISC]: Likewise.
10484         * stdlib.h [__USE_MISC]: Likewise.
10485         * string/bits/string2.h [__USE_MISC]: Likewise.
10486         * string/string.h [__USE_MISC]: Likewise.
10487         * time/time.h [__USE_MISC]: Likewise.
10488
10489 2014-02-13  Andreas Schwab  <schwab@suse.de>
10490
10491         [BZ #16574]
10492         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10493         second answer buffer if it was separately allocated.
10494
10495 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10496
10497         * sysdeps/mips/math-tests.h: Include <features.h>.
10498         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10499         (ROUNDING_TESTS_long_double): Do not define.
10500         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10501         (EXCEPTION_TESTS_long_double): Likewise.
10502         * sysdeps/mips/mips64/libm-test-ulps: Update.
10503
10504         * include/features.h (__USE_BSD): Remove macro definitions.
10505         (__USE_SVID): Likewise.
10506         (_BSD_SOURCE): Likewise.
10507         (_SVID_SOURCE): Likewise.
10508         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10509         from definition of _DEFAULT_SOURCE.
10510         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10511         [_DEFAULT_SOURCE].
10512         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10513         * bits/mman.h [__USE_BSD]: Likewise.
10514         * bits/termios.h [__USE_BSD]: Likewise.
10515         * bits/waitstatus.h [__USE_BSD]: Likewise.
10516         * ctype/ctype.h [__USE_SVID]: Likewise.
10517         * dirent/dirent.h [__USE_BSD]: Likewise.
10518         * grp/grp.h [__USE_SVID]: Likewise.
10519         [__USE_BSD]: Likewise.
10520         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10521         * io/fcntl.h [__USE_BSD]: Likewise.
10522         * io/ftw.h [__USE_BSD]: Likewise.
10523         * io/sys/stat.h [__USE_BSD]: Likewise.
10524         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10525         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10526         * libio/stdio.h [__USE_SVID]: Likewise.
10527         [__USE_BSD]: Likewise.
10528         * math/math.h [__USE_SVID]: Likewise.
10529         [__USE_BSD]: Likewise.
10530         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10531         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10532         * misc/search.h [__USE_SVID]: Likewise.
10533         * misc/sys/mman.h [__USE_BSD]: Likewise.
10534         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10535         * misc/sys/uio.h [__USE_BSD]: Likewise.
10536         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10537         * posix/glob.h [__USE_BSD]: Likewise.
10538         * posix/regex.h [__USE_BSD]: Likewise.
10539         * posix/sys/types.h [__USE_BSD]: Likewise.
10540         [__USE_SVID]: Likewise.
10541         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10542         * posix/sys/wait.h [__USE_BSD]: Likewise.
10543         [__USE_SVID]: Likewise.
10544         * posix/unistd.h [__USE_BSD]: Likewise.
10545         [__USE_SVID]: Likewise.
10546         * pwd/pwd.h [__USE_SVID]: Likewise.
10547         * resolv/netdb.h [__USE_BSD]: Likewise.
10548         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10549         * signal/signal.h [__USE_BSD]: Likewise.
10550         [__USE_SVID]: Likewise.
10551         * socket/sys/socket.h [__USE_BSD]: Likewise.
10552         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10553         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10554         [__USE_SVID]: Likewise.
10555         * string/bits/string2.h [__USE_BSD]: Likewise.
10556         [__USE_SVID]: Likewise.
10557         * string/bits/string3.h [__USE_BSD]: Likewise.
10558         * string/endian.h [__USE_BSD]: Likewise.
10559         * string/string.h [__USE_SVID]: Likewise.
10560         [__USE_BSD]: Likewise.
10561         * string/strings.h [__USE_BSD]: Likewise.
10562         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10563         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10564         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10565         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10566         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10567         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10568         Likewise.
10569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10570         Likewise.
10571         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10572         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10573         Likewise.
10574         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10575         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10576         Likewise.
10577         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10578         Likewise.
10579         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10580         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10584         Likewise.
10585         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10586         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10587         * termios/termios.h [__USE_BSD]: Likewise.
10588         * time/sys/time.h [__USE_BSD]: Likewise.
10589         * time/time.h [__USE_BSD]: Likewise.
10590         [__USE_SVID]: Likewise.
10591
10592         * Makefile (subdir_targets): Remove subdir_lint.out.
10593
10594         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10595         (do-tst-printf): Likewise.
10596         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10597         $(objpfx)tst-printf.out.
10598
10599         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10600
10601         * Makerules (check-abi-%): Change target to
10602         $(objpfx)check-abi-%.out.
10603         (check-abi target): Update dependencies.
10604         (check-abi-pattern variable): Redirect output of diff to $@.
10605         (check-abi variable): Likewise.
10606         * elf/Makefile (check-abi): Update dependencies.
10607
10608         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10609         unused.
10610         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10611         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10612         subnormal range.
10613         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10614         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10615         value has largest subnormal exponent.
10616         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10617         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10618         * sysdeps/aarch64/soft-fp/sfp-machine.h
10619         (_FP_TININESS_AFTER_ROUNDING): New macro.
10620         * sysdeps/alpha/soft-fp/sfp-machine.h
10621         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10623         Likewise.
10624         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10625         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10626         * sysdeps/mips/soft-fp/sfp-machine.h
10627         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10628         * sysdeps/powerpc/soft-fp/sfp-machine.h
10629         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10630         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10631         Likewise.
10632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10633         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10635         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10636         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10637         Likewise.
10638
10639 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10640
10641         [BZ #16545]
10642         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10643         model 1.
10644
10645 2014-02-12  Richard Henderson  <rth@redhat.com>
10646
10647         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10648         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10649         * sysdeps/unix/sysv/linux/alpha: Move directory from
10650         ports/sysdeps/unix/sysv/linux/alpha.
10651         * README: Update listing for alpha-*-linux-gnu.
10652
10653 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10654
10655         * include/features.h: Update comment documenting feature test
10656         macros.
10657         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10658         _DEFAULT_SOURCE.
10659         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10660         (_SVID_SOURCE): Likewise.
10661         (_DEFAULT_SOURCE): Update description of default features.
10662         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10663         with _GNU_SOURCE.
10664         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10665         (S_ISVTX): Likewise.
10666         * manual/math.texi (Mathematical Constants): Likewise.
10667         * manual/signal.texi (Interrupted Primitives): Likewise.
10668         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10669         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10670         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10671         Don't refer to _SVID_SOURCE in warning text.
10672
10673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10674
10675         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10676         already defined.
10677         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10678         * sysdeps/mips/dl-lookup.c: Remove.
10679         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10680
10681 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10682
10683         [BZ #16447]
10684         * math/auto-libm-test-in: Add testcase for expl.
10685         * math/auto-libm-test-out: Regenerate.
10686         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10687         calculation of unsafe.
10688         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10689
10690 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10691
10692         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10693         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10694         ports/sysdeps/unix/sysv/linux/aarch64.
10695         * README: Update listing for aarch64*-*-linux-gnu.
10696
10697 2014-02-11  Will Newton  <will.newton@linaro.org>
10698
10699         * manual/probes.texi (Mathematical Function Probes): Use
10700         "triggered" instead of "hit".
10701
10702         * manual/probes.texi (Internal Probes): Add documentation
10703         of setjmp, longjmp and longjmp_target probes.
10704
10705         * include/stap-probe.h: Add comment about probe argument
10706         format.
10707
10708         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10709         definition.  (tr_where, tr_freehook, tr_mallochook,
10710         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10711
10712 2014-02-11  David S. Miller  <davem@davemloft.net>
10713
10714         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10715         processing int_tests.
10716
10717 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10718
10719         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10720         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10721         * sysdeps/unix/sysv/linux/mips: Move directory from
10722         ports/sysdeps/unix/sysv/linux/mips.
10723         * README: Update listing for mips-*-linux-gnu and
10724         mips64-*-linux-gnu.
10725
10726 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10727
10728         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10729         * sysdeps/unix/sysv/linux/m68k: Move directory from
10730         ports/sysdeps/unix/sysv/linux/m68k.
10731         * README: Update listing for m68k-*-linux-gnu.
10732
10733 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10734
10735         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10736         * sysdeps/unix/sysv/linux/generic: Move directory from
10737         ports/sysdeps/unix/sysv/linux/generic.
10738         * sysdeps/unix/sysv/linux/tile: Move directory from
10739         ports/sysdeps/unix/sysv/linux/tile.
10740         * README: Update listing for tile*-*-linux-gnu.
10741
10742 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10743
10744         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10745         __builtin_expect.
10746         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10747         * catgets/open_catalog.c (__open_catalog): Likewise.
10748         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10749         * debug/confstr_chk.c: Likewise.
10750         * debug/fread_chk.c (__fread_chk): Likewise.
10751         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10752         * debug/getgroups_chk.c: Likewise.
10753         * debug/mbsnrtowcs_chk.c: Likewise.
10754         * debug/mbsrtowcs_chk.c: Likewise.
10755         * debug/mbstowcs_chk.c: Likewise.
10756         * debug/memcpy_chk.c: Likewise.
10757         * debug/memmove_chk.c: Likewise.
10758         * debug/mempcpy_chk.c: Likewise.
10759         * debug/memset_chk.c: Likewise.
10760         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10761         * debug/strcat_chk.c (__strcat_chk): Likewise.
10762         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10763         * debug/strncat_chk.c (__strncat_chk): Likewise.
10764         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10765         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10766         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10767         * debug/wcpncpy_chk.c: Likewise.
10768         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10769         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10770         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10771         * debug/wcsncpy_chk.c: Likewise.
10772         * debug/wcsnrtombs_chk.c: Likewise.
10773         * debug/wcsrtombs_chk.c: Likewise.
10774         * debug/wcstombs_chk.c: Likewise.
10775         * debug/wmemcpy_chk.c: Likewise.
10776         * debug/wmemmove_chk.c: Likewise.
10777         * debug/wmempcpy_chk.c: Likewise.
10778         * debug/wmemset_chk.c: Likewise.
10779         * dirent/scandirat.c (SCANDIRAT): Likewise.
10780         * dlfcn/dladdr1.c (dladdr1): Likewise.
10781         * dlfcn/dladdr.c (dladdr): Likewise.
10782         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10783         * dlfcn/dlerror.c (__dlerror): Likewise.
10784         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10785         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10786         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10787         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10788         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10789         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10790         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10791         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10792         Likewise.
10793         * elf/dl-conflict.c: Likewise.
10794         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10795         * elf/dl-dst.h: Likewise.
10796         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10797         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10798         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10799         * elf/dl-init.c (call_init, _dl_init): Likewise.
10800         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10801         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10802         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10803         Likewise.
10804         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10805         Likewise.
10806         * elf/dl-minimal.c (__libc_memalign): Likewise.
10807         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10808         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10809         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10810         * elf/dl-sym.c (do_sym): Likewise.
10811         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10812         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10813         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10814         * elf/dl-writev.h (_dl_writev): Likewise.
10815         * elf/ldconfig.c (search_dir): Likewise.
10816         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10817         (dl_main): Likewise.
10818         * elf/setup-vdso.h (setup_vdso): Likewise.
10819         * grp/compat-initgroups.c (compat_call): Likewise.
10820         * grp/fgetgrent.c (fgetgrent): Likewise.
10821         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10822         * grp/putgrent.c (putgrent): Likewise.
10823         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10824         Likewise.
10825         * hurd/hurdinit.c: Likewise.
10826         * iconvdata/8bit-gap.c (struct): Likewise.
10827         * iconvdata/ansi_x3.110.c : Likewise.
10828         * iconvdata/big5.c : Likewise.
10829         * iconvdata/big5hkscs.c : Likewise.
10830         * iconvdata/cp1255.c: Likewise.
10831         * iconvdata/cp1258.c : Likewise.
10832         * iconvdata/cp932.c : Likewise.
10833         * iconvdata/euc-cn.c: Likewise.
10834         * iconvdata/euc-jisx0213.c : Likewise.
10835         * iconvdata/euc-jp.c: Likewise.
10836         * iconvdata/euc-jp-ms.c : Likewise.
10837         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10838         * iconvdata/gb18030.c : Likewise.
10839         * iconvdata/gbbig5.c (const): Likewise.
10840         * iconvdata/gbgbk.c: Likewise.
10841         * iconvdata/gbk.c : Likewise.
10842         * iconvdata/ibm1364.c : Likewise.
10843         * iconvdata/ibm930.c : Likewise.
10844         * iconvdata/ibm932.c: Likewise.
10845         * iconvdata/ibm933.c : Likewise.
10846         * iconvdata/ibm935.c : Likewise.
10847         * iconvdata/ibm937.c : Likewise.
10848         * iconvdata/ibm939.c : Likewise.
10849         * iconvdata/ibm943.c: Likewise.
10850         * iconvdata/iso_11548-1.c: Likewise.
10851         * iconvdata/iso-2022-cn.c : Likewise.
10852         * iconvdata/iso-2022-cn-ext.c : Likewise.
10853         * iconvdata/iso-2022-jp-3.c: Likewise.
10854         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10855         * iconvdata/iso-2022-kr.c : Likewise.
10856         * iconvdata/iso646.c (gconv_end): Likewise.
10857         * iconvdata/iso_6937-2.c : Likewise.
10858         * iconvdata/iso_6937.c : Likewise.
10859         * iconvdata/iso8859-1.c: Likewise.
10860         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10861         * iconvdata/shift_jisx0213.c : Likewise.
10862         * iconvdata/sjis.c : Likewise.
10863         * iconvdata/t.61.c : Likewise.
10864         * iconvdata/tcvn5712-1.c : Likewise.
10865         * iconvdata/tscii.c: Likewise.
10866         * iconvdata/uhc.c : Likewise.
10867         * iconvdata/unicode.c (gconv_end): Likewise.
10868         * iconvdata/utf-16.c (gconv_end): Likewise.
10869         * iconvdata/utf-32.c (gconv_end): Likewise.
10870         * iconvdata/utf-7.c (base64): Likewise.
10871         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10872         * iconv/gconv_close.c (__gconv_close): Likewise.
10873         * iconv/gconv_open.c (__gconv_open): Likewise.
10874         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10875         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10876         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10877         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10878         (ucs4le_internal_loop_single): Likewise.
10879         * iconv/iconv.c (iconv): Likewise.
10880         * iconv/iconv_close.c: Likewise.
10881         * iconv/loop.c (SINGLE): Likewise.
10882         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10883         * include/atomic.h: Likewise.
10884         * inet/inet6_option.c (option_alloc): Likewise.
10885         * intl/bindtextdom.c (set_binding_values): Likewise.
10886         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10887         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10888         * intl/localealias.c (read_alias_file): Likewise.
10889         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10890         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10891         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10892         * libio/fmemopen.c (fmemopen): Likewise.
10893         * libio/iofgets.c (_IO_fgets): Likewise.
10894         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10895         * libio/iofgetws.c (fgetws): Likewise.
10896         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10897         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10898         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10899         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10900         * locale/findlocale.c (_nl_find_locale): Likewise.
10901         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10902         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10903         Likewise.
10904         * locale/setlocale.c (setlocale): Likewise.
10905         * login/programs/pt_chown.c (main): Likewise.
10906         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10907         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10908         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10909         (mmap, mmap64, mremap, munmap): Likewise.
10910         * math/e_exp2l.c: Likewise.
10911         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10912         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10913         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10914         * math/s_catan.c (__catan): Likewise.
10915         * math/s_catanf.c (__catanf): Likewise.
10916         * math/s_catanh.c (__catanh): Likewise.
10917         * math/s_catanhf.c (__catanhf): Likewise.
10918         * math/s_catanhl.c (__catanhl): Likewise.
10919         * math/s_catanl.c (__catanl): Likewise.
10920         * math/s_ccosh.c (__ccosh): Likewise.
10921         * math/s_ccoshf.c (__ccoshf): Likewise.
10922         * math/s_ccoshl.c (__ccoshl): Likewise.
10923         * math/s_cexp.c (__cexp): Likewise.
10924         * math/s_cexpf.c (__cexpf): Likewise.
10925         * math/s_cexpl.c (__cexpl): Likewise.
10926         * math/s_clog10.c (__clog10): Likewise.
10927         * math/s_clog10f.c (__clog10f): Likewise.
10928         * math/s_clog10l.c (__clog10l): Likewise.
10929         * math/s_clog.c (__clog): Likewise.
10930         * math/s_clogf.c (__clogf): Likewise.
10931         * math/s_clogl.c (__clogl): Likewise.
10932         * math/s_csin.c (__csin): Likewise.
10933         * math/s_csinf.c (__csinf): Likewise.
10934         * math/s_csinh.c (__csinh): Likewise.
10935         * math/s_csinhf.c (__csinhf): Likewise.
10936         * math/s_csinhl.c (__csinhl): Likewise.
10937         * math/s_csinl.c (__csinl): Likewise.
10938         * math/s_csqrt.c (__csqrt): Likewise.
10939         * math/s_csqrtf.c (__csqrtf): Likewise.
10940         * math/s_csqrtl.c (__csqrtl): Likewise.
10941         * math/s_ctan.c (__ctan): Likewise.
10942         * math/s_ctanf.c (__ctanf): Likewise.
10943         * math/s_ctanh.c (__ctanh): Likewise.
10944         * math/s_ctanhf.c (__ctanhf): Likewise.
10945         * math/s_ctanhl.c (__ctanhl): Likewise.
10946         * math/s_ctanl.c (__ctanl): Likewise.
10947         * math/w_pow.c: Likewise.
10948         * math/w_powf.c: Likewise.
10949         * math/w_powl.c: Likewise.
10950         * math/w_scalb.c (sysv_scalb): Likewise.
10951         * math/w_scalbf.c (sysv_scalbf): Likewise.
10952         * math/w_scalbl.c (sysv_scalbl): Likewise.
10953         * misc/error.c (error_tail): Likewise.
10954         * misc/pselect.c (__pselect): Likewise.
10955         * nis/nis_callback.c (__nis_create_callback): Likewise.
10956         * nis/nis_call.c (__nisfind_server): Likewise.
10957         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10958         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10959         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10960         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10961         * nis/nis_lookup.c (nis_lookup): Likewise.
10962         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10963         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10964         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10965         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10966         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10967         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10968         * nis/nss_compat/compat-initgroups.c (add_group)
10969         (internal_getgrent_r): Likewise.
10970         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10971         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10972         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10973         (internal_getspnam_r): Likewise.
10974         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10975         (_nss_nis_getaliasbyname_r): Likewise.
10976         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10977         (_nss_nis_getntohost_r): Likewise.
10978         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10979         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10980         (_nss_nis_getgrgid_r): Likewise.
10981         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10982         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10983         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10984         (_nss_nis_gethostbyname4_r): Likewise.
10985         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10986         (initgroups_netid): Likewise.
10987         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10988         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10989         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10990         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10991         (_nss_nis_getprotobynumber_r): Likewise.
10992         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10993         (_nss_nis_getsecretkey): Likewise.
10994         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10995         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10996         (_nss_nis_getpwuid_r): Likewise.
10997         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10998         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10999         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11000         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11001         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11002         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11003         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11004         Likewise.
11005         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11006         (_nss_nisplus_getntohost_r): Likewise.
11007         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11008         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11009         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11010         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11011         Likewise.
11012         * nis/nss_nisplus/nisplus-initgroups.c
11013         (_nss_nisplus_initgroups_dyn): Likewise.
11014         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11015         (_nss_nisplus_getnetbyaddr_r): Likewise.
11016         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11017         (_nss_nisplus_getprotobynumber_r): Likewise.
11018         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11019         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11020         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11021         Likewise.
11022         * nis/nss_nisplus/nisplus-service.c
11023         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11024         (_nss_nisplus_getservbyport_r): Likewise.
11025         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11026         (_nss_nisplus_getspnam_r): Likewise.
11027         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11028         Likewise.
11029         * nscd/aicache.c (addhstaiX): Likewise.
11030         * nscd/cache.c (cache_search, prune_cache): Likewise.
11031         * nscd/connections.c (register_traced_file, send_ro_fd)
11032         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11033         (main_loop_epoll): Likewise.
11034         * nscd/grpcache.c (addgrbyX): Likewise.
11035         * nscd/hstcache.c (addhstbyX): Likewise.
11036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11037         * nscd/mem.c (gc, mempool_alloc): Likewise.
11038         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11039         (addinnetgrX): Likewise.
11040         * nscd/nscd-client.h (__nscd_acquire_maplock)
11041         (__nscd_drop_map_ref): Likewise.
11042         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11043         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11044         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11045         Likewise.
11046         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11048         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11049         (__nscd_get_map_ref): Likewise.
11050         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11051         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11052         Likewise.
11053         * nscd/pwdcache.c (addpwbyX): Likewise.
11054         * nscd/selinux.c (preserve_capabilities): Likewise.
11055         * nscd/servicescache.c (addservbyX): Likewise.
11056         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11057         * posix/fnmatch.c (fnmatch): Likewise.
11058         * posix/getopt.c (_getopt_internal_r): Likewise.
11059         * posix/glob.c (glob, glob_in_dir): Likewise.
11060         * posix/wordexp.c (exec_comm_child): Likewise.
11061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11062         (getanswer_r, gaih_getanswer_slice): Likewise.
11063         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11064         * resolv/res_init.c: Likewise.
11065         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11066         * resolv/res_query.c (__libc_res_nquery): Likewise.
11067         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11068         Likewise.
11069         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11070         * stdio-common/perror.c (perror): Likewise.
11071         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11072         * stdio-common/tmpnam.c (tmpnam): Likewise.
11073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11074         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11075         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11076         Likewise.
11077         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11078         * stdlib/putenv.c (putenv): Likewise.
11079         * stdlib/setenv.c (__add_to_environ): Likewise.
11080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11081         * stdlib/strtol_l.c (INTERNAL): Likewise.
11082         * string/memmem.c (memmem): Likewise.
11083         * string/strerror.c (strerror): Likewise.
11084         * string/strnlen.c (__strnlen): Likewise.
11085         * string/test-memmem.c (simple_memmem): Likewise.
11086         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11087         * sunrpc/pm_getport.c (__get_socket): Likewise.
11088         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11089         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11090         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11091         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11092         Likewise.
11093         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11095         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11096         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11097         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11098         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11099         Likewise.
11100         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11101         Likewise.
11102         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11103         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11105         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11106         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11108         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11109         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11110         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11111         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11112         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11113         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11114         Likewise.
11115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11116         Likewise.
11117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11118         Likewise.
11119         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11120         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11123         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11124         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11125         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11128         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11129         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11132         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11134         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11135         Likewise.
11136         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11137         Likewise.
11138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11139         Likewise.
11140         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11141         Likewise.
11142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11144         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11145         Likewise.
11146         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11147         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11148         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11149         * sysdeps/posix/sleep.c: Likewise.
11150         * sysdeps/posix/tempname.c: Likewise.
11151         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11152         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11153         Likewise.
11154         * sysdeps/powerpc/powerpc32/dl-machine.h
11155         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11158         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11159         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11160         Likewise.
11161         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11162         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11163         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11165         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11166         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11167         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11168         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11169         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11170         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11172         (elf_machine_lazy_rel): Likewise.
11173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11175         (elf_machine_lazy_rel): Likewise.
11176         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11177         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11178         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11179         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11180         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11181         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11182         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11184         Likewise.
11185         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11186         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11187         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11188         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11189         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11190         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11191         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11192         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11193         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11195         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11196         Likewise.
11197         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11198         (__posix_fallocate64_l64): Likewise.
11199         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11200         (posix_fallocate): Likewise.
11201         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11202         Likewise.
11203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11204         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11205         (getifaddrs_internal): Likewise.
11206         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11207         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11208         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11209         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11210         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11211         (__posix_fallocate64_l64): Likewise.
11212         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11213         Likewise.
11214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11216         (__get_clockfreq): Likewise.
11217         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11218         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11219         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11222         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11223         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11224         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11225         Likewise.
11226         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11227         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11228         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11229         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11230         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11231         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11232         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11233         Likewise.
11234         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11235         (posix_fallocate): Likewise.
11236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11237         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11238         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11239         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11240         (elf_machine_rela, elf_machine_rela_relative)
11241         (elf_machine_lazy_rel): Likewise.
11242         * time/asctime.c (asctime_internal): Likewise.
11243         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11244         * time/tzset.c (__tzset_parse_tz): Likewise.
11245         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11246         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11247         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11248         * wcsmbs/wcsmbsload.h: Likewise.
11249
11250         [BZ #15894]
11251         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11252
11253         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11254         (arena_get2): Remove THREAD_STATS conditionals.
11255         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11256         (__malloc_stats, int): Likewise.
11257
11258 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11259
11260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11261         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11262
11263         * manual/setjmp.texi: Fix typos/grammar errors.
11264
11265         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11266         Only return early when n is <= 0.  Delete unused return statement.
11267
11268         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11269         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11270         * debug/tst-longjmp_chk3.c: New file.
11271
11272         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11273         (test_main): Replace code with set_fortify_handler call.
11274         * debug/test-strcpy_chk.c: Likewise.
11275         * debug/tst-chk1.c: Likewise.
11276         * debug/tst-longjmp_chk.c: Likewise.
11277         * test-skeleton.c: Include fcntl.h & paths.h
11278         (set_fortify_handler): Define.
11279
11280         * debug/tst-longjmp_chk.c: Add header comment and include
11281         ../test-skeleton.c.
11282         (do_test): Mark static.
11283         (TEST_FUNCTION): Define.
11284
11285         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11286         (IP_PMTUDISC_INTERFACE): Likewise.
11287         (IP_MULTICAST_IF): Likewise.
11288         (IP_MULTICAST_TTL): Likewise.
11289         (IP_MULTICAST_LOOP): Likewise.
11290         (IP_ADD_MEMBERSHIP): Likewise.
11291         (IP_DROP_MEMBERSHIP): Likewise.
11292         (IP_UNBLOCK_SOURCE): Likewise.
11293         (IP_BLOCK_SOURCE): Likewise.
11294         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11295         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11296         (IP_MSFILTER): Likewise.
11297         (MCAST_JOIN_GROUP): Likewise.
11298         (MCAST_BLOCK_SOURCE): Likewise.
11299         (MCAST_UNBLOCK_SOURCE): Likewise.
11300         (MCAST_LEAVE_GROUP): Likewise.
11301         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11302         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11303         (MCAST_MSFILTER): Likewise.
11304         (IP_MULTICAST_ALL): Likewise.
11305         (IP_UNICAST_IF): Likewise.
11306
11307         * timezone/Makefile: Delete $(have-ksh) check.
11308         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11309         * timezone/tzselect.ksh: Add +x mode bits.
11310
11311         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11312         (ANON_INODE_FS_MAGIC): Likewise.
11313         (BDEVFS_MAGIC): Likewise.
11314         (BINFMTFS_MAGIC): Likewise.
11315         (BTRFS_TEST_MAGIC): Likewise.
11316         (CRAMFS_MAGIC_WEND): Likewise.
11317         (DEBUGFS_MAGIC): Likewise.
11318         (ECRYPTFS_SUPER_MAGIC): Likewise.
11319         (EXT3_SUPER_MAGIC): Likewise.
11320         (EXT4_SUPER_MAGIC): Likewise.
11321         (FUTEXFS_SUPER_MAGIC): Likewise.
11322         (HOSTFS_SUPER_MAGIC): Likewise.
11323         (HUGETLBFS_MAGIC): Likewise.
11324         (MINIX3_SUPER_MAGIC): Likewise.
11325         (MTD_INODE_FS_MAGIC): Likewise.
11326         (NILFS_SUPER_MAGIC): Likewise.
11327         (OPENPROM_SUPER_MAGIC): Likewise.
11328         (PIPEFS_MAGIC): Likewise.
11329         (PSTOREFS_MAGIC): Likewise.
11330         (QNX6_SUPER_MAGIC): Likewise.
11331         (RAMFS_MAGIC): Likewise.
11332         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11333         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11334         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11335         (SECURITYFS_MAGIC): Likewise.
11336         (SELINUX_MAGIC): Likewise.
11337         (SMACK_MAGIC): Likewise.
11338         (SOCKFS_MAGIC): Likewise.
11339         (SQUASHFS_MAGIC): Likewise.
11340         (STACK_END_MAGIC): Likewise.
11341         (TMPFS_MAGIC): Likewise.
11342         (USBDEVICE_SUPER_MAGIC): Likewise.
11343         (V9FS_MAGIC): Likewise.
11344         (XENFS_SUPER_MAGIC): Likewise.
11345         (CRAMFS_MAGIC): Fix typo in comment.
11346         (EXT2_SUPER_MAGIC): Update comment.
11347         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11348
11349 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11350
11351         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11352         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11353         * sysdeps/unix/sysv/linux/arm: Move directory from
11354         ports/sysdeps/unix/sysv/linux/arm.
11355         * README: Update listing for arm-*-linux-gnueabi.
11356
11357         * README: Remove mention of am33.
11358
11359 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11360
11361         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11362         than the comma operator, to avoid "rhs of comma has no effect"
11363         compiler warnings.
11364         (__sigfillset, __sigandset, __sigorset): Likewise.
11365         * include/signal.h (__sigemptyset): Likewise.
11366         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11367
11368 2014-02-07  Allan McRae  <allan@archlinux.org>
11369
11370         * version.h (RELEASE): Set to "development".
11371         (VERSION): Set to "2.19.90"
11372         * NEWS: Add 2.20 section.
11373
11374 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11375
11376         [BZ #16529]
11377         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11378
11379 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11380
11381         * manual/contrib.texi: Update entry for Carlos O'Donell,
11382         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11383
11384 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11385
11386         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11387
11388         * sysdeps/unix/sysv/linux/kernel-features.h
11389         [__LINUX_KERNEL_VERSION >= 0x020621]
11390         (__ASSUME_PROC_PID_TASK_COMM): Define.
11391
11392 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11393
11394         [BZ #16398]
11395         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11396         conversion when destination buffer does not have enough space.
11397         * libio/tst-ftell-partial-wide.c: New test case.
11398         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11399
11400         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11401         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11402         Leonard and Allan McRae.
11403
11404 2014-02-04  David S. Miller  <davem@davemloft.net>
11405
11406         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11407         32-bit.
11408
11409 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11410
11411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11412         New file
11413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11414         New file
11415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11416         New file.
11417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11418         New file.
11419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11420         New file.
11421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11422         New file.
11423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11424         New file.
11425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11426         New file.
11427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11428         New file.
11429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11430         New file.
11431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11432         New file.
11433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11434         New file.
11435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11436         New file.
11437
11438 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11439
11440         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11441         * shlib-versions: Likewise.
11442
11443 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11445
11446         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11447         (abilist-pattern): New variable, set to %-le.abilist.
11448
11449         * Makerules (abilist-pattern): New variable.
11450         (vpath): Use $(abilist-pattern) in place of %.abilist.
11451         (check-abi-% pattern rule): Likewise.
11452         (check-abi, update-abi): Likewise.
11453
11454 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11455
11456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11457
11458 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11459
11460         * manual/startup.texi: Add next, previous, and top entries for
11461         the `Program Arguments' and `Environment Variables' nodes.
11462
11463 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11464
11465         * manual/macros.texi: Add comments before MTASC-safety macros.
11466
11467         * manual/users.texi: Document MTASC-safety properties.
11468
11469         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11470         (pthread_getspecific, pthread_setspecific): Format with
11471         @deftypefun, and add @safety note.
11472         * manual/signal.texi: Move comments that analyze the above
11473         functions to their home place.
11474
11475 2014-02-03  Allan McRae  <allan@archlinux.org>
11476
11477         * po/sl.po: Update Slovenian translation from translation project.
11478
11479 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11480
11481         * manual/time.texi (timegm): Add missing blank after @c.
11482         Reported by Joseph Myers <joseph@codesourcery.com>.
11483
11484 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11485
11486         * manual/check-safety.sh: New.
11487         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11488
11489         * manual/terminal.texi: Document MTASC-safety properties.
11490
11491         * manual/filesys.texi: Document MTASC-safety properties.
11492
11493         * manual/errno.texi: Document MTASC-safety properties.
11494
11495         * manual/intro.texi: Document safety identifiers and
11496         conditionals.
11497
11498         * manual/string.texi (wcstok): Fix prototype.
11499         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11500
11501         * manual/time.texi: Document MTASC-safety properties.
11502
11503         * manual/string.texi: Document MTASC-safety properties.
11504
11505         * manual/threads.texi: Document MTASC-safety properties.
11506
11507         * manual/stdio.texi: Document MTASC-safety properties.
11508
11509         * manual/syslog.texi: Document MTASC-safety properties.
11510
11511         * manual/sysinfo.texi: Document MTASC-safety properties.
11512
11513         * manual/startup.texi: Document MTASC-safety properties.
11514
11515         * manual/socket.texi: Document MTASC-safety properties.
11516
11517         * manual/signal.texi: Document MTASC-safety properties.
11518
11519 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11520
11521         * manual/setjmp.texi: Document MTASC-safety properties.
11522
11523         * manual/search.texi: Document MTASC-safety properties.
11524
11525         * manual/resource.texi: Document MTASC-safety properties.
11526
11527         * manual/process.texi: Document MTASC-safety properties.
11528
11529         * manual/platform.texi: Document MTASC-safety properties.
11530
11531         * manual/pipe.texi: Document MTASC-safety properties.
11532
11533         * manual/pattern.texi: Document MTASC-safety properties.
11534
11535         * manual/message.texi: Document MTASC-safety properties.
11536
11537         [BZ #12751]
11538         * manual/memory.texi: Document MTASC-safety properties.
11539
11540         * manual/math.texi: Document MTASC-safety properties.
11541
11542         * manual/locale.texi: Document MTASC-safety properties.
11543
11544         * manual/llio.texi: Document MTASC-safety properties.
11545
11546         * manual/libdl.texi: New.
11547
11548         * manual/lang.texi: Document MTASC-safety properties.
11549
11550         * manual/job.texi: Document MTASC-safety properties.
11551
11552         * manual/getopt.texi: Document MTASC-safety properties.
11553
11554         * manual/ctype.texi: Document MTASC-safety properties.
11555
11556 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11557
11558         [BZ #16046]
11559         * csu/libc-tls.c (static_map): Remove variable.
11560         (__libc_setup_tls): Use main executable's link map for TLS data.
11561         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11562         casing for LM_ID_BASE and GL(dl_nns).
11563         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11564         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11565         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11566         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11567         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11568         member.
11569         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11570         l_phnum members.
11571
11572 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11573
11574         * manual/debug.texi: Document MTASC-safety properties.
11575
11576 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11577
11578         [BZ #16510]
11579         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11580         of __x86_64__ when disabling x87 inline functions.
11581
11582 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11583
11584         * manual/charset.texi: Document MTASC-safety properties.
11585
11586         * manual/crypt.texi: Document MTASC-safety properties.
11587
11588         * manual/conf.texi: Document MTASC-safety properties.
11589
11590         * manual/arith.texi: Document MTASC-safety properties.
11591
11592         * manual/argp.texi: Document MTASC-safety properties.
11593
11594         * manual/macros.texi: Introduce macros to document multi
11595         thread, asynchronous signal and asynchronous cancellation
11596         safety properties.
11597         * manual/intro.texi: Introduce the properties themselves.
11598
11599 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11600
11601         * sysdeps/sh/sh4/Makefile: New file.
11602
11603 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11604
11605         * math/gen-libm-test.pl ($srcdir): New variable.
11606         ($auto_input): Use it.
11607
11608 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11609
11610         [BZ #16506]
11611         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11612         access beyond array bounds when parsing netgroups file.
11613
11614         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11615         the old buffer before realloc.
11616
11617 2014-01-27  Allan McRae  <allan@archlinux.org>
11618
11619         * po/fr.po: Update French translation from translation project.
11620
11621 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11622
11623         * sysdeps/sh/libm-test-ulps: Regenerate.
11624
11625 2014-01-24  David S. Miller  <davem@davemloft.net>
11626
11627         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11628
11629 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11630
11631         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11632         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11633
11634 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11635
11636         [BZ #16474]
11637         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11638         string pointers after reallocation.
11639
11640 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11641
11642         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11643         __SH4A__ instead of __SH_FPU_ANY__.
11644
11645 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11646
11647         * sysdeps/sh/fpu_control.h: New file.
11648         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11649         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11650         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11651         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11652         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11653         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11654         * sysdeps/sh/sys/ucontext.h: Remove.
11655         * sysdeps/sh/sys: Remove directory.
11656
11657 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11658
11659         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11660         s390/sys/ucontext.h.
11661         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11662         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11663
11664 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11665
11666         [BZ #15605]
11667         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11668
11669 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11670
11671         [BZ#16431]
11672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11673         Adjust the vDSO correctly for internal calls.
11674         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11675
11676 2014-01-20  Allan McRae  <allan@archlinux.org>
11677
11678         * po/ca.po: Update Catalan translation from translation project.
11679
11680 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11681
11682         * sysdeps/s390/sotruss-lib.c: New file.
11683
11684 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11685
11686         [BZ#16430]
11687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11688         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11689         local calls issues by not having a PLT stub required for IFUNC calls.
11690         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11691
11692 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11693
11694         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11695         * math/test-fpucw-static.c: Likewise.
11696
11697 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11698
11699         [BZ #16453]
11700         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11701
11702 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11703
11704         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11705         implementation for powerpc.
11706
11707 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11708
11709         [BZ #14782]
11710         * sysdeps/posix/system.c (__libc_system): Do not enable
11711         asynchronous cancellation.
11712
11713 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11714
11715         [BZ #16427]
11716         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11717         handling only for numbers special also in the IEEE case.
11718
11719 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11720
11721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11722
11723 2014-01-11  Allan McRae  <allan@archlinux.org>
11724
11725         * po/bg.po: Update Bulgarian translation from translation project.
11726
11727         * po/de.po: Update German translation from translation project.
11728
11729 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11730
11731         * sysdeps/generic/gcc-compat.h: New file.
11732
11733 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11734
11735         * benchtests/asin-inputs: Correct slow inputs.
11736         * benchtests/acos-inputs: Likewise.
11737
11738 2014-01-10  Allan McRae  <allan@archlinux.org>
11739
11740         * po:sv.po: Update Swedish translation from translation project.
11741
11742         * po/vi.po: Update Vietnamese translation from translation project.
11743
11744         * po/eo.po: Update Esperanto translation from translation project.
11745
11746         * po/cs.po: Update Czech translation from translation project.
11747
11748         * po/nl.po: Update Dutch translation from translation project.
11749
11750         * po/pl.po: Update Polish translation from translation project.
11751
11752         * po/ru.po: Update Russian translation from translation project.
11753
11754         * po/uk.po: Update Ukrainian translation from translation project.
11755
11756 2014-01-08  Brooks Moses  <bmoses@google.com>
11757
11758         * elf/dl-load.c: Fix comment typo.
11759
11760 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11761
11762         * po/header.pot: Rename to...
11763         * po/pot.header: ... this.
11764         * po/Makefile: Use pot.header.
11765
11766 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11767             Maxim Kuvyrkov  <maxim@kugelworks.com>
11768
11769         [BZ #16394]
11770         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11771         SRC and DEST against LEN.
11772
11773 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11774
11775         [BZ #16414]
11776         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11777         implementation.
11778         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11779
11780 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11781
11782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11783
11784 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11785
11786         [BZ #16408]
11787         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11788         for large positive arguments.
11789
11790 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11791
11792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11793
11794         * math/auto-libm-test-in: Mark various tests with
11795         xfail-rounding:ldbl-128ibm.
11796         * math/auto-libm-test-out: Regenerated.
11797
11798         [BZ #16407]
11799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11800         Increase overflow threshold.
11801
11802 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11803
11804         [BZ #14286]
11805         * stdio-common/vfprintf.c: Check for integer overflow.
11806
11807 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11808
11809         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11810         the first argument and return value of __tls_get_addr_internal.
11811
11812 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11813
11814         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11815         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11816
11817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11818
11819         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11820         * sysdeps/s390/rtld-global-offsets.sym: New file.
11821         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11822         GLIBC_2.19 symbol.
11823         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11824         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11825         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11826         ... this.
11827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11828         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11829         ... this.
11830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11831         Regenerate.
11832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11833         Regenerate.
11834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11835         halfs of GPRs for high_gprs contexts.
11836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11837         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11838         field.
11839         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11840         uc_flags field.
11841         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11842         64 bit versions:
11843         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11844         for high GPRs (uc_high_gprs) and for future extensions
11845         (__reserved).
11846         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11847         for future extensions (__reserved).
11848         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11849         64 bit versions:
11850         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11851         SC_HIGHGPRS offset definition.
11852         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11853         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11854
11855         * Versions.def: Add GLIBC_2.19 for libpthread.
11856         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11857         siglongjmp for libpthread with GLIBC_2.19 symver.
11858         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11859         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11860         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11861         * sysdeps/s390/__longjmp.c: New file.
11862         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11863         * sysdeps/s390/longjmp.c: New file.
11864         * sysdeps/s390/setjmp.S: New file.
11865         * sysdeps/s390/sigjmp.S: New file.
11866         * sysdeps/s390/v1-longjmp.c: New file.
11867         * sysdeps/s390/v1-setjmp.h: New file.
11868         * sysdeps/s390/v1-sigjmp.c: New file.
11869         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11870         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11871         GLIBC_2.19 version.
11872         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11873         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11874         versioned symbols for ____longjmp_chk.
11875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11876         Likewise.
11877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11878         Regenerate.
11879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11880         Regenerate.
11881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11882         Regenerate.
11883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11884         Regenerate.
11885         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11886         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11887         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11888         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11889         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11890         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11891         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11892         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11893         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11894         * sysdeps/s390/rtld-__longjmp.c: New file.
11895         * sysdeps/s390/rtld-setjmp.S: New file.
11896
11897 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11898
11899         [BZ #16400]
11900         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11901         Return -__logl (x) for small positive arguments without evaluating
11902         a polynomial.
11903
11904 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11905
11906         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11907         Rename to ...
11908         (__ptrace_peeksiginfo_args): ... this.
11909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11910         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11912
11913 2014-01-06  Allan McRae  <allan@archlinux.org>
11914
11915         * inet/netinet/in.h: Fix typo in comment.
11916
11917 2014-01-05  Andreas Jaeger  <aj@suse.de>
11918
11919         * sysdeps/i386/fpu/libm-test-ulps: Update.
11920
11921 2014-01-05  Allan McRae  <allan@archlinux.org>
11922
11923         * po/libc.pot: Regenerated.
11924
11925         * malloc/memusagestat.c: Fix gettext call formatting.
11926
11927 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11928
11929         * nscd/nscd.c: Improve usage() output.
11930
11931 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11932
11933         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11934         * sysdeps/unix/sysv/linux/configure: Regenerated.
11935         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11936         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11937
11938 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11939
11940         [BZ #16390]
11941         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11942         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11943
11944 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11945
11946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11947         extra tokens at end of #undef directive.
11948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11949         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11951
11952 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11953
11954         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11955
11956         * math/auto-libm-test-in: Mark various tests with
11957         xfail-rounding:ldbl-128ibm.
11958         * math/auto-libm-test-out: Regenerated.
11959
11960 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11961
11962         [BZ #16386]
11963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11964         numbers with subnormal high part when calculating exponent.
11965
11966         [BZ #16385]
11967         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11968         fabs.
11969
11970         [BZ #16384]
11971         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11972         M_LN2l.
11973         (__ieee754_acoshl): Use __log1pl not __log1p.
11974
11975 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11976
11977         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11978         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11979         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11980         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11981         (reused_arena, arena_get2): Convert to GNU style.
11982         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11983         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11984         (memalign_check, __malloc_set_state): Likewise.
11985         * malloc/mallocbug.c (main): Likewise.
11986         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11987         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11988         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11989         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11990         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11991         (__posix_memalign, malloc_info): Likewise.
11992         * malloc/malloc.h: Likewise.
11993         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11994         (mallochook, memalignhook, reallochook, mabort): Likewise.
11995         * malloc/mcheck.h: Likewise.
11996         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11997         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11998         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11999         * malloc/morecore.c (__default_morecore): Likewise.
12000         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12001         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12002         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12003         (print_and_abort): Likewise.
12004         * malloc/obstack.h: Likewise.
12005         * malloc/set-freeres.c (__libc_freeres): Likewise.
12006         * malloc/tst-mallocstate.c (main): Likewise.
12007         * malloc/tst-mtrace.c (main): Likewise.
12008         * malloc/tst-realloc.c (do_test): Likewise.
12009
12010 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12011
12012         [BZ #16366]
12013         * nscd/netgroupcache.c (do_notfound): New function.
12014         (addgetnetgrentX): Use it.
12015
12016         [BZ # 16365]
12017         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12018         NSS_STATUS_NOTFOUND.
12019
12020 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12021
12022         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12024
12025 2014-01-01  Allan McRae  <allan@archlinux.org>
12026
12027         * scripts/update-copyrights: Update configure input file suffix.
12028
12029         * NEWS: Update copyright year.
12030         * catgets/gencat.c: Likewise.
12031         * csu/version.c: Likewise.
12032         * debug/catchsegv.sh: Likewise.
12033         * debug/pcprofiledump.c: Likewise.
12034         * debug/xtrace.sh: Likewise.
12035         * elf/ldconfig.c: Likewise.
12036         * elf/ldd.bash.in: Likewise.
12037         * elf/pldd.c: Likewise.
12038         * elf/sotruss.ksh: Likewise.
12039         * elf/sprof.c: Likewise.
12040         * iconv/iconv_prog.c: Likewise.
12041         * iconv/iconvconfig.c: Likewise.
12042         * locale/programs/locale.c: Likewise.
12043         * locale/programs/localedef.c: Likewise.
12044         * login/programs/pt_chown.c: Likewise.
12045         * malloc/memusage.sh: Likewise.
12046         * malloc/memusagestat.c: Likewise.
12047         * malloc/mtrace.pl: Likewise.
12048         * manual/libc.texinfo: Likewise.
12049         * nscd/nscd.c: Likewise.
12050         * nss/getent.c: Likewise.
12051         * nss/makedb.c: Likewise.
12052         * posix/getconf.c: Likewise.
12053         * scripts/test-installation.pl: Likewise.
12054
12055         * All files with FSF copyright notices: Update copyright dates
12056         using scripts/update-copyrights.
12057         * intl/plural.c: Regenerated.
12058         * locale/programs/charmap-kw.h: Likewise.
12059         * locale/programs/locfile-kw.h: Likewise.
12060
12061 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12062
12063         * sysdeps/unix/sysv/linux/configure: Regenerated.
12064         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12065         the linux/fanotify.h header.
12066         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12067         HAVE_LINUX_FANOTIFY_H is defined.
12068
12069 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12070
12071         * benchtests/cos-inputs: New inputs.
12072         * benchtests/sin-inputs: Likewise.
12073
12074         * benchtests/atan-inputs: New inputs. Fix name of multiple
12075         precision fallback inputs.
12076
12077         * benchtests/atanh-inputs: New inputs.
12078         * benchtests/tanh-inputs: Likewise.
12079
12080         * benchtests/acosh-inputs: New inputs.
12081         * benchtests/asinh-inputs: Likewise.
12082
12083         * benchtests/cosh-inputs: New inputs.
12084         * benchtests/sinh-inputs: Likewise.
12085
12086         * benchtests/acos-inputs: Add more inputs.
12087         * benchtests/asin-inputs: Likewise.
12088
12089 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12090
12091         [BZ #16375]
12092         * manual/arith.texi: Fix spelling.
12093         * manual/charset.texi: Likewise.
12094         * manual/errno.texi: Likewise.
12095         * manual/filesys.texi: Likewise.
12096         * manual/lang.texi: Likewise.
12097         * manual/llio.texi: Likewise.
12098         * manual/locale.texi: Likewise.
12099         * manual/message.texi: Likewise.
12100         * manual/resource.texi: Likewise.
12101         * manual/search.texi: Likewise.
12102         * manual/setjmp.texi: Likewise.
12103         * manual/stdio.texi: Likewise.
12104         * manual/string.texi: Likewise.
12105         * manual/sysinfo.texi: Likewise.
12106         * manual/time.texi: Likewise.
12107
12108 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12109
12110         * po/sl.po: New file.
12111
12112 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12113
12114         * .gitignore: Add core/.gdbinit/.gdb_history.
12115
12116 2013-12-27  Allan McRae  <allan@archlinux.org>
12117
12118         [BZ #16369]
12119         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12120         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12121
12122 2013-12-24  Brooks Moses  <bmoses@google.com>
12123
12124         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12125         all compilers that claim C++98 compliance, not just GCC.
12126         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12127         Likewise.
12128
12129 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12130
12131         * NEWS: Restore accidentally deleted bug-fix entries.
12132
12133 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12134             Ondřej Bílka  <neleai@seznam.cz>
12135
12136         [BZ #15073]
12137         * malloc/malloc.c (_int_free): Perform sanity check only if we
12138         have_lock.
12139
12140 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12141
12142         [BZ #12986]
12143         * manual/stdio.texi (String Input Conversions): Clarify that character
12144         classes are not supported.
12145
12146 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12147
12148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12149
12150 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12151
12152         [BZ #16337]
12153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12154         Calculate results for small negative arguments directly rather
12155         than using reflection formula with special underflow handling.
12156
12157         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12158         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12159         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12160         (fchflags): Likewise.
12161         (revoke): Likewise.
12162         (setlogin): Likewise.
12163         (sigaltstack): Likewise.
12164         (wait4): Likewise.
12165         (sigblock): Remove.
12166         (sigsetmask): Likewise.
12167         (wait3): Likewise.
12168         (waitpid): Likewise.
12169         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12170         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12171         file.
12172         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12173         * sysdeps/unix/bsd/Makefile: ... here.
12174         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12175         * sysdeps/unix/bsd/Versions: ... here.
12176         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12177         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12178         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12179         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12180         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12181         * sysdeps/unix/bsd/sigblock.c: ... here.
12182         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12183         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12184         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12185         * sysdeps/unix/bsd/sigvec.c: ... here.
12186         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12187         * sysdeps/unix/bsd/tcdrain.c: ... here.
12188         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12189         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12190         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12191         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12192         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12193         * sysdeps/unix/bsd/wait.c: ... here.
12194         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12195         * sysdeps/unix/bsd/wait3.c: ... here.
12196         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12197         * sysdeps/unix/bsd/waitpid.c: ... here.
12198
12199 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12200
12201         [BZ #16356]
12202         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12203         round-to-nearest for [!USE_AS_EXPM1L].
12204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12205         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12206         more tests of exp and exp10.  Expect some exp10 tests to miss
12207         exceptions or fail in directed rounding modes.
12208         * math/auto-libm-test-out: Regenerated.
12209         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12210         (exp10_test_tonearest): New function.
12211         (exp10_towardzero_test_data): New array.
12212         (exp10_test_towardzero): New function.
12213         (exp10_downward_test_data): New array.
12214         (exp10_test_downward): New function.
12215         (exp10_upward_test_data): New array.
12216         (exp10_test_upward): New function.
12217         (main): Call the new functions.
12218         * sysdeps/i386/fpu/libm-test-ulps: Update.
12219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12220
12221 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12222
12223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12224         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12225         * math/auto-libm-test-out: Regenerated.
12226         * math/libm-test.inc (acosh_test_data): Add more tests.
12227         (atanh_test_data): Likewise.
12228         (ceil_test_data): Likewise.
12229         (copysign_test_data): Likewise.
12230         * sysdeps/i386/fpu/libm-test-ulps: Update.
12231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12232
12233         * timezone/checktab.awk: Update from tzcode 2013i.
12234         * timezone/private.h: Likewise.
12235         * timezone/scheck.c: Likewise.
12236         * timezone/tzfile.h: Likewise.
12237         * timezone/tzselect.ksh: Likewise.
12238         * timezone/zdump.c: Likewise.
12239         * timezone/zic.c: Likewise.
12240
12241         * math/auto-libm-test-in: Add tests of cpow.
12242         * math/auto-libm-test-out: Regenerated.
12243         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12245         mpc_cc_c.
12246         (func_calc_desc): Add mpc_cc_c union field.
12247         (test_functions): Add cpow.
12248         (special_fill_2pi): New function.
12249         (special_real_inputs): Add 2pi.
12250         (calc_generic_results): Handle mpc_cc_c.
12251         * sysdeps/i386/fpu/libm-test-ulps: Update.
12252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12253
12254         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12255         csqrt, ctan and ctanh.
12256         * math/auto-libm-test-out: Regenerated.
12257         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12258         (TEST_COND_x86): Likewise.
12259         (ccos_test_data): Use AUTO_TESTS_c_c.
12260         (ccosh_test_data): Likewise.
12261         (cexp_test_data): Likewise.
12262         (clog_test_data): Likewise.
12263         (csqrt_test_data): Likewise.
12264         (ctan_test_data): Likewise.
12265         (ctan_tonearest_test_data): Likewise.
12266         (ctan_towardzero_test_data): Likewise.
12267         (ctan_downward_test_data): Likewise.
12268         (ctan_upward_test_data): Likewise.
12269         (ctanh_test_data): Likewise.
12270         (ctanh_tonearest_test_data): Likewise.
12271         (ctanh_towardzero_test_data): Likewise.
12272         (ctanh_downward_test_data): Likewise.
12273         (ctanh_upward_test_data): Likewise.
12274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12275         mpc_c_c.
12276         (func_calc_desc): Add mpc_c_c union field.
12277         (FUNC_mpc_c_c): New macro.
12278         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12279         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12280         ctanh.
12281         (special_fill_min_subnorm_p120): New function.
12282         (special_real_inputs): Add min_subnorm_p120.
12283         (calc_generic_results): Handle mpc_c_c.
12284         * sysdeps/i386/fpu/libm-test-ulps: Update.
12285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12286
12287 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12288
12289         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12290         (do_sin_slow): New functions.
12291         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12292         (cslow2, csloww1, csloww2): Use the new functions.
12293
12294         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12295         Use M to change sign of result instead of X.  Assume X is
12296         positive.
12297         (csloww1): Likewise.
12298         (__sin): Adjust.
12299         (__cos): Adjust.
12300
12301         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12302         arguments A and DA.
12303         (__sin): Adjust.
12304         (__cos): Likewise.
12305
12306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12307         (__cos): Likewise.
12308         (sloww1): Don't adjust sign of DX.
12309         (csloww1): Likewise.
12310         (sloww2): Use X directly and don't adjust sign of DX.
12311         (csloww2): Likewise.
12312
12313 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12314
12315         * math/auto-libm-test-in: Add tests of cabs and carg.
12316         * math/auto-libm-test-out: Regenerated.
12317         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12318         (carg_test_data): Likewise.
12319         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12320         mpc_c_f.
12321         (func_calc_desc): Add mpc_c_f union field.
12322         (test_functions): Add cabs and carg.
12323         (calc_generic_results): Handle mpc_c_f.
12324
12325         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12326         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12327         as a macro and a compat symbol.
12328         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12329         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12330         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12331         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12332         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12333         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12334         not use .hidden.
12335         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12336         Likewise.
12337         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12338         Likewise.
12339         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12340         Likewise.
12341         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12342         Likewise.
12343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12344         Likewise.
12345         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12346         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12347         from GLIBC_2.3.2.
12348
12349 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12350
12351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12352
12353 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12354
12355         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12356         trailing whitespace removed.
12357         * scripts/config.guess: Update to version 2013-11-29.
12358         * scripts/config.sub: Update to version 2013-10-01.
12359
12360         * math/auto-libm-test-in: Add tests of sincos.
12361         * math/auto-libm-test-out: Regenerated.
12362         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12364         mpfr_f_11.
12365         (func_calc_desc): Add mpfr_f_11 union field.
12366         (test_functions): Add sincos.
12367         (calc_generic_results): Handle mpfr_f_11.
12368         * sysdeps/i386/fpu/libm-test-ulps: Update.
12369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12370
12371 2013-12-19  Andreas Schwab  <schwab@suse.de>
12372
12373         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12374         CALL_MCOUNT.
12375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12376         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12377         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12378
12379 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12380
12381         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12382         * sysdeps/i386/fpu/libm-test-ulps: Update.
12383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12384
12385         [BZ #16293]
12386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12387         round-to-nearest mode when using frndint.
12388         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12391         Likewise.
12392         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12393         sinh test to fail.
12394         * math/auto-libm-test-out: Regenerated.
12395         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12396         (TEST_COND_x86): Likewise.
12397         (expm1_tonearest_test_data): New array.
12398         (expm1_test_tonearest): New function.
12399         (expm1_towardzero_test_data): New array.
12400         (expm1_test_towardzero): New function.
12401         (expm1_downward_test_data): New array.
12402         (expm1_test_downward): New function.
12403         (expm1_upward_test_data): New array.
12404         (expm1_test_upward): New function.
12405         (main): Run the new test functions.
12406         * sysdeps/i386/fpu/libm-test-ulps: Update.
12407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12408
12409         * include/features.h: Update comment documenting feature test
12410         macros.  Mention _DEFAULT_SOURCE in comment.
12411         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12412         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12413         _BSD_SOURCE and _SVID_SOURCE.
12414         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12415         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12416         !_SVID_SOURCE]: Likewise.
12417         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12418         (__USE_POSIX_IMPLICITLY): Define.
12419         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12420         (_POSIX_SOURCE): Undefine and redefine.
12421         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12422         (_POSIX_C_SOURCE): Likewise.
12423         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12424         (Feature Test Macros): Update documentation of default features.
12425
12426 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12427
12428         * benchtests/Makefile: Add bench-strtok.
12429         * benchtests/bench-strtok.c: New file: strtok benchtest.
12430
12431 2013-12-19  Allan McRae  <allan@archlinux.org>
12432
12433         * manual/install.texi: Suppress menu for plain text output.
12434         * INSTALL: Regenerated.
12435
12436 2013-12-18  Brooks Moses  <bmoses@google.com>
12437
12438         [BZ #15846]
12439         * misc/getauxval.c: Include errno.h.
12440         (__getauxval): Set errno to ENOENT if the requested type is not
12441         found.
12442         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12443         don't declare with __attribute_const__.
12444         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12445         * manual/startup.texi: Document that getauxval sets errno.
12446
12447 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12448
12449         * math/auto-libm-test-in: Add tests of jn and yn.
12450         * math/auto-libm-test-out: Regenerated.
12451         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12452         (yn_test_data): Likewise.
12453         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12454         mpfr_if_f.
12455         (func_calc_desc): Add mpfr_if_f union field.
12456         (FUNC_mpfr_if_f): New macro.
12457         (test_functions): Add jn and yn.
12458         (calc_generic_results): Assert type of second input for
12459         mpfr_ff_f.  Handle mpfr_if_f.
12460         (output_for_one_input_case): Disable all checking for arguments
12461         fitting floating-point types in case of an integer argument.
12462         * sysdeps/i386/fpu/libm-test-ulps: Update.
12463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12464
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12466         Don't expect fegetround reference in libm.so.
12467
12468 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12469
12470         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12471         $(config-cflags-nofma).
12472
12473 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12474
12475         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12476         * math/auto-libm-test-out: Regenerated.
12477
12478         [BZ #16338]
12479         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12480         to determine exponent and adjust argument to have exponent of -1.
12481         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12482         log2.
12483         * math/auto-libm-test-out: Regenerated.
12484         * sysdeps/i386/fpu/libm-test-ulps: Update.
12485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12486
12487 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12488
12489         * manual/probes.texi: Remove cases when per-thread arenas are
12490         disabled.
12491
12492 2013-12-18  Andreas Schwab  <schwab@suse.de>
12493
12494         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12495         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12496         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12497         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12498         * sysdeps/i386/i686/multiarch/Makefile: Update.
12499         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12500
12501 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12502
12503         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12504         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12505
12506 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12507
12508         [BZ #15968]
12509         Support TZ transition times < 00:00:00.
12510         This is needed for version-3 tz-format files; it supports time
12511         stamps past 2037 for America/Godthab (the only entry in the tz
12512         database for which this change is relevant).
12513         * manual/time.texi (TZ Variable): Document transition times
12514         from -167:59:59 through -00:00:01.
12515         * time/tzset.c (tz_rule): Time of day is now signed.
12516         (__tzset_parse_tz): Parse negative time of day.
12517
12518         Document TZ transition times >= 25:00:00.
12519         * manual/time.texi (TZ Variable): Document transition times from
12520         25:00:00 through 167:59:59.  These are already supported, and this
12521         support will help with version-3 tz-format files.
12522
12523         * manual/time.texi (TZ Variable): Modernize North America example
12524         to reflect current (i.e., 2007-and-later) daylight saving rules.
12525
12526         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12527
12528 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12529
12530         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12531         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12534         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12535         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12536         * sysdeps/unix/bsd/clock.c: Likewise.
12537         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12538         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12539         * sysdeps/unix/bsd/init-posix.c: Likewise.
12540         * sysdeps/unix/bsd/poll.c: Likewise.
12541         * sysdeps/unix/bsd/ptsname.c: Likewise.
12542         * sysdeps/unix/bsd/seekdir.c: Likewise.
12543         * sysdeps/unix/bsd/setegid.c: Likewise.
12544         * sysdeps/unix/bsd/seteuid.c: Likewise.
12545         * sysdeps/unix/bsd/setgid.c: Likewise.
12546         * sysdeps/unix/bsd/setrgid.c: Likewise.
12547         * sysdeps/unix/bsd/setruid.c: Likewise.
12548         * sysdeps/unix/bsd/setsid.c: Likewise.
12549         * sysdeps/unix/bsd/setuid.c: Likewise.
12550         * sysdeps/unix/bsd/sigaction.c: Likewise.
12551         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12552         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12553         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12554         * sysdeps/unix/bsd/telldir.c: Likewise.
12555         * sysdeps/unix/bsd/times.c: Likewise.
12556         * sysdeps/unix/bsd/usleep.c: Likewise.
12557
12558         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12559         ($(objpfx)libbsd-compat.a): Remove rule.
12560
12561         * include/features.h (__FAVOR_BSD): Do not define.
12562         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12563         features conflicting with POSIX.
12564         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12565         (_BSD_SOURCE): Remove description of not being a subset of other
12566         feature test macros.
12567         * manual/job.texi (getpgrp): Do not document BSD version.
12568         (getpgid): Do not document by reference to BSD getpgrp.
12569         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12570         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12571         * signal/signal.h [__FAVOR_BSD]: Likewise.
12572         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12573         instead of making contents conditional on [__FAVOR_BSD].
12574         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12575
12576 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12577
12578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12579
12580 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12581
12582         [BZ #16314]
12583         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12584         values below 2**-450, not 2**-500.
12585         * math/auto-libm-test-in: Don't allow spurious underflow from
12586         hypot.
12587         * math/auto-libm-test-out: Regenerated.
12588
12589         [BZ #16316]
12590         [BZ #16330]
12591         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12592         values of ha and hb and sort them after adjusting subnormal
12593         arguments.
12594         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12595         Likewise.
12596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12597         values of ea and eb and sort them after adjusting subnormal
12598         arguments.
12599         * math/auto-libm-test-in: Do not expect some hypot tests of
12600         subnormals to fail.  Add more hypot tests.
12601         * math/auto-libm-test-out: Regenerated.
12602
12603 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12604
12605         [BZ #13304]
12606         * sysdeps/sh/s_fma.c: New file.
12607         * sysdeps/sh/s_fmaf.c: New file.
12608         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12609         version.
12610         * sysdeps/sh/Implies: Add sh/soft-fp.
12611
12612 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12613
12614         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12615         level of indirection to members `objname', `errstring', `malloced'.
12616         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12617         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12618         it as the __longjmp argument (just pass 1 instead).
12619         (_dl_catch_error): Initialize C with argument pointers and address of
12620         volatile local ERRCODE rather than copying values out of C at return.
12621
12622 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12623
12624         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12625         * math/auto-libm-test-out: Regenerated.
12626         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12627         (hypot_test_data): Likewise.
12628         (pow_test_data): Likewise.
12629         (pow_tonearest_test_data): Likewise.
12630         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12631         mpfr_ff_f.
12632         (func_calc_desc): Add mpfr_ff_f union field.
12633         (FUNC_mpfr_ff_f): New macro.
12634         (test_functions): Add atan2, hypot and pow.
12635         (special_fill_min): New function.
12636         (special_fill_minus_min): Likewise.
12637         (special_fill_min_subnorm): Likewise.
12638         (special_fill_minus_min_subnorm): Likewise.
12639         (special_real_inputs): Add min, -min, min_subnorm and
12640         -min_subnorm.
12641         (calc_generic_results): Handle mpfr_ff_f.
12642         * sysdeps/i386/fpu/libm-test-ulps: Update.
12643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12644
12645 2013-12-16  Will Newton  <will.newton@linaro.org>
12646
12647         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12648         (Aligned Memory Blocks): Add documentation for aligned_alloc
12649         and suggest it as an alternative to posix_memalign.
12650         (Hooks for Malloc): Document __memalign_hook is also called
12651         for aligned_alloc.  (Summary of Malloc): Add summary for
12652         aligned alloc.  Document __memalign_hook is also called
12653         for aligned_alloc.
12654
12655 2013-12-16  Will Newton  <will.newton@linaro.org>
12656
12657         * manual/memory.texi (Malloc Examples): Clarify default
12658         alignment documentation.  Suggest posix_memalign rather
12659         than memalign or valloc.
12660         (Aligned Memory Blocks): Remove suggestion to use memalign
12661         or valloc.  Remove obsolete comment about BSD.
12662         Document memalign errno values and mark the function obsolete.
12663         Document posix_memalign returned error codes.  Mark valloc
12664         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12665         called for posix_memalign and valloc.
12666         (Summary of Malloc): Add posix_memalign to function summary.
12667         __memalign_hook is also called for posix_memalign and valloc.
12668
12669 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12670
12671         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12672         TAYLOR_SIN.
12673         (__sin): Adjust.
12674         (__cos): Likewise.
12675         (sloww): Use mynumber union.  Expand ternary operator into
12676         if-else statements.
12677         (cslow): use mynumber union.
12678
12679 2013-12-16  Allan McRae  <allan@archlinux.org>
12680
12681         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12682         * configure: Regenerated.
12683
12684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12685
12686         [BZ #14120]
12687         * configure.ac: Added --enable-maintainer-mode. Check for
12688         autoconf when enabled.
12689         * configure: Regenerated.
12690
12691         * nscd/nscd.service: New file.
12692         * nscd/nscd.tmpfiles: New file.
12693
12694 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12695
12696         [BZ #12100]
12697         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12698         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12699         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12700         (strstr): Add __strstr_sse2_unaligned ifunc.
12701         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12702         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12703         (strcasestr): Remove __strcasestr_sse42 ifunc.
12704         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12707
12708 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12709
12710         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12711         * sysdeps/sh/bits/fenv.h: ... here.
12712         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12713
12714 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12715
12716         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12717
12718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12719         hypotf multiarch implementations.
12720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12723         multiarch hypot for PPC64.
12724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12725         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12726         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12727         multiarch hypotf for PPC64.
12728
12729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12730         modff multiarch implementations.
12731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12734         multiarch modf for PPC64.
12735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12738         multiarch modff for PPC64.
12739
12740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12741         and logl multiarch implementations.
12742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12745         multiarch logb for PPC64.
12746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12749         multiarch logb for PPC64.
12750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12753         multiarch logb for PPC64.
12754
12755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12756         isinff multiarch implementation.
12757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12758         file.
12759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12761         multiarch isinf for PPC64.
12762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12763         file.
12764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12765         multiarch isinff for PPC64.
12766
12767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12768         finitef multiarch implementation.
12769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12770         file.
12771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12773         multiarch finite for PPC64.
12774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12775         file.
12776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12777         multiarch finitef for PPC64.
12778
12779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12780         lrint multiarch implementation.
12781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12782         file.
12783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12785         multiarch llrint for PPC64.
12786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12787         multiarch lrint for PPC64.
12788
12789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12790         copysignf multiarch implementation.
12791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12792         file.
12793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12794         file.
12795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12796         multiarch copysign for PPC64.
12797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12798         multiarch copysignf for PPC64.
12799
12800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12801         multiarch implementation.
12802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12803         file.
12804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12805         file.
12806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12807         file.
12808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12809         file.
12810         multiarch llround for PPC64.
12811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12812         multiarch trunc for PPC64.
12813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12814         multiarch truncf for PPC64.
12815
12816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12817         multiarch implementation.
12818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12819         file.
12820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12821         file.
12822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12823         file.
12824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12825         file.
12826         multiarch llround for PPC64.
12827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12828         multiarch round for PPC64.
12829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12830         multiarch roundf for PPC64.
12831
12832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12833         multiarch implementation.
12834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12835         file.
12836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12837         file.
12838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12839         file.
12840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12841         file.
12842         multiarch llround for PPC64.
12843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12844         multiarch floor for PPC64.
12845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12846         multiarch floorf for PPC64.
12847
12848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12849         multiarch implementation.
12850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12851         file.
12852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12853         file.
12854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12855         file.
12856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12857         file.
12858         multiarch llround for PPC64.
12859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12860         multiarch ceil for PPC64.
12861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12862         multiarch ceilf for PPC64.
12863
12864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12865         multiarch implementation.
12866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12867         file.
12868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12869         file.
12870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12871         file.
12872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12873         multiarch llround for PPC64.
12874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12875         multiarch lround for PPC64.
12876
12877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12878         multiarch implementation.
12879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12882         file.
12883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12886         multiarch isnan for PPC64.
12887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12888         multiarch isnanf for PPC64.
12889
12890         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12891         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12892         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12893         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12894         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12896
12897         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12898         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12901
12902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12903         multiarch implementations.
12904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12905         (__libc_ifunc_impl_list): Likewise.
12906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12909         multiarch stpcpy for PPC64.
12910
12911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12912         multiarch implementations.
12913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12914         (__libc_ifunc_impl_list): Likewise.
12915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12916         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12917         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12918         multiarch strcpy for PPC64.
12919
12920         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12921         redefine function name.
12922         (_wordcopy_fwd_dest_aligned): Likewise.
12923         (_wordcopy_bwd_aligned): Likewise.
12924         (_wordcopy_bwd_dest_aligned): Likewise.
12925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12926         multiarch implementations.
12927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12928         (__libc_ifunc_impl_list): Likewise.
12929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12933         multiarch wcscpy for PPC64.
12934
12935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12936         multiarch implementations.
12937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12938         (__libc_ifunc_impl_list): Likewise.
12939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12940         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12942         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12943         multiarch wcscpy for PPC64.
12944
12945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12946         multiarch implementations.
12947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12948         (__libc_ifunc_impl_list): Likewise.
12949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12950         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12951         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12952         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12953         multiarch wcsrchr for PPC64.
12954
12955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12956         multiarch implementations.
12957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12958         (__libc_ifunc_impl_list): Likewise.
12959         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12960         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12961         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12963         multiarch wcschr for PPC64.
12964
12965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12966         multiarch implementations.
12967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12968         (__libc_ifunc_impl_list): Likewise.
12969         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12971         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12972         multiarch strchrnul for PPC64.
12973
12974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12975         implementations.
12976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12977         (__libc_ifunc_impl_list): Likewise.
12978         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12979         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12980         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12981         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12982         strchr for PPC64.
12983
12984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12985         implementations.
12986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12987         (__libc_ifunc_impl_list): Likewise.
12988         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12992         strncmp for PPC64.
12993
12994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12995         multiarch implementations.
12996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12997         (__libc_ifunc_impl_list): Likewise.
12998         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12999         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13000         strncasecmp for PPC64.
13001         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13002         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13003         multiarch strncasecmp_l for PPC64.
13004
13005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13006         multiarch implementations.
13007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13008         (__libc_ifunc_impl_list): Likewise.
13009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13010         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13011         multiarch strcasecmp for PPC64.
13012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13013         file.
13014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13015         multiarch strcasecmp_l for PPC64.
13016
13017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13018         implementations.
13019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13020         (__libc_ifunc_impl_list): Likewise.
13021         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13022         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13023         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13024         strnlen for PPC64.
13025
13026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13027         implementations.
13028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13029         (__libc_ifunc_impl_list): Likewise.
13030         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13031         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13032         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13033         strlen for PPC64.
13034
13035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13036         implementations.
13037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13038         (__libc_ifunc_impl_list): Likewise.
13039         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13040         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13041         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13042         rawmemrchr for PPC64.
13043
13044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13045         implementation.
13046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13047         (__libc_ifunc_impl_list): Likewise.
13048         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13049         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13050         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13051         memrchr for PPC64.
13052
13053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13054         implementation.
13055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13056         (__libc_ifunc_impl_list): Likewise.
13057         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13058         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13059         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13060         memchr for PPC64.
13061
13062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13063         implementation.
13064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13065         (__libc_ifunc_impl_list): Likewise.
13066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13067         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13069         mempcpy for PPC64.
13070
13071         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13072         avoid cretion of __bzero symbol.
13073         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13074         Likewise.
13075         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13076         Likewise.
13077         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13078         Likewise.
13079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13080         multiarch implementations.
13081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13082         (__libc_ifunc_impl_list): Likewise.
13083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13084         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13085         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13086         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13087         bzero for PPC32.
13088         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13089         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13090         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13091         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13092         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13093         memset for PPC64.
13094         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13095
13096         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13098         implementations.
13099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13100         (__libc_ifunc_impl_list): Likewise.
13101         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13102         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13103         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13104         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13105         memcmp for PPC64.
13106
13107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13108         multiarch for POWER/PPC64.
13109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13110         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13114         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13116         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13117         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13118         memcpy for PPC64.
13119
13120         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13121         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13122         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13123         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13124         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13125         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13126         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13127         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13128         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13129         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13130         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13131         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13132         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13133         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13134         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13142
13143 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13144
13145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13146
13147 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13148
13149         * benchtests/Makefile (bench): Add exp2 and log2.
13150         (LDLIBS-bench-exp2): Add -lm.
13151         (LDLIBS-bench-log2): Likewise.
13152         * benchtests/exp2-inputs: New inputs file.
13153         * benchtests/log2-inputs: New inputs file.
13154         * benchtests/log-inputs: Add new inputs.
13155         * benchtests/tan-inputs: Likewise.
13156
13157 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13158
13159         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13160         definition...
13161         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13162         (csloww2): ... from here.
13163
13164         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13165         instead of structures.
13166         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13167         (POLYNOMIAL): Likewise.
13168         (TAYLOR_SLOW): Likewise.
13169         (__sin): Likewise.
13170         (__cos): Likewise.
13171         (slow1): Likewise.
13172         (slow2): Likewise.
13173         (sloww): Likewise.
13174         (sloww1); Likewise.
13175         (sloww2): Likewise.
13176         (bsloww1): Likewise.
13177         (bsloww2): Likewise.
13178         (cslow2): Likewise.
13179         (csloww): Likewise.
13180         (csloww1): Likewise.
13181         (csloww2): Likewise.
13182
13183 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13184
13185         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13186         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13187         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13188         * malloc/hooks.c (realloc_check): Likewise.
13189
13190         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13191         * malloc/arena.c: Remove PER_THREAD conditional.
13192         [!PER_THREAD]: Remove code.
13193         (ptmalloc_unlock_all2): Likewise.
13194         (ptmalloc_init): Likewise.
13195         (_int_new_arena): Likewise.
13196         (arena_get2): Likewise.
13197         * malloc/hooks.c (__malloc_get_state): Likewise.
13198         (__malloc_set_state): Likewise.
13199         * malloc/malloc.c: Likewise.
13200         (struct malloc_state): Likewise.
13201         (struct malloc_par): Likewise.
13202         (__libc_realloc): Likewise.
13203         (__libc_mallopt): Likewise.
13204
13205 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13206
13207         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13208
13209 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13210
13211         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13212         macro to a function.  Check for zero perturb_byte.
13213         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13214
13215         * malloc/malloc.c: (force_reg): Remove.
13216         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13217         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13218         force_reg by atomic_forced_read.
13219         * malloc/arena.c (ptmalloc_init): Likewise.
13220         * malloc/hooks.c (top_check): Likewise.
13221
13222 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13223
13224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13225
13226 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13227
13228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13229
13230 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13231
13232         * math/auto-libm-test-in: Add tests of lgamma.
13233         * math/auto-libm-test-out: Regenerated.
13234         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13235         (M_LOG_2_SQRT_PIl): Likewise.
13236         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13238         mpfr_f_f1.
13239         (func_calc_desc): Add mpfr_f_f1 union field.
13240         (ARGS1): New macro.
13241         (ARGS2): Likewise.
13242         (ARGS3): Likewise.
13243         (ARGS4): Likewise.
13244         (RET1): Likewise.
13245         (RET2): Likewise.
13246         (CALC): Likewise.
13247         (FUNC): Likewise.
13248         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13249         (test_functions): Add lgamma.
13250         (calc_generic_results): Handle mpfr_f_f1.
13251         * sysdeps/i386/fpu/libm-test-ulps: Update.
13252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13253
13254 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13255
13256         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13257         __mpn_add_n for PowerPC64/POWER7.
13258         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13259         __mpn_sub_n for PowerPC64/POWER7.
13260
13261         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13262         __mpn_addmul_1 for PowerPC64.
13263         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13264         __mpn_submul_1 for PowerPC64.
13265         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13266         for PowerPC64.
13267         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13268         for PowerPC64.
13269
13270 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13271
13272         [BZ #15089]
13273         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13274
13275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13276
13277         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13278
13279         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13280         add multiarch folders.
13281         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13282         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13283         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13284         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13285         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13286         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13287         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13288         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13289         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13290         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13291         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13298
13299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13300         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13302         New file.
13303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13304         New file.
13305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13306         multiarch __ieee754_hypot for PowerPC32.
13307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13308         New file.
13309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13310         New file.
13311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13312         multiarch __ieee754_hypotf for PowerPC32.
13313
13314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13315         long_double_symbol only if __logbl is defined.
13316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13317         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13319         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13321         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13323         path for implementation.
13324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13327         logb, and logbl multiarch implementations for PowerPC32.
13328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13329         file.
13330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13331         file.
13332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13333         multiarch logb for PowerPC32.
13334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13335         file.
13336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13337         file.
13338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13339         multiarch logbf for PowerPC32.
13340         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13342         file.
13343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13344         multiarch logbl implementation for PowerPC32.
13345
13346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13347         and modff multiarch implementations.
13348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13349         New file.
13350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13351         New file.
13352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13353         multiarch modf for PowerPC32.
13354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13355         New file.
13356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13357         New file.
13358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13359         multiarch modff for PowerPC32.
13360
13361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13362         and lrintf multiarch implementations.
13363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13364         New file.
13365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13366         New file.
13367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13368         multiarch lrint for PowerPC32.
13369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13370         file: multiarch lrintf for PowerPC32.
13371
13372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13373         and lroundf multiarch implementations.
13374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13375         New file.
13376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13377         New file.
13378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13379         New file.
13380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13381         multiarch lround for PowerPC32.
13382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13383         file: multiarch lroundf for PowerPC32.
13384
13385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13386         copysign and copysignf multiarch implementations.
13387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13388         New file.
13389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13390         New file.
13391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13392         file: multiarch copysign for PowerPC32.
13393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13394         file: multiarch copysignf for PowerPC32.
13395
13396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13397         and truncf multiarch implementations.
13398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13399         New file.
13400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13401         file.
13402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13403         multiarch trunc for PowerPC32.
13404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13405         New file.
13406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13407         New file.
13408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13409         multiarch truncf for PowerPC32.
13410
13411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13412         and roundf multiarch implementations.
13413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13414         New file.
13415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13416         file.
13417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13418         multiarch round for PowerPC32.
13419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13420         New file.
13421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13422         New file.
13423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13424         multiarch roundf for PowerPC32.
13425
13426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13427         and floorf multiarch implementations.
13428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13429         New file.
13430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13431         file.
13432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13433         multiarch floor for PowerPC32.
13434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13435         New file.
13436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13437         New file.
13438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13439         multiarch floorf for PowerPC32.
13440
13441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13442         and ceilf multiarch implementations.
13443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13444         New file.
13445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13446         file.
13447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13448         multiarch ceil for PowerPC32.
13449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13450         New file.
13451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13452         file.
13453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13454         multiarch ceilf for PowerPC32.
13455
13456         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13457         is defined.
13458         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13459         FINITEF is defined.
13460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13461         and finitef multiarch implementations.
13462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13463         New file.
13464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13465         file.
13466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13467         multiarch finite for PowerPC32.
13468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13469         New file.
13470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13471         file: multiarch finitef for PowerPC32.
13472
13473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13474         and isinff multiarch implementations.
13475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13476         file.
13477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13478         file.
13479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13480         multiarch isinf for PowerPC32.
13481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13482         New file.
13483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13484         multiarch isinff for PowerPC32.
13485
13486         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13487         alias when __isnan is defined.
13488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13489         and isnanf multiarch implementations.
13490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13491         file.
13492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13493         file.
13494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13495         file.
13496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13497         file.
13498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13499         multiarch isnan for PowerPC32.
13500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13501         New file.
13502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13503         New file.
13504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13505         multiarch isnanf for PowerPC32.
13506
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13508         and sqrtf multiarch implementations.
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13510         file.
13511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13512         file.
13513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13514         multiarch sqrt for PowerPC32.
13515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13516         file.
13517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13518         file.
13519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13520         multiarch sqrtf for PowerPC32.
13521
13522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13523         and llroundf multiarch implementations.
13524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13525         New file.
13526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13527         New file.
13528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13529         New file.
13530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13531         file: multiarch llround for PowerPC32.
13532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13533         file: multiarch llroundf for PowerPC32.
13534
13535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13536         multiarch PowerPC32 fpu implementations.
13537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13538         New file.
13539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13540         New file.
13541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13542         multiarch llrint for PowerPC32.
13543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13544         New file.
13545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13546         New file.
13547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13548         file.
13549
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13551
13552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13553         file.
13554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13555         file.
13556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13557         file.
13558         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13559         multiarch wordcopy for PPC32.
13560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13561         wordcopy objects.
13562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13563         (__libc_ifunc_impl_list): Likewise.
13564         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13565         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13567         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13569         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13570
13571         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13573         file.
13574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13575         file.
13576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13577         file.
13578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13579         multiarch wcscpy for PPC32.
13580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13581         multiarch objects.
13582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13583         (__libc_ifunc_impl_list): Likewise.
13584         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13585         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13586         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13587         sysdeps/powerpc/power6/wcscpy.c.
13588
13589         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13591         file.
13592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13593         file.
13594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13595         file.
13596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13597         multiarch wcsrchr for PPC32.
13598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13599         multiarch objects.
13600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13601         (__libc_ifunc_impl_list): Likewise.
13602         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13603         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13604         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13605         sysdeps/powerpc/power6/wcsrchr.c.
13606
13607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13608         file.
13609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13610         file.
13611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13613         multiarch wcschr for PPc32.
13614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13615         multiarch objects.
13616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13617         (__libc_ifunc_impl_list): Likewise.
13618         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13619         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13620         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13621         sysdeps/powerpc/power6/wcschr.c.
13622
13623         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13625         file.
13626         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13627         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13628         file: multiarch strchr for PPC32.
13629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13630         multiarch objects.
13631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13632         (__libc_ifunc_impl_list): Likewise.
13633
13634         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13635         name.
13636         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13637         file.
13638         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13639         file.
13640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13641         multiarch strchrnul for PPC32.
13642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13643         multiarch objects.
13644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13645         (__libc_ifunc_impl_list): Likewise.
13646
13647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13648         file.
13649         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13650         multiarch strncasecmp for PPC32.
13651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13652         file.
13653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13654         multiarch strncasecmp_l for PPC32.
13655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13656         strncasecmp multiarch objects.
13657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13658         (__libc_ifunc_impl_list): Likewise.
13659
13660         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13661         file.
13662         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13663         multiarch strncasecmp for PPC32.
13664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13665         New file.
13666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13667         multiarch strcasecmp_l for PPC32.
13668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13669         multiarch objects.
13670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13671         (__libc_ifunc_impl_list): Likewise.
13672
13673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13674         file.
13675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13676         file.
13677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13678         multiarch strncmp for PPC32.
13679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13680         multiarch objects.
13681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13682         (__libc_ifunc_impl_list): Likewise.
13683
13684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13685         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13686         file.
13687         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13688         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13690         multiarch objects.
13691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13692         (__libc_ifunc_impl_list): Likewise.
13693
13694         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13695         file.
13696         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13697         file.
13698         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13700         multiarch objects.
13701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13702         (__libc_ifunc_impl_list): Likewise.
13703
13704         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13705         file.
13706         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13707         file.
13708         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13709         multiarch rawmemchr for PPC32.
13710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13711         multiarch objects.
13712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13713         (__libc_ifunc_impl_list): Likewise.
13714
13715         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13716         file.
13717         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13718         file.
13719         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13720         file: memrchr multiarch for PPC32.
13721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13722         multiarch objects.
13723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13724         (__libc_ifunc_impl_list): Likewise.
13725
13726         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13728         file.
13729         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13731         multiarch memchr for PPC32.
13732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13733         multiarch objects.
13734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13735         (__libc_ifunc_impl_list): Likewise.
13736
13737         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13738         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13739         file.
13740         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13741         file.
13742         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13743         file: multiarch mempcpy for PPC32.
13744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13745         multiarch objects.
13746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13747         (__libc_ifunc_impl_list): Likewise.
13748
13749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13751         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13752         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13753         multiarch bzero for PPC32.
13754         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13755         file.
13756         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13757         file.
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13759         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13760         file: multiarch memset for PPC32.
13761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13763         memset multiarch objects.
13764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13765         (__libc_ifunc_impl_list): Likewise.
13766
13767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13768         file.
13769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13771         memcmp for PPC32.
13772         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13774         multiarch objects.
13775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13776         (__libc_ifunc_impl_list): Likewise.
13777
13778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13781         file.
13782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13783         file.
13784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13785         file.
13786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13787         multiarch memcpy for PPC32.
13788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13789         multiarch objects.
13790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13791         (__libc_ifunc_impl_list): Likewise.
13792
13793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13794         support multiarch for POWER/PPC32.
13795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13796         Likewise.
13797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13799         Implies file to make multiarch folder appers before the fpu and
13800         default folder for power4 configuration.
13801
13802 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13803
13804         * scripts/bench.pl: Append volatile keyword to type.
13805
13806 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13807
13808         * sysdeps/sh/sotruss-lib.c: New file.
13809         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13810
13811 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13812
13813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13814
13815 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13816
13817         [BZ #6810]
13818         * math/w_tgamma.c: Include <errno.h>.
13819         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13820         * math/w_tgammaf.c: Include <errno.h>.
13821         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13822         * math/w_tgammal.c: Include <errno.h>.
13823         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13824         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13825         underflow.  Add more tgamma tests.
13826         * math/auto-libm-test-out: Regenerated.
13827         * sysdeps/i386/fpu/libm-test-ulps: Update.
13828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13829
13830         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13831         sin, sinh, tan, tanh, tgamma, y0 and y1.
13832         * math/auto-libm-test-out: Regenerated.
13833         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13834         (TEST_COND_x86): Likewise.
13835         (M_E2l): Remove macro.
13836         (M_E3l): Likewise.
13837         (M_2_SQRT_PIl): Likewise.
13838         (M_SQRT_PIl): Likewise.
13839         (M_1_DIV_El): Likewise.
13840         (log_test_data): Use AUTO_TESTS_f_f.
13841         (log10_test_data): Likewise.
13842         (log1p_test_data): Likewise.
13843         (log2_test_data): Likewise.
13844         (sin_test_data): Likewise.
13845         (sin_tonearest_test_data): Likewise.
13846         (sin_towardzero_test_data): Likewise.
13847         (sin_downward_test_data): Likewise.
13848         (sin_upward_test_data): Likewise.
13849         (sinh_test_data): Likewise.
13850         (sinh_tonearest_test_data): Likewise.
13851         (sinh_towardzero_test_data): Likewise.
13852         (sinh_downward_test_data): Likewise.
13853         (sinh_upward_test_data): Likewise.
13854         (tan_test_data): Likewise.
13855         (tan_tonearest_test_data): Likewise.
13856         (tan_towardzero_test_data): Likewise.
13857         (tan_downward_test_data): Likewise.
13858         (tan_upward_test_data): Likewise.
13859         (tanh_test_data): Likewise.
13860         (tgamma_test_data): Likewise.
13861         (y0_test_data): Likewise.
13862         (y1_test_data): Likewise.
13863         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13864         (special_real_inputs): Add pi/4.
13865         * sysdeps/i386/fpu/libm-test-ulps: Update.
13866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13867
13868 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13869
13870         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13871         "longjmp_target" static probes.
13872         (__longjmp): Rename to __longjmp_symbol.
13873         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13874         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13875         on which longjmp to generate.
13876         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13877         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13878         probe.
13879         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13880         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13881         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13882         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13883         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13886         __longjmp_symbol based on which __longjmp to generate.
13887         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13888         probe.
13889         (setjmp): Rename to setjmp_symbol.
13890         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13891         (_setjmp): Rename to _setjmp_symbol.
13892         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13893         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13894         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13895         which setjmp to generate.
13896         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13897         "longjmp_target" static probes.
13898
13899 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13900
13901         * benchtests/README: Add note about output arguments.
13902         * benchtests/bench-sincos.c: Remove file.
13903         * benchtests/sincos-inputs: New file.
13904         * scripts/bench.pl: Identify output arguments and define
13905         static variables for them.
13906
13907         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13908
13909         [BZ #15941]
13910         * Makefile (INSTALL): Add install-plain.texi as the primary
13911         dependency.
13912         * manual/install-plain.texi: New file.
13913         * manual/install.texi: Include node directive only for
13914         non-plaintext output.
13915
13916 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13917
13918         * stdlib/longlong.h: Update from GCC.
13919
13920         [BZ #6807]
13921         [BZ #15901]
13922         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13923         * math/w_j0f.c (y0f): Likewise.
13924         * math/w_j0l.c (__y0l): Likewise.
13925         * math/w_j1.c (y1): Likewise.
13926         * math/w_j1f.c (y1f): Likewise.
13927         * math/w_j1l.c (__y1l): Likewise
13928         * math/w_jn.c (yn): Likewise.
13929         * math/w_jnf.c (ynf): Likewise.
13930         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13931         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13932         value for Bessel function domain errors outside _SVID_ mode.
13933         Adjust sign of return value for yn (negative integer, 0).
13934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13935         by zero in return for negative x and set sign appropriately for
13936         negative n.
13937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13939         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13940         expectations in error cases.
13941         (y1_test_data): Likewise.
13942         (yn_test_data): Likewise.
13943         * sysdeps/i386/fpu/libm-test-ulps: Update.
13944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13945
13946 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13947
13948         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13949         "64" to "64-v1".  Add "64-v2".
13950         (abi-64-options): Rename to ...
13951         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13952         (abi-64-condition): Rename to ...
13953         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13954         (abi-64-ld-soname): Rename to ...
13955         (abi-64-v1-ld-soname): ... this.
13956         (abi-64-v2-options): Define.
13957         (abi-64-v2-condition): Likewise.
13958         (abi-64-v2-ld-soname): Likewise.
13959         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13960         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13964
13965 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13966             Alan Modra  <amodra@gmail.com>
13967
13968         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13969         New versions for use with the ELFv2 ABI.
13970         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13971         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13972         declaration.
13973         (struct La_ppc64v2_retval): Likewise.
13974         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13975         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13976         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13977         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13978         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13979         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13980         Do not save or restore CR.
13981         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13982         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13983         return values for ELFv2 ABI.  Fix location of FPR return registers.
13984         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13985         updated values for _CALL_ELF == 2.
13986         (La_regs, La_retval, int_retval): Likewise.
13987
13988 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13989
13990         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13991         (FRAME_MIN_SIZE_PARM): Likewise.
13992         (FRAME_BACKCHAIN): Likewise.
13993         (FRAME_CR_SAVE): Likewise.
13994         (FRAME_LR_SAVE): Likewise.
13995         (FRAME_TOC_SAVE): Likewise.
13996         (FRAME_PARM_SAVE): Likewise.
13997         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13998         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13999         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14000         (call_mcount_parm_offset): New macro.
14001         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14002         (PROF): Use symbolic stack frame offsets.
14003         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14004         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14005         Redefine in terms of FRAME_MIN_SIZE.
14006         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14007         (_dl_profile_resolve): Likewise.  Update comment.
14008         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14009         symbols stack frame offsets.
14010         (__sigsetjmp): Likewise.
14011         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14012         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14013         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14014         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14015
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14017         (FRAME_BACKCHAIN): Remove.
14018         (FRAME_CR_SAVE): Likewise.
14019         (FRAME_LR_SAVE): Likewise.
14020         (FRAME_COMPILER_DW): Likewise.
14021         (FRAME_LINKER_DW): Likewise.
14022         (FRAME_TOC_SAVE): Likewise.
14023         (FRAME_PARM_SAVE): Likewise.
14024         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14025         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14026         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14028         (CHECK_SP): Use symbolic stack frame offsets.
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14030         zone" instead of caller's parameter save area for temp storage.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14032         Likewise.  Also, use symbolic stack frame offsets.
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14034         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14035         our own stack frame instead of the caller's.
14036         (__socket): Use symbolic stack frame offsets.
14037
14038 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14039             Alan Modra  <amodra@gmail.com>
14040
14041         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14042         Define.
14043         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14044         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14045         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14046         New function.
14047         (elf_machine_fixup_plt): Call it.
14048         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14049         reloc arguments.
14050         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14051         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14052         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14053         r2 before calling target.
14054
14055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14056             Alan Modra  <amodra@gmail.com>
14057
14058         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14059         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14060         versions of macros to support ELFv2 ABI.
14061         (LOCALENTRY): New macro.
14062         (ENTRY, EALIGN): Use it.
14063         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14064         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14065         fall through into ENTRY entry point.
14066         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14067         Only define if _CALL_ELF != 2.
14068
14069         (elf_machine_matches_host): Verify ABI version matches.
14070         (RTLD_START): Use LOCALENTRY.
14071         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14072         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14073         (PLT_ENTRY_WORDS): New macro.
14074         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14075         (elf_machine_runtime_setup): Support ELFv2 ABI.
14076         (elf_machine_fixup_plt): Likewise.
14077         (elf_machine_plt_conflict): Likewise.
14078         (resolve_ifunc): Likewise.
14079         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14081         Likewise.
14082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14083         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14085         (makecontext): Support ELFv2 ABI.
14086         * elf/elf.h (EF_PPC64_ABI): Define.
14087
14088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14089
14090         * sysdeps/powerpc/powerpc64/sysdep.h
14091         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14092         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14093         (ENTRY) [ASSEMBLER]: ... but instead here ...
14094         (EALIGN) [ASSEMBLER]: ... and here.
14095         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14096         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14097         (ENTRY_2) [!ASSEMBLER]: Use it.
14098         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14099         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14100         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14101         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14104         Use PPC64_LOAD_FUNCPTR.
14105
14106         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14107
14108 2013-12-04  Alan Modra  <amodra@gmail.com>
14109
14110         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14111         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14112         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14113         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14114
14115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14116         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14117         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14118         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14119         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14120         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14121
14122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14123
14124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14125         (__makecontext): Fix incorrect CFI when backtracing out of
14126         context created via makecontext.
14127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14128         (__setcontext): Fix incorrect CFI during switch to new context.
14129         (__novec_setcontext): Likewise.
14130
14131 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14132
14133         [BZ #4772]
14134         * time/strptime_l.c (__strptime_internal): Allow modifiers
14135         in strptime.
14136         * time/tst-strptime.c (day_tests): Add testcase.
14137
14138 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14139
14140         * scripts/bench.pl: Skip over blank lines.
14141
14142 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14143
14144         [BZ #926]
14145         * manual/time.texi (Calendar Time): Clarify what timezone functions
14146         use.
14147
14148 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14149
14150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14151
14152 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14153
14154         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14155         implementation.
14156         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14157         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14158         * debug/memset_chk.c (__memset_chk): Likewise.
14159         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14160         * debug/strncpy_chk.c: Likewise.
14161
14162 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14163
14164         [BZ #15268]
14165         [BZ #15425]
14166         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14167         (__ieee754_exp): For possibly underflowing results, check size of
14168         result and force underflow exception if required.
14169         * math/auto-libm-test-in: Add more tests of exp.
14170         * math/auto-libm-test-out: Regenerated.
14171         * sysdeps/i386/fpu/libm-test-ulps: Update.
14172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14173
14174         [BZ #16283]
14175         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14176         * math/w_exp2f.c (__exp2f): Likewise.
14177         * math/w_exp2l.c (__exp2l): Likewise.
14178         * math/auto-libm-test-in: Do not allow missing errno on exp2
14179         underflow.
14180         * math/auto-libm-test-out: Regenerated.
14181
14182 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14183
14184         [BZ #16274]
14185         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14186         handle filename validation.
14187         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14188         (do_open): Delete.
14189
14190 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14191
14192         [BZ #6786]
14193         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14194         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14195         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14196         <float.h>.
14197         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14198         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14199         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14201         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14202         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14203         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14204         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14205         Add more erfc tests.
14206         * math/auto-libm-test-out: Regenerated.
14207         * sysdeps/i386/fpu/libm-test-ulps: Update.
14208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209
14210         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14211         exp2, expm1, j0 and j1.
14212         * math/auto-libm-test-out: Regenerated.
14213         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14214         (erfc_test_data): Likewise.
14215         (exp_test_data): Likewise.
14216         (exp_tonearest_test_data): Likewise.
14217         (exp_towardzero_test_data): Likewise.
14218         (exp_downward_test_data): Likewise.
14219         (exp_upward_test_data): Likewise.
14220         (exp10_test_data): Likewise.
14221         (exp2_test_data): Likewise.
14222         (expm1_test_data): Likewise.
14223         (j0_test_data): Likewise.
14224         (j1_test_data): Likewise.
14225         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14226         (input_flag_type): Add flag_xfail_rounding.
14227         (input_flags): Add xfail-rounding.
14228         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14229         (output_for_one_input_case): Handle flag_xfail_rounding.
14230         * sysdeps/i386/fpu/libm-test-ulps: Update.
14231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14232
14233 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14234
14235         [BZ #16289]
14236         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14237         division by 0.
14238
14239 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14240
14241         [BZ #16195]
14242         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14243         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14244         (STAP_PROBE0): New macro.
14245         (STAP_PROBE1): Likewise.
14246         (STAP_PROBE2): Likewise.
14247         (STAP_PROBE3): Likewise.
14248         (STAP_PROBE4): Likewise.
14249
14250 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14251
14252         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14253
14254 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14255
14256         * benchtests/Makefile (bench): Add sqrt.
14257         (LDLIBS-bench-sqrt): New.
14258         * benchtests/sqrt-input: New.
14259
14260 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14261
14262         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14263         (GAIH_EAI): Likewise.
14264         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14265         (gaih_inet): Likewise.
14266         (getaddrinfo): Don't use GAIH_EAI.
14267
14268         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14269         (struct gaih): Remove definition.
14270
14271 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14272
14273         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14274         Use HERRNOP directly.
14275
14276 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14277
14278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14279
14280 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14281
14282         * math/gen-auto-libm-tests.c (test_functions): Add more
14283         single-argument functions.
14284         (special_fill_pi_2): New function.
14285         (special_fill_minus_pi_2): Likewise.
14286         (special_fill_pi_6): Likewise.
14287         (special_fill_minus_pi_6): Likewise.
14288         (special_fill_pi_3): Likewise.
14289         (special_fill_2pi_3): Likewise.
14290         (special_fill_e): Likewise.
14291         (special_fill_1_e): Likewise.
14292         (special_fill_e_minus_1): Likewise.
14293         (special_real_inputs): Add more special inputs.
14294         (output_for_one_input_case): Do not require ERANGE on underflow to
14295         zero if round-to-nearest result does not underflow to zero, unless
14296         exact results required.
14297         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14298         atan, atanh, cbrt, cos and cosh.
14299         * math/auto-libm-test-out: Regenerated.
14300         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14301         (acos_tonearest_test_data): Likewise.
14302         (acos_towardzero_test_data): Likewise.
14303         (acos_downward_test_data): Likewise.
14304         (acos_upward_test_data): Likewise.
14305         (acosh_test_data): Likewise.
14306         (asin_test_data): Likewise.
14307         (asin_tonearest_test_data): Likewise.
14308         (asin_towardzero_test_data): Likewise.
14309         (asin_upward_test_data): Likewise.
14310         (asinh_test_data): Likewise.
14311         (atan_test_data): Likewise.
14312         (atanh_test_data): Likewise.
14313         (cbrt_test_data): Likewise.
14314         (cos_test_data): Likewise.
14315         (cos_tonearest_test_data): Likewise.
14316         (cos_towardzero_test_data): Likewise.
14317         (cos_downward_test_data): Likewise.
14318         (cos_upward_test_data): Likewise.
14319         (cosh_test_data): Likewise.
14320         (cosh_tonearest_test_data): Likewise.
14321         (cosh_towardzero_test_data): Likewise.
14322         (cosh_downward_test_data): Likewise.
14323         (cosh_upward_test_data): Likewise.
14324         * sysdeps/i386/fpu/libm-test-ulps: Update.
14325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14326
14327 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14328
14329         [BZ #6787]
14330         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14331         * math/w_exp10f.c (__exp10f): Likewise.
14332         * math/w_exp10l.c (__exp10l): Likewise.
14333         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14334         errno settings in existing tests.
14335
14336         [BZ #14032]
14337         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14338         precision control set to double precision.
14339         * sysdeps/i386/fpu/w_sqrt.c: New file.
14340         * math/auto-libm-test-in: Add more tests.
14341         * math/auto-libm-test-out: Update.
14342
14343         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14344         (sqrt_test_tonearest): New function.
14345         (sqrt_towardzero_test_data): New variable.
14346         (sqrt_test_towardzero): New function.
14347         (sqrt_downward_test_data): New variable.
14348         (sqrt_test_downward): New function.
14349         (sqrt_upward_test_data): New variable.
14350         (sqrt_test_upward): New function.
14351         (main): Call the new functions.
14352
14353         * math/gen-auto-libm-tests.c: New file.
14354         * math/auto-libm-test-in: Likewise.
14355         * math/auto-libm-test-out: New generated file.
14356         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14357         variables.
14358         (%beautify): Add generated representations of zero.
14359         (top level): Set $auto_input and call parse_auto_input.
14360         (beautify): Remove trailing "f" from hex float constants.
14361         (parse_args): Handle XFAIL_TEST.
14362         (convert_condition): New function.
14363         (or_value): Likewise.
14364         (or_cond_value): Likewise.
14365         (generate_testfile): Handle AUTO_TESTS_* lines.
14366         (parse_auto_input): New function.
14367         * math/libm-test.inc (XFAIL_TEST): New macro.
14368         (ERRNO_UNCHANGED): Update value.
14369         (ERRNO_EDOM): Likewise.
14370         (ERRNO_ERANGE): Likewise.
14371         (IGNORE_RESULT): Likewise.
14372         (TEST_COND_flt_32): New macro.
14373         (TEST_COND_dbl_64): Likewise.
14374         (TEST_COND_ldbl_96_intel): Likewise.
14375         (TEST_COND_ldbl_96_m68k): Likewise.
14376         (TEST_COND_ldbl_128): Likewise.
14377         (TEST_COND_ldbl_128ibm): Likewise.
14378         (TEST_COND_long32): Likewise.
14379         (TEST_COND_long64): Likewise.
14380         (TEST_COND_before_rounding): Likewise.
14381         (TEST_COND_after_rounding): Likewise.
14382         (enable_test): Handle XFAIL_TEST flag.
14383         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14384         with finite results.
14385         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14386         auto-libm-test-out.
14387
14388 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14389             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14390
14391         [BZ #16214]
14392         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14393         __tls_get_addr_internal instead of __tls_get_offset in order to
14394         avoid GOT pointer dependency.  Make rtld export
14395         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14396         __tls_get_addr since we are a __tls_get_offset platform.
14397         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14398         GOT pointer being set up before.
14399         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14400
14401 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14402
14403         * manual/math.texi (Errors in Math Functions): Document accuracy
14404         goals.
14405
14406         [BZ #15004]
14407         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14408         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14409         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14410         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14411         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14412         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14413         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14414         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14415         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14416         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14420         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14421         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14422         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14423
14424         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14425         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14426         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14427         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14428         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14429         Likewise.
14430         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14431         Likewise.
14432         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14433         Likewise.
14434         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14435         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14436         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14437         atomic-feupdateenv and flt-rounds.
14438         * sysdeps/powerpc/nofpu/Versions (libc): Add
14439         __atomic_feholdexcept, __atomic_feclearexcept,
14440         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14442         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14443         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14444         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14445         here.
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14447         Update.
14448
14449         * manual/arith.texi (FP Exceptions): Document that exceptions may
14450         not be raised when matherr is used.
14451         (Math Error Reporting): Document overflow in directed rounding
14452         modes.  Document that errno may not be set when finite values are
14453         returned on overflow.  Document intent to set errno on underflow
14454         only for underflow to zero.
14455
14456         [BZ #16271]
14457         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14458         round-to-nearest then adjust result for other rounding modes.
14459         * include/fenv.h (fegetround): Use libm_hidden_proto.
14460         * math/fegetround.c (fegetround): Use libm_hidden_def.
14461         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14462         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14463         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14465         Likewise.
14466         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14468         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14469         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14470
14471 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14472
14473         [BZ #16077]
14474         * nss/Versions (libnss_files): Add
14475         _nss_files_gethostbyname3_r.
14476         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14477         New function.
14478         (HOST_DB_LOOKUP): Remove macro.
14479         (_nss_files_gethostbyname_r): Implement function without the
14480         HOST_DB_LOOKUP macro.
14481         (_nss_files_gethostbyname2_r): Likewise.
14482
14483 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14484
14485         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14486
14487 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14488
14489         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14490         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14491         warning.
14492
14493 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14494
14495         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14496         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14497         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14498         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14499         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14500         __fe_nomask_env_priv and attribute_hidden.
14501         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14502         (libc_feupdateenv_test_ppc): Likewise.
14503         (libc_feresetround_ppc): Likewise.
14504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14505         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14506         compat_symbol macro.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14508         (__fe_nomask_env): Likewise.
14509         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14510
14511 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14512
14513         * string/Makefile: Remove ifunc tests.
14514         * string/test-string.h: Define TEST_IFUNC.
14515         * string/test-bcopy-ifunc.c: Remove.
14516         * string/test-bzero-ifunc.c: Likewise.
14517         * string/test-memccpy-ifunc.c: Likewise.
14518         * string/test-memchr-ifunc.c: Likewise.
14519         * string/test-memcmp-ifunc.c: Likewise.
14520         * string/test-memcpy-ifunc.c: Likewise.
14521         * string/test-memmem-ifunc.c: Likewise.
14522         * string/test-memmove-ifunc.c: Likewise.
14523         * string/test-mempcpy-ifunc.c: Likewise.
14524         * string/test-memrchr-ifunc.c: Likewise.
14525         * string/test-memset-ifunc.c: Likewise.
14526         * string/test-rawmemchr-ifunc.c: Likewise.
14527         * string/test-stpcpy-ifunc.c: Likewise.
14528         * string/test-stpncpy-ifunc.c: Likewise.
14529         * string/test-strcasecmp-ifunc.c: Likewise.
14530         * string/test-strcasestr-ifunc.c: Likewise.
14531         * string/test-strcat-ifunc.c: Likewise.
14532         * string/test-strchr-ifunc.c: Likewise.
14533         * string/test-strchrnul-ifunc.c: Likewise.
14534         * string/test-strcmp-ifunc.c: Likewise.
14535         * string/test-strcpy-ifunc.c: Likewise.
14536         * string/test-strcspn-ifunc.c: Likewise.
14537         * string/test-strlen-ifunc.c: Likewise.
14538         * string/test-strncasecmp-ifunc.c: Likewise.
14539         * string/test-strncat-ifunc.c: Likewise.
14540         * string/test-strncmp-ifunc.c: Likewise.
14541         * string/test-strncpy-ifunc.c: Likewise.
14542         * string/test-strnlen-ifunc.c: Likewise.
14543         * string/test-strpbrk-ifunc.c: Likewise.
14544         * string/test-strrchr-ifunc.c: Likewise.
14545         * string/test-strspn-ifunc.c: Likewise.
14546         * string/test-strstr-ifunc.c: Likewise.
14547
14548 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14549
14550         * benchtests/Makefile: Remove ifunc tests.
14551         * benchtests/bench-string.h: Define TEST_IFUNC.
14552         * benchtests/bench-bcopy-ifunc.c: Remove.
14553         * benchtests/bench-bzero-ifunc.c: Likewise.
14554         * benchtests/bench-memccpy-ifunc.c: Likewise.
14555         * benchtests/bench-memchr-ifunc.c: Likewise.
14556         * benchtests/bench-memcmp-ifunc.c: Likewise.
14557         * benchtests/bench-memcpy-ifunc.c: Likewise.
14558         * benchtests/bench-memmem-ifunc.c: Likewise.
14559         * benchtests/bench-memmove-ifunc.c: Likewise.
14560         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14561         * benchtests/bench-memrchr-ifunc.c: Likewise.
14562         * benchtests/bench-memset-ifunc.c: Likewise.
14563         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14564         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14565         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14566         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14567         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14568         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14569         * benchtests/bench-strcat-ifunc.c: Likewise.
14570         * benchtests/bench-strchr-ifunc.c: Likewise.
14571         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14572         * benchtests/bench-strcmp-ifunc.c: Likewise.
14573         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14574         * benchtests/bench-strcpy-ifunc.c: Likewise.
14575         * benchtests/bench-strcspn-ifunc.c: Likewise.
14576         * benchtests/bench-strlen-ifunc.c: Likewise.
14577         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14578         * benchtests/bench-strncat-ifunc.c: Likewise.
14579         * benchtests/bench-strncmp-ifunc.c: Likewise.
14580         * benchtests/bench-strncpy-ifunc.c: Likewise.
14581         * benchtests/bench-strnlen-ifunc.c: Likewise.
14582         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14583         * benchtests/bench-strrchr-ifunc.c: Likewise.
14584         * benchtests/bench-strsep-ifunc.c: Likewise.
14585         * benchtests/bench-strspn-ifunc.c: Likewise.
14586         * benchtests/bench-strstr-ifunc.c: Likewise.
14587
14588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14589
14590         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14591
14592 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14593
14594         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14595         * rt/aio.h: Likewise.
14596         * sysdeps/gnu/bits/utmp.h: Likewise.
14597         * sysdeps/gnu/bits/utmpx.h: Likewise.
14598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14599         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14600         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14601         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14602         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14603         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14604         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14605         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14606         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14607         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14608         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14609         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14610         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14612         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14613         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14614         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14615         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14616         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14617         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14618         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14619         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14620         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14621         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14622         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14625         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14626         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14627         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14628         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14629         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14630         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14631         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14632         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14633         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14634         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14635         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14636         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14637         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14638         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14639         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14640
14641 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14642
14643         [BZ #16245]
14644         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14645         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14646
14647 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14648
14649         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14650         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14651         Likewise.
14652
14653 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14654
14655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14656         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14657         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14658         (__fesetround): Remove define.
14659         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14660         rounding and exceptions handling.
14661         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14662         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14663         (__fe_nomask_env): Likewise.
14664         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14665         __fegetround instead of fegetround.
14666         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14667         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14668
14669 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14670
14671         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14672         it's there.
14673
14674         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14675
14676 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14677
14678         [BZ #11157]
14679         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14680         (encrypt_r): Likewise.
14681         * malloc/obstack.h (obstack_free): Likewise.
14682         * posix/unistd.h (encrypt): Likewise.
14683
14684 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14685
14686         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14687         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14688         DL_CALL_DT_FINI() that call the functions directly.
14689         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14690         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14691         * elf/dl-fini.c: Likewise.
14692
14693 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14694
14695         * malloc/hooks.c (memalign_check): Add alignment rounding.
14696         * malloc/malloc.c (_mid_memalign): New function.
14697         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14698         Implement by calling _mid_memalign.
14699         * manual/probes.texi (Memory Allocation Probes): Remove
14700         memory_valloc_retry and memory_pvalloc_retry.
14701
14702 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14703
14704         * locale/programs/locarchive.c (open_archive): Add const
14705         qualifier to ARCHIVEFNAME and copy default fname to
14706         DEFAULT_FNAME.
14707
14708         [BZ #15601]
14709         * libio/tst-widetext.input: Rename Oriya to Odia.
14710         * locale/iso-639.def: Likewise.
14711
14712         * manual/probes.texi (Mathematical Function Probes): Add
14713         documentation for sin, cos, asin and acos probes.
14714         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14715         (__sin32): Add slowasin probe.
14716         (__cos32): Add slowacos probe.
14717         (__mpsin): Add slowsin probe.
14718         (__mpcos): Add slowcos probe.
14719
14720 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14721
14722         [BZ #15483]
14723         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14724         thread-local __sim_exceptions_thread and global
14725         __sim_exceptions_global.
14726         (__sim_disabled_exceptions): Change to thread-local
14727         __sim_disabled_exceptions_thread and global
14728         __sim_disabled_exceptions_global.
14729         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14730         and global __sim_round_mode_global.
14731         (__simulate_exceptions): Use thread-local floating-point state and
14732         set global state from it as needed.
14733         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14734         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14735         __sim_round_mode_thread.
14736         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14737         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14738         and global __sim_exceptions_global.
14739         (__sim_disabled_exceptions): Change to thread-local
14740         __sim_disabled_exceptions_thread and global
14741         __sim_disabled_exceptions_global.
14742         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14743         and global __sim_round_mode_global.
14744         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14745         (SIM_SET_GLOBAL): Likewise.
14746         * sysdeps/powerpc/soft-fp/sfp-machine.h
14747         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14748         __sim_round_mode_thread.
14749         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14750         __sim_disabled_exceptions_thread.
14751         (__sim_exceptions): Change to __sim_exceptions_thread.
14752         (__sim_disabled_exceptions): Change to
14753         __sim_disabled_exceptions_thread.
14754         (__sim_round_mode): Change to __sim_round_mode_thread.
14755         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14756         thread-local floating-point state and set global state from it as
14757         needed.
14758         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14759         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14760         (__sim_disabled_exceptions): Remove extern declaration.
14761         (feenableexcept): Use thread-local floating-point state and set
14762         global state from it as needed.
14763         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14764         extern declaration.
14765         (__sim_disabled_exceptions): Likewise.
14766         (__sim_round_mode): Likewise.
14767         (__fegetenv): Use thread-local floating-point state.
14768         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14769         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14770         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14771         floating-point state and set global state from it as needed.
14772         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14773         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14774         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14775         Likewise.
14776         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14777         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14778         Likewise.
14779         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14780         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14781         Use __sim_round_mode_thread.
14782         * math/test-fenv-tls.c: New file.
14783         * math/Makefile (tests): Add test-fenv-tls.
14784         ($(objpfx)test-fenv-tls): Depend on
14785         $(common-objpfx)nptl/libpthread.so.
14786
14787 2013-11-19  Andreas Schwab  <schwab@suse.de>
14788
14789         * locale/programs/locale.c (show_info): Decode wordarray elements.
14790         * locale/categories.def (LC_MONETARY): Add element for
14791         _NL_MONETARY_CRNCYSTR.
14792         * locale/C-monetary.c (conversion_rate): New variable.
14793         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14794         element.
14795
14796 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14797
14798         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14799         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14800
14801 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14802
14803         * elf/Makefile (tst-auxv): New test.
14804         * elf/tst-auxv.c: New
14805         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14806
14807 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14808
14809         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14810         (hidden_proto): Caller changed.
14811         (hidden_tls_proto): New macro.
14812         (libc_hidden_tls_proto): Likewise.
14813         (rtld_hidden_tls_proto): Likewise.
14814         (libm_hidden_tls_proto): Likewise.
14815         (libresolv_hidden_tls_proto): Likewise.
14816         (librt_hidden_tls_proto): Likewise.
14817         (libdl_hidden_tls_proto): Likewise.
14818         (libnss_files_hidden_tls_proto): Likewise.
14819         (libnsl_hidden_tls_proto): Likewise.
14820         (libnss_nisplus_hidden_tls_proto): Likewise.
14821         (libutil_hidden_tls_proto): Likewise.
14822
14823 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14824
14825         [BZ #10253]
14826         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14827         (decompose_rpath): Defer expansion to fillin_rpath.
14828         (_dl_init_paths): Pass linkmap to fillin_rpath.
14829
14830 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14831
14832         * benchtests/Makefile: Add strsep.
14833         * benchtests/bench-strsep.c: New file: strsep benchtest.
14834         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14835
14836 2013-11-18  Andreas Schwab  <schwab@suse.de>
14837
14838         * locale/programs/locale.c (show_info) [case byte]: Check for
14839         '\377' instead of '\177'.
14840         * locale/C-monetary.c (not_available): Always use "\377".
14841         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14842         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14843         detect unavailable sign_posn locale elements.
14844         * locale/localeconv.c (__localeconv): For grouping and
14845         mon_grouping handle "\177" and "\377" like no grouping.
14846         (INT_ELEM): New macro.  Use it to set all numeric members.
14847         * locale/programs/ld-monetary.c (monetary_read)
14848         <tok_mon_grouping>: Normalize single -1 to the empty string.
14849         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14850         Likewise.
14851
14852 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14853
14854         [BZ #16055]
14855         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14856         when we match (nil).
14857         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14858
14859 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14860
14861         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14862         (NO_TEST_INLINE): Update value.
14863         (ERRNO_UNCHANGED): Likewise.
14864         (ERRNO_EDOM): Likewise.
14865         (ERRNO_ERANGE): Likewise.
14866         (IGNORE_RESULT): Likewise.
14867         (check_float_internal): Check signs of NaN results if
14868         TEST_NAN_SIGN used.
14869         (check_complex): Pass TEST_NAN_SIGN flag through to second
14870         check_float_internal call.
14871         (copysign_test_data): Add tests with quiet NaNs as second
14872         argument.  Use TEST_NAN_SIGN.
14873         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14874         TEST_NAN_SIGN.
14875         (signbit_test_data): Add tests of quiet NaN argument.
14876         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14877
14878         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14879         $ignore_result.
14880         (parse_args): Handle function results specified as IGNORE.
14881         * math/libm-test.inc (IGNORE_RESULT): New macro.
14882         (check_float_internal): Do not check numerical result if flag
14883         IGNORE_RESULT set.
14884         (check_complex): Pass through IGNORE_RESULT to second
14885         check_float_internal call.
14886         (check_int): Do not check numerical result if flag IGNORE_RESULT
14887         set.
14888         (check_long): Likewise.
14889         (check_bool): Likewise.
14890         (check_longlong): Likewise.
14891         (lrint_test_data): Add tests of infinite and NaN arguments.
14892         (lrint_tonearest_test_data): Likewise.
14893         (lrint_towardzero_test_data): Likewise.
14894         (lrint_downward_test_data): Likewise.
14895         (lrint_upward_test_data): Likewise.
14896         (llrint_test_data): Likewise.
14897         (llrint_tonearest_test_data): Likewise.
14898         (llrint_towardzero_test_data): Likewise.
14899         (llrint_downward_test_data): Likewise.
14900         (llrint_upward_test_data): Likewise.
14901         (lround_test_data): Likewise.
14902         (llround_test_data): Likewise.
14903
14904         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14905         (ERRNO_UNCHANGED): Update value.
14906         (ERRNO_EDOM): Likewise.
14907         (ERRNO_ERANGE): Likewise.
14908         (NO_TEST_INLINE_FLOAT): New macro.
14909         (NO_TEST_INLINE_DOUBLE): Likewise.
14910         (enable_test): New function.
14911         (RUN_TEST_f_f): Check enable_test before running test.
14912         (RUN_TEST_2_f): Likewise.
14913         (RUN_TEST_fff_f): Likewise.
14914         (RUN_TEST_c_f): Likewise.
14915         (RUN_TEST_f_f1): Likewise.
14916         (RUN_TEST_fF_f1): Likewise.
14917         (RUN_TEST_fI_f1): Likewise.
14918         (RUN_TEST_ffI_f1): Likewise.
14919         (RUN_TEST_c_c): Likewise.
14920         (RUN_TEST_cc_c): Likewise.
14921         (RUN_TEST_f_i): Likewise.
14922         (RUN_TEST_f_i_tg): Likewise.
14923         (RUN_TEST_ff_i_tg): Likewise.
14924         (RUN_TEST_f_b): Likewise.
14925         (RUN_TEST_f_b_tg): Likewise.
14926         (RUN_TEST_f_l): Likewise.
14927         (RUN_TEST_f_L): Likewise.
14928         (RUN_TEST_fFF_11): Likewise.
14929         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14930         conditionals.
14931         (cosh_test_data): Likewise.
14932         (exp_test_data): Likewise.
14933         (expm1_test_data): Likewise.
14934         (hypot_test_data): Likewise.
14935         (pow_test_data): Likewise.
14936         (sinh_test_data): Likewise.
14937         (tanh_test_data): Likewise.
14938         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14939         flags argument.
14940
14941         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14942         tests with quiet NaN input and output.
14943         (acosh_test_data): Likewise.
14944         (asin_test_data): Likewise.
14945         (asinh_test_data): Likewise.
14946         (atan_test_data): Likewise.
14947         (atanh_test_data): Likewise.
14948         (atan2_test_data): Likewise.
14949         (cbrt_test_data): Likewise.
14950         (cos_test_data): Likewise.
14951         (cosh_test_data): Likewise.
14952         (erf_test_data): Likewise.
14953         (erfc_test_data): Likewise.
14954         (exp_test_data): Likewise.
14955         (exp10_test_data): Likewise.
14956         (exp2_test_data): Likewise.
14957         (expm1_test_data): Likewise.
14958         (hypot_test_data): Likewise.
14959         (j0_test_data): Likewise.
14960         (j1_test_data): Likewise.
14961         (jn_test_data): Likewise.
14962         (lgamma_test_data): Likewise.
14963         (log_test_data): Likewise.
14964         (log10_test_data): Likewise.
14965         (log1p_test_data): Likewise.
14966         (log2_test_data): Likewise.
14967         (pow_test_data): Likewise.
14968         (scalb_test_data): Likewise.
14969         (sin_test_data): Likewise.
14970         (sincos_test_data): Likewise.
14971         (sinh_test_data): Likewise.
14972         (tan_test_data): Likewise.
14973         (tanh_test_data): Likewise.
14974         (tgamma_test_data): Likewise.
14975         (y0_test_data): Likewise.
14976         (y1_test_data): Likewise.
14977         (yn_test_data): Likewise.
14978
14979         [BZ #16167]
14980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14981         argument being NaN and avoid computations with second argument in
14982         that case.
14983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14985         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14986
14987 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14988
14989         * locale/iso-639.def: Add Chitwani Tharu (the).
14990
14991 2013-11-14  Andreas Schwab  <schwab@suse.de>
14992
14993         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14994         word instead of empty string.
14995
14996 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14997
14998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14999         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15001         (__fe_nomask_env): Likewise.
15002
15003 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15004
15005         * benchtests/bench-timing.h: Include time.h.
15006
15007 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15008
15009         [BZ #15997]
15010         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15011         to 3.4.0 for x32.
15012         * sysdeps/unix/sysv/linux/configure: Regenerated.
15013
15014 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15015
15016         [BZ #16151]
15017         * stdlib/strtod_l.c (round_and_return): Do not consider
15018         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15019         exponent one less than half the least subnormal exponent.
15020         * stdlib/test-strtod-round-data: Add more tests.
15021         * stdlib/tst-strtod-round.c (tests): Regenerated.
15022
15023 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15024
15025         [BZ #14143]
15026         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15027         (__fe_mask_env): Likewise.
15028         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15029         libm_hidden_proto and add function prototype.
15030         (__fe_mask_env): Add function prototype.
15031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15032         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15034         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15036         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15037
15038 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15039
15040         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15041         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15042
15043 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15044
15045         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15046         of htab_find_slot().
15047
15048 2013-11-11  David S. Miller  <davem@davemloft.net>
15049
15050         [BZ #16150]
15051         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15052         symbol in the non-vis3 case in static builds.
15053         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15056         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15057
15058 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15059
15060         [BZ #387]
15061         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15062         it is empty.
15063
15064 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15065
15066         * benchtests/Makefile: Add bench-strtod.
15067         * benchtests/bench-strtod.c: New file: strtod benchtest
15068
15069 2013-11-11  Andreas Schwab  <schwab@suse.de>
15070
15071         [BZ #16153]
15072         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15073         terminating NUL in key length.
15074
15075 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15076
15077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15078         Add artificial ODP entry for vDSO symbol for PPC64.
15079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15080         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15081
15082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15083
15084         [BZ #15374]
15085         * nss/getent.c (services_keys): Recognize services starting with digit.
15086
15087 2013-11-06  David S. Miller  <davem@davemloft.net>
15088
15089         [BZ #15985]
15090         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15091         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15092
15093 2013-11-06  Will Newton  <will.newton@linaro.org>
15094
15095         * manual/memory.texi (Malloc Examples): Remove register
15096         keyword from examples.
15097
15098 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15099
15100         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15101
15102 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15103
15104         [BZ #6981]
15105         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15106         depending on [__GCC_IEC_559 > 0].
15107         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15108         depending on [__GCC_IEC_559_COMPLEX > 0].
15109
15110 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15111
15112         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15113         to iso-639.def.
15114
15115 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15116
15117         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15118
15119 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15120
15121         [BZ #16112]
15122         * malloc/malloc (malloc_info): Do not handle first bin as
15123         special case.
15124
15125 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15126
15127         * locale/iso-639.def: Add Central Nahuatl (nhn).
15128
15129 2013-11-01  Bruno Haible  <bruno@clisp.org>
15130
15131         [BZ #7003]
15132         * manual/math.texi (BSD Random): Specify range upper bound as
15133         in POSIX.
15134
15135 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15136
15137         * locale/iso-639.def: Add Meadow Mari (mhr).
15138
15139 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15140
15141         [BZ #14752], [BZ #15763]
15142         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15143         Validate name.
15144         * rt/tst_shm.c: Add test for escaping directory.
15145
15146 2013-10-31  Andreas Schwab  <schwab@suse.de>
15147
15148         [BZ #15917]
15149         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15150         followed by 'x' as part of digit sequence.
15151         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15152
15153 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15154
15155         [BZ #16037]
15156         * configure.ac: allow GNU Make 4.0 and greater.
15157         * configure: Regenerated.
15158
15159 2013-10-30  Will Newton  <will.newton@linaro.org>
15160
15161         [BZ #16038]
15162         * malloc/hooks.c (memalign_check): Limit alignment to the
15163         maximum representable power of two.
15164         * malloc/malloc.c (__libc_memalign): Likewise.
15165         * malloc/tst-memalign.c (do_test): Add test for very
15166         large alignment values.
15167         * malloc/tst-posix_memalign.c (do_test): Likewise.
15168
15169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15170
15171         [BZ #11087]
15172         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15173         (munmap_chunk): Likewise.
15174         (mremap_chunk): Likewise.
15175
15176 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15177
15178         [BZ #15799]
15179         * stdlib/div.c (div): Remove obsolete code.
15180         * stdlib/ldiv.c (ldiv): Likewise.
15181         * stdlib/lldiv.c (lldiv): Likewise.
15182
15183 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15184
15185         [BZ #16071]
15186         * nss/nss_files/files-XXX.c (get_contents_ret): New
15187         enumerator.
15188         (get_contents): New function.
15189         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15190
15191 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15192
15193         * configure.in: Moved to ...
15194         * configure.ac: ... here. Change reference to configure.in
15195         to configure.ac.
15196         * sysdeps/arm/preconfigure.ac: ... here.
15197         configure.in to configure.ac.
15198         * sysdeps/gnu/configure.in: Moved to ...
15199         * sysdeps/gnu/configure.ac: ... here.
15200         * sysdeps/i386/configure.in: Moved to ...
15201         * sysdeps/i386/configure.ac: ... here.
15202         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15203         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15204         * sysdeps/mach/configure.in: Moved to ...
15205         * sysdeps/mach/configure.ac: ... here.
15206         * sysdeps/mach/hurd/configure.in: Moved to ...
15207         * sysdeps/mach/hurd/configure.ac: ... here.
15208         * sysdeps/powerpc/configure.in: Moved to ...
15209         * sysdeps/powerpc/configure.ac: ... here.
15210         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15211         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15212         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15213         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15214         * sysdeps/s390/s390-32/configure.in: Moved to ...
15215         * sysdeps/s390/s390-32/configure.ac: ... here.
15216         * sysdeps/s390/s390-64/configure.in: Moved to ...
15217         * sysdeps/s390/s390-64/configure.ac: ... here.
15218         * sysdeps/sh/configure.in: Moved to ...
15219         * sysdeps/sh/configure.ac: ... here.
15220         * sysdeps/sparc/configure.in: Moved to ...
15221         * sysdeps/sparc/configure.ac: ... here.
15222         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15223         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15224         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15225         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15226         * sysdeps/x86_64/configure.in: Moved to ...
15227         * sysdeps/x86_64/configure.ac: ... here.
15228         * sysdeps/x86_64/preconfigure.in: Moved to ...
15229         * sysdeps/x86_64/preconfigure.ac: ... here.
15230         * aclocal.m4: Change reference to configure.in to configure.ac.
15231         * config.h.in: Likewise.
15232         * manual/install.texi: Likewise.
15233         * manual/maint.texi: Likewise.
15234         * Makefile: Likewise.
15235         * malloc/Makefile: Likewise.
15236         * nscd/Makefile: Likewise.
15237         * Makeconfig: Change reference to configure.in and
15238         preconfigure.in to configure.ac and preconfigure.ac
15239         respectively.
15240         * INSTALL: Regenerated.
15241         * configure: Likewise.
15242         * sysdeps/gnu/configure: Likewise.
15243         * sysdeps/i386/configure: Likewise.
15244         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15245         * sysdeps/mach/configure: Likewise.
15246         * sysdeps/mach/hurd/configure: Likewise.
15247         * sysdeps/powerpc/configure: Likewise.
15248         * sysdeps/powerpc/powerpc32/configure: Likewise.
15249         * sysdeps/powerpc/powerpc64/configure: Likewise.
15250         * sysdeps/s390/s390-32/configure: Likewise.
15251         * sysdeps/s390/s390-64/configure: Likewise.
15252         * sysdeps/sh/configure: Likewise.
15253         * sysdeps/sparc/configure: Likewise.
15254         * sysdeps/unix/sysv/linux/configure: Likewise.
15255         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15256         * sysdeps/x86_64/configure: Likewise.
15257         * sysdeps/x86_64/preconfigure: Likewise.
15258
15259 2013-10-29  Andreas Schwab  <schwab@suse.de>
15260
15261         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15262
15263 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15264
15265         * benchtests/pow-inputs: Add new inputs.
15266
15267         * benchtests/exp-inputs: Add new inputs.
15268
15269         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15270         conditional check for return value.
15271         (__cos32): Likewise.
15272
15273 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15274
15275         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15276         to provide a boost for large inputs with word alignment.
15277         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15278         implementation based on optimized PPC64 strcpy.
15279         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15280         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15281         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15282         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15283
15284 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15285
15286         [BZ #2801]
15287         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15288
15289 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15290
15291         [BZ #14876]
15292         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15293         * time/tst-strptime.c (day_tests): Add testcase.
15294
15295 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15296
15297         [BZ #14029]
15298         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15299
15300 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15301
15302         [BZ #16074]
15303         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15304         MAP_FAILED on error.
15305
15306 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15307
15308         [BZ #16072]
15309         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15310         heap for large requests.
15311
15312 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15313
15314         [BZ #9954]
15315         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15316         result if the result has no associated interface.
15317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15318         interface for all 127.X.Y.Z addresses.
15319
15320 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15321
15322         * locale/iso-639.def: Add Ligurian (lij)
15323
15324 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15325
15326         [BZ #15825]
15327         * sunrpc/rpc_main.c: Document rpcgen -5.
15328
15329 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15330
15331         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15332
15333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15334
15335         [BZ #10278]
15336         * posix/glob.c: Match only directories when trailing slash is present.
15337         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15338         (main): Add testcase.
15339
15340 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15341
15342         [BZ #15670]
15343         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15344
15345 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15346
15347         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15348         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15349         AUTH_DES and cindex for FIPS 140-2.
15350         (DES Encryption): Add cindex FIPS 46-3.
15351
15352         * locale/locarchive.h (struct locarhandle): Add fname.
15353         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15354         if an optional argument was specified to --list-archive,
15355         otherwise NULL.
15356         * locale/programs/locarchive.c (show_archive_content): Take new
15357         argument fname and pass it via ah.fname to open_archive.
15358         * locale/programs/localedef.h: Update decl.
15359         (open_archive): If AH->fname is non-null, open that file
15360         rather than the default file name, and don't ignore ENOENT.
15361         (create_archive): Set AH.fname to NULL.
15362         (delete_locales_from_archive): Likewise.
15363         (add_locales_to_archive): Likewise.
15364         * locale/programs/locfile.c (write_all_categories): Likewise.
15365
15366 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15367             Aldy Hernandez  <aldyh@redhat.com>
15368
15369         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15370         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15371         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15372         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15373         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15376         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15377         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15380         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15382         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15383         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15384         Likewise.
15385         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15386         Likewise.
15387         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15388         Likewise.
15389         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15390         Likewise.
15391         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15392         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15393         Likewise.
15394         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15395         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15396         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15397         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15398         Likewise.
15399         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15400         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15401         * sysdeps/powerpc/preconfigure: Likewise.
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15403         Likewise.
15404         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15405         Replace contents of file by #include of <fenv_libc.h>.
15406         * sysdeps/powerpc/soft-fp/sfp-machine.h
15407         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15408         and <sys/prctl.h>.
15409         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15418         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15419         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15422         Allow copysignl PLT reference to be missing.
15423
15424 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15425             Joseph Myers  <joseph@codesourcery.com
15426
15427         [BZ #15948]
15428         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15429         single character.
15430         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15431
15432 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15433
15434         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15435         * elf/tst-tls1.c: Likewise.
15436         * elf/tst-tls10.h: Likewise.
15437         * elf/tst-tls14.c: Likewise.
15438         * elf/tst-tls2.c: Likewise.
15439         * elf/tst-tls3.c: Likewise.
15440         * elf/tst-tls4.c: Likewise.
15441         * elf/tst-tls5.c: Likewise.
15442         * elf/tst-tls6.c: Likewise.
15443         * elf/tst-tls7.c: Likewise.
15444         * elf/tst-tls8.c: Likewise.
15445         * elf/tst-tls9.c: Likewise.
15446         * elf/tst-tlsmod1.c: Likewise.
15447         * elf/tst-tlsmod13.c: Likewise.
15448         * elf/tst-tlsmod13a.c: Likewise.
15449         * elf/tst-tlsmod14a.c: Likewise.
15450         * elf/tst-tlsmod16a.c: Likewise.
15451         * elf/tst-tlsmod16b.c: Likewise.
15452         * elf/tst-tlsmod2.c: Likewise.
15453         * elf/tst-tlsmod3.c: Likewise.
15454         * elf/tst-tlsmod4.c: Likewise.
15455         * elf/tst-tlsmod5.c: Likewise.
15456         * elf/tst-tlsmod6.c: Likewise.
15457
15458 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15459
15460         [BZ #12486]
15461         * malloc/malloc.c: remove checks for statistics.
15462
15463 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15464
15465         [BZ #15277]
15466         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15467         * inet/tst-network.c: Add testcase.
15468
15469 2013-10-17  Andreas Schwab  <schwab@suse.de>
15470
15471         [BZ #15218]
15472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15473         to determine canonical name.
15474
15475 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15476
15477         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15478         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15480         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15482         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15483         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15484         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15485         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15486         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15487         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15488         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15489         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15490         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15491         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15492         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15495         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15496         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15497         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15500         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15501         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15502         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15503         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15504         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15505         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15506         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15507         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15509         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15510         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15511         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15512         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15513         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15514         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15515         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15517         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15518         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15520         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15521         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15522         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15523         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15524         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15525         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15526         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15527         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15529         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15530         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15532         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15534         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15535
15536 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15537
15538         [BZ #16041]
15539         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15540         make result into a quiet NaN.
15541
15542 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15543
15544         * soft-fp/adddf3.c: Fix horizontal whitespace.
15545         * soft-fp/addsf3.c: Likewise.
15546         * soft-fp/addtf3.c: Likewise.
15547         * soft-fp/divdf3.c: Likewise.
15548         * soft-fp/divsf3.c: Likewise.
15549         * soft-fp/divtf3.c: Likewise.
15550         * soft-fp/double.h: Likewise.
15551         * soft-fp/eqdf2.c: Likewise.
15552         * soft-fp/eqsf2.c: Likewise.
15553         * soft-fp/eqtf2.c: Likewise.
15554         * soft-fp/extenddftf2.c: Likewise.
15555         * soft-fp/extended.h: Likewise.
15556         * soft-fp/extendsfdf2.c: Likewise.
15557         * soft-fp/extendsftf2.c: Likewise.
15558         * soft-fp/extendxftf2.c: Likewise.
15559         * soft-fp/fixdfdi.c: Likewise.
15560         * soft-fp/fixdfsi.c: Likewise.
15561         * soft-fp/fixdfti.c: Likewise.
15562         * soft-fp/fixsfdi.c: Likewise.
15563         * soft-fp/fixsfsi.c: Likewise.
15564         * soft-fp/fixsfti.c: Likewise.
15565         * soft-fp/fixtfdi.c: Likewise.
15566         * soft-fp/fixtfsi.c: Likewise.
15567         * soft-fp/fixtfti.c: Likewise.
15568         * soft-fp/fixunsdfdi.c: Likewise.
15569         * soft-fp/fixunsdfsi.c: Likewise.
15570         * soft-fp/fixunsdfti.c: Likewise.
15571         * soft-fp/fixunssfdi.c: Likewise.
15572         * soft-fp/fixunssfsi.c: Likewise.
15573         * soft-fp/fixunssfti.c: Likewise.
15574         * soft-fp/fixunstfdi.c: Likewise.
15575         * soft-fp/fixunstfsi.c: Likewise.
15576         * soft-fp/fixunstfti.c: Likewise.
15577         * soft-fp/floatdidf.c: Likewise.
15578         * soft-fp/floatdisf.c: Likewise.
15579         * soft-fp/floatditf.c: Likewise.
15580         * soft-fp/floatsidf.c: Likewise.
15581         * soft-fp/floatsisf.c: Likewise.
15582         * soft-fp/floatsitf.c: Likewise.
15583         * soft-fp/floattidf.c: Likewise.
15584         * soft-fp/floattisf.c: Likewise.
15585         * soft-fp/floattitf.c: Likewise.
15586         * soft-fp/floatundidf.c: Likewise.
15587         * soft-fp/floatundisf.c: Likewise.
15588         * soft-fp/floatunditf.c: Likewise.
15589         * soft-fp/floatunsidf.c: Likewise.
15590         * soft-fp/floatunsisf.c: Likewise.
15591         * soft-fp/floatunsitf.c: Likewise.
15592         * soft-fp/floatuntidf.c: Likewise.
15593         * soft-fp/floatuntisf.c: Likewise.
15594         * soft-fp/floatuntitf.c: Likewise.
15595         * soft-fp/fmadf4.c: Likewise.
15596         * soft-fp/fmasf4.c: Likewise.
15597         * soft-fp/fmatf4.c: Likewise.
15598         * soft-fp/gedf2.c: Likewise.
15599         * soft-fp/gesf2.c: Likewise.
15600         * soft-fp/getf2.c: Likewise.
15601         * soft-fp/ledf2.c: Likewise.
15602         * soft-fp/lesf2.c: Likewise.
15603         * soft-fp/letf2.c: Likewise.
15604         * soft-fp/muldf3.c: Likewise.
15605         * soft-fp/mulsf3.c: Likewise.
15606         * soft-fp/multf3.c: Likewise.
15607         * soft-fp/negdf2.c: Likewise.
15608         * soft-fp/negsf2.c: Likewise.
15609         * soft-fp/negtf2.c: Likewise.
15610         * soft-fp/op-1.h: Likewise.
15611         * soft-fp/op-2.h: Likewise.
15612         * soft-fp/op-4.h: Likewise.
15613         * soft-fp/op-8.h: Likewise.
15614         * soft-fp/op-common.h: Likewise.
15615         * soft-fp/quad.h: Likewise.
15616         * soft-fp/single.h: Likewise.
15617         * soft-fp/soft-fp.h: Likewise.
15618         * soft-fp/sqrtdf2.c: Likewise.
15619         * soft-fp/sqrtsf2.c: Likewise.
15620         * soft-fp/sqrttf2.c: Likewise.
15621         * soft-fp/subdf3.c: Likewise.
15622         * soft-fp/subsf3.c: Likewise.
15623         * soft-fp/subtf3.c: Likewise.
15624         * soft-fp/truncdfsf2.c: Likewise.
15625         * soft-fp/trunctfdf2.c: Likewise.
15626         * soft-fp/trunctfsf2.c: Likewise.
15627         * soft-fp/trunctfxf2.c: Likewise.
15628         * soft-fp/unorddf2.c: Likewise.
15629         * soft-fp/unordsf2.c: Likewise.
15630         * soft-fp/unordtf2.c: Likewise.
15631
15632 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15633
15634         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15635         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15636
15637 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15638
15639         * elf/dl-libc.c: Clear initfini list after freeing.
15640
15641 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15642
15643         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15644         * soft-fp/addsf3.c: Likewise.
15645         * soft-fp/addtf3.c: Likewise.
15646         * soft-fp/divdf3.c: Likewise.
15647         * soft-fp/divsf3.c: Likewise.
15648         * soft-fp/divtf3.c: Likewise.
15649         * soft-fp/double.h: Likewise.
15650         * soft-fp/eqdf2.c: Likewise.
15651         * soft-fp/eqsf2.c: Likewise.
15652         * soft-fp/eqtf2.c: Likewise.
15653         * soft-fp/extenddftf2.c: Likewise.
15654         * soft-fp/extended.h: Likewise.
15655         * soft-fp/extendsfdf2.c: Likewise.
15656         * soft-fp/extendsftf2.c: Likewise.
15657         * soft-fp/extendxftf2.c: Likewise.
15658         * soft-fp/fixdfdi.c: Likewise.
15659         * soft-fp/fixdfsi.c: Likewise.
15660         * soft-fp/fixdfti.c: Likewise.
15661         * soft-fp/fixsfdi.c: Likewise.
15662         * soft-fp/fixsfsi.c: Likewise.
15663         * soft-fp/fixsfti.c: Likewise.
15664         * soft-fp/fixtfdi.c: Likewise.
15665         * soft-fp/fixtfsi.c: Likewise.
15666         * soft-fp/fixtfti.c: Likewise.
15667         * soft-fp/fixunsdfdi.c: Likewise.
15668         * soft-fp/fixunsdfsi.c: Likewise.
15669         * soft-fp/fixunsdfti.c: Likewise.
15670         * soft-fp/fixunssfdi.c: Likewise.
15671         * soft-fp/fixunssfsi.c: Likewise.
15672         * soft-fp/fixunssfti.c: Likewise.
15673         * soft-fp/fixunstfdi.c: Likewise.
15674         * soft-fp/fixunstfsi.c: Likewise.
15675         * soft-fp/fixunstfti.c: Likewise.
15676         * soft-fp/floatdidf.c: Likewise.
15677         * soft-fp/floatdisf.c: Likewise.
15678         * soft-fp/floatditf.c: Likewise.
15679         * soft-fp/floatsidf.c: Likewise.
15680         * soft-fp/floatsisf.c: Likewise.
15681         * soft-fp/floatsitf.c: Likewise.
15682         * soft-fp/floattidf.c: Likewise.
15683         * soft-fp/floattisf.c: Likewise.
15684         * soft-fp/floattitf.c: Likewise.
15685         * soft-fp/floatundidf.c: Likewise.
15686         * soft-fp/floatundisf.c: Likewise.
15687         * soft-fp/floatunsidf.c: Likewise.
15688         * soft-fp/floatunsisf.c: Likewise.
15689         * soft-fp/floatuntidf.c: Likewise.
15690         * soft-fp/floatuntisf.c: Likewise.
15691         * soft-fp/floatuntitf.c: Likewise.
15692         * soft-fp/fmadf4.c: Likewise.
15693         * soft-fp/fmasf4.c: Likewise.
15694         * soft-fp/fmatf4.c: Likewise.
15695         * soft-fp/gedf2.c: Likewise.
15696         * soft-fp/gesf2.c: Likewise.
15697         * soft-fp/getf2.c: Likewise.
15698         * soft-fp/ledf2.c: Likewise.
15699         * soft-fp/lesf2.c: Likewise.
15700         * soft-fp/letf2.c: Likewise.
15701         * soft-fp/muldf3.c: Likewise.
15702         * soft-fp/mulsf3.c: Likewise.
15703         * soft-fp/multf3.c: Likewise.
15704         * soft-fp/negdf2.c: Likewise.
15705         * soft-fp/negsf2.c: Likewise.
15706         * soft-fp/negtf2.c: Likewise.
15707         * soft-fp/op-1.h: Likewise.
15708         * soft-fp/op-2.h: Likewise.
15709         * soft-fp/op-4.h: Likewise.
15710         * soft-fp/op-8.h: Likewise.
15711         * soft-fp/op-common.h: Likewise.
15712         * soft-fp/quad.h: Likewise.
15713         * soft-fp/single.h: Likewise.
15714         * soft-fp/soft-fp.h: Likewise.
15715         * soft-fp/sqrtdf2.c: Likewise.
15716         * soft-fp/sqrtsf2.c: Likewise.
15717         * soft-fp/sqrttf2.c: Likewise.
15718         * soft-fp/subdf3.c: Likewise.
15719         * soft-fp/subsf3.c: Likewise.
15720         * soft-fp/subtf3.c: Likewise.
15721         * soft-fp/truncdfsf2.c: Likewise.
15722         * soft-fp/trunctfdf2.c: Likewise.
15723         * soft-fp/trunctfsf2.c: Likewise.
15724         * soft-fp/trunctfxf2.c: Likewise.
15725         * soft-fp/unorddf2.c: Likewise.
15726         * soft-fp/unordsf2.c: Likewise.
15727         * soft-fp/unordtf2.c: Likewise.
15728
15729 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15730
15731         [BZ #15672]
15732         * misc/error.c (error_tail): Fix possible buffer overflow.
15733
15734 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15735
15736         [BZ #13028]
15737         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15738         address.
15739
15740 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15741
15742         [BZ #832]
15743         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15744         testing pipefail option.
15745
15746 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15747
15748         * soft-fp/double.h: Indent preprocessor directives inside #if.
15749         * soft-fp/extended.h: Likewise.
15750         * soft-fp/op-2.h: Likewise.
15751         * soft-fp/op-4.h: Likewise.
15752         * soft-fp/op-common.h: Likewise.
15753         * soft-fp/quad.h: Likewise.
15754         * soft-fp/single.h: Likewise.
15755         * soft-fp/soft-fp.h: Likewise.
15756
15757 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15758
15759         * iconv/iconv_prog.c: Fix typos.
15760         * stdio-common/psiginfo-data.h: Likewise.
15761
15762 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15763
15764         [BZ #15764]
15765         * locale/setlocale.c: Fix typo.
15766
15767 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15768
15769         [BZ #16036]
15770         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15771         signaling NaN arguments.
15772         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15773         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15774
15775         [BZ #14910]
15776         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15777         unordered operands.
15778         * soft-fp/gesf2.c (__gesf2): Likewise.
15779         * soft-fp/getf2.c (__getf2): Likewise.
15780         * soft-fp/ledf2.c (__ledf2): Likewise.
15781         * soft-fp/lesf2.c (__lesf2): Likewise.
15782         * soft-fp/letf2.c (__letf2): Likewise.
15783
15784         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15785         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15786         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15787         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15788         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15789         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15790         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15791         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15792         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15793         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15794         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15795         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15796         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15797         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15798         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15799         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15800         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15801         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15802         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15803         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15804         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15805         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15806         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15807         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15808         * soft-fp/floattidf.c (__floattidf): Likewise.
15809         * soft-fp/floattisf.c (__floattisf): Likewise.
15810         * soft-fp/floattitf.c (__floattitf): Likewise.
15811         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15812         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15813         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15814         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15815         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15816         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15817         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15818         * soft-fp/gesf2.c (__gesf2): Likewise.
15819         * soft-fp/getf2.c (__getf2): Likewise.
15820         * soft-fp/ledf2.c (__ledf2): Likewise.
15821         * soft-fp/lesf2.c (__lesf2): Likewise.
15822         * soft-fp/letf2.c (__letf2): Likewise.
15823
15824         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15825         Undefine and redefine.
15826         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15827         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15828         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15829         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15830         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15831         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15832         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15833         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15834         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15835         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15836         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15837         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15838         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15839         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15840         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15841
15842         [BZ #16032]
15843         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15844         without decrementing exponent if mantissa >= that for the
15845         denominator, not >.
15846         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15847         denominator, not >.  Decrement exponent in < case instead of
15848         incrementing in >= case.
15849         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15850         without decrementing exponent if mantissa >= that for the
15851         denominator, not >.
15852
15853         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15854         computing saturated result for unsigned overflow.
15855
15856 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15857             Jeff Law  <law@redhat.com>
15858
15859         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15860         (atan2Mp): Add systemtap probe marker.
15861         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15862         (__ieee754_log): Add systemtap probe marker.
15863         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15864         (atanMp): Add systemtap probe marker.
15865         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15866         (tanMp): Add systemtap probe marker.
15867         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15868         (__slowexp): Add systemtap probe marker.
15869         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15870         (__slowpow): Add systemtap probe marker.
15871         * manual/probes.texi: Document probes.
15872
15873 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15874
15875         [BZ #15362]
15876         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15877         written.
15878         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15879         written.
15880         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15881         written to buffer but not flushed.
15882         * libio/iofwrite_u.c:  Likewise.
15883         * libio/iopadn.c:  Return bytes returned even if EOF was
15884         encountered.
15885         * libio/iowpadn.c:  Likewise.
15886         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15887         if _IO_padn does not write the whole buffer.
15888         [!COMPILE_WPRINTF] (PAD): Likewise.
15889
15890 2013-10-10  David S. Miller  <davem@davemloft.net>
15891
15892         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15893         directory block.
15894
15895 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15896
15897         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15898         instead of FSF address.
15899         * soft-fp/fixdfti.c: Likewise.
15900         * soft-fp/fixsfti.c: Likewise.
15901         * soft-fp/fixtfti.c: Likewise.
15902         * soft-fp/fixunsdfti.c: Likewise.
15903         * soft-fp/fixunssfti.c: Likewise.
15904         * soft-fp/fixunstfti.c: Likewise.
15905         * soft-fp/floattidf.c: Likewise.
15906         * soft-fp/floattisf.c: Likewise.
15907         * soft-fp/floattitf.c: Likewise.
15908         * soft-fp/floatuntidf.c: Likewise.
15909         * soft-fp/floatuntisf.c: Likewise.
15910         * soft-fp/floatuntitf.c: Likewise.
15911         * soft-fp/trunctfxf2.c: Likewise.
15912
15913         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15914         * soft-fp/fixdfti.c: Likewise.
15915         * soft-fp/fixsfti.c: Likewise.
15916         * soft-fp/fixtfti.c: Likewise.
15917         * soft-fp/fixunsdfti.c: Likewise.
15918         * soft-fp/fixunssfti.c: Likewise.
15919         * soft-fp/fixunstfti.c: Likewise.
15920         * soft-fp/floattidf.c: Likewise.
15921         * soft-fp/floattisf.c: Likewise.
15922         * soft-fp/floattitf.c: Likewise.
15923         * soft-fp/floatuntidf.c: Likewise.
15924         * soft-fp/floatuntisf.c: Likewise.
15925         * soft-fp/floatuntitf.c: Likewise.
15926         * soft-fp/trunctfxf2.c: Likewise.
15927
15928 2013-10-10  David S. Miller  <davem@davemloft.net>
15929
15930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15931
15932 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15933
15934         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15935         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15936         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15937         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15938         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15939         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15940         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15941
15942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15943         for NaNs before doing comparisons on argument.
15944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15945         Likewise.
15946
15947 2013-10-10  Will Newton  <will.newton@linaro.org>
15948
15949         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15950         passed to _int_memalign does not overflow.
15951
15952 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15953
15954         * scripts/bench.pl: Add include-sources directive.
15955         * benchtests/README: Update documentation.
15956
15957 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15958
15959         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15960         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15961         instead of FP_INIT_ROUNDMODE.
15962         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15963         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15964
15965         [BZ #16034]
15966         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15967         copy class of input value.
15968         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15969         not handle exceptions.
15970         * soft-fp/negsf2.c (__negsf2): Likewise.
15971         * soft-fp/negtf2.c (__negtf2): Likewise.
15972         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15973
15974 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15975
15976         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15977         semicolon.  From Linux kernel.
15978
15979 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15980
15981         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15982
15983 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15984
15985         [BZ #156]
15986         * manual/socket.texi: Added statement about buffer
15987         for gethostbyname2_r.
15988
15989 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15990
15991         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15992         Use .p2align directive instead, throughout.
15993         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15994         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15995         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15998         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15999         * sysdeps/x86_64/strchr.S: Likewise.
16000         * sysdeps/x86_64/strrchr.S: Likewise.
16001
16002 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16003
16004         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16005
16006         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16007
16008         * sysdeps/generic/math_private.h (__mpsin1): Remove
16009         declaration.
16010         (__mpcos1): Likewise.
16011         (__mpsin): New argument __range_reduce.
16012         (__mpcos): Likewise.
16013         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16014         (slow): Use __mpsin and __mpcos.
16015         (slow1): Likewise.
16016         (slow2): Likewise.
16017         (sloww): Likewise.
16018         (sloww1): Likewise.
16019         (sloww2): Likewise.
16020         (bsloww): Likewise.
16021         (bsloww1): Likewise.
16022         (bsloww2): Likewise.
16023         (cslow2): Likewise.
16024         (csloww): Likewise.
16025         (csloww1): Likewise.
16026         (csloww2): Likewise.
16027         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16028         range_reduce.  Merge in __mpsin1.
16029         (__mpcos): Likewise.
16030         (__mpsin1): Remove.
16031         (__mpcos1): Likewise.
16032
16033 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16034
16035         * locale/loadlocale.c (_nl_intern_locale_data): Use
16036         LOCFILE_ALIGNED_P.
16037         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16038         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16039         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16040         obstack data is appropriately aligned.
16041         (obstack_int32_grow_fast): Likewise.
16042         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16043         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16044         (add_locale_uint32_array): Likewise.
16045
16046 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16047
16048         * benchtests/Makefile: Remove ARGLIST and RET variables.
16049         ($(objpfx)bench-%.c): Pass only function name to the script.
16050         * benchtests/README: Update documentation.
16051         * benchtests/acos-inputs: Add new directives.
16052         * benchtests/acosh-inputs: Likewise.
16053         * benchtests/asin-inputs: Likewise.
16054         * benchtests/asinh-inputs: Likewise.
16055         * benchtests/atan-inputs: Likewise.
16056         * benchtests/atanh-inputs: Likewise.
16057         * benchtests/cos-inputs: Likewise.
16058         * benchtests/cosh-inputs: Likewise.
16059         * benchtests/exp-inputs: Likewise.
16060         * benchtests/log-inputs: Likewise.
16061         * benchtests/pow-inputs: Likewise.
16062         * benchtests/rint-inputs: Likewise.
16063         * benchtests/sin-inputs: Likewise.
16064         * benchtests/sinh-inputs: Likewise.
16065         * benchtests/tan-inputs: Likewise.
16066         * benchtests/tanh-inputs: Likewise.
16067         * scripts/bench.pl: Add support for new directives.
16068
16069 2013-10-07  Alan Modra  <amodra@gmail.com>
16070
16071         * README: Fix careless merge.
16072
16073 2013-10-05  Alan Modra  <amodra@gmail.com>
16074
16075         * NEWS: Mention powerpc64le support and bugs fixed.
16076         * README: Both big-endian and little-endian powerpc64 supported.
16077
16078 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16079
16080         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16081         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16082         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16083         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16084
16085 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16086
16087         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16088         match prototype.
16089
16090 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16091
16092         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16093         Move -mhard-float appending from
16094         ports/sysdeps/powerpc/powerpc32/Makefile.
16095         [$(with-fp) = yes] (ASFLAGS): Likewise.
16096         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16097         * sysdeps/powerpc/nofpu: Move directory from
16098         ports/sysdeps/powerpc/nofpu.
16099         * sysdeps/powerpc/soft-fp: Move directory from
16100         ports/sysdeps/powerpc/soft-fp.
16101         * sysdeps/powerpc/powerpc32/405: Move directory from
16102         ports/sysdeps/powerpc/powerpc32/405.
16103         * sysdeps/powerpc/powerpc32/440: Move directory from
16104         ports/sysdeps/powerpc/powerpc32/440.
16105         * sysdeps/powerpc/powerpc32/464: Move directory from
16106         ports/sysdeps/powerpc/powerpc32/464.
16107         * sysdeps/powerpc/powerpc32/476: Move directory from
16108         ports/sysdeps/powerpc/powerpc32/476.
16109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16110         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16112         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16114         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16116         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16118         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16119         * README: Update for powerpc-*-linux-gnu software floating point
16120         support in libc.
16121
16122         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16123         case to powerpc/powerpc32*.
16124         * sysdeps/unix/sysv/linux/configure: Regenerated.
16125
16126         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16127         (_FPU_MASK_OM): Define as 0x04.
16128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16130         0x00c10080.
16131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16132         0x0000003c.
16133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16134
16135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16137         getcontext_e500.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16139         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16140         setcontext_e500.
16141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16142         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16143         and setcontext_e500.
16144
16145 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16146
16147         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16148
16149 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16150
16151         * manual/threads.texi (Default Thread Attributes): Fix typo.
16152
16153 2013-10-04  Will Newton  <will.newton@linaro.org>
16154
16155         * malloc/Makefile: Add tst-memalign.
16156         * malloc/tst-memalign.c: New file.
16157
16158         * malloc/tst-posix_memalign.c: Add comments.
16159         (do_test): Add comments and call free on all potentially
16160         allocated pointers. Add space after cast.
16161
16162         * malloc/tst-pvalloc.c: Add comments.
16163         (do_test): Add comments and call free on all potentially
16164         allocated pointers. Remove duplicate check for NULL pointer.
16165         Add space after cast.
16166
16167         * malloc/tst-valloc.c: Add comments.
16168         (do_test): Add comments and call free on all potentially
16169         allocated pointers. Remove duplicate check for NULL pointer.
16170         Add space after cast.
16171
16172 2013-10-04  Alan Modra  <amodra@gmail.com>
16173
16174         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16175         Use stdint types in rather than __attribute__((mode())).
16176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16177
16178 2013-10-04  Alan Modra  <amodra@gmail.com>
16179
16180         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16181         Correct handling of unaligned relocs for little-endian.
16182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16183
16184 2013-10-04  Alan Modra  <amodra@gmail.com>
16185
16186         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16187         * configure: Regenerate.
16188         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16189         * shlib-versions: Likewise.
16190
16191 2013-10-04  Alan Modra  <amodra@gmail.com>
16192
16193         * string/tester.c (test_memrchr): Increment reported test cycle.
16194
16195 2013-10-04  Alan Modra  <amodra@gmail.com>
16196
16197         * string/test-memcpy.c (do_one_test): When reporting errors, print
16198         string address and don't overrun end of string.
16199
16200 2013-10-04  Alan Modra  <amodra@gmail.com>
16201
16202         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16203         insrdi.  Make better use of reg selection to speed exit slightly.
16204         Schedule entry path a little better.  Remove useless "are we done"
16205         checks on entry to main loop.  Handle wrapping around zero address.
16206         Correct main loop count.  Handle single left-over word from main
16207         loop inline rather than by using loop_small.  Remove extra word
16208         case in loop_small caused by wrong loop count.  Add little-endian
16209         support.
16210         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16212         cache hint.
16213         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16214         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16215         support.  Avoid rlwimi.
16216         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16217
16218 2013-10-04  Alan Modra  <amodra@gmail.com>
16219
16220         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16221         insrdi.  Formatting.
16222         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16223         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16224         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16225         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16226         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16227         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16228
16229 2013-10-04  Alan Modra  <amodra@gmail.com>
16230
16231         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16234         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16236         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16239         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16240         use of regs.  Use power7 mtocrf.  Tidy function tails.
16241
16242 2013-10-04  Alan Modra  <amodra@gmail.com>
16243
16244         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16245         Formatting.  Consistently use rXXX register defines or rN defines.
16246         Use early exit labels that avoid restoring unused non-volatile regs.
16247         Make cr field use more consistent with rWORDn compares.  Rename
16248         regs used as shift registers for unaligned loop, using rN defines
16249         for short lifetime/multiple use regs.
16250         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16252         addi 1,1,64 to pop stack frame.  Simplify return value code.
16253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16254
16255 2013-10-04  Alan Modra  <amodra@gmail.com>
16256
16257         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16258         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16259         rather than rlwimi.
16260         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16262         little-endian support.  Correct typos.
16263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16264         rather than rlwimi.
16265         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16266         in loop and entry code to keep "and." results.
16267         (strchr): Add little-endian support.  Comment.  Move cntlzd
16268         earlier in tail.
16269         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16270
16271 2013-10-04  Alan Modra  <amodra@gmail.com>
16272
16273         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16274         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16275         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16276         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16277
16278 2013-10-04  Alan Modra  <amodra@gmail.com>
16279
16280         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16281         (rTMP): Define as r11.
16282         (strcmp): Add little-endian support.  Optimise tail.
16283         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16284         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16285         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16287         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16290
16291 2013-10-04  Alan Modra  <amodra@gmail.com>
16292
16293         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16294         little-endian support.  Remove unnecessary "are we done" tests.
16295         Handle "s" wrapping around zero and extremely large "size".
16296         Correct main loop count.  Handle single left-over word from main
16297         loop inline rather than by using small_loop.  Correct comments.
16298         Delete "zero" tail, use "end_max" instead.
16299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16300
16301 2013-10-04  Alan Modra  <amodra@gmail.com>
16302
16303         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16304         support.  Don't branch over align.
16305         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16306         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16307         support.  Rearrange tmp reg use to suit.  Comment.
16308         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16309
16310 2013-10-04  Alan Modra  <amodra@gmail.com>
16311
16312         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16313
16314 2013-10-04  Alan Modra  <amodra@gmail.com>
16315
16316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16317         conditional form of branch and link when obtaining pc.
16318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16319
16320 2013-10-04  Alan Modra  <amodra@gmail.com>
16321
16322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16323         HIWORD/LOWORD.
16324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16326
16327 2013-10-04  Alan Modra  <amodra@gmail.com>
16328
16329         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16330         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16332         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16333         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16334         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16335         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16336         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16337         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16338         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16339
16340 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16341             Alistair Popple <alistair@ozlabs.au.ibm.com>
16342             Alan Modra <amodra@gmail.com>
16343
16344         [BZ #15723]
16345         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16347         _dl_hwcap access for little-endian.
16348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16349         destroy vmx regs when saving unaligned.
16350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16351         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16352         destroy vmx regs when saving unaligned.
16353
16354 2013-10-04  Alan Modra  <amodra@gmail.com>
16355
16356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16357         Don't use a union to pack hi/low value.
16358
16359 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16360
16361         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16362         for little-endian.
16363         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16364         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16365         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16366         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16367         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16368
16369 2013-10-04  Alan Modra  <amodra@gmail.com>
16370
16371         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16372         constants to usual value for .cst8 section, and remove redundant
16373         high address load.
16374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16375         constant for 0x1p52.  Load little-endian words of double from
16376         correct stack offsets.
16377
16378 2013-10-04  Alan Modra  <amodra@gmail.com>
16379
16380         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16381         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16382         words of double from correct stack offsets.
16383         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16384         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16385         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16389         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16390         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16394         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16395         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16396         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16397         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16398         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16399         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16400
16401 2013-10-04  Alan Modra  <amodra@gmail.com>
16402
16403         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16404         64-bit int/double union.
16405         (_FPU_SETCW): Likewise.
16406         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16407         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16408
16409 2013-10-04  Alan Modra  <amodra@gmail.com>
16410
16411         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16412         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16413
16414 2013-10-04  Alan Modra  <amodra@gmail.com>
16415
16416         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16417         use vector int constants.
16418         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16419
16420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16421
16422         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16423         array with long long.
16424         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16425         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16426         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16427         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16428         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16429         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16430         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16431         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16432         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16433         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16434         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16435         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16436         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16437
16438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16439
16440         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16441         (__signbit): Likewise.  Correct for little-endian.
16442         (__signbitl): Call __signbit.
16443         (lrint): Correct for little-endian.
16444         (lrintf): Call lrint.
16445
16446 2013-10-04  Alan Modra  <amodra@gmail.com>
16447
16448         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16449         union 32-bit int array member with 64-bit int array.
16450         (t515, tm256): Double rather than long double.
16451         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16452
16453 2013-10-04  Alan Modra  <amodra@gmail.com>
16454
16455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16456         Delete.
16457         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16459         version of math_ldbl.h.
16460
16461 2013-10-04  Alan Modra  <amodra@gmail.com>
16462
16463         [BZ #15734], [BZ #15735]
16464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16465         all uses of ieee875 long double macros and unions.  Simplify test
16466         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16467         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16468         normalize after ldbl_extract_mantissa, and don't add hidden bit
16469         already handled.  Don't treat low word of ieee854 mantissa like
16470         low word of IBM long double and mask off bit when testing for
16471         zero.
16472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16473         all uses of ieee875 long double macros and unions.  Simplify tests
16474         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16475         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16476         two1022, instead use their values.  Recognise that tests for large
16477         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16478         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16479         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16480         test for 0.0L and nan.  Correct negation.
16481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16482         ieee875 long double macros and unions.  Correct output for large
16483         magnitude x.  Correct absolute value calculation.
16484         (__erfcl): Likewise.
16485         * math/libm-test.inc: Add tests for errors discovered in IBM long
16486         double versions of fmodl, remainderl, erfl and erfcl.
16487
16488 2013-10-04  Alan Modra  <amodra@gmail.com>
16489
16490         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16491         all uses of ieee854 long double macros and unions.  Simplify tests
16492         for long doubles that are fully specified by the high double.
16493         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16494         Likewise.
16495         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16496         Remove dead code too.
16497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16498         (__ieee754_ynl): Likewise.
16499         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16501         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16502         Remove dead code too.
16503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16507         Simplify.
16508         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16509         Simplify.
16510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16511         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16513         Comment on variable precision.
16514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16516         Likewise.
16517         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16521         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16522
16523 2013-10-04  Alan Modra  <amodra@gmail.com>
16524
16525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16526         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16527         all uses of ieee854 long double macros and unions.
16528         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16532         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16534         Likewise.
16535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16536         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16537         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16541         Simplify sign and nan test too.
16542         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16543         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16544         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16545         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16546         Likewise.
16547         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16548         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16549         Likewise.
16550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16551         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16552         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16553         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16556
16557 2013-10-04  Alan Modra  <amodra@gmail.com>
16558
16559         * stdio-common/printf_size.c (__printf_size): Don't use
16560         union ieee854_long_double in fpnum union.
16561         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16562         signbit macro to retrieve sign from long double.
16563         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16564         retrieve sign from long double.
16565         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16566         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16567         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16568         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16569         * math/test-misc.c (main): Don't use union ieee854_long_double.
16570
16571 2013-10-04  Alan Modra  <amodra@gmail.com>
16572
16573         [BZ #15680]
16574         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16575         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16576         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16577         calculation.  Remove unnecessary test for denormal exponent.
16578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16579         Correct handling of denormals.  Avoid undefined shift behaviour.
16580         Correct normalisation of low mantissa when low double is denormal.
16581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16582         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16583         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16584         Correct normalisation of low mantissa.  Test for overflow of high
16585         mantissa and normalise.
16586         (ldbl_nearbyint): Use more readable constant for two52.
16587         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16588         (__mpn_construct_long_double): Fix test for overflow of high
16589         mantissa and correct normalisation.  Avoid undefined shift.
16590
16591 2013-10-04  Alan Modra  <amodra@gmail.com>
16592
16593         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16594         (union ibm_extended_long_double): Define as an array of ieee754_double.
16595         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16596         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16597         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16598         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16600         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16602         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16604         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16605         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16606
16607 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16608
16609         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16610         page size instead of calling getpagesize.
16611
16612         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16613         (LOCFILE_ALIGN_MASK): Likewise.
16614         (LOCFILE_ALIGN_UP): Likewise.
16615         (LOCFILE_ALIGNED_P): Likewise.
16616         * locale/programs/ld-collate.c (collate_output): Use the new
16617         macros instead of __alignof__ (int32_t).
16618         * locale/weight.h (findidx): Likewise.
16619
16620 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16621
16622         [BZ #431]
16623         * manual/string.texi: Fix strncat and wcsncat.
16624
16625 2013-10-03  Brooks Moses  <bmoses@google.com>
16626
16627         [BZ #15915]
16628         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16629         * Makerules: ...here, and adjust associated comments.
16630
16631 2013-10-02  Will Newton  <will.newton@linaro.org>
16632
16633         * malloc/Makefile: Add tst-pvalloc.
16634         * malloc/tst-pvalloc.c: New file.
16635
16636 2013-10-02  Will Newton  <will.newton@linaro.org>
16637
16638         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16639         improve test coverage.
16640
16641 2013-10-02  Will Newton  <will.newton@linaro.org>
16642
16643         * malloc/Makefile: Add tst-posix_memalign.
16644         * malloc/tst-posix_memalign.c: New file.
16645
16646 2013-10-01  Eric Blake  <eblake@redhat.com>
16647
16648         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16649         Use __THROWNL rather than __THROW on static functions.
16650
16651 2013-09-30  Petr Machata  <pmachata@redhat.com>
16652
16653         * elf/elf.h (R_AARCH64_ABS16): New macro.
16654         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16655         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16656         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16657         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16658         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16659         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16660         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16661         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16662         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16663         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16664         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16665         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16666         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16667         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16668         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16669         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16670         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16671         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16672         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16673         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16674         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16675         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16676         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16677         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16678         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16679         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16680         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16681         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16682         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16683         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16684         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16685         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16686         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16687         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16688         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16689         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16690         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16691         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16692         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16693         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16694         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16695         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16696         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16697         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16698         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16699         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16700         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16701         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16702         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16703         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16704         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16705         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16706         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16707         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16708         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16709         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16710         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16711         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16712         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16713         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16714         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16715         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16716         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16717         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16718         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16719         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16720         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16721         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16722         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16723         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16724         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16725         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16726         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16727         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16728         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16729         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16730         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16731         (R_AARCH64_TLSDESC_LDR): Likewise.
16732         (R_AARCH64_TLSDESC_ADD): Likewise.
16733         (R_AARCH64_TLSDESC_CALL): Likewise.
16734
16735 2013-09-30  Andreas Schwab  <schwab@suse.de>
16736
16737         [BZ #15048]
16738         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16739         the nss database lookup.
16740         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16742
16743 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16744
16745         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16746
16747 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16748
16749         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16750         ${Bash-specific parameter/pattern/string} parameter expansion.
16751         * sysdeps/unix/make-syscalls.sh: Likewise.
16752
16753 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16754
16755         * sysdeps/sh/stackguard-macros.h: New file.
16756
16757 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16758
16759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16761         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16762         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16763         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16764         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16765
16766 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16767
16768         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16769         Fix thread ID register.
16770
16771 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16772
16773         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16774         [POSIX || UNIX98]: Require rather than permitting all symbols from
16775         <time.h>.
16776         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16777         element of struct sched_param.
16778         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16779         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16780         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16781         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16782         constant.
16783
16784 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16785
16786         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16787         argument calculation.
16788
16789 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16790
16791         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16792         Expect macro.
16793         [POSIX] (pthread_attr_t): Do not require type.
16794         [POSIX] (pthread_cond_t): Likewise.
16795         [POSIX] (pthread_condattr_t): Likewise.
16796         [POSIX] (pthread_key_t): Likewise.
16797         [POSIX] (pthread_mutex_t): Likewise.
16798         [POSIX] (pthread_mutexattr_t): Likewise.
16799         [POSIX] (pthread_once_t): Likewise.
16800         [POSIX] (pthread_t): Likewise.
16801         [POSIX-based standards] (pthread_atfork): Expect function.
16802
16803 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16804             Richard Sandiford  <richard@codesourcery.com>
16805
16806         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16807         (swap_endianness_p): New extern variable.
16808         (set_big_endian): New inline function.
16809         (maybe_swap_uint32): Likewise.
16810         (maybe_swap_uint32_array): Likewise.
16811         (maybe_swap_uint32_obstack): Likewise.
16812         * locale/programs/locfile.c: Include <stdbool.h>.
16813         (swap_endianness_p): New variable.
16814         (add_locale_uint32): Call maybe_swap_uint32.
16815         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16816         (write_locale_data): Call maybe_swap_uint32_array.
16817         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16818         maybe_swap_uint32.
16819         (obstack_int32_grow_fast): Likewise.
16820         (output_weightwc): Call maybe_swap_uint32_obstack.
16821         (collate_output): Likewise.
16822         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16823         (OPT_LITTLE_ENDIAN): Likewise.
16824         (options): Add --little-endian and --big-endian options.
16825         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16826         * locale/programs/locarchive.c: Include "locfile.h".
16827         (GET): New macro.
16828         (SET): Likewise.
16829         (INC): Likewise.
16830         (create_archive): Use the new macros to access fields of
16831         structures directly mapped from or written to locale archives.
16832         (oldlocrecentcmp): Likewise.
16833         (enlarge_archive): Likewise.
16834         (insert_name): Likewise.
16835         (add_alias): Likewise.
16836         (add_locale): Likewise.
16837         (delete_locales_from_archive): Likewise.
16838         (show_archive_content): Likewise.
16839         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16840         locale data.
16841
16842 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16843
16844         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16845         http://www.gnu.org/doc/freemanuals.texi.
16846         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16847
16848 2013-09-24  Will Newton  <will.newton@linaro.org>
16849
16850         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16851         macro.
16852
16853 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16854
16855         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16856         unsigned char.
16857
16858 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16859
16860         * manual/threads.texi (POSIX Threads): Fix a typo.
16861
16862 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16863
16864         [BZ #14547]
16865         * string/tst-strcoll-overflow.c: New test case.
16866         * string/Makefile (xtests): Add tst-strcoll-overflow.
16867         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16868         cache if string sizes may cause integer overflow.
16869
16870         [BZ #14547]
16871         * string/strcoll_l.c (coll_seq): New members rule, idx,
16872         save_idx and back_us.
16873         (get_next_seq_nocache): New function.
16874         (do_compare_nocache): New function.
16875         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16876         when malloc fails.
16877
16878 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16879
16880         [BZ #15754]
16881         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16882         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16883         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16884
16885         [BZ #15754]
16886         * elf/Makefile (tests): Add tst-ptrguard1.
16887         (tests-static): Add tst-ptrguard1-static.
16888         (tst-ptrguard1-ARGS): Define.
16889         (tst-ptrguard1-static-ARGS): Define.
16890         * elf/tst-ptrguard1.c: New file.
16891         * elf/tst-ptrguard1-static.c: New file.
16892         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16893         * sysdeps/i386/stackguard-macros.h: Likewise.
16894         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16895         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16896         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16897         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16898         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16899         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16900
16901 2013-09-23  Hector Marco  <hecmargi@upv.es>
16902             Ismael Ripoll  <iripoll@disca.upv.es>
16903             Carlos O'Donell  <carlos@redhat.com>
16904
16905         [BZ #15754]
16906         * sysdeps/generic/stackguard-macros.h: Define
16907         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16908         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16909         Define __pointer_chk_guard_local.
16910         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16911         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16912
16913 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16914
16915         [BZ #15859]
16916         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16917
16918 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16919
16920         * include/string.h (__ffs): Declare as hidden.
16921         * string/ffs.c (__ffs): Define as hidden.
16922         * sysdeps/i386/ffs.c (__ffs): Likewise.
16923         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16924         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16925         * sysdeps/s390/ffs.c (__ffs): Likewise.
16926         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16927
16928 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16929
16930         * NEWS: Mention malloc probes.
16931
16932         * malloc/arena.c (new_heap): New memory_heap_new probe.
16933         (grow_heap): New memory_heap_more probe.
16934         (shrink_heap): New memory_heap_less probe.
16935         (heap_trim): New memory_heap_free probe.
16936         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16937         (systrim): New memory_sbrk_less probe.
16938         * manual/probes.texi: Document them.
16939
16940         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16941         * manual/probes.texi: Document it.
16942
16943         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16944         (__libc_realloc): Add memory_realloc_retry probe.
16945         (__libc_memalign): Add memory_memalign_retry probe.
16946         (__libc_valloc): Add memory_valloc_retry probe.
16947         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16948         (__libc_calloc): Add memory_calloc_retry probe.
16949         * manual/probes.texi: Document them.
16950
16951         * malloc/arena.c (get_free_list): Add probe
16952         memory_arena_reuse_free_list.
16953         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16954         and memory_arena_reuse.
16955         (arena_get2) [!PER_THREAD]: Likewise.
16956         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16957         memory_arena_reuse_realloc.
16958         * manual/probes.texi: Document them.
16959
16960         * malloc/malloc.c (__libc_free): Add
16961         memory_mallopt_free_dyn_thresholds probe.
16962         (__libc_mallopt): Add multiple memory_mallopt probes.
16963         * manual/probes.texi: Document them.
16964
16965         * malloc/malloc.c: Include stap-probe.h.
16966         (__libc_mallopt): Add memory_mallopt probe.
16967         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16968         * manual/probes.texi: New.
16969         * manual/Makefile (chapters): Add probes.
16970         * manual/threads.texi: Set next node.
16971
16972 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16973
16974         [BZ #15963, #13985]
16975         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16976         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16977         Add `Chinese' to `nan' entry name.
16978
16979 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16980
16981         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16982         (POLYNOMIAL): Likewise.
16983         (TAYLOR_SINCOS): Likewise.
16984         (TAYLOR_SLOW): Likewise.
16985         (__sin): Use TAYLOR_SINCOS.
16986         (__cos): Likewise.
16987         (slow): Use TAYLOR_SLOW.
16988         (sloww): Likewise.
16989         (bsloww): Likewise.
16990         (csloww): Likewise.
16991
16992 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16993
16994         * stdlib/strtod_l.c: Fix buffer overrun.
16995
16996 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16997
16998         * benchtests/Makefile (bench): Add sincos.
16999         * benchtests/bench-sincos.c: New file.
17000
17001         * math/libm-test.inc (cos_test_data): New test inputs.
17002         (sin_test_data): Likewise.
17003
17004         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17005         macro.
17006         (__sin): Use it.
17007         (__cos): Likewise.
17008         (slow1): Likewise.
17009         (slow2): Likewise.
17010         (sloww1): Likewise.
17011         (sloww2): Likewise.
17012         (bsloww1): Likewise.
17013         (bsloww2): Likewise.
17014         (cslow2): Likewise.
17015         (csloww1): Likewise.
17016         (csloww2): Likewise.
17017
17018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17019         function.
17020         (__sin): Use it.
17021         (__cos): Likewise.
17022
17023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17024         gotos.
17025         (__cos): Likewise.
17026
17027 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17028
17029         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17030         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17031         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17032         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17033         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17034         * elf/cache.c (print_entry): Handle the new cache flags.
17035
17036 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17037             Aldy Hernandez  <aldyh@redhat.com>
17038
17039         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17040         Change condition to [_SOFT_FLOAT].
17041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17053         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17056         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17057         declaration.
17058
17059 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17060
17061         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17062         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17063         (__longjmp): Use LOAD_GP to load saved GPRs.
17064         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17065         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17066         (__sigsetjmp): Use SAVE_GP to save GPRs.
17067
17068         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17069         Do not append -msoft-float.
17070         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17071
17072 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17073
17074         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17075
17076 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17077
17078         [BZ #15966]
17079         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17080         (_FPU_GETCW): Use initial "__" on variable and field names but not
17081         on macro parameter name.
17082         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17083         parentheses around reference to macro parameter.
17084
17085 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17086
17087         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17088         prototype.
17089         (ctype_startup): Use uint32_t in cast and sizeof for
17090         ctype->charnames.
17091
17092 2013-09-11  Jia Liu  <proljc@gmail.com>
17093
17094         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17095         __daddr_t_defined.
17096         [__FreeBSD__]: Likewise.
17097
17098 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17099
17100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17101         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17102         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17103         (strchr): Remove __strchr_sse42 ifunc selection.
17104         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17105         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17106
17107 2013-09-11  Will Newton  <will.newton@linaro.org>
17108
17109         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17110         parameter to RES. Remove hardcoded 1000 value.
17111         * benchtests/bench-skeleton.c (main): Pass RES parameter
17112         to TIMING_INIT and multiply result by 1000.
17113
17114 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17115
17116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17117
17118 2013-09-11  Andreas Schwab  <schwab@suse.de>
17119
17120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17121         if not defined.
17122         (O_TMPFILE) [__USE_GNU]: Define.
17123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17124         Define.
17125
17126 2013-09-11  Will Newton  <will.newton@linaro.org>
17127
17128         [BZ #15857]
17129         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17130         does not overflow.
17131
17132 2013-09-11  Will Newton  <will.newton@linaro.org>
17133
17134         [BZ #15856]
17135         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17136         does not overflow.
17137
17138 2013-09-11  Will Newton  <will.newton@linaro.org>
17139
17140         [BZ #15855]
17141         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17142         does not overflow.
17143
17144 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17145
17146         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17147         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17150         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17151
17152 2013-09-10  Allan McRae  <allan@archlinux.org>
17153
17154         [BZ #15748]
17155         * manual/arith.texi (Parsing of Floats): Clarify
17156         cross-reference.
17157
17158         [BZ #15849]
17159         * manual/install.texi (Running make install): Mention
17160         --enable-pt-chown.
17161         * INSTALL: Regenerated.
17162
17163 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17164
17165         * csu/init-first.c (_init): Remove the !SHARED condition around
17166         FPU control word initialization.
17167         * elf/dl-support.c (_dl_fpu_control): New variable.
17168         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17169         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17170         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17171         * math/test-fpucw-static.c: New file.
17172         * math/test-fpucw-ieee.c: New file.
17173         * math/test-fpucw-ieee-static.c: New file.
17174         * math/Makefile (tests): Add `test-fpucw-ieee' and
17175         `$(tests-static)'.
17176         (tests-static): New variable.
17177         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17178         dependency to...
17179         [($(build-shared),yes)]
17180         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17181         ... this.
17182         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17183         New dependency.
17184
17185 2013-09-09  Allan McRae  <allan@archlinux.org>
17186
17187         [BZ #15939]
17188         * manual/string.texi (Collation Functions): Fix typo in
17189         strcoll example.
17190         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17191
17192         [BZ #15893]
17193         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17194
17195         [BZ #15892]
17196         * libio/memstream.c (open_memstream): Fix memory leak.
17197         * libio/wmemstream.c (open_wmemstream): Likewise.
17198
17199         [BZ #15895]
17200         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17201
17202 2013-09-09  Will Newton  <will.newton@linaro.org>
17203
17204         * malloc/Makefile: Add tst-realloc to tests.
17205         * malloc/tst-realloc.c: New file.
17206
17207 2013-09-09  Allan McRae  <allan@archlinux.org>
17208
17209         [BZ #15844]
17210         * COPYING: Update from GNU website to fix FSF address.
17211         * COPYING.LIB: Likewise.
17212
17213 2013-09-06  David S. Miller  <davem@davemloft.net>
17214
17215         * po/zh_TW.po: Update Chinese (traditional) translation from
17216         translation project.
17217
17218 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17219             Joseph Myers  <joseph@codesourcery.com>
17220
17221         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17222         "localeinfo.h".
17223         (obstack_chunk_alloc): New macro.
17224         (obstack_chunk_free): Likewise.
17225         (record_offset): New function.
17226         (init_locale_data): Likewise.
17227         (align_locale_data): Likewise.
17228         (add_locale_empty): Likewise.
17229         (add_locale_raw_data): Likewise.
17230         (add_locale_raw_obstack): Likewise.
17231         (add_locale_string): Likewise.
17232         (add_locale_wstring): Likewise.
17233         (add_locale_uint32): Likewise.
17234         (add_locale_uint32_array): Likewise.
17235         (add_locale_char): Likewise.
17236         (start_locale_structure): Likewise.
17237         (end_locale_structure): Likewise.
17238         (start_locale_prelude): Likewise.
17239         (end_locale_prelude): Likewise.
17240         (write_locale_data): Take locale_file structure rather than an
17241         iovec.
17242         * locale/programs/locfile.h: Include "obstack.h".
17243         (struct locale_file): Change to store locale file contents instead
17244         of header.
17245         (init_locale_data): New prototype.
17246         (align_locale_data): Likewise.
17247         (add_locale_empty): Likewise.
17248         (add_locale_raw_data): Likewise.
17249         (add_locale_raw_obstack): Likewise.
17250         (add_locale_string): Likewise.
17251         (add_locale_wstring): Likewise.
17252         (add_locale_uint32): Likewise.
17253         (add_locale_uint32_array): Likewise.
17254         (add_locale_char): Likewise.
17255         (start_locale_structure): Likewise.
17256         (end_locale_structure): Likewise.
17257         (start_locale_prelude): Likewise.
17258         (end_locale_prelude): Likewise.
17259         (write_locale_data): Update prototype.
17260         * locale/programs/3level.h (struct TABLE): Remove result field.
17261         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17262         Use new locale_file interface.
17263         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17264         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17265         * locale/programs/ld-address.c (address_output): Use new
17266         locale_file interface.
17267         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17268         NO_ADD_LOCALE.
17269         (collate_finish): Don't call collseq_table_finalize.
17270         (collate_output): Use new locale_file interface.
17271         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17272         in file.
17273         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17274         (TABLE): Move defines earlier in file.
17275         (ELEMENT): Likewise.
17276         (DEFAULT): Likewise.
17277         (wctrans_table_add): Move macro and inline function earlier in
17278         file.
17279         (struct wctype_table): Move type earlier in file.
17280         (add_locale_wctype_table): New static prototype.
17281         (struct locale_ctype_t): Use logical types instead of struct iovec
17282         pointers for members.
17283         (ctype_output): Use new locale_file interface.
17284         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17285         new locale_file interface.
17286         (allocate_arrays): Update for use of new locale_file interface.
17287         * locale/programs/ld-identification.c (identification_output): Use
17288         new locale_file interface.
17289         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17290         * locale/programs/ld-messages.c (messages_output): Likewise.
17291         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17292         * locale/programs/ld-name.c (name_output): Likewise.
17293         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17294         * locale/programs/ld-paper.c (paper_output): Likewise.
17295         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17296         * locale/programs/ld-time.c (time_output): Likewise.
17297
17298 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17299
17300         * benchtests/Makefile: Add memrchr benchmark.
17301         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17302         benchmark as memrchr.
17303         * benchtests/bench-memrchr-ifunc.c: New file.
17304         * benchtests/bench-memrchr.c: New file.
17305
17306 2013-09-06   Will Newton  <will.newton@linaro.org>
17307
17308         * benchtests/Makefile (string-bench): Add memcpy.
17309
17310 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17311             Cong Wang  <amwang@redhat.com>
17312
17313         [BZ #15850]
17314         * sysdeps/unix/sysv/linux/bits/in.h
17315         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17316         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17317         before __USE_KERNEL_IPV6_DEFS uses.
17318         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17319         IPPROTO_BEETPH.
17320         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17321         sockaddr_in6, or ipv6_mreq.
17322
17323 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17324
17325         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17326         memory access for final bytes in some large inputs.
17327         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17328
17329 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17330
17331         * string/test-memrchr.c: New file.
17332         * string/test-memrchr-ifunc.c: New file.
17333         * string/Makefile: Add new memrchr testcase.
17334
17335 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17336
17337         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17338         fanotify_init returns EPERM.
17339
17340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17341
17342         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17343         errors.
17344         (top level): Treat second token from macro or constant entries for
17345         allowed headers as allowed.
17346         * include/complex.h: Condition internal declarations on
17347         [!_ISOMAC].
17348         * include/fenv.h: Condition include of <stdbool.h> and internal
17349         declarations on [!_ISOMAC].
17350
17351 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17352
17353         [BZ #15923]
17354         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17355
17356 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17357
17358         * configure.in (--enable-versioning): Remove configure option.
17359         (libc_cv_asm_symver_directive): Remove configure test.
17360         (libc_cv_ld_version_script_option): Likewise.
17361         (VERSIONING): Remove variable and AC_SUBST.
17362         (DO_VERSIONING): Remove AC_DEFINE.
17363         * configure: Regenerated.
17364         * config.h.in (DO_VERSIONING): Remove macro.
17365         * Makerules [$(versioning) = yes]: Change conditionals to
17366         [$(build-shared) = yes].
17367         * config.make.in (versioning): Remove variable.
17368         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17369         [$(build-shared) = yes].
17370         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17371         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17372         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17373         [$(build-shared) = yes].
17374         * extra-lib.mk [$(versioning) = yes]: Likewise.
17375         * hurd/Makefile [$(versioning) = yes]: Likewise.
17376         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17377         [SHARED].
17378         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17379         [SHARED].
17380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17381         [SHARED && !NO_HIDDEN].
17382         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17383         [SHARED].
17384         [SHARED && DO_VERSIONING]: Likewise..
17385         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17386         [$(build-shared) = yes].
17387         * manual/install.texi (--disable-versioning): Remove
17388         documentation.
17389         * INSTALL: Regenerated.
17390         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17391         to [SHARED].
17392         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17393         [$(build-shared) = yes].
17394         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17395         * sysdeps/i386/i686/multiarch/strstr-c.c
17396         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17397         [SHARED && !NO_HIDDEN].
17398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17399         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17400         * sysdeps/powerpc/powerpc32/dl-machine.c
17401         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17402         * sysdeps/powerpc/powerpc32/sysdep.h
17403         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17404         to [SHARED && PIC && !NO_HIDDEN].
17405         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17406         conditional to [SHARED].
17407
17408 2013-09-04   Will Newton  <will.newton@linaro.org>
17409
17410         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17411         * benchtests/bench-string.h: Include bench-timing.h instead
17412         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17413         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17414         call to HP_TIMING_DIFF_INIT.
17415         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17416         instead of hp-timing.h macros.
17417         * benchtests/bench-memchr.c: Likewise.
17418         * benchtests/bench-memcmp.c: Likewise.
17419         * benchtests/bench-memcpy.c: Likewise.
17420         * benchtests/bench-memmem.c: Likewise.
17421         * benchtests/bench-memmove.c: Likewise.
17422         * benchtests/bench-memset.c: Likewise.
17423         * benchtests/bench-rawmemchr.c: Likewise.
17424         * benchtests/bench-strcasecmp.c: Likewise.
17425         * benchtests/bench-strcasestr.c: Likewise.
17426         * benchtests/bench-strcat.c: Likewise.
17427         * benchtests/bench-strchr.c: Likewise.
17428         * benchtests/bench-strcmp.c: Likewise.
17429         * benchtests/bench-strcpy.c: Likewise.
17430         * benchtests/bench-strcpy_chk.c: Likewise.
17431         * benchtests/bench-strlen.c: Likewise.
17432         * benchtests/bench-strncasecmp.c: Likewise.
17433         * benchtests/bench-strncat.c: Likewise.
17434         * benchtests/bench-strncmp.c: Likewise.
17435         * benchtests/bench-strncpy.c: Likewise.
17436         * benchtests/bench-strnlen.c: Likewise.
17437         * benchtests/bench-strpbrk.c: Likewise.
17438         * benchtests/bench-strrchr.c: Likewise.
17439         * benchtests/bench-strspn.c: Likewise.
17440         * benchtests/bench-strstr.c: Likewise.
17441
17442 2013-09-04  Will Newton  <will.newton@linaro.org>
17443
17444         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17445
17446 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17447
17448         [BZ #15427]
17449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17450         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17451         * math/libm-test.inc (lgamma_test_data): Add more tests.
17452         * sysdeps/i386/fpu/libm-test-ulps: Update.
17453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454
17455 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17456
17457         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17459         Add ifunc.
17460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17461         Add strcmp-sse2-unaligned
17462         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17463
17464 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17465
17466         * Versions.def (libc): Add GLIBC_2.19.
17467
17468 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17469
17470         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17471         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17472
17473 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17474
17475         [BZ #14155]
17476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17477         intermediate calculations in recurrence.
17478         (__ieee754_ynf): Likewise.
17479         * math/libm-test.inc (jn_test_data): Do not allow spurious
17480         underflow exception.  Add more tests.
17481         (yn_test_data): Add more tests.
17482         * sysdeps/i386/fpu/libm-test-ulps: Update.
17483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17484
17485 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17486
17487         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17488
17489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17490
17491         * csu/init-first.c: Fix then/than typos.
17492         * locale/programs/ld-collate.c: Likewise.
17493         * locale/programs/linereader.h: Likewise.
17494         * manual/charset.texi: Likewise.
17495         * manual/filesys.texi: Likewise.
17496         * manual/stdio.texi: Likewise.
17497         * manual/string.texi: Likewise.
17498         * stdlib/fmtmsg.c: Likewise.
17499         * sysdeps/i386/stpncpy.S: Likewise.
17500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17501         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17503         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17504
17505 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17506
17507         * elf/dl-open.c: Fix typos.
17508         * iconvdata/gbbig5.c: Likewise.
17509         * iconvdata/iso-2022-jp.c: Likewise.
17510         * iconv/gconv_int.h: Likewise.
17511         * iconv/loop.c: Likewise.
17512         * nis/rpcsvc/nis.h: Likewise.
17513         * resolv/ns_name.c: Likewise.
17514         * stdio-common/vfscanf.c: Likewise.
17515         * streams/stropts.h: Likewise.
17516         * sunrpc/rpc_thread.c: Likewise.
17517         * sysdeps/i386/strpbrk.S: Likewise.
17518         * sysdeps/ieee754/k_standard.c: Likewise.
17519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17521         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17522         * sysdeps/mach/hurd/profil.c: Likewise.
17523         * sysdeps/s390/dl-procinfo.h: Likewise.
17524         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17526         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17527         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17529
17530 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17531
17532         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17534
17535 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17536
17537         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17538         aix specific files.
17539         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17540         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17541         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17542         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17543         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17544         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17545         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17546         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17547
17548 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17549             Roland McGrath  <roland@hack.frob.com>
17550
17551         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17552         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17553
17554 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17555
17556         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17557         __executable_start symbol instead of _start.
17558
17559 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17560
17561         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17562         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17563         Move macros to...
17564         * sysdeps/gnu/ldsodefs.h: ... this new file.
17565
17566         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17567         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17568         instead of ELFOSABI_LINUX.
17569
17570         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17571         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17572         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17573         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17574         Likewise.
17575         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17576         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17577         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17578         Likewise.
17579         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17580         (ibm_extended_long_double): Add ieee_nan member.
17581         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17582         (do_test): New function.
17583
17584         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17585         TEST_TRUNC.
17586         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17587         functions, renamed from truncdfsf_test, trunctfsf_test,
17588         trunctfdf_test.
17589         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17590         functions.
17591         (do_test): Run all these.
17592
17593 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17594
17595         * argp/argp-help.c: Fix typos.
17596         * argp/argp-parse.c: Likewise.
17597         * debug/backtracesyms.c: Likewise.
17598         * elf/elf.h: Likewise.
17599         * malloc/malloc.c: Likewise.
17600         * nis/nis_print.c: Likewise.
17601         * resolv/res_comp.c: Likewise.
17602         * stdlib/stdlib.h: Likewise.
17603         * sunrpc/clnt_tcp.c: Likewise.
17604         * sunrpc/clnt_udp.c: Likewise.
17605         * sunrpc/clnt_unix.c: Likewise.
17606         * sysdeps/unix/bsd/ptsname.c: Likewise.
17607         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17608         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17610         Likewise.
17611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17612         Likewise.
17613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17614         Likewise.
17615         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17616
17617 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17618
17619         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17621
17622 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17623
17624         [BZ #15897]
17625         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17626         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17627         ($(objpfx)bug-dl-leaf): New rule.
17628         ($(objpfx)bug-dl-leaf.so): Likewise.
17629         ($(objpfx)bug-dl-leaf.out): Likewise.
17630         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17631         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17632         * dlfcn/bug-dl-leaf.c: New test.
17633         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17634         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17635         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17636         (dlclose): Likewise.
17637         (dlmopen): Likewise.
17638
17639 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17640
17641         * include/netdb.h [!_ISOMAC]:
17642         Don't include <tls.h>.
17643         (h_errno, __libc_h_errno): Move declaration and macros out of
17644         [_LIBC_REENTRANT].
17645
17646         * include/resolv.h [_RESOLV_H_]:
17647         Don't include <tls.h>.
17648         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17649         * resolv/res_libc.c: Don't include <tls.h>.
17650         (_res): Use __attribute__ ((nocommon)) in place of
17651         __attribute__ ((section (".bss"))).
17652
17653         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17654         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17655
17656         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17657
17658         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17659         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17660
17661         * resolv/res_mkquery.c: Include <sys/time.h>.
17662
17663         * inet/ifreq.c: Moved to ...
17664         * sysdeps/unix/ifreq.c: ... here.
17665         * inet/ifreq.c: New file, true stub version.
17666
17667         * socket/sa_len.c: New file.
17668         * socket/Makefile (aux): Add it.
17669         * sysdeps/unix/sysv/linux/Makefile
17670         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17671         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17672         and #include <socket/sa_len.c>.
17673         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17674         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17675
17676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17677         * bits/socket.h: ... here.
17678
17679         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17680         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17681         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17682
17683 2013-08-27  Andreas Schwab  <schwab@suse.de>
17684
17685         [BZ #15736]
17686         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17687         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17688         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17689         * string/test-strcasecmp.c (test_main): Run tests in several
17690         locales.
17691         * string/test-strncasecmp.c (test_main): Likewise.
17692
17693         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17694         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17695         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17697         (__strncasecmp_ssse3) [PIC]: Likewise.
17698
17699 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17700
17701         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17702
17703         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17704         instead of explicitly declaring xdecrypt.
17705         * nis/nss_nis/nis-publickey.c: Likewise.
17706
17707 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17708
17709         [BZ #15890]
17710         * nscd/aicache.c: Include res_hconf.h.
17711         (addhstaiX): Initialize res_hconf.
17712
17713 2013-08-26  Andreas Schwab  <schwab@suse.de>
17714
17715         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17716         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17717
17718 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17719
17720         * nscd/aicache.c (addhstaiX): Fix indentation.
17721
17722 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17723
17724         * configure.ac: Quote $build_pt_chown test.
17725         * configure: Regenerated.
17726
17727 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17728
17729         [BZ #15532]
17730         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17731         * math/s_cexpf.c (__cexpf): Likewise.
17732         * math/s_cexpl.c (__cexpl): Likewise.
17733         * math/libm-test.inc (cexp_test_data): Correct expected return
17734         value for NaN + i0.  Add another test.
17735
17736 2013-08-22  David S. Miller  <davem@davemloft.net>
17737
17738         * po/ca.po: Update Catalan translation from translation project.
17739         * po/uk.po: Add Ukrainian translations from translation project.
17740
17741 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17742
17743         [BZ #15797]
17744         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17745         is infinite, not alongside NaN test.
17746         * math/s_fdimf.c (__fdimf): Likewise.
17747         * math/s_fdiml.c (__fdiml): Likewise.
17748         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17749         errno is unchanged.
17750
17751 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17752
17753         * argp/argp-help.c: Fix typos.
17754         * crypt/speeds.c: Likewise.
17755         * csu/check_fds.c: Likewise.
17756         * elf/dl-load.c: Likewise.
17757         * elf/dl-open.c: Likewise.
17758         * elf/reldep3.c: Likewise.
17759         * elf/reldep.c: Likewise.
17760         * elf/sprof.c: Likewise.
17761         * iconv/iconv_charmap.c: Likewise.
17762         * iconv/skeleton.c: Likewise.
17763         * iconv/strtab.c: Likewise.
17764         * io/lockf64.c: Likewise.
17765         * libio/libioP.h: Likewise.
17766         * resolv/gai_notify.c: Likewise.
17767         * resolv/ns_name.c: Likewise.
17768         * resolv/ns_samedomain.c: Likewise.
17769         * resolv/res_send.c: Likewise.
17770         * stdlib/random.c: Likewise.
17771         * sunrpc/rpc/xdr.h: Likewise.
17772         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17774         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17775         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17780         * sysdeps/mach/hurd/check_fds.c: Likewise.
17781         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17784         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17785         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17786         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17787         * sysdeps/pthread/aio_notify.c: Likewise.
17788         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17789         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17790         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17791         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17792         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17793
17794 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17795
17796         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17797         version if bit_Slow_SSE4_2 is set.
17798         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17799         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17800
17801 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17802
17803         [BZ #15867]
17804         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17805         trampoline stack frame information.
17806         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17808         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17809         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17810         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17811         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17812         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17813         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17814         sa_flags value.
17815         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17816         interrupting a syscall and set with option SA_SIGINFO.
17817
17818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17819
17820         [BZ #15531]
17821         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17822         argument is infinite.
17823         * math/s_cprojf.c (__cprojf): Likewise.
17824         * math/s_cprojl.c (__cprojl): Likewise.
17825         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17826         * math/libm-test.inc (cproj_test_data): Add more tests.
17827
17828         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17829
17830         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17831         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17832         size.  Use __ffs to determine corresponding shift.
17833
17834 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17835             Roland McGrath  <roland@hack.frob.com>
17836
17837         * Makefile (INSTALL): Remove trailing blank lines from output of
17838         makeinfo.
17839
17840 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17841
17842         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17843         Align 32 bit compat elf_greg to 8 bytes.
17844
17845 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17846
17847         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17848
17849 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17850
17851         * string/strcoll_l.c (coll_seq): New structure.
17852         (get_next_seq_cached): New function.
17853         (get_next_seq): New function.
17854         (do_compare): New function.
17855         (STRCOLL): Use GNU style definition.  Simplify implementation
17856         by using get_next_seq, get_next_seq_cached and do_compare.
17857
17858 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17859
17860         [BZ #14699]
17861         CVE-2013-4237
17862         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17863         member.
17864         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17865         member.
17866         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17867         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17868         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17869         conditional.
17870         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17871         GETDENTS_64BIT_ALIGNED.
17872         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17873         * manual/filesys.texi (Reading/Closing Directory): Document
17874         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17875         strongly.
17876         * manual/conf.texi (Limits for Files): Add portability note to
17877         NAME_MAX, PATH_MAX.
17878         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17879
17880 2013-08-13  Andreas Schwab  <schwab@suse.de>
17881
17882         [BZ #15749]
17883         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17884         of fabs.
17885         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17886         LDBL_MAX_EXP >= 16384]: Add tests for it.
17887
17888 2013-08-12  David S. Miller  <davem@davemloft.net>
17889
17890         * version.h (RELEASE): Set to "development".
17891         (VERSION): Set to "2.18.90".
17892         * NEWS: Add 2.19 section.
17893
17894 2013-08-03  David S. Miller  <davem@davemloft.net>
17895
17896         * po/ko.po: Update Korean translation from translation project.
17897
17898 2013-08-01  David S. Miller  <davem@davemloft.net>
17899
17900         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17901         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17902         Bilka.
17903
17904 2013-07-30  David S. Miller  <davem@davemloft.net>
17905
17906         * po/fr.po: Update French translation from translation project.
17907
17908 2013-07-28  David S. Miller  <davem@davemloft.net>
17909
17910         * po/cs.po: Update Czech translation from translation project.
17911
17912         * po/sv.po: Update Swedish translation from translation project.
17913
17914 2013-07-27  David S. Miller  <davem@davemloft.net>
17915
17916         * po/eo.po: Update Esperanto translation from translation project.
17917
17918         * po/vi.po: Update Vietnamese translation from translation project.
17919
17920         * po/de.po: Update German translation from translation project.
17921
17922 2013-07-26  David S. Miller  <davem@davemloft.net>
17923
17924         * po/bg.po: Update Bulgarian translation from translation project.
17925
17926         * po/nl.po: Update Dutch translation from translation project.
17927         * po/pl.po: Update Polish translation from translation project.
17928         * po/ru.po: Update Russian translation from translation project.
17929
17930 2013-07-24  David S. Miller  <davem@davemloft.net>
17931
17932         * po/libc.pot: Update.
17933
17934 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17935
17936         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17937         variable page size.
17938         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17939         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17940         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17941
17942 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17943
17944         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17945
17946 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17947             Andreas Schwab  <schwab@suse.de>
17948             Roland McGrath  <roland@hack.frob.com>
17949             Joseph Myers  <joseph@codesourcery.com>
17950             Carlos O'Donell  <carlos@redhat.com>
17951
17952         [BZ #15755]
17953         * config.h.in: Define HAVE_PT_CHOWN.
17954         * config.make.in (build-pt-chown): New variable.
17955         * configure.in (--enable-pt_chown): New configure option.
17956         * configure: Regenerate.
17957         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17958         build-pt-chown is enabled.
17959         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17960         pt_chown to fix pty ownership.
17961         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17962         CLOSE_ALL_FDS.
17963         * manual/install.texi (Configuring and compiling): Mention
17964         --enable-pt_chown. Add @findex for grantpt.
17965         * INSTALL: Regenerate.
17966
17967 2013-07-20  David S. Miller  <davem@davemloft.net>
17968
17969         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17970         difference between 32-bit and 64-bit.
17971
17972 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17973
17974         [BZ #15711]
17975         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17976         Avoid system header dependency with -ffreestanding.
17977         ($(objpfx)bits/syscall%d): Likewise.
17978
17979 2013-07-13  David S. Miller  <davem@davemloft.net>
17980
17981         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17982         underflows from atanl/atan2l due to bug 15319.
17983         (casinh_test_data): Likewise.
17984
17985 2013-07-07  David S. Miller  <davem@davemloft.net>
17986
17987         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17988
17989 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17990
17991         * sysdeps/i386/fpu/libm-test-ulps: Update.
17992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17993
17994 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17995
17996         * configure.in (--enable-lock-elision): Fix message text.
17997         * INSTALL: Regenerate.
17998         * configure: Regenerate.
17999
18000 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18001
18002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18003
18004 2013-07-03  Andreas Jaeger  <aj@suse.de>
18005
18006         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18007         define.
18008         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18009         (ptrace_peeksiginfo_args): Add.
18010         (__ptrace_peeksiginfo_flags): Add.
18011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18014
18015 2013-07-03  Allan McRae  <allan@archlinux.org>
18016
18017         * sysdeps/i386/fpu/libm-test-ulps: Update.
18018
18019 2013-07-02  David S. Miller  <davem@davemloft.net>
18020
18021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18022
18023 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18024
18025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18026
18027 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18028
18029         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18031
18032 2013-07-02  Andi Kleen <ak@linux.intel.com>
18033
18034         * config.h.in (ENABLE_LOCK_ELISION): Add.
18035         * configure.in (--enable-lock-elision): Add option.
18036         * manual/install.texi: Document --enable lock elision.
18037         * configure: Regenerate
18038         * INSTALL: Regenerate.
18039
18040 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18041
18042         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18043         SSE4.2 strcasecmp for libc.a.
18044         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18045
18046 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18047
18048         [BZ #13304]
18049         * soft-fp/op-common.h (_FP_FMA): New macro.
18050         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18051         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18052         (_FP_MUL_MEAT_1_imm): ... here.
18053         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18054         (_FP_MUL_MEAT_1_wide): ... here.
18055         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18056         (_FP_MUL_MEAT_1_hard): ... here.
18057         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18058         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18059         (_FP_MUL_MEAT_2_wide): ... here.
18060         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18061         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18062         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18063         (_FP_MUL_MEAT_2_gmp): ... here.
18064         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18065         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18066         (_FP_MUL_MEAT_4_wide): ... here.
18067         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18068         (_FP_MUL_MEAT_4_gmp): ... here.
18069         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18070         (_FP_WFRACBITS_DW_S): Likewise.
18071         (_FP_WFRACXBITS_DW_S): Likewise.
18072         (_FP_HIGHBIT_DW_S): Likewise.
18073         (FP_FMA_S): Likewise.
18074         (_FP_FRAC_HIGH_DW_S): Likewise.
18075         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18076         (_FP_WFRACBITS_DW_D): Likewise.
18077         (_FP_WFRACXBITS_DW_D): Likewise.
18078         (_FP_HIGHBIT_DW_D): Likewise.
18079         (FP_FMA_D): Likewise.
18080         (_FP_FRAC_HIGH_DW_D): Likewise.
18081         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18082         (_FP_WFRACBITS_DW_E): Likewise.
18083         (_FP_WFRACXBITS_DW_E): Likewise.
18084         (_FP_HIGHBIT_DW_E): Likewise.
18085         (FP_FMA_E): Likewise.
18086         (_FP_FRAC_HIGH_DW_E): Likewise.
18087         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18088         (_FP_WFRACBITS_DW_Q): Likewise.
18089         (_FP_WFRACXBITS_DW_Q): Likewise.
18090         (_FP_HIGHBIT_DW_Q): Likewise.
18091         (FP_FMA_Q): Likewise.
18092         (_FP_FRAC_HIGH_DW_Q): Likewise.
18093         * soft-fp/fmasf4.c: New file.
18094         * soft-fp/fmadf4.c: Likewise.
18095         * soft-fp/fmatf4.c: Likewise.
18096
18097 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18098
18099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18100         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18101         Silvermont.
18102         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18103         macro.
18104         (index_Slow_SSE4_2): Likewise.
18105         (index_Prefer_PMINUB_for_stringop): Likewise.
18106         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18107         bit_Slow_SSE4_2 is set.
18108         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18110
18111 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18112
18113         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18114         rtld_global._dl_hwcap2.
18115         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18116         POWER8.
18117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18118         POWER8 feature descriptions defined in _dl_hwcap2.
18119         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18120         string handling for POWER8 feature bits.
18121         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18122         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18123         _dl_powerpc_cap_flags.
18124         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18125         * sysdeps/powerpc/rtld-global-offsets.sym
18126         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18127         _dl_hwcap2 in the rtld_global_ro structure.
18128
18129 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18130
18131         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18132         hardware capabilities in support of AT_HWCAP2.
18133         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18134         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18135         GLRO(dl_hwcap2).
18136         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18137         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18138         explicitly the unknown a_type display mechanism is used.
18139         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18140         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18141         struct member.
18142         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18143         to macro prototype for AT_HWCAP2 support.
18144         * sysdeps/i386/dl-procinfo.h: Likewise.
18145         * sysdeps/s390/dl-procinfo.h: Likewise.
18146         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18147         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18148         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18149         return -1 for unknown a_type display fallback.
18150         * sysdeps/sparc/dl-procinfo.h: Likewise.
18151         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18152         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18153
18154 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18155
18156         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18157         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18158
18159 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18160
18161         [BZ #12492]
18162         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18163         mprotect making __stack_prot writable.
18164
18165 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18166             Joseph Myers  <joseph@codesourcery.com>
18167
18168         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18169         as being properly aligned.
18170
18171 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18172
18173         * dlfcn/modstatic5.c: New file.
18174         * dlfcn/tststatic5.c: New file.
18175         * dlfcn/Makefile (tests): Add tststatic5.
18176         (tests-static): Likewise.
18177         (modules-names): Add modstatic5.
18178         (tststatic5-ENV): New variable.
18179         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18180
18181         [BZ #15022]
18182         * elf/dl-support.c (_dl_main_map): New variable.
18183         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18184         (_dl_nns, _dl_load_adds): Set to 1.
18185         (_dl_initial_searchlist): Refer to _dl_main_map.
18186         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18187         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18188         call to _dl_get_origin.
18189         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18190         around call_map.
18191         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18192         * dlfcn/modstatic3.c: New file.
18193         * dlfcn/tststatic3.c: New file.
18194         * dlfcn/tststatic4.c: New file.
18195         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18196         (tests-static): Likewise.
18197         (modules-names): Add modstatic3.
18198         (tststatic3-ENV, tststatic4-ENV): New variables.
18199         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18200         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18201
18202 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18203
18204         * configure.in (CC): Require GCC version 4.4 or later.
18205         * configure: Regenerated.
18206         * manual/install.texi (Tools for Compilation): Update GCC version
18207         requirement.
18208         * INSTALL: Regenerated.
18209
18210 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18211
18212         [BZ #15674]
18213         * string/test-memcmp.c (check2): New.
18214         (main): Call check2.
18215
18216         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18217
18218 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18219
18220         [BZ #15022]
18221         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18222         over to...
18223         (dl_open_worker) [!SHARED]: ... here.
18224
18225 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18226
18227         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18228
18229 2013-06-25  Richard Henderson  <rth@redhat.com>
18230
18231         * locale/programs/locarchive.c: Include <libc-internal.h>
18232
18233 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18234
18235         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18236         trailing whitespace removed.
18237
18238 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18239
18240         [BZ #10283]
18241         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18242         * locale/programs/locarchive.c: Include libc-mmap.h.
18243         (prepare_address_space): Take two new outputs (the mmap base and len).
18244         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18245         values.
18246         (create_archive): Declare new mmap base and len values for
18247         prepare_address_space, and store the result in ah.
18248         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18249         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18250         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18251         Declare new mmap base and len values for
18252         prepare_address_space, and store the result in new_ah.
18253         (open_archive): Declare new mmap base and len values for
18254         prepare_address_space, and store the result in ah.
18255         (close_archive): If ah->mmap_base is not NULL, use that and
18256         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18257         * sysdeps/generic/libc-mmap.h: New file.
18258
18259 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18260
18261         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18262         (ALIGN_UP): Likewise.
18263         (PTR_ALIGN_DOWN): Likewise.
18264         (PTR_ALIGN_UP): Likewise.
18265
18266 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18267
18268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18269         entry mapped to PPC_PLATFORM_POWER8.
18270         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18271         POWER8.
18272         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18273         (_dl_string_platform): Add case for exporting platform position for
18274         POWER8.
18275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18276         search path to sysdeps/powerpc/powerpc32/power8 directory.
18277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18278         search path to sysdeps/powerpc/powerpc64/power8 directory.
18279         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18280         power7 directories.
18281         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18282         power7 directories.
18283
18284 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18285
18286         * INSTALL: Regenerate.
18287
18288         * nscd/connections.c (nscd_init): Fix comment.
18289
18290 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18291
18292         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18293
18294         [BZ #15667]
18295         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18296         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18297
18298 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18299
18300         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18301         DL_DST_REQ_STATIC.
18302         (DL_DST_REQ_STATIC): Remove macro.
18303
18304 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18305
18306         [BZ #7006]
18307         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18308         with a shift of 0 bits.
18309
18310 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18311
18312         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18313         $(tststatic-ENV).
18314
18315 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18316
18317         [BZ #15655]
18318         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18319
18320 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18321
18322         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18323         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18324         accepts -fno-tree-loop-distribute-patterns.
18325         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18326         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18327         recursive call.
18328         * string/memset.c (memset): Likewise.
18329         * string/test-memmove.c (simple_memmove): Disable loop transformation
18330         to library calls.
18331         * string/test-memset.c (simple_memset): Likewise.
18332         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18333         * benchtests/bench-memset.c (simple_memset): Likewise.
18334         * configure: Regenerated.
18335
18336 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18337
18338         * math/test-misc.c (main): Ignore fesetround failure when failures
18339         of subsequent rounding tests would be ignored.
18340
18341         [BZ #15654]
18342         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18343         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18344         * math/fegetenv.c (__fegetenv): Return 0.
18345         * math/fegetexcept.c (fegetexcept): Return 0.
18346         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18347         FE_TONEAREST.
18348         * math/feholdexcpt.c (feholdexcept): Return 0.
18349         * math/fesetenv.c (__fesetenv): Return 0.
18350         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18351         argument FE_TONEAREST.
18352         * math/feupdateenv.c (__feupdateenv): Return 0.
18353         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18354
18355 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18356
18357         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18358         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18359         ($(objpfx)rtld-%.os rules): Use them.
18360
18361 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18362
18363         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18364         fields.
18365
18366 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18367
18368         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18369         length of target pattern, then descending length of dependency pattern.
18370         * configure.in (AWK): Require gawk 3.1.2 or newer.
18371         * manual/install.texi (Tools for Compilation): Say that we do.
18372         * configure: Regenerated.
18373
18374         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18375         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18376         * scripts/sysd-rules.awk: ... this new script.
18377         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18378         than a glob-style pattern.
18379
18380 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18381
18382         * math/test-misc.c (main): Do not treat incorrectly rounded
18383         conversions as failure unless ROUNDING_TESTS passes.
18384
18385 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18386
18387         [BZ #15631]
18388         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18389         restore exception state around main square root computation, then
18390         check for inexactness explicitly.
18391
18392         * math/libm-test.inc (fma_test_data): Add another test.
18393
18394 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18395
18396         * manual/threads.texi (Non-POSIX Extensions): New document
18397         node.  Document pthread_getattr_default_np and
18398         pthread_setattr_default_np.
18399
18400         * Versions.def (libpthread): Add GLIBC_2.18.
18401         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18403         Likewise.
18404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18405         Likewise.
18406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18407         Likewise.
18408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18409         Likewise.
18410         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18411         Likewise.
18412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18413         Likewise.
18414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18415         Likewise.
18416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18417         Likewise.
18418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18419         Likewise.
18420
18421 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18422
18423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18424         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18425
18426 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18427             H.J. Lu  <hjl.tools@gmail.com>
18428
18429         [BZ #15627]
18430         * sysdeps/x86_64/rtld-memset.c: Remove file.
18431         * sysdeps/x86_64/rtld-memset.S: New file.
18432
18433 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18434
18435         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18436         (test_in_one_mode): Take arguments for whether the rounding mode
18437         is supported for each floating-point type.
18438         (do_test): Pass new arguments to test_in_one_mode using
18439         ROUNDING_TESTS.
18440
18441 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18442
18443         * posix/tst-waitid.c (do_test): Distinguish different instances of
18444         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18445         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18446         before entering the kernel for waitpid.
18447
18448 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18449
18450         * NEWS: Fix note on clock function precision.  Text by Roland
18451         McGrath.
18452
18453 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18454
18455         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18456         it into place only when and if the sanity check passes.
18457
18458 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18459
18460         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18461         output for whether conversion result is exact.  Take argument
18462         indicating whether type is IBM long double.
18463         (round_for_all): Change need_exact field to ibm_ld.
18464         * stdlib/tst-strtod-round.c (struct exactness): New type.
18465         (struct test): Change bool ld_ok field to struct exactness exact.
18466         (TEST): Update all definitions for change to field.
18467         (tests): Regenerate array contents.
18468         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18469         field value.  Check for IBM long double here.
18470         (do_test): Update calls to test_in_one_mode.
18471
18472 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18473
18474         [BZ #12515]
18475         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18476         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18477
18478 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18479
18480         [BZ #15605]
18481         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18482         generated by the compiler on loop optimizations.
18483         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18484         general definitions.
18485
18486 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18487
18488         * math/bug-nextafter.c: Include <math-tests.h>.
18489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18490         the relevant type.
18491         * math/bug-nexttoward.c: Include <math-tests.h>.
18492         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18493         the relevant type.
18494         * math/test-misc.c: Include <math-tests.h>.
18495         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18496         the relevant type.
18497
18498 2013-06-12  Andreas Jaeger  <aj@suse.de>
18499
18500         * po/ia.po: Update Interlingua translation from translation
18501         project.
18502
18503 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18504
18505         * include/fenv.h: Include stdbool.h.
18506         (struct rm_ctx): New structure.
18507         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18508         Define macro.
18509         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18510         (SET_RESTORE_ROUNDF): Likewise.
18511         (SET_RESTORE_ROUNDL): Likewise.
18512         (SET_RESTORE_ROUND_NOEX): Likewise.
18513         (SET_RESTORE_ROUND_NOEXF): Likewise.
18514         (SET_RESTORE_ROUND_NOEXL): Likewise.
18515         (SET_RESTORE_ROUND_53BIT): Likewise.
18516         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18517         (libc_feresetround_noexf_ctx): Likewise.
18518         (libc_feresetround_noexl_ctx): Likewise.
18519         (libc_feholdsetround_53bit_ctx): Likewise.
18520         (libc_feresetround_53bit_ctx): Likewise.
18521         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18522         (libc_feholdexcept_setround_sse_ctx): New function.
18523         (libc_fesetenv_sse_ctx): Likewise.
18524         (libc_feupdateenv_sse_ctx): Likewise.
18525         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18526         (libc_feholdexcept_setround_387_ctx): Likewise.
18527         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18528         (libc_feholdsetround_387_prec_ctx): Likewise.
18529         (libc_feholdsetround_387_ctx): Likewise.
18530         (libc_feholdsetround_387_53bit_ctx): Likewise.
18531         (libc_feholdsetround_sse_ctx): Likewise.
18532         (libc_feresetround_sse_ctx): Likewise.
18533         (libc_feresetround_387_ctx): Likewise.
18534         (libc_feupdateenv_387_ctx): Likewise.
18535         (libc_feholdexcept_setroundf_ctx): Define macro.
18536         (libc_fesetenvf_ctx): Likewise.
18537         (libc_feupdateenvf_ctx): Likewise.
18538         (libc_feholdsetroundf_ctx): Likewise.
18539         (libc_feresetroundf_ctx): Likewise.
18540         (libc_feholdexcept_setround_ctx): Likewise.
18541         (libc_fesetenv_ctx): Likewise.
18542         (libc_feupdateenv_ctx): Likewise.
18543         (libc_feholdsetround_ctx): Likewise.
18544         (libc_feresetround_ctx): Likewise.
18545         (libc_feholdexcept_setroundl_ctx): Likewise.
18546         (libc_feupdateenvl_ctx): Likewise.
18547         (libc_feholdsetroundl_ctx): Likewise.
18548         (libc_feresetroundl_ctx): Likewise.
18549         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18550         (libc_feresetround_53bit_ctx): Likewise.
18551
18552 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18553
18554         * locale/iso-639.def: Convert to UTF-8.
18555
18556 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18557
18558         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18559         (EXCEPTION_TESTS_double): Likewise.
18560         (EXCEPTION_TESTS_long_double): Likewise.
18561         (EXCEPTION_TESTS): Likewise.
18562         * math/libm-test.inc (test_exceptions): Only test exceptions if
18563         EXCEPTION_TESTS (FLOAT).
18564
18565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18566
18567         * benchtests/Makefile (string-bench): Add strcpy_chk and
18568         stpcpy_chk.
18569         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18570         * benchtests/bench-stpcpy_chk.c: New file.
18571         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18572         * benchtests/bench-strcpy_chk.c: New file.
18573         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18574         code.
18575         (do_test): Likewise.
18576
18577 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18578
18579         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18580         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18581         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18582         with tabs where appropriate.
18583         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18584         dl-procinfo.h.
18585         [PPC_PLATFORM_PPC440]: Likewise.
18586         [PPC_PLATFORM_PPC464]: Likewise.
18587         [PPC_PLATFORM_PPC476]: Likewise.
18588         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18589         ppc464, and ppc476 platform strings merging from ports/
18590         dl-procinfo.h.
18591
18592 2013-06-11  Andreas Schwab  <schwab@suse.de>
18593
18594         [BZ #14991]
18595         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18596         (from_ucs4_idx): Regenerate.
18597         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18598         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18599         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18600         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18601         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18602         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18603         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18604         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18605         from FROM_LOOP and TO_LOOP specific macros.
18606         (BODY): Handle combining characters.
18607         * iconvdata/BIG5HKSCS.irreversible: Update.
18608         * iconvdata/BIG5HKSCS.precomposed: New file.
18609         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18610         characters.
18611         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18612
18613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18614
18615         * include/sys/time.h: Fix indentation and add copyright header.
18616
18617         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18618         (do_test): Likewise.
18619         * string/test-memchr.c (do_one_test): Likewise.
18620         (do_test): Likewise.
18621         * string/test-memcmp.c (do_one_test): Likewise.
18622         (do_test): Likewise.
18623         * string/test-memcpy.c (do_one_test): Likewise.
18624         (do_test): Likewise.
18625         * string/test-memmem.c (do_one_test): Likewise.
18626         (do_test): Likewise.
18627         (do_random_tests): Likewise.
18628         * string/test-memmove.c (do_one_test): Likewise.
18629         (do_test): Likewise.
18630         * string/test-memset.c (do_one_test): Likewise.
18631         (do_test): Likewise.
18632         * string/test-rawmemchr.c (do_one_test): Likewise.
18633         (do_test): Likewise.
18634         * string/test-strcasecmp.c (do_one_test): Likewise.
18635         (do_test): Likewise.
18636         * string/test-strcasestr.c (do_one_test): Likewise.
18637         (do_test): Likewise.
18638         * string/test-strcat.c (do_one_test): Likewise.
18639         (do_test): Likewise.
18640         * string/test-strchr.c (do_one_test): Likewise.
18641         (do_test): Likewise.
18642         * string/test-strcmp.c (do_one_test): Likewise.
18643         (do_test): Likewise.
18644         * string/test-strcpy.c (do_one_test): Likewise.
18645         (do_test): Likewise.
18646         * string/test-string.h: Likewise.
18647         (test_init): Likewise.
18648         * string/test-strlen.c (do_one_test): Likewise.
18649         (do_test): Likewise.
18650         * string/test-strncasecmp.c (do_one_test): Likewise.
18651         (do_test): Likewise.
18652         * string/test-strncat.c (do_one_test): Likewise.
18653         (do_test): Likewise.
18654         * string/test-strncmp.c (do_one_test): Likewise.
18655         (do_test_limit): Likewise.
18656         (do_test): Likewise.
18657         * string/test-strncpy.c (do_one_test): Likewise.
18658         (do_test): Likewise.
18659         * string/test-strnlen.c (do_one_test): Likewise.
18660         (do_test): Likewise.
18661         * string/test-strpbrk.c (do_one_test): Likewise.
18662         (do_test): Likewise.
18663         * string/test-strrchr.c (do_one_test): Likewise.
18664         (do_test): Likewise.
18665         * string/test-strspn.c (do_one_test): Likewise.
18666         (do_test): Likewise.
18667         * string/test-strstr.c (do_one_test): Likewise.
18668         (do_test): Likewise.
18669
18670         * benchtests/Makefile (string-bench): Add string benchmarks.
18671         * benchtests/bench-bcopy-ifunc.c: New file.
18672         * benchtests/bench-bcopy.c: New file.
18673         * benchtests/bench-bzero-ifunc.c: New file.
18674         * benchtests/bench-bzero.c: New file.
18675         * benchtests/bench-memccpy-ifunc.c: New file.
18676         * benchtests/bench-memccpy.c: New file.
18677         * benchtests/bench-memchr-ifunc.c: New file.
18678         * benchtests/bench-memchr.c: New file.
18679         * benchtests/bench-memcmp-ifunc.c: New file.
18680         * benchtests/bench-memcmp.c: New file.
18681         * benchtests/bench-memmem-ifunc.c: New file.
18682         * benchtests/bench-memmem.c: New file.
18683         * benchtests/bench-memmove-ifunc.c: New file.
18684         * benchtests/bench-memmove.c: New file.
18685         * benchtests/bench-mempcpy-ifunc.c: New file.
18686         * benchtests/bench-mempcpy.c: New file.
18687         * benchtests/bench-memset-ifunc.c: New file.
18688         * benchtests/bench-memset.c: New file.
18689         * benchtests/bench-rawmemchr-ifunc.c: New file.
18690         * benchtests/bench-rawmemchr.c: New file.
18691         * benchtests/bench-stpcpy-ifunc.c: New file.
18692         * benchtests/bench-stpcpy.c: New file.
18693         * benchtests/bench-stpncpy-ifunc.c: New file.
18694         * benchtests/bench-stpncpy.c: New file.
18695         * benchtests/bench-strcasecmp-ifunc.c: New file.
18696         * benchtests/bench-strcasecmp.c: New file.
18697         * benchtests/bench-strcasestr-ifunc.c: New file.
18698         * benchtests/bench-strcasestr.c: New file.
18699         * benchtests/bench-strcat-ifunc.c: New file.
18700         * benchtests/bench-strcat.c: New file.
18701         * benchtests/bench-strchr-ifunc.c: New file.
18702         * benchtests/bench-strchr.c: New file.
18703         * benchtests/bench-strchrnul-ifunc.c: New file.
18704         * benchtests/bench-strchrnul.c: New file.
18705         * benchtests/bench-strcmp-ifunc.c: New file.
18706         * benchtests/bench-strcmp.c: New file.
18707         * benchtests/bench-strcpy-ifunc.c: New file.
18708         * benchtests/bench-strcpy.c: New file.
18709         * benchtests/bench-strcspn-ifunc.c: New file.
18710         * benchtests/bench-strcspn.c: New file.
18711         * benchtests/bench-strlen-ifunc.c: New file.
18712         * benchtests/bench-strlen.c: New file.
18713         * benchtests/bench-strncasecmp-ifunc.c: New file.
18714         * benchtests/bench-strncasecmp.c: New file.
18715         * benchtests/bench-strncat-ifunc.c: New file.
18716         * benchtests/bench-strncat.c: New file.
18717         * benchtests/bench-strncmp-ifunc.c: New file.
18718         * benchtests/bench-strncmp.c: New file.
18719         * benchtests/bench-strncpy-ifunc.c: New file.
18720         * benchtests/bench-strncpy.c: New file.
18721         * benchtests/bench-strnlen-ifunc.c: New file.
18722         * benchtests/bench-strnlen.c: New file.
18723         * benchtests/bench-strpbrk-ifunc.c: New file.
18724         * benchtests/bench-strpbrk.c: New file.
18725         * benchtests/bench-strrchr-ifunc.c: New file.
18726         * benchtests/bench-strrchr.c: New file.
18727         * benchtests/bench-strspn-ifunc.c: New file.
18728         * benchtests/bench-strspn.c: New file.
18729         * benchtests/bench-strstr-ifunc.c: New file.
18730         * benchtests/bench-strstr.c: New file.
18731
18732         * benchtests/Makefile: Disable parallel execution of targets.
18733         (string-bench): Add memcpy.
18734         (benchset): New variable to store a list of benchmark sets.
18735         (bench-func): Renamed from bench.
18736         (bench-set): New target.
18737         (bench): Depend on bench-func and bench-set.
18738         * benchtests/README: Add section on benchmark sets.
18739         * benchtests/bench-memcpy-ifunc.c: New file.
18740         * benchtests/bench-memcpy.c: New file.
18741         * benchtests/bench-string.h: New file.
18742
18743 2013-06-11  Andreas Schwab  <schwab@suse.de>
18744
18745         [BZ #15577]
18746         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18747         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18748         values in the triple.
18749         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18750         terminator in the group key.
18751
18752 2013-06-11  Andreas Jaeger  <aj@suse.de>
18753
18754         * po/zh_TW.po: Update Chinese (traditional) translation from
18755         translation project.
18756
18757 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18758
18759         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18760         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18761         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18762         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18763         (clock_getcpuclockid): Likewise.
18764         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18765         Add weak_alias and libc_hidden_def.
18766         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18767         * rt/clock_gettime.c (clock_gettime): Rename to
18768         __clock_gettime.  Add weak_alias and libc_hidden_def.
18769         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18770         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18771         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18772         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18773         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18774         Likewise.
18775         * rt/clock_settime.c (clock_settime): Rename to
18776         __clock_settime.  Add weak_alias and libc_hidden_def.
18777         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18778
18779 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18780
18781         * mach/err_boot.sub: Remove trailing whitespace.
18782         * mach/err_ipc.sub: Likewise.
18783         * mach/err_mach.sub: Likewise.
18784
18785         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18786         (ROUNDING_TESTS_double): Likewise.
18787         (ROUNDING_TESTS_long_double): Likewise.
18788         (ROUNDING_TESTS): Likewise.
18789         * math/libm-test.inc: Include <math-tests.h>.
18790         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18791         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18792         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18793         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18794
18795 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18796
18797         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18798         of assigning.
18799
18800 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18801
18802         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18803         otherwise empty TRANS lines.
18804         * sysdeps/gnu/errlist.c: Regenerated.
18805
18806         * catgets/gencat.c (error_print): Use (void) in function
18807         definition.
18808         * crypt/crypt_util.c (__init_des): Likewise.
18809         * crypt/speeds.c (Stop): Likewise.
18810         (main): Likewise.
18811         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18812         * inet/ruserpass.c (token): Likewise.
18813         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18814         * intl/localealias.c (extend_alias_table): Likewise.
18815         * intl/plural-exp.c (init_germanic_plural): Likewise.
18816         * libio/fcloseall.c (__fcloseall): Likewise.
18817         * libio/genops.c (_IO_flush_all): Likewise.
18818         (_IO_flush_all_linebuffered): Likewise.
18819         (_IO_cleanup): Likewise.
18820         (_IO_iter_begin): Likewise.
18821         (_IO_iter_end): Likewise.
18822         (_IO_list_lock): Likewise.
18823         (_IO_list_unlock): Likewise.
18824         (_IO_list_resetlock): Likewise.
18825         * libio/getchar.c (getchar): Likewise.
18826         * libio/getchar_u.c (getchar_unlocked): Likewise.
18827         * libio/getwchar.c (getwchar): Likewise.
18828         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18829         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18830         * login/getpt.c (__getpt): Likewise.
18831         * login/tst-utmp.c (main): Likewise.
18832         * malloc/hooks.c (__malloc_check_init): Likewise.
18833         * malloc/malloc.c (__malloc_stats): Likewise.
18834         * malloc/mtrace.c (tr_break): Likewise.
18835         (mtrace): Likewise.
18836         (muntrace): Likewise.
18837         * misc/fstab.c (endfsent): Likewise.
18838         * misc/getclktck.c (__getclktck): Likewise.
18839         * misc/getdtsz.c (__getdtablesize): Likewise.
18840         * misc/gethostid.c (gethostid): Likewise.
18841         * misc/getpagesize.c (__getpagesize): Likewise.
18842         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18843         (__get_nprocs): Likewise.
18844         (__get_phys_pages): Likewise.
18845         (__get_avphys_pages): Likewise.
18846         * misc/getttyent.c (getttyent): Likewise.
18847         (setttyent): Likewise.
18848         (endttyent): Likewise.
18849         * misc/getusershell.c (getusershell): Likewise.
18850         (endusershell): Likewise.
18851         (setusershell): Likewise.
18852         (initshells): Likewise.
18853         * misc/hsearch.c (__hdestroy): Likewise.
18854         * misc/sync.c (sync): Likewise.
18855         * misc/syslog.c (closelog_internal): Likewise.
18856         (closelog): Likewise.
18857         * misc/ttyslot.c (ttyslot): Likewise.
18858         * misc/vhangup.c (vhangup): Likewise.
18859         * posix/fork.c (__fork): Likewise.
18860         * posix/getegid.c (__getegid): Likewise.
18861         * posix/geteuid.c (__geteuid): Likewise.
18862         * posix/getgid.c (__getgid): Likewise.
18863         * posix/getpid.c (__getpid): Likewise.
18864         * posix/getppid.c (__getppid): Likewise.
18865         * posix/getuid.c (__getuid): Likewise.
18866         * posix/pause.c (pause): Likewise.
18867         * posix/setpgrp.c (setpgrp): Likewise.
18868         * posix/setsid.c (__setsid): Likewise.
18869         * posix/test-vfork.c (noop): Likewise.
18870         * resolv/gethnamaddr.c (_endhtent): Likewise.
18871         (_gethtent): Likewise.
18872         (ht_endhostent): Likewise.
18873         (gethostent): Likewise.
18874         (dns_service): Likewise.
18875         * stdlib/drand48.c (drand48): Likewise.
18876         * stdlib/lrand48.c (lrand48): Likewise.
18877         * stdlib/mrand48.c (mrand48): Likewise.
18878         * stdlib/rand.c (rand): Likewise.
18879         * stdlib/random.c (__random): Likewise.
18880         * stdlib/setenv.c (clearenv): Likewise.
18881         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18882         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18883         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18884         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18885         (__get_nprocs): Likewise.
18886         (__get_phys_pages): Likewise.
18887         (__get_avphys_pages): Likewise.
18888         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18889         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18890         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18891         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18892         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18893         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18894         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18895         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18896         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18897         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18898         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18899         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18900         * sysdeps/posix/clock.c (clock): Likewise.
18901         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18902         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18903         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18904         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18905         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18907         (__get_nprocs_conf): Likewise.
18908         (__get_phys_pages): Likewise.
18909         (__get_avphys_pages): Likewise.
18910         * time/clock.c (clock): Likewise.
18911         * time/tzset.c (__tzname_max): Likewise.
18912
18913 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18914
18915         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18916         (__bswap_32): Do not use "register".
18917         * crypt/crypt.c (_ufc_doit_r): Likewise.
18918         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18919         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18920         * gmon/gmon.c (__monstartup): Likewise.
18921         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18922         * hurd/hurdmalloc.c (more_memory): Likewise.
18923         (malloc): Likewise.
18924         (free): Likewise.
18925         (realloc): Likewise.
18926         (malloc_fork_prepare): Likewise.
18927         (malloc_fork_parent): Likewise.
18928         (malloc_fork_child): Likewise.
18929         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18930         (_svcauth_des): Likewise.
18931         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18932         * inet/inet_net.c (inet_network): Likewise.
18933         * inet/inet_netof.c (inet_netof): Likewise.
18934         * inet/rcmd.c (__validuser2_sa): Likewise.
18935         * io/fts.c (fts_open): Likewise.
18936         (fts_load): Likewise.
18937         (fts_close): Likewise.
18938         (fts_read): Likewise.
18939         (fts_children): Likewise.
18940         (fts_build): Likewise.
18941         (fts_stat): Likewise.
18942         (fts_sort): Likewise.
18943         (fts_alloc): Likewise.
18944         (fts_lfree): Likewise.
18945         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18946         (_IO_file_xsgetn): Likewise.
18947         (_IO_file_xsgetn_mmap): Likewise.
18948         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18949         (_IO_cookie_write): Likewise.
18950         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18951         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18952         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18953         * malloc/obstack.c (_obstack_begin): Likewise.
18954         (_obstack_begin_1): Likewise.
18955         (_obstack_newchunk): Likewise.
18956         (_obstack_allocated_p): Likewise.
18957         (obstack_free): Likewise.
18958         (_obstack_memory_used): Likewise.
18959         * misc/getttyent.c (getttynam): Likewise.
18960         (getttyent): Likewise.
18961         (skip): Likewise.
18962         (value): Likewise.
18963         * misc/getusershell.c (initshells): Likewise.
18964         * misc/syslog.c (__vsyslog_chk): Likewise.
18965         * misc/ttyslot.c (ttyslot): Likewise.
18966         * nis/nis_hash.c (__nis_hash): Likewise.
18967         * posix/fnmatch_loop.c (FCT): Likewise.
18968         * posix/getconf.c (print_all): Likewise.
18969         (main): Likewise.
18970         * posix/getopt.c (exchange): Likewise.
18971         * posix/glob.c (globfree): Likewise.
18972         (prefix_array): Likewise.
18973         (__glob_pattern_type): Likewise.
18974         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18975         (NS_GET32): Likewise.
18976         (NS_PUT16): Likewise.
18977         (NS_PUT32): Likewise.
18978         * resolv/gethnamaddr.c (getanswer): Likewise.
18979         (gethostbyname2): Likewise.
18980         (gethostbyaddr): Likewise.
18981         (_gethtent): Likewise.
18982         (_gethtbyname2): Likewise.
18983         (_gethtbyaddr): Likewise.
18984         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18985         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18986         * resolv/res_init.c (__res_vinit): Likewise.
18987         (net_mask): Likewise.
18988         * resolv/res_mkquery.c (outchar): Likewise.
18989         (PRINT): Likewise.
18990         * stdio-common/printf_fp.c (outchar): Likewise.
18991         (PRINT): Likewise.
18992         * stdio-common/printf_fphex.c (outchar): Likewise.
18993         (PRINT): Likewise.
18994         * stdio-common/printf_size.c (outchar): Likewise.
18995         (PRINT): Likewise.
18996         * stdio-common/test_rdwr.c (main): Likewise.
18997         * stdio-common/tfformat.c (matches): Likewise.
18998         * stdio-common/vfprintf.c (outchar): Likewise.
18999         (printf_unknown): Likewise.
19000         (buffered_vfprintf): Likewise.
19001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19002         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19003         (ReadFile): Likewise.
19004         * stdlib/qsort.c (SWAP): Likewise.
19005         (_quicksort): Likewise.
19006         * stdlib/setenv.c (__add_to_environ): Likewise.
19007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19008         * stdlib/strtol_l.c (__strtol_l): Likewise.
19009         * stdlib/tst-strtod.c (main): Likewise.
19010         * stdlib/tst-strtol.c (main): Likewise.
19011         * stdlib/tst-strtoll.c (main): Likewise.
19012         * string/bits/string2.h (__strcmp_cc): Likewise.
19013         (__strcmp_cg): Likewise.
19014         (__strcspn_c1): Likewise.
19015         (__strcspn_c2): Likewise.
19016         (__strcspn_c3): Likewise.
19017         (__strspn_c1): Likewise.
19018         (__strspn_c2): Likewise.
19019         (__strspn_c3): Likewise.
19020         (__strsep_1c): Likewise.
19021         (__strsep_2c): Likewise.
19022         (__strsep_3c): Likewise.
19023         * string/memccpy.c (__memccpy): Likewise.
19024         * string/stpcpy.c (__stpcpy): Likewise.
19025         * string/strcmp.c (strcmp): Likewise.
19026         * string/strrchr.c (strrchr): Likewise.
19027         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19028         Likewise.
19029         * sysdeps/mach/hurd/getcwd.c
19030         (_hurd_canonicalize_directory_name_internal): Likewise.
19031         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19032         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19033         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19034         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19035         Likewise, in both definitions.
19036         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19037         definitions.
19038         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19039         64] (__bswap_64): Likewise.
19040         * time/test_time.c (main): Likewise.
19041         * time/tzfile.c (__tzfile_read): Likewise.
19042         (__tzfile_compute): Likewise.
19043         * time/tzset.c (__tzset_parse_tz): Likewise.
19044         (tzset_internal): Likewise.
19045         (compute_change): Likewise.
19046         * wcsmbs/wcscat.c (__wcscat): Likewise.
19047         * wcsmbs/wcschr.c (wcschr): Likewise.
19048         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19049         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19050         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19051         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19052         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19053         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19054         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19055         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19056         * wcsmbs/wmemset.c (wmemset): Likewise.
19057
19058 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19059
19060         * scripts/config.guess: Update to version 2013-05-16.
19061         * scripts/config.sub: Update to version 2013-04-24.
19062         * scripts/install-sh: Update to version 2011-11-20.07.
19063         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19064         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19065
19066 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19067
19068         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19069         * elf/sln.c: Likewise.
19070         * hurd/hurd/ioctl.h: Likewise.
19071         * hurd/hurdmalloc.c: Likewise.
19072         * hurd/xattr.c: Likewise.
19073         * include/shlib-compat.h: Likewise.
19074         * inet/ruserpass.c: Likewise.
19075         * libio/iofgets_u.c: Likewise.
19076         * libio/iofgetws_u.c: Likewise.
19077         * locale/programs/ld-identification.c: Likewise.
19078         * locale/programs/ld-time.c: Likewise.
19079         * mach/msg-destroy.c: Likewise.
19080         * nss/nss_files/files-netgrp.c: Likewise.
19081         * resolv/res_data.c: Likewise.
19082         * soft-fp/op-1.h: Likewise.
19083         * soft-fp/op-2.h: Likewise.
19084         * soft-fp/op-4.h: Likewise.
19085         * soft-fp/op-common.h: Likewise.
19086         * stdio-common/printf_fphex.c: Likewise.
19087         * stdlib/strtod_l.c: Likewise.
19088         * sunrpc/rpc/clnt.h: Likewise.
19089         * sysdeps/generic/framestate.c: Likewise.
19090         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19091         * sysdeps/i386/bsd-setjmp.S: Likewise.
19092         * sysdeps/i386/__longjmp.S: Likewise.
19093         * sysdeps/i386/setjmp.S: Likewise.
19094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19095         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19097         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19100         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19103         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19104         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19105         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19106         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19107         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19108         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19109         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19110         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19111         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19112         * sysdeps/ieee754/support.c: Likewise.
19113         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19114         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19115         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19116         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19119         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19120         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19121         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19122         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19123         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19124         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19125         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19126         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19127         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19128         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19129         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19131
19132 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19133
19134         * posix/transbug.c: Remove executable mode.
19135
19136 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19137
19138         * crypt/speeds.c: Remove trailing whitespace.
19139         * dlfcn/default.c: Likewise.
19140         * elf/ifuncdep2.c: Likewise.
19141         * elf/ifuncmain1.c: Likewise.
19142         * elf/ifuncmain1vis.c: Likewise.
19143         * elf/testobj.h: Likewise.
19144         * elf/tst-stackguard1.c: Likewise.
19145         * gmon/sys/gmon.h: Likewise.
19146         * hurd/hurdmsg.c: Likewise.
19147         * hurd/new-fd.c: Likewise.
19148         * hurd/ports-get.c: Likewise.
19149         * iconvdata/ibm1008_420.c: Likewise.
19150         * inet/tst-getni1.c: Likewise.
19151         * inet/tst-getni2.c: Likewise.
19152         * libio/ioungetc.c: Likewise.
19153         * libio/wfiledoalloc.c: Likewise.
19154         * manual/libm-err-tab.pl: Likewise.
19155         * math/w_dremf.c: Likewise.
19156         * misc/ftruncate.c: Likewise.
19157         * posix/bug-glob2.c: Likewise.
19158         * posix/tst-pcre.c: Likewise.
19159         * posix/wait4.c: Likewise.
19160         * resolv/README: Likewise.
19161         * resolv/res_debug.h: Likewise.
19162         * resolv/tst-inet_ntop.c: Likewise.
19163         * setjmp/bug269-setjmp.c: Likewise.
19164         * soft-fp/extended.h: Likewise.
19165         * soft-fp/op-1.h: Likewise.
19166         * soft-fp/op-2.h: Likewise.
19167         * soft-fp/op-4.h: Likewise.
19168         * soft-fp/op-8.h: Likewise.
19169         * soft-fp/testit.c: Likewise.
19170         * stdio-common/bug16.c: Likewise.
19171         * stdlib/random.c: Likewise.
19172         * sunrpc/rpcsvc/rquota.x: Likewise.
19173         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19174         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19176         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19177         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19178         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19179         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19180         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19181         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19182         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19183         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19184         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19186         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19187         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19188         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19189         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19191         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19194         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19195         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19196         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19197         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19198         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19202         * sysdeps/ieee754/s_lib_version.c: Likewise.
19203         * sysdeps/mach/hurd/check_fds.c: Likewise.
19204         * sysdeps/mach/hurd/getsockname.c: Likewise.
19205         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19206         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19207         * sysdeps/powerpc/bits/link.h: Likewise.
19208         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19209         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19210         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19211         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19212         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19213         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19214         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19215         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19216         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19217         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19218         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19219         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19220         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19221         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19222         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19223         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19226         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19227         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19228         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19229         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19230         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19231         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19232         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19233         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19234         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19235         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19236         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19237         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19238         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19239         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19241         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19242         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19243         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19244         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19245         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19246         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19247         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19248         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19249         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19250         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19251         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19252         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19253         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19254         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19255         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19256         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19257         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19262         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19263         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19264         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19265         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19267         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19268         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19269         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19270         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19271         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19272         * sysdeps/powerpc/sysdep.h: Likewise.
19273         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19274         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19275         * sysdeps/sh/dl-trampoline.S: Likewise.
19276         * sysdeps/sh/memset.S: Likewise.
19277         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19278         * sysdeps/sh/strlen.S: Likewise.
19279         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19280         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19281         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19282         * sysdeps/sparc/sparc32/rem.S: Likewise.
19283         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19284         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19285         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19286         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19287         * sysdeps/sparc/sparc32/urem.S: Likewise.
19288         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19289         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19290         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19291         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19293         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19294         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19295         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19296         * sysdeps/unix/bsd/times.c: Likewise.
19297         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19298         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19302         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19303         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19304         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19306         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19307         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19309         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19310         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19311         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19312         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19314         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19315         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19316         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19317         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19318         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19319         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19322         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19323         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19325         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19326         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19327         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19328         * sysdeps/x86_64/strcspn.S: Likewise.
19329
19330 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19331
19332         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19333         generated file.  Regenerate properly from gen-translit.pl.
19334         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19335         locale/C-translit.h.
19336
19337 2013-06-05  Andreas Schwab  <schwab@suse.de>
19338
19339         [BZ #15100]
19340         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19341         week as 6 instead of -1.
19342         * time/tst-strptime.c (day_tests): Add test case.
19343
19344 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19345
19346         * sysdeps/generic/math_private.h
19347         (libc_feholdexcept_setround_53bit): Replace with
19348         libc_feholdsetround_53bit.
19349         (libc_feupdateenv_53bit): Replace with
19350         libc_feresetround_53bit.
19351         (SET_RESTORE_ROUND_53BIT): Adjust.
19352
19353 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19354
19355         * string/test-strchrnul.c: Add copyright header.
19356
19357         * posix/tst-getaddrinfo4.c: Increase test timeout.
19358
19359 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19360
19361         [BZ #15536]
19362         * math/libm-test.inc (MAX_EXP): Remove
19363         (MIN_EXP): Define.
19364         (ulp): Use MIN_EXP - MANT_DIG.
19365         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19366
19367 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19368
19369         * po/be.po: Revert last change.
19370         * po/zh_CN.po: Likewise.
19371         * po/header.pot: Likewise.
19372
19373 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19374
19375         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19376         link-libc-deps to empty as target-specific variable.
19377         * Makerules (link-libc-args): New variable.
19378         (libc-for-link): Likewise.
19379         (link-libc-deps): Likewise.
19380         (lib%.so): Depend on $(link-libc-deps).  Link with
19381         $(link-libc-args).
19382         (build-module): Link with $(link-libc-args).
19383         (build-module-asneeded): Likewise.
19384         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19385         list of objects.
19386         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19387         target-specific variable.
19388         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19389         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19390         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19391         libc.
19392         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19393         libc and ld.so.
19394         ($(objpfx)libpcprofile.so): Likewise.
19395         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19396         libc_nonshared.a.
19397         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19398         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19399         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19400         $(link-libc-deps).
19401         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19402         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19403         * login/Makefile ($(objpfx)libutil.so): Likewise.
19404         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19405         * math/Makefile ($(objpfx)libm.so): Likewise.
19406         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19407         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19408         variable instead of depending directly on libc.
19409         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19410         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19411         $(link-libc-deps).
19412         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19413         libc.
19414         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19415         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19416         ($(objpfx)libanl.so): Likewise.
19417         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19418         ld.so.
19419         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19420         $(link-libc-deps).
19421         * sysdeps/i386/fpu/Makefile: Remove file.
19422         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19423         ($(objpfx)libm.so): Remove dependency on ld.so.
19424
19425 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19426
19427         [BZ # 15553]
19428         * nis/yp_xdr.c (XDRMAXNAME): Define.
19429         (XDRMAXRECORD): Define.
19430         (xdr_domainname): Use XDRMAXNAME.
19431         (xdr_mapname): Likewise.
19432         (xdr_peername): Likewise.
19433         (xdr_keydat): Use XDRMAXRECORD.
19434         (xdr_valdat): Likewise.
19435
19436 2013-05-30  Jeff Law  <law@redhat.com>
19437
19438         [BZ #14256]
19439         * manual/errno.texi (ESTALE): Update to account for more than
19440         just NFS file systems.
19441         * sysdeps/gnu/errlist.c: Regenerated.
19442
19443 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19444
19445         [BZ #15465]
19446         * elf/Makefile (tests): Add tst-null-argv.
19447         (modules-names):  Add tst-null-argv-lib.
19448         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19449         (tst-null-argv-ENV): Set environment for tst-null-argv.
19450         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19451         (RTLD_PROGNAME): New macro.
19452         * elf/tst-null-argv.c: New test case.
19453         * elf/tst-null-argv-lib.c: Library for test case.
19454         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19455         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19456         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19457         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19458         * elf/dl-init.c (call_init): Likewise.
19459         (_dl_init): Likewise.
19460         * elf/dl-load.c (print_search_path): Likewise.
19461         (_dl_map_object): Likewise.
19462         * elf/dl-lookup.c (do_lookup_x): Likewise.
19463         (add_dependency): Likewise.
19464         (_dl_lookup_symbol_x): Likewise.
19465         (_dl_debug_bindings): Likewise.
19466         * elf/dl-open.c (_dl_show_scope): Likewise.
19467         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19468         * elf/dl-version.c (match_symbol): Likewise.
19469         (_dl_check_map_versions): Likewise.
19470         * elf/rtld.c (dl_main): Likewise.
19471         (print_unresolved): Use RTLD_PROGNAME.
19472         (print_missing_version): Likewise.
19473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19474         (elf_machine_rela): Likewise.
19475         * sysdeps/powerpc/powerpc32/dl-machine.c
19476         (__process_machine_rela): Likewise.
19477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19478         Likewise.
19479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19480         Likewise.
19481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19482         Likewise.
19483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19485         Likewise.
19486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19487         Likewise.
19488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19489
19490 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19491
19492         * po/be.po: Add descriptive title.
19493         * po/zh_CN.po: Likewise.
19494         * po/header.pot: Likewise.
19495
19496 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19497
19498         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19499         error message.
19500         (enlarge_archive): Likewise.
19501
19502 2013-05-28  Ben North  <ben@redfrontdoor.org>
19503
19504         * manual/arith.texi (frexp): It is the magnitude of the return
19505         value which lies in [0.5, 1), not the return value itself.
19506
19507 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19508
19509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19510
19511 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19512
19513         * stdio-common/bug26.c (main): Correct fscanf template.
19514
19515         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19516         declare _dl_skip_args.
19517
19518         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19519         Don't declare.
19520
19521         * manual/platform.texi: Add missing @end deftypefun.
19522
19523 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19524
19525         [BZ #15529]
19526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19527         bit of mantissa of 2^16382.
19528         * math/libm-test.inc (hypot_test_data): Add more tests.
19529
19530         * math/libm-test.inc: Add drem and pow10 to list of tested
19531         functions.
19532         (pow10_test): New function.
19533         (drem_test): Likewise.
19534         (drem_test_tonearest): Likewise.
19535         (drem_test_towardzero): Likewise.
19536         (drem_test_downward): Likewise.
19537         (drem_test_upward): Likewise.
19538         (main): Call the new functions.
19539
19540         * math/libm-test.inc (finite_test_data): Remove.
19541         (finite_test): Run tests from isfinite_test_data.
19542         (gamma_test_data): Remove.
19543         (gamma_test): Run tests from lgamma_test_data.
19544         * sysdeps/i386/fpu/libm-test-ulps: Update.
19545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19546
19547 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19548
19549         * manual/platform.texi: Add PowerPC PPR function set documentation.
19550         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19551         implementation.
19552
19553 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19554
19555         * math/libm-test.inc (MAX_EXP): Define.
19556         (ULPDIFF): Define.
19557         (ulp): New function.
19558         (check_float_internal): Use ULPDIFF.
19559         (cpow_test): Disable failing test.
19560         (check_ulp): Test ulp() implemetnation.
19561         (main): Call check_ulp before starting tests.
19562
19563 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19564
19565         * math/gen-libm-test.pl (generate_testfile): Do not handle
19566         START_DATA and END_DATA.
19567         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19568         END_DATA.
19569         (acos_tonearest_test_data): Likewise.
19570         (acos_towardzero_test_data): Likewise.
19571         (acos_downward_test_data): Likewise.
19572         (acos_upward_test_data): Likewise.
19573         (acosh_test_data): Likewise.
19574         (asin_test_data): Likewise.
19575         (asin_tonearest_test_data): Likewise.
19576         (asin_towardzero_test_data): Likewise.
19577         (asin_downward_test_data): Likewise.
19578         (asin_upward_test_data): Likewise.
19579         (asinh_test_data): Likewise.
19580         (atan_test_data): Likewise.
19581         (atanh_test_data): Likewise.
19582         (atan2_test_data): Likewise.
19583         (cabs_test_data): Likewise.
19584         (cacos_test_data): Likewise.
19585         (cacosh_test_data): Likewise.
19586         (carg_test_data): Likewise.
19587         (casin_test_data): Likewise.
19588         (casinh_test_data): Likewise.
19589         (catan_test_data): Likewise.
19590         (catanh_test_data): Likewise.
19591         (cbrt_test_data): Likewise.
19592         (ccos_test_data): Likewise.
19593         (ccosh_test_data): Likewise.
19594         (ceil_test_data): Likewise.
19595         (cexp_test_data): Likewise.
19596         (cimag_test_data): Likewise.
19597         (clog_test_data): Likewise.
19598         (clog10_test_data): Likewise.
19599         (conj_test_data): Likewise.
19600         (copysign_test_data): Likewise.
19601         (cos_test_data): Likewise.
19602         (cos_tonearest_test_data): Likewise.
19603         (cos_towardzero_test_data): Likewise.
19604         (cos_downward_test_data): Likewise.
19605         (cos_upward_test_data): Likewise.
19606         (cosh_test_data): Likewise.
19607         (cosh_tonearest_test_data): Likewise.
19608         (cosh_towardzero_test_data): Likewise.
19609         (cosh_downward_test_data): Likewise.
19610         (cosh_upward_test_data): Likewise.
19611         (cpow_test_data): Likewise.
19612         (cproj_test_data): Likewise.
19613         (creal_test_data): Likewise.
19614         (csin_test_data): Likewise.
19615         (csinh_test_data): Likewise.
19616         (csqrt_test_data): Likewise.
19617         (ctan_test_data): Likewise.
19618         (ctan_tonearest_test_data): Likewise.
19619         (ctan_towardzero_test_data): Likewise.
19620         (ctan_downward_test_data): Likewise.
19621         (ctan_upward_test_data): Likewise.
19622         (ctanh_test_data): Likewise.
19623         (ctanh_tonearest_test_data): Likewise.
19624         (ctanh_towardzero_test_data): Likewise.
19625         (ctanh_downward_test_data): Likewise.
19626         (ctanh_upward_test_data): Likewise.
19627         (erf_test_data): Likewise.
19628         (erfc_test_data): Likewise.
19629         (exp_test_data): Likewise.
19630         (exp_tonearest_test_data): Likewise.
19631         (exp_towardzero_test_data): Likewise.
19632         (exp_downward_test_data): Likewise.
19633         (exp_upward_test_data): Likewise.
19634         (exp10_test_data): Likewise.
19635         (exp2_test_data): Likewise.
19636         (expm1_test_data): Likewise.
19637         (fabs_test_data): Likewise.
19638         (fdim_test_data): Likewise.
19639         (finite_test_data): Likewise.
19640         (floor_test_data): Likewise.
19641         (fma_test_data): Likewise.
19642         (fma_towardzero_test_data): Likewise.
19643         (fma_downward_test_data): Likewise.
19644         (fma_upward_test_data): Likewise.
19645         (fmax_test_data): Likewise.
19646         (fmin_test_data): Likewise.
19647         (fmod_test_data): Likewise.
19648         (fpclassify_test_data): Likewise.
19649         (frexp_test_data): Likewise.
19650         (gamma_test_data): Likewise.
19651         (hypot_test_data): Likewise.
19652         (ilogb_test_data): Likewise.
19653         (isfinite_test_data): Likewise.
19654         (isgreater_test_data): Likewise.
19655         (isgreaterequal_test_data): Likewise.
19656         (isinf_test_data): Likewise.
19657         (isless_test_data): Likewise.
19658         (islessequal_test_data): Likewise.
19659         (islessgreater_test_data): Likewise.
19660         (isnan_test_data): Likewise.
19661         (isnormal_test_data): Likewise.
19662         (issignaling_test_data): Likewise.
19663         (isunordered_test_data): Likewise.
19664         (j0_test_data): Likewise.
19665         (j1_test_data): Likewise.
19666         (jn_test_data): Likewise.
19667         (ldexp_test_data): Likewise.
19668         (lgamma_test_data): Likewise.
19669         (lrint_test_data): Likewise.
19670         (lrint_tonearest_test_data): Likewise.
19671         (lrint_towardzero_test_data): Likewise.
19672         (lrint_downward_test_data): Likewise.
19673         (lrint_upward_test_data): Likewise.
19674         (llrint_test_data): Likewise.
19675         (llrint_tonearest_test_data): Likewise.
19676         (llrint_towardzero_test_data): Likewise.
19677         (llrint_downward_test_data): Likewise.
19678         (llrint_upward_test_data): Likewise.
19679         (log_test_data): Likewise.
19680         (log10_test_data): Likewise.
19681         (log1p_test_data): Likewise.
19682         (log2_test_data): Likewise.
19683         (logb_test_data): Likewise.
19684         (logb_downward_test_data): Likewise.
19685         (lround_test_data): Likewise.
19686         (llround_test_data): Likewise.
19687         (modf_test_data): Likewise.
19688         (nearbyint_test_data): Likewise.
19689         (nextafter_test_data): Likewise.
19690         (nexttoward_test_data): Likewise.
19691         (pow_test_data): Likewise.
19692         (pow_tonearest_test_data): Likewise.
19693         (pow_towardzero_test_data): Likewise.
19694         (pow_downward_test_data): Likewise.
19695         (pow_upward_test_data): Likewise.
19696         (remainder_test_data): Likewise.
19697         (remainder_tonearest_test_data): Likewise.
19698         (remainder_towardzero_test_data): Likewise.
19699         (remainder_downward_test_data): Likewise.
19700         (remainder_upward_test_data): Likewise.
19701         (remquo_test_data): Likewise.
19702         (rint_test_data): Likewise.
19703         (rint_tonearest_test_data): Likewise.
19704         (rint_towardzero_test_data): Likewise.
19705         (rint_downward_test_data): Likewise.
19706         (rint_upward_test_data): Likewise.
19707         (round_test_data): Likewise.
19708         (scalb_test_data): Likewise.
19709         (scalbn_test_data): Likewise.
19710         (scalbln_test_data): Likewise.
19711         (signbit_test_data): Likewise.
19712         (sin_test_data): Likewise.
19713         (sin_tonearest_test_data): Likewise.
19714         (sin_towardzero_test_data): Likewise.
19715         (sin_downward_test_data): Likewise.
19716         (sin_upward_test_data): Likewise.
19717         (sincos_test_data): Likewise.
19718         (sinh_test_data): Likewise.
19719         (sinh_tonearest_test_data): Likewise.
19720         (sinh_towardzero_test_data): Likewise.
19721         (sinh_downward_test_data): Likewise.
19722         (sinh_upward_test_data): Likewise.
19723         (sqrt_test_data): Likewise.
19724         (tan_test_data): Likewise.
19725         (tan_tonearest_test_data): Likewise.
19726         (tan_towardzero_test_data): Likewise.
19727         (tan_downward_test_data): Likewise.
19728         (tan_upward_test_data): Likewise.
19729         (tanh_test_data): Likewise.
19730         (tgamma_test_data): Likewise.
19731         (trunc_test_data): Likewise.
19732         (y0_test_data): Likewise.
19733         (y1_test_data): Likewise.
19734         (yn_test_data): Likewise.
19735         (significand_test_data): Likewise.
19736
19737         * math/gen-libm-test.pl (@functions): Remove variable.
19738         (generate_testfile): Don't handle START and END lines.
19739         * math/libm-test.inc (START): New macro.
19740         (END): Likewise.
19741         (END_COMPLEX): Likewise.
19742         (acos_test): Use END macro without arguments.
19743         (acos_test_tonearest): Likewise.
19744         (acos_test_towardzero): Likewise.
19745         (acos_test_downward): Likewise.
19746         (acos_test_upward): Likewise.
19747         (acosh_test): Likewise.
19748         (asin_test): Likewise.
19749         (asin_test_tonearest): Likewise.
19750         (asin_test_towardzero): Likewise.
19751         (asin_test_downward): Likewise.
19752         (asin_test_upward): Likewise.
19753         (asinh_test): Likewise.
19754         (atan_test): Likewise.
19755         (atanh_test): Likewise.
19756         (atan2_test): Likewise.
19757         (cabs_test): Likewise.
19758         (cacos_test): Use END_COMPLEX macro without arguments.
19759         (cacosh_test): Likewise.
19760         (carg_test): Use END macro without arguments.
19761         (casin_test): Use END_COMPLEX macro without arguments.
19762         (casinh_test): Likewise.
19763         (catan_test): Likewise.
19764         (catanh_test): Likewise.
19765         (cbrt_test): Use END macro without arguments.
19766         (ccos_test): Use END_COMPLEX macro without arguments.
19767         (ccosh_test): Likewise.
19768         (ceil_test): Use END macro without arguments.
19769         (cexp_test): Use END_COMPLEX macro without arguments.
19770         (cimag_test): Use END macro without arguments.
19771         (clog_test): Use END_COMPLEX macro without arguments.
19772         (clog10_test): Likewise.
19773         (conj_test): Likewise.
19774         (copysign_test): Use END macro without arguments.
19775         (cos_test): Likewise.
19776         (cos_test_tonearest): Likewise.
19777         (cos_test_towardzero): Likewise.
19778         (cos_test_downward): Likewise.
19779         (cos_test_upward): Likewise.
19780         (cosh_test): Likewise.
19781         (cosh_test_tonearest): Likewise.
19782         (cosh_test_towardzero): Likewise.
19783         (cosh_test_downward): Likewise.
19784         (cosh_test_upward): Likewise.
19785         (cpow_test): Use END_COMPLEX macro without arguments.
19786         (cproj_test): Likewise.
19787         (creal_test): Use END macro without arguments.
19788         (csin_test): Use END_COMPLEX macro without arguments.
19789         (csinh_test): Likewise.
19790         (csqrt_test): Likewise.
19791         (ctan_test): Likewise.
19792         (ctan_test_tonearest): Likewise.
19793         (ctan_test_towardzero): Likewise.
19794         (ctan_test_downward): Likewise.
19795         (ctan_test_upward): Likewise.
19796         (ctanh_test): Likewise.
19797         (ctanh_test_tonearest): Likewise.
19798         (ctanh_test_towardzero): Likewise.
19799         (ctanh_test_downward): Likewise.
19800         (ctanh_test_upward): Likewise.
19801         (erf_test): Use END macro without arguments.
19802         (erfc_test): Likewise.
19803         (exp_test): Likewise.
19804         (exp_test_tonearest): Likewise.
19805         (exp_test_towardzero): Likewise.
19806         (exp_test_downward): Likewise.
19807         (exp_test_upward): Likewise.
19808         (exp10_test): Likewise.
19809         (exp2_test): Likewise.
19810         (expm1_test): Likewise.
19811         (fabs_test): Likewise.
19812         (fdim_test): Likewise.
19813         (finite_test): Likewise.
19814         (floor_test): Likewise.
19815         (fma_test): Likewise.
19816         (fma_test_towardzero): Likewise.
19817         (fma_test_downward): Likewise.
19818         (fma_test_upward): Likewise.
19819         (fmax_test): Likewise.
19820         (fmin_test): Likewise.
19821         (fmod_test): Likewise.
19822         (fpclassify_test): Likewise.
19823         (frexp_test): Likewise.
19824         (gamma_test): Likewise.
19825         (hypot_test): Likewise.
19826         (ilogb_test): Likewise.
19827         (isfinite_test): Likewise.
19828         (isgreater_test): Likewise.
19829         (isgreaterequal_test): Likewise.
19830         (isinf_test): Likewise.
19831         (isless_test): Likewise.
19832         (islessequal_test): Likewise.
19833         (islessgreater_test): Likewise.
19834         (isnan_test): Likewise.
19835         (isnormal_test): Likewise.
19836         (issignaling_test): Likewise.
19837         (isunordered_test): Likewise.
19838         (j0_test): Likewise.
19839         (j1_test): Likewise.
19840         (jn_test): Likewise.
19841         (ldexp_test): Likewise.
19842         (lgamma_test): Likewise.
19843         (lrint_test): Likewise.
19844         (lrint_test_tonearest): Likewise.
19845         (lrint_test_towardzero): Likewise.
19846         (lrint_test_downward): Likewise.
19847         (lrint_test_upward): Likewise.
19848         (llrint_test): Likewise.
19849         (llrint_test_tonearest): Likewise.
19850         (llrint_test_towardzero): Likewise.
19851         (llrint_test_downward): Likewise.
19852         (llrint_test_upward): Likewise.
19853         (log_test): Likewise.
19854         (log10_test): Likewise.
19855         (log1p_test): Likewise.
19856         (log2_test): Likewise.
19857         (logb_test): Likewise.
19858         (logb_test_downward): Likewise.
19859         (lround_test): Likewise.
19860         (llround_test): Likewise.
19861         (modf_test): Likewise.
19862         (nearbyint_test): Likewise.
19863         (nextafter_test): Likewise.
19864         (nexttoward_test): Likewise.
19865         (pow_test): Likewise.
19866         (pow_test_tonearest): Likewise.
19867         (pow_test_towardzero): Likewise.
19868         (pow_test_downward): Likewise.
19869         (pow_test_upward): Likewise.
19870         (remainder_test): Likewise.
19871         (remainder_test_tonearest): Likewise.
19872         (remainder_test_towardzero): Likewise.
19873         (remainder_test_downward): Likewise.
19874         (remainder_test_upward): Likewise.
19875         (remquo_test): Likewise.
19876         (rint_test): Likewise.
19877         (rint_test_tonearest): Likewise.
19878         (rint_test_towardzero): Likewise.
19879         (rint_test_downward): Likewise.
19880         (rint_test_upward): Likewise.
19881         (round_test): Likewise.
19882         (scalb_test): Likewise.
19883         (scalbn_test): Likewise.
19884         (scalbln_test): Likewise.
19885         (signbit_test): Likewise.
19886         (sin_test): Likewise.
19887         (sin_test_tonearest): Likewise.
19888         (sin_test_towardzero): Likewise.
19889         (sin_test_downward): Likewise.
19890         (sin_test_upward): Likewise.
19891         (sincos_test): Likewise.
19892         (sinh_test): Likewise.
19893         (sinh_test_tonearest): Likewise.
19894         (sinh_test_towardzero): Likewise.
19895         (sinh_test_downward): Likewise.
19896         (sinh_test_upward): Likewise.
19897         (sqrt_test): Likewise.
19898         (tan_test): Likewise.
19899         (tan_test_tonearest): Likewise.
19900         (tan_test_towardzero): Likewise.
19901         (tan_test_downward): Likewise.
19902         (tan_test_upward): Likewise.
19903         (tanh_test): Likewise.
19904         (tgamma_test): Likewise.
19905         (trunc_test): Likewise.
19906         (y0_test): Likewise.
19907         (y1_test): Likewise.
19908         (yn_test): Likewise.
19909         (significand_test): Likewise.
19910
19911 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19912
19913         [BZ #15381]
19914         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19915
19916 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19917
19918         [BZ #14894]
19919         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19920         __ppc_mdoio and __ppc_mdoom.
19921         * manual/platform.texi: Document new functions __ppc_yield,
19922         __ppc_mdoio and __ppc_mdoom.
19923
19924 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19925
19926         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19927         (main): Mention "tls" pseudo-hwcap is legacy.
19928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19929
19930 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19931
19932         * math/gen-libm-test.pl (parse_args): Output only string of
19933         arguments as text for test name, not full call or descriptions of
19934         tests for extra outputs.
19935         (generate_testfile): Do not pass function name to parse_args.
19936         Generate this_func variable from START.
19937         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19938         field to arg_str.
19939         (struct test_ff_f_data): Likewise.
19940         (test_ff_f_data_nexttoward): Likewise.
19941         (struct test_fi_f_data): Likewise.
19942         (struct test_fl_f_data): Likewise.
19943         (struct test_if_f_data): Likewise.
19944         (struct test_fff_f_data): Likewise.
19945         (struct test_c_f_data): Likewise.
19946         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19947         (struct test_fF_f1_data): Likewise.
19948         (struct test_ffI_f1_data): Likewise.
19949         (struct test_c_c_data): Rename test_name field to arg_str.
19950         (struct test_cc_c_data): Likewise.
19951         (struct test_f_i_data): Likewise.
19952         (struct test_ff_i_data): Likewise.
19953         (struct test_f_l_data): Likewise.
19954         (struct test_f_L_data): Likewise.
19955         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19956         and extra2_name.
19957         (COMMON_TEST_SETUP): New macro.
19958         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19959         (COMMON_TEST_CLEANUP): Likewise.
19960         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19961         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19962         macros.
19963         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19964         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19965         macros.
19966         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19967         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19968         cleanup macros.
19969         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19970         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19971         macros.
19972         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19973         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19974         macros.
19975         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19976         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19977         cleanup macros.
19978         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19979         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19980         cleanup macros.
19981         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19982         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19983         cleanup macros.
19984         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19985         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19986         macros.
19987         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19988         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19989         macros.
19990         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19991         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19992         macros.
19993         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19994         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19995         cleanup macros.
19996         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19997         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19998         cleanup macros.
19999         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20000         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20001         macros.
20002         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20003         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20004         cleanup macros.
20005         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20006         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20007         macros.
20008         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20009         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20010         macros.
20011         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20012         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20013         cleanup macros.
20014         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20015
20016 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20017
20018         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20019         to _sifields.sigfault.
20020         (si_addr_lsb): Define new macro.
20021         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20024
20025 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20026
20027         [BZ #15441]
20028         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20029         returns -1.
20030         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20031         null return -1.
20032         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20033         loading the domain.
20034
20035 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20036
20037         * math/gen-libm-test.pl (parse_args): Do not include expected
20038         result in test name.
20039         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20041         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20042         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20043         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20045
20046 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20047
20048         * benchtests/Makefile: Sort function entries.
20049
20050         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20051         tanh, asinh, acosh, atanh.
20052         * benchtests/acos-inputs: New file.
20053         * benchtests/acosh-inputs: New file.
20054         * benchtests/asin-inputs: New file.
20055         * benchtests/asinh-inputs: New file.
20056         * benchtests/atanh-inputs: New file.
20057         * benchtests/cosh-inputs: New file.
20058         * benchtests/log-inputs: New file.
20059         * benchtests/sinh-inputs: New file.
20060         * benchtests/tanh-inputs: New file.
20061
20062 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20063
20064         [BZ #15339]
20065         * posix/tst-getaddrinfo4.c: New test.
20066         * posix/Makefile (tests): Add it.
20067
20068 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20069
20070         [BZ #15339]
20071         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20072         when no services were used.
20073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20074         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20075
20076 2013-05-21  Andreas Schwab  <schwab@suse.de>
20077
20078         [BZ #15014]
20079         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20080         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20081         successful.
20082         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20083         redundant variable declarations and reallocation of buffer when
20084         parsing as IPv6 address.  Always set NSS status when called from
20085         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20086         buffer too small.  Correct computation of needed size.
20087         * nss/Makefile (tests): Add test-digits-dots.
20088         * nss/test-digits-dots.c: New test.
20089
20090 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20091
20092         * benchtests/Makefile: Remove instructions for adding
20093         benchmark tests.
20094         * benchtests/README: New file to explain how to execute and
20095         enhance the benchmark tests.
20096
20097 2013-05-21  Andreas Schwab  <schwab@suse.de>
20098
20099         [BZ #15493]
20100         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20101         * setjmp/tst-sigsetjmp.c: New test.
20102
20103 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20104
20105         * sysdeps/x86_64/memset.S (memset): New implementation.
20106         (__bzero): Likewise.
20107         (__memset_tail): New function.
20108
20109 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20110
20111         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20112         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20113         __memcpy_sse2_unaligned ifunc selection.
20114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20115         Add memcpy-sse2-unaligned.S.
20116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20117         Add: __memcpy_sse2_unaligned.
20118
20119 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20120
20121         [BZ #15490]
20122         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20123         math_force_eval before restoring floating-point envrionment.
20124         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20125         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20126         Likewise.
20127         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20128         <math_private.h>.
20129         (__nearbyintl): Use math_force_eval before restoring
20130         floating-point environment.
20131         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20132
20133         * math/gen-libm-test.pl (special_functions): Remove.
20134         (parse_args): Don't handle TEST_extra.  Handle functions with no
20135         return value.
20136         * math/libm-test.inc (struct test_sincos_data): Replace with
20137         struct test_fFF_11_data.
20138         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20139         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20140         (sincos_test_data): Change element type to struct
20141         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20142         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20143         RUN_TEST_LOOP_sincos.
20144         * math/README.libm-test: Don't mention special handling of
20145         individual functions.
20146         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20148         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20152
20153         * math/gen-libm-test.pl (get_variable): Remove function.
20154         (parse_args): Don't show pointer parameters to call in test
20155         names.  Use "extra output N" in test names for extra outputs
20156         rather than naming variables.
20157
20158 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20159
20160         [BZ #15488]
20161         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20162         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20163         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20164         double tests.
20165         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20166         disable.
20167         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20168         check_long_double.
20169
20170         * math/gen-libm-test.pl (@tests): Remove variable.
20171         ($count): Likewise.
20172         (new_test): Remove function.
20173         (show_exceptions): New function.
20174         (special_functions): Use show_exceptions instead of new_test.
20175         (parse_args): Likewise.
20176         (generate_testfile): Pass only function name in generated call to
20177         print_max_error or print_complex_max_error.
20178         (get_ulps): Do not handle complex tests specially.
20179         (output_test): Rename to ...
20180         (get_all_ulps_for_test): ... this.  Return a string rather than
20181         printing to a file.  Require ulps to be present.
20182         (output_ulps): Generate arrays rather than #defines.
20183         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20184         (struct ulp_data): New type.
20185         (BUILD_COMPLEX_ULP): Remove macro.
20186         (compare_ulp_data): New function.
20187         (find_ulps): Likewise.
20188         (find_test_ulps): Likewise.
20189         (find_function_ulps): Likewise.
20190         (find_complex_function_ulps): Likewise.
20191         (print_max_error): Determine allowed ulps using
20192         find_function_ulps.
20193         (print_complex_max_error): Determine allowed ulps using
20194         find_complex_function_ulps.
20195         (check_float_internal): Determine max ulps using find_test_ulps.
20196         (check_float): Do not take max_ulp parameter.  Update call to
20197         check_float_internal.
20198         (check_complex): Likewise.
20199         (check_int): Do not take max_ulp parameter.
20200         (check_long): Likewise.
20201         (check_bool): Likewise.
20202         (check_longlong): Likewise.
20203         (struct test_f_f_data): Remove max_ulp field.
20204         (struct test_ff_f_data): Likewise.
20205         (struct test_ff_f_data_nexttoward): Likewise.
20206         (struct test_fi_f_data): Likewise.
20207         (struct test_fl_f_data): Likewise.
20208         (struct test_if_f_data): Likewise.
20209         (struct test_fff_f_data): Likewise.
20210         (struct test_c_f_data): Likewise.
20211         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20212         (struct test_fF_f1_data): Likewise.
20213         (struct test_ffI_f1_data): Likewise.
20214         (struct test_c_c_data): Remove max_ulp field.
20215         (struct test_cc_c_data): Likewise.
20216         (struct test_f_i_data): Likewise.
20217         (struct test_ff_i_data): Likewise.
20218         (struct test_f_l_data): Likewise.
20219         (struct test_f_L_data): Likewise.
20220         (struct test_sincos_data): Likewise.
20221         (RUN_TEST_f_f): Do not handle ulps.
20222         (RUN_TEST_LOOP_f_f): Likewise.
20223         (RUN_TEST_2_f): Likewise.
20224         (RUN_TEST_LOOP_2_f): Likewise.
20225         (RUN_TEST_fff_f): Likewise.
20226         (RUN_TEST_LOOP_fff_f): Likewise.
20227         (RUN_TEST_c_f): Likewise.
20228         (RUN_TEST_LOOP_c_f): Likewise.
20229         (RUN_TEST_f_f1): Likewise.
20230         (RUN_TEST_LOOP_f_f1): Likewise.
20231         (RUN_TEST_fF_f1): Likewise.
20232         (RUN_TEST_LOOP_fF_f1): Likewise.
20233         (RUN_TEST_fI_f1): Likewise.
20234         (RUN_TEST_LOOP_fI_f1): Likewise.
20235         (RUN_TEST_ffI_f1): Likewise.
20236         (RUN_TEST_LOOP_ffI_f1): Likewise.
20237         (RUN_TEST_c_c): Likewise.
20238         (RUN_TEST_LOOP_c_c): Likewise.
20239         (RUN_TEST_cc_c): Likewise.
20240         (RUN_TEST_LOOP_cc_c): Likewise.
20241         (RUN_TEST_f_i): Likewise.
20242         (RUN_TEST_LOOP_f_i): Likewise.
20243         (RUN_TEST_f_i_tg): Likewise.
20244         (RUN_TEST_LOOP_f_i_tg): Likewise.
20245         (RUN_TEST_ff_i_tg): Likewise.
20246         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20247         (RUN_TEST_f_b): Likewise.
20248         (RUN_TEST_LOOP_f_b): Likewise.
20249         (RUN_TEST_f_b_tg): Likewise.
20250         (RUN_TEST_LOOP_f_b_tg): Likewise.
20251         (RUN_TEST_f_l): Likewise.
20252         (RUN_TEST_LOOP_f_l): Likewise.
20253         (RUN_TEST_f_L): Likewise.
20254         (RUN_TEST_LOOP_f_L): Likewise.
20255         (RUN_TEST_sincos): Likewise.
20256         (RUN_TEST_LOOP_sincos): Likewise.
20257
20258 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20259
20260         [BZ #15480]
20261         [BZ #15485]
20262         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20263         main case of finite arguments, set rounding mode to FE_TONEAREST
20264         and discard exceptions.
20265         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20266         exceptions.
20267         (remainder_tonearest_test_data): New variable.
20268         (remainder_test_tonearest): New function.
20269         (remainder_towardzero_test_data): New variable.
20270         (remainder_test_towardzero): New function.
20271         (remainder_downward_test_data): New variable.
20272         (remainder_test_downward): New function.
20273         (remainder_upward_test_data): New variable.
20274         (remainder_test_upward): New function.
20275         (main): Call the new test functions.
20276
20277         * math/libm-test.inc (struct test_f_f1_data): Remove field
20278         extra_init.
20279         (struct test_fF_f1_data): Likewise.
20280         (struct test_ffI_f1_data): Likewise.
20281         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20282         based on value of EXTRA_EXPECTED.
20283         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20284         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20285         EXTRA_VAR based on value of EXTRA_EXPECTED.
20286         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20287         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20288         EXTRA_VAR based on value of EXTRA_EXPECTED.
20289         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20290         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20291         EXTRA_VAR based on value of EXTRA_EXPECTED.
20292         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20293         * math/gen-libm-test.pl (parse_args): Don't output initializers
20294         for extra output values.
20295
20296         * math/libm-test.inc (check_int): Expect result to be exactly
20297         equal to expected value and do not handle ulps.
20298         (check_long): Likewise.
20299         (check_longlong): Likewise.
20300
20301         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20302         exceptions.
20303         (cimag_test_data): Likewise.
20304         (conj_test_data): Likewise.
20305         (copysign_test_data): Likewise.
20306         (cproj_test_data): Likewise.
20307         (creal_test_data): Likewise.
20308         (fabs_test_data): Likewise.
20309         (fdim_test_data): Likewise.
20310         (finite_test_data): Likewise.
20311         (floor_test_data): Likewise.
20312         (fmax_test_data): Likewise.
20313         (fmin_test_data): Likewise.
20314         (fmod_test_data): Likewise.
20315         (fpclassify_test_data): Likewise.
20316         (frexp_test_data): Likewise.
20317         (ilogb_test_data): Likewise.
20318         (isfinite_test_data): Likewise.
20319         (isgreater_test_data): Likewise.
20320         (isgreaterequal_test_data): Likewise.
20321         (isinf_test_data): Likewise.
20322         (isless_test_data): Likewise.
20323         (islessequal_test_data): Likewise.
20324         (islessgreater_test_data): Likewise.
20325         (isnan_test_data): Likewise.
20326         (isnormal_test_data): Likewise.
20327         (issignaling_test_data): Likewise.
20328         (isunordered_test_data): Likewise.
20329         (ldexp_test_data): Likewise.
20330         (lrint_test_data): Likewise.
20331         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20332         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20333         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20334         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20335         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20336         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20337         test input.
20338         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20339         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20340         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20341         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20342         that test input.
20343         (lrint_downward_test_data): Test for "inexact" exceptions.
20344         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20345         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20346         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20347         test input.
20348         (lrint_upward_test_data): Test for "inexact" exceptions.
20349         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20350         test input.
20351         (llrint_test_data): Test for "inexact" exceptions.
20352         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20353         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20354         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20355         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20356         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20357         (llrint_downward_test_data): Test for "inexact" exceptions.
20358         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20359         (llrint_upward_test_data): Test for "inexact" exceptions.
20360         (logb_test_data): Likewise.
20361         (logb_downward_test_data): Likewise.
20362         (nextafter_test_data): Likewise.
20363         (nexttoward_test_data): Likewise.
20364         (remainder_test_data): Likewise.
20365         (remquo_test_data): Likewise.
20366         (scalbn_test_data): Likewise.
20367         (scalbln_test_data): Likewise.
20368         (signbit_test_data): Likewise.
20369         (sqrt_test_data): Likewise.
20370         (significand_test_data): Likewise.
20371
20372 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20373
20374         [BZ #15424]
20375         * benchtests/bench-modf.c (struct args): Mark arg0 as
20376         volatile.
20377         * scripts/bench.pl: Mark members of struct args as volatile.
20378
20379 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20380
20381         [BZ # 15497]
20382         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20383         negative infinity on POWER6 or lower.
20384         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20385
20386 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20387
20388         [BZ #15442]
20389         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20390         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20391         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20392         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20393         (_FP_SETQNAN): New macro.
20394         (_FP_SETQNAN_SEMIRAW): Likewise.
20395         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20396         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20397         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20398         (FP_EXTEND): Use _FP_FRAC_SNANP.
20399         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20400         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20401         into account.
20402         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20403         New macro.
20404         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20405         Likewise.
20406
20407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20408
20409         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20410         with DIVIDE_BY_ZERO_EXCEPTION.
20411         (gamma_test_data): Likewise.
20412         (lgamma_test_data): Likewise.
20413         (log_test_data): Likewise.
20414         (log10_test_data): Likewise.
20415         (log2_test_data): Likewise.
20416         (tgamma_test_data): Likewise.
20417
20418         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20419         (acos_test_tonearest): Likewise.
20420         (acos_test_towardzero): Likewise.
20421         (acos_test_downward): Likewise.
20422         (acos_test_upward): Likewise.
20423         (acosh_test): Likewise.
20424         (asin_test): Likewise.
20425         (asin_test_tonearest): Likewise.
20426         (asin_test_towardzero): Likewise.
20427         (asin_test_downward): Likewise.
20428         (asin_test_upward): Likewise.
20429         (asinh_test): Likewise.
20430         (atan_test): Likewise.
20431         (atanh_test): Likewise.
20432         (atan2_test): Likewise.
20433         (cabs_test): Likewise.
20434         (cacos_test): Likewise.
20435         (cacosh_test): Likewise.
20436         (casin_test): Likewise.
20437         (casinh_test): Likewise.
20438         (catan_test): Likewise.
20439         (catanh_test): Likewise.
20440         (cbrt_test): Likewise.
20441         (ccos_test): Likewise.
20442         (ccosh_test): Likewise.
20443         (cexp_test): Likewise.
20444         (clog_test): Likewise.
20445         (clog10_test): Likewise.
20446         (cos_test): Likewise.
20447         (cos_test_tonearest): Likewise.
20448         (cos_test_towardzero): Likewise.
20449         (cos_test_downward): Likewise.
20450         (cos_test_upward): Likewise.
20451         (cosh_test): Likewise.
20452         (cosh_test_tonearest): Likewise.
20453         (cosh_test_towardzero): Likewise.
20454         (cosh_test_downward): Likewise.
20455         (cosh_test_upward): Likewise.
20456         (cpow_test): Likewise.
20457         (csin_test): Likewise.
20458         (csinh_test): Likewise.
20459         (csqrt_test): Likewise.
20460         (ctan_test): Likewise.
20461         (ctan_test_tonearest): Likewise.
20462         (ctan_test_towardzero): Likewise.
20463         (ctan_test_downward): Likewise.
20464         (ctan_test_upward): Likewise.
20465         (ctanh_test): Likewise.
20466         (ctanh_test_tonearest): Likewise.
20467         (ctanh_test_towardzero): Likewise.
20468         (ctanh_test_downward): Likewise.
20469         (ctanh_test_upward): Likewise.
20470         (erf_test): Likewise.
20471         (erfc_test): Likewise.
20472         (exp_test): Likewise.
20473         (exp_test_tonearest): Likewise.
20474         (exp_test_towardzero): Likewise.
20475         (exp_test_downward): Likewise.
20476         (exp_test_upward): Likewise.
20477         (exp10_test): Likewise.
20478         (exp2_test): Likewise.
20479         (expm1_test): Likewise.
20480         (fmod_test): Likewise.
20481         (gamma_test): Likewise.
20482         (hypot_test): Likewise.
20483         (j0_test): Likewise.
20484         (j1_test): Likewise.
20485         (jn_test): Likewise.
20486         (lgamma_test): Likewise.
20487         (log_test): Likewise.
20488         (log10_test): Likewise.
20489         (log1p_test): Likewise.
20490         (log2_test): Likewise.
20491         (logb_test_downward): Likewise.
20492         (pow_test): Likewise.
20493         (pow_test_tonearest): Likewise.
20494         (pow_test_towardzero): Likewise.
20495         (pow_test_downward): Likewise.
20496         (pow_test_upward): Likewise.
20497         (remainder_test): Likewise.
20498         (remquo_test): Likewise.
20499         (sin_test): Likewise.
20500         (sin_test_tonearest): Likewise.
20501         (sin_test_towardzero): Likewise.
20502         (sin_test_downward): Likewise.
20503         (sin_test_upward): Likewise.
20504         (sincos_test): Likewise.
20505         (sinh_test): Likewise.
20506         (sinh_test_tonearest): Likewise.
20507         (sinh_test_towardzero): Likewise.
20508         (sinh_test_downward): Likewise.
20509         (sinh_test_upward): Likewise.
20510         (sqrt_test): Likewise.
20511         (tan_test): Likewise.
20512         (tan_test_tonearest): Likewise.
20513         (tan_test_towardzero): Likewise.
20514         (tan_test_downward): Likewise.
20515         (tan_test_upward): Likewise.
20516         (tanh_test): Likewise.
20517         (tgamma_test): Likewise.
20518         (y0_test): Likewise.
20519         (y1_test): Likewise.
20520         (yn_test): Likewise.
20521
20522         * math/gen-libm-test.pl (adjust_arg): Remove function.
20523         (special_function): Remove argument $in_func.  Only handle
20524         generating output for tables of tests, not inside functions.
20525         (parse_args): Likewise.
20526         (generate_testfile): Remove variable $in_func.  Update call to
20527         parse_args.
20528         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20529         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20530         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20531         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20532         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20533         (MAX_VALUE_INIT): Rename macro to max_value.
20534         (MIN_VALUE_INIT): Rename macro to min_value.
20535         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20536         (plus_zero): Remove variable.
20537         (minus_zero): Likewise.
20538         (plus_infty): Likewise.
20539         (minus_infty): Likewise.
20540         (qnan_value): Likewise.
20541         (max_value): Likewise.
20542         (min_value): Likewise.
20543         (min_subnorm_value): Likewise.
20544
20545 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20546
20547         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20548         uint64_t or uint32_t usage.
20549         * crypt/sha256-block.c: Likewise.
20550         * crypt/sha256-crypt.c: Likewise.
20551         * crypt/sha256.c: Likewise.
20552         * crypt/sha512-block.c: Likewise.
20553         * crypt/sha512-crypt.c: Likewise.
20554         * crypt/sha512.c: Likewise.
20555         * debug/backtrace-tst.c: Likewise.
20556         * debug/pcprofiledump.c: Likewise.
20557         * elf/cache.c: Likewise.
20558         * elf/dl-cache.c: Likewise.
20559         * elf/dl-misc.c: Likewise.
20560         * elf/dl-profile.c: Likewise.
20561         * elf/dl-support.c: Likewise.
20562         * elf/ldconfig.c: Likewise.
20563         * elf/sprof.c: Likewise.
20564         * iconv/dummy-repertoire.c: Likewise.
20565         * iconv/iconv_charmap.c: Likewise.
20566         * iconv/skeleton.c: Likewise.
20567         * iconvdata/8bit-generic.c: Likewise.
20568         * iconvdata/cp737.h: Likewise.
20569         * iconvdata/cp775.h: Likewise.
20570         * iconvdata/ibm1008.h: Likewise.
20571         * iconvdata/ibm1025.h: Likewise.
20572         * iconvdata/ibm1046.h: Likewise.
20573         * iconvdata/ibm1097.h: Likewise.
20574         * iconvdata/ibm1112.h: Likewise.
20575         * iconvdata/ibm1122.h: Likewise.
20576         * iconvdata/ibm1123.h: Likewise.
20577         * iconvdata/ibm1124.h: Likewise.
20578         * iconvdata/ibm1129.h: Likewise.
20579         * iconvdata/ibm1130.h: Likewise.
20580         * iconvdata/ibm1132.h: Likewise.
20581         * iconvdata/ibm1133.h: Likewise.
20582         * iconvdata/ibm1137.h: Likewise.
20583         * iconvdata/ibm1140.h: Likewise.
20584         * iconvdata/ibm1141.h: Likewise.
20585         * iconvdata/ibm1142.h: Likewise.
20586         * iconvdata/ibm1143.h: Likewise.
20587         * iconvdata/ibm1144.h: Likewise.
20588         * iconvdata/ibm1145.h: Likewise.
20589         * iconvdata/ibm1146.h: Likewise.
20590         * iconvdata/ibm1147.h: Likewise.
20591         * iconvdata/ibm1148.h: Likewise.
20592         * iconvdata/ibm1149.h: Likewise.
20593         * iconvdata/ibm1153.h: Likewise.
20594         * iconvdata/ibm1154.h: Likewise.
20595         * iconvdata/ibm1155.h: Likewise.
20596         * iconvdata/ibm1156.h: Likewise.
20597         * iconvdata/ibm1157.h: Likewise.
20598         * iconvdata/ibm1158.h: Likewise.
20599         * iconvdata/ibm1160.h: Likewise.
20600         * iconvdata/ibm1161.h: Likewise.
20601         * iconvdata/ibm1162.h: Likewise.
20602         * iconvdata/ibm1163.h: Likewise.
20603         * iconvdata/ibm1164.h: Likewise.
20604         * iconvdata/ibm1166.h: Likewise.
20605         * iconvdata/ibm1167.h: Likewise.
20606         * iconvdata/ibm12712.h: Likewise.
20607         * iconvdata/ibm1390.h: Likewise.
20608         * iconvdata/ibm1399.h: Likewise.
20609         * iconvdata/ibm16804.h: Likewise.
20610         * iconvdata/ibm4517.h: Likewise.
20611         * iconvdata/ibm4899.h: Likewise.
20612         * iconvdata/ibm4909.h: Likewise.
20613         * iconvdata/ibm4971.h: Likewise.
20614         * iconvdata/ibm5347.h: Likewise.
20615         * iconvdata/ibm803.h: Likewise.
20616         * iconvdata/ibm856.h: Likewise.
20617         * iconvdata/ibm901.h: Likewise.
20618         * iconvdata/ibm902.h: Likewise.
20619         * iconvdata/ibm9030.h: Likewise.
20620         * iconvdata/ibm9066.h: Likewise.
20621         * iconvdata/ibm921.h: Likewise.
20622         * iconvdata/ibm922.h: Likewise.
20623         * iconvdata/ibm9448.h: Likewise.
20624         * iconvdata/isiri-3342.h: Likewise.
20625         * iconvdata/jis0201.h: Likewise.
20626         * include/link.h: Likewise.
20627         * include/netdb.h: Likewise.
20628         * inet/check_native.c: Likewise.
20629         * inet/check_pf.c: Likewise.
20630         * inet/getipv4sourcefilter.c: Likewise.
20631         * inet/getnameinfo.c: Likewise.
20632         * inet/getsourcefilter.c: Likewise.
20633         * inet/htonl.c: Likewise.
20634         * inet/setipv4sourcefilter.c: Likewise.
20635         * inet/setsourcefilter.c: Likewise.
20636         * inet/test-inet6_opt.c: Likewise.
20637         * inet/tst-network.c: Likewise.
20638         * locale/C-collate.c: Likewise.
20639         * locale/C-ctype.c: Likewise.
20640         * locale/C-time.c: Likewise.
20641         * locale/C-translit.h: Likewise.
20642         * locale/loadarchive.c: Likewise.
20643         * locale/programs/3level.h: Likewise.
20644         * locale/programs/charmap.c: Likewise.
20645         * locale/programs/charmap.h: Likewise.
20646         * locale/programs/ld-address.c: Likewise.
20647         * locale/programs/ld-collate.c: Likewise.
20648         * locale/programs/ld-ctype.c: Likewise.
20649         * locale/programs/ld-identification.c: Likewise.
20650         * locale/programs/ld-measurement.c: Likewise.
20651         * locale/programs/ld-messages.c: Likewise.
20652         * locale/programs/ld-monetary.c: Likewise.
20653         * locale/programs/ld-name.c: Likewise.
20654         * locale/programs/ld-numeric.c: Likewise.
20655         * locale/programs/ld-paper.c: Likewise.
20656         * locale/programs/ld-telephone.c: Likewise.
20657         * locale/programs/ld-time.c: Likewise.
20658         * locale/programs/linereader.c: Likewise.
20659         * locale/programs/locale.c: Likewise.
20660         * locale/programs/locarchive.c: Likewise.
20661         * locale/programs/locfile.h: Likewise.
20662         * locale/programs/repertoire.c: Likewise.
20663         * locale/programs/simple-hash.c: Likewise.
20664         * locale/programs/simple-hash.h: Likewise.
20665         * malloc/memusage.c: Likewise.
20666         * malloc/memusagestat.c: Likewise.
20667         * nis/nis_defaults.c: Likewise.
20668         * nis/nis_hash.c: Likewise.
20669         * nis/nis_print.c: Likewise.
20670         * nis/nis_xdr.c: Likewise.
20671         * nscd/connections.c: Likewise.
20672         * nscd/hstcache.c: Likewise.
20673         * nscd/nscd_gethst_r.c: Likewise.
20674         * nscd/nscd_getserv_r.c: Likewise.
20675         * nscd/nscd_helper.c: Likewise.
20676         * nscd/servicescache.c: Likewise.
20677         * nss/makedb.c: Likewise.
20678         * nss/nss_db/db-XXX.c: Likewise.
20679         * nss/nss_db/db-initgroups.c: Likewise.
20680         * nss/nss_db/db-netgrp.c: Likewise.
20681         * nss/nss_files/files-network.c: Likewise.
20682         * nss/nss_files/files-parse.c: Likewise.
20683         * posix/bug-regex5.c: Likewise.
20684         * posix/fnmatch_loop.c: Likewise.
20685         * posix/regcomp.c: Likewise.
20686         * posix/regexec.c: Likewise.
20687         * posix/tst-rfc3484-2.c: Likewise.
20688         * posix/tst-rfc3484-3.c: Likewise.
20689         * posix/tst-rfc3484.c: Likewise.
20690         * resolv/nss_dns/dns-canon.c: Likewise.
20691         * resolv/nss_dns/dns-network.c: Likewise.
20692         * resolv/res_init.c: Likewise.
20693         * resolv/res_mkquery.c: Likewise.
20694         * resolv/tst-aton.c: Likewise.
20695         * stdlib/cxa_atexit.c: Likewise.
20696         * stdlib/cxa_finalize.c: Likewise.
20697         * stdlib/gen-fpioconst.c: Likewise.
20698         * stdlib/strtol_l.c: Likewise.
20699         * string/tst-endian.c: Likewise.
20700         * sunrpc/auth_des.c: Likewise.
20701         * sunrpc/clnt_udp.c: Likewise.
20702         * sunrpc/rtime.c: Likewise.
20703         * sunrpc/svcauth_des.c: Likewise.
20704         * sunrpc/xdr.c: Likewise.
20705         * sunrpc/xdr_intXX_t.c: Likewise.
20706         * sunrpc/xdr_rec.c: Likewise.
20707         * sysdeps/generic/ldconfig.h: Likewise.
20708         * sysdeps/generic/ldsodefs.h: Likewise.
20709         * sysdeps/generic/memusage.h: Likewise.
20710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20711         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20712         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20714         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20716         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20717         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20718         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20720         * sysdeps/posix/getaddrinfo.c: Likewise.
20721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20723         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20724         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20725         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20726         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20727         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20728         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20729         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20730         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20731         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20732         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20733         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20734         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20735         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20736         * sysdeps/x86_64/dl-tls.h: Likewise.
20737         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20738         * time/alt_digit.c: Likewise.
20739         * time/era.c: Likewise.
20740         * wcsmbs/tst-c16c32-1.c: Likewise.
20741
20742 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20743
20744         * math/libm-test.inc (struct test_sincos_data): New type.
20745         (RUN_TEST_LOOP_sincos): New macro.
20746         (sincos_test_data): New variable.
20747         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20748
20749 2013-05-16  Richard Henderson  <rth@redhat.com>
20750
20751         * math/atest-exp2.c (LIMB64): New macro.
20752         (CONSTSZ): New macro.
20753         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20754         (hexdig): Move ...
20755         (print_mpn_fp): ... to function scope.
20756         (read_mpn_hex): Remove.
20757         (get_log2): Remove.
20758         (exp2_mpn): Use mp_log2.
20759         (main): Use mp_exp1.
20760
20761 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20762
20763         * math/libm-test.inc: Remove comment about not testing "inexact"
20764         exceptions.
20765         (INEXACT_EXCEPTION): New macro.
20766         (NO_INEXACT_EXCEPTION): Likewise.
20767         (INVALID_EXCEPTION_OK): Update value.
20768         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20769         (OVERFLOW_EXCEPTION_OK): Likewise.
20770         (UNDERFLOW_EXCEPTION_OK): Likewise.
20771         (IGNORE_ZERO_INF_SIGN): Likewise.
20772         (ERRNO_UNCHANGED): Likewise.
20773         (ERRNO_EDOM): Likewise.
20774         (ERRNO_ERANGE): Likewise.
20775         (test_exceptions): Handle testing "inexact" exceptions.
20776         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20777         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20778         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20779         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20780         INEXACT_EXCEPTION.
20781         (rint_towardzero_test_data): Likewise.
20782         (rint_downward_test_data): Likewise.
20783         (rint_upward_test_data): Likewise.
20784
20785         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20786         with OVERFLOW_EXCEPTION.
20787         (exp10_test_data): Likewise.
20788         (exp2_test_data): Likewise.
20789         (expm1_test_data): Likewise.
20790         (lgamma_test_data): Likewise.
20791         (pow_test_data): Likewise.
20792         (tgamma_test_data): Likewise.
20793         (yn_test_data): Remove duplicate test of overflow.
20794
20795         * math/libm-test.inc (struct test_cc_c_data): New type.
20796         (RUN_TEST_LOOP_cc_c): New macro.
20797         (cpow_test_data): New variable.
20798         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20799
20800         * math/libm-test.inc (struct test_f_L_data): New type.
20801         (RUN_TEST_LOOP_f_L): New macro.
20802         (llrint_test_data): New variable.
20803         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20804         (llrint_tonearest_test_data): New variable.
20805         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20806         (llrint_towardzero_test_data): New variable.
20807         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20808         (llrint_downward_test_data): New variable.
20809         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20810         (llrint_upward_test_data): New variable.
20811         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20812         (llround_test_data): New variable.
20813         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20814
20815 2013-05-13  Peter Collingbourne  <pcc@google.com>
20816
20817         * math/atest-exp2.c (get_log2): Remove const attribute.
20818
20819 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20820
20821         * math/libm-test.inc (struct test_f_l_data): New type.
20822         (RUN_TEST_LOOP_f_l): New macro.
20823         (lrint_test_data): New variable.
20824         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20825         (lrint_tonearest_test_data): New variable.
20826         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20827         (lrint_towardzero_test_data): New variable.
20828         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20829         (lrint_downward_test_data): New variable.
20830         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20831         (lrint_upward_test_data): New variable.
20832         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20833         (lround_test_data): New variable.
20834         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20835
20836 2013-05-15  Peter Collingbourne  <pcc@google.com>
20837
20838         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20839         (EXTRACT_WORDS64) Use where appropriate.
20840         (INSERT_WORDS64) Likewise.
20841
20842         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20843         constraints with x constraints.
20844         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20845
20846         * malloc/obstack.c (_obstack_compat): Add initializer.
20847
20848 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20849
20850         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20851         si_trapno and add si_addr_lsb to _sifields.sigfault.
20852         (si_trapno): Remove macro.
20853         (si_addr_lsb): Define new macro.
20854         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20855
20856 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20857
20858         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20859         instead of TEST_f_l.
20860         (llrint_test_tonearest): Likewise.
20861         (llrint_test_towardzero): Likewise.
20862         (llrint_test_downward): Likewise.
20863         (llrint_test_upward): Likewise.
20864         (llround_test): Likewise.
20865
20866         * math/libm-test.inc (struct test_f_i_data): Add comment.
20867         (RUN_TEST_LOOP_f_b): New macro.
20868         (RUN_TEST_LOOP_f_b_tg): Likewise.
20869         (finite_test_data): New variable.
20870         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20871         (isfinite_test_data): New variable.
20872         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20873         (isinf_test_data): New variable.
20874         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20875         (isnan_test_data): New variable.
20876         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20877         (isnormal_test_data): New variable.
20878         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20879         (issignaling_test_data): New variable.
20880         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20881         (signbit_test_data): New variable.
20882         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20883
20884         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20885         with INVALID_EXCEPTION.
20886         (acosh_test_data): Likewise.
20887         (asin_test_data): Likewise.
20888         (atanh_test_data): Likewise.
20889         (fmod_test_data): Likewise.
20890         (log_test_data): Likewise.
20891         (log10_test_data): Likewise.
20892         (log2_test_data): Likewise.
20893         (pow_test_data): Likewise.
20894         (sqrt_test_data): Likewise.
20895         (y0_test_data): Likewise.
20896         (y1_test_data): Likewise.
20897         (yn_test_data): Likewise.
20898
20899         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20900         function contents.
20901
20902         * math/libm-test.inc (struct test_ff_i_data): New type.
20903         (RUN_TEST_LOOP_ff_i_tg): New macro.
20904         (isgreater_test_data): New variable.
20905         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20906         (isgreaterequal_test_data): New variable.
20907         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20908         (isless_test_data): New variable.
20909         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20910         (islessequal_test_data): New variable.
20911         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20912         (islessgreater_test_data): New variable.
20913         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20914         (isunordered_test_data): New variable.
20915         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20916
20917 2013-05-14  David S. Miller  <davem@davemloft.net>
20918
20919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20920
20921 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20922
20923         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20924
20925         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20926         extra_test to int.
20927         (struct test_f_i_data): Change type of max_ulp to int.
20928
20929         * math/libm-test.inc (test_ffI_f1_data): New type.
20930         (RUN_TEST_LOOP_ffI_f1): New macro.
20931         (remquo_test_data): New variable.
20932         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20933
20934         * setjmp/tst-setjmp-fp.c: New file.
20935         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20936         (link-libm): New variable.
20937         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20938
20939         * math/libm-test.inc (struct test_f_i_data): New type.
20940         (RUN_TEST_LOOP_f_i): New macro.
20941         (RUN_TEST_LOOP_f_i_tg): Likewise.
20942         (fpclassify_test_data): New variable.
20943         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20944         (ilogb_test_data): New variable.
20945         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20946
20947         * math/libm-test.inc (scalbln_test): Correct function name in END
20948         call.
20949
20950         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20951         (RUN_TEST_LOOP_fI_f1): New macro.
20952         (frexp_test_data): New variable.
20953         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20954
20955         * math/libm-test.inc (struct test_fF_f1_data): New type.
20956         (RUN_TEST_LOOP_fF_f1): New macro.
20957         (modf_test_data): New variable.
20958         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20959
20960         * math/libm-test.inc (struct test_f_f1_data): New type.
20961         (RUN_TEST_LOOP_f_f1): New macro.
20962         (gamma_test_data): New variable.
20963         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20964         (lgamma_test_data): New variable.
20965         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20966
20967 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20968
20969         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20970         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20971         (main): Comment "tls" pseudo-hwcap.
20972
20973 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20974
20975         * math/libm-test.inc (struct test_fl_f_data): New type.
20976         (RUN_TEST_LOOP_fl_f): New variable.
20977         (scalbln_test_data): New variable.
20978         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20979
20980         * math/libm-test.inc (struct test_fi_f_data): New type.
20981         (RUN_TEST_LOOP_fi_f): New macro.
20982         (ldexp_test_data): New variable.
20983         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20984         (scalbn_test_data): New variable.
20985         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20986
20987         * math/libm-test.inc (struct test_c_f_data): New type.
20988         (RUN_TEST_LOOP_c_f): New macro.
20989         (cabs_test_data): New variable.
20990         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20991         (carg_test_data): New variable.
20992         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20993         (cimag_test_data): New variable.
20994         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20995         (creal_test_data): New variable.
20996         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20997
20998         * math/libm-test.inc (struct test_if_f_data): New type.
20999         (RUN_TEST_LOOP_if_f): New macro.
21000         (jn_test_data): New variable.
21001         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21002         (yn_test_data): New variable.
21003         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21004
21005         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21006
21007 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21008
21009         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21010         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21011
21012 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21013
21014         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21015         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21016         (bench-deps): Add bench-timing.h.
21017         * benchtests-bench-skeleton.c: Include bench-timing.h.
21018         (main): Use TIMING_* macros instead of clock_gettime.
21019         * benchtests/bench-timing.h: New file.
21020
21021         [BZ #14582]
21022         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21023         Renamed from _LIB_VERSION.
21024         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21025
21026 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21027
21028         * math/libm-test.inc (struct test_fff_f_data): New type.
21029         (RUN_TEST_LOOP_fff_f): New macro.
21030         (fma_test_data): New variable.
21031         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21032         (fma_towardzero_test_data): New variable.
21033         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21034         (fma_downward_test_data): New variable.
21035         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21036         (fma_upward_test_data): New variable.
21037         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21038
21039         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21040         (struct test_c_c_data): New type.
21041         (RUN_TEST_LOOP_c_c): New macro.
21042         (cacos_test_data): New variable.
21043         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21044         (cacosh_test_data): New variable.
21045         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21046         (casin_test_data): New variable.
21047         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21048         (casinh_test_data): New variable.
21049         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21050         (catan_test_data): New variable.
21051         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21052         (catanh_test_data): New variable.
21053         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21054         (ccos_test_data): New variable.
21055         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21056         (ccosh_test_data): New variable.
21057         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21058         (cexp_test_data): New variable.
21059         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21060         (clog_test_data): New variable.
21061         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21062         (clog10_test_data): New variable.
21063         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21064         (conj_test_data): New variable.
21065         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21066         (cproj_test_data): New variable.
21067         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21068         (csin_test_data): New variable.
21069         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21070         (csinh_test_data): New variable.
21071         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21072         (csqrt_test_data): New variable.
21073         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21074         (ctan_test_data): New variable.
21075         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21076         (ctan_tonearest_test_data): New variable.
21077         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21078         (ctan_towardzero_test_data): New variable.
21079         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21080         (ctan_downward_test_data): New variable.
21081         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21082         (ctan_upward_test_data): New variable.
21083         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21084         (ctanh_test_data): New variable.
21085         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21086         (ctanh_tonearest_test_data): New variable.
21087         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21088         (ctanh_towardzero_test_data): New variable.
21089         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21090         (ctanh_downward_test_data): New variable.
21091         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21092         (ctanh_upward_test_data): New variable.
21093         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21094         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21095         of BUILD_COMPLEX.
21096
21097         * math/libm-test.inc (struct test_ff_f_data): New type.
21098         (struct test_ff_f_data_nexttoward): Likewise.
21099         (RUN_TEST_LOOP_2_f): New macro.
21100         (RUN_TEST_LOOP_ff_f): Likewise.
21101         (atan2_test_data): New variable.
21102         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21103         (copysign_test_data): New variable.
21104         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21105         (fdim_test_data): New variable.
21106         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21107         (fmax_test_data): New variable.
21108         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21109         (fmin_test_data): New variable.
21110         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21111         (fmod_test_data): New variable.
21112         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21113         (hypot_test_data): New variable.
21114         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21115         (nextafter_test_data): New variable.
21116         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21117         (nexttoward_test_data): New variable.
21118         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21119         (pow_test_data): New variable.
21120         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21121         (pow_tonearest_test_data): New variable.
21122         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21123         (pow_towardzero_test_data): New variable.
21124         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21125         (pow_downward_test_data): New variable.
21126         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21127         (pow_upward_test_data): New variable.
21128         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21129         (remainder_test_data): New variable.
21130         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21131         (scalb_test_data): New variable.
21132         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21133         * sysdeps/i386/fpu/libm-test-ulps: Update.
21134
21135 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21136
21137         * math/libm-test.inc (fma_test): Use max_value instead of local
21138         variable fltmax.
21139         (nextafter_test): Likewise.
21140
21141         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21142         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21143         (acos_downward_test_data): New variable.
21144         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21145         (acos_upward_test_data): New variable.
21146         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21147         (acosh_test_data): New variable.
21148         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21149         (asin_test_data): New variable.
21150         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21151         (asin_tonearest_test_data): New variable.
21152         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21153         (asin_towardzero_test_data): New variable.
21154         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21155         (asin_downward_test_data): New variable.
21156         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21157         (asin_upward_test_data): New variable.
21158         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21159         (asinh_test_data): New variable.
21160         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21161         (atan_test_data): New variable.
21162         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21163         (atanh_test_data): New variable.
21164         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21165         (cbrt_test_data): New variable.
21166         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21167         (ceil_test_data): New variable.
21168         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21169         (cos_test_data): New variable.
21170         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21171         (cos_tonearest_test_data): New variable.
21172         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21173         (cos_towardzero_test_data): New variable.
21174         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21175         (cos_downward_test_data): New variable.
21176         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21177         (cos_upward_test_data): New variable.
21178         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21179         (cosh_test_data): New variable.
21180         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21181         (cosh_tonearest_test_data): New variable.
21182         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21183         (cosh_towardzero_test_data): New variable.
21184         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21185         (cosh_downward_test_data): New variable.
21186         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21187         (cosh_upward_test_data): New variable.
21188         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21189         (erf_test_data): New variable.
21190         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21191         (erfc_test_data): New variable.
21192         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21193         (exp_test_data): New variable.
21194         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21195         (exp_tonearest_test_data): New variable.
21196         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21197         (exp_towardzero_test_data): New variable.
21198         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21199         (exp_downward_test_data): New variable.
21200         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21201         (exp_upward_test_data): New variable.
21202         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21203         (exp10_test_data): New variable.
21204         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21205         (exp2_test_data): New variable.
21206         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21207         (expm1_test_data): New variable.
21208         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21209         (fabs_test_data): New variable.
21210         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21211         (floor_test_data): New variable.
21212         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21213         (j0_test_data): New variable.
21214         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21215         (j1_test_data): New variable.
21216         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21217         (log_test_data): New variable.
21218         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21219         (log10_test_data): New variable.
21220         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21221         (log1p_test_data): New variable.
21222         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21223         (log2_test_data): New variable.
21224         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21225         (logb_test_data): New variable.
21226         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21227         (logb_downward_test_data): New variable.
21228         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21229         (nearbyint_test_data): New variable.
21230         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21231         (rint_test_data): New variable.
21232         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21233         (rint_tonearest_test_data): New variable.
21234         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21235         (rint_towardzero_test_data): New variable.
21236         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21237         (rint_downward_test_data): New variable.
21238         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21239         (rint_upward_test_data): New variable.
21240         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21241         (round_test_data): New variable.
21242         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21243         (sin_test_data): New variable.
21244         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21245         (sin_tonearest_test_data): New variable.
21246         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21247         (sin_towardzero_test_data): New variable.
21248         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21249         (sin_downward_test_data): New variable.
21250         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21251         (sin_upward_test_data): New variable.
21252         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21253         (sinh_test_data): New variable.
21254         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21255         (sinh_tonearest_test_data): New variable.
21256         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21257         (sinh_towardzero_test_data): New variable.
21258         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21259         (sinh_downward_test_data): New variable.
21260         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21261         (sinh_upward_test_data): New variable.
21262         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21263         (sqrt_test_data): New variable.
21264         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21265         (tan_test_data): New variable.
21266         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21267         (tan_tonearest_test_data): New variable.
21268         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21269         (tan_towardzero_test_data): New variable.
21270         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21271         (tan_downward_test_data): New variable.
21272         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21273         (tan_upward_test_data): New variable.
21274         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21275         (tanh_test_data): New variable.
21276         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21277         (tgamma_test_data): New variable.
21278         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21279         (trunc_test_data): New variable.
21280         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21281         (y0_test_data): New variable.
21282         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21283         (y1_test_data): New variable.
21284         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21285         (significand_test_data): New variable.
21286         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21287
21288 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21289
21290         [BZ #12387]
21291         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21292
21293 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21294
21295         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21296
21297 2013-05-10  Andreas Jaeger  <aj@suse.de>
21298
21299         [BZ #15448]
21300         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21301         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21302
21303 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21304
21305         * math/gen-libm-test.pl (adjust_arg): New function.
21306         (special_functions): Handle generating output in both functions
21307         and arrays.
21308         (parse_args): Likewise.
21309         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21310         $in_func argument to parse_args.
21311         * math/libm-test.inc (struct test_f_f_data): New type.
21312         (IF_ROUND_INIT_): New macro.
21313         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21314         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21315         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21316         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21317         (ROUND_RESTORE_): Likewise.
21318         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21319         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21320         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21321         (ROUND_RESTORE_FE_UPWARD): Likewise.
21322         (RUN_TEST_LOOP_f_f): New macro.
21323         (acos_test_data): New variable.
21324         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21325         (acos_tonearest_test_data): New variable.
21326         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21327
21328 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21329
21330         * benchtests/bench-skeleton.c (startup): Fix coding style.
21331
21332 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21333
21334         [BZ #6809]
21335         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21336         negative infinity argument.
21337         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21338         negative infinity argument.
21339         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21340         negative infinity argument.
21341         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21342         domain errors.
21343
21344 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21345
21346         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21347         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21348         * iconv/iconv_prog.c (main): Likewise.
21349         * locale/programs/charmap-dir.c (charmap_readdir)
21350         (fopen_uncompressed): Likewise.
21351         * locale/programs/locfile.c (siblings_uncached)
21352         (write_locale_data): Use lstat64 instead of lstat.
21353         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21354         stat.
21355
21356 2013-05-10  Andreas Jaeger  <aj@suse.de>
21357
21358         [BZ #15395]
21359         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21360         localization.
21361         Include <locale.h>.
21362
21363 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21364
21365         * elf/dl-close.c (_dl_close_worker): Add comments.
21366
21367 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21368
21369         [BZ #15359]
21370         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21371         high part of pi/2.
21372         (__ieee754_rem_pio2l): Update comments.
21373
21374         [BZ #15429]
21375         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21376         high part of pi/2.
21377         (__ieee754_rem_pio2l): Update comments.
21378
21379         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21380         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21381
21382         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21383         M_PI_4l.
21384
21385         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21386         (M_PI_34_LOG10El): Likewise.
21387         (M_PI2_LOG10El): Likewise.
21388         (M_PI4_LOG10El): Likewise.
21389         (M_PI_LOG10El): Likewise.
21390
21391 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21392
21393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21394
21395 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21396
21397         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21398         (MINUS_ZERO_INIT): Likewise.
21399         (PLUS_INFTY_INIT): Likewise.
21400         (MINUS_INFTY_INIT): Likewise.
21401         (QNAN_VALUE_INIT): Likewise.
21402         (MAX_VALUE_INIT): Likewise.
21403         (MIN_VALUE_INIT): Likewise.
21404         (MIN_SUBNORM_VALUE_INIT): Likewise.
21405         (plus_zero): Initialize with PLUS_ZERO_INIT.
21406         (minus_zero): Initialize with MINUS_ZERO_INIT.
21407         (plus_infty): Initialize with PLUS_INFTY_INIT.
21408         (minus_infty): Initialize with MINUS_INFTY_INIT.
21409         (qnan_value): Initialize with QNAN_VALUE_INIT.
21410         (max_value): Initialize with MAX_VALUE_INIT.
21411         (min_value): Initialize with MIN_VALUE_INIT.
21412         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21413
21414         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21415         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21416         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21417         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21418
21419         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21420         (RUN_TEST_2_f): Likewise.
21421         (RUN_TEST_ff_f): Likewise.
21422         (RUN_TEST_fi_f): Likewise.
21423         (RUN_TEST_fl_f): Likewise.
21424         (RUN_TEST_fff_f): Likewise.
21425         (RUN_TEST_c_f): Likewise.
21426         (RUN_TEST_f_f1): Likewise.
21427         (RUN_TEST_fF_f1): Likewise.
21428         (RUN_TEST_fI_f1): Likewise.
21429         (RUN_TEST_ffI_f1): Likewise.
21430         (RUN_TEST_c_c): Likewise.
21431         (RUN_TEST_cc_c): Likewise.
21432         (RUN_TEST_f_i): Likewise.
21433         (RUN_TEST_f_i_tg): Likewise.
21434         (RUN_TEST_ff_i_tg): Likewise.
21435         (RUN_TEST_f_b): Likewise.
21436         (RUN_TEST_f_b_tg): Likewise.
21437         (RUN_TEST_f_l): Likewise.
21438         (RUN_TEST_f_L): Likewise.
21439         (RUN_TEST_sincos): Likewise.
21440         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21441         whether to show exceptions.  Do not include ");\n" in return
21442         value.
21443         (special_functions): Output call to RUN_TEST_sincos instead of
21444         check_float calls.  Update calls to new_test.
21445         (parse_args): Output call to single RUN_TEST_* macro instead of
21446         check_* calls and other assignments.  Update calls to new_test.
21447
21448         [BZ #2546]
21449         [BZ #2560]
21450         [BZ #5159]
21451         [BZ #15426]
21452         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21453         input to result for tgamma overflow.
21454         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21455         (gamma_coeff): New variable.
21456         (NCOEFF): New macro.
21457         (gamma_positive): New function.
21458         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21459         underflow here.  Use gamma_positive instead of exp (lgamma) for
21460         other arguments.
21461         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21462         (gamma_coeff): New variable.
21463         (NCOEFF): New macro.
21464         (gammaf_positive): New function.
21465         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21466         underflow here.  Use gamma_positive instead of exp (lgamma) for
21467         other arguments.
21468         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21469         (gamma_coeff): New variable.
21470         (NCOEFF): New macro.
21471         (gammal_positive): New function.
21472         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21473         underflow here.  Use gamma_positive instead of exp (lgamma) for
21474         other arguments.
21475         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21476         (gamma_coeff): New variable.
21477         (NCOEFF): New macro.
21478         (gammal_positive): New function.
21479         (__ieee754_gammal_r): Handle positive infinity, overflow and
21480         underflow here.  Handle NaN the same as positive infinity.  Remove
21481         check x < 0xffffffff for negative integers.  Use gamma_positive
21482         instead of exp (lgamma) for other arguments.
21483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21484         (gamma_coeff): New variable.
21485         (NCOEFF): New macro.
21486         (gammal_positive): New function.
21487         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21488         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21489         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21490         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21491         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21492         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21493         * sysdeps/generic/math_private.h (__gamma_productf): New
21494         prototype.
21495         (__gamma_product): Likewise.
21496         (__gamma_productl): Likewise.
21497         * math/Makefile (libm-calls): Add gamma_product.
21498         * math/libm-test.inc (tgamma_test): Add more tests.
21499         * sysdeps/i386/fpu/libm-test-ulps: Update.
21500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21501
21502 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21503
21504         * benchtests/bench-skeleton.c (main): Preheat CPU.
21505
21506 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21507
21508         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21509
21510 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21511
21512         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21513         and _dl_skip_args_internal.
21514
21515 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21516
21517         * manual/message.texi (Message Translation): Talk about users.
21518         Message to key mapping impacts design.
21519
21520 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21521
21522         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21523
21524         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21525
21526         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21527         * sysdeps/wordsize-64/glob64.c: ... here.
21528
21529         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21530         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21531         New macros.
21532
21533         * debug/getlogin_r_chk.c: Moved to ...
21534         * login/getlogin_r_chk.c: ... here.
21535         * debug/Makefile (routines): Move getlogin_r_chk to ...
21536         * login/Makefile (routines): ... here.
21537         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21538         * login/Versions (libc: GLIBC_2.4): ... here.
21539
21540         * io/poll.c (__poll): Renamed from poll.
21541         Add libc_hidden_def.
21542         (poll): Define as weak alias.
21543
21544         * debug/ptsname_r_chk.c: Moved to ...
21545         * login/ptsname_r_chk.c: ... here.
21546         * debug/Makefile (routines): Move ptsname_r_chk to ...
21547         * login/Makefile (routines): ... here.
21548         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21549         * login/Versions (libc: GLIBC_2.4): ... here.
21550
21551         * posix/getlogin.c: Moved to ...
21552         * login/getlogin.c: ... here.
21553         * posix/getlogin_r.c: Moved to ...
21554         * login/getlogin_r.c: ... here.
21555         * posix/getlogin_r.c: Moved to ...
21556         * login/getlogin_r.c: ... here.
21557         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21558         * login/Makefile (routines): ... here.
21559         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21560         * login/Versions (libc: GLIBC_2.0): ... here.
21561
21562         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21563         (setrlimit): Define as weak alias.
21564
21565         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21566         Call __ names for open, ftruncate, and close.
21567         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21568         (truncate): Define as weak alias.
21569
21570 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21571
21572         * math/gen-libm-test.pl (parse_args): Initialize x before each
21573         test of frexp, modf and remquo.
21574
21575         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21576         test signgam value.
21577
21578 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21579
21580         [BZ #15418]
21581         [BZ #15419]
21582         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21583         internal tests.
21584         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21585
21586 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21587
21588         * elf/dl-writev.h: New file.
21589         * elf/dl-misc.c: Include it.
21590         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21591         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21592
21593 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21594
21595         * math/libm-test.inc (noXFails): Remove variable.
21596         (noXPasses): Likewise.
21597         (BUILD_COMPLEX_INT): Remove macro.
21598         (print_screen): Remove xfail argument.
21599         (print_screen_max_error): Likewise.
21600         (update_stats): Likewise.
21601         (print_max_error): Likewise.  Update calls to other affected
21602         functions.
21603         (print_complex_max_error): Likewise.
21604         (test_single_exception): Update calls to print_screen.
21605         (test_single_errno): Likewise.
21606         (check_float_internal): Remove xfail argument.  Update calls to
21607         other affected functions.
21608         (check_float): Likewise.
21609         (check_complex): Likewise.
21610         (check_int): Likewise.
21611         (check_long): Likewise.
21612         (check_bool): Likewise.
21613         (check_longlong): Likewise.
21614         (main): Don't print noXFails and noXPasses.
21615         * math/gen-libm-test.pl (top level): Don't mention expected
21616         failure handling in comment.
21617         (new_test): Don't handle expected failures.
21618         (parse_args): Don't mention expected failure handling in comment.
21619         (generate_testfile): Don't handle expected failures.
21620         (parse_ulps): Likewise.
21621         (print_ulps_file): Likewise.
21622         (get_failure): Remove function.
21623         (output_test): Don't handle expected failures.
21624         * make/README.libm-test: Don't mention expected failure handling.
21625
21626         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21627         (minus_zero): Likewise.
21628         (plus_infty): Likewise.
21629         (minus_infty): Likewise.
21630         (qnan_value): Likewise.
21631         (max_value): Likewise.
21632         (min_value): Likewise.
21633         (min_subnorm_value): Likewise.
21634         (initialize): Do not initialize those variables dynamically.
21635
21636 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21637
21638         * io/open.c (__open_2): Moved to ...
21639         * io/open_2.c: ... this new file.
21640         * io/open64.c (__open64_2): Moved to ...
21641         * io/open64_2.c: ... this new file.
21642         * io/openat.c (__openat_2): Moved to ...
21643         * io/openat_2.c: ... this new file.
21644         * io/openat64.c (__openat64_2): Moved to ...
21645         * io/openat64_2.c: ... this new file.
21646         * io/Makefile (routines): Add them.
21647         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21648         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21649         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21650         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21651         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21652         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21653         (__openat64): Add hidden_ver.
21654         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21655         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21656
21657         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21658         Separately conditionalize setting of GLRO(dl_sysinfo) so
21659         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21660         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21661
21662 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21663
21664         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21665         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21666         definition.
21667         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21668         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21669         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21670         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21671         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21672
21673 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21674
21675         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21676         test signgam value.
21677
21678         * math/libm-test.inc (hypot_test): Do not use
21679         IGNORE_ZERO_INF_SIGN.
21680
21681 2013-05-03  Andreas Jaeger  <aj@suse.de>
21682
21683         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21684         Linux 3.9.
21685         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21686         (PF_MAX): Adjust for VSOCK change.
21687
21688 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21689
21690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21691
21692 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21693
21694         [BZ #15264]
21695         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21696         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21697         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21698
21699 2013-05-02  David S. Miller  <davem@davemloft.net>
21700
21701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21702
21703 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21704
21705         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21706
21707 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21708
21709         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21710
21711 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21712
21713         [BZ #14952]
21714         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21715         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21716         Use __attribute__ ((__gnu_inline__)).
21717         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21718         Don't use __attribute__ ((__gnu_inline__)).
21719
21720 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21721
21722         [BZ #15423]
21723         * math/s_catan.c (__catan): Handle small real or imaginary part of
21724         input specially to avoid spurious underflow.
21725         * math/s_catanf.c (__catanf): Likewise.
21726         * math/s_catanh.c (__catanh): Likewise.
21727         * math/s_catanhf.c (__catanhf): Likewise.
21728         * math/s_catanhl.c (__catanhl): Likewise.
21729         * math/s_catanl.c (__catanl): Likewise.
21730         * math/libm-test.inc (catan_test): Add more tests.
21731         (catanh_test): Likewise.
21732         * sysdeps/i386/fpu/libm-test-ulps: Update.
21733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21734
21735 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21736
21737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21738
21739 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21740
21741         [BZ #15416]
21742         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21743         accurately for denominator in atan2.
21744         * math/s_catanf.c (__catanf): Likewise.
21745         * math/s_catanh.c (__catanh): Likewise.
21746         * math/s_catanhf.c (__catanhf): Likewise.
21747         * math/s_catanhl.c (__catanhl): Likewise.
21748         * math/s_catanl.c (__catanl): Likewise.
21749         * math/libm-test.inc (catan_test): Add more tests.
21750         (catanh_test): Likewise.
21751         * sysdeps/i386/fpu/libm-test-ulps: Update.
21752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21753
21754 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21755
21756         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21757
21758         * benchtests/Makefile (bench): Remove slow benchmarks.
21759         * benchtests/atan-inputs: Add slow benchmark inputs.
21760         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21761         (BENCH_FUNC): Accept variant offset.
21762         (VARIANT): Define.
21763         * benchtests/bench-skeleton.c (main): Run benchmark for each
21764         variant.
21765         * benchtests/cos-inputs: Add slow benchmark inputs.
21766         * benchtests/exp-inputs: Likewise.
21767         * benchtests/pow-inputs: Likewise.
21768         * benchtests/sin-inputs: Likewise.
21769         * benchtests/slowatan-inputs: Remove.
21770         * benchtests/slowatan.c: Remove.
21771         * benchtests/slowcos-inputs: Remove.
21772         * benchtests/slowcos.c: Remove.
21773         * benchtests/slowexp-inputs: Remove.
21774         * benchtests/slowexp.c: Remove.
21775         * benchtests/slowpow-inputs: Remove.
21776         * benchtests/slowpow.c: Remove.
21777         * benchtests/slowsin-inputs: Remove.
21778         * benchtests/slowsin.c: Remove.
21779         * benchtests/slowtan-inputs: Remove.
21780         * benchtests/slowtan.c: Remove.
21781         * benchtests/tan-inputs: Add slow benchmark inputs.
21782         * scripts/bench.pl: Parse comments and directives.
21783
21784         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21785         in CPPFLAGS.
21786         ($(objpfx)bench-%.c): Remove *-ITER.
21787         * benchtests/bench-modf.c: Remove definition of ITER.
21788         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21789         (main): Loop for DURATION seconds instead of fixed number of
21790         iterations.
21791         * scripts/bench.pl: Don't expect iterations in parameters.
21792
21793 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21794
21795         * io/fchdir.c (__fchdir): Renamed from fchdir.
21796         (fchdir): Define as weak alias.
21797
21798 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21799
21800         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21801         (ERRNO_EDOM): Likewise.
21802         (ERRNO_ERANGE): Likewise.
21803         (noErrnoTests): New variable.
21804         (init_max_error): Set errno to 0.
21805         (test_single_errno): New function.
21806         (test_errno): Likewise.
21807         (check_float_internal): Call test_errno.  Set errno to 0.
21808         (check_complex): Refer to errno tests in comment.
21809         (check_int): Call test_errno.  Set errno to 0.
21810         (check_long): Likewise.
21811         (check_bool): Likewise.
21812         (check_longlong): Likewise.
21813         (cos_test): Use ERRNO_* flags for errno tests instead of
21814         check_int.
21815         (expm1_test): Likewise.
21816         (fmod_test): Likewise.
21817         (ilogb_test): Likewise.
21818         (lgamma_test): Likewise.
21819         (pow_test): Likewise.
21820         (remainder_test): Likewise.
21821         (sin_test): Likewise.
21822         (tan_test): Likewise.
21823         (yn_test): Likewise.
21824         (initialize): Set errno to 0.
21825         (main): Print number of errno tests.
21826         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21827
21828 2013-04-29  Andreas Jaeger  <aj@suse.de>
21829
21830         [BZ #15084]
21831         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21832         and RES_USEVC.
21833
21834         [BZ #15085]
21835         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21836         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21837         unimplemented.
21838
21839         [BZ #15380]
21840         * stdlib/random.c (__initstate): Return NULL if
21841         __initstate fails.
21842
21843         [BZ #15086]
21844         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21845         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21846         RES_SNGLKUPREOP.
21847
21848 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21849
21850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21851
21852 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21853
21854         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21855         of individual tests.
21856         (casin_test): Likewise.
21857         (casinh_test): Likewise.
21858
21859 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21860
21861         [BZ #15409]
21862         * math/s_catan.c (__catan): Handle arguments with large real or
21863         imaginary part separately without squaring.
21864         * math/s_catanf.c (__catanf): Likewise.
21865         * math/s_catanh.c (__catanh): Likewise.
21866         * math/s_catanhf.c (__catanhf): Likewise.
21867         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21868         and redefine.
21869         (__catanhl): Handle arguments with large real or imaginary part
21870         separately without squaring.
21871         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21872         and redefine.
21873         (__catanl): Handle arguments with large real or imaginary part
21874         separately without squaring.
21875         * math/libm-test.inc (catan_test): Add more tests.
21876         (catanh_test): Likewise.
21877         * sysdeps/i386/fpu/libm-test-ulps: Update.
21878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21879
21880 2013-04-27  Andreas Jaeger  <aj@suse.de>
21881
21882         [BZ #15007]
21883         * stdlib/stdlib.h: Update guards for qecvt.
21884         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21885         <stdlib.h>.
21886
21887 2013-04-27  Allan McRae  <allan@archlinux.org>
21888
21889         * sysdeps/i386/fpu/libm-test-ulps: Update.
21890
21891 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21892
21893         [BZ #15406]
21894         * math/s_catan.c: Include <float.h>.
21895         (__catan): Ensure underflow exception occurs for underflowed
21896         result.
21897         * math/s_catanf.c: Include <float.h>.
21898         (__catanf): Ensure underflow exception occurs for underflowed
21899         result.
21900         * math/s_catanh.c: Include <float.h>.
21901         (__catanh): Ensure underflow exception occurs for underflowed
21902         result.
21903         * math/s_catanhf.c: Include <float.h>.
21904         (__catanhf): Ensure underflow exception occurs for underflowed
21905         result.
21906         * math/s_catanhl.c: Include <float.h>.
21907         (__catanhl): Ensure underflow exception occurs for underflowed
21908         result.
21909         * math/s_catanl.c: Include <float.h>.
21910         (__catanl): Ensure underflow exception occurs for underflowed
21911         result.
21912         * math/libm-test.inc (catan_test): Add more tests.
21913         (catanh_test): Likewise.
21914
21915         [BZ #15405]
21916         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21917         underflowed result.
21918         * math/s_ccoshf.c (__ccoshf): Likewise.
21919         * math/s_ccoshl.c (__ccoshl): Likewise.
21920         * math/s_csin.c (__csin): Likewise.
21921         * math/s_csinf.c (__csinf): Likewise.
21922         * math/s_csinh.c (__csinh): Likewise.
21923         * math/s_csinhf.c (__csinhf): Likewise.
21924         * math/s_csinhl.c (__csinhl): Likewise.
21925         * math/s_csinl.c (__csinl): Likewise.
21926         * math/libm-test.inc (ccos_test): Add more tests.
21927         (ccosh_test): Likewise.
21928         (csin_test): Likewise.
21929         (csinh_test): Likewise.
21930
21931 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21932
21933         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21934         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21935         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21936         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21937         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21938         powerpc/power5+/fpu folders.
21939         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21940
21941
21942 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21943
21944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21945
21946 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21947
21948         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21949         additions to variable.
21950         [$(config-machine) = x86_64] (modules-names): Likewise.
21951         ($(objpfx)tst-audit3): Remove dependency.
21952         ($(objpfx)tst-audit3.out): Likewise.
21953         ($(objpfx)tst-audit4): Likewise.
21954         ($(objpfx)tst-audit4.out): Likewise.
21955         ($(objpfx)tst-audit5): Likewise.
21956         ($(objpfx)tst-audit5.out): Likewise.
21957         ($(objpfx)tst-audit6): Likewise.
21958         ($(objpfx)tst-audit6.out): Likewise.
21959         ($(objpfx)tst-audit7): Likewise.
21960         ($(objpfx)tst-audit7.out): Likewise.
21961         (tst-audit3-ENV): Remove variable.
21962         (tst-audit4-ENV): Likewise.
21963         (tst-audit5-ENV): Likewise.
21964         (tst-audit6-ENV): Likewise.
21965         (tst-audit7-ENV): Likewise.
21966         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21967         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21968         addition to variable.
21969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21971         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21972         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21973         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21974         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21975         tst-audit3, tst-audit4 and tst-audit5.
21976         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21977         tst-audit6 and tst-audit7.
21978         [$(subdir) = elf] (modules-names): Add audit modules for those
21979         tests.
21980         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21981         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21982         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21983         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21984         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21985         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21986         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21987         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21988         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21989         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21990         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21991         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21992         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21993         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21994         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21995         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21996         Likewise.
21997         [$(subdir) = elf && $(config-cflags-avx) = yes]
21998         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21999         [$(subdir) = elf && $(config-cflags-avx) = yes]
22000         (CFLAGS-tst-auditmod4a.c): Likewise.
22001         [$(subdir) = elf && $(config-cflags-avx) = yes]
22002         (CFLAGS-tst-auditmod4b.c): Likewise.
22003         [$(subdir) = elf && $(config-cflags-avx) = yes]
22004         (CFLAGS-tst-auditmod6b.c): Likewise.
22005         [$(subdir) = elf && $(config-cflags-avx) = yes]
22006         (CFLAGS-tst-auditmod6c.c): Likewise.
22007         [$(subdir) = elf && $(config-cflags-avx) = yes]
22008         (CFLAGS-tst-auditmod7b.c): Likewise.
22009         * elf/tst-audit3.c: Move to ...
22010         * sysdeps/x86_64/tst-audit3.c: ... here.
22011         * elf/tst-audit4.c: Move to ...
22012         * sysdeps/x86_64/tst-audit4.c: ... here.
22013         * elf/tst-audit5.c: Move to ...
22014         * sysdeps/x86_64/tst-audit5.c: ... here.
22015         * elf/tst-audit6.c: Move to ...
22016         * sysdeps/x86_64/tst-audit6.c: ... here.
22017         * elf/tst-audit7.c: Move to ...
22018         * sysdeps/x86_64/tst-audit7.c: ... here.
22019         * elf/tst-auditmod3a.c: Move to ...
22020         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22021         * elf/tst-auditmod3b.c: Move to ...
22022         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22023         * elf/tst-auditmod4a.c: Move to ...
22024         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22025         * elf/tst-auditmod4b.c: Move to ...
22026         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22027         * elf/tst-auditmod5a.c: Move to ...
22028         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22029         * elf/tst-auditmod5b.c: Move to ...
22030         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22031         * elf/tst-auditmod6a.c: Move to ...
22032         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22033         * elf/tst-auditmod6b.c: Move to ...
22034         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22035         * elf/tst-auditmod6c.c: Move to ...
22036         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22037         * elf/tst-auditmod7a.c: Move to ...
22038         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22039         * elf/tst-auditmod7b.c: Move to ...
22040         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22041
22042 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22043
22044         [BZ #15366]
22045         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22046         define unconditionally.
22047         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22048         define unconditionally.
22049         (INT8_C, INT16_C, etc.): Likewise.
22050
22051 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22052
22053         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22054         __ehdr_start with hidden visibility.
22055
22056         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22057
22058 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22059
22060         * math/libm-test.inc (cos_test): Use accurate hex constants.
22061         (sincost_test): Likewise.
22062
22063 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22064
22065         * math/libm-test.inc (catan_test): Add more tests.
22066         (catanh_test): Likewise.
22067
22068         * math/s_catanf.c (__catanf): Use suffixed floating-point
22069         constants.
22070         * math/s_catanhf.c (__catanhf): Likewise.
22071         * math/s_catanhl.c (__catanhl): Likewise.
22072         * math/s_catanl.c (__catanl): Likewise.
22073
22074         [BZ #15394]
22075         * math/s_catan.c (__catan): Calculate imaginary part of result
22076         with log1p not log unless computing log of number close to 0.
22077         * math/s_catanf.c (__catanf): Likewise.
22078         * math/s_catanl.c (__catanl): Likewise.
22079         * math/s_catanh.c (__catanh): Calculate real part of result with
22080         log1p not log unless computing log of number close to 0.
22081         * math/s_catanhf.c (__catanhf): Likewise.
22082         * math/s_catanhl.c (__catanhl): Likewise.
22083         * math/libm-test.inc (catan_test): Add more tests.
22084         (catanh_test): Likewise.
22085         * sysdeps/i386/fpu/libm-test-ulps: Update.
22086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22087
22088 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22089
22090         * benchtests/Makefile: Mention files in which fast and slow
22091         paths of math functions are implemented.
22092
22093 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22094
22095         * sysdeps/posix/timespec_get.c: New file.
22096
22097 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22098
22099         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22100         POWER.
22101         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22102         for POWER.
22103         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22104         powerpc/power5/fpu folders.
22105         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22106         * benchtests/Makefile: Add modf testcase.
22107         * benchtests/bench-modf.c: New file: Benchmark test for mo
22108
22109 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22110
22111         [BZ #14888]
22112         * time/Makefile (tests): Add tst-strptime-whitespace.
22113         * time/strptime_l.c (get_number): Use ISSPACE.
22114         (__strptime_internal): Likewise.
22115         * time/tst-strptime-whitespace.c: New test case.
22116
22117 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22118
22119         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22120         member.
22121         (_nss_files_init): Set it here.
22122
22123 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22124
22125         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22126         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22127         unsigned.
22128
22129 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22130
22131         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22132
22133 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22134
22135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22136         size just once.
22137
22138 2013-04-21  David S. Miller  <davem@davemloft.net>
22139
22140         * po/ru.po: Update Russion translation from translation project.
22141
22142 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22143
22144         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22145         and setfsgid.
22146
22147 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22148
22149         * configure.in: Remove i386 configure warning. Remove i386 case.
22150         * configure: Regenerate.
22151         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22152         Add example to error message.
22153         * sysdeps/i386/configure: Regenerate.
22154
22155 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22156
22157         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22158         slowtan.
22159         * benchtests/cos-inputs: New file.
22160         * benchtests/slowcos-inputs: New file.
22161         * benchtests/slowcos.c: New file.
22162         * benchtests/slowtan-inputs: New file.
22163         * benchtests/slowtan.c: New file.
22164         * benchtests/tan-inputs: New file.
22165
22166 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22167
22168         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22169         considered kosher.
22170
22171 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22172
22173         * benchtests/Makefile: Include cppflags-iterator.mk to add
22174         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22175
22176         * Makefile.in (bench-clean): New target.
22177         * benchtests/Makefile (bench-clean): Likewise.
22178
22179 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22180
22181         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22182
22183 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22184
22185         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22186
22187 2013-04-15  Andreas Schwab  <schwab@suse.de>
22188
22189         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22191         * nscd/pwdcache.c (cache_addpw): Likewise.
22192         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22193         more than recsize.
22194
22195 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22196
22197         * benchtests/Makefile (bench): Write all output to
22198         bench-out.tmp together.
22199
22200 2013-04-15  Andreas Schwab  <schwab@suse.de>
22201
22202         * nscd/nscd.c (main): Don't fork again after closing files.
22203
22204 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22205
22206         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22207
22208         * benchtests/Rules (bench-deps): Collect dependencies into a
22209         single variable.  Add Makefile to dependencies.
22210         ($(objpfx)bench-%.c): Depend on bench-deps.
22211
22212 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22213             Xavier Roche  <roche+kml2@exalead.com>
22214
22215         [BZ #15361]
22216         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22217         just that it's a file descriptor.
22218         * manual/llio.texi (Synchronizing AIO Operations): Update description
22219         for EBADF error from aio_fsync.
22220
22221 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22222
22223         * Rules (bench): Move target definition...
22224         * benchtests/Makefile: ... here.
22225
22226 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22227
22228         * math/libm-test.inc (cos_test): Fix PI/2 test.
22229         (sincos_test): Likewise.
22230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22231         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22232
22233 2013-04-11  Andreas Schwab  <schwab@suse.de>
22234
22235         [BZ #13988]
22236         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22237         accept exponent character only when digits were seen.
22238         * stdio-common/Makefile (tests): Add bug26.
22239         * stdio-common/bug26.c: New file.
22240
22241         [BZ #14293]
22242         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22243         non-freeable.
22244
22245 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22246
22247         * Makeconfig (rtld-prefix): Define built linker prefix.
22248         * Rules (run-bench): Use it.
22249         * math/Makefile (run-regen-ulps): Likewise.
22250
22251         * Rules (bench): Remove eval.
22252
22253 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22254             Roland McGrath  <roland@hack.frob.com>
22255             Ondrej Bilka  <neleai@seznam.cz>
22256
22257         [BZ #15346]
22258         * time/getdate.c: Include ctype.h and alloca.h.
22259         (__getdate_r): Trim leading and trailing spaces of input.
22260         * time/tst-getdate.c (tests): Add tests with leading and
22261         trailing spaces.
22262
22263 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22264
22265         [BZ #14280]
22266         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22267         when computing value.
22268
22269 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22270
22271         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22272         Use testrun.sh to run libm tests.
22273
22274         [BZ #15309]
22275         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22276
22277 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22278
22279         [BZ #15264]
22280         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22281
22282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22283
22284         * Makefile.in (regen-ulps): New target.
22285         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22286         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22287         [ifneq (no,$(PERL)] (regen-ulps): New target.
22288         [ifeq (no,$(PERL)] (regen-ulps): New target.
22289         * math/libm-test.inc (ulps_file_name): Define.
22290         (output_dir): New variable.
22291         (options): Add "output-dir" option.
22292         (parse_opt): Handle 'o' case.
22293         (main): If output_dir is non-NULL use it as a prefix
22294         otherwise use "".
22295         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22296
22297 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22298
22299         [BZ #10060, #10062]
22300         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22301         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22302         fail configure if __sync_val_compare_and_swap is not inlined.
22303         * sysdeps/i386/configure: Regenerate.
22304         * configure.in: Build for i686 when configured for i386.
22305         * configure: Regenerate.
22306         * README: Remove i386 reference.
22307
22308 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22309
22310         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22312
22313 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22314
22315         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22316         (lmsnanval): New variables.
22317         (F): Add conversion tests.
22318         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22319         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22320
22321         * stdio-common/tstdiomisc.c (F): Properly collect individual
22322         tests' results.
22323
22324         [BZ #14686, #15336]
22325         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22326         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22327         Instead, use input NaN values or generate a qNaN by arithmetic
22328         operation.  Also fix bugs to comply with the standard.
22329         * math/libm-test.inc (remainder_test): Add more tests.
22330
22331         [BZ #15335, #15342]
22332         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22334         input NaN values or generate a qNaN by arithmetic operation.
22335
22336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22337         unreachable code.
22338
22339         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22340         definitions.
22341
22342 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22343
22344         [BZ #14478]
22345         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22346         underflowed result.
22347         * math/s_cexpf.c (__cexpf): Likewise.
22348         * math/s_cexpl.c (__cexpl): Likewise.
22349         * math/libm-test.inc (cexp_test): Add more tests.
22350
22351 2013-04-03  Andreas Schwab  <schwab@suse.de>
22352
22353         [BZ #15330]
22354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22355         order arrays from heap if bigger than alloca cutoff.
22356
22357 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22358
22359         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22360         (SNAN_TESTS_double): Refer to GCC PR56831.
22361         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22362         GCC PR56828.
22363
22364 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22365
22366         * Rules (bench): Move bench.out after the run is complete.
22367
22368         * Rules (bench): Echo currently running benchmark.
22369
22370         * benchtests/Makefile (bench): Add atan and slowatan.
22371         * benchtests/atan-inputs: New file.
22372         * benchtests/slowatan-inputs: New file.
22373         * benchtests/slowatan.c: New file.
22374
22375         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22376         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22377         its value.
22378
22379         [BZ #15305]
22380         * sysdeps/unix/sysv/linux/kernel-features.h
22381         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22382         __ASSUME_XFS_RESTRICTED_CHOWN.
22383         * sysdeps/unix/sysv/linux/pathconf.c
22384         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22385         Save and restore errno.
22386
22387 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22388
22389         [BZ #15327]
22390         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22391         arguments using __kernel_casinh.
22392         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22393         arguments using __kernel_casinhf.
22394         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22395         arguments using __kernel_casinhl.
22396         * math/libm-test.inc (cacosh_test): Add more tests.
22397         * sysdeps/i386/fpu/libm-test-ulps: Update.
22398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22399
22400 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22401
22402         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22404
22405         * bench/Makefile (bench): Add sin and slowsin.
22406         * benchtests/sin-inputs: New file.
22407         * benchtests/slowsin-inputs: New file.
22408         * benchtests/slowsin.c: New file.
22409
22410         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22411         (bench): Add slowexp and slowpow.
22412         (exp-ITER): Increase iterations.
22413         (pow-ITER): Likewise.
22414         * benchtests/exp-inputs: Change input.
22415         * benchtests/pow-inputs: Likewise.
22416         * benchtests/slowexp-inputs: New file.
22417         * benchtests/slowexp.c: New file.
22418         * benchtests/slowpow-inputs: New file.
22419         * benchtests/slowpow.c: New file.
22420
22421 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22422
22423         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22424         instructions.
22425         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22426         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22427         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22428         * benchtests/Makefile: Add rint benchtest.
22429         * benchtests/rint-inputs: Input for rint benchtest.
22430
22431 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22432
22433         * Versions.def (libm): Add GLIBC_2.18.
22434         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22435         hidden libm prototypes.
22436         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22437         * math/Makefile (libm-calls): Add s_issignaling.
22438         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22439         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22440         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22441         declaration.
22442         * math/math.h [__USE_GNU] (issignaling): New macro.
22443         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22444         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22445         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22446         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22447         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22448         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22449         * manual/arith.texi (issignaling): New section.
22450         * manual/libm-err-tab.pl (@all_functions): Update comment.
22451         * math/gen-libm-test.pl (parse_args): Apply special handling for
22452         issignaling.
22453         * math/libm-test.inc (print_float, issignaling_test): New
22454         functions.
22455         (check_float_internal): Add issignaling checks.
22456         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22457         default definition.
22458         * sysdeps/powerpc/math-tests.h: New file.
22459         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22460         tests.
22461         * math/test-snan.c (TEST_FUNC): Likewise.
22462
22463 2013-03-30  David S. Miller  <davem@davemloft.net>
22464
22465         * po/de.po: Update from translation team.
22466
22467 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22468
22469         [BZ #10357]
22470         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22471         imaginary part less than 1.0 and real part less than 0.5
22472         specially.
22473         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22474         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22476         (cacos_test): Add more tests.
22477         (casin_test): Likewise.
22478         (casinh_test): Likewise.
22479         * sysdeps/i386/fpu/libm-test-ulps: Update.
22480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22481
22482 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22483
22484         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22485         ONE with its value.
22486
22487         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22488         (__pow_mp): Replace ONE and MONE with their values.
22489         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22491         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22492         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22493         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22495
22496         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22497
22498         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22499         (__pow_mp): Replace ZERO and MZERO with their values.
22500         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22502         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22504         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22505         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22506         (__sqr): Likewise.
22507
22508         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22509
22510         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22511
22512 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22513
22514         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22515         Declare with __attribute__ ((weak)).
22516         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22517         Call __call_tls_dtors only if it's not NULL.
22518
22519 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22520
22521         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22522         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22523         magic __ehdr_start linker symbol if it's defined.
22524         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22525         them up here if it was already done.
22526
22527         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22528         (_dl_aux_init): Use const in cast when setting it.
22529         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22530         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22531         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22532
22533         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22534         Declare them here.
22535         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22536         * csu/libc-tls.c: Nor here.
22537         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22538
22539         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22540         (__libc_message): Never call vsyslog.
22541
22542 2013-03-28  Alan Modra  <amodra@gmail.com>
22543
22544         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22545         Define as empty.
22546         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22547         Likewise.
22548
22549 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22550
22551         [BZ #15214]
22552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22553         underflow.
22554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22555
22556 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22557
22558         [BZ #15304]
22559         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22560         Don't add gid passed as argument.
22561
22562         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22563
22564 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22565
22566         [BZ #15307]
22567         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22568         imaginary part between 1.0 and 1.5 and real part less than 0.5
22569         specially.
22570         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22571         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22572         * math/libm-test.inc (cacos_test): Add more tests.
22573         (casin_test): Likewise.
22574         (casinh_test): Likewise.
22575         * sysdeps/i386/fpu/libm-test-ulps: Update.
22576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22577
22578 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22579
22580         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22581         constants.
22582         (norm): Likewise.
22583         (denorm): Likewise.
22584         (__dbl_mp): Likewise.
22585         (add_magnitudes): Likewise.
22586         (sub_magnitudes): Likewise.
22587         (__add): Likewise.
22588         (__sub): Likewise.
22589         (__mul): Likewise.
22590         (__sqr): Likewise.
22591         (__inv): Likewise.
22592         (__dvd): Likewise.
22593
22594         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22595         commented code.
22596         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22597         (__dubcos): Likewise.
22598         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22599         (__ieee754_acos): Likewise.
22600         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22601         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22602         (__exp1): Likewise.
22603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22605         (log1): Likewise.
22606         (my_log2): Likewise.
22607         (checkint): Likewise.
22608         * sysdeps/ieee754/dbl-64/e_remainder.c
22609         (__ieee754_remainder): Likewise.
22610         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22612         (bsloww): Likewise.
22613         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22614
22615         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22616         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22617         MANTISSA_STORE_T to store computations on mantissa.  Use
22618         macros for rounding and division.
22619         (denorm): Likewise.
22620         (__dbl_mp): Likewise.
22621         (add_magnitudes): Likewise.
22622         (sub_magnitudes): Likewise.
22623         (__mul): Likewise.
22624         (__sqr): Likewise.
22625         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22626         powers of two in terms of TWOPOW macro.
22627         (mp_no): Make type of mantissa as MANTISSA_T.
22628         [!RADIXI]: Define RADIXI.
22629         [!TWO52]: Define TWO52.
22630         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22631
22632 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22633
22634         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22635         llroundl symbol when building for PPC32.
22636
22637 2013-03-24  Mark H Weaver  <mhw@netris.org>
22638
22639         * manual/arith.texi (Normalization Functions): Fix prototypes for
22640         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22641
22642 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22643
22644         [BZ #13889]
22645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22646         high value to check if expl overflow.
22647         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22648         to check for underflow and overflow.
22649         * math/libm-test.inc: Add exp test.
22650
22651 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22652
22653         [BZ #11120]
22654         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22655         with NOT_IN_libc.
22656
22657 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22658
22659         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22660         symbol.
22661
22662 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22663
22664         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22665         wrap blocks consisting of several statements.
22666
22667         * sysdeps/generic/math-tests.h: New file.
22668         * sysdeps/i386/fpu/math-tests.h: Likewise.
22669         * math/test-snan.c: Include it.
22670         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22671
22672 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22673
22674         [BZ #15285]
22675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22676         (__ieee754_j0l): Do not improve calculations using cos of twice
22677         input for inputs above LDBL_MAX / 2.0L.
22678         (__ieee754_y0l): Likewise.
22679         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22680         (__ieee754_j1l): Do not improve calculations using cos of twice
22681         input for inputs above LDBL_MAX / 2.0L.
22682         (__ieee754_y1l): Likewise.
22683         * math/libm-test.inc (j0_test): Add another test.
22684         (j1_test): Likewise.
22685         (y0_test): Likewise.
22686         (y1_test): Likewise.
22687         * sysdeps/i386/fpu/libm-test-ulps: Update.
22688
22689 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22690
22691         * Rules ($(objpfx)bench-%.c): Include code from a C source
22692         file.
22693
22694 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22695
22696         [BZ #15287]
22697         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22698         imaginary part 1.0 and real part less than 0.5 specially.
22699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22701         * math/libm-test.inc (cacos_test): Add more tests.
22702         (casin_test): Likewise.
22703         (casinh_test): Likewise.
22704         * sysdeps/i386/fpu/libm-test-ulps: Update.
22705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22706
22707 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22708
22709         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22710         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22711
22712 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22713
22714         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22715         * config.make.in (config-cflags-sse4): Remove variable.
22716         (config-cflags-avx): Likewise.
22717         (config-cflags-sse2avx): Likewise.
22718         (config-cflags-novzeroupper): Likewise.
22719         (config-asflags-i686): Likewise.
22720         (have-mfma4): Likewise.
22721         (have-as-vis3): Likewise.
22722         (MIG): Likewise.
22723         * configure.in (MIG): Do not AC_SUBST.
22724         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22725         (libc_cv_cc_sse4): Do not AC_SUBST.
22726         (libc_cv_cc_avx): Likewise.
22727         (libc_cv_cc_sse2avx): Likewise.
22728         (libc_cv_cc_novzeroupper): Likewise.
22729         (libc_cv_cc_fma4): Likewise.
22730         (libc_cv_as_i686): Likewise.
22731         (libc_cv_sparc_as_vis3): Likewise.
22732         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22733         LIBC_CONFIG_VAR.
22734         (config-asflags-i686): Likewise.
22735         (config-cflags-avx): Likewise.
22736         (config-cflags-sse2avx): Likewise.
22737         (have-mfma4): Likewise.
22738         (config-cflags-novzeroupper): Likewise.
22739         * sysdeps/mach/configure.in (MIG): Likewise.
22740         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22741         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22742         LIBC_CONFIG_VAR.
22743         (config-cflags-avx): Likewise.
22744         (config-cflags-sse2avx): Likewise.
22745         (have-mfma4): Likewise.
22746         (config-cflags-novzeroupper): Likewise.
22747         * configure: Regenerated.
22748         * sysdeps/i386/configure: Likewise.
22749         * sysdeps/mach/configure: Likewise.
22750         * sysdeps/sparc/configure: Likewise.
22751         * sysdeps/x86_64/configure: Likewise.
22752
22753 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22754
22755         [BZ #14812]
22756         * locale/programs/localedef.c (options): Put N_ translation marker
22757         on argument names, not just descriptions.
22758
22759 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22760
22761         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22762
22763 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22764
22765         [BZ #14176]
22766         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22767
22768 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22769
22770         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22771         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22772         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22773         [!BEFORE_ABORT] (before_abort): New function.
22774         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22775         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22776         (writev_for_fatal): New function.
22777         (WRITEV_FOR_FATAL): New macro; call that.
22778         (backtrace_and_maps): New function.
22779         (BEFORE_ABORT): New macro; call that.
22780         (struct str_list): Type removed.
22781         (__libc_message, __libc_fatal): Functions removed.
22782         Include <sysdeps/posix/libc_fatal.c> instead.
22783
22784 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22785
22786         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22787         constants.
22788         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22789         double constants.
22790
22791 2013-03-19  Andreas Schwab  <schwab@suse.de>
22792
22793         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22794         * sysdeps/gnu/configure: Regenerate.
22795
22796         * configure.in: Substitute libc_cv_rtlddir.
22797         * configure: Regenerate.
22798         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22799         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22800         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22801         * elf/Makefile (install-others, CFLAGS-interp.c)
22802         (ldso_install, common-ldd-rewrite): Likewise.
22803         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22804         $(inst_slibdir)/$(rtld-installed-name).
22805         * scripts/rellns-sh: Add -p option.
22806         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22807         for source.
22808
22809 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22810
22811         * manual/nptl.texi: Renamed to ...
22812         * manual/threads.texi: ... this.
22813         * manual/Makefile (chapters): Update.
22814
22815 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22816
22817         [BZ #14812]
22818         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22819         on argument names, not just descriptions.
22820         * malloc/memusagestat.c (options): Likewise.
22821         * nss/getent.c (options): Likewise.
22822
22823 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22824
22825         [BZ #14812]
22826         * iconv/iconv_prog.c (options): Put N_ translation marker
22827         on argument names, not just descriptions.
22828         * iconv/iconvconfig.c (options): Likewise.
22829
22830 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22831
22832         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22833         implementation which is faster on all x86_64 architectures.
22834         Tested on AMD, Intel Nehalem, SNB, IVB.
22835         * sysdeps/x86_64/strnlen.S: Likewise.
22836
22837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22838         Remove all multiarch strlen and strnlen versions.
22839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22840         Remove strlen and strnlen related parts.
22841
22842         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22843         Inline strlen part.
22844         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22845
22846         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22847         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22848         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22849         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22850         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22851         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22852
22853 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22854
22855         * manual/memory.texi (Malloc Tunable Parameters):
22856         Sort parameters alphabetically. Add comments for missing entries.
22857
22858 2013-03-17  David S. Miller  <davem@davemloft.net>
22859
22860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22861
22862 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22863
22864         [BZ #15283]
22865         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22866         for arguments at most half maximum finite value.
22867         * math/libm-test.inc (j0_test): Add more tests.
22868         (j1_test): Likewise.
22869         (y0_test): Likewise.
22870         (y1_test): Likewise.
22871         * sysdeps/i386/fpu/libm-test-ulps: Update.
22872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22873
22874         [BZ #14155]
22875         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22876         1 / x and functions P and Q for arguments above 0x1p256L.
22877         (__ieee754_y0l): Likewise.
22878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22879         (__ieee754_y1l): Likewise.
22880         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22881         (j1_test): Likewise.
22882         (y0_test): Likewise.
22883         (y1_test): Likewise.
22884
22885 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22886
22887         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22888         variable.
22889
22890 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22891
22892         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22893         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22894         zero since it's initialized to EXEC_PAGESIZE.
22895
22896         * sysdeps/unix/sysv/linux/ldsodefs.h
22897         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22898         * sysdeps/generic/ldsodefs.h: ... here.
22899
22900 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22901
22902         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22903
22904         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22905         math/test-snan.c.
22906         * math/test-snan.c: Renamed from
22907         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22908         * math/Makefile (tests): Add test-snan.
22909         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22910         test-powerpc-snan.
22911
22912         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22913         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22914         functions.
22915         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22916         __builtin_nan family of functions.
22917         * math/libm-test.inc (initialize): Initialize qnan_value with
22918         __builtin_nan family of functions.
22919         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22920         Remove variables.
22921         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22922         Remove functions.
22923         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22924         storage class.  Initialize qNaN_var and sNaN_var with
22925         __builtin_nan and __builtin_nans families of functions,
22926         respectively.
22927
22928         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22929         (sqrt_test): Remove duplicate test with qNaN input.
22930         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22931         (round_test, signbit_test, significand_test): Note missing +/-Inf
22932         as well as qNaN tests.
22933
22934         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22935         qNaN_var.  Fix a few strings, too.
22936         * math/libm-test.inc (nan_value): Rename to qnan_value.
22937         * math/gen-libm-test.pl (%beautify): Adjust to that.
22938         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22939         * math/test-misc.c (main): Likewise.
22940         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22941         to __qnan_bytes, and __qnan_union, respectively.
22942         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22943         Likewise.
22944         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22945         and lqnanval, respectively.
22946         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22947         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22948         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22949         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22950
22951         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22952         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22953         doubles.
22954
22955         * math/test-misc.c (main): Fix copy'n'pastos.
22956         * misc/tst-efgcvt.c (special): Likewise.
22957
22958         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22959         Remove declarations.
22960
22961 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22962
22963         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22964         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22965         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22966         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22967
22968 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22969
22970         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22971         macro to return vdso values correctly in IFUNC implementations.
22972         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22973         Optimization by using IFUNC.
22974
22975 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22976             Richard Henderson  <rth@redhat.com>
22977             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22978
22979         * Makefile.in (bench): New target.
22980         * NEWS: Mention the benchmark framework.
22981         * Rules (bench): Likewise.
22982         (binaries-bench): Generate binaries for functions to
22983         benchmark.
22984         * benchtests/Makefile: New makefile for benchmark tests.
22985         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22986         programs.
22987         * benchtests/exp-inputs: New input file for EXP function.
22988         * benchtests/pow-inputs: New input file for POW function.
22989         * scripts/bench.pl: New script to generate source files for
22990         benchmark programs.
22991
22992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22993
22994         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22995         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22996         computations on mantissa.  Use macros for rounding and
22997         division.
22998         (denorm): Likewise.
22999         (__dbl_mp): Likewise.
23000         (add_magnitudes): Likewise.
23001         (sub_magnitudes): Likewise.
23002         (__mul): Likewise.
23003         (__sqr): Likewise.
23004         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23005         powers of two in terms of TWOPOW macro.
23006         (mp_no): Make type of mantissa as MANTISSA_T.
23007         [!RADIXI]: Define RADIXI.
23008         [!TWO52]: Define TWO52.
23009         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23010
23011         * manual/nptl.texi (cindex): Modify threads to pthreads.
23012
23013 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23014
23015         * sysdeps/x86_64/preconfigure: Regenerated.
23016
23017 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23018
23019         [BZ #14155]
23020         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23021         0x1p28 and above.
23022         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23023         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23024         0x1p28 and above.
23025         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23026         * math/libm-test.inc (j0_test): Do not allow one spurious
23027         underflow exception.
23028         (y1_test): Likewise.
23029
23030 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23031
23032         * manual/Makefile (chapters): Add nptl.
23033         * manual/debug.texi (Debugging Support): Add link to Threads
23034         chapter.
23035         * manual/nptl.texi: New file.
23036
23037         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23038
23039 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23040
23041         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23042         for non-NULL pointer before the memory validity test. Pointed
23043         out by Holger Brunck <holger.brunck@keymile.com>.
23044
23045 2013-03-13  Andreas Schwab  <schwab@suse.de>
23046
23047         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23048         instead of .os.
23049
23050 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23051
23052         * timezone/zic.c: Update from tzcode 2013b.
23053
23054 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23055
23056         * manual/install.texi (Configuring and compiling):
23057         Mention i686 and i586.
23058         * INSTALL: Regenerate.
23059
23060 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23061
23062         * sysdeps/init_array/elf-init.c: New file.
23063         * csu/elf-init.c
23064         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23065         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23066
23067         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23068         __gmon_start__ as global, but as static with a .preinit_array pointer.
23069         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23070         * sysdeps/init_array/crti.S: New file, empty except for comments.
23071         * sysdeps/init_array/crtn.S: Likewise.
23072
23073 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23074
23075         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23076         definining bcopy.
23077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23078         Remove Prefer_SSE_for_memop.
23079         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23080         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23081         HAS_PREFER_SSE_FOR_MEMOP.
23082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23083         memset-x86-64.
23084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23085         Remove bzero, memset ifunc support.
23086         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23087         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23088         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23089         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23090
23091 2013-03-11  Andreas Schwab  <schwab@suse.de>
23092
23093         [BZ #15234]
23094         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23095         by SHLIB_COMPAT.
23096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23097         (GLIBC_2.16): Remove pthread_atfork.
23098
23099 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23100
23101         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23102         (ptestcases.h): Likewise.
23103
23104 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23105
23106         * Makeconfig ($(common-objpfx)config.status): Depend on
23107         sysdeps/*/preconfigure{,.in} too.
23108
23109 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23110
23111         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23112         (__free_hook): Use void * instead of __malloc_ptr_t.
23113         (__malloc_hook): Likewise.
23114         (__realloc_hook): Likewise.
23115         (__memalign_hook): Likewise.
23116         (__after_morecore_hook): Likewise.
23117         * malloc/arena.c (save_malloc_hook): Likewise.
23118         (save_free_hook): Likewise.
23119         * malloc/hooks.c (malloc_hook_ini): Likewise.
23120         (realloc_hook_ini): Likewise.
23121         (memalign_hook_ini): Likewise.
23122         * malloc/malloc.c (malloc_hook_ini): Likewise.
23123         (realloc_hook_ini): Likewise.
23124         (memalign_hook_ini): Likewise.
23125         (__free_hook): Likewise.
23126         (__malloc_hook): Likewise.
23127         (__realloc_hook): Likewise.
23128         (__memalign_hook): Likewise.
23129         (__libc_malloc): Likewise.
23130         (__libc_free): Likewise.
23131         (__libc_realloc): Likewise.
23132         (__libc_memalign): Likewise.
23133         (__libc_valloc): Likewise.
23134         (__libc_pvalloc): Likewise.
23135         (__libc_calloc): Likewise.
23136         (__posix_memalign): Likewise.
23137         * malloc/morecore.c (__sbrk): Likewise.
23138         (__default_morecore): Likewise.
23139
23140         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23141
23142         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23143         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23144         __malloc_ptrdiff_t.
23145
23146         * malloc/malloc.h (__malloc_size_t): Remove macro.
23147         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23148         __malloc_size_t.
23149         (old_memalign_hook): Likewise.
23150         (old_realloc_hook): Likewise.
23151         (struct hdr): Likewise.
23152         (flood): Likewise.
23153         (mallochook): Likewise.
23154         (memalignhook): Likewise.
23155         (reallochook): Likewise.
23156         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23157         (tr_old_realloc_hook): Likewise.
23158         (tr_old_memalign_hook): Likewise.
23159         (tr_mallochook): Likewise.
23160         (tr_reallochook): Likewise.
23161         (tr_memalignhook): Likewise.
23162
23163 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23164
23165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23166         default_ldbl_pack and using as default implementation.
23167         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23168         implementation.
23169         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23170         redundant definition.
23171         (ldbl_insert_mantissa): Likewise.
23172         (ldbl_canonicalize): Likewise.
23173         (ldbl_nearbyint): Likewise.
23174         (ldbl_pack): Rename to ldbl_pack_ppc.
23175         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23176         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23177         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23178
23179 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23180
23181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23182         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23183         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23184         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23186         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23187         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23188         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23189
23190 2013-03-07  Andreas Jaeger  <aj@suse.de>
23191
23192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23193         bits/mman-linux.h.
23194
23195 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23196
23197         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23198         Include mpa.h and declare __MPEXP.
23199         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23200         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23201         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23202         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23204         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23205         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23206
23207         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23208         (__slowpow): Use long double EXPL and LOGL functions to
23209         compute POW.
23210         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23211         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23212         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23214         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23216
23217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23218         intermediate variable to calculate exponent.
23219         (__sqr): Likewise.
23220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23221         Likewise.
23222         (__sqr): Likewise.
23223
23224         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23225         [!NO__SQR]: Define __sqr.
23226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23227         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23228         sysdeps/ieee754/dbl-64/mpa.c.
23229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23230
23231         [BZ #12723]
23232         * posix/Makefile (tests): Add tst-pathconf.
23233         * posix/tst-pathconf.c: New test case.
23234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23235         _PC_PIPE_BUF.
23236         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23237
23238 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23239
23240         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23241
23242 2013-03-06  Andreas Jaeger  <aj@suse.de>
23243
23244         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23245         definition via __MAP_ANONYMOUS.
23246
23247         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23248         it's not part of Linux headers.
23249
23250         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23251         (MAP_HUGE_MASK): Define.
23252
23253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23254         Define.
23255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23257         Define.
23258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23259         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23260         Define.
23261         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23262         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23263         Define.
23264         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23265
23266         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23267         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23268         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23269         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23270         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23271         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23272
23273         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23274         Handle f2fs.
23275
23276         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23277         Handle f2fs and efivarfs.
23278
23279         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23280         f2fs.
23281
23282         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23283         (EFIVARFS_MAGIC): Add.
23284         (F2FS_LINK_MAX): Add.
23285
23286 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23287
23288         * stdio-common/vfprintf.c: Replace __builtin_expect with
23289         __glibc_unlikely.
23290
23291 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23292
23293         [BZ #13550]
23294         * sysdeps/generic/bp-sym.h: Remove file.
23295         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23296         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23297         <bp-sym.h> and <bp-asm.h>.
23298         (__longjmp): Don't use BP_SYM.
23299         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23300         and <bp-asm.h>.
23301         (memcpy): Don't use BP_SYM.
23302         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23303         <bp-sym.h> and <bp-asm.h>.
23304         (memcpy): Don't use BP_SYM.
23305         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23306         <bp-asm.h>.
23307         (memcpy): Don't use BP_SYM.
23308         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23309         <bp-asm.h>.
23310         (memset): Don't use BP_SYM.
23311         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23312         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23313         (__bzero): Don't use BP_SYM.
23314         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23315         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23316         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23317         <bp-sym.h> and <bp-asm.h>.
23318         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23319         pointers.
23320         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23321         <bp-sym.h> and <bp-asm.h>.
23322         (memcpy): Don't use BP_SYM.
23323         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23324         <bp-sym.h> and <bp-asm.h>.
23325         (memset): Don't use BP_SYM.
23326         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23327         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23328         (__bzero): Don't use BP_SYM.
23329         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23330         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23331         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23332         <bp-sym.h> and <bp-asm.h>.
23333         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23334         pointers.
23335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23336         <bp-sym.h> and <bp-asm.h>.
23337         (memcpy): Don't use BP_SYM.
23338         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23339         <bp-sym.h> and <bp-asm.h>.
23340         (memset): Don't use BP_SYM.
23341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23343         (__bzero): Don't use BP_SYM.
23344         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23345         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23347         <bp-sym.h> and <bp-asm.h>.
23348         (__memchr): Don't use BP_SYM.
23349         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23350         <bp-sym.h> and <bp-asm.h>.
23351         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23352         pointers.
23353         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23354         <bp-sym.h> and <bp-asm.h>.
23355         (memcpy): Don't use BP_SYM.
23356         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23357         <bp-sym.h> and <bp-asm.h>.
23358         (__mempcpy): Don't use BP_SYM.
23359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23360         <bp-sym.h> and <bp-asm.h>.
23361         (__memrchr): Don't use BP_SYM.
23362         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23363         <bp-sym.h> and <bp-asm.h>.
23364         (memset): Don't use BP_SYM.
23365         (__bzero): Likewise.
23366         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23367         <bp-sym.h> and <bp-asm.h>.
23368         (__rawmemchr): Don't use BP_SYM.
23369         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23370         <bp-sym.h> and <bp-asm.h>.
23371         (__STRCMP): Don't use BP_SYM.
23372         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23373         <bp-sym.h> and <bp-asm.h>.
23374         (strchr): Don't use BP_SYM.
23375         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23376         <bp-sym.h> and <bp-asm.h>.
23377         (__strchrnul): Don't use BP_SYM.
23378         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23379         <bp-sym.h> and <bp-asm.h>.
23380         (strlen): Don't use BP_SYM.
23381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23382         <bp-sym.h> and <bp-asm.h>.
23383         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23384         pointers.
23385         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23386         <bp-sym.h> and <bp-asm.h>.
23387         (__strnlen): Don't use BP_SYM.
23388         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23389         <bp-sym.h> and <bp-asm.h>.
23390         (__GI__setjmp): Don't use BP_SYM.
23391         (_setjmp): Likewise.
23392         (__sigsetjmp): Likewise.
23393         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23394         (L(start_addresses)): Don't use BP_SYM.
23395         (_start): Likewise.
23396         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23397         <bp-asm.h>.
23398         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23399         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23400         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23401         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23402         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23403         <bp-asm.h>.
23404         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23405         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23406         about bounded pointers.
23407         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23408         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23409         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23410         <bp-asm.h>.
23411         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23412         about bounded pointers.  Remove GKM FIXME comments.
23413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23414         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23415         <bp-asm.h>.
23416         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23417         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23418         Remove GKM FIXME comments.
23419         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23420         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23421         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23422         <bp-asm.h>.
23423         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23424         about bounded pointers.  Remove GKM FIXME comment.
23425         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23426         and <bp-asm.h>.
23427         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23428         pointers.
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23430         <bp-sym.h> and <bp-asm.h>.
23431         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23433         <bp-sym.h> and <bp-asm.h>.
23434         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23435         comment.
23436
23437 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23438
23439         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23440         call free(NULL).
23441
23442 2013-03-05  David S. Miller  <davem@davemloft.net>
23443
23444         * po/es.po: Update from translation team.
23445
23446 2013-03-05  Andreas Jaeger  <aj@suse.de>
23447
23448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23449         <bits/mman-linux.h>.
23450         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23451         is fine.
23452         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23453         <bits/mman-linux.h> to end of file.
23454         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23455         is fine.
23456         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23457         <bits/mman-linux.h> to end of file.
23458         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23459         is fine.
23460         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23461         <bits/mman-linux.h> to end of file.
23462
23463         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23464         (MCL_CURRENT, MCL_FUTURE): Define here.
23465
23466 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23467
23468         [BZ #15232]
23469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23470         attribute_hidden.
23471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23472
23473 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23474
23475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23476         fourth parameter needed for rt_sigprocmask syscall.
23477         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23478         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23479         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23480         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23481         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23482         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23483
23484 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23485
23486         [BZ #13550]
23487         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23488         comment about bounded pointers.
23489         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23490         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23491
23492 2013-03-04  Andreas Jaeger  <aj@suse.de>
23493
23494         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23495         common definitions.
23496
23497         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23498         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23499         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23500         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23502         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23503
23504 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23505
23506         [BZ #15055]
23507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23508         __ieee754_sqrl instead of __sqrl.
23509
23510 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23511
23512         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23513         * sysdeps/powerpc/fpu_control.h: ... here.
23514         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23515         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23516         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23517         * sysdeps/powerpc/bits/mathinline.h: ... here.
23518
23519 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23520
23521         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23522         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23523         to just [NEED_DL_SYSINFO_DSO].
23524         * elf/dl-support.c: Likewise.
23525         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23526         * elf/rtld.c (dl_main): Likewise.
23527         * elf/setup-vdso.h (setup_vdso): Likewise.
23528         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23529         * sysdeps/unix/sysv/linux/dl-sysdep.c
23530         (_dl_discover_osversion): Likewise.
23531
23532 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23533
23534         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23535         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23536
23537 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23538
23539         * NEWS: Mention libm performance improvements and non-x86 PI
23540         futex support.
23541
23542         * csu/libc-start.c (__pthread_initialize_minimal): Change
23543         function arguments.
23544         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23545
23546 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23547
23548         [BZ #13550]
23549         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23550         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23551         <bp-sym.h> and <bp-asm.h>.
23552         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23553         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23554         and <bp-asm.h>.
23555         (memcpy): Don't use BP_SYM.
23556         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23557         <bp-asm.h>.
23558         (__mpn_add_n): Don't use BP_SYM.
23559         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23560         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23561         and <bp-asm.h>.
23562         (__mpn_addmul_1): Don't use BP_SYM.
23563         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23564         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23565         <bp-sym.h>.
23566         (_setjmp): Don't use BP_SYM.
23567         (__novmx_setjmp): Likewise.
23568         (__GI__setjmp): Likewise.
23569         (__vmx_setjmp): Likewise.
23570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23571         <bp-sym.h>.
23572         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23573         (__bzero): Don't use BP_SYM.
23574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23576         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23577         <bp-sym.h> and <bp-asm.h>.
23578         (memcpy): Don't use BP_SYM.
23579         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23580         <bp-sym.h> and <bp-asm.h>.
23581         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23583         <bp-sym.h> and <bp-asm.h>.
23584         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23585         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23586         <bp-asm.h>.
23587         (__mpn_lshift): Don't use BP_SYM.
23588         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23589         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23590         <bp-asm.h>.
23591         (memset): Don't use BP_SYM.
23592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23594         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23595         <bp-asm.h>.
23596         (__mpn_mul_1): Don't use BP_SYM.
23597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23598         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23599         <bp-sym.h> and <bp-asm.h>.
23600         (memcmp): Don't use BP_SYM.
23601         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23602         <bp-sym.h> and <bp-asm.h>.
23603         (memcpy): Don't use BP_SYM.
23604         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23605         <bp-sym.h> and <bp-asm.h>.
23606         (memset): Don't use BP_SYM.
23607         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23608         <bp-sym.h> and <bp-asm.h>.
23609         (strncmp): Don't use BP_SYM.
23610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23611         <bp-sym.h> and <bp-asm.h>.
23612         (memcpy): Don't use BP_SYM.
23613         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23614         <bp-sym.h> and <bp-asm.h>.
23615         (memset): Don't use BP_SYM.
23616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23617         <bp-sym.h> and <bp-asm.h>.
23618         (__memchr): Don't use BP_SYM.
23619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23620         <bp-sym.h> and <bp-asm.h>.
23621         (memcmp): Don't use BP_SYM.
23622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23623         <bp-sym.h> and <bp-asm.h>.
23624         (memcpy): Don't use BP_SYM.
23625         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23626         <bp-sym.h> and <bp-asm.h>.
23627         (__mempcpy): Don't use BP_SYM.
23628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23629         <bp-sym.h> and <bp-asm.h>.
23630         (__memrchr): Don't use BP_SYM.
23631         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23632         <bp-sym.h> and <bp-asm.h>.
23633         (memset): Don't use BP_SYM.
23634         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23635         <bp-sym.h> and <bp-asm.h>.
23636         (__rawmemchr): Don't use BP_SYM.
23637         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23638         <bp-sym.h> and <bp-asm.h>.
23639         (__STRCMP): Don't use BP_SYM.
23640         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23641         <bp-sym.h> and <bp-asm.h>.
23642         (strchr): Don't use BP_SYM.
23643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23644         <bp-sym.h> and <bp-asm.h>.
23645         (__strchrnul): Don't use BP_SYM.
23646         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23647         <bp-sym.h> and <bp-asm.h>.
23648         (strlen): Don't use BP_SYM.
23649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23650         <bp-sym.h> and <bp-asm.h>.
23651         (strncmp): Don't use BP_SYM.
23652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23653         <bp-sym.h> and <bp-asm.h>.
23654         (__strnlen): Don't use BP_SYM.
23655         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23656         <bp-asm.h>.
23657         (__mpn_rshift): Don't use BP_SYM.
23658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23659         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23660         <bp-sym.h> and <bp-asm.h>.
23661         (__sigsetjmp): Don't use BP_SYM.
23662         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23663         (L(start_addresses)): Don't use BP_SYM.
23664         (_start): Likewise.
23665         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23666         <bp-asm.h>.
23667         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23668         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23669         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23670         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23671         <bp-asm.h>.
23672         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23673         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23674         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23675         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23676         <bp-asm.h>.
23677         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23678         comments.
23679         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23680         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23681         <bp-asm.h>.
23682         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23683         FIXME comments.
23684         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23685         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23686         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23687         <bp-asm.h>.
23688         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23689         comment.
23690         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23691         and <bp-asm.h>.
23692         (strncmp): Don't use BP_SYM,
23693         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23694         <bp-asm.h>.
23695         (__mpn_sub_n): Don't use BP_SYM.
23696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23697         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23698         and <bp-asm.h>.
23699         (__mpn_submul_1): Don't use BP_SYM.
23700         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23702         <bp-sym.h> and <bp-asm.h>.
23703         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23705         <bp-sym.h> and <bp-asm.h>.
23706         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23707         comment.
23708
23709 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23710
23711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23712         Use ZK to minimize writes to Z.
23713         (sub_magnitudes): Simplify code a bit.
23714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23715         Use ZK to minimize writes to Z.
23716         (sub_magnitudes): Simplify code a bit.
23717
23718 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23719
23720         * csu/gmon-start.c: Add special exception to license text.
23721
23722 2013-02-27  Richard Henderson  <rth@redhat.com>
23723
23724         * scripts/config.guess: Update from config.git.
23725         * scripts/config.sub: Likewise.
23726
23727 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23728
23729         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23730
23731         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23732
23733         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23734
23735         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23736
23737         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23738
23739 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23740
23741         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23742         [$(build-shared = yes].
23743
23744 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23745
23746         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23747         (__mul): Reduce iterations for calculating mantissa.
23748
23749         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23750         MPTWO.
23751         (__mpranred): Likewise.
23752
23753         [BZ #15160]
23754         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23755         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23756
23757 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23758
23759         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23760         Define __attribute__.
23761
23762 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23763
23764         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23765         unused.
23766         * posix/regex_internal.h (__attribute): Remove.
23767         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23768         (re_string_context_at): Likewise.
23769         (bitset_not): Use __attribute__ and mark function as possibly
23770         unused.
23771         (bitset_merge): Likewise.
23772         (bitset_mask): Likewise.
23773         (re_string_char_size_at): Likewise.
23774         (re_string_wchar_at): Likewise.
23775         (re_string_elem_size_at): Likewise.
23776
23777 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23778
23779         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23780         code.
23781         (cc32): Likewise.
23782
23783         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23784         (__acr): Likewise.
23785         (__cpy): Likewise.
23786         (norm): Likewise.
23787         (denorm): Likewise.
23788         (__dbl_mp): Likewise.
23789         (add_magnitudes): Likewise.
23790         (sub_magnitudes): Likewise.
23791         (__mul): Likewise.
23792         (__inv): Likewise.
23793
23794         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23795         style.
23796
23797         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23798         style.
23799
23800         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23801         code.
23802
23803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23804         up changes with default code.
23805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23806         Likewise.
23807
23808 2013-02-24  Allan McRae  <allan@archlinux.org>
23809
23810         * manual/socket.texi (The Internet Namespace): Order menu items
23811         to match that in the file.
23812
23813         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23814         node listing of the info page menu.
23815
23816 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23817
23818         [BZ #13550]
23819         * sysdeps/i386/bp-asm.h: Remove file.
23820         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23821         (PARMS): Do not use macros from bp-asm.h.
23822         (S1): Likewise.
23823         (S2): Likewise.
23824         (SIZE): Likewise.
23825         (__mpn_add_n): Do not use BP_SYM
23826         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23827         "bp-asm.h".
23828         (PARMS): Do not use macros from bp-asm.h.
23829         (S1): Likewise.
23830         (SIZE): Likewise.
23831         (__mpn_addmul_1): Do not use BP_SYM
23832         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23833         "bp-asm.h".
23834         (PARMS): Do not use macros from bp-asm.h.
23835         (SIGMSK): Likewise.
23836         (_setjmp): Likewise.  Do not use BP_SYM.
23837         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23838         "bp-asm.h".
23839         (PARMS): Do not use macros from bp-asm.h.
23840         (SIGMSK): Likewise.
23841         (setjmp): Likewise.  Do not use BP_SYM.
23842         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23843         "bp-asm.h".
23844         (PARMS): Do not use macros from bp-asm.h.
23845         (__frexp): Do not use BP_SYM.
23846         (frexp): Likewise.
23847         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23848         "bp-asm.h".
23849         (PARMS): Do not use macros from bp-asm.h.
23850         (__frexpf): Do not use BP_SYM.
23851         (frexpf): Likewise.
23852         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23853         "bp-asm.h".
23854         (PARMS): Do not use macros from bp-asm.h.
23855         (__frexpl): Do not use BP_SYM.
23856         (frexpl): Likewise.
23857         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23858         "bp-asm.h".
23859         (PARMS): Do not use macros from bp-asm.h.
23860         (__remquo): Do not use BP_SYM.
23861         (remquo): Likewise.
23862         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23863         "bp-asm.h".
23864         (PARMS): Do not use macros from bp-asm.h.
23865         (__remquof): Do not use BP_SYM.
23866         (remquof): Likewise.
23867         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23868         "bp-asm.h".
23869         (PARMS): Do not use macros from bp-asm.h.
23870         (__remquol): Do not use BP_SYM.
23871         (remquol): Likewise.
23872         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23873         "bp-asm.h".
23874         (PARMS): Do not use macros from bp-asm.h.
23875         (DEST): Likewise.
23876         (SRC): Likewise.
23877         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23878         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23879         "bp-asm.h".
23880         (PARMS): Do not use macros from bp-asm.h.
23881         (strlen): Do not use BP_SYM.
23882         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23883         "bp-asm.h".
23884         (PARMS): Do not use macros from bp-asm.h.
23885         (S1): Likewise.
23886         (S2): Likewise.
23887         (SIZE): Likewise.
23888         (__mpn_add_n): Do not use BP_SYM.
23889         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23890         "bp-asm.h".
23891         (PARMS): Do not use macros from bp-asm.h.
23892         (S1): Likewise.
23893         (SIZE): Likewise.
23894         (__mpn_addmul_1): Do not use BP_SYM.
23895         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23896         weak_alias.
23897         (bzero): Likewise.
23898         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23899         "bp-asm.h".
23900         (PARMS): Do not use macros from bp-asm.h.
23901         (S): Likewise.
23902         (SIZE): Likewise.
23903         (__mpn_lshift): Do not use BP_SYM.
23904         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23905         "bp-asm.h".
23906         (PARMS): Do not use macros from bp-asm.h.
23907         (DEST): Likewise.
23908         (SRC): Likewise.
23909         (LEN): Likewise.
23910         (memcpy): Likewise.  Do not use BP_SYM.
23911         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23912         libc_hidden_def and weak_alias.
23913         (mempcpy): Do not use BP_SYM in weak_alias.
23914         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23915         "bp-asm.h".
23916         (PARMS): Do not use macros from bp-asm.h.
23917         (DEST): Likewise.
23918         (LEN): Likewise.
23919         [!BZERO_P] (CHR): Likewise.
23920         (memset): Likewise.  Do not use BP_SYM.
23921         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23922         "bp-asm.h".
23923         (PARMS): Do not use macros from bp-asm.h.
23924         (S1): Likewise.
23925         (SIZE): Likewise.
23926         (__mpn_mul_1): Do not use BP_SYM.
23927         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23928         "bp-asm.h".
23929         (PARMS): Do not use macros from bp-asm.h.
23930         (S): Likewise.
23931         (SIZE): Likewise.
23932         (__mpn_rshift): Do not use BP_SYM.
23933         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23934         "bp-asm.h".
23935         (PARMS): Do not use macros from bp-asm.h.
23936         (STR): Likewise.
23937         (CHR): Likewise.
23938         (strchr): Likewise.  Do not use BP_SYM.
23939         (index): Do not use BP_SYM in weak_alias.
23940         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23941         "bp-asm.h".
23942         (PARMS): Do not use macros from bp-asm.h.
23943         (DEST): Likewise.
23944         (SRC): Likewise.
23945         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23946         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23947         "bp-asm.h".
23948         (PARMS): Do not use macros from bp-asm.h.
23949         (strlen): Do not use BP_SYM.
23950         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23951         "bp-asm.h".
23952         (PARMS): Do not use macros from bp-asm.h.
23953         (S1): Likewise.
23954         (S2): Likewise.
23955         (SIZE): Likewise.
23956         (__mpn_sub_n): Do not use BP_SYM.
23957         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23958         "bp-asm.h".
23959         (PARMS): Do not use macros from bp-asm.h.
23960         (S1): Likewise.
23961         (SIZE): Likewise.
23962         (__mpn_submul_1): Do not use BP_SYM.
23963         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23964         "bp-asm.h".
23965         (PARMS): Do not use macros from bp-asm.h.
23966         (S1): Likewise.
23967         (S2): Likewise.
23968         (SIZE): Likewise.
23969         (__mpn_add_n): Do not use BP_SYM.
23970         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23971         weak_alias.
23972         (bzero): Likewise.
23973         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23974         "bp-asm.h".
23975         (PARMS): Do not use macros from bp-asm.h.
23976         (BLK2): Likewise.
23977         (LEN): Likewise.
23978         (memcmp): Do not use BP_SYM.
23979         (bcmp): Do not use BP_SYM in weak_alias.
23980         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23981         "bp-asm.h".
23982         (PARMS): Do not use macros from bp-asm.h.
23983         (DEST): Likewise.
23984         (SRC): Likewise.
23985         (LEN): Likewise.
23986         (memcpy): Likewise.  Do not use BP_SYM.
23987         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23988         "bp-asm.h".
23989         (PARMS): Do not use macros from bp-asm.h.
23990         (DEST): Likewise.
23991         (SRC): Likewise.
23992         (LEN): Likewise.
23993         (memmove): Likewise.  Do not use BP_SYM.
23994         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23995         "bp-asm.h".
23996         (PARMS): Do not use macros from bp-asm.h.
23997         (DEST): Likewise.
23998         (SRC): Likewise.
23999         (LEN): Likewise.
24000         (__mempcpy): Likewise.  Do not use BP_SYM.
24001         (mempcpy): Do not use BP_SYM in weak_alias.
24002         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24003         "bp-asm.h".
24004         (PARMS): Do not use macros from bp-asm.h.
24005         (DEST): Likewise.
24006         (LEN): Likewise.
24007         [!BZERO_P] (CHR): Likewise.
24008         (memset): Likewise.  Do not use BP_SYM.
24009         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24010         "bp-asm.h".
24011         (PARMS): Do not use macros from bp-asm.h.
24012         (STR2): Likewise.
24013         (strcmp): Do not use BP_SYM.
24014         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24015         "bp-asm.h".
24016         (PARMS): Do not use macros from bp-asm.h.
24017         (STR): Likewise.
24018         (DELIM): Likewise.
24019         [USE_AS_STRTOK_R] (SAVE): Likewise.
24020         (FUNCTION): Likewise.  Do not use BP_SYM.
24021         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24022         aliases.
24023         (strtok_r): Likewise.
24024         (__GI___strtok_r): Likewise.
24025         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24026         (PARMS): Do not use macros from bp-asm.h.
24027         (S): Likewise.
24028         (SIZE): Likewise.
24029         (__mpn_lshift): Do not use BP_SYM.
24030         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24031         (PARMS): Do not use macros from bp-asm.h.
24032         (STR): Likewise.
24033         (CHR): Likewise.
24034         (__memchr): Do not use BP_SYM.
24035         (memchr): Do not use BP_SYM in weak_alias.
24036         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24037         (PARMS): Do not use macros from bp-asm.h.
24038         (BLK2): Likewise.
24039         (LEN): Likewise.
24040         (memcmp): Do not use BP_SYM.
24041         (bcmp): Do not use BP_SYM in weak_alias.
24042         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24043         (PARMS): Do not use macros from bp-asm.h.
24044         (S1): Likewise.
24045         (SIZE): Likewise.
24046         (__mpn_mul_1): Do not use BP_SYM.
24047         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24048         "bp-asm.h".
24049         (PARMS): Do not use macros from bp-asm.h.
24050         (STR): Likewise.
24051         (CHR): Likewise.
24052         (__rawmemchr): Do not use BP_SYM.
24053         (rawmemchr): Do not use BP_SYM in weak_alias.
24054         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24055         (PARMS): Do not use macros from bp-asm.h.
24056         (S): Likewise.
24057         (SIZE): Likewise.
24058         (__mpn_rshift): Do not use BP_SYM.
24059         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24060         (PARMS): Do not use macros from bp-asm.h.
24061         (SIGMSK): Likewise.
24062         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24063         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24064         (_start): Do not use BP_SYM.
24065         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24066         (PARMS): Do not use macros from bp-asm.h.
24067         (DEST): Likewise.
24068         (SRC): Likewise.
24069         (__stpcpy): Likewise.  Do not use BP_SYM.
24070         (stpcpy): Do not use BP_SYM in weak_alias.
24071         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24072         "bp-asm.h".
24073         (PARMS): Do not use macros from bp-asm.h.
24074         (DEST): Likewise.
24075         (SRC): Likewise.
24076         (LEN): Likewise.
24077         (__stpncpy): Likewise.  Do not use BP_SYM.
24078         (stpncpy): Do not use BP_SYM in weak_alias.
24079         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24080         (PARMS): Do not use macros from bp-asm.h.
24081         (STR): Likewise.
24082         (CHR): Likewise.
24083         (strchr): Likewise.  Do not use BP_SYM.
24084         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24085         "bp-asm.h".
24086         (PARMS): Do not use macros from bp-asm.h.
24087         (STR): Likewise.
24088         (CHR): Likewise.
24089         (__strchrnul): Likewise.  Do not use BP_SYM.
24090         (strchrnul): Do not use BP_SYM in weak_alias.
24091         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24092         "bp-asm.h".
24093         (PARMS): Do not use macros from bp-asm.h.
24094         (STOP): Likewise.
24095         (strcspn): Do not use BP_SYM.
24096         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24097         "bp-asm.h".
24098         (PARMS): Do not use macros from bp-asm.h.
24099         (STR): Likewise.
24100         (STOP): Likewise.
24101         (strpbrk): Likewise.  Do not use BP_SYM.
24102         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24103         "bp-asm.h".
24104         (PARMS): Do not use macros from bp-asm.h.
24105         (STR): Likewise.
24106         (CHR): Likewise.
24107         (strrchr): Likewise.  Do not use BP_SYM.
24108         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24109         (PARMS): Do not use macros from bp-asm.h.
24110         (SKIP): Likewise.
24111         (strspn): Do not use BP_SYM.
24112         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24113         (PARMS): Do not use macros from bp-asm.h.
24114         (STR): Likewise.
24115         (DELIM): Likewise.
24116         (SAVE): Likewise.
24117         (FUNCTION): Likewise.  Do not use BP_SYM.
24118         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24119         aliases.
24120         (strtok_r): Likewise.
24121         (__GI___strtok_r): Likewise.
24122         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24123         (PARMS): Do not use macros from bp-asm.h.
24124         (S1): Likewise.
24125         (S2): Likewise.
24126         (SIZE): Likewise.
24127         (__mpn_sub_n): Do not use BP_SYM.
24128         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24129         "bp-asm.h".
24130         (PARMS): Do not use macros from bp-asm.h.
24131         (S1): Likewise.
24132         (SIZE): Likewise.
24133         (__mpn_submul_1): Do not use BP_SYM.
24134         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24135         <bp-sym.h>.
24136         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24137         and <bp-asm.h>.
24138         (PARMS): Do not use macros from bp-asm.h.
24139         (FLAGS): Likewise.
24140         (PTID): Likewise.
24141         (TLS): Likewise.
24142         (CTID): Likewise.
24143         (__clone): Do not use BP_SYM.
24144         (clone): Do not use BP_SYM in weak_alias.
24145         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24146         and <bp-asm.h>.
24147         (PARMS): Do not use macros from bp-asm.h.
24148         (LEN): Likewise.
24149         (__mmap64): Do not use BP_SYM.
24150         (mmap64): Do not use BP_SYM in weak_alias.
24151         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24152         <bp-sym.h> and <bp-asm.h>.
24153         (PARMS): Do not use macros from bp-asm.h.
24154         (__posix_fadvise64_l64): Do not use BP_SYM.
24155         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24156         (PARMS): Do not use macros from bp-asm.h.
24157         (NSOPS): Likewise.
24158         (semtimedop): Do not use BP_SYM.
24159         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24160         and <bp-asm.h>.
24161
24162 2013-02-21  Allan McRae  <allan@archlinux.org>
24163
24164         * manual/message.texi (Charset conversion in gettext):
24165         Move @end statement to beginning of line.
24166
24167 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24168
24169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24170         static.
24171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24172         Likewise.
24173
24174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24175         (denorm): Likewise.
24176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24178
24179 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24180
24181         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24182         tail-call to the resolved function if pltexit isn't needed.
24183
24184 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24185
24186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24187         or Y being zero as being unlikely.
24188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24189         Likewise.
24190
24191 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24192
24193         * manual/nss.texi (System Databases and Name Service Switch):
24194         Remove frobnicate @pxref.
24195
24196 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24197
24198         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24199         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24200
24201 2013-02-20  Petr Machata  <pmachata@redhat.com>
24202
24203         * elf/elf.h (R_ARM_TARGET1): New macro.
24204         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24205         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24206         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24207         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24208         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24209         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24210         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24211         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24212         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24213         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24214         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24215         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24216         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24217         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24218         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24219         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24220         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24221         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24222         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24223         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24224         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24225         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24226         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24227         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24228         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24229         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24230         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24231         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24232         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24233         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24234         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24235         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24236         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24237         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24238         (R_ARM_THM_GOT_BREL12): Likewise.
24239         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24240         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24241         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24242         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24243         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24244         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24245         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24246         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24247         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24248
24249 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24250
24251         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24252         __attribute_used__ to __attribute__ ((unused)).
24253
24254 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24255
24256         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24257         powerpc mpa.c.
24258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24259         comment formatting.
24260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24261
24262 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24263
24264         [BZ #13550]
24265         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24266         Remove macro.
24267         (ENTER): Remove both macro definitions.
24268         (LEAVE): Likewise.
24269         (CHECK_BOUNDS_LOW): Likewise.
24270         (CHECK_BOUNDS_HIGH): Likewise.
24271         (CHECK_BOUNDS_BOTH): Likewise.
24272         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24273         (RETURN_BOUNDED_POINTER): Likewise.
24274         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24275         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24276         (POP_ERRNO_LOCATION_RETURN): Likewise.
24277         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24278         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24279         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24280         macros.
24281         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24282         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24283         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24284         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24285         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24286         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24287         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24288         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24289         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24290         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24291         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24292         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24293         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24294         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24295         removed macros.
24296         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24297         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24298         macros.
24299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24300         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24301         * sysdeps/i386/i586/memset.S (memset): Likewise.
24302         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24303         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24304         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24305         macros.
24306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24307         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24308         Change uses of L(2) to L(out).
24309         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24310         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24311         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24312         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24313         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24314         removed macros.
24315         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24316         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24317         macros.
24318         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24319         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24320         (RETURN): Do not use macro LEAVE.
24321         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24322         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24323         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24324         * sysdeps/i386/i686/memset.S (memset): Likewise.
24325         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24326         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24327         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24328         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24329         Likewise.
24330         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24331         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24332         L(1_2) and L(1_3) into L(1).
24333         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24334         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24335         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24336         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24337         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24338         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24339         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24340         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24341         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24342         macros.
24343         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24344         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24345         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24346         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24347         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24348         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24349         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24350         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24351         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24352         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24353         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24354         * sysdeps/i386/strspn.S (strspn): Likewise.
24355         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24356         conditional code.
24357         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24358         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24359         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24360         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24361         L(1_3) into L(1_1).
24362         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24363         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24364         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24365         macros.
24366         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24367
24368 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24369
24370         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24371         macro.
24372
24373 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24374
24375         * math/atest-exp.c (exp_mpn): Remove ROUND.
24376         * math/atest-exp2.c (exp_mpn): Likewise.
24377         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24378
24379         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24380         * stdlib/tst-tls-atexit-lib.c: Likewise.
24381         * stdlib/tst-tls-atexit.c: Likewise.
24382
24383 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24384
24385         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24386         and __attribute_alloc_size__.
24387
24388 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24389
24390         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24391         __attribute_alloc_size__.
24392         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24393         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24394
24395 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24396
24397         * include/programs/xmalloc.h: New file.
24398         * catgets/gencat.c: Include it.
24399         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24400         * elf/pldd.c: Likewise.
24401         * iconv/iconv_charmap.c: Likewise.
24402         * iconv/iconvconfig.c: Likewise.
24403         * iconv/strtab.c: Likewise.
24404         * locale/programs/locale.c: Likewise.
24405         * locale/programs/localedef.h: Likewise.
24406         * locale/programs/simple-hash.c: Likewise.
24407         * nscd/nscd.h: Likewise.
24408         * nss/makedb.c: Likewise.
24409         * sysdeps/generic/ldconfig.h: Likewise.
24410
24411 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24412
24413         * Versions.def: Add GLIBC_2.18.
24414         * include/link.h (struct link_map): New member l_tls_dtor_count.
24415         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24416         (__call_tls_dtors): Likewise.
24417         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24418         __cxa_thread_atexit_impl.
24419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24420         Likewise.
24421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24422         Likewise.
24423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24424         Likewise.
24425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24426         Likewise.
24427         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24429         Likewise.
24430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24431         Likewise.
24432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24434         Likewise.
24435         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24436         (tests): Add test case tst-tls-atexit.
24437         (modules-names): Add shared library for tst-tls-atexit.
24438         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24439         (GLIBC_PRIVATE): Add __call_tls_dtors.
24440         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24441         for libstdc++.
24442         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24443         * stdlib/tst-tls-atexit.c: New test case.
24444         * stdlib/tst-tls-atexit-lib.c: New test case.
24445
24446         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24447
24448         * elf/Versions (ld): Add _dl_find_dso_for_object.
24449         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24450         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24451         (dl_open_worker): Use _dl_find_dso_for_object.
24452         * elf/dl-sym.c (do_sym): Likewise.
24453         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24454
24455 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24456
24457         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24458         Syntactic changes only.
24459         (_dl_runtime_profile): Do a tail-call to the resolved function.
24460
24461 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24462
24463         [BZ #13550]
24464         * sysdeps/x86_64/bp-asm.h: Remove file.
24465         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24466         <bp-sym.h> and <bp-asm.h>.
24467         (__clone): Do not use BP_SYM.
24468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24469         <bp-sym.h> and <bp-asm.h>.
24470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24471         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24472         "bp-asm.h".
24473         (_setjmp): Do not use BP_SYM.
24474         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24475         "bp-asm.h".
24476         (setjmp): Do not use BP_SYM.
24477         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24478         libc_hidden_def.
24479         (mempcpy): Do not use BP_SYM in weak_alias.
24480         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24481         "bp-asm.h".
24482         (strchr): Do not use BP_SYM.
24483         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24484         "bp-asm.h".
24485         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24486         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24487         (_start): Do not use BP_SYM.
24488         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24489         "bp-asm.h".
24490         (strcat): Do not use BP_SYM.
24491         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24492         "bp-asm.h".
24493         (STRCMP): Do not use BP_SYM.
24494         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24495         "bp-asm.h".
24496         (STRCPY): Do not use BP_SYM.
24497         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24498         "bp-asm.h".
24499         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24500         "bp-asm.h".
24501         (FUNCTION): Do not use BP_SYM.
24502         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24503         weak_alias.
24504         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24505
24506 2013-02-17  Andreas Jaeger  <aj@suse.de>
24507
24508         * time/Versions: Sort entries.
24509         * string/Versions: Likewise.
24510         * resolv/Versions: Likewise.
24511         * posix/Versions: Likewise.
24512         * iconv/Versions: Likewise.
24513         * elf/Versions: Likewise.
24514         * wcsmbs/Versions: Likewise.
24515
24516 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24517
24518         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24519         loop termination condition.
24520
24521         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24522         variable to calculate EZ.
24523         (__sqr): Likewise.
24524
24525         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24526         the lower precision input.
24527
24528 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24529
24530         [BZ #13550]
24531         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24532         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24533         (run-via-rtld-prefix): Do not handle %-bp tests.
24534         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24535         (all-object-suffixes): Remove .ob.
24536         (bppfx): Remove variable.
24537         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24538         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24539         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24540         [$(build-bounded) = yes] (libtype.ob): Likewise.
24541         * Makerules (elide-routines.ob): Remove variable.
24542         (do-tests-clean): Do not handle *-bp.out.
24543         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24544         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24545         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24546         (tests): Do not include $(tests-bp.out).
24547         (xtests): Do not include $(xtests-bp.out).
24548         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24549         [$(build-bounded) = yes] ($(addprefix
24550         $(objpfx),$(binaries-bounded))): Remove rule.
24551         ($(objpfx)%-bp.out): Remove rule.
24552         * config.make.in (build-bounded): Remove variable.
24553         * crypt/Makefile [$(build-bounded) = yes]
24554         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24555         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24556         append to variable.
24557         [$(build-bounded) = yes] (install-lib): Likewise.
24558         [$(build-bounded) = yes] (generated): Likewise.
24559         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24560         Remove rule.
24561         * intl/Makefile [$(build-bounded) = yes]
24562         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24563         * math/Makefile [$(build-bounded) = yes]
24564         ($(tests:%=$(objpfx)%-bp): Likewise.
24565         * misc/Makefile [$(build-bounded) = yes]
24566         ($(objpfx)tst-tsearch-bp): Likewise.
24567         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24568         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24569         Remove dependency.
24570         * string/Makefile (o-objects.ob): Remove variable.
24571         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24572         (CFLAGS-.ob): Remove variable.
24573         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24574         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24575         both definitions of variable.
24576         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24577         (ASFLAGS-.ob): Remove variable.
24578
24579 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24580
24581         [BZ #13550]
24582         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24583         Remove __BOUNDED_POINTERS__ from condition.
24584         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24585         * string/bits/string2.h [!__NO_STRING_INLINES &&
24586         !__BOUNDED_POINTERS__]: Likewise.
24587         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24588         Likewise.
24589         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24590         Remove conditional code.
24591         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24592         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24593         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24594         condition.
24595
24596         [BZ #13550]
24597         * csu/libc-start.c: Do not include <bp-sym.h>.
24598         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24599         * elf/dl-open.c: Do not include <bp-sym.h>.
24600         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24601         * math/fegetenv.c: Do not include <bp-sym.h>.
24602         (fegetenv): Do not use BP_SYM in versioned symbols.
24603         * nptl/sysdeps/pthread/bits/libc-lockP.h
24604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24605         <bp-sym.h>.
24606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24607         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24609         (__pthread_mutex_destroy): Likewise.
24610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24611         (__pthread_mutex_lock): Likewise.
24612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24613         (__pthread_mutex_trylock): Likewise.
24614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24615         (__pthread_mutex_unlock): Likewise.
24616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24617         (__pthread_mutexattr_init): Likewise.
24618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24619         (__pthread_mutexattr_destroy): Likewise.
24620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24621         (__pthread_mutexattr_settype): Likewise.
24622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24623         (__pthread_rwlock_init): Likewise.
24624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24625         (__pthread_rwlock_destroy): Likewise.
24626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24627         (__pthread_rwlock_rdlock): Likewise.
24628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24629         (__pthread_rwlock_tryrdlock): Likewise.
24630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24631         (__pthread_rwlock_wrlock): Likewise.
24632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24633         (__pthread_rwlock_trywrlock): Likewise.
24634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24635         (__pthread_rwlock_unlock): Likewise.
24636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24637         (__pthread_key_create): Likewise.
24638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24639         (__pthread_setspecific): Likewise.
24640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24641         (__pthread_getspecific): Likewise.
24642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24643         Likewise.
24644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24645         (_pthread_cleanup_push_defer): Likewise.
24646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24647         (_pthread_cleanup_pop_restore): Likewise.
24648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24649         (pthread_setcancelstate): Likewise.
24650         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24651         <bp-sym.h>.
24652         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24653         (memchr): Do not use BP_SYM in weak_alias.
24654         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24655         (fegetenv): Do not use BP_SYM in versioned symbols.
24656         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24657         (fesetenv): Do not use BP_SYM in versioned symbols.
24658         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24659         (feupdateenv): Do not use BP_SYM in versioned symbols.
24660         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24661         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24662         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24663         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24664         (open64): Do not use BP_SYM in weak_alias.
24665         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24666         (fegetenv): Do not use BP_SYM in versioned symbols.
24667         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24668         (fesetenv): Do not use BP_SYM in versioned symbols.
24669         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24670         (feupdateenv): Do not use BP_SYM in versioned symbols.
24671         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24672         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24673         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24674         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24675         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24676         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24678         <bp-sym.h>.
24679         (__libc_start_main): Do not use BP_SYM.
24680
24681 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24682
24683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24684         redundant return line.
24685         (norm): Likewise.
24686         (denorm): Likewise.
24687         (dbl_mp): Likewise.
24688         (sub_magnitudes): Likewise.
24689         (__add): Likewise.
24690         (__sub): Likewise.
24691         (__mul): Likewise.
24692         (__inv): Likewise.
24693         (__dvd): Likewise.
24694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24695         (norm): Likewise.
24696         (denorm): Likewise.
24697         (dbl_mp): Likewise.
24698         (sub_magnitudes): Likewise.
24699         (__add): Likewise.
24700         (__sub): Likewise.
24701         (__mul): Likewise.
24702         (__inv): Likewise.
24703         (__dvd): Likewise.
24704
24705         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24706         instead of __mul.
24707         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24708         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24709         (cc32): Likewise.
24710
24711         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24712         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24714         of __mul for squares.
24715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24716         function
24717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24718         Likewise.
24719         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24720         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24721
24722 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24723
24724         [BZ #13550]
24725         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24726         code.
24727         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24728         prototype or function definition.  Rename ubp_* variables and
24729         parameters.  Remove argv definitions conditional on
24730         [__BOUNDED_POINTERS__].
24731         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24732         * elf/dl-runtime.c (_dl_fixup): Likewise.
24733         * include/set-hooks.h (RUN_HOOK): Likewise.
24734         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24735         definition.
24736         * string/strcpy.c (strcpy): Do not use __unbounded.
24737         * sysdeps/generic/frame.h (struct layout): Likewise.
24738         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24739         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24740         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24741         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24742         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24743         (__backtrace): Likewise.
24744         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24745         use __ptrvalue.
24746         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24747         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24748         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24749         Likewise.
24750         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24751         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24753         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24754         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24755         Do not use __unbounded.
24756         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24757         Rename __unboundedrlimits parameter to rlimits in prototype.
24758         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24759         Do not use __unbounded.
24760         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24761         not use __ptrvalue.
24762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24763         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24764         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24765         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24766         __ptrvalue or __unbounded.
24767         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24768         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24769         use __unbounded.
24770         (__new_msgctl): Do not use __ptrvalue.
24771         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24772         __unbounded.
24773         (__libc_msgrcv): Do not use __ptrvalue.
24774         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24775         startup_info): Do not use __unbounded.
24776         (__libc_start_main): Likewise.  Rename ubp_* variables and
24777         parameters.  Remove argv definitions conditional on
24778         [__BOUNDED_POINTERS__].
24779         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24780         __ptrvalue.
24781         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24782         use __unbounded.
24783         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24784         or __ptrvalue.
24785         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24786         use __unbounded.
24787         (__new_shmctl): Do not use __ptrvalue.
24788         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24789         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24790         Likewise.
24791         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24792         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24793         (__libc_sigaction): Likewise.
24794         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24796         Likewise.
24797         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24798
24799 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24800
24801         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24802
24803         * string/mempcpy.c: Implement by calling memcpy.
24804
24805 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24806
24807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24808
24809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24810         evaluation.
24811
24812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24813         values in the mantissa.
24814
24815         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24816         minimize writes to Z.
24817         (sub_magnitudes): Simplify code a bit.
24818
24819 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24820
24821         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24822         from the message.  The linker prefixes all warnings with that already.
24823
24824 2013-02-12  Andreas Schwab  <schwab@suse.de>
24825
24826         [BZ #15078]
24827         * posix/regexec.c (extend_buffers): Add parameter min_len.
24828         (check_matching): Pass minimum needed length.
24829         (clean_state_log_if_needed): Likewise.
24830         (get_subexp): Likewise.
24831         * posix/Makefile (tests): Add bug-regex34.
24832         (bug-regex34-ENV): Define.
24833         * posix/bug-regex34.c: New file.
24834
24835         [BZ #11561]
24836         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24837         elements compare against the byte sequence of it, not its name.
24838         * posix/Makefile (tests): Add bug-regex35.
24839         (bug-regex35-ENV): Define.
24840         * posix/bug-regex35.c: New file.
24841
24842 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24843
24844         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24845         comment.
24846         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24847         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24848         (CHECK_EOL): Add undef.
24849
24850 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24851
24852         * bits/stdlib-bsearch.h: New file.
24853         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24854         * stdlib/stdlib.h: Likewise.
24855
24856 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24857
24858         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24859         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24860         declaration.
24861         * manual/search.texi (Array Search Function): Add missing const in
24862         lfind prototype.
24863         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24864         declaration to use rlim_t.
24865         (Basic Scheduling Functions): Remove erroneous const from
24866         sched_getparam prototype.  Remove erroneous * from
24867         sched_get_priority_max and sched_get_priority_min prototypes.
24868         (Resource Usage): Fix summary @comment on vtimes to refer to
24869         sys/vtimes.h rather than vtimes.h.
24870         Add missing *s in vtimes prototype.
24871         (Limits on Resources): Fix ulimit prototype to return long int.
24872         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24873         prototypes to use long int rather than double.
24874         (BSD Random): Fix initstate and setstate to use char *, not void *.
24875         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24876         prototype to make second argument 'struct aiocb64 *const[]'.
24877         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24878         (Status of AIO Operations): Remove erroneous const in aio_return and
24879         aio_return64 prototypes.
24880         (Synchronizing I/O): Fix sync prototype to return void.
24881         * manual/startup.texi (Suboptions): Remove an erroneous const in
24882         getsubopt prototype.
24883         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24884         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24885         use size_t rather than int.
24886         (Scanning All Users): Likewise for getpwent_r.
24887         (Setting Groups): Add missing const to setgroups prototype.
24888         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24889         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24890         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24891         'const void *' rather than 'const char *'.
24892         (Host Address Functions): Likewise for inet_ntop.
24893         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24894         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24895         ssize_t for return value.
24896         (Sending Data): Likewise for send, sendto, sendmsg.
24897         (Socket Option Functions): Add a missing const in setsockopt prototype.
24898         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24899         use wchar_t for the argument.
24900         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24901         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24902         take no arguments.
24903         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24904         double/float/long double for second argument.
24905         Fix return types of significand, significandf, significandl.
24906         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24907         argument in fchmod prototype.
24908         (File Owner): Use uid_t and gid_t in fchown prototype.
24909         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24910         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24911         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24912         use 'const struct dirent **' as argument types to CMP function pointer
24913         argument.
24914         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24915         (File Times): Fix summary magic @comment for struct utimbuf and utime
24916         to refer to utime.h, not time.h.
24917         * manual/string.texi (Argz Functions): Add missing const in
24918         argz_extract and argz_next prototypes.
24919         (Finding Tokens in a String): Likewise for basename.
24920         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24921         (Copying and Concatenation): Fix typo in wmemmove prototype.
24922         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24923         (Signal Stack): Remove erroneous const in sigstack prototype.
24924         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24925         prototype.
24926         (Simple Calendar Time): Likewise for stime.
24927         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24928         prototype.
24929         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24930         say sys/sysctl.h instead.
24931         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24932         and vsyslog prototypes.
24933
24934 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24935
24936         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24937         Remove.
24938
24939 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24940
24941         * misc/sys/mman.h: Fix typo in mremap comment.
24942
24943 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24944
24945         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24946         the '\0' terminator.
24947
24948 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24949
24950         [BZ #13550]
24951         * debug/segfault.c: Don't include <bp-checks.h>.
24952         * sysdeps/generic/bp-checks.h: Remove file.
24953         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24954         (__GETDENTS): Don't use CHECK_N.
24955         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24956         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24957         (__getgroups): Don't use CHECK_N.
24958         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24959         (setgroups): Don't use CHECK_N.
24960         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24961         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24962         (__libc_msgrcv): Don't use CHECK_N.
24963         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24964         (__libc_msgsnd): Don't use CHECK_N.
24965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24966         <bp-checks.h>.
24967         (__libc_pread): Don't use CHECK_N.
24968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24969         include <bp-checks.h>.
24970         (__libc_pread64): Don't use CHECK_N.
24971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24972         include <bp-checks.h>.
24973         (__libc_pwrite): Don't use CHECK_N.
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24975         include <bp-checks.h>.
24976         (__libc_pwrite64): Don't use CHECK_N.
24977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24978         <bp-checks.h>.
24979         (__libc_pread): Don't use CHECK_N.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24981         include <bp-checks.h>.
24982         (__libc_pread64): Don't use CHECK_N.
24983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24984         include <bp-checks.h>.
24985         (__libc_pwrite): Don't use CHECK_N.
24986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24987         include <bp-checks.h>.
24988         (__libc_pwrite64): Don't use CHECK_N.
24989         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24990         (do_pread): Don't use CHECK_N.
24991         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24992         (do_pread64): Don't use CHECK_N.
24993         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24994         (do_pwrite): Don't use CHECK_N.
24995         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24996         (do_pwrite64): Don't use CHECK_N.
24997         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24998         (__libc_readv): Don't use CHECK_N.
24999         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25000         (semop): Don't use CHECK_N.
25001         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25002         <bp-checks.h>.
25003         (semtimedop): Don't use CHECK_N.
25004         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25005         (__libc_pread): Don't use CHECK_N.
25006         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25007         <bp-checks.h>.
25008         (__libc_pread64): Don't use CHECK_N.
25009         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25010         <bp-checks.h>.
25011         (__libc_pwrite): Don't use CHECK_N.
25012         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25013         <bp-checks.h>.
25014         (__libc_pwrite64): Don't use CHECK_N.
25015         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25016         <bp-checks.h>.
25017         (__libc_msgrcv): Don't use CHECK_N.
25018         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25019         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25020         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25021         (__libc_writev): Don't use CHECK_N.
25022
25023 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25024
25025         * string/strcpy.c: Removed unused variable.
25026
25027         * Makeconfig (+sysdep-includes): Define with := rather than =.
25028         Use an existing include/ subdir of each sysdeps dir before it.
25029
25030 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25031
25032         * nscd/connection.c (register_traced_file): Comment function.
25033         [HAVE_INOTIFY] (union __inev): Define.
25034         [HAVE_INOTIFY] (inotify_check_files): New function.
25035         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25036         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25037         clear_db_cache.
25038         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25039
25040 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25041
25042         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25043         loaded if not already and that a failure is permanent.
25044
25045 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25046
25047         [BZ #15006]
25048         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25049         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25050
25051 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25052
25053         [BZ #13550]
25054         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25055         (CHECK_1_NULL_OK): Likewise.
25056         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25057         (__fxstat): Do not use CHECK_1.
25058         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25059         <bp-checks.h>.
25060         (___fxstat64): Do not use CHECK_1.
25061         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25062         <bp-checks.h>.
25063         (__fxstatat): Do not use CHECK_1.
25064         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25065         <bp-checks.h>.
25066         (__fxstatat64): Do not use CHECK_1.
25067         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25068         <bp-checks.h>.
25069         (__fxstat): Do not use CHECK_1.
25070         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25071         <bp-checks.h>.
25072         (__fxstatat): Do not use CHECK_1.
25073         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25074         <bp-checks.h>.
25075         (__getresgid): Do not use CHECK_1.
25076         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25077         <bp-checks.h>.
25078         (__getresuid): Do not use CHECK_1.
25079         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25080         <bp-checks.h>.
25081         (__lxstat): Do not use CHECK_1.
25082         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25083         <bp-checks.h>.
25084         (__old_msgctl): Do not use CHECK_1.
25085         (__new_msgctl): Likewise.
25086         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25087         <bp-checks.h>.
25088         (__new_setrlimit): Do not use CHECK_1.
25089         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25090         <bp-checks.h>.
25091         (__old_shmctl): Do not use CHECK_1.
25092         (__new_shmctl): Likewise.
25093         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25094         <bp-checks.h>.
25095         (__xstat): Do not use CHECK_1.
25096         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25097         (__lxstat): Do not use CHECK_1.
25098         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25099         <bp-checks.h>.
25100         (___lxstat64): Do not use CHECK_1.
25101         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25102         (__old_msgctl): Do not use CHECK_1.
25103         (__new_msgctl): Likewise.
25104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25105         <bp-checks.h>.
25106         (__gettimeofday): Do not use CHECK_1.
25107         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25108         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25109         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25110         <bp-checks.h>.
25111         (__gettimeofday): Do not use CHECK_1.
25112         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25113         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25114         (__new_shmctl): Do not use CHECK_1.
25115         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25116         <bp-checks.h>.
25117         (do_sigtimedwait): Do not use CHECK_1.
25118         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25119         <bp-checks.h>.
25120         (do_sigwaitinfo): Do not use CHECK_1.
25121         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25122         <bp-checks.h>.
25123         (msgctl): Do not use CHECK_1.
25124         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25125         <bp-checks.h>.
25126         (shmctl): Do not use CHECK_1.
25127         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25128         (ustat): Do not use CHECK_1.
25129         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25130         <bp-checks.h>.
25131         (__fxstat): Do not use CHECK_1.
25132         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25133         <bp-checks.h>.
25134         (__fxstatat): Do not use CHECK_1.
25135         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25136         <bp-checks.h>.
25137         (__lxstat): Do not use CHECK_1.
25138         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25139         <bp-checks.h>.
25140         (__xstat): Do not use CHECK_1.
25141         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25142         (__xstat): Do not use CHECK_1.
25143         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25144         (___xstat64): Do not use CHECK_1.
25145
25146         [BZ #13550]
25147         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25148         definitions.
25149         (CHECK_BOUNDS_HIGH): Likewise.
25150         * string/strcpy.c: Do not include <bp-checks.h>.
25151         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25152
25153 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25154
25155         * nscd/nscd-client.h (__nscd_drop_map_ref):
25156         Add __attribute__ ((unused)).
25157         * nis/nss-nisplus.h (niserr2nss): Likewise.
25158
25159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25160         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25161
25162         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25163         Remove inline keyword.
25164         * include/rounding-mode.h (round_away): Likewise.
25165         * libio/wfileops.c (adjust_wide_data): Likewise.
25166         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25167         (__m128i_strloadu_tolower): Likewise.
25168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25169         (__m128i_strloadu_tolower): Likewise.
25170         * time/mktime.c (ydhms_diff): Likewise.
25171         * locale/elem-hash.h (elem_hash): Likewise.
25172         * locale/setlocale.c (setdata): Likewise.
25173         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25174         (re_string_wchar_at): Likewise.
25175         (bitset_not, bitset_merge, bitset_mask): Likewise.
25176         [!(__GNUC__ > 3)] (inline): Remove macro.
25177         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25178         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25179         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25180         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25181         * string/memcmp.c (memcmp_bytes): Likewise.
25182         * locale/programs/locarchive.c (compute_hashval): Likewise.
25183         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25184         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25185         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25186         * nss/getent.c (print_rpc, print_protocols): Likewise.
25187         (print_passwd, print_group, print_aliases): Likewise.
25188         * nis/nss-nisplus.h (niserr2nss): Likewise.
25189         * nscd/connections.c (restart_p): Likewise.
25190         Change return type to bool.
25191
25192 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25193
25194         * Makeconfig (all-Depend-files): Add existing
25195         $(sorted-subdirs:=/Depend) files.
25196         (all-subdirs): Remove nss.
25197         * sysdeps/unix/inet/Subdirs: Add it here instead.
25198         * hesiod/Depend: New file.
25199
25200         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25201         instead of calling alloca.
25202
25203         * io/lseek.c (__lseek): Rename to __libc_lseek.
25204         Define __lseek as an alias.
25205
25206         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25207
25208 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25209
25210         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25211         else clause and remove check for non-standard endianness.
25212
25213 2013-02-04  David S. Miller  <davem@davemloft.net>
25214
25215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25216
25217 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25218
25219         [BZ #13550]
25220         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25221         (__ubp_memchr): Remove prototype.
25222         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25223         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25224         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25225         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25226         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25227         Remove alias.
25228         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25229         (__ubp_memchr): Likewise.
25230         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25231         (__ubp_memchr): Likewise.
25232         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25233         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25234         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25235         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25236         CHECK_STRING.
25237         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25238         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25239         (__getcwd): Do not use CHECK_STRING.
25240         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25241         <bp-checks.h>.
25242         (__real_chown): Do not use CHECK_STRING.
25243         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25244         <bp-checks.h>.
25245         (fchownat): Do not use CHECK_STRING.
25246         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25247         CHECK_STRING.
25248         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25249         <bp-checks.h>.
25250         (__lchown): Do not use CHECK_STRING.
25251         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25252         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25253         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25254         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25256         include <bp-checks.h>.
25257         (truncate64): Do not use CHECK_STRING.
25258         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25259         <bp-checks.h>.
25260         (__real_chown): Do not use CHECK_STRING.
25261         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25262         <bp-checks.h>.
25263         (__lchown): Do not use CHECK_STRING.
25264         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25265         <bp-checks.h>.
25266         (__chown): Do not use CHECK_STRING.
25267         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25268         <bp-checks.h>.
25269         (truncate64): Do not use CHECK_STRING.
25270         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25271         Likewise.
25272         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25273         (__xmknod): Do not use CHECK_STRING.
25274         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25275         <bp-checks.h>.
25276         (__xmknodat): Do not use CHECK_STRING.
25277         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25278         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25279
25280 2013-02-04  Andreas Schwab  <schwab@suse.de>
25281
25282         [BZ #14142]
25283         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25284         * include/netdb.h: Likewise for h_errno.
25285         * elf/tst-stackguard1.c: Include <tls.h>.
25286
25287 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25288
25289         * elf/link.h (struct link_map): Extend the l_addr comment.
25290         * include/link.h (struct link_map): Likewise.
25291
25292 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25293
25294         [BZ #13550]
25295         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25296         (BOUNDED_1): Remove macro.
25297         * debug/backtrace.c: Don't include <bp-checks.h>.
25298         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25299         (__backtrace): Likewise.
25300         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25301         <bp-checks.h>.
25302         (__backtrace): Don't use BOUNDED_1.
25303         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25304         <bp-checks.h>.
25305         (__backtrace): Don't use BOUNDED_1.
25306         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25307         (__backtrace): Don't use BOUNDED_1.
25308         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25309         (shmat): Don't use BOUNDED_N.
25310
25311 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25312
25313         [BZ #13550]
25314         * sysdeps/generic/bp-start.h: Remove file.
25315         * csu/libc-start.c: Don't include <bp-start.h>.
25316         (LIBC_START_MAIN): Set up __environ directly instead of using
25317         INIT_ARGV_and_ENVIRON.
25318         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25319         <bp-start.h>.
25320
25321         [BZ #13550]
25322         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25323         definitions.
25324         (CHECK_FCNTL): Likewise.
25325         (CHECK_N_PAGES): Likewise.
25326
25327         [BZ #13550]
25328         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25329         definitions.
25330         (CHECK_SIGSET_NULL_OK): Likewise.
25331         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25332         <bp-checks.h>.
25333         (sigpending): Don't use CHECK_SIGSET.
25334         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25335         <bp-checks.h>.
25336         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25337         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25338         <bp-checks.h>.
25339         (do_sigsuspend): Don't use CHECK_SIGSET.
25340         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25341         use CHECK_SIGSET.
25342         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25343         (do_sigwait): Don't use CHECK_SIGSET.
25344         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25345         use CHECK_SIGSET.
25346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25347         include <bp-checks.h>.
25348         (sigpending): Don't use CHECK_SIGSET.
25349         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25350         include <bp-checks.h>.
25351         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25352         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25353         <bp-checks.h>.
25354         (sigpending): Don't use CHECK_SIGSET.
25355         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25356         <bp-checks.h>.
25357         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25358
25359         [BZ #13550]
25360         * sysdeps/generic/bp-semctl.h: Remove file.
25361         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25362         <bp-checks.h> and <bp-semctl.h>.
25363         (__old_semctl): Don't use CHECK_SEMCTL.
25364         (__new_semctl): Likewise.
25365         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25366         and <bp-semctl.h>.
25367         (__old_semctl): Don't use CHECK_SEMCTL.
25368         (__new_semctl): Likewise.
25369         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25370         <bp-checks.h> and <bp-semctl.h>.
25371         (__old_semctl): Don't use CHECK_SEMCTL.
25372         (__new_semctl): Likewise.
25373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25374         <bp-checks.h> and <bp-semctl.h>.
25375         (semctl): Don't use CHECK_SEMCTL.
25376
25377         [BZ #13550]
25378         * Makerules (elide-bp-thunks): Remove variable.
25379         (elide-routines.oS): Don't use $(elide-bp-thunks).
25380         (elide-routines.os): Likewise.
25381         (elide-routines.o): Likewise.
25382         (elide-routines.op): Likewise.
25383         (elide-routines.og): Likewise.
25384         (objects): Don't use $(bp-thunks).
25385         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25386         include.
25387         (common-generated): Do not add s-proto-bp.d.
25388         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25389         (int): Likewise.
25390         (typ): Likewise.
25391         Do not generate makefile rules for bounded-pointer thunks.
25392         * sysdeps/generic/bp-thunks.h: Remove file.
25393         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25394         * sysdeps/unix/s-proto-bp.S: Likewise.
25395
25396         [BZ #15062]
25397         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25398         parts of result separately when argument is not close to line from
25399         -i to i and one part of argument is small.
25400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25402         * math/libm-test.inc (cacos_test): Add more tests.
25403         (casin_test): Likewise.
25404         (casinh_test): Likewise.
25405         * sysdeps/i386/fpu/libm-test-ulps: Update.
25406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25407
25408 2013-01-31  David S. Miller  <davem@davemloft.net>
25409
25410         * po/de.po: Update from translation team.
25411
25412 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25413
25414         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25415
25416 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25417
25418         * configure.in (_AC_PROG_CC_C89): New definition.
25419         * configure: Regenerate.
25420
25421         * configure.in (AC_PROG_CPP): New definition.
25422         * configure: Regenerate.
25423
25424 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25425
25426         * debug/tst-backtrace.h: New file.
25427         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25428         (ret): Remove variable.
25429         (x): Likewise.
25430         (FAIL): Remove macro.
25431         (NO_INLINE): Likewise.
25432         (fn1): Use match function instead of strstr.
25433         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25434         (ret): Remove variable.
25435         (x): Likewise.
25436         (FAIL): Remove macro.
25437         (NO_INLINE): Likewise.
25438         (fn): Use match function instead of strstr.
25439         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25440         (ret): Remove variable.
25441         (x): Likewise.
25442         (FAIL): Remove macro.
25443         (NO_INLINE): Likewise.
25444         (handle_signal): Use match function instead of strstr.
25445         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25446         (ret): Remove variable.
25447         (x): Likewise.
25448         (FAIL): Remove macro.
25449         (NO_INLINE): Likewise.
25450         (handle_signal): Use match function instead of strstr.
25451
25452 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25453
25454         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25455
25456 2013-01-23  David S. Miller  <davem@davemloft.net>
25457
25458         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25459         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25460         argument of CAS if possible.
25461         * sysdeps/sparc/sparc64/bits/atomic.h
25462         (__arch_compare_and_exchange_val_32_acq): Likewise.
25463         (__arch_compare_and_exchange_val_64_acq): Likewise.
25464
25465 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25466
25467         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25468         * sysdeps/posix/ulimit.c: ... this.
25469         Include <limits.h>.
25470         * sysdeps/unix/bsd/ulimit.c: Remove file.
25471
25472 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25473
25474         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25475         (LDFLAGS-tst-array5): Likewise.
25476
25477 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25478
25479         [BZ #15036]
25480         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25481         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25482         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25483         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25484
25485 2013-01-21  David S. Miller  <davem@davemloft.net>
25486
25487         * sysdeps/sparc/backtrace.c: New file.
25488         * sysdeps/sparc/sparc32/backtrace.h: New file.
25489         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25490         * sysdeps/sparc/sparc64/backtrace.h: New file.
25491         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25492         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25493         -funwind-tables.
25494
25495 2013-01-21  Andreas Schwab  <schwab@suse.de>
25496
25497         [BZ #15020]
25498         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25499         closed its stdout.
25500
25501 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25502
25503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25504         "mpa2.h".
25505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25506
25507 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25508             Mark Mitchell  <mark@codesourcery.com>
25509             Tom de Vries  <tom@codesourcery.com>
25510             Paul Pluzhnikov  <ppluzhnikov@google.com>
25511
25512         * debug/tst-backtrace2.c: New file.
25513         * debug/tst-backtrace3.c: Likewise.
25514         * debug/tst-backtrace4.c: Likewise.
25515         * debug/tst-backtrace5.c: Likewise.
25516         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25517         (CFLAGS-tst-backtrace3.c): Likewise.
25518         (CFLAGS-tst-backtrace4.c): Likewise.
25519         (CFLAGS-tst-backtrace5.c): Likewise.
25520         (LDFLAGS-tst-backtrace2): Likewise.
25521         (LDFLAGS-tst-backtrace3): Likewise.
25522         (LDFLAGS-tst-backtrace4): Likewise.
25523         (LDFLAGS-tst-backtrace5): Likewise.
25524         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25525         tst-backtrace4 and tst-backtrace5.
25526
25527 2013-01-18  Anton Blanchard  <anton@samba.org>
25528             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25529
25530         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25531         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25533         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25535         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25536         "+r" and remove output regs list as redundant.  Add explicit inline
25537         asm to specify register of return val to work around compiler codegen
25538         bug.  Remove (int) cast on return value.  Add return type parameter to
25539         use in macro so that this macro does not truncate return value for
25540         64-bit values.
25541         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25542         pass to INTERNAL_VSYSCALL_NCS.
25543         (INLINE_VSYSCALL): Add 'long int' as return type to
25544         INTERNAL_VSYSCALL_NCS macro invocation.
25545         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25546         INTERNAL_VSYSCALL_NCS macro invocation.
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25548
25549 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25550
25551         [BZ #14496]
25552         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25553         Fix application of SIMD FP exception mask.
25554
25555         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25556         mp_no from a power of two.
25557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25558         __mpexp_twomm1.  Use __pow_mp.
25559
25560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25561         multiplication.
25562
25563 2013-01-17  David S. Miller  <davem@davemloft.net>
25564
25565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25566
25567 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25568
25569         [BZ #15023]
25570         * include/complex.h: Condition contents on [!_COMPLEX_H].
25571         (__kernel_casinhf): New prototype.
25572         (__kernel_casinh): Likewise.
25573         (__kernel_casinhl): Likewise.
25574         * math/Makefile (libm_calls): Add k_casinh.
25575         * math/k_casinh.c: New file.
25576         * math/k_casinhf.c: Likewise.
25577         * math/k_casinhl.c: Likewise.
25578         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25579         finite nonzero arguments.
25580         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25581         finite nonzero arguments.
25582         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25583         finite nonzero arguments.
25584         * math/s_casinh.c: Do not include <float.h>.
25585         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25586         * math/s_casinhf.c: Do not include <float.h>.
25587         (__casinhf): Move code for finite nonzero arguments to
25588         k_casinhf.c.
25589         * math/s_casinhl.c: Do not include <float.h>.
25590         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25591         redefine.
25592         (__casinhl): Move code for finite nonzero arguments to
25593         k_casinhl.c.
25594         * math/libm-test.inc (cacos_test): Add more tests.
25595         * sysdeps/i386/fpu/libm-test-ulps: Update.
25596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25597
25598 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25599
25600         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25601         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25602         [!HAVE_MREMAP]: Remove [defined linux] case.
25603         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25604
25605 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25606
25607         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25608
25609 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25610
25611         * elf/elf.h (R_386_SIZE32): New relocation.
25612         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25613         R_386_SIZE32.
25614         (elf_machine_rela): Likewise.
25615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25616         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25617
25618 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25619
25620         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25621         (FP_FAST_FMA): Do not define.
25622         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25623         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25624         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25625         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25626         !_SOFT_FLOAT]: Likewise.
25627         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25628         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25629         value.
25630         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25631         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25632         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25633         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25634         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25635         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25636         file.
25637
25638 2013-01-16  Andreas Schwab  <schwab@suse.de>
25639
25640         [BZ #14327]
25641         * include/stdlib.h (__mktemp): Add declaration.
25642         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25643         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25644
25645 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25646
25647         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25648         definitions.
25649         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25650         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25651         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25652         definitions here.
25653         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25654         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25655         definitions.
25656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25657         and ONE.
25658         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25659         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25660         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25661         definitions.
25662         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25663         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25664         definitions.
25665         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25666
25667         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25668
25669 2013-01-15  David S. Miller  <davem@davemloft.net>
25670
25671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25672         trunc{,f} to libm-sysdep_routes.
25673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25675         file.
25676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25678         file.
25679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25680         file.
25681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25683         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25685         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25687         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25688         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25689
25690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25691         nearbyint{,f} to libm-sysdep_routes.
25692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25694         New file.
25695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25696         file.
25697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25698         New file.
25699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25700         file.
25701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25703         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25704         file.
25705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25706         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25707         file.
25708         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25709         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25710         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25711
25712         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25713         libc_feholdexcept and libc_fesetenv.
25714
25715 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25716
25717         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25718
25719 2013-01-14  David S. Miller  <davem@davemloft.net>
25720
25721         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25722         (SPARC_ASM_VIS2_IFUNC): Likewise.
25723         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25725         use of 'siam' instruction.
25726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25727         Likewise.
25728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25729         Likewise.
25730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25731         Likewise.
25732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25737         file.
25738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25739         file.
25740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25741         file.
25742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25743         file.
25744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25749         new VIS2 routines.
25750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25753         Likewise.
25754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25759         routines to libm-sysdep_routines.
25760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25761
25762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25763         fdim/fdimf to libm-sysdep_routines.
25764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25765         file.
25766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25768         file.
25769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25772         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25773         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25774         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25775         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25776
25777 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25778
25779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25780         to optimize copies.
25781
25782         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25785
25786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25787         local variable MPTWO.
25788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25789         Likewise.
25790
25791 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25792
25793         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25794         GLOB_NOESCAPE.
25795
25796 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25797
25798         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25799
25800 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25801
25802         * manual/pattern.texi (glob_t): Document gl_flags.
25803         (glob64_t): Likewise.
25804
25805 2013-01-11  David S. Miller  <davem@davemloft.net>
25806
25807         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25808         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25809         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25810         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25811         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25812         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25813         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25814         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25815         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25816         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25817         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25818         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25819         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25820
25821         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25822         sparc V9 rather than using V8 code.
25823         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25824         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25825
25826         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25827         Move to...
25828         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25829         Here.
25830
25831 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25832
25833         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25834         not in the main loop.
25835         * configure: Regenerated.
25836
25837 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25838
25839         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25840         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25841         to just #else.
25842         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25843         [!__GLIBC_HAVE_LONG_LONG] case.
25844         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25845         condition to just #else.
25846         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25847         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25848         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25849         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25850         unconditional.
25851         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25852         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25853         #elif condition to just #else.
25854         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25855         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25856         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25857         #elif condition to just #else.
25858
25859 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25860
25861         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25862         (EF_MIPS_ARCH_64): Fix value.
25863         (EF_MIPS_ARCH_32R2): New.
25864         (EF_MIPS_ARCH_64R2): New.
25865
25866 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25867
25868         * Makeconfig (+link-pie-before-libc): New.
25869         (+link-pie-after-libc): Likewise.
25870         (+link-pie-tests): Likewise.
25871         (+link-pie): Rewritten.
25872         (link-before-libc): Remove $(config-LDFLAGS).
25873         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25874         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25875         (config-LDFLAGS): Renamed to ...
25876         (rtld-LDFLAGS): This.
25877         (rtld-tests-LDFLAGS): New macro.
25878         (link-libc-rpath-link): Likewise.
25879         (link-libc-tests-rpath-link): Likewise.
25880         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25881         (link-libc): Prepand $(link-libc-rpath-link).
25882         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25883         (test-program-prefix): New macro.
25884         (test-via-rtld-prefix): Likewise.
25885         (test-program-cmd): Likewise.
25886         (host-test-program-cmd): Likewise.
25887         * Makefile ($(common-objpfx)testrun.sh): Replace
25888         $(run-program-prefix) with $(test-program-prefix).
25889         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25890         $(rtld-LDFLAGS).
25891         ($(common-objpfx)shlib.lds): Likewise.
25892         (build-module-helper): Likewise.
25893         ($(common-objpfx)format.lds): Likewise.
25894         * Rules (binaries-pie-tests): New.
25895         (binaries-pie-notests): Likewise.
25896         (binaries-pie): Rewritten.
25897         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25898         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25899         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25900         (make-test-out): Replace $(host-built-program-cmd) with
25901         $(host-test-program-cmd).
25902         * config.make.in (build-hardcoded-path-in-tests): New variable.
25903         * configure.in (--enable-hardcoded-path-in-tests): New configure
25904         option.
25905         (hardcoded_path_in_tests): New AC_SUBST.
25906         * configure: Regenerated.
25907         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25908         $(built-program-cmd) with $(test-program-cmd).
25909         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25910         (test_program_cmd): This.
25911         * elf/Makefile ($(objpfx)order.out): Run test with
25912         $(test-program-prefix).
25913         ($(objpfx)order2.out): Likewise.
25914         ($(objpfx)tst-initorder.out): Likewise.
25915         ($(objpfx)tst-initorder2.out): Likewise.
25916         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25917         $(test-program-cmd).
25918         ($(objpfx)tst-array1-static.out): Likewise.
25919         ($(objpfx)tst-array2.out): Likewise.
25920         ($(objpfx)tst-array3.out): Likewise.
25921         ($(objpfx)tst-array4.out): Likewise.
25922         ($(objpfx)tst-array5.out): Likewise.
25923         ($(objpfx)tst-array5-static.out): Likewise.
25924         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25925         $(test-program-cmd).
25926         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25927         $(run-program-prefix) with $(test-program-prefix).
25928         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25929         (test_program_prefix): This.
25930         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25931         $(run-program-prefix) with $(test-program-prefix).
25932         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25933         (test_program_prefix): This.
25934         * iconvdata/tst-tables.sh: Likewise.
25935         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25936         $(run-program-prefix) with $(test-program-prefix).
25937         ($(objpfx)tst-translit.out): Likewise.
25938         ($(objpfx)tst-gettext2.out): Likewise.
25939         ($(objpfx)tst-gettext4.out): Likewise.
25940         ($(objpfx)tst-gettext6.out): Likewise.
25941         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25942         (test_program_prefix): This.
25943         * intl/tst-gettext2.sh: Likewise.
25944         * intl/tst-gettext4.sh  Likewise.
25945         * intl/tst-gettext6.sh: Likewise.
25946         * intl/tst-translit.sh: Likewise.
25947         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25948         with $(test-program-cmd).
25949         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25950         $(run-program-prefix) with $(test-program-prefix).
25951         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25952         (test_program_prefix): This.
25953         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25954         $(run-program-prefix) with $(test-program-prefix).
25955         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25956         (test_program_prefix): This.
25957         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25958         * posix/Makefile ($(objpfx)globtest.out): Replace
25959         $(run-via-rtld-prefix) and $(test-wrapper) with
25960         $(test-program-prefix) and $(test-via-rtld-prefix).
25961         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25962         $(test-program-prefix).
25963         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25964         $(host-test-program-cmd).
25965         (tst-spawn-ARGS): Likewise.
25966         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25967         $(test-program-prefix).
25968         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25969         (test_via_rtld_prefix): This.
25970         (test_wrapper): Renamed to ...
25971         (test_program_prefix): This.
25972         (run_program_prefix): Replaced by test_program_prefix.
25973         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25974         (test_program_prefix): This.
25975         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25976         with $(host-test-program-cmd).
25977         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25978         $(run-program-prefix) with $(test-program-prefix).
25979         ($(objpfx)tst-printf.out): Likewise.
25980         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25981         $(test-program-cmd).
25982         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25983         (test_program_prefix): This.
25984         * stdio-common/tst-unbputc.sh: Likewise.
25985         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25986         $(run-program-prefix) with $(test-program-prefix).
25987         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25988         (test_program_prefix): This.
25989         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25990         $(built-program-cmd) with $(test-program-cmd).
25991
25992 2013-01-11  Andreas Jaeger  <aj@suse.de>
25993
25994         [BZ #15003]
25995         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25996         value. Sync with Linux 3.7.
25997
25998 2013-01-10  David S. Miller  <davem@davemloft.net>
25999
26000         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26001         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26002         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26003
26004 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26005
26006         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26007         never set.
26008         * configure: Regenerated.
26009
26010 2013-01-10  David S. Miller  <davem@davemloft.net>
26011
26012         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26013         sparc V9 rather than using V8 code.
26014         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26015         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26016
26017 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26018
26019         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26020         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26021         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26022         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26023         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26024         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26025         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26026         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26027         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26028         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26029         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26030         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26031         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26032         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26033         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26034         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26035         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26036         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26037         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26038         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26039         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26040         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26041         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26042         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26043         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26044         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26045         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26046
26047 2013-01-10  David S. Miller  <davem@davemloft.net>
26048
26049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26050
26051 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26052
26053         * posix/Makefile (tests-static): New variable.
26054         (tests): Add $(tests-static).
26055         (tst-exec-static-ARGS): New variable.
26056         (tst-spawn-static-ARGS): Likewise.
26057         * posix/tst-exec-static.c: New file.
26058         * posix/tst-spawn-static.c: Likewise.
26059         * posix/tst-exec.c: Support run directly.
26060         * posix/tst-spawn.c: Likewise.
26061
26062 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26063
26064         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26065         long.
26066         * math/bits/mathcalls.h (llrint): Likewise.
26067         (llround): Likewise.
26068         * stdlib/stdlib.h (struct drand48_data): Likewise.
26069         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26070         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26071         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26072         Likewise.
26073         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26074         Likewise.
26075         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26076         (elf_greg_t): Likewise.
26077         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26078         (__jmp_buf): Likewise.
26079         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26080         definitions.
26081         (llrint): Likewise, for all definitions.
26082         (llrintl): Likewise.
26083
26084         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26085         Remove [__GNUC__] condition.
26086         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26087         condition to just [__USE_ISOC99].
26088         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26089
26090 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26091
26092         [BZ #14200]
26093         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26094         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26095         defined.
26096         (_POSIX_V6_ILP32_OFF32): Likewise.
26097         (_XBS5_ILP32_OFF32): Likewise.
26098         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26099         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26100
26101 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26102
26103         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26104
26105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26106         doubles __mpexp_twomm1.  Adjust usage.
26107         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26108         Remove.
26109
26110 2013-01-10  Andreas Schwab  <schwab@suse.de>
26111
26112         [BZ #14964]
26113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26114         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26115
26116 2013-01-09  David S. Miller  <davem@davemloft.net>
26117
26118         [BZ #15003]
26119         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26120         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26121         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26122         (TCP_FASTOPEN): Define.
26123         (tcp_repair_opt): New structure.
26124         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26125         enum values.
26126         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26127         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26128         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26129         (tcp_cookie_transactions): New structure.
26130
26131 2013-01-09  Anton Blanchard  <anton@samba.org>
26132
26133         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26134         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26137
26138 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26139
26140         * include/features.h (__USE_ANSI): Remove.
26141
26142 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26143
26144         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26145
26146         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26147
26148 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26149
26150         * sysdeps/s390/fpu/libm-test-ulps: Update.
26151
26152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26153
26154         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26155         (__acr): Likewise.
26156         (__cpy): Likewise.
26157         (norm): Likewise.
26158         (denorm): Likewise.
26159         (__mp_dbl): Likewise.
26160         (__dbl_mp): Likewise.
26161         (add_magnitudes): Likewise.
26162         (sub_magnitudes): Likewise.
26163         (__add): Likewise.
26164         (__sub): Likewise.
26165         (__mul): Likewise.
26166         (__inv): Likewise.
26167         (__dvd): Likewise.
26168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26169         (__acr): Likewise.
26170         (__cpy): Likewise.
26171         (norm): Likewise.
26172         (denorm): Likewise.
26173         (__mp_dbl): Likewise.
26174         (__dbl_mp): Likewise.
26175         (add_magnitudes): Likewise.
26176         (sub_magnitudes): Likewise.
26177         (__add): Likewise.
26178         (__sub): Likewise.
26179         (__mul): Likewise.
26180         (__inv): Likewise.
26181         (__dvd): Likewise.
26182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26183         (__acr): Likewise.
26184         (__cpy): Likewise.
26185         (norm): Likewise.
26186         (denorm): Likewise.
26187         (__mp_dbl): Likewise.
26188         (__dbl_mp): Likewise.
26189         (add_magnitudes): Likewise.
26190         (sub_magnitudes): Likewise.
26191         (__add): Likewise.
26192         (__sub): Likewise.
26193         (__mul): Likewise.
26194         (__inv): Likewise.
26195         (__dvd): Likewise.
26196
26197 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26198
26199         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26200         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26201         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26202         2 && __USE_EXTERN_INLINES]: Likewise.
26203
26204 2013-01-08  Andreas Jaeger  <aj@suse.de>
26205
26206         [BZ# 14985]
26207         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26208         Remove.
26209         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26210         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26211
26212 2013-01-07  Anton Blanchard  <anton@samba.org>
26213
26214         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26215         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26216         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26217         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26218         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26219         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26220         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26221         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26223         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26224         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26225         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26228         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26230         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26232         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26234         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26235         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26236         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26237         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26238         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26239         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26240         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26241         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26243         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26244         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26246         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26247         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26248         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26249         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26251         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26252         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26253         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26255         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26256         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26257
26258 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26259
26260         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26261         (__MALLOC_PMT): Likewise.
26262         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26263         [__GNUC__], only on [_LIBC].
26264         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26265         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26266         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26267         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26268         forward declaration.
26269         (realloc_hook_ini): Likewise.
26270         (memalign_hook_ini): Likewise.
26271         (__libc_memalign): Do not use __MALLOC_PMT in variable
26272         declaration.
26273         (__libc_valloc): Likewise.
26274         (__libc_pvalloc): Likewise.
26275         (__libc_calloc): Likewise.
26276         (__posix_memalign): Likewise.
26277
26278         [BZ #14996]
26279         * math/s_casinh.c: Include <float.h>.
26280         (__casinh): Do not do computation with squaring and square root
26281         for large arguments.
26282         * math/s_casinhf.c: Include <float.h>.
26283         (__casinhf): Do not do computation with squaring and square root
26284         for large arguments.
26285         * math/s_casinhl.c: Include <float.h>.
26286         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26287         (__casinhl): Do not do computation with squaring and square root
26288         for large arguments.
26289         * math/libm-test.inc (casin_test): Add more tests.
26290         (casinh_test): Likewise.
26291         * sysdeps/i386/fpu/libm-test-ulps: Update.
26292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26293
26294 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26295
26296         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26297         (__x86_64_raw_data_cache_size): Likewise.
26298         (__x86_64_data_cache_size_half): Likewise.
26299         (__x86_64_raw_data_cache_size_half): Likewise.
26300         (__x86_64_shared_cache_size): Likewise.
26301         (__x86_64_raw_shared_cache_size): Likewise.
26302         (__x86_64_shared_cache_size_half): Likewise.
26303         (__x86_64_raw_shared_cache_size_half): Likewise.
26304         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26305         to ...
26306         (__x86_data_cache_size): This.
26307         (__x86_64_raw_data_cache_size): Renamed to ...
26308         (__x86_raw_data_cache_size): This.
26309         (__x86_64_data_cache_size_half): Renamed to ...
26310         (__x86_data_cache_size_half): This.
26311         (__x86_64_raw_data_cache_size_half): Renamed to ...
26312         (__x86_raw_data_cache_size_half): This.
26313         (__x86_64_shared_cache_size): Renamed to ...
26314         (__x86_shared_cache_size): This.
26315         (__x86_64_raw_shared_cache_size): Renamed to ...
26316         (__x86_raw_shared_cache_size): This.
26317         (__x86_64_shared_cache_size_half): Renamed to ...
26318         (__x86_shared_cache_size_half): This.
26319         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26320         (__x86_raw_shared_cache_size_half): This.
26321         * sysdeps/x86_64/memcpy.S: Updated.
26322         * sysdeps/x86_64/memset.S: Likewise.
26323         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26326
26327 2013-01-04  David S. Miller  <davem@davemloft.net>
26328
26329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26330
26331 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26332
26333         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26334         1 to avoid redefinition warning.
26335         (__USE_GNU): Don't define.
26336         (init_signaling_nan): Protoize.
26337
26338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26339
26340 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26341
26342         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26344         (__cpymn): Likewise.
26345         (norm): Remove commented code.
26346         (denorm): Likewise.
26347         (__mp_dbl): Likewise.
26348         (__inv): Likewise.
26349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26350         (__cpymn): Likewise.
26351         (norm): Remove commented code.
26352         (denorm): Likewise.
26353         (__mp_dbl): Likewise.
26354         (__inv): Likewise.
26355
26356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26357         mp_no value for 1.0 and 2.0.
26358         (norm): Use RADIXI instead of radixi.d.
26359         (denorm): Likewise.
26360         (__mul): Use 0.0 instead of zero.d.
26361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26362         mp_no value for 1.0 and 2.0.
26363         (norm): Use RADIXI instead of radixi.d.
26364         (denorm): Likewise.
26365         (__mul): Use 0.0 instead of zero.d.
26366
26367 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26368
26369         [BZ #14994]
26370         * math/s_casinh.c (__casinh): Reduce finite argument to first
26371         quadrant then set signs of results at the end.
26372         * math/s_casinhf.c (__casinhf): Likewise.
26373         * math/s_casinhl.c (__casinhl): Likewise.
26374         * math/libm-test.inc (casin_test): Add more tests.
26375         (casinh_test): Likewise.
26376         * sysdeps/i386/fpu/libm-test-ulps: Update.
26377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26378
26379 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26380
26381         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26382
26383         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26384
26385         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26386         declarations.
26387         (denorm): Likewise.
26388         (__mp_dbl): Likewise.
26389         (__inv): Likewise.
26390
26391         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26392         and adjust the header comment.
26393
26394         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26395         variable name from declaration.
26396
26397 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26398
26399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26400         Initialize COMMON_CPUID_INDEX_7 element.
26401         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26402         (CPUID_RTM): Likewise.
26403         (HAS_RTM): Likewise.
26404         (COMMON_CPUID_INDEX_7): New enum.
26405
26406 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26407
26408         [BZ #14981]
26409         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26410         size is zero, record memory as freed.
26411
26412 2013-01-03  Andreas Jaeger  <aj@suse.de>
26413
26414         * po/ia.po: Add new Interlingua translation.
26415
26416 2012-01-03  Allan McRae  <allan@archlinux.org>
26417
26418         * locale/programs/localedef.c: Fix description of '--posix' flag.
26419
26420 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26421
26422         * NEWS: Update dates in second copyright notice.
26423         * README: Update copyright dates in example.
26424         * manual/libc.texinfo: Update copyright dates.
26425         * scripts/test-installation.pl: Update copyright date in --version
26426         output.
26427
26428         * hurd/ctty-input.c: Fix copyright notice formatting.
26429         * hurd/ctty-output.c: Likewise.
26430         * hurd/dtable.c: Likewise.
26431         * hurd/hurd-raise.c: Likewise.
26432         * hurd/hurdprio.c: Likewise.
26433         * hurd/msgportdemux.c: Likewise.
26434         * misc/sys/file.h: Likewise.
26435         * misc/sys/ioctl.h: Likewise.
26436         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26437         * sysdeps/mach/hurd/chdir.c: Likewise.
26438         * sysdeps/mach/hurd/fchdir.c: Likewise.
26439         * sysdeps/mach/hurd/rename.c: Likewise.
26440         * sysdeps/mach/hurd/rmdir.c: Likewise.
26441         * sysdeps/mach/hurd/seekdir.c: Likewise.
26442         * sysdeps/mach/hurd/setsid.c: Likewise.
26443         * sysdeps/posix/wait3.c: Likewise.
26444
26445         * All files with FSF copyright notices: Update copyright dates
26446         using scripts/update-copyrights.
26447         * intl/plural.c: Regenerated.
26448         * locale/programs/charmap-kw.h: Likewise.
26449         * locale/programs/locfile-kw.h: Likewise.
26450
26451 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26452
26453         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26454         four values.
26455
26456         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26457         calculation loop and add branch prediction.
26458
26459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26460         check access beyond bounds of m1np.
26461
26462         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26463         MPTWO.
26464         (__inv): Remove local variable MPTWO to use the global
26465         constant.
26466         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26467         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26468         variable MPTWO.
26469         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26470         MP3HALFS static const.
26471
26472 2013-01-01  David S. Miller  <davem@davemloft.net>
26473
26474         * po/ca.po: Update from translation team.
26475
26476 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26477
26478         * scripts/update-copyrights: New file.
26479         * Makeconfig: Reformat copyright notice.
26480         * ctype/ctype.h: Likewise.
26481         * debug/swprintf_chk.c: Likewise.
26482         * elf/dl-cache.c: Likewise.
26483         * elf/dl-debug.c: Likewise.
26484         * elf/dl-object.c: Likewise.
26485         * grp/initgroups.c: Likewise.
26486         * hurd/Makefile: Likewise.
26487         * hurd/hurd/signal.h: Likewise.
26488         * hurd/hurdfault.c: Likewise.
26489         * hurd/hurdioctl.c: Likewise.
26490         * hurd/hurdlookup.c: Likewise.
26491         * hurd/intr-msg.c: Likewise.
26492         * iconv/gconv_open.c: Likewise.
26493         * libio/swprintf.c: Likewise.
26494         * locale/lc-ctype.c: Likewise.
26495         * locale/nl_langinfo.c: Likewise.
26496         * mach/Machrules: Likewise.
26497         * mach/Makefile: Likewise.
26498         * malloc/obstack.h: Likewise.
26499         * manual/Makefile: Likewise.
26500         * manual/tsort.awk: Likewise.
26501         * misc/bits/stab.def: Likewise.
26502         * nis/nis_print_group_entry.c: Likewise.
26503         * nis/nis_table.c: Likewise.
26504         * nis/nss_compat/compat-pwd.c: Likewise.
26505         * nis/nss_compat/compat-spwd.c: Likewise.
26506         * po/Makefile: Likewise.
26507         * posix/fnmatch.c: Likewise.
26508         * posix/regex.h: Likewise.
26509         * resolv/Makefile: Likewise.
26510         * resolv/nss_dns/dns-network.c: Likewise.
26511         * resolv/res_hconf.c: Likewise.
26512         * scripts/gen-sorted.awk: Likewise.
26513         * soft-fp/soft-fp.h: Likewise.
26514         * stdio-common/printf.h: Likewise.
26515         * stdlib/monetary.h: Likewise.
26516         * stdlib/random.c: Likewise.
26517         * stdlib/random_r.c: Likewise.
26518         * sysdeps/generic/Makefile: Likewise.
26519         * sysdeps/gnu/Makefile: Likewise.
26520         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26522         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26524         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26527         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26530         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26531         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26532         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26533         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26534         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26535         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26536         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26538         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26539         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26540         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26541         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26542         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26543         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26544         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26547         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26548         * sysdeps/mach/hurd/errnos.awk: Likewise.
26549         * sysdeps/mach/hurd/fork.c: Likewise.
26550         * sysdeps/mach/hurd/getcwd.c: Likewise.
26551         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26552         * sysdeps/mach/hurd/mmap.c: Likewise.
26553         * sysdeps/mach/hurd/utimes.c: Likewise.
26554         * sysdeps/mach/hurd/xmknod.c: Likewise.
26555         * sysdeps/posix/profil.c: Likewise.
26556         * sysdeps/posix/readdir_r.c: Likewise.
26557         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26558         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26559         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26560         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26562         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26563         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26564         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26566         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26568         * sysdeps/pthread/lio_listio.c: Likewise.
26569         * sysdeps/sparc/dl-procinfo.h: Likewise.
26570         * sysdeps/unix/i386/sysdep.S: Likewise.
26571         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26572         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26573         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26574         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26576         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26577         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26578         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26579         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26580         * sysdeps/wordsize-32/divdi3.c: Likewise.
26581         * time/sys/time.h: Likewise.
26582         * wcsmbs/Makefile: Likewise.
26583
26584 2013-01-01  David S. Miller  <davem@davemloft.net>
26585
26586         * po/fr.po: Update from translation team.
26587
26588         * catgets/gencat.c: Update copyright year.
26589         * csu/version.c: Likewise.
26590         * debug/catchsegv.sh: Likewise.
26591         * debug/pcprofiledump.c: Likewise.
26592         * debug/xtrace.sh: Likewise.
26593         * elf/ldconfig.c: Likewise.
26594         * elf/ldd.bash.in: Likewise.
26595         * elf/pldd.c: Likewise.
26596         * elf/sotruss.ksh: Likewise.
26597         * elf/sprof.c: Likewise.
26598         * iconv/iconv_prog.c: Likewise.
26599         * iconv/iconvconfig.c: Likewise.
26600         * locale/programs/locale.c: Likewise.
26601         * locale/programs/localedef.c: Likewise.
26602         * login/programs/pt_chown.c: Likewise.
26603         * malloc/memusage.sh: Likewise.
26604         * malloc/memusagestat.c: Likewise.
26605         * malloc/mtrace.pl: Likewise.
26606         * nscd/nscd.c: Likewise.
26607         * nss/getent.c: Likewise.
26608         * nss/makedb.c: Likewise.
26609         * posix/getconf.c: Likewise.
26610
26611 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26612
26613         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26614         numbers.
26615
26616 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26617
26618         * math/bits/mathcalls.h (modf): Use __nonnull.
26619
26620 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26621
26622         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26623         (split): Use macro CN instead of the bare value.
26624         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26625         could be used.
26626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26627         instead of the bare value.
26628         (power1): Likewise.
26629
26630 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26631
26632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26633         __ATAN_TWOM.
26634         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26635
26636         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26637         their values.
26638         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26639         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26640         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26641         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26642
26643 2012-12-28  Andreas Jaeger  <aj@suse.de>
26644
26645         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26646         values are from Linux 3.7.
26647
26648         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26649         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26650
26651 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26652
26653         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26654         TRUE case.
26655
26656         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26657         (norm): Likewise.
26658         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26659         variables with preprocessor constants.
26660         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26661         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26662         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26663
26664 2012-12-27  Bruno Haible  <bruno@clisp.org>
26665
26666         [BZ #14317]
26667         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26668         only if needed.
26669
26670 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26671
26672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26673         and use variable directly.
26674         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26675
26676         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26677         MPONE.
26678         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26679         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26680         variable MPONE.
26681         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26683         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26684         include directive.  Remove local variable MPONE.
26685         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26686         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26688
26689 2012-12-25  David S. Miller  <davem@davemloft.net>
26690
26691         * version.h (RELEASE): Set to "development".
26692         (VERSION): Set to "2.17.90".
26693         * NEWS: Add 2.18 section.
26694
26695 2012-12-21  David S. Miller  <davem@davemloft.net>
26696
26697         * po/hr.po: Update from translation team.
26698
26699 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26700
26701         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26702
26703 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26704
26705         * NEWS:  Mention new memcpy for MIPS.
26706
26707 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26708
26709         * manual/contrib.texi (Contributors): Spelling correction.
26710
26711 2012-12-15  David S. Miller  <davem@davemloft.net>
26712
26713         * po/ru.po: Update from translation team.
26714
26715 2012-12-13  David S. Miller  <davem@davemloft.net>
26716
26717         * NEWS: Mention IFUNC testsuite enhancements.
26718
26719         * po/pl.po: Update from translation team.
26720         * po/bg.po: Likewise.
26721
26722         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26723         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26724
26725 2012-12-11  David S. Miller  <davem@davemloft.net>
26726
26727         * po/sv.po: Update from translation team.
26728
26729         * po/vi.po: Update from translation team.
26730
26731         * po/cs.po: Update from translation team.
26732
26733         * po/de.po: Update from translation team.
26734         * po/eo.po: Likewise.
26735         * po/nl.po: Likewise.
26736
26737 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26738
26739         [BZ #14246]
26740         * manual/argp.texi (Argp Helper Functions): Move node to follow
26741         Argp Parsing State.
26742
26743         [BZ #14872]
26744         * manual/conf.texi (Limits on File System Capacity): Mention if
26745         terminating null is included in the max size.
26746
26747 2012-12-10  Andreas Jaeger  <aj@suse.de>
26748
26749         * po/cs.po: Update from translation team.
26750
26751 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26752
26753         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26754         void pointer and cast to uintptr_t.
26755         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26756         path.
26757         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26758         * sysdeps/s390/s390-64/memset.S: Likewise.
26759
26760 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26761
26762         [BZ #14833]
26763         * menual/message.texi (Message Translation): Fix typos.
26764         (Helper programs for gettext): Likewise.
26765
26766 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26767
26768         [BZ #14898]
26769         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26770         Change to -1.
26771
26772 2012-12-07  David S. Miller  <davem@davemloft.net>
26773
26774         * po/libc.pot: Update.
26775
26776 2012-12-07  Richard Henderson  <rth@redhat.com>
26777
26778         [BZ #10114]
26779         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26780         normal/normal case to before the switch.
26781         (_FP_DIV): Likewise.
26782
26783 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26784             Mike Frysinger  <vapier@gentoo.org>
26785
26786         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26787         check for __NR_fadvise64_64.
26788
26789 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26790
26791         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26792         0, not just to plain "0" as a statement.
26793         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26794         with cw.
26795
26796 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26797
26798         * NEWS: Use sourceware.org in Bugzilla URL.
26799
26800 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26801
26802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26803         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26804
26805         * stdio-common/tst-put-error.c (do_test): Add newline to the
26806         padded test to ensure flush.
26807
26808 2012-12-05  Jeff Law  <law@redhat.com>
26809
26810         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26811
26812 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26813
26814         * README: Don't refer to ports add-on as distributed separately.
26815         Mention AArch64 in list of systems supported in the ports add-on.
26816
26817         * LICENSES: Add more non-FSF copyright and license notices.
26818
26819         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26820         ((unused)).
26821
26822         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26823
26824         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26825         10000 as width of padded output.
26826
26827 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26828
26829         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26830
26831         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26832         variable LX with __attribute__ ((unused)).
26833         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26834         Likewise.
26835         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26838         with __attribute__ ((unused)).
26839
26840 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26841
26842         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26843
26844 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26845
26846         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26847         (CFLAGS-nldbl-acos.c): New variable.
26848         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26849         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26850         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26851         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26852         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26853         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26854         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26855         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26856         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26857         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26858         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26859         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26860         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26861         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26862         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26863         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26864         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26865         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26866         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26867         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26868         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26869         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26870         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26871         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26872         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26873         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26874         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26875         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26876         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26877         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26878         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26879         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26880         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26881         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26882         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26883         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26884         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26885         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26886         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26887         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26888         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26889         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26890         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26891         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26892         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26893         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26894         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26895         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26896         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26897         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26898         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26899         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26900         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26901         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26902         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26903         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26904         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26905         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26906         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26907         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26908         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26909         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26910         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26911         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26912         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26913         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26914         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26915         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26916         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26917         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26918         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26919         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26920         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26921         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26922         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26923         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26924         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26925         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26926         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26927         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26928         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26929         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26930         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26931         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26932         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26933         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26934         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26935         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26936         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26937         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26938         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26939         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26940         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26941         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26942         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26943         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26944         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26945
26946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26947         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26948
26949         [BZ #14914]
26950         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26951         whole low double instead of just low 47 bits when splitting values
26952         into two parts.
26953
26954 2012-12-03  Allan McRae  <allan@archlinux.org>
26955
26956         * manual/stdio.texi (Predefined Printf Handlers): Remove
26957         @hsep and @vsep usage.
26958
26959 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26960
26961         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26962         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26963
26964 2012-12-03  Jeff Law  <law@redhat.com>
26965
26966         * time/sys/time.h (settimeofday): Do not mark TV argument
26967         as __nonnull.
26968
26969 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26970
26971         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26972         when currently writing and seek to current position when not.
26973         * libio/Makefile (tests): Remove bug-fclose1.
26974         * libio/bug-fclose1.c: Delete.
26975
26976 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26977
26978         * manual/arith.texi (feenableexcept): Fix typo.
26979         (fedisableexcept): Likewise.
26980
26981 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26982
26983         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26984         second, differently-typed declaration, rather than a cast.
26985
26986 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26987
26988         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26989         * include/rpc/svc.h: ... here.
26990
26991 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26992
26993         [BZ #13013]
26994         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26995         depending n and resplen2 to catch cases where answer
26996         equals answerp2.
26997
26998 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26999
27000         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27001         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27002
27003 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27004
27005         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27006
27007 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27008
27009         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27010
27011 2012-11-28  Jeff Law  <law@redhat.com>
27012
27013         [BZ #13761]
27014         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27015         dataset_temporary.  Track alloca usage into alloca_used.
27016         If dataset is large allocate and release it via malloc/free.
27017
27018 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27019
27020         [BZ #14197]
27021         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27022
27023 2012-11-28  David S. Miller  <davem@davemloft.net>
27024
27025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27026
27027 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27028
27029         [BZ #14803]
27030         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27031         of pi/2 rounded to nearest to 64 bits.
27032         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27033         nearest to 64 bits.
27034         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27035         bits.
27036
27037 2012-11-28  Jeff Law <law@redhat.com>
27038             Martin Osvald <mosvald@redhat.com>
27039
27040         [BZ #14889]
27041         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27042         * sunrpc/svc.c: Include time.h.
27043         (__svc_accept_failed): New function.
27044         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27045         any reason other than EINTR, call __svc_accept_failed.
27046         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27047         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27048
27049 2012-11-28  Andreas Schwab  <schwab@suse.de>
27050
27051         * scripts/abilist.awk: Also handle indirect functions in .opd
27052         section.
27053
27054 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27055
27056         [BZ #13881]
27057         * sysdeps/x86/fpu/powl_helper.c: New file.
27058         * sysdeps/x86/fpu/Makefile: Likewise.
27059         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27060         (p3): New object.
27061         (__ieee754_powl): Use __powl_helper for finite arguments except
27062         integer exponents below 8.
27063         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27064         (p3): New object.
27065         (__ieee754_powl): Use __powl_helper for finite arguments except
27066         integer exponents below 8.
27067         * math/libm-test.inc (pow_test): Add more tests and enable some
27068         previously disabled tests.
27069         * sysdeps/i386/fpu/libm-test-ulps: Update.
27070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27071
27072 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27073             Carlos O'Donell  <carlos_odonell@mentor.com>
27074
27075         * nss/makedb.c (is_prime): Assert that input is odd and greater
27076         than 4.  Note that fact in a comment too.
27077         (next_prime): Add 4 to input.
27078
27079 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27080
27081         [BZ #11741]
27082         * libio/Makefile (tests): Add test case tst-fwrite-error.
27083         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27084         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27085         * libio/tst-fwrite-error.c: New test case.
27086
27087 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27088
27089         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27090         before casting to void *.
27091         * include/libc-internal.h (__pointer_type): New macro.
27092         (__integer_if_pointer_type_sub): Likewise.
27093         (__integer_if_pointer_type): Likewise.
27094         (cast_to_integer): Likewise.
27095         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27096         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27097         before casting to atomic64_t.
27098         (atomic_exchange_acq): Likewise.
27099         (__arch_exchange_and_add_body): Likewise.
27100         (__arch_add_body): Likewise.
27101         (atomic_add_negative): Likewise.
27102         (atomic_add_zero): Likewise.
27103
27104 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27105
27106         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27107         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27108         (add_fdes): Likewise.
27109         (linear_search_fdes): Likewise.
27110         (binary_search_unencoded_fdes): Likewise.
27111
27112 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27113
27114         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27115
27116 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27117
27118         * configure.in: Autodetect C++ header directories.
27119         * configure: Regenerated.
27120
27121 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27122
27123         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27124
27125 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27126
27127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27128
27129 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27130
27131         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27132         LDBL_MANT_DIG == 106]: Disable some tests.
27133         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27134         Likewise.
27135         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27136         Likewise.
27137
27138         [BZ #14871]
27139         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27140         input for small inputs.  Return +/- pi/2 for large inputs.
27141         * math/libm-test.inc (atan_test): Add more tests.
27142
27143         * sysdeps/generic/unwind-dw2-fde-glibc.c
27144         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27145         __attribute__ ((unused)).
27146
27147         [BZ #14645]
27148         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27149         x * y if x and y are nonzero and z is zero.
27150
27151         [BZ #14811]
27152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27153         nonzero exponents with absolute value below 0x1p-117 to +/-
27154         0x1p-117.
27155
27156         [BZ #14869]
27157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27158         up arguments below 2**-450, not just those below 2**-500.
27159         * math/libm-test.inc (hypot_test): Add another test.
27160
27161         [BZ #14868]
27162         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27163         Return a+b for ratio over 2**120, not 2**60.
27164         * math/libm-test.inc (hypot_test): Add another test.
27165
27166         * math/libm-test.inc (clog_test): Use
27167         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27168         (clog10_test): Likewise.
27169
27170         [BZ #6778]
27171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27172
27173 2012-11-22  Andreas Schwab  <schwab@suse.de>
27174
27175         * sysdeps/i386/fpu/libm-test-ulps: Update.
27176
27177 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27178
27179         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27180         printf output with newline.
27181
27182 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27183
27184         [BZ #14865]
27185         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27186         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27187         -z nodlopen, -z initfirst and -z execstack support.
27188         * configure: Regenerated.
27189
27190         * elf/elf.h (DF_1_NODIRECT): New macro.
27191         (DF_1_IGNMULDEF): Likewise.
27192         (DF_1_NOKSYMS): Likewise.
27193         (DF_1_NOHDR): Likewise.
27194         (DF_1_EDITED): Likewise.
27195         (DF_1_NORELOC): Likewise.
27196         (DF_1_SYMINTPOSE): Likewise.
27197         (DF_1_GLOBAUDIT): Likewise.
27198         (DF_1_SINGLETON): Likewise.
27199         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27200         DT_1_SUPPORTED_MASK bits.
27201         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27202
27203 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27204
27205         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27206
27207 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27208
27209         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27210         macro.
27211
27212         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27213         (sendmmsg): Move declarations...
27214         * socket/sys/socket.h: ... here.
27215         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27216         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27217         include it from...
27218         * socket/recvmmsg.c: ... this new file.
27219         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27220         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27221         definition of __sendmmsg hidden.
27222         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27223         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27224         Move ENOSYS stub into and include it from...
27225         * socket/sendmmsg.c: ... this new file.
27226         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27227         (sysdep_routines): Move recvmmsg and sendmmsg...
27228         * socket/Makefile (routines): ... here.
27229         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27230         (GLIBC_PRIVATE): Add __sendmmsg.
27231         * include/sys/socket.h (__sendmmsg): Add declarations.
27232         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27233         sendmmsg.
27234
27235 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27236
27237         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27238         variable I1 with __attribute__ ((unused)).
27239         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27240
27241 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27242
27243         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27244         DUMMY variables with __attribute__ ((unused)).
27245
27246         * bits/byteswap.h: Include <bits/types.h>.
27247         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27248
27249 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27250
27251         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27252         string_t.  Do not manually set errno.
27253         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27254         length with __strnlen.  Make sure to both set errno and return it on
27255         failure.
27256
27257 2012-11-19  David S. Miller  <davem@davemloft.net>
27258
27259         With help from Joseph Myers.
27260         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27261         very large arguments properly.
27262         * math/libm-test.inc (atan_test): New tests.
27263         (atan2_test): New tests.
27264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27266
27267 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27268
27269         [BZ #14856]
27270         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27271         Define to 3.
27272
27273         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27274         [POSIX] (EADDRNOTAVAIL): Likewise.
27275         [POSIX] (EAFNOSUPPORT): Likewise.
27276         [POSIX] (EALREADY): Likewise.
27277         [POSIX] (ECONNABORTED): Likewise.
27278         [POSIX] (ECONNREFUSED): Likewise.
27279         [POSIX] (ECONNRESET): Likewise.
27280         [POSIX] (EDESTADDRREQ): Likewise.
27281         [POSIX] (EDQUOT): Likewise.
27282         [POSIX] (EHOSTUNREACH): Likewise.
27283         [POSIX] (EIDRM): Likewise.
27284         [POSIX] (EISCONN): Likewise.
27285         [POSIX] (ELOOP): Likewise.
27286         [POSIX] (EMULTIHOP): Likewise.
27287         [POSIX] (ENETDOWN): Likewise.
27288         [POSIX] (ENETUNREACH): Likewise.
27289         [POSIX] (ENOBUFS): Likewise.
27290         [POSIX] (ENODATA): Likewise.
27291         [POSIX] (ENOLINK): Likewise.
27292         [POSIX] (ENOMSG): Likewise.
27293         [POSIX] (ENOPROTOOPT): Likewise.
27294         [POSIX] (ENOSR): Likewise.
27295         [POSIX] (ENOSTR): Likewise.
27296         [POSIX] (ENOTCONN): Likewise.
27297         [POSIX] (ENOTSOCK): Likewise.
27298         [POSIX] (EOPNOTSUPP): Likewise.
27299         [POSIX] (EOVERFLOW): Likewise.
27300         [POSIX] (EPROTO): Likewise.
27301         [POSIX] (EPROTONOSUPPORT): Likewise.
27302         [POSIX] (EPROTOTYPE): Likewise.
27303         [POSIX] (ESTALE): Likewise.
27304         [POSIX] (ETIME): Likewise.
27305         [POSIX] (ETXTBSY): Likewise.
27306         [POSIX] (EWOULDBLOCK): Likewise.
27307         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27308         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27309         [POSIX] (SEEK_CUR): Likewise.
27310         [POSIX] (SEEK_END): Likewise.
27311         [POSIX || UNIX98] (mode_t): Do not require.
27312         [POSIX] (off_t): Likewise.
27313         [POSIX] (pid_t): Likewise.
27314         [POSIX] (sys/stat.h): Do not allow header.
27315         [POSIX] (unistd.h): Likewise.
27316         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27317         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27318         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27319         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27320         require.
27321         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27322         sigevent): Specify elements.
27323         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27324         entry.
27325         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27326         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27327
27328         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27329         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27330         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27331         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27332         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27333         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27334         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27335         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27336         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27337         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27338         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27339         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27340         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27341         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27342         Likewise.
27343         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27344         Likewise.
27345         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27346         Likewise.
27347         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27348         Likewise.
27349         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27350         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27351         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27352         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27353         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27354         Specify lower bound on value.
27355         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27356         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27357         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27358         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27359         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27360         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27361         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27362         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27363         value.
27364         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27365         as optional.
27366         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27367         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27368         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27369         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27370         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27371         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27372         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27373         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27374         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27375         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27376         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27377         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27378         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27379         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27380         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27381         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27382         entry.
27383         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27384         optional.
27385         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27386         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27387         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27388         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27389         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27390         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27391         Likewise.
27392         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27393         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27394         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27395         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27396         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27397         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27398         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27399         as optional.
27400         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27401         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27402         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27403         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27404         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27405         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27406         specify as optional.
27407         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27408         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27409         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27410         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27411         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27412         [XPG3] (NL_LANGMAX): Likewise.
27413         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27414         [POSIX || XPG3] (NL_NMAX): Likewise.
27415         [POSIX || XPG3] (NL_SETMAX): Likewise.
27416         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27417         [XPG3] (NZERO): Likewise.
27418         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27419         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27420         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27421         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27422         (REG_ERANGE): Expect.
27423         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27424         optional-constant.
27425         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27426         Use (void) in prototype.
27427         [POSIX] (*_t): Allow.
27428         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27429         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27430         (WRDE_BADVAL): Expect.
27431
27432         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27433         expect.
27434         [XPG3 || XPG4] (O_RSYNC): Likewise.
27435         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27436         Likewise.
27437         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27438         [XPG3 || XPG4] (sigqueue): Likewise.
27439         [XPG3 || XPG4] (sigtimedwait): Likewise.
27440         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27441         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27442         [XPG3 || XPG4] (vsnprintf): Likewise.
27443         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27444         Likewise.
27445         [XPG3 || XPG4] (blksize_t): Likewise.
27446         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27447         Likewise.
27448         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27449         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27450         [XPG3 || XPG4] (struct itimerspec): Likewise.
27451         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27452         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27453         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27454         [XPG3 || XPG4] (clockid_t): Likewise.
27455         [XPG3 || XPG4] (timer_t): Likewise.
27456         [XPG3 || XPG4] (clock_getres): Likewise.
27457         [XPG3 || XPG4] (clock_gettime): Likewise.
27458         [XPG3 || XPG4] (clock_settime): Likewise.
27459         [XPG3 || XPG4] (nanosleep): Likewise.
27460         [XPG3 || XPG4] (timer_create): Likewise.
27461         [XPG3 || XPG4] (timer_delete): Likewise.
27462         [XPG3 || XPG4] (timer_gettime): Likewise.
27463         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27464         [XPG3 || XPG4] (timer_settime): Likewise.
27465         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27466         [XPG3 || XPG4] (getlogin_r): Likewise.
27467         [XPG3 || XPG4] (pread): Likewise.
27468         [XPG3 || XPG4] (pthread_atfork): Likewise.
27469         [XPG3 || XPG4] (pwrite): Likewise.
27470
27471         [BZ #14835]
27472         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27473         <bits/siginfo.h>.
27474
27475 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27476
27477         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27478         finalizing MALLSTREAM.
27479
27480         * sysdeps/mach/hurd/syncfs.c: New file.
27481
27482 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27483
27484         [BZ #14719]
27485         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27486         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27487         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27488         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27489         (_nss_dns_gethostbyname4_r): Likewise.
27490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27491         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27492
27493 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27494
27495         [BZ #13763]
27496         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27497
27498 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27499
27500         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27501         * elf/cache.c (print_entry): Print ",AArch64" for
27502         FLAG_AARCH64_LIB64
27503
27504         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27505         * elf/cache.c (print_entry): Print ",hard-float" for
27506         FLAG_ARM_LIBHF.
27507
27508 2012-11-18  David S. Miller  <davem@davemloft.net>
27509
27510         With help from Joseph Myers.
27511         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27512         cutoff to 2**-13.
27513         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27514         cutoff to 2**-25.
27515         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27516         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27517         small.
27518         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27519         * math/libm-test.inc (y0_test): New tests.
27520         (y1_test): New tests.
27521         * sysdeps/i386/fpu/libm-test-ulps: Update.
27522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27524
27525 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27526
27527         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27528         64-bit targets.
27529         * configure: Regenerated.
27530
27531 2012-11-17  David S. Miller  <davem@davemloft.net>
27532
27533         [BZ #14811]
27534         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27535         nonzero exponents with absolute value below 0x1p-128 to +/-
27536         0x1p-128.
27537
27538 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27539
27540         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27541
27542         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27543
27544         * posix/getconf-speclist.c: New file.
27545         * posix/posix-envs.def: Likewise.
27546         * posix/confstr.c (START_ENV_GROUP): New macro.
27547         (END_ENV_GROUP): Likewise.
27548         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27549         (KNOWN_PRESENT_ENV_STRING): Likewise.
27550         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27551         (UNKNOWN_ENVIRONMENT): Likewise.
27552         (confstr): Include posix-envs.def instead of handling
27553         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27554         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27555         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27556         (END_ENV_GROUP): Likewise.
27557         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27558         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27559         (UNKNOWN_ENVIRONMENT): Likewise.
27560         (__sysconf): Include posix-envs.def instead of handling associated
27561         cases directly here.
27562         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27563         preprocessing getconf-speclist.c rather than running getconf or
27564         generating empty file.
27565
27566 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27567
27568         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27569
27570 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27571
27572         [BZ #14672]
27573         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27574
27575 2012-11-16  David S. Miller  <davem@davemloft.net>
27576
27577         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27578         smaller than LDBL_EPSILON/2.0L, just return xm1.
27579
27580 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27581
27582         * elf/tst-array1.c (init): Set constructor priority to 1000.
27583         (fini): Set destructor priority to 1000.
27584         * elf/tst-array2dep.c: Likewise.
27585
27586 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27587
27588         [BZ #11741]
27589         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27590         (_IO_new_file_xsputn): Also return EOF if none of the input
27591         data was written when overflow failed.
27592         * libio/iopadn.c (_IO_padn): Likewise.
27593         * libio/iowpadn.c (_IO_wpadn): Likewise.
27594         * stdio-common/tst-put-error.c: Add copyright notice.
27595         (do_test): Add case for printing padded string.
27596         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27597         _IO_padn returned error.
27598         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27599         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27600         return EOF.
27601
27602 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27603
27604         * libio/libioP.h: Add comment note that the references to C++
27605         bits are now obsolete.
27606
27607 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27608
27609         * math/libm-test.inc (check_complex): Use asprintf.
27610
27611 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27612
27613         * debug/pcprofiledump.c (print_version): Update copyright year.
27614         * malloc/memusagestat.c (print_version): Likewise.
27615
27616 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27617
27618         [BZ #14831]
27619         * elf/Makefile (tests): Add tst-audit8.
27620         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27621         ($(objpfx)tst-audit8.out): New target.
27622         (tst-audit8-ENV): New variable.
27623         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27624         audit if l_reloc_result is NULL.
27625         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27626         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27627         * elf/tst-audit8.c: New file.
27628
27629 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27630
27631         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27632         * misc/Makefile (CFLAGS-select.c): Define.
27633         * posix/Makefile (CFLAGS-pause.c): Define.
27634
27635 2012-11-13  David S. Miller  <davem@davemloft.net>
27636
27637         * crypt/Makefile: Move test targets after toplevel Rules
27638         inclusion.  Grab any necessary sysdep routines when linking.
27639         * crypt/md5.c (md5_process_block): Remove define, we will always
27640         name it __md5_process_block.
27641         (md5_finish_ctx): Update md5_process_block call.
27642         (md5_stream): Likewise.
27643         (md5_process_bytes): Likewise.
27644         (md5_process_block): Rename to __md5_process_block and move to ...
27645         * crypt/md5-block.c: ... here.
27646         * crypt/sha256.c (sha256_process_block): Move to ...
27647         * crypt/sha256-block.c: ... here.
27648         * crypt/sha512.c (sha512_process_block): Move to ...
27649         * crypt/sha512-block.c: ... here.
27650         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27651         path.
27652         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27653         * sysdeps/sparc/sparc64/multiarch/Makefile
27654         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27655         crypt subdir.
27656         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27657         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27658         multiarch changes.
27659         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27660         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27661         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27662         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27663         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27664         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27665         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27666         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27667         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27668         file.
27669         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27670         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27671         file.
27672         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27673
27674 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27675
27676         * timezone/tzselect.ksh: Update from tzcode git revision
27677         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27678         * timezone/zdump.c: Likewise.
27679         * timezone/zic.c: Likewise.
27680         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27681         in TZVERSION setting, not $(PKGVERSION).
27682         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27683         REPORT_BUGS_TO settings.
27684
27685         [BZ #14838]
27686         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27687         macro.
27688
27689 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27690
27691         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27692         detection to immediately after _FP_ROUND().
27693         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27694         bits are 0.
27695
27696 2012-11-11  David S. Miller  <davem@davemloft.net>
27697
27698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27699         inttypes.h
27700         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27701         __close rather than their public counterparts.
27702
27703 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27704
27705         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27706         file.
27707         [UNIX98] (sem_timedwait): Do not expect.
27708         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27709         [XPG4 || UNIX98] (sockatmark): Do not expect.
27710         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27711         (clock_getcpuclockid): Do not expect.
27712         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27713         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27714         Do not expect.
27715         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27716         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27717         [UNIX98] (vwscanf): Likewise.
27718         [UNIX98] (vswscanf): Likewise.
27719
27720 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27721
27722         * timezone/version.h: Remove file.
27723         * timezone/README: Do not refer to version.h.
27724         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27725         $(objpfx)version.h.
27726         ($(objpfx)zdump.o): Likewise.
27727         ($(objpfx)version.h): New target.
27728
27729         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27730         2012i.
27731         * timezone/README: Don't mention modification to tzselect.ksh.
27732         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27733         work on unmodified tzselect.ksh.  Substitute version numbers in
27734         tzselect.ksh.
27735
27736         * Makefile (format-me): Remove.
27737         (INSTALL): Adjust indentation.  Use commands directly instead of
27738         using $(format-me).
27739
27740         * aclocal.m4 (ACX_PKGVERSION): New macro.
27741         (ACX_BUGURL): Likewise.
27742         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27743         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27744         (REPORT_BUGS_TO): Likewise.
27745         * configure: Regenerated.
27746         * config.h.in (PKGVERSION): New macro.
27747         (REPORT_BUGS_TO): Likewise.
27748         * config.make.in (PKGVERSION): New variable.
27749         (PKGVERSION_TEXI): Likewise.
27750         (REPORT_BUGS_TO): Likewise.
27751         (REPORT_BUGS_TEXI): Likewise.
27752         * Makefile (format-me): Use -I$(common-objpfx)manual.
27753         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27754         ($(common-objpfx)manual/%): New target.
27755         (manual/%): Remove target.
27756         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27757         (print_version): Use PKGVERSION.
27758         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27759         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27760         and REPORT_BUGS_TO.
27761         ($(objpfx)xtrace): Likewise.
27762         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27763         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27764         (print_version): Use PKGVERSION.
27765         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27766         (do_version): Use PKGVERSION.
27767         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27768         REPORT_BUGS_TO.
27769         (common-ldd-rewrite): Likewise.
27770         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27771         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27772         (print_version): Use PKGVERSION.
27773         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27774         * elf/pldd.c (argp_program_bug_address): Remove variable.
27775         (more_help): New function.
27776         (argp): Use more_help.
27777         (print_version): Use PKGVERSION.
27778         * elf/sln.c (main): Use PKGVERSION.
27779         (usage): Use REPORT_BUGS_TO.
27780         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27781         (top level): Use PKGVERSION.
27782         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27783         (print_version): Use PKGVERSION.
27784         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27785         (print_version): Use PKGVERSION.
27786         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27787         (print_version): Use PKGVERSION.
27788         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27789         (print_version): Use PKGVERSION.
27790         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27791         (print_version): Use PKGVERSION.
27792         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27793         (print_version): Use PKGVERSION.
27794         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27795         and BUGURL.
27796         ($(objpfx)memusage): Likewise.
27797         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27798         (do_version): Use PKGVERSION.
27799         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27800         (print_version): Use PKGVERSION.
27801         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27802         ($PKGVERSION): New variable.
27803         ($REPORT_BUGS_TO): Likewise.
27804         (usage): Use $REPORT_BUGS_TO.
27805         (top level): Use $PKGVERSION.
27806         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27807         ($(objpfx)pkgvers.texi): New rule.
27808         ($(objpfx)stamp-pkgvers): Likewise.
27809         * manual/install.texi: Include pkgvers.texi.
27810         (--with-pkgversion): Document new configure option.
27811         (--with-bugurl): Likewise.
27812         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27813         than necessarily for this particular distribution.  Use
27814         REPORT_BUGS_TO for where to report bugs.
27815         * INSTALL: Regenerated.
27816         * manual/libc.texinfo: Include pkgvers.texi.
27817         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27818         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27819         (print_version): Use PKGVERSION.
27820         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27821         (print_version): Use PKGVERSION.
27822         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27823         (print_version): Use PKGVERSION.
27824         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27825         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27826         macro.
27827         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27828         (print_version): Use PKGVERSION.
27829         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27830         (print_version): Use PKGVERSION.
27831         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27832         and PKGVERSION.
27833
27834         * timezone/checktab.awk: Update from tzcode 2012i.
27835         * timezone/ialloc.c: Likewise.
27836         * timezone/private.h: Likewise.
27837         * timezone/scheck.c: Likewise.
27838         * timezone/tzfile.h: Likewise.
27839         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27840         (TZVERSION): Hardcode tzcode version number.
27841         * timezone/zdump.c: Update from tzcode 2012i.
27842         * timezone/zic.c: Likewise.
27843         * timezone/version.h: New file.
27844         * timezone/README: Describe version.h.  Update upstream location.
27845
27846         [BZ #14824]
27847         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27848         (mktemp): Enable declaration.
27849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27852         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27853         Likewise.
27854         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27855         Likewise.
27856         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27857         Likewise.
27858         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27859         Likewise.
27860         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27861         Likewise.
27862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27863         Likewise.
27864
27865         [BZ #14821]
27866         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27867         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27868         for copies of such integer values.
27869         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27870         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27871
27872 2012-11-09  Andreas Jaeger  <aj@suse.de>
27873
27874         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27875         definitions and declarations that are provided by
27876         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27877
27878 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27879
27880         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27881         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27882         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27883         definition.
27884
27885 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27886
27887         * elf/elf.h: Update comment before AArch64 relocations.
27888
27889 2012-11-07  David S. Miller  <davem@davemloft.net>
27890
27891         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27892         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27893         (__start_context): Declare.
27894         (__makecontext_ret): Delete.
27895         (__makecontext): Hook up __start_context instead of
27896         __makecontext_ret.
27897         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27898         (sysdep_routines): Add __start_context when in stdlib.
27899
27900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27901
27902         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27903         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27904         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27905         hardcoded "nm".
27906         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27907         (READELF): New variable.  Use it instead of hardcoded "readelf".
27908
27909 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27910
27911         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27912         * sysdeps/x86/Makefile: Here.
27913         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27914         * sysdeps/x86/tst-xmmymm.sh: This.
27915
27916 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27917
27918         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27919         expectations.
27920         [UNIX98] (pthread_barrier_t): Do not expect.
27921         [UNIX98] (pthread_barrierattr_t): Likewise.
27922         [UNIX98] (pthread_spinlock_t): Likewise.
27923         [UNIX98] (pthread_barrier_destroy): Likewise.
27924         [UNIX98] (pthread_barrier_init): Likewise.
27925         [UNIX98] (pthread_barrier_wait): Likewise.
27926         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27927         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27928         [UNIX98] (pthread_barrierattr_init): Likewise.
27929         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27930         [UNIX98] (pthread_getcpuclockid): Likewise.
27931         [UNIX98] (pthread_mutex_timedlock): Likewise.
27932         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27933         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27934         [UNIX98] (pthread_sigmask): Likewise.
27935         [UNIX98] (pthread_spin_destroy): Likewise.
27936         [UNIX98] (pthread_spin_init): Likewise.
27937         [UNIX98] (pthread_spin_lock): Likewise.
27938         [UNIX98] (pthread_spin_trylock): Likewise.
27939         [UNIX98] (pthread_spin_unlock): Likewise.
27940         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27941         Do not expect.
27942         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27943         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27944         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27945         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27946         [XPG3 || XPG4] (pthread_key_t): Likewise.
27947         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27948         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27949         [XPG3 || XPG4] (pthread_once_t): Likewise.
27950         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27951         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27952         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27953         [XPG3 || XPG4] (pthread_t): Likewise.
27954
27955         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27956         not expect.
27957         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27958
27959         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27960         Change function return type to int.
27961
27962         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27963         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27964         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27965         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27966         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27967         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27968         [!POSIX] (posix_madvise): Likewise.
27969         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27970         && !UNIX98].
27971         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27972         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27973         (mode_t): Likewise.
27974         (posix_mem_offset): Likewise.
27975         (posix_typed_mem_get_info): Likewise.
27976         (posix_typed_mem_open): Likewise.
27977
27978         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27979         Change condition to [XOPEN2K8].
27980
27981         * conform/conformtest.pl: Preprocess allow-header data with -x c
27982         instead of from stdin.
27983         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27984         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27985         [C99-based standards] (cerfc): Likewise.
27986         [C99-based standards] (cexp2): Likewise.
27987         [C99-based standards] (cexpm1): Likewise.
27988         [C99-based standards] (clog10): Likewise.
27989         [C99-based standards] (clog1p): Likewise.
27990         [C99-based standards] (clog2): Likewise.
27991         [C99-based standards] (clgamma): Likewise.
27992         [C99-based standards] (ctgamma): Likewise.
27993         [C99-based standards] (cerff): Likewise.
27994         [C99-based standards] (cerfcf): Likewise.
27995         [C99-based standards] (cexp2f): Likewise.
27996         [C99-based standards] (cexpm1f): Likewise.
27997         [C99-based standards] (clog10f): Likewise.
27998         [C99-based standards] (clog1pf): Likewise.
27999         [C99-based standards] (clog2f): Likewise.
28000         [C99-based standards] (clgammaf): Likewise.
28001         [C99-based standards] (ctgammaf): Likewise.
28002         [C99-based standards] (cerfl): Likewise.
28003         [C99-based standards] (cerfcl): Likewise.
28004         [C99-based standards] (cexp2l): Likewise.
28005         [C99-based standards] (cexpm1l): Likewise.
28006         [C99-based standards] (clog10l): Likewise.
28007         [C99-based standards] (clog1pl): Likewise.
28008         [C99-based standards] (clog2l): Likewise.
28009         [C99-based standards] (clgammal): Likewise.
28010         [C99-based standards] (ctgammal): Likewise.
28011         * conform/data/inttypes.h-data [C99-based standards]: Include
28012         stdint.h-data.  Remove all expectations for stdint.h contents.
28013         [C99-based standards] (PRI*): Do not allow.
28014         [C99-based standards] (SCN*): Likewise.
28015         [C99-based standards] (*_t): Likewise.
28016         [C99-based-standards] (PRId8): Expect macro.
28017         [C99-based-standards] (PRIi8): Likewise.
28018         [C99-based-standards] (PRIo8): Likewise.
28019         [C99-based-standards] (PRIu8): Likewise.
28020         [C99-based-standards] (PRIx8): Likewise.
28021         [C99-based-standards] (PRIX8): Likewise.
28022         [C99-based-standards] (SCNd8): Likewise.
28023         [C99-based-standards] (SCNi8): Likewise.
28024         [C99-based-standards] (SCNo8): Likewise.
28025         [C99-based-standards] (SCNu8): Likewise.
28026         [C99-based-standards] (SCNx8): Likewise.
28027         [C99-based-standards] (PRIdLEAST8): Likewise.
28028         [C99-based-standards] (PRIiLEAST8): Likewise.
28029         [C99-based-standards] (PRIoLEAST8): Likewise.
28030         [C99-based-standards] (PRIuLEAST8): Likewise.
28031         [C99-based-standards] (PRIxLEAST8): Likewise.
28032         [C99-based-standards] (PRIXLEAST8): Likewise.
28033         [C99-based-standards] (SCNdLEAST8): Likewise.
28034         [C99-based-standards] (SCNiLEAST8): Likewise.
28035         [C99-based-standards] (SCNoLEAST8): Likewise.
28036         [C99-based-standards] (SCNuLEAST8): Likewise.
28037         [C99-based-standards] (SCNxLEAST8): Likewise.
28038         [C99-based-standards] (PRIdFAST8): Likewise.
28039         [C99-based-standards] (PRIiFAST8): Likewise.
28040         [C99-based-standards] (PRIoFAST8): Likewise.
28041         [C99-based-standards] (PRIuFAST8): Likewise.
28042         [C99-based-standards] (PRIxFAST8): Likewise.
28043         [C99-based-standards] (PRIXFAST8): Likewise.
28044         [C99-based-standards] (SCNdFAST8): Likewise.
28045         [C99-based-standards] (SCNiFAST8): Likewise.
28046         [C99-based-standards] (SCNoFAST8): Likewise.
28047         [C99-based-standards] (SCNuFAST8): Likewise.
28048         [C99-based-standards] (SCNxFAST8): Likewise.
28049         [C99-based-standards] (PRId16): Likewise.
28050         [C99-based-standards] (PRIi16): Likewise.
28051         [C99-based-standards] (PRIo16): Likewise.
28052         [C99-based-standards] (PRIu16): Likewise.
28053         [C99-based-standards] (PRIx16): Likewise.
28054         [C99-based-standards] (PRIX16): Likewise.
28055         [C99-based-standards] (SCNd16): Likewise.
28056         [C99-based-standards] (SCNi16): Likewise.
28057         [C99-based-standards] (SCNo16): Likewise.
28058         [C99-based-standards] (SCNu16): Likewise.
28059         [C99-based-standards] (SCNx16): Likewise.
28060         [C99-based-standards] (PRIdLEAST16): Likewise.
28061         [C99-based-standards] (PRIiLEAST16): Likewise.
28062         [C99-based-standards] (PRIoLEAST16): Likewise.
28063         [C99-based-standards] (PRIuLEAST16): Likewise.
28064         [C99-based-standards] (PRIxLEAST16): Likewise.
28065         [C99-based-standards] (PRIXLEAST16): Likewise.
28066         [C99-based-standards] (SCNdLEAST16): Likewise.
28067         [C99-based-standards] (SCNiLEAST16): Likewise.
28068         [C99-based-standards] (SCNoLEAST16): Likewise.
28069         [C99-based-standards] (SCNuLEAST16): Likewise.
28070         [C99-based-standards] (SCNxLEAST16): Likewise.
28071         [C99-based-standards] (PRIdFAST16): Likewise.
28072         [C99-based-standards] (PRIiFAST16): Likewise.
28073         [C99-based-standards] (PRIoFAST16): Likewise.
28074         [C99-based-standards] (PRIuFAST16): Likewise.
28075         [C99-based-standards] (PRIxFAST16): Likewise.
28076         [C99-based-standards] (PRIXFAST16): Likewise.
28077         [C99-based-standards] (SCNdFAST16): Likewise.
28078         [C99-based-standards] (SCNiFAST16): Likewise.
28079         [C99-based-standards] (SCNoFAST16): Likewise.
28080         [C99-based-standards] (SCNuFAST16): Likewise.
28081         [C99-based-standards] (SCNxFAST16): Likewise.
28082         [C99-based-standards] (PRId32): Likewise.
28083         [C99-based-standards] (PRIi32): Likewise.
28084         [C99-based-standards] (PRIo32): Likewise.
28085         [C99-based-standards] (PRIu32): Likewise.
28086         [C99-based-standards] (PRIx32): Likewise.
28087         [C99-based-standards] (PRIX32): Likewise.
28088         [C99-based-standards] (SCNd32): Likewise.
28089         [C99-based-standards] (SCNi32): Likewise.
28090         [C99-based-standards] (SCNo32): Likewise.
28091         [C99-based-standards] (SCNu32): Likewise.
28092         [C99-based-standards] (SCNx32): Likewise.
28093         [C99-based-standards] (PRIdLEAST32): Likewise.
28094         [C99-based-standards] (PRIiLEAST32): Likewise.
28095         [C99-based-standards] (PRIoLEAST32): Likewise.
28096         [C99-based-standards] (PRIuLEAST32): Likewise.
28097         [C99-based-standards] (PRIxLEAST32): Likewise.
28098         [C99-based-standards] (PRIXLEAST32): Likewise.
28099         [C99-based-standards] (SCNdLEAST32): Likewise.
28100         [C99-based-standards] (SCNiLEAST32): Likewise.
28101         [C99-based-standards] (SCNoLEAST32): Likewise.
28102         [C99-based-standards] (SCNuLEAST32): Likewise.
28103         [C99-based-standards] (SCNxLEAST32): Likewise.
28104         [C99-based-standards] (PRIdFAST32): Likewise.
28105         [C99-based-standards] (PRIiFAST32): Likewise.
28106         [C99-based-standards] (PRIoFAST32): Likewise.
28107         [C99-based-standards] (PRIuFAST32): Likewise.
28108         [C99-based-standards] (PRIxFAST32): Likewise.
28109         [C99-based-standards] (PRIXFAST32): Likewise.
28110         [C99-based-standards] (SCNdFAST32): Likewise.
28111         [C99-based-standards] (SCNiFAST32): Likewise.
28112         [C99-based-standards] (SCNoFAST32): Likewise.
28113         [C99-based-standards] (SCNuFAST32): Likewise.
28114         [C99-based-standards] (SCNxFAST32): Likewise.
28115         [C99-based-standards] (PRId64): Likewise.
28116         [C99-based-standards] (PRIi64): Likewise.
28117         [C99-based-standards] (PRIo64): Likewise.
28118         [C99-based-standards] (PRIu64): Likewise.
28119         [C99-based-standards] (PRIx64): Likewise.
28120         [C99-based-standards] (PRIX64): Likewise.
28121         [C99-based-standards] (SCNd64): Likewise.
28122         [C99-based-standards] (SCNi64): Likewise.
28123         [C99-based-standards] (SCNo64): Likewise.
28124         [C99-based-standards] (SCNu64): Likewise.
28125         [C99-based-standards] (SCNx64): Likewise.
28126         [C99-based-standards] (PRIdLEAST64): Likewise.
28127         [C99-based-standards] (PRIiLEAST64): Likewise.
28128         [C99-based-standards] (PRIoLEAST64): Likewise.
28129         [C99-based-standards] (PRIuLEAST64): Likewise.
28130         [C99-based-standards] (PRIxLEAST64): Likewise.
28131         [C99-based-standards] (PRIXLEAST64): Likewise.
28132         [C99-based-standards] (SCNdLEAST64): Likewise.
28133         [C99-based-standards] (SCNiLEAST64): Likewise.
28134         [C99-based-standards] (SCNoLEAST64): Likewise.
28135         [C99-based-standards] (SCNuLEAST64): Likewise.
28136         [C99-based-standards] (SCNxLEAST64): Likewise.
28137         [C99-based-standards] (PRIdFAST64): Likewise.
28138         [C99-based-standards] (PRIiFAST64): Likewise.
28139         [C99-based-standards] (PRIoFAST64): Likewise.
28140         [C99-based-standards] (PRIuFAST64): Likewise.
28141         [C99-based-standards] (PRIxFAST64): Likewise.
28142         [C99-based-standards] (PRIXFAST64): Likewise.
28143         [C99-based-standards] (SCNdFAST64): Likewise.
28144         [C99-based-standards] (SCNiFAST64): Likewise.
28145         [C99-based-standards] (SCNoFAST64): Likewise.
28146         [C99-based-standards] (SCNuFAST64): Likewise.
28147         [C99-based-standards] (SCNxFAST64): Likewise.
28148         [C99-based-standards] (PRIdMAX): Likewise.
28149         [C99-based-standards] (PRIiMAX): Likewise.
28150         [C99-based-standards] (PRIoMAX): Likewise.
28151         [C99-based-standards] (PRIuMAX): Likewise.
28152         [C99-based-standards] (PRIxMAX): Likewise.
28153         [C99-based-standards] (PRIXMAX): Likewise.
28154         [C99-based-standards] (SCNdMAX): Likewise.
28155         [C99-based-standards] (SCNiMAX): Likewise.
28156         [C99-based-standards] (SCNoMAX): Likewise.
28157         [C99-based-standards] (SCNuMAX): Likewise.
28158         [C99-based-standards] (SCNxMAX): Likewise.
28159         [C99-based-standards] (PRIdPTR): Likewise.
28160         [C99-based-standards] (PRIiPTR): Likewise.
28161         [C99-based-standards] (PRIoPTR): Likewise.
28162         [C99-based-standards] (PRIuPTR): Likewise.
28163         [C99-based-standards] (PRIxPTR): Likewise.
28164         [C99-based-standards] (PRIXPTR): Likewise.
28165         [C99-based-standards] (SCNdPTR): Likewise.
28166         [C99-based-standards] (SCNiPTR): Likewise.
28167         [C99-based-standards] (SCNoPTR): Likewise.
28168         [C99-based-standards] (SCNuPTR): Likewise.
28169         [C99-based-standards] (SCNxPTR): Likewise.
28170         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28171         allow.
28172         * conform/data/stdint.h-data: Update comments to clarify
28173         requirements.
28174         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28175         type.
28176         [C99-based standards] (INT8_MAX): Likewise.
28177         [C99-based standards] (INT16_MIN): Likewise.
28178         [C99-based standards] (INT16_MAX): Likewise.
28179         [C99-based standards] (INT32_MIN): Likewise.
28180         [C99-based standards] (INT32_MAX): Likewise.
28181         [C99-based standards] (INT64_MIN): Likewise.
28182         [C99-based standards] (INT64_MAX): Likewise.
28183         [C99-based standards] (UINT8_MAX): Likewise.
28184         [C99-based standards] (UINT16_MAX): Likewise.
28185         [C99-based standards] (UINT32_MAX): Likewise.
28186         [C99-based standards] (UINT64_MAX): Likewise.
28187         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28188         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28189         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28190         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28191         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28192         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28193         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28194         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28195         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28196         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28197         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28198         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28199         [C99-based standards] (INT_FAST8_MIN): Likewise.
28200         [C99-based standards] (INT_FAST8_MAX): Likewise.
28201         [C99-based standards] (INT_FAST16_MIN): Likewise.
28202         [C99-based standards] (INT_FAST16_MAX): Likewise.
28203         [C99-based standards] (INT_FAST32_MIN): Likewise.
28204         [C99-based standards] (INT_FAST32_MAX): Likewise.
28205         [C99-based standards] (INT_FAST64_MIN): Likewise.
28206         [C99-based standards] (INT_FAST64_MAX): Likewise.
28207         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28208         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28209         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28210         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28211         [C99-based standards] (INTPTR_MIN): Likewise.
28212         [C99-based standards] (INTPTR_MAX): Likewise.
28213         [C99-based standards] (UINTPTR_MAX): Likewise.
28214         [C99-based standards] (INTMAX_MIN): Likewise.
28215         [C99-based standards] (INTMAX_MAX): Likewise.
28216         [C99-based standards] (UINTMAX_MAX): Likewise.
28217         [C99-based standards] (PTRDIFF_MIN): Likewise.
28218         [C99-based standards] (PTRDIFF_MAX): Likewise.
28219         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28220         [C99-based standards] (SIZE_MAX): Likewise.
28221         [C99-based standards] (WCHAR_MAX): Likewise.
28222         [C99-based standards] (WINT_MAX): Likewise.
28223         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28224         constraint on value.
28225         [C99-based standards] (WCHAR_MIN): Likewise.
28226         [C99-based standards] (WINT_MIN): Likewise.
28227         [C99-based standards] (*_t): Allow.
28228         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28229         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28230         Include math.h-data and complex.h-data.  Remove all expectations
28231         of math.h and complex.h contents.
28232         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28233         at end of line.
28234         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28235         (struct tm): Expect tag.
28236         [C99-based-standards] (wcstof): Expect function.
28237         [C99-based-standards] (wcstold): Likewise.
28238         [C99-based-standards] (wcstoll): Likewise.
28239         [C99-based-standards] (wcstoull): Likewise.
28240         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28241         macro-int-constant.  Specify type.
28242         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28243         constraint on value.
28244         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28245         Specify type.
28246         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28247         Specify value.
28248         [ISO C standards]: Do not allow headers.
28249         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28250         wcs[abcdefghijklmnopqrstuvwxyz]*.
28251         [ISO C standards] (*_t): Do not allow.
28252         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28253         Expect function.
28254         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28255         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28256         Specify type.
28257         [ISO C standards]: Do not allow headers.
28258         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28259         is[abcdefghijklmnopqrstuvwxyz]*.
28260         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28261         to[abcdefghijklmnopqrstuvwxyz]*.
28262         [ISO C standards] (*_t): Do not allow.
28263         * conform/data/stdalign.h-data: New file.
28264         * conform/data/stdbool.h-data: Likewise.
28265         * conform/data/stdnoreturn.h-data: Likewise.
28266
28267 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28268
28269         [BZ #14815]
28270         * manual/filesys.texi (Directory Entries): Typo fix.
28271         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28272
28273 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28274
28275         * elf/elf.h (EM_AARCH64): New macro.
28276         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28277         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28278         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28279         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28280         (R_AARCH64_TLSDESC): Likewise.
28281         (NT_ARM_TLS): Likewise.
28282         (NT_ARM_HW_BREAK): Likewise.
28283         (NT_ARM_HW_WATCH): Likewise.
28284
28285 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28286
28287         [BZ #14811]
28288         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28289         (__ieee754_powl): Saturate nonzero exponents with absolute value
28290         below 0x1p-79 to +/- 0x1p-79.
28291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28292         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28293         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28294         nonzero exponents with absolute value below 0x1p-32 to +/-
28295         0x1p-32.
28296         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28297         (__ieee754_powl): Saturate nonzero exponents with absolute value
28298         below 0x1p-79 to +/- 0x1p-79.
28299         * math/libm-test.inc (pow_test): Add more tests.
28300
28301 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28302
28303         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28304         _dl_s390_cap_flags with kernel. Increase string length.
28305         (_dl_s390_platforms): Add z196 and zEC12.
28306
28307 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28308
28309         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28310         Change XOPEN21K to XOPEN2K.
28311
28312 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28313
28314         * string/memmove.c: Use memcpy when possible.
28315
28316 2012-11-06  Andreas Jaeger  <aj@suse.de>
28317
28318         * po/eo.po: Update from translation team.
28319
28320 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28321
28322         [BZ #14793]
28323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28324         exponent and small x and y exponents, scale x or y up.  Increase
28325         by 2 the exponent used in scaling up.
28326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28328         * math/libm-test.inc (fma_test): Add more tests.
28329         (fma_test_towardzero): Likewise.
28330         (fma_test_downward): Likewise.
28331         (fma_test_upward): Likewise.
28332
28333 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28334
28335         [BZ #14805]
28336         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28337         fenv_t *.
28338
28339         [BZ #14801]
28340         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28341         namespace for names of struct fields.
28342         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28343         fenv_t fields.
28344         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28345         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28346
28347 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28348
28349         [BZ #3665]
28350         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28351
28352 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28353
28354         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28355         PTR_DEMANGLE.
28356
28357         [BZ #5246]
28358         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28359         PTR_DEMANGLE.
28360
28361 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28362
28363         [BZ #14797]
28364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28365         definitely overflow as x * y not x * y + z.
28366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28368         * math/libm-test.inc (fma_test): Add more tests.
28369         (fma_test_towardzero): Likewise.
28370         (fma_test_downward): Likewise.
28371         (fma_test_upward): Likewise.
28372
28373 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28374
28375         [BZ #157]
28376
28377         * include/stub-tag.h: Remove file.
28378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28379         '#include' of it.
28380         * manual/maint.texi (Porting): Don't reference it.
28381         * Makerules ($(objpfx)stubs): Likewise.
28382         * dirent/closedir.c: Don't include <stub-tag.h>.
28383         * dirent/dirfd.c: Likewise.
28384         * dirent/fdopendir.c: Likewise.
28385         * dirent/getdents.c: Likewise.
28386         * dirent/getdents64.c: Likewise.
28387         * dirent/opendir.c: Likewise.
28388         * dirent/readdir.c: Likewise.
28389         * dirent/readdir64.c: Likewise.
28390         * dirent/readdir64_r.c: Likewise.
28391         * dirent/readdir_r.c: Likewise.
28392         * dirent/rewinddir.c: Likewise.
28393         * dirent/seekdir.c: Likewise.
28394         * dirent/telldir.c: Likewise.
28395         * gmon/profil.c: Likewise.
28396         * grp/setgroups.c: Likewise.
28397         * inet/if_index.c: Likewise.
28398         * io/access.c: Likewise.
28399         * io/chdir.c: Likewise.
28400         * io/chmod.c: Likewise.
28401         * io/chown.c: Likewise.
28402         * io/close.c: Likewise.
28403         * io/dup.c: Likewise.
28404         * io/dup2.c: Likewise.
28405         * io/dup3.c: Likewise.
28406         * io/euidaccess.c: Likewise.
28407         * io/faccessat.c: Likewise.
28408         * io/fchdir.c: Likewise.
28409         * io/fchmod.c: Likewise.
28410         * io/fchmodat.c: Likewise.
28411         * io/fchown.c: Likewise.
28412         * io/fchownat.c: Likewise.
28413         * io/fcntl.c: Likewise.
28414         * io/flock.c: Likewise.
28415         * io/fstatfs.c: Likewise.
28416         * io/fstatfs64.c: Likewise.
28417         * io/fstatvfs.c: Likewise.
28418         * io/fstatvfs64.c: Likewise.
28419         * io/futimens.c: Likewise.
28420         * io/fxstat.c: Likewise.
28421         * io/fxstat64.c: Likewise.
28422         * io/fxstatat.c: Likewise.
28423         * io/fxstatat64.c: Likewise.
28424         * io/getcwd.c: Likewise.
28425         * io/isatty.c: Likewise.
28426         * io/lchmod.c: Likewise.
28427         * io/lchown.c: Likewise.
28428         * io/link.c: Likewise.
28429         * io/linkat.c: Likewise.
28430         * io/lseek.c: Likewise.
28431         * io/lseek64.c: Likewise.
28432         * io/lxstat64.c: Likewise.
28433         * io/mkdir.c: Likewise.
28434         * io/mkdirat.c: Likewise.
28435         * io/mkfifo.c: Likewise.
28436         * io/mkfifoat.c: Likewise.
28437         * io/open.c: Likewise.
28438         * io/open64.c: Likewise.
28439         * io/openat.c: Likewise.
28440         * io/openat64.c: Likewise.
28441         * io/pipe.c: Likewise.
28442         * io/pipe2.c: Likewise.
28443         * io/poll.c: Likewise.
28444         * io/posix_fadvise.c: Likewise.
28445         * io/posix_fadvise64.c: Likewise.
28446         * io/posix_fallocate.c: Likewise.
28447         * io/posix_fallocate64.c: Likewise.
28448         * io/read.c: Likewise.
28449         * io/readlink.c: Likewise.
28450         * io/readlinkat.c: Likewise.
28451         * io/rmdir.c: Likewise.
28452         * io/sendfile.c: Likewise.
28453         * io/sendfile64.c: Likewise.
28454         * io/statfs.c: Likewise.
28455         * io/statfs64.c: Likewise.
28456         * io/statvfs.c: Likewise.
28457         * io/statvfs64.c: Likewise.
28458         * io/symlink.c: Likewise.
28459         * io/symlinkat.c: Likewise.
28460         * io/ttyname.c: Likewise.
28461         * io/ttyname_r.c: Likewise.
28462         * io/umask.c: Likewise.
28463         * io/unlink.c: Likewise.
28464         * io/unlinkat.c: Likewise.
28465         * io/utime.c: Likewise.
28466         * io/utimensat.c: Likewise.
28467         * io/write.c: Likewise.
28468         * io/xmknod.c: Likewise.
28469         * io/xmknodat.c: Likewise.
28470         * io/xstat.c: Likewise.
28471         * io/xstat64.c: Likewise.
28472         * login/getpt.c: Likewise.
28473         * login/grantpt.c: Likewise.
28474         * login/unlockpt.c: Likewise.
28475         * math/e_acoshl.c: Likewise.
28476         * math/e_acosl.c: Likewise.
28477         * math/e_asinl.c: Likewise.
28478         * math/e_atan2l.c: Likewise.
28479         * math/e_atanhl.c: Likewise.
28480         * math/e_coshl.c: Likewise.
28481         * math/e_expl.c: Likewise.
28482         * math/e_fmodl.c: Likewise.
28483         * math/e_gammal_r.c: Likewise.
28484         * math/e_hypotl.c: Likewise.
28485         * math/e_j0l.c: Likewise.
28486         * math/e_j1l.c: Likewise.
28487         * math/e_jnl.c: Likewise.
28488         * math/e_lgammal_r.c: Likewise.
28489         * math/e_log10l.c: Likewise.
28490         * math/e_log2l.c: Likewise.
28491         * math/e_logl.c: Likewise.
28492         * math/e_powl.c: Likewise.
28493         * math/e_rem_pio2l.c: Likewise.
28494         * math/e_sinhl.c: Likewise.
28495         * math/e_sqrtl.c: Likewise.
28496         * math/fclrexcpt.c: Likewise.
28497         * math/fedisblxcpt.c: Likewise.
28498         * math/feenablxcpt.c: Likewise.
28499         * math/fegetenv.c: Likewise.
28500         * math/fegetexcept.c: Likewise.
28501         * math/fegetround.c: Likewise.
28502         * math/feholdexcpt.c: Likewise.
28503         * math/fesetenv.c: Likewise.
28504         * math/fesetround.c: Likewise.
28505         * math/feupdateenv.c: Likewise.
28506         * math/fgetexcptflg.c: Likewise.
28507         * math/fraiseexcpt.c: Likewise.
28508         * math/fsetexcptflg.c: Likewise.
28509         * math/ftestexcept.c: Likewise.
28510         * math/k_cosl.c: Likewise.
28511         * math/k_rem_pio2l.c: Likewise.
28512         * math/k_sinl.c: Likewise.
28513         * math/k_tanl.c: Likewise.
28514         * math/s_asinhl.c: Likewise.
28515         * math/s_atanl.c: Likewise.
28516         * math/s_cbrtl.c: Likewise.
28517         * math/s_erfl.c: Likewise.
28518         * math/s_expm1l.c: Likewise.
28519         * math/s_log1pl.c: Likewise.
28520         * math/s_tanhl.c: Likewise.
28521         * misc/acct.c: Likewise.
28522         * misc/brk.c: Likewise.
28523         * misc/chflags.c: Likewise.
28524         * misc/chroot.c: Likewise.
28525         * misc/fchflags.c: Likewise.
28526         * misc/fgetxattr.c: Likewise.
28527         * misc/flistxattr.c: Likewise.
28528         * misc/fremovexattr.c: Likewise.
28529         * misc/fsetxattr.c: Likewise.
28530         * misc/fsync.c: Likewise.
28531         * misc/ftruncate.c: Likewise.
28532         * misc/futimes.c: Likewise.
28533         * misc/futimesat.c: Likewise.
28534         * misc/getdomain.c: Likewise.
28535         * misc/getdtsz.c: Likewise.
28536         * misc/gethostid.c: Likewise.
28537         * misc/gethostname.c: Likewise.
28538         * misc/getloadavg.c: Likewise.
28539         * misc/getpagesize.c: Likewise.
28540         * misc/getsysstats.c: Likewise.
28541         * misc/getxattr.c: Likewise.
28542         * misc/gtty.c: Likewise.
28543         * misc/ioctl.c: Likewise.
28544         * misc/lgetxattr.c: Likewise.
28545         * misc/listxattr.c: Likewise.
28546         * misc/llistxattr.c: Likewise.
28547         * misc/lremovexattr.c: Likewise.
28548         * misc/lsetxattr.c: Likewise.
28549         * misc/lutimes.c: Likewise.
28550         * misc/madvise.c: Likewise.
28551         * misc/mincore.c: Likewise.
28552         * misc/mlock.c: Likewise.
28553         * misc/mlockall.c: Likewise.
28554         * misc/mmap.c: Likewise.
28555         * misc/mprotect.c: Likewise.
28556         * misc/msync.c: Likewise.
28557         * misc/munlock.c: Likewise.
28558         * misc/munlockall.c: Likewise.
28559         * misc/munmap.c: Likewise.
28560         * misc/preadv.c: Likewise.
28561         * misc/preadv64.c: Likewise.
28562         * misc/ptrace.c: Likewise.
28563         * misc/pwritev.c: Likewise.
28564         * misc/pwritev64.c: Likewise.
28565         * misc/readv.c: Likewise.
28566         * misc/reboot.c: Likewise.
28567         * misc/remap_file_pages.c: Likewise.
28568         * misc/removexattr.c: Likewise.
28569         * misc/revoke.c: Likewise.
28570         * misc/select.c: Likewise.
28571         * misc/setdomain.c: Likewise.
28572         * misc/setegid.c: Likewise.
28573         * misc/seteuid.c: Likewise.
28574         * misc/sethostid.c: Likewise.
28575         * misc/sethostname.c: Likewise.
28576         * misc/setregid.c: Likewise.
28577         * misc/setreuid.c: Likewise.
28578         * misc/setxattr.c: Likewise.
28579         * misc/sstk.c: Likewise.
28580         * misc/stty.c: Likewise.
28581         * misc/swapoff.c: Likewise.
28582         * misc/swapon.c: Likewise.
28583         * misc/sync.c: Likewise.
28584         * misc/syncfs.c: Likewise.
28585         * misc/syscall.c: Likewise.
28586         * misc/truncate.c: Likewise.
28587         * misc/ualarm.c: Likewise.
28588         * misc/usleep.c: Likewise.
28589         * misc/ustat.c: Likewise.
28590         * misc/utimes.c: Likewise.
28591         * misc/vhangup.c: Likewise.
28592         * misc/writev.c: Likewise.
28593         * posix/_exit.c: Likewise.
28594         * posix/alarm.c: Likewise.
28595         * posix/execve.c: Likewise.
28596         * posix/fexecve.c: Likewise.
28597         * posix/fork.c: Likewise.
28598         * posix/fpathconf.c: Likewise.
28599         * posix/getaddrinfo.c: Likewise.
28600         * posix/getegid.c: Likewise.
28601         * posix/geteuid.c: Likewise.
28602         * posix/getgid.c: Likewise.
28603         * posix/getgroups.c: Likewise.
28604         * posix/getlogin.c: Likewise.
28605         * posix/getlogin_r.c: Likewise.
28606         * posix/getpgid.c: Likewise.
28607         * posix/getpid.c: Likewise.
28608         * posix/getppid.c: Likewise.
28609         * posix/getresgid.c: Likewise.
28610         * posix/getresuid.c: Likewise.
28611         * posix/getsid.c: Likewise.
28612         * posix/getuid.c: Likewise.
28613         * posix/glob64.c: Likewise.
28614         * posix/nanosleep.c: Likewise.
28615         * posix/pathconf.c: Likewise.
28616         * posix/pause.c: Likewise.
28617         * posix/posix_madvise.c: Likewise.
28618         * posix/pread.c: Likewise.
28619         * posix/pread64.c: Likewise.
28620         * posix/pwrite.c: Likewise.
28621         * posix/pwrite64.c: Likewise.
28622         * posix/sched_getaffinity.c: Likewise.
28623         * posix/sched_getp.c: Likewise.
28624         * posix/sched_gets.c: Likewise.
28625         * posix/sched_primax.c: Likewise.
28626         * posix/sched_primin.c: Likewise.
28627         * posix/sched_rr_gi.c: Likewise.
28628         * posix/sched_setaffinity.c: Likewise.
28629         * posix/sched_setp.c: Likewise.
28630         * posix/sched_sets.c: Likewise.
28631         * posix/sched_yield.c: Likewise.
28632         * posix/setgid.c: Likewise.
28633         * posix/setlogin.c: Likewise.
28634         * posix/setpgid.c: Likewise.
28635         * posix/setresgid.c: Likewise.
28636         * posix/setresuid.c: Likewise.
28637         * posix/setsid.c: Likewise.
28638         * posix/setuid.c: Likewise.
28639         * posix/sleep.c: Likewise.
28640         * posix/spawni.c: Likewise.
28641         * posix/sysconf.c: Likewise.
28642         * posix/times.c: Likewise.
28643         * posix/wait.c: Likewise.
28644         * posix/wait3.c: Likewise.
28645         * posix/wait4.c: Likewise.
28646         * posix/waitpid.c: Likewise.
28647         * resolv/gai_sigqueue.c: Likewise.
28648         * resource/getpriority.c: Likewise.
28649         * resource/getrlimit.c: Likewise.
28650         * resource/getrusage.c: Likewise.
28651         * resource/nice.c: Likewise.
28652         * resource/setpriority.c: Likewise.
28653         * resource/setrlimit.c: Likewise.
28654         * resource/ulimit.c: Likewise.
28655         * rt/aio_cancel.c: Likewise.
28656         * rt/aio_fsync.c: Likewise.
28657         * rt/aio_read.c: Likewise.
28658         * rt/aio_sigqueue.c: Likewise.
28659         * rt/aio_suspend.c: Likewise.
28660         * rt/aio_write.c: Likewise.
28661         * rt/clock_getres.c: Likewise.
28662         * rt/clock_gettime.c: Likewise.
28663         * rt/clock_nanosleep.c: Likewise.
28664         * rt/clock_settime.c: Likewise.
28665         * rt/lio_listio.c: Likewise.
28666         * rt/mq_close.c: Likewise.
28667         * rt/mq_getattr.c: Likewise.
28668         * rt/mq_notify.c: Likewise.
28669         * rt/mq_open.c: Likewise.
28670         * rt/mq_receive.c: Likewise.
28671         * rt/mq_send.c: Likewise.
28672         * rt/mq_setattr.c: Likewise.
28673         * rt/mq_timedreceive.c: Likewise.
28674         * rt/mq_timedsend.c: Likewise.
28675         * rt/mq_unlink.c: Likewise.
28676         * rt/shm_open.c: Likewise.
28677         * rt/shm_unlink.c: Likewise.
28678         * rt/timer_create.c: Likewise.
28679         * rt/timer_delete.c: Likewise.
28680         * rt/timer_getoverr.c: Likewise.
28681         * rt/timer_gettime.c: Likewise.
28682         * rt/timer_settime.c: Likewise.
28683         * setjmp/__longjmp.c: Likewise.
28684         * setjmp/setjmp.c: Likewise.
28685         * signal/kill.c: Likewise.
28686         * signal/killpg.c: Likewise.
28687         * signal/raise.c: Likewise.
28688         * signal/sigaction.c: Likewise.
28689         * signal/sigaltstack.c: Likewise.
28690         * signal/sigblock.c: Likewise.
28691         * signal/sigignore.c: Likewise.
28692         * signal/sigintr.c: Likewise.
28693         * signal/signal.c: Likewise.
28694         * signal/sigpause.c: Likewise.
28695         * signal/sigpending.c: Likewise.
28696         * signal/sigqueue.c: Likewise.
28697         * signal/sigreturn.c: Likewise.
28698         * signal/sigset.c: Likewise.
28699         * signal/sigsetmask.c: Likewise.
28700         * signal/sigstack.c: Likewise.
28701         * signal/sigsuspend.c: Likewise.
28702         * signal/sigtimedwait.c: Likewise.
28703         * signal/sigvec.c: Likewise.
28704         * signal/sigwait.c: Likewise.
28705         * signal/sigwaitinfo.c: Likewise.
28706         * signal/sysv_signal.c: Likewise.
28707         * socket/accept.c: Likewise.
28708         * socket/accept4.c: Likewise.
28709         * socket/bind.c: Likewise.
28710         * socket/connect.c: Likewise.
28711         * socket/getpeername.c: Likewise.
28712         * socket/getsockname.c: Likewise.
28713         * socket/getsockopt.c: Likewise.
28714         * socket/isfdtype.c: Likewise.
28715         * socket/listen.c: Likewise.
28716         * socket/recv.c: Likewise.
28717         * socket/recvfrom.c: Likewise.
28718         * socket/recvmsg.c: Likewise.
28719         * socket/send.c: Likewise.
28720         * socket/sendmsg.c: Likewise.
28721         * socket/sendto.c: Likewise.
28722         * socket/setsockopt.c: Likewise.
28723         * socket/shutdown.c: Likewise.
28724         * socket/sockatmark.c: Likewise.
28725         * socket/socket.c: Likewise.
28726         * socket/socketpair.c: Likewise.
28727         * stdio-common/ctermid.c: Likewise.
28728         * stdio-common/cuserid.c: Likewise.
28729         * stdio-common/remove.c: Likewise.
28730         * stdio-common/rename.c: Likewise.
28731         * stdio-common/renameat.c: Likewise.
28732         * stdio-common/tempname.c: Likewise.
28733         * stdlib/getcontext.c: Likewise.
28734         * stdlib/makecontext.c: Likewise.
28735         * stdlib/setcontext.c: Likewise.
28736         * stdlib/swapcontext.c: Likewise.
28737         * stdlib/system.c: Likewise.
28738         * streams/fattach.c: Likewise.
28739         * streams/fdetach.c: Likewise.
28740         * streams/getmsg.c: Likewise.
28741         * streams/getpmsg.c: Likewise.
28742         * streams/putmsg.c: Likewise.
28743         * streams/putpmsg.c: Likewise.
28744         * sysdeps/unix/bsd/getpt.c: Likewise.
28745         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28746         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28747         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28749         Likewise.
28750         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28751         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28752         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28753         * sysvipc/msgctl.c: Likewise.
28754         * sysvipc/msgget.c: Likewise.
28755         * sysvipc/msgrcv.c: Likewise.
28756         * sysvipc/msgsnd.c: Likewise.
28757         * sysvipc/semctl.c: Likewise.
28758         * sysvipc/semget.c: Likewise.
28759         * sysvipc/semop.c: Likewise.
28760         * sysvipc/semtimedop.c: Likewise.
28761         * sysvipc/shmat.c: Likewise.
28762         * sysvipc/shmctl.c: Likewise.
28763         * sysvipc/shmdt.c: Likewise.
28764         * sysvipc/shmget.c: Likewise.
28765         * termios/tcdrain.c: Likewise.
28766         * termios/tcflow.c: Likewise.
28767         * termios/tcflush.c: Likewise.
28768         * termios/tcgetattr.c: Likewise.
28769         * termios/tcgetpgrp.c: Likewise.
28770         * termios/tcsendbrk.c: Likewise.
28771         * termios/tcsetattr.c: Likewise.
28772         * termios/tcsetpgrp.c: Likewise.
28773         * time/adjtime.c: Likewise.
28774         * time/clock.c: Likewise.
28775         * time/getitimer.c: Likewise.
28776         * time/gettimeofday.c: Likewise.
28777         * time/setitimer.c: Likewise.
28778         * time/settimeofday.c: Likewise.
28779         * time/stime.c: Likewise.
28780         * time/time.c: Likewise.
28781
28782 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28783
28784         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28785         /usr/old/bin.
28786
28787         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28788         instead of spaces.
28789         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28790
28791 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28792
28793         [BZ #14796]
28794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28795         FE_TONEAREST before applying Dekker multiplication and Knuth
28796         addition.  Clear inexact exceptions and check for exact zero
28797         results afterwards.
28798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28799         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28801         * math/libm-test.inc (fma_test): Add more tests.
28802         (fma_test_towardzero): Likewise.
28803         (fma_test_downward): Likewise.
28804         (fma_test_upward): Likewise.
28805         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28806         function.
28807         (libc_fesetround): New macro.
28808         (libc_fesetroundf): Likewise.
28809         (libc_fesetroundl): Likewise.
28810         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28811         function.
28812         (libc_fesetround_387): Likewise.
28813         (libc_fesetroundf): New macro.
28814         (libc_fesetround): Likewise.
28815         (libc_fesetroundl): Likewise.
28816         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28817         function.
28818         (libc_fesetroundf): New macro.
28819         (libc_fesetround): Likewise.
28820         (libc_fesetroundl): Likewise.
28821         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28822         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28823         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28824         libm_hidden_ver.
28825         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28826         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28827         libm_hidden_def.
28828         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28829         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28830         libm_hidden_ver.
28831         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28832         libm_hidden_def.
28833
28834         [BZ #3439]
28835         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28836         integer constant usable in #if and use that to give value to enum
28837         constant.
28838         (FE_DIVBYZERO): Likewise.
28839         (FE_UNDERFLOW): Likewise.
28840         (FE_OVERFLOW): Likewise.
28841         (FE_INVALID): Likewise.
28842         (FE_INVALID_SNAN): Likewise.
28843         (FE_INVALID_ISI): Likewise.
28844         (FE_INVALID_IDI): Likewise.
28845         (FE_INVALID_ZDZ): Likewise.
28846         (FE_INVALID_IMZ): Likewise.
28847         (FE_INVALID_COMPARE): Likewise.
28848         (FE_INVALID_SOFTWARE): Likewise.
28849         (FE_INVALID_SQRT): Likewise.
28850         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28851         (FE_TONEAREST): Likewise.
28852         (FE_TOWARDZERO): Likewise.
28853         (FE_UPWARD): Likewise.
28854         (FE_DOWNWARD): Likewise.
28855         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28856         (FE_DIVBYZERO): Likewise.
28857         (FE_OVERFLOW): Likewise.
28858         (FE_UNDERFLOW): Likewise.
28859         (FE_INEXACT): Likewise.
28860         (FE_TONEAREST): Likewise.
28861         (FE_DOWNWARD): Likewise.
28862         (FE_UPWARD): Likewise.
28863         (FE_TOWARDZERO): Likewise.
28864         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28865         (FE_UNDERFLOW): Likewise.
28866         (FE_OVERFLOW): Likewise.
28867         (FE_DIVBYZERO): Likewise.
28868         (FE_INVALID): Likewise.
28869         (FE_TONEAREST): Likewise.
28870         (FE_TOWARDZERO): Likewise.
28871         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28872         (FE_OVERFLOW): Likewise.
28873         (FE_UNDERFLOW): Likewise.
28874         (FE_DIVBYZERO): Likewise.
28875         (FE_INEXACT): Likewise.
28876         (FE_TONEAREST): Likewise.
28877         (FE_TOWARDZERO): Likewise.
28878         (FE_UPWARD): Likewise.
28879         (FE_DOWNWARD): Likewise.
28880         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28881         (FE_DIVBYZERO): Likewise.
28882         (FE_OVERFLOW): Likewise.
28883         (FE_UNDERFLOW): Likewise.
28884         (FE_INEXACT): Likewise.
28885         (FE_TONEAREST): Likewise.
28886         (FE_DOWNWARD): Likewise.
28887         (FE_UPWARD): Likewise.
28888         (FE_TOWARDZERO): Likewise.
28889
28890 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28891
28892         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28893
28894 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28895
28896         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28897         commands.  Quote $PWD.
28898         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28899         -x" by "export".
28900         (remove_newlines): Remove.
28901
28902 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28903
28904         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28905         * stdlib/stdlib.h (atof): Moved to ...
28906         * include/bits/stdlib-float.h: Here.  New file.
28907         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28908         * stdlib/bits/stdlib-float.h: New file.
28909         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28910         -mno-sse -mno-mmx.
28911         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28912         <xmmintrin.h>.
28913
28914 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28915
28916         * conform/conformtest.pl (@headers): Add fenv.h.
28917         * conform/data/fenv.h-data: New file.
28918         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28919         include of <math/fenv.h>.
28920
28921         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28922         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28923         && !UNIX98].  Enables tests for XOPEN2K8.
28924         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28925         POSIX2008]: Likewise.
28926
28927         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28928         (struct rusage): Do not expect type or its members.
28929
28930         [BZ #3439]
28931         * math/math.h (FP_NAN): Define macro to integer constant usable in
28932         #if and use that to give value to enum constant.
28933         (FP_INFINITE): Likewise.
28934         (FP_ZERO): Likewise.
28935         (FP_SUBNORMAL): Likewise.
28936         (FP_NORMAL): Likewise.
28937
28938 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28939
28940         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28941         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28942         arguments.
28943
28944 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28945
28946         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28947         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28948         autoconf-time if not.
28949         * configure.in: Remove AC_PREREQ.
28950
28951 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28952
28953         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28954         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28955         of the internal implementation.
28956
28957 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28958
28959         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28960         except include of <misc/sys/syslog.h>.
28961
28962 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28963
28964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28965         function returns with a NULL context exit with zero.
28966
28967 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28968
28969         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28970
28971 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28972
28973         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28974         (run_program_cmd): This.
28975         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28976         (tst_langinfo): New variable.  Use it.
28977
28978 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28979
28980         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28981         floating point opcodes.
28982
28983 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28984
28985         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28986         variable.
28987
28988         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28989
28990         * sysdeps/mach/hurd/powerpc: Remove directory.
28991         * sysdeps/mach/powerpc: Likewise.
28992
28993 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28994
28995         * scripts/check-local-headers.sh: Ignore c++ headers.
28996
28997 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28998
28999         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29000         __libc_cleanup_region_start argument.
29001
29002 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29003
29004         [BZ #14784]
29005         [BZ #14785]
29006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29007         x * y using scaling, not as x * y + z.
29008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29010         * math/libm-test.inc (fma_test): Add more tests.
29011         (fma_test_towardzero): Likewise.
29012         (fma_test_downward): Likewise.
29013         (fma_test_upward): Likewise.
29014
29015 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29016
29017         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29018
29019 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29020
29021         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29022         New variable.
29023
29024 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29025
29026         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29027
29028 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29029
29030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29031         Fix sort order.
29032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29033         Likewise.
29034
29035 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29036
29037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29038         Fix the order of the list for glibc 2.17.
29039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29040         Likewise.
29041
29042 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29043
29044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29045
29046 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29047
29048         [BZ #14610]
29049         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29050         for low part of x being zero before using __atanl (y).
29051         * math/libm-test.inc (atan2_test): Add another test.
29052
29053         * manual/install.texi (Configuring and compiling): Document
29054         general use of test-wrapper and test-wrapper-env.
29055         * INSTALL: Regenerated.
29056
29057         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29058         (__fma): Do not extract and scale down low bits on after-rounding
29059         systems when result rounded to normal precision would have normal
29060         exponent.
29061         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29062         (__fmal): Do not extract and scale down low bits on after-rounding
29063         systems when result rounded to normal precision would have normal
29064         exponent.
29065         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29066         (__fmal): Do not extract and scale down low bits on after-rounding
29067         systems when result rounded to normal precision would have normal
29068         exponent.
29069         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29070         macro.
29071         (fma_test): Add more tests.
29072         (fma_test_towardzero): Likewise.
29073         (fma_test_downward): Likewise.
29074         (fma_test_upward): Likewise.
29075
29076 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29077
29078         * sysdeps/i386/tininess.h: Renamed to ...
29079         * sysdeps/x86/tininess.h: This.
29080         * sysdeps/x86_64/tininess.h: Removed.
29081
29082 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29083
29084         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29085         input.  Use $(build-program-cmd).
29086         ($(objpfx)tst-array1-static.out): Likewise.
29087         ($(objpfx)tst-array2.out): Likewise.
29088         ($(objpfx)tst-array3.out): Likewise.
29089         ($(objpfx)tst-array4.out): Likewise.
29090         ($(objpfx)tst-array5.out): Likewise.
29091         ($(objpfx)tst-array5-static.out): Likewise.
29092
29093 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29094
29095         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29096         if defined.
29097
29098         * nss/nsswitch.h (nss_interface_function): Provide new
29099         macro for use with NSS functions.
29100         * grp/initgroups.c: Use new macro.
29101         * nss/getXXbyYY.c: Likewise.
29102         * nss/getXXbyYY_r.c: Likewise.
29103         * nss/getXXent.c: Likewise.
29104         * nss/getXXent_r.c: Likewise.
29105         * sysdeps/posix/getaddrinfo.c: Likewise.
29106
29107 2012-10-30  Andreas Jaeger  <aj@suse.de>
29108
29109         * po/ru.po: Update Russion translation from translation project.
29110
29111 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29112
29113         [BZ #14152]
29114         [BZ #14783]
29115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29116         result and shift together with sticky bit instead of replicating
29117         round-to-nearest rounding.
29118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29120         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29121         missing underflow exceptions.
29122         (fma_test_towardzero): Add more tests.
29123         (fma_test_downward): Likewise.
29124         (fma_test_upward): Likewise.
29125
29126         [BZ #14047]
29127         * sysdeps/generic/tininess.h: New file.
29128         * sysdeps/i386/tininess.h: Likewise.
29129         * sysdeps/sh/tininess.h: Likewise.
29130         * sysdeps/x86_64/tininess.h: Likewise.
29131         * stdlib/tst-strtod-underflow.c: Likewise.
29132         * stdlib/tst-tininess.c: Likewise.
29133         * stdlib/strtod_l.c: Include <tininess.h>.
29134         (round_and_return): Do not set errno for exact underflow cases.
29135         Force an underflow exception when setting errno for underflow.
29136         Determine underflow based on rounding to normal precision if
29137         TININESS_AFTER_ROUNDING.
29138         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29139         ERANGE for exact underflow cases.
29140         * stdlib/Makefile (tests): Add tst-tininess and
29141         tst-strtod-underflow.
29142         ($(objpfx)tst-tininess): Use $(link-libm).
29143         ($(objpfx)tst-strtod-underflow): Likewise.
29144
29145 2012-10-30  Andreas Jaeger  <aj@suse.de>
29146
29147         [BZ#14767]
29148         * elf/Makefile (tests): Remove conditional for have-initfini-array
29149         since this is now always required and the variable does not exist
29150         anymore.
29151         (tests-static): Likewise.
29152         (modules-names): Likewise.
29153
29154         * po/eo.po: Add Esperanto translation from translation project.
29155
29156         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29157         merged with constructor/destructor.
29158         (init_array): Likewise.
29159         * elf/tst-array2dep.c (fini_array): Likewise.
29160         (init_array): Likewise.
29161
29162 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29163
29164         * manual/message.texi: Delete @cartouche tags.
29165
29166 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29167
29168         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29169         EOPNOTSUPP.
29170         * sysdeps/mach/hurd/fsync.c: Likewise.
29171
29172         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29173         [_POSIX_REALTIME_SIGNALS]: Change condition to
29174         [_POSIX_REALTIME_SIGNALS > 0].
29175
29176 2012-10-27  Andreas Jaeger  <aj@suse.de>
29177
29178         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29179         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29181         [__WORDSIZE != 64]: Likewise.
29182
29183 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29184
29185         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29186         *  iconvdata/tst-tables.sh: Likewise.
29187
29188 2012-10-25  David S. Miller  <davem@davemloft.net>
29189
29190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29191         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29192         of strtoull.
29193
29194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29195         ifunc-impl-list.c
29196         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29197         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29198         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29199         file.
29200
29201 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29202
29203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29204         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29205         __getdirentries.
29206
29207 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29208             Jim Blandy  <jimb@codesourcery.com>
29209
29210         * scripts/cross-test-ssh.sh: New file.
29211         * manual/install.texi (Configuring and compiling): Document use of
29212         cross-test-ssh.sh.
29213         * INSTALL: Regenerated.
29214
29215 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29216
29217         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29218         EOPNOTSUPP.
29219
29220 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29221
29222         * Makeconfig (run-program-prefix): Fix comment.
29223
29224 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29225             Jim Blandy  <jimb@codesourcery.com>
29226
29227         * Makeconfig (test-wrapper): New variable,
29228         (test-wrapper-env): Likewise.
29229         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29230         (run-built-tests): Define to yes.
29231         (run-program-prefix): Use $(test-wrapper).
29232         (built-program-cmd): Likewise.
29233         * Rules (make-test-out): Use $(test-wrapper-env) and
29234         $(host-built-program-cmd).
29235         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29236         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29237         tst-pathopt.sh.
29238         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29239         $(test-wrapper-env) to tst-rtld-load-self.sh.
29240         ($(objpfx)order2.out): Use $(test-wrapper).
29241         ($(objpfx)tst-initorder.out): Likewise.
29242         ($(objpfx)tst-initorder2.out): Likewise.
29243         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29244         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29245         (test_wrapper_env): New variable.  Use it to run ld.so.
29246         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29247         Use it to run ld.so.
29248         (test_wrapper_env): Likewise.
29249         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29250         $(test-wrapper) to run-iconv-test.sh.
29251         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29252         (ICONV): Use $test_wrapper.
29253         * posix/Makefile ($(objpfx)globtest.out): Pass
29254         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29255         globtest.sh, not $(run-program-prefix).
29256         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29257         (test_wrapper): Likewise.
29258         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29259         set together with run_via_rtld_prefix.
29260         (run_program_prefix): Define in terms of test_wrapper and
29261         run_via_rtld_prefix.
29262
29263 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29264
29265         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29266         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29267         Targets removed.
29268
29269         [BZ #14743]
29270         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29271         Declare __clock_getres, __clock_gettime, __clock_settime,
29272         __clock_nanosleep, and __clock_getcpuclockid.
29273         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29274         Remove librt_hidden_def (clock_gettime).
29275         * sysdeps/unix/clock_gettime.c: Likewise.
29276         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29278         * rt/clock_getres.c: Define __clock_getres as an alias.
29279         * sysdeps/posix/clock_getres.c: Likewise.
29280         * rt/clock_settime.c: Define __clock_settime as an alias.
29281         * sysdeps/unix/clock_settime.c: Likewise.
29282         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29283         * sysdeps/unix/clock_nanosleep.c: Likewise.
29284         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29285         * rt/clock-compat.c: New file.
29286         * rt/Makefile (librt-routines): Add clock-compat and move
29287         $(clock-routines) to ...
29288         (routines): ... here, new variable.
29289         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29290         Don't add get_clockfreq here.
29291         * rt/Versions (libc: GLIBC_2.17): New version set.
29292         Add clock_* symbols here.
29293         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29295         (GLIBC_2.17): Add clock_* symbols.
29296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29298         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29300         Likewise.
29301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29302         Likewise.
29303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29307         * NEWS: Mention the move.
29308
29309         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29310         Use __open, __read, __close rather than their public counterparts.
29311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29312         (__get_clockfreq_via_cpuinfo): Likewise.
29313         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29314         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29315
29316         * config.h.in (HAVE_IFUNC): New #undef.
29317         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29318         was successful.
29319         * configure: Regenerated.
29320
29321 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29322
29323         * configure.in: Move READELF check to start of file.
29324         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29325         libc_cv_asm_gnu_indirect_function in the process.
29326         * configure: Regenerated.
29327
29328 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29329
29330         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29331         send the output to /dev/null.
29332         (libc_cv_cc_with_libunwind): Likewise.
29333         (libc_cv_as_noexecstack): Likewise.
29334         * configure: Regenerate.
29335
29336 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29337
29338         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29339
29340         * posix/globtest.sh (TMPDIR): Do not set.
29341         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29342         (testout): Likewise.
29343
29344 2012-10-24  Andreas Jaeger  <aj@suse.de>
29345
29346         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29347         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29348         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29349         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29350         posix_fadvise64, posix_fallocate64.
29351
29352         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29353         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29354         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29355         Likewise.
29356         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29357         Likewise.
29358         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29359
29360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29361         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29362         <bits/fcntl-linux.h>.
29363         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29364
29365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29366         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29367         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29368         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29369         [__WORDSIZE != 64]: Likewise.
29370
29371 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29372
29373         * Makeconfig (run-built-tests): New variable.
29374         * Rules [$(cross-compiling) = yes]: Change condition to
29375         [$(run-built-tests) = no].
29376         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29377         to [$(run-built-tests) = yes].
29378         * elf/Makefile [$(cross-compiling) = no]: Likewise
29379         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29380         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29381         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29382         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29383         * io/Makefile [$(cross-compiling) = no]: Likewise.
29384         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29385         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29386         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29387         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29388         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29389         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29390         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29391         * string/Makefile [$(cross-compiling) = no]: Likewise.
29392
29393         * posix/Makefile ($(objpfx)globtest.out): Pass
29394         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29395         $(rtld-installed-name).
29396         * posix/globtest.sh (elf_objpfx): Remove variable.
29397         (rtld_installed_name): Likewise.
29398         (library_path): Likewise.
29399         (run_program_prefix): New variable.  Use for running globtest
29400         binary.
29401
29402 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29403             Joseph Myers  <joseph@codesourcery.com>
29404
29405         * Makeconfig (host-built-program-cmd): New variable.
29406         * elf/Makefile (tst-stackguard1-ARGS): Use
29407         $(host-built-program-cmd).
29408         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29409         (tst-spawn-ARGS): Likewise.
29410         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29411
29412 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29413             Jim Blandy  <jimb@codesourcery.com>
29414
29415         * Makeconfig (run-via-rtld-prefix): New variable.
29416         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29417         (built-program-cmd): Likewise.
29418
29419 2012-10-22  Andreas Jaeger  <aj@suse.de>
29420
29421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29422         __O_RSYNC if it exists, otherwise to O_SYNC.
29423
29424 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29425             Joseph Myers  <joseph@codesourcery.com>
29426
29427         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29428         /dev/null.
29429         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29430         from /dev/null
29431         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29432         /dev/null.
29433
29434 2012-10-22  Andreas Jaeger  <aj@suse.de>
29435
29436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29437         Define always.
29438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29439
29440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29441         bits/fcntl-linux.h.
29442
29443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29444         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29445
29446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29447         to __O_LARGEFILE.
29448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29449         to __O_LARGEFILE.
29450
29451 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29452             Joseph Myers  <joseph@codesourcery.com>
29453
29454         * config.make.in (NM): New variable.
29455
29456 2012-10-21  Andreas Jaeger  <aj@suse.de>
29457
29458         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29459         definitions and declarations that are provided by
29460         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29461
29462 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29463
29464         [BZ #14683]
29465         * elf/Makefile (tests-static): Add tst-leaks1-static.
29466         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29467         ($(objpfx)tst-leaks1-static): New rule.
29468         ($(objpfx)tst-leaks1-static-mem): Likewise.
29469         (tst-leaks1-static-ENV): New macro.
29470         * elf/dl-open.c (dl_open_worker): Check the main application
29471         only if SHARED is defined.
29472         * elf/tst-leaks1-static.c: New file.
29473
29474 2012-10-20  Andreas Jaeger  <aj@suse.de>
29475
29476         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29477         generic values for Linux.
29478         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29479         and declarations that are provided by <bits/fcntl-linux.h> and
29480         include <bits/fcntl-linux.h>.
29481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29483
29484 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29485
29486         * io/fcntl.h: Move include of <bits/types.h> to the top and
29487         include it unconditionally.
29488
29489 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29490
29491         * wcsmbs/Makefile (tests-ifunc): New variable.
29492         (tests): Add $(tests-ifunc).
29493         * wcsmbs/test-wcschr-ifunc.c: New file.
29494         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29495         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29496         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29497         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29498         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29499
29500         * string/Makefile (tests-ifunc): New variable.
29501         (tests): Add $(tests-ifunc).
29502         * string/test-memccpy.c (TEST_NAME): New macro.
29503         * string/test-memchr.c (TEST_NAME): Likewise.
29504         * string/test-memcmp.c (TEST_NAME): Likewise.
29505         * string/test-memcpy.c (TEST_NAME): Likewise.
29506         * string/test-memmem.c (TEST_NAME): Likewise.
29507         * string/test-memmove.c (TEST_NAME): Likewise.
29508         * string/test-memset.c (TEST_NAME): Likewise.
29509         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29510         * string/test-stpcpy.c (TEST_NAME): Likewise.
29511         * string/test-stpncpy.c (TEST_NAME): Likewise.
29512         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29513         * string/test-strcasestr.c (TEST_NAME): Likewise.
29514         * string/test-strcat.c (TEST_NAME): Likewise.
29515         * string/test-strchr.c (TEST_NAME): Likewise.
29516         * string/test-strcmp.c(TEST_NAME): Likewise.
29517         * string/test-strcpy.c (TEST_NAME): Likewise.
29518         * string/test-strcspn.c (TEST_NAME): Likewise.
29519         * string/test-strlen.c (TEST_NAME): Likewise.
29520         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29521         * string/test-strncmp.c (TEST_NAME): Likewise.
29522         * string/test-strncpy.c (TEST_NAME): Likewise.
29523         * string/test-strnlen.c (TEST_NAME): Likewise.
29524         * string/test-strpbrk.c (TEST_NAME): Likewise.
29525         * string/test-strrchr.c (TEST_NAME): Likewise.
29526         * string/test-strspn.c (TEST_NAME): Likewise.
29527         * string/test-strstr.c (TEST_NAME): Likewise.
29528         * string/test-bcopy-ifunc.c: New file.
29529         * string/test-bzero-ifunc.c: Likewise.
29530         * string/test-memccpy-ifunc.c: Likewise.
29531         * string/test-memchr-ifunc.c: Likewise.
29532         * string/test-memcmp-ifunc.c: Likewise.
29533         * string/test-memcpy-ifunc.c: Likewise.
29534         * string/test-memmem-ifunc.c: Likewise.
29535         * string/test-memmove-ifunc.c: Likewise.
29536         * string/test-mempcpy-ifunc.c: Likewise.
29537         * string/test-memset-ifunc.c: Likewise.
29538         * string/test-rawmemchr-ifunc.c: Likewise.
29539         * string/test-stpcpy-ifunc.c: Likewise.
29540         * string/test-stpncpy-ifunc.c: Likewise.
29541         * string/test-strcasecmp-ifunc.c: Likewise.
29542         * string/test-strcasestr-ifunc.c: Likewise.
29543         * string/test-strcat-ifunc.c: Likewise.
29544         * string/test-strchr-ifunc.c: Likewise.
29545         * string/test-strchrnul-ifunc.c: Likewise.
29546         * string/test-strcmp-ifunc.c: Likewise.
29547         * string/test-strcpy-ifunc.c: Likewise.
29548         * string/test-strcspn-ifunc.c: Likewise.
29549         * string/test-strlen-ifunc.c: Likewise.
29550         * string/test-strncasecmp-ifunc.c: Likewise.
29551         * string/test-strncat-ifunc.c: Likewise.
29552         * string/test-strncmp-ifunc.c: Likewise.
29553         * string/test-strncpy-ifunc.c: Likewise.
29554         * string/test-strnlen-ifunc.c: Likewise.
29555         * string/test-strpbrk-ifunc.c: Likewise.
29556         * string/test-strrchr-ifunc.c: Likewise.
29557         * string/test-strspn-ifunc.c: Likewise.
29558         * string/test-strstr-ifunc.c: Likewise.
29559
29560         * debug/Makefile (tests-ifunc): New variable.
29561         (tests): Add $(tests-ifunc).
29562         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29563         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29564         * debug/test-stpcpy_chk-ifunc.c: New file.
29565         * debug/test-strcpy_chk-ifunc.c: Likewise.
29566
29567 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29568
29569         [BZ #13601]
29570         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29571         header is not read in.
29572
29573 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29574
29575         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29576         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29577         directly.  Pass built executable to script as
29578         $(built-program-cmd).
29579         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29580         $testprogram without using LD_LIBRARY_PATH and $ldso.
29581
29582         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29583         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29584         $(rtld-installed-name).
29585         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29586         (rtld_installed_name): Likewise.
29587         (library_path): Likewise.
29588         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29589         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29590         $(run-program-prefix) to tst-tables.sh.
29591         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29592         it to run tst-table-from and tst-table-to.
29593         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29594         Pass it to tst-table.sh.
29595         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29596         $(run-program-prefix) to tst-gettext.sh.
29597         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29598         tst-translit.sh.
29599         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29600         tst-gettext2.sh.
29601         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29602         to run tst-gettext.
29603         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29604         to run tst-gettext2.
29605         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29606         to run tst-translit.
29607         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29608         $(run-program-prefix) to tst-mtrace.sh.
29609         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29610         to run tst-mtrace.
29611         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29612         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29613         $(rtld-installed-name).
29614         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29615         (rtld_installed_name): Likewise.
29616         (run_program_prefix): New variable.  Use it to run wordexp-test.
29617
29618         * Makeconfig (ARCH): Remove all definitions.
29619         (machine): Likewise.
29620         [ARCH]: Remove conditional code.
29621         [!objdir]: Give error.
29622         [!objdir] (objpfx): Remove.
29623         [!objdir] (common-objpfx): Likewise.
29624         [!objdir] (common-objdir): Likewise.
29625         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29626         AC_CONFIG_FILES call.
29627         * configure: Regenerated.
29628
29629         [BZ #13888]
29630         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29631         or TMPDIR.
29632         (testout): Likewise.
29633
29634         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29635         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29636         $(rtld-installed-name).
29637         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29638         (rtld_installed_name): Likwise.
29639         (runit): Remove function.
29640         (run_getconf): New variable,  Use it for running getconf binary.
29641
29642 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29643
29644         [BZ #14716]
29645         * string/test-memmem.c (check_result): New function.
29646         (do_one_test): Use it.
29647         (check1): New function.
29648         (test_main): Use it.
29649
29650 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29651
29652         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29653
29654 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29655
29656         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29657         (_G_LSEEK64): Likewise.
29658         (_G_MMAP64): Likewise.
29659         (_G_FSTAT64): Likewise.
29660         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29661         (_G_LSEEK64): Likewise.
29662         (_G_MMAP64): Likewise.
29663         (_G_FSTAT64): Likewise.
29664         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29665         unconditional.  Call __mmap64 directly.
29666         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29667         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29668         __lseek64 directly.
29669         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29670         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29671         __mmap64 directly.
29672         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29673         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29674         __lseek64 directly.
29675         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29676         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29677         __lseek64 directly.
29678         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29679         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29680         __lseek64 directly.
29681         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29682         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29683         __fxstat64 directly.
29684         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29685         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29686         unconditional.
29687         (freopen64) [!_G_OPEN64]: Remove conditional code.
29688         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29689         unconditional.
29690         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29691         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29692         unconditional.
29693         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29694         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29695         unconditional.
29696         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29697         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29698         unconditional.
29699         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29700         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29701         unconditional.
29702         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29703         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29704         unconditional.
29705         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29706         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29707         unconditional.
29708         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29709
29710 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29711
29712         [BZ #12140]
29713         * manual/memory.texi (Malloc Tunable Parameters): Add note
29714         about free list pointers overwriting some perturb bytes.
29715         Wording suggested by Roland McGrath.
29716
29717 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29718
29719         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29720         (lgamma_test): Likewise.
29721         (tgamma_test): Likewise.
29722
29723 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29724
29725         [BZ #14700]
29726         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29727         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29728
29729 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29730
29731         * NEWS: Mention BZ #14716.
29732         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29733         when removing AVAILABLE1_USES_J macro.
29734
29735 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29736
29737         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29738         (__bswap_64): __uint64_t for unsigned 64-bit int.
29739
29740 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29741
29742         * include/string.h (memmem): Declare libc hidden alias.
29743         * string/memmem.c (memmem): Define libc hidden alias.
29744         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29745         __read, __close instead of open, read, close.
29746
29747 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29748
29749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29750         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29751         global and hidden.
29752         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29753         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29754         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29755         Likewise.
29756         (__rawmemchr_sse2): Likewise.
29757         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29758         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29759         (__strchr_sse2): Likewise.
29760         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29761         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29762         (__strcasecmp_sse2): Likewise.
29763         (__strncasecmp_sse2): Likewise.
29764         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29765         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29766         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29767         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29768         (__strrchr_sse2): Likewise.
29769         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29770         ifunc-impl-list.c.
29771         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29772         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29773         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29774         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29775         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29776         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29777         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29778         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29779         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29780         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29781         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29782         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29783         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29784         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29785         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29786         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29787         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29788         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29789         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29790         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29791         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29792         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29793         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29794         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29795         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29797         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29798         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29799         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29800         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29801
29802         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29803         global and hidden.
29804         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29805         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29806         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29807         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29808         Likewise.
29809         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29810         Likewise.
29811         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29812         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29813         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29814         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29815         ifunc-impl-list.c.
29816         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29817         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29818         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29819         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29820         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29821         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29822         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29823         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29824         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29825         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29826         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29827         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29828         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29829         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29830         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29831         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29832         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29833         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29834         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29835         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29836         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29837         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29838         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29839         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29840         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29841         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29842         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29843         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29844         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29845         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29846         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29847         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29848         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29849         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29850         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29851         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29852         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29853         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29854         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29856         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29857
29858         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29859         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29860         * include/ifunc-impl-list.h: New file.
29861         * misc/ifunc-impl-list.c: Likewise.
29862         * misc/Makefile (routines): Add ifunc-impl-list.
29863         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29864         * string/test-string.h: Include <ifunc-impl-list.h>.
29865         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29866         TEST_NAME]: New variables.
29867         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29868         are defined.
29869         (test_init): Call __libc_ifunc_impl_list to initialize
29870         func_list if TEST_IFUNC and TEST_NAME are defined.
29871
29872         * string/Makefile (strop-tests): Add bcopy and bzero.
29873         * string/test-bcopy.c: New file.
29874         * string/test-bzero.c: Likewise.
29875         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29876         defined.
29877         * string/test-memset.c: Support bzero test if TEST_BZERO is
29878         defined.
29879         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29880         __libc_memmove.
29881         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29882         __libc_memset.
29883         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29884         of memset.
29885
29886 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29887
29888         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29889         * configure: Regenerated.
29890
29891         * Makeconfig (+link-static-before-libc): Don't include
29892         $(link-static-libc).
29893
29894         * libio/libio.h (_IO_pos_t): Remove.
29895
29896 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29897
29898         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29899         McGrath.
29900
29901 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29902
29903         * crypt/crypt-entry.c: Include fips-private.h.
29904         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29905         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29906         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29907         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29908
29909 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29910
29911         * crypt/crypt-private.h: Include stdbool.h.
29912         (_ufc_setup_salt_r): Return bool.
29913         * crypt/crypt-entry.c: Include errno.h.
29914         (__crypt_r): Return NULL with EINVAL for bad salt.
29915         * crypt/crypt_util.c (bad_for_salt): New.
29916         (_ufc_setup_salt_r): Check that salt is long enough and within
29917         the specified alphabet.
29918         * crypt/badsalttest.c: New file.
29919         * crypt/Makefile (tests): Add it.
29920         ($(objpfx)badsalttest): New.
29921
29922 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29923
29924         * NEWS: Add entry for BZ #14602.
29925
29926 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29927
29928         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29929         type-generic.
29930         * math/libm-test.inc: Update comment listing what functions and
29931         macros are tested.
29932         (isgreater_test): New function.
29933         (isgreaterequal_test): Likewise.
29934         (isless_test): Likewise.
29935         (islessequal_test): Likewise.
29936         (islessgreater_test): Likewise.
29937         (isunordered_test): Likewise.
29938         (main): Call the new functions.
29939
29940 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29941
29942         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29943         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29944         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29945         * sysdeps/i386/configure: Regenerated.
29946         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29947         * sysdeps/mach/configure: Regenerated.
29948         * sysdeps/mach/hurd/configure: Regenerated.
29949         * sysdeps/powerpc/configure: Regenerated.
29950         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29951         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29952         * sysdeps/s390/s390-32/configure: Regenerated.
29953         * sysdeps/s390/s390-64/configure: Regenerated.
29954         * sysdeps/sh/configure: Regenerated.
29955         * sysdeps/sparc/configure: Regenerated.
29956         * sysdeps/unix/sysv/linux/configure: Regenerated.
29957         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29958         * sysdeps/x86_64/configure: Regenerated.
29959
29960         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29961         defined.  Don't check if MAP is NULL.
29962
29963 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29964
29965         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29966         (_G_stat64): Likewise.
29967         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29968         (_G_stat64): Likewise.
29969         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29970         instead of struct _G_stat64.
29971         * libio/fileops.c (mmap_remap_check): Likewise.
29972         (decide_maybe_mmap): Likewise.
29973         (_IO_new_file_seekoff): Likewise.
29974         (_IO_file_stat): Likewise.
29975         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29976         _G_off64_t.
29977         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29978         instead of struct _G_stat64.
29979         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29980
29981 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29982
29983         [BZ #14602]
29984         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29985         Replace with ...
29986         (CHECK_EOL): New macro.
29987         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29988         CHECK_EOL.
29989         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29990         Replace with CHECK_EOL.
29991         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29992         Replace with CHECK_EOL.
29993
29994 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29995
29996         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29997         type-generic.
29998         * math/libm-test.inc: Update comment listing what functions and
29999         macros are tested.
30000         (finite_test): New function.
30001         (isinf_test): Likewise.
30002         (isnan_test): Likewise.
30003         (fpclassify_test): Test subnormal input.
30004         (isfinite_test): Likewise.
30005         (isnormal_test): Likewise.
30006         (main): Call the new functions.
30007
30008 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30009
30010         [BZ #14660]
30011         * Makerules (%.dynsym): Force C locale when running
30012         $(OBJDUMP) --dynamic-syms.
30013
30014 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30015
30016         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30017         <stdint.h>.
30018
30019 2012-10-06  David S. Miller  <davem@davemloft.net>
30020
30021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30022         upper 32-bits of the length value in %o2 since we use branch-on-register
30023         tests which consider the entire 64-bit register.
30024
30025 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30026
30027         * string/test-strstr.c (check2): Add a test for page boundary.
30028
30029 2012-10-05  David S. Miller  <davem@davemloft.net>
30030
30031         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30032         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30033         file.
30034         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30035         sysdep_routines.
30036         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30037         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30038         and bzero when HWCAP_SPARC_CRYPTO is present.
30039
30040 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30041
30042         [BZ #14602]
30043         * string/test-strstr.c (check2): New function.
30044         (test_main): Call check2.
30045
30046         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30047         and bug-strchr1.
30048         * string/bug-strcasestr1.c (do_test): Moved to ...
30049         * string/test-strcasestr.c (check1): Here.  New function.
30050         (do_one_test): Break out result checking code into ...
30051         (check_result): This.  New function.
30052         (do_one_test): Call check_result.
30053         (test_main): Call check1.
30054         * string/bug-strchr1.c (do_test): Moved to ...
30055         * string/test-strchr.c (check1): Here.  New function.
30056         (do_one_test): Break out result checking code into ...
30057         (check_result): This.  New function.
30058         (do_one_test): Call check_result.
30059         (test_main): Call check1.
30060         * string/bug-strstr1.c (main): Moved to ...
30061         * string/test-strstr.c (check1): Here.  New function.
30062         (do_one_test): Break out result checking code into ...
30063         (check_result): This.  New function.
30064         (do_one_test): Call check_result.
30065         (test_main): Call check1.
30066         * string/bug-strcasestr1.c: Removed.
30067         * string/bug-strchr1.c: Likewise.
30068         * string/bug-strstr1.c: Likewise.
30069
30070         * elf/Makefile (dl-routines): Add hwcaps.
30071         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30072         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30073         (_dl_important_hwcaps): Moved to ...
30074         * elf/dl-hwcaps.c: Here.  New file.
30075         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30076
30077         [BZ #14557]
30078         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30079         if IS_IN_rtld isn't defined.
30080
30081         * elf/dl-support.c (_dl_sysinfo_map): New.
30082         Include "get-dynamic-info.h" and "setup-vdso.h".
30083         (_dl_non_dynamic_init): Call setup_vdso.
30084         * elf/dynamic-link.h: Don't include <assert.h>.
30085         (elf_get_dynamic_info): Moved to ...
30086         * elf/get-dynamic-info.h: Here.  New file.
30087         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30088         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30089         * elf/setup-vdso.h: Here.  New file.
30090         * elf/rtld.c: Include "setup-vdso.h".
30091         (dl_main): Call setup_vdso.
30092
30093 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30094
30095         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30096         creal in comment listing functions tested.  List finite, isinf,
30097         isnan, isless, islessequal, isgreater, isgreaterequal,
30098         islessgreater, isunordered, lgamma_r and pow10 as functions and
30099         macros not tested.  Mention which functions not tested are aliases
30100         for other functions.  Fix typo.  Note that signs of NaNs are not
30101         tested.
30102
30103         * scripts/config.guess: Update from config.git.
30104         * scripts/config.sub: Likewise.
30105
30106 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30107
30108         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30109         * misc/madvise.c (madvise): Renamed to __madvise.
30110         Make madvise a weak alias.
30111         * include/sys/mman.h: Declare __madvise.
30112         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30113         * sysdeps/unix/syscalls.list
30114         (madvise): Make __madvise the strong name, and madvise a weak alias.
30115         * sysdeps/unix/sysv/linux/syscalls.list
30116         (madvise, mmap): Remove redundant entries.
30117         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30118         * malloc/malloc.c (mtrim): Likewise.
30119         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30120
30121 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30122
30123         * sysdeps/mach/hurd/dl-cache.c: File removed.
30124         * config.h.in (USE_LDCONFIG): New #undef.
30125         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30126         * configure: Regenerated.
30127         * elf/Makefile (dl-routines): Add dl-cache only under
30128         [$(use-ldconfig) = yes].
30129         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30130         cache on [USE_LDCONFIG].
30131         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30132         [USE_LDCONFIG].
30133         * elf/rtld.c (dl_main): Likewise.
30134
30135 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30136
30137         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30138         _SC_LEVEL4_CACHE_LINESIZE.
30139
30140 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30141
30142         * sysdeps/unix/bsd/confstr.h: File removed.
30143
30144 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30145
30146         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30147         sys/sdt-config.h.
30148
30149 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30150
30151         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30152         Make 'mapoff' field ElfW(Off) rather than off_t.
30153
30154 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30155
30156         * nscd/Makefile: Remove nscd-cflags and all its users.
30157         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30158         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30159
30160         [BZ #10631]
30161         * malloc.c (malloc_printerr): Clarify error message.
30162
30163 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30164
30165         [BZ #14648]
30166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30167         Set bit_FMA_Usable if FMA is supported.
30168         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30169         macro.
30170         (bit_FMA4_Usable): Updated.
30171         (index_FMA_Usable): New macro.
30172         (CPUID_FMA): Likewise
30173         (HAS_FMA): Defined with bit_FMA_Usable.
30174
30175 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30176
30177         * bits/types.h (__swblk_t): Type removed.
30178         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30179         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30181         (__SWBLK_T_TYPE): Likewise.
30182         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30183         (__SWBLK_T_TYPE): Likewise.
30184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30185         (__SWBLK_T_TYPE): Likewise.
30186         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30187         (__SWBLK_T_TYPE): Likewise.
30188
30189 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30190             Honza Horak <hhorak@redhat.com>
30191
30192         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30193         (xdr_mapname): Use YPMAXMAP as maxsize.
30194         (xdr_peername): Use YPMAXPEER as maxsize.
30195         (xdr_keydat): Use YPAXRECORD as maxsize.
30196         (xdr_valdat): Use YPMAXRECORD as maxsize.
30197
30198 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30199
30200         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30201
30202         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30203         * csu/init-first.c: ... here.
30204         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30205         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30206         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30207         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30208         * sysdeps/i386/init-first.c: File removed.
30209         * sysdeps/sh/init-first.c: File removed.
30210
30211 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30212
30213         [BZ #14645]
30214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30215         if x * y might underflow to zero and z is zero.
30216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30218         * math/libm-test.inc (min_subnorm_value): New variable.
30219         (fma_test): Add more tests.
30220         (fma_test_towardzero): Likewise.
30221         (fma_test_downward): Likewise
30222         (fma_test_upward): Likewise.
30223         (initialize): Set min_subnorm_value.
30224
30225 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30226
30227         [BZ #14638]
30228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30229         0 + 0.
30230         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30231         mode for addition resulting in exact zero.
30232         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30234         exact 0 + 0.
30235         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30237         * math/libm-test.inc (fma_test): Add more tests.
30238         (fma_test_towardzero): New function.
30239         (fma_test_downward): Likewise.
30240         (fma_test_upward): Likewise.
30241         (main): Call the new functions.
30242
30243 2012-09-28  David S. Miller  <davem@davemloft.net>
30244
30245         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30246
30247 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30248
30249         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30250         instead of SIGALRM.
30251
30252         * sysdeps/gnu/_G_config.h: Moved to ...
30253         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30254         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30255         * sysdeps/generic/_G_config.h: ... here.
30256
30257         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30258
30259         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30260
30261         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30262         Conditionalize target on [libnss_test1.so-version].
30263
30264         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30265
30266         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30267         (elfobjdir): Move out of conditionals.
30268
30269         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30270         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30271         (__nss_lookup_function): Conditionalize label remove_from_tree on
30272         [!DO_STATIC_NSS || SHARED], matching its only use.
30273
30274 2012-09-28  David S. Miller  <davem@davemloft.net>
30275
30276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30277         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30278         file.
30279         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30280         sysdep_routines.
30281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30282         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30283         when HWCAP_SPARC_CRYPTO is present.
30284
30285 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30286
30287         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30288
30289 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30290
30291         [BZ #6530]
30292         * stdio-common/vfprintf.c (process_string_arg): Revert
30293         2000-07-22 change.
30294
30295 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30296
30297         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30298         for testcase.
30299         * stdio-common/tst-sprintf.c: Include <locale.h>
30300         (main): Test sprintf's handling of incomplete multibyte
30301         characters.
30302
30303 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30304
30305         * elf/dl-runtime.c (VERSYMIDX): Removed.
30306         * elf/dl-version.c (VERSYMIDX): Likewise.
30307         * elf/do-rel.h (VERSYMIDX): Likewise.
30308         (VALIDX): Likewise.
30309         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30310         * elf/rtld.c (VALIDX): Likewise.
30311         (ADDRIDX): Likewise.
30312         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30313         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30314         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30315         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30316         (VALIDX): Likewise.
30317         (ADDRIDX): Likewise.
30318
30319 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30320
30321         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30322
30323 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30324
30325         [BZ #11438]
30326         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30327         to global scope.
30328         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30329         addresses are in the same scope as 192.0.2/24.
30330         * posix/gai.conf: Document new scope table defaults.
30331
30332 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30333
30334         [BZ #5298]
30335         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30336         for ftell.  Compute offsets from write pointers instead.
30337         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30338
30339 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30340
30341         [BZ #14543]
30342         * libio/Makefile (tests): New test case tst-fseek.
30343         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30344         combination works in wide mode.
30345         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30346         state when the external buffer state changes.
30347
30348 2012-09-27  David S. Miller  <davem@davemloft.net>
30349
30350         [BZ #14376]
30351         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30352         pass reloc->r_addend in as the 'high' argument to
30353         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30354
30355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30356
30357 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30358
30359         * rt/tst-aio2.c: Include <pthread.h>.
30360         * rt/tst-aio3.c: Likewise.
30361
30362 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30363
30364         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30365
30366 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30367
30368         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30369         contents on [SHARED].
30370
30371 2012-09-26  Marek Polacek  <polacek@redhat.com>
30372
30373         [BZ #14530]
30374         [BZ #13741]
30375         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30376         for C++ and GCC <4.3 as well as for non GCC compilers.
30377
30378 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30379
30380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30381
30382 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30383
30384         * Makefile.in (all, install): Declare with .PHONY.
30385         Reported by Michael Hope <michael.hope@linaro.org>.
30386
30387 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30388
30389         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30390         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30391         system header.
30392         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30393         Likewise.
30394         (sydep_routines): Add the new and the internal functions.
30395         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30396         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30398         (GLIBC_2.17): Add the new function.
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30400         (GLIBC_2.17): Likewise.
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30402         (GLIBC_2.17): Likewise.
30403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30404         (GLIBC_2.17): Likewise.
30405         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30406
30407 2012-09-25  Alan Modra  <amodra@gmail.com>
30408
30409         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30410         Add release barrier before setting once_control to say
30411         initialisation is done.  Add hints on lwarx.  Use macro in
30412         place of isync.
30413         (clear_once_control): Add release barrier.
30414
30415 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30416
30417         [BZ #13629]
30418         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30419         specially.
30420         * math/s_clog10.c (__clog10): Likewise.
30421         * math/s_clog10f.c (__clog10f): Likewise.
30422         * math/s_clog10l.c (__clog10l): Likewise.
30423         * math/s_clogf.c (__clogf): Likewise.
30424         * math/s_clogl.c (__clogl): Likewise.
30425         * math/Makefile (libm-calls): Add x2y2m1.
30426         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30427         (__x2y2m1): Likewise.
30428         (__x2y2m1l): Likewise.
30429         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30430         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30431         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30432         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30433         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30434         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30435         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30436         * sysdeps/i386/fpu/libm-test-ulps: Update.
30437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30438
30439         [BZ #14621]
30440         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30441         int as type of variable DEPTH.
30442         (glob): Use size_t instead of int as type of variables NEWCOUNT
30443         and OLD_PATHC.
30444
30445 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30446
30447         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30448         Add s_sincosf-sse2.
30449         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30450         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30451         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30452         macros for using routine as __sincosf_ia32.
30453         Use macro for function declaration and weak_alias.
30454         * sysdeps/i386/fpu/libm-test-ulps: Update.
30455
30456         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30458
30459         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30460         subnormal argument.
30461         * math/s_cexpf.c (__cexpf): Likewise.
30462         * math/s_csinf.c (__csinf): Likewise.
30463         * math/s_csinhf.c (__csinhf): Likewise.
30464         * math/s_ctanf.c (__ctanf): Likewise.
30465         * math/s_ctanhf.c (__ctanhf): Likewise.
30466         * math/s_ccosh.c (__ccoshf): Likewise.
30467         * math/s_cexp.c (__cexpl): Likewise.
30468         * math/s_csin.c (__csin): Likewise.
30469         * math/s_csinh.c (__csinh): Likewise.
30470         * math/s_ctan.c (__ctan): Likewise.
30471         * math/s_ctanh.c (ctanh): Likewise.
30472         * math/s_ccoshl.c (__ccoshl): Likewise.
30473         * math/s_cexpl.c (__cexpl): Likewise.
30474         * math/s_csinl.c (__csinl): Likewise.
30475         * math/s_csinhl.c (__csinhl): Likewise.
30476         * math/s_ctanl.c (__ctanl): Likewise.
30477         * math/s_ctanhl.c (__ctanhl): Likewise.
30478
30479 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30480
30481         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30482         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30483         (_IO_off_t): Define to __off_t, not _G_off_t.
30484         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30485         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30486         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30487         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30488         type of __dummy and __dummy2 fields.
30489         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30490         (_G_ssize_t): Likewise.
30491         (_G_off_t): Likewise.
30492         (_G_pid_t): Likewise.
30493         (_G_uid_t): Likewise.
30494         (_G_wchar_t): Likewise.
30495         (_G_wint_t): Likewise.
30496         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30497         (_G_ssize_t): Likewise.
30498         (_G_off_t): Likewise.
30499         (_G_pid_t): Likewise.
30500         (_G_uid_t): Likewise.
30501         (_G_wchar_t): Likewise.
30502         (_G_wint_t): Likewise.
30503         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30504         (_G_ssize_t): Likewise.
30505         (_G_off_t): Likewise.
30506         (_G_pid_t): Likewise.
30507         (_G_uid_t): Likewise.
30508         (_G_wchar_t): Likewise.
30509         (_G_wint_t): Likewise.
30510
30511 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30512
30513         * malloc/arena.c: Include malloc-sysdep.h.
30514         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30515         is sufficient to shrink the heap or an unmap is needed.
30516         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30517         new function check_may_shrink_heap.
30518         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30519         new function check_may_shrink_heap.
30520
30521 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30522
30523         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30524         comments.
30525
30526 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30527
30528         * catgets/test-gencat.sh: Add "set -e".
30529         * elf/tst-pathopt.sh: Likewise.
30530         * grp/tst_fgetgrent.sh: Likewise.
30531         * iconvdata/run-iconv-test.sh: Likewise.
30532         * intl/tst-gettext.sh: Likewise.
30533         * intl/tst-gettext2.sh: Likewise.
30534         * intl/tst-gettext4.sh: Likewise.
30535         * intl/tst-gettext6.sh: Likewise.
30536         * intl/tst-translit.sh: Likewise.
30537         * io/ftwtest-sh: Likewise.
30538         * libio/test-freopen.sh: Likewise.
30539         * malloc/tst-mtrace.sh: Likewise.
30540         * posix/globtest.sh: Likewise.
30541         * posix/tst-getconf.sh: Likewise.
30542         * posix/wordexp-tst.sh: Likewise.
30543         * stdio-common/tst-printf.sh: Likewise.
30544         * stdio-common/tst-unbputc.sh: Likewise.
30545         * stdlib/tst-fmtmsg.sh: Likewise.
30546         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30547         * catgets/Makefile: Do not specify -e option when running
30548         testsuite shell scripts.
30549         * elf/Makefile: Likewise.
30550         * grp/Makefile: Likewise.
30551         * iconvdata/Makefile: Likewise.
30552         * intl/Makefile: Likewise.
30553         * io/Makefile: Likewise.
30554         * libio/Makefile: Likewise.
30555         * malloc/Makefile: Likewise.
30556         * posix/Makefile: Likewise.
30557         * stdio-common/Makefile: Likewise.
30558         * stdlib/Makefile: Likewise.
30559         * sysdeps/x86_64/Makefile: Likewise.
30560
30561         * io/ftwtest-sh: Add copyright header.
30562         * posix/globtest.sh: Likewise.
30563         * posix/tst-getconf.sh: Likewise.
30564         * posix/wordexp-tst.sh: Likewise.
30565         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30566
30567 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30568
30569         [BZ #13679]
30570         * Makeconfig (+link): Defined as $(+link-static) if
30571         $(build-shared) isn't yes.
30572         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30573         isn't yes.
30574         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30575
30576         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30577
30578         [BZ #14562]
30579         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30580         new chunk size with MALLOC_ALIGN_MASK.
30581
30582 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30583
30584         [BZ #5044]
30585         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30586         <rounding-mode.h>.
30587         (__printf_fphex): Determine rounding using get_rounding_mode and
30588         round_away.
30589         * stdio-common/tst-printf-round.c (struct hex_test): New
30590         structure.
30591         (hex_tests): New variable.
30592         (test_hex_in_one_mode): New function.
30593         (do_test): Also run tests for hex float output.
30594
30595 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30596
30597         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30598         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30599         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30600         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30601         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30602         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30603         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30604         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30605
30606 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30607
30608         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30609         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30610         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30611         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30612
30613 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30614
30615         [BZ #14579]
30616         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30617         mode only.
30618         * elf/tst-rtld-load-self.sh: New test.
30619         * elf/Makefile: Run it.
30620
30621 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30622
30623         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30624         (tst-writev-ENV): Remove.
30625         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30626
30627 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30628
30629         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30630
30631 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30632
30633         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30634         unconditional.
30635         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30636         Likewise.
30637         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30638         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30639         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30640         Likewise.
30641
30642 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30643
30644         [BZ #14587]
30645         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30646         * config.make.in (have-cpp-asm-debuginfo): Removed.
30647         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30648         * configure: Regenerated.
30649
30650 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30651
30652         [BZ #5044]
30653         * stdio-common/printf_fp.c: Include <stdbool.h> and
30654         <rounding-mode.h>.
30655         (___printf_fp): Determine rounding using get_rounding_mode and
30656         round_away.
30657         * stdio-common/tst-printf-round.c: New file.
30658         * stdio-common/Makefile (tests): Add tst-printf-round.
30659         (link-libm): New variable.
30660         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30661
30662 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30663
30664         [BZ #14576]
30665         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30666         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30667         Likewise.
30668         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30669         Likewise.
30670
30671 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30672
30673         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30674         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30675         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30676         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30677
30678 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30679
30680         [BZ #14518]
30681         * include/rounding-mode.h: New file.
30682         * sysdeps/generic/get-rounding-mode.h: Likewise.
30683         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30684         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30685         (MAX_VALUE): New macro.
30686         (MIN_VALUE): Likewise.
30687         (overflow_value): New function.
30688         (underflow_value): Likewise.
30689         (round_and_return): Use overflow_value and underflow_value to
30690         determine return values in overflow and underflow cases.  Use
30691         round_away to determine rounding depending on rounding mode.
30692         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30693         determine return values in overflow and underflow cases.
30694         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30695         (struct test_results): New structure.
30696         (struct test): Use struct test_results to store expected results
30697         for all rounding modes.
30698         (TEST): Include expected results for all rounding modes.
30699         (test_in_one_mode): New function.
30700         (do_test): Use test_in_one_mode to compute and check results.
30701         Check results for all rounding modes.
30702         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30703         $(link-libm).
30704
30705 2012-12-09  Allan McRae  <allan@archlinux.org>
30706
30707         * sysdeps/i386/fpu/libm-test-ulps: Update
30708
30709 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30710
30711         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30712         (_G_int32_t): Likewise.
30713         (_G_uint16_t): Likewise.
30714         (_G_uint32_t): Likewise.
30715         (_G_HAVE_BOOL): Likewise.
30716         (_G_HAVE_ATEXIT): Likewise.
30717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30718         (_G_HAVE_IO_FILE_OPEN): Likewise.
30719         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30720         (_G_int32_t): Likewise.
30721         (_G_uint16_t): Likewise.
30722         (_G_uint32_t): Likewise.
30723         (_G_HAVE_BOOL): Likewise.
30724         (_G_HAVE_ATEXIT): Likewise.
30725         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30726         (_G_HAVE_IO_FILE_OPEN): Likewise.
30727         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30728         (_G_int32_t): Likewise.
30729         (_G_uint16_t): Likewise.
30730         (_G_uint32_t): Likewise.
30731         (_G_HAVE_BOOL): Likewise.
30732         (_G_HAVE_ATEXIT): Likewise.
30733         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30734         (_G_HAVE_IO_FILE_OPEN): Likewise.
30735
30736 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30737
30738         * csu/libc-tls.c: Update copyright years.
30739
30740 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30741
30742         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30743         [!_G_USING_THUNKS]: Remove conditional code.
30744         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30745         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30746
30747         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30748         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30749         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30750         (_G_VTABLE_LABEL_PREFIX): Likewise.
30751         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30752         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30753         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30754         (_G_VTABLE_LABEL_PREFIX): Likewise.
30755         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30756         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30757         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30758         (_G_VTABLE_LABEL_PREFIX): Likewise.
30759         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30760
30761 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30762
30763         * libio/Makefile: Include ../Makeconfig before tests.
30764         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30765         only if $(build-shared) is yes.
30766
30767         * iconv/gconv_db.c: Update copyright years.
30768
30769 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30770
30771         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30772         unwind info if defined PIC. Fix special cases description.
30773         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30774
30775         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30776         DP_HI_MASK entry.
30777         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30778
30779 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30780
30781         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30782
30783         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30784         is NULL.
30785
30786         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30787         (LDLIBS-tst-chk4): This.
30788         (LDFLAGS-tst-chk5): Renamed to ...
30789         (LDLIBS-tst-chk5): This.
30790         (LDFLAGS-tst-chk6): Renamed to ...
30791         (LDLIBS-tst-chk6): This.
30792         (LDFLAGS-tst-lfschk4): Renamed to ...
30793         (LDLIBS-tst-lfschk4): This.
30794         (LDFLAGS-tst-lfschk5): Renamed to ...
30795         (LDLIBS-tst-lfschk5): This.
30796         (LDFLAGS-tst-lfschk6): Renamed to ...
30797         (LDLIBS-tst-lfschk6): This.
30798
30799         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30800         on $(common-objpfx)soversions.mk.
30801
30802 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30803
30804         [BZ #10014]
30805         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30806         example host name.
30807
30808 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30809
30810         * malloc/arena.c (arena_get_retry): New function that gets
30811         another arena for the caller to try its request on.
30812         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30813         current arena cannot fulfill the request.
30814         (__libc_memalign): Likewise.
30815         (__libc_memalign): Likewise.
30816         (__libc_pvalloc): Likewise.
30817         (__libc_calloc): Likewise.
30818
30819 2012-09-05  John Tobey  <john.tobey@gmail.com>
30820
30821         [BZ #13542]
30822         * manual/arith.texi (Operations on Complex): Fix description
30823         of carg branch cut.
30824
30825 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30826
30827         [BZ #10014]
30828         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30829         host name.
30830
30831         [BZ #10038]
30832         * manual/memory.texi (Memory): Make order of menu items match
30833         order of sections.
30834
30835 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30836
30837         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30838         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30839         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30840
30841 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30842
30843         * csu/libc-tls.c (static_dtv): Renamed to ...
30844         (_dl_static_dtv): This.  Make it global.
30845         (_dl_initial_dtv): Removed.
30846         (__libc_setup_tls): Updated.
30847         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30848         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30849         DL_INITIAL_DTV.
30850
30851 2012-09-06  Petr Machata  <pmachata@redhat.com>
30852
30853         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30854         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30855         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30856         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30857
30858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30859
30860         [BZ #14545]
30861         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30862         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30863         freeing dtv[-1].
30864
30865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30866
30867         [BZ #14544]
30868         * Makeconfig (link-static-before-libc): Replace $(+prector)
30869         with $(+prectorT).
30870         (link-static-after-libc): Replace $(+postctor) with
30871         $(+postctorT).
30872         (link-bounded): Replace $(+prector)/$(+postctor) with
30873         $(+prectorT)/$(+postctorT).
30874         (+prectorT): New macro.
30875         (+postctorT): Likewise.
30876
30877 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30878
30879         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30880         (round_str): Handle values above the maximum for IBM long double
30881         as inexact.
30882         * stdlib/tst-strtod-round.c (tests): Regenerated.
30883
30884 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30885
30886         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30887         assembler flag.
30888         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30889         zarch_nohighgprs around the zarch optimized routines.
30890         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30891         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30893         for zarch.
30894
30895 2012-09-05  David S. Miller  <davem@davemloft.net>
30896
30897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30898
30899         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30900         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30901         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30902         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30903         entries.
30904
30905 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30906
30907         * malloc/arena.c: Fold copyright years.
30908         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30909
30910 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30911
30912         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30913
30914 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30915
30916         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30917
30918 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30919
30920         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30921         change internal state upon failure.
30922
30923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30924
30925         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30926         * malloc/memusage.c (mmap): Likewise.
30927         (mmap64, mremap): Likewise.  Adjust name in comment.
30928
30929 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30930
30931         * libio/fileops.c: Fix typos in comments.
30932         * libio/oldfileops.c: Likewise.
30933         * libio/wfileops.c: Likewise.
30934
30935 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30936
30937         [BZ #1349]
30938         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30939         (tst-malloc-usable-ENV): Set environment for test case.
30940         * malloc/hooks.c (malloc_check_get_size): New function to get
30941         requested size.
30942         * malloc/malloc.c (musable): Use malloc_check_get_size.
30943         * malloc/tst-malloc-usable.c: New test case.
30944
30945 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30946
30947         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30948
30949 2012-09-05  Allan McRae  <allan@archlinux.org>
30950
30951         [BZ #13966]
30952         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30953         determine header location.
30954         * configure: Regenerated.
30955
30956 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30957
30958         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30959         float format.
30960         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30961         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30962         format.
30963         (test): Regenerate.
30964
30965 2012-09-04  David S. Miller  <davem@davemloft.net>
30966
30967         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30968         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30969         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30970
30971 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30972
30973         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30974         failures.
30975
30976         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30977
30978 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30979
30980         [BZ #9914]
30981         * libio/iogetdelim.c: Include <limits.h>.
30982         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30983         + len + 1 would overflow.
30984
30985 2012-09-03  Andreas Jaeger  <aj@suse.de>
30986
30987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30988         * sysdeps/i386/fpu/libm-test-ulps: Update.
30989
30990 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30991
30992         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30993         Add s_sinf-sse2, s_conf-sse2.
30994
30995         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30996         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30997         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30998         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30999
31000         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31001         for using routine as __sinf_ia32.
31002         Use macro for function declaration and weak_alias.
31003         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31004         for using routine as __cosf_ia32.
31005         Use macro for function declaration and weak_alias.
31006
31007         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31008         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31009
31010         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31011         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31013
31014         * math/libm-test.inc (cos_test): Add more test cases.
31015         (sin_test): Likewise.
31016         (sincos_test): Likewise.
31017
31018 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31019
31020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31021         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31022         hidden.
31023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31024
31025 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31026
31027         [BZ #14538]
31028         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31029         first element of the GOT.
31030         (elf_machine_load_address): Return the difference between
31031         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31032
31033 2012-09-01  Allan McRae  <allan@archlinux.org>
31034
31035         [BZ #13412]
31036         * configure.in (AWK): Require gawk version 3.0 or later.
31037         * configure: Regenerated.
31038
31039 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31040
31041         * sysdeps/unix/sysv/linux/kernel-features.h
31042         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31044         [__NR_clock_getres]: Make code unconditional.
31045         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31046         (clock_getcpuclockid): Remove code left unreachable by removal of
31047         conditionals.
31048         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31049         code unconditional.
31050         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31051         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31052         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31053         Make code unconditional.
31054         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31055         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31056         * sysdeps/unix/sysv/linux/clock_settime.c
31057         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31058         conditional code.
31059         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31060         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31061
31062 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31063
31064         [BZ #14476]
31065         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31066         scripts/test-installation.pl.
31067
31068         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31069         and $ld_so_version if it is set.
31070
31071 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072
31073         [BZ #14516]
31074         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31075         failure if reading from procfs failed.
31076         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31077
31078 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31079
31080         * sysdeps/unix/sysv/linux/kernel-features.h
31081         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31082         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31083         Remove conditional code.
31084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31085         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31086         Remove conditional code.
31087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31088         * sysdeps/unix/sysv/linux/i386/fxstat.c
31089         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31091         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31092         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31094         * sysdeps/unix/sysv/linux/i386/lxstat.c
31095         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31097         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31098         Remove conditional code.
31099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31100         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31101         Remove conditional code.
31102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31103         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31104         <kernel-features.h>.
31105         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31106         Remove.
31107         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31108         Remove conditional code.
31109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31110         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31111         Remove conditional.
31112
31113 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31114
31115         [BZ #5400]
31116         * NEWS: Add fixed bug number.
31117
31118 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31119
31120         [BZ #14519]
31121         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31122         underflowing exponent in case of negative sign.
31123         * stdlib/tst-strtod-round-data: Add more tests.
31124         * stdlib/tst-strtod-round.c (tests): Regenerated.
31125
31126         [BZ #3479]
31127         * stdlib/strtod_l.c (NDIG): Remove.
31128         (HEXNDIG): Likewise.
31129         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31130         smallest representable value.
31131         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31132         lie within an exact representation of 1/2 ulp of the result.
31133         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31134         unconditionally.
31135         (TENS_P9_IDX): Define unconditionally.
31136         (TENS_P9_SIZE): Likewise.
31137         (TENS_P10_IDX): Likewise.
31138         (TENS_P10_SIZE): Likewise.
31139         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31140         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31141         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31142         entries for 10^2^13 and 10^2^14.
31143         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31144         (TENS_P13_IDX): Define.
31145         (TENS_P13_SIZE): Likewise.
31146         (TENS_P14_IDX): Likewise.
31147         (TENS_P14_SIZE): Likewise.
31148         (_fpioconst_pow10): Change array size to
31149         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31150         unconditional.
31151         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31152         1024]: Add entries for 10^2^13 and 10^2^14.
31153         [LAST_POW10 > _LAST_POW10]: Remove #error.
31154         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31155         (_fpioconst_pow10): Change array size to
31156         FPIOCONST_POW10_ARRAY_SIZE.
31157         * stdlib/gen-fpioconst.c: New file.
31158         * stdlib/gen-tst-strtod-round.c: Likewise.
31159         * stdlib/tst-strtod-round-data: Likewise.
31160         * stdlib/tst-strtod-round.c: Likewise.
31161         * stdlib/Makefile (tests): Add tst-strtod-round.
31162
31163         [BZ #14459]
31164         * stdlib/strtod_l.c: Include <stdint.h>.
31165         (NDEBUG): Do not define.
31166         (round_and_return): Change EXPONENT parameter to type intmax_t.
31167         Rearrange calculations to avoid internal overflow possibilities.
31168         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31169         Rearrange calculations to avoid internal overflow possibilities.
31170         Assert that number fits inside MPNSIZE limbs.
31171         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31172         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31173         calculations and add assertions to avoid internal overflow
31174         possibilities.  Add casts to avoid signed/unsigned operations.
31175         * stdlib/tst-strtod-overflow.c: New file.
31176         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31177
31178 2012-08-25  Marek Polacek  <polacek@redhat.com>
31179
31180         * time/time.h: Fix some typos in comments.
31181
31182 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31183
31184         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31185         * posix/tst-rfc3484-2.c: Likewise.
31186         * posix/tst-rfc3484-3.c: Likewise.
31187
31188 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31189
31190         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31191         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31192
31193 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31194
31195         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31196         #include of fxstatat64.c.
31197
31198 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31199
31200         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31201         * shadow/getspent_r.c: Likewise.
31202         * shadow/getspnam.c: Likewise.
31203         * shadow/getspnam_r.c: Likewise.
31204         * gshadow/getsgent.c: Likewise.
31205         * gshadow/getsgent_r.c: Likewise.
31206         * gshadow/getsgnam.c: Likewise.
31207         * gshadow/getsgnam_r.c: Likewise.
31208         * inet/getnetbyad.c: Likewise.
31209         * inet/getnetbyad_r.c: Likewise.
31210         * inet/getnetbynm.c: Likewise.
31211         * inet/getnetbynm_r.c: Likewise.
31212         * inet/getnetent.c: Likewise.
31213         * inet/getnetent_r.c: Likewise.
31214         * inet/getproto.c: Likewise.
31215         * inet/getproto_r.c: Likewise.
31216         * inet/getprtent.c: Likewise.
31217         * inet/getprtent_r.c: Likewise.
31218         * inet/getprtname.c: Likewise.
31219         * inet/getprtname_r.c: Likewise.
31220         * inet/getrpcbyname.c: Likewise.
31221         * inet/getrpcbyname_r.c: Likewise.
31222         * inet/getrpcbynumber.c: Likewise.
31223         * inet/getrpcbynumber_r.c: Likewise.
31224         * inet/getrpcent.c: Likewise.
31225         * inet/getrpcent_r.c: Likewise.
31226         * inet/getaliasent.c: Likewise.
31227         * inet/getaliasent_r.c: Likewise.
31228         * inet/getaliasname.c: Likewise.
31229         * inet/getaliasname_r.c: Likewise.
31230         * nscd/getgrgid_r.c: Likewise.
31231         * nscd/getgrnam_r.c: Likewise.
31232         * nscd/gethstbyad_r.c: Likewise.
31233         * nscd/gethstbynm3_r.c: Likewise.
31234         * nscd/getpwnam_r.c: Likewise.
31235         * nscd/getpwuid_r.c: Likewise.
31236         * nscd/getsrvbynm_r.c: Likewise.
31237         * nscd/getsrvbypt_r.c: Likewise.
31238         * nscd/gai.c: Likewise.
31239
31240         * configure.in (build_nscd): New substituted variable, set
31241         by --disable-build-nscd and defaults to $use_nscd.
31242         * configure: Regenerated.
31243         * config.make.in (build-nscd): New substituted variable.
31244         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31245         Change conditional to require [$(build-nscd) = yes] as well.
31246         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31247
31248         [BZ# 13696]
31249         * configure.in (use_nscd): New substituted variable, set by
31250         --disable-nscd.  If enabled, define USE_NSCD.
31251         * configure: Regenerated.
31252         * config.h.in: Add USE_NSCD.
31253         * config.make.in (use-nscd): New substituted variable.
31254         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31255         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31256         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31257         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31258         (CFLAGS-getgrnam_r.c): Likewise.
31259         (CFLAGS-initgroups.c): Likewise.
31260         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31261         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31262         Variables removed.
31263         * inet/getnetgrent_r.c
31264         (nscd_setnetgrent): New function, broken out of ...
31265         (setnetgrent): ... here.  Call it.
31266         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31267         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31268         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31269         * nscd/Makefile (routines, aux): Move definitions after include of
31270         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31271         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31272         Conditionalize on [USE_NSCD].
31273         (is_nscd, nscd_init_cb): Likewise.
31274         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31275         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31276         * nss/nss_db/db-init.c: Likewise.
31277         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31278         [USE_NSCD].
31279         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31280         (make_request): Use it.
31281         (cache_valid_p): New function.
31282         (__check_pf): Use it.
31283         * NEWS: Add item for --disable-nscd.
31284
31285 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31286
31287         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31288         to support sed >= 4.2.1-20-ga9bf076.
31289         * configure: Regenerated.
31290
31291 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31292
31293         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31294         Conditionalize whole body on [IREL].
31295
31296 2012-08-22  Jeff Law <law@redhat.com>
31297
31298         [BZ #14505]
31299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31300         if the family is PF_UNSPEC.
31301
31302 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31303
31304         * Makerules (lib-version): Rename from V.
31305         (install-lib-nosubdir): Change V to lib-version.
31306
31307 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31308
31309         [BZ #14252]
31310         * powerpc32/power6/wcschr.c: New file.
31311         * powerpc32/power6/wcscpy.c: New file.
31312         * powerpc32/power6/wcsrchr.c: New file.
31313         * powerpc64/power6/wcschr.c: New file.
31314         * powerpc64/power6/wcscpy.c: New file.
31315         * powerpc64/power6/wcsrchr.c: New file.
31316
31317 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31318
31319         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31320         (two_way_short_needle): Use it.
31321         * string/strstr.c (AVAILABLE1_USES_J): Define.
31322         * string/strcasestr.c: Likewise.
31323
31324         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31325         array references.
31326         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31327
31328         [BZ #11607]
31329         * NEWS: Add an entry.
31330         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31331         define their defaults.
31332         (two_way_short_needle): Detect end-of-string on-the-fly.
31333         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31334         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31335         * string/bug-strcasestr1.c: New test.
31336         * string/Makefile: Run it.
31337
31338 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31339
31340         [BZ #11607]
31341         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31342         the first character.
31343
31344 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31345
31346         * csu/elf-init.c (__libc_csu_irel): Function removed.
31347         * csu/libc-start.c (apply_irel): New function.
31348         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31349
31350 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31351
31352         * sysdeps/unix/sysv/linux/kernel-features.h
31353         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31354         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31355         <kernel-features.h>.
31356         [__NR_fadvise64_64]: Make code unconditional.
31357         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31358         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31359         !__NR_fadvise64_64)]: Likewise.
31360         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31361         !__NR_fadvise64_64))]: Likewise.
31362         [__NR_fadvise64]: Make code unconditional.
31363         [!__NR_fadvise64]: Remove conditional code.
31364         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31365         <kernel-features.h>.
31366         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31367         unconditional.
31368         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31369         conditional code.
31370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31371         not include <kernel-features.h>.
31372         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31373         unconditional.
31374         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31375         conditional code.
31376         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31377         include <kernel-features.h>.
31378         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31379         unconditional.
31380         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31381         conditional code.
31382
31383 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31384
31385         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31386         slight instruction rearrangements per scrollpipe analysis.
31387         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31388
31389 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31390
31391         * manual/syslog.texi (syslog; vsyslog, closelog):
31392         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31393         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31394
31395         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31396         DSOCAPS to match condition on defining it.
31397
31398 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31399
31400         * sysdeps/unix/sysv/linux/kernel-features.h
31401         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31403         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31404         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31406         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31407         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31409         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31410         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31411
31412         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31413         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31414
31415         * sysdeps/unix/sysv/linux/kernel-features.h
31416         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31417         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31418         unconditional.
31419         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31420         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31421         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31422         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31423         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31424         Make code unconditional.
31425         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31426         (__mmap64) [!__NR_mmap2]: Likewise.
31427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31428         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31429         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31430         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31431         [__NR_mmap2]: Make code unconditional.
31432         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31433         (__mmap64) [!__NR_mmap2]: Likewise.
31434
31435 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31436
31437         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31438
31439 2012-08-18  Andreas Jaeger  <aj@suse.de>
31440
31441         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31442
31443 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31444
31445         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31446         * include/unistd.h (__have_sock_cloexec): Likewise.
31447         (__have_pipe2): Likewise.
31448         (__have_dup3): Likewise.
31449
31450 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31451
31452         [BZ #9685]
31453         * include/unistd.h (__have_pipe2): Change define into an extern int.
31454         (__have_dup3): Likewise.
31455         * socket/have_sock_cloexec.c: Include fcntl.h.
31456         (__have_pipe2): New variable.
31457         (__have_dup3): Likewise.
31458
31459 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31460
31461         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31462
31463 2012-08-17  Marek Polacek  <polacek@redhat.com>
31464
31465         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31466         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31467
31468 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31469
31470         * configure.in: Add AC_SUBST for sysheaders.
31471         * configure: Regenerated.
31472         * config.make.in (sysheaders): New substituted variable.
31473
31474         * sysdeps/unix/mkfifo.c: Moved ...
31475         * sysdeps/posix/mkfifo.c: ... here.
31476         * sysdeps/unix/mkfifoat.c: Moved ...
31477         * sysdeps/posix/mkfifoat.c: ... here.
31478
31479         * sysdeps/unix/utime.c: Moved ...
31480         * sysdeps/posix/utime.c: ... here.
31481
31482         * sysdeps/unix/time.c: Moved ...
31483         * sysdeps/posix/time.c: ... here.
31484         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31485         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31486
31487         * sysdeps/unix/nice.c: Moved ...
31488         * sysdeps/posix/nice.c: ... here.
31489
31490         * sysdeps/unix/alarm.c: Moved ...
31491         * sysdeps/posix/alarm.c: ... here.
31492
31493         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31494
31495 2012-08-17  Jeff Law <law@redhat.com>
31496
31497         * intl/Makefile (codeset_mo): New variable.
31498         ($(codeset_mo)): New target.
31499         (tst-codeset.out): Depend on that.  Remove explicit rule.
31500         (tst-gettext3.out, tst-gettext5.out): Likewise.
31501         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31502         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31503         * intl/tst-codeset.sh: Remove.
31504         * intl/tst-gettext3.sh: Likewise.
31505         * intl/tst-gettext5.sh: Likewise.
31506
31507 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31508
31509         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31510         * sysdeps/unix/syscalls.list: ... here.
31511
31512         * sysdeps/posix/getaddrinfo.c
31513         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31514         (gaiconf_init, gaiconf_reload): Use them.
31515         [!_STATBUF_ST_NSEC]
31516         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31517         Define using time_t rather than struct timespec.
31518
31519         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31520         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31521         Macros removed.
31522         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31523         [!NO_THREADS].
31524         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31525         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31526         Likewise.
31527
31528         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31529         __libc_cleanup_push argument.
31530
31531         * bits/param.h: New file.
31532         * misc/sys/param.h: New file.
31533         * include/sys/param.h: New file.
31534         * misc/Makefile (headers): Add bits/param.h.
31535         * sysdeps/generic/sys/param.h: File removed.
31536         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31537         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31538         * sysdeps/mach/hurd/bits/param.h: New file.
31539         * sysdeps/mach/hurd/sys/param.h: File removed.
31540
31541         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31542         last change.
31543
31544         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31545         [_IO_MTSAFE_IO].
31546         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31547         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31548         New macros.
31549
31550         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31551         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31552         rather than -D_IO_MTSAFE_IO conditionally.
31553         * stdio-common/Makefile (CPPFLAGS): Likewise.
31554         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31555         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31556         Use $(libio-mtsafe).
31557         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31558         of -D_IO_MTSAFE_IO.
31559         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31560         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31561         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31562         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31563         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31564         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31565         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31566         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31567         (CFLAGS-fread_u_chk.c): Likewise.
31568         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31569         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31570         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31571         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31572         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31573         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31574         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31575         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31576         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31577
31578         * libio/Makefile: Test [$(libc-reentrant) = yes]
31579         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31580
31581         * Makeconfig
31582         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31583         * sysdeps/pthread/configure: File removed.
31584         * sysdeps/pthread/Makeconfig: New file.
31585         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31586         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31587
31588 2012-08-16  Gary Benson  <gbenson@redhat.com>
31589
31590         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31591         unmapping the first object in a namespace.
31592
31593 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31594
31595         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31596         (__internal_setnetgrent): ... this.  Add internal_function to
31597         definition.  Add libc_hidden_def.
31598         (setnetgrent): Update caller.
31599         (internal_endnetgrent): Renamed to ...
31600         (__internal_endnetgrent): ... this.  Add internal_function to
31601         definition.  Add libc_hidden_def.
31602         (endnetgrent): Update caller.
31603         (internal_getnetgrent_r): Renamed to ...
31604         (__internal_getnetgrent_r): ... this.  Add internal_function to
31605         definition.  Add libc_hidden_def.
31606         (__getnetgrent_r): Update caller.
31607         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31608
31609 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31610
31611         * stdlib/longlong.h: Update from GCC.
31612
31613 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31614
31615         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31616         on _QL, which is set by umul_ppmm but never used.
31617         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31618         variables, which are set by GMP macros but never used.
31619         * stdio-common/_itowa.c (_itowa): Likewise.
31620         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31621         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31622
31623 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31624
31625         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31626         struct La_sh_regs is not constant.
31627         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31628         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31629         and struct La_sparc64_regs are not constant.
31630
31631 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31632
31633         * sysdeps/unix/sysv/linux/kernel-features.h
31634         (__ASSUME_POSIX_TIMERS): Remove.
31635         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31637         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31638         Make code unconditional.
31639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31640         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31641         Make code unconditional.
31642         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31643         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31644         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31645         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31646         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31647         Make code unconditional.
31648         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31649         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31650         (__libc_missing_posix_timers): Remove.
31651
31652 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31653
31654         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31655         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31656
31657         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31658
31659         * elf/dl-sym.c: Include <stdlib.h>.
31660
31661         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31662         constants, which avoids warnings in 32-bit builds.
31663
31664         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31665         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31666
31667         * misc/lseek.c: File moved to ...
31668         * io/lseek.c: ... here.
31669
31670         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31671
31672         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31673         shifting LEN more than 31 bits at once.
31674
31675 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31676
31677         [BZ #14195]
31678         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31679         segmentation fault for a case of two empty input strings.
31680         * string/test-strncasecmp.c (check1): Renamed to...
31681         (bz12205): ...this.
31682         (bz14195): Add new testcase for two empty input strings and N > 0.
31683         (test_main): Call new testcase, adapt for renamed function.
31684
31685 2012-08-15  Andreas Jaeger  <aj@suse.de>
31686
31687         [BZ #14090]
31688         * crypt/md5test2.c: New test, based on test supplied by Serge
31689         Belyshev <belyshev@depni.sinp.msu.ru>.
31690         * crypt/Makefile (xtests): Add md5test-giant..
31691         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31692
31693 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31694
31695         [BZ #14090]
31696         * crypt/md5.c (md5_process_block): Don't assume the buffer
31697         length is less than 2**32.
31698         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31699         length is less than 2**64.
31700
31701 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31702
31703         * string/str-two-way.h: Include <sys/param.h>.
31704         (MAX): Macro removed.
31705
31706         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31707         Move #define and #undef of memmove to just before and after
31708         including <string.h>.
31709
31710         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31711         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31712         and after including <string.h>.  Move declarations of
31713         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31714         to before #include "string/memmove.c".
31715
31716         * include/dirent.h: Declare __getdirentries.
31717
31718         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31719         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31720
31721 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31722
31723         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31724         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31725         * sysdeps/i386/configure: Regenerated.
31726         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31727         STABS_CURRENT_FILE, and STABS_FUN.
31728         (END): Remove call to STABS_FUN_END.
31729         (STABS_CURRENT_FILE1): Delete.
31730         (STABS_CURRENT_FILE): Likewise.
31731         (STABS_FUN): Likewise.
31732         (STABS_FUN_END): Likewise.
31733         (STABS_FUN2): Likewise.
31734         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31735         * sysdeps/x86_64/configure: Regenerated.
31736
31737 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31738
31739         * elf/dl-open.c: Include <atomic.h>.
31740         * elf/dl-lookup.c: Likewise.
31741
31742 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31743
31744         * sysdeps/unix/sysv/linux/kernel-features.h
31745         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31746         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31747         unconditionally.
31748         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31749         unconditionally.
31750         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31751         condition on __ASSUME_CLONE_THREAD_FLAGS.
31752
31753 2012-08-14  Andreas Jaeger  <aj@suse.de>
31754
31755         * sysdeps/i386/fpu/libm-test-ulps: Update.
31756
31757 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31758
31759         * include/atomic.h (atomic_exchange_and_add): Split into ...
31760         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31761         New atomic macros.
31762
31763 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31764
31765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31766
31767 2012-08-13  Jeff Law <law@redhat.com>
31768
31769         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31770         null byte in the output string.
31771
31772 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31773
31774         * sysdeps/unix/sysv/linux/kernel-features.h
31775         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31776         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31777         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31778         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31779         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31780         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31781         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31782
31783 2012-08-09  Jeff Law <law@redhat.com>
31784
31785         [BZ #13939]
31786         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31787         When avoid_arena is set, don't retry in the that arena.  Pick the
31788         next one, whatever it might be.
31789         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31790         (arena_lock): Pass in new parameter to arena_get2.
31791         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31792         arena_get2.
31793         (__libc_malloc): Unify retrying after main arena failure with
31794         __libc_memalign version.
31795         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31796
31797 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31798
31799         [BZ #14166]
31800         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31801         to __redirect_strstr.
31802         (__strstr_sse42): Use typeof __redirect_strstr.
31803         (__strstr_ia32): Likewise.
31804         (__libc_strstr): New prototype.
31805         (strstr): Renamed to ...
31806         (__libc_strstr): This.
31807         (strstr): New strong alias of __libc_strstr.
31808         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31809         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31810         __redirect_time.
31811         Include <time.h>.
31812         (__libc_time): New prototype.
31813         (time_ifunc): Replace time with __libc_time.
31814         (time): New strong alias and hidden definition of __libc_time.
31815         (__GI_time): Remove strong alias.
31816         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31817         Include <stddef.h>.
31818         (memmove): Redefined to __redirect_memmove.
31819         (__memmove_sse2): Use typeof __redirect_memmove.
31820         (__memmove_ssse3): Likewise.
31821         (__memmove_ssse3_back): Likewise.
31822         (__libc_memmove): New prototype.
31823         (memmove): Renamed to ...
31824         (__libc_memmove): This.
31825         (memmove): New strong alias of __libc_memmove.
31826
31827 2012-08-08  Mark Salter  <msalter@redhat.com>
31828
31829         * elf/elf.h
31830         (R_MN10300_TLS_GD): Define.
31831         (R_MN10300_TLS_LD): Likewise.
31832         (R_MN10300_TLS_LDO): Likewise.
31833         (R_MN10300_TLS_GOTIE): Likewise.
31834         (R_MN10300_TLS_IE): Likewise.
31835         (R_MN10300_TLS_LE): Likewise.
31836         (R_MN10300_TLS_DTPMOD): Likewise.
31837         (R_MN10300_TLS_DTPOFF): Likewise.
31838         (R_MN10300_TLS_TPOFF): Likewise.
31839         (R_MN10300_SYM_DIFF): Likewise.
31840         (R_MN10300_ALIGN): Likewise.
31841         (R_MN10300_NUM): Update.
31842
31843 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31844
31845         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31846         Remove.
31847
31848 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31849
31850         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31851
31852         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31853         sysdeps/unix -> sysdeps/posix move.
31854         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31855
31856 2012-08-07      Allan McRae     <allan@archlinux.org>
31857
31858         [BZ #14303]
31859         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31860         (SUNOS_CPP): Likewise.
31861         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31862         not found.
31863         (open_input): Call CPP using execvp.
31864
31865 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31866
31867         * sysdeps/unix/sysv/linux/kernel-features.h
31868         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31869         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31870         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31871         (__ASSUME_WAITID_SYSCALL): Likewise.
31872         * sysdeps/unix/sysv/linux/dl-execstack.c
31873         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31874         code unconditional.
31875         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31876         conditional code.
31877         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31878         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31879         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31880         code.
31881         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31882         unconditional.
31883         [__ASSUME_WAITID_SYSCALL]: Likewise.
31884         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31885
31886 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31887
31888         * sysdeps/unix/closedir.c: Renamed to ...
31889         * sysdeps/posix/closedir.c: ... here.
31890         * sysdeps/unix/dirfd.c: Renamed to ...
31891         * sysdeps/posix/dirfd.c: ... here.
31892         * sysdeps/unix/dirstream.h: Renamed to ...
31893         * sysdeps/posix/dirstream.h: ... here.
31894         * sysdeps/unix/fdopendir.c: Renamed to ...
31895         * sysdeps/posix/fdopendir.c: ... here.
31896         * sysdeps/unix/opendir.c: Renamed to ...
31897         * sysdeps/posix/opendir.c: ... here.
31898         * sysdeps/unix/readdir.c: Renamed to ...
31899         * sysdeps/posix/readdir.c: ... here.
31900         * sysdeps/unix/readdir_r.c: Renamed to ...
31901         * sysdeps/posix/readdir_r.c: ... here.
31902         * sysdeps/unix/rewinddir.c: Renamed to ...
31903         * sysdeps/posix/rewinddir.c: ... here.
31904         * sysdeps/unix/seekdir.c: Renamed to ...
31905         * sysdeps/posix/seekdir.c: ... here.
31906         * sysdeps/unix/telldir.c: Renamed to ...
31907         * sysdeps/posix/telldir.c: ... here.
31908         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31909         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31910         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31911         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31912
31913         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31914         * bits/fcntl.h: ... here.
31915
31916         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31917         not 0.
31918         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31919         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31920         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31921         (struct flock): Move l_start, l_len to the beginning.
31922         Use __pid_t for l_pid.
31923         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31924         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31925         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31926         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31927         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31928         [__USE_LARGEFILE64] (struct flock64): New type.
31929         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31930
31931         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31932         * bits/dirent.h: ... here.
31933
31934         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31935         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31936
31937 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31938
31939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31940         Change from 2.6.0 to 2.6.16.
31941         * sysdeps/unix/sysv/linux/configure: Regenerated.
31942         * sysdeps/unix/sysv/linux/kernel-features.h
31943         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31944         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31945         version.
31946         (__ASSUME_UTIMES): Likewise.
31947         (__ASSUME_CLONE_STOPPED): Remove.
31948         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31949         architectures, not kernel version.
31950         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31951         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31952         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31953         (__ASSUME_WAITID_SYSCALL): Likewise.
31954         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31955         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31956         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31957         refer to older versions.
31958
31959 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31960
31961         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31962         Define alphasort64 as an alias.
31963         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31964         Define versionsort64 as an alias.
31965         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31966         Define scandir64 as an alias.
31967         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31968         Define scandirat64 as an alias.
31969         * dirent/alphasort64.c (alphasort64):
31970         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31971         * dirent/versionsort64.c: Likewise.
31972         * dirent/scandir64.c: Likewise.
31973         * dirent/scandirat64.c: Likewise.
31974         * sysdeps/wordsize-64/alphasort.c: File removed.
31975         * sysdeps/wordsize-64/alphasort64.c: File removed.
31976         * sysdeps/wordsize-64/scandir.c: File removed.
31977         * sysdeps/wordsize-64/scandir64.c: File removed.
31978         * sysdeps/wordsize-64/scandirat.c: File removed.
31979         * sysdeps/wordsize-64/scandirat64.c: File removed.
31980         * sysdeps/wordsize-64/versionsort.c: File removed.
31981         * sysdeps/wordsize-64/versionsort64.c: File removed.
31982         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31983         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31984         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31985         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31986         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31987         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31988         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31989         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31990
31991         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31993         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31995         [defined __arch64__ || defined __sparcv9]
31996         (__INO_T_MATCHES_INO64_T): New macro.
31997         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31998         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31999         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32000         * sysdeps/unix/sysv/linux/bits/dirent.h
32001         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32002         (_DIRENT_MATCHES_DIRENT64): New macro.
32003
32004         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32005         Define lockf64 as an alias.
32006         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32007         Define fseeko64 as an alias.
32008         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32009         Define ftello64 as an alias.
32010         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32011         Define _IO_fgetpos64 and fgetpos64 as aliases.
32012         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32013         Define _IO_fsetpos64 and fsetpos64 as aliases.
32014         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32015         Conditionalize body on this.
32016         * libio/fseeko64.c: Likewise.
32017         * libio/ftello64.c: Likewise.
32018         * libio/iofgetpos64.c: Likewise.
32019         * libio/iofsetpos64.c: Likewise.
32020         * sysdeps/wordsize-64/lockf.c: File removed.
32021         * sysdeps/wordsize-64/lockf64.c: File removed.
32022         * sysdeps/wordsize-64/fseeko.c: File removed.
32023         * sysdeps/wordsize-64/fseeko64.c: File removed.
32024         * sysdeps/wordsize-64/ftello.c: File removed.
32025         * sysdeps/wordsize-64/ftello64.c: File removed.
32026         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32027         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32028         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32029         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32032         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32033         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32034         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32035         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32038         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32039         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32040
32041         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32043         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32045         [defined __arch64__ || defined __sparcv9]
32046         (__OFF_T_MATCHES_OFF64_T): New macro.
32047         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32048         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32050         (__OFF_T_MATCHES_OFF64_T): New macro.
32051
32052 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32053
32054         * stdlib/secure-getenv.c (__secure_getenv): Replace
32055         GLIBC_2_16 with GLIBC_2_17.
32056
32057 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32058
32059         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32061
32062 2012-08-03  David S. Miller  <davem@davemloft.net>
32063
32064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32065
32066 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32067
32068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32069         Remove.
32070         (__ASSUME_CORRECT_SI_PID): Likewise.
32071         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32072         (__ASSUME_TMPFS_NAME): Likewise.
32073         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32074         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32075         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32076         (HAVE_AUX_SECURE): Make definition unconditional.
32077         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32078         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32079
32080 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32081
32082         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32083         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32084         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32085         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32086         __eloop_threshold instead of SYMLOOP_MAX.
32087
32088         * sysdeps/generic/eloop-threshold.h: New file.
32089         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32090         of MAXSYMLINKS.
32091         * elf/chroot_canon.c (chroot_canon): Likewise.
32092
32093 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32094
32095         [BZ #13717]
32096         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32097         Change to 2.6.0 everywhere.
32098         * sysdeps/unix/sysv/linux/configure: Regenerated.
32099         * sysdeps/unix/sysv/linux/kernel-features.h
32100         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32101         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32102         kernel versions.
32103         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32104         (__ASSUME_FUTEX_REQUEUE): Remove.
32105         (__ASSUME_STATFS64): Define unconditionally.
32106         (__ASSUME_AT_SECURE): Likewise.
32107         (__ASSUME_CORRECT_SI_PID): Likewise.
32108         (__ASSUME_TGKILL): Define without depending on kernel version for
32109         i386.
32110         (__ASSUME_UTIMES): Likewise.
32111         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32112         kernel version.
32113         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32114         (__ASSUME_TMPFS_NAME): Likewise.
32115         * README: Update reference to Linux kernel versions.
32116
32117 2012-08-02  Marek Polacek  <polacek@redhat.com>
32118
32119         [BZ# 14150]
32120         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32121         libc_cv_asm_type_prefix with %.
32122         * configure: Regenerated.
32123         * include/libc-symbols.h: Remove comment about
32124         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32125         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32126         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32127         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32128         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32129         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32130         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32131         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32132         * elf/tst-unique2mod1.c: Likewise.
32133         * elf/tst-unique1mod2.c: Likewise.
32134         * elf/tst-unique1mod1.c: Likewise.
32135         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32136         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32137         Replace ASM_TYPE_DIRECTIVE with .type.
32138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32139         * sysdeps/i386/sysdep.h: Likewise.
32140         * sysdeps/x86_64/sysdep.h: Likewise.
32141         * sysdeps/sh/sysdep.h: Likewise.
32142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32143         Do not define ASM_TYPE_DIRECTIVE.
32144         * sysdeps/powerpc/sysdep.h: Likewise.
32145         * sysdeps/powerpc/powerpc32/sysdep.h:
32146         Replace ASM_TYPE_DIRECTIVE with .type.
32147         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32148         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32149         * sysdeps/i386/fpu/e_powf.S: Likewise.
32150         * sysdeps/i386/fpu/e_expl.S: Likewise.
32151         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32152         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32153         * sysdeps/i386/fpu/e_pow.S: Likewise.
32154         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32155         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32156         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32157         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32158         * sysdeps/i386/fpu/e_log2.S: Likewise.
32159         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32160         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32161         * sysdeps/i386/fpu/e_powl.S: Likewise.
32162         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32163         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32164         * sysdeps/i386/fpu/e_logl.S: Likewise.
32165         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32166         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32167         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32168         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32169         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32170         * sysdeps/i386/fpu/e_log.S: Likewise.
32171         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32172         * sysdeps/i386/fpu/e_logf.S: Likewise.
32173         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32175         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32176         * sysdeps/i386/fpu/e_log10.S: Likewise.
32177         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32178         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32179         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32180         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32181         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32182         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32183         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32184         * sysdeps/i386/i686/strtok.S: Likewise.
32185         * sysdeps/i386/i386-mcount.S: Likewise.
32186         * sysdeps/i386/strtok.S: Likewise.
32187         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32188         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32189         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32190         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32191         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32192         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32193         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32194         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32195         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32196         * sysdeps/x86_64/_mcount.S: Likewise.
32197         * sysdeps/x86_64/strtok.S: Likewise.
32198         * sysdeps/sh/_mcount.S: Likewise.
32199
32200 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32201
32202         * libio/iofopen.c: Include <fcntl.h>.
32203         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32204         (_IO_fopen64, fopen64): Define as aliases.
32205         * libio/iofopen64.c: Include <fcntl.h>.
32206         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32207         Conditionalize body on this.
32208         * sysdeps/wordsize-64/iofopen.c: File removed.
32209         * sysdeps/wordsize-64/iofopen64.c: File removed.
32210
32211 2012-08-01  Marek Polacek  <polacek@redhat.com>
32212
32213         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32214         Use dlfcn directly instead of a variable.
32215         (binfmt-subdir): Do not define.
32216         (dlfcn): Likewise.
32217
32218 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32219
32220         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32221         Remove all definitions.
32222         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32223         <kernel-features.h>.
32224         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32225         (miss_F_GETOWN_EX): Remove all definitions.
32226         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32227         macro definition.
32228         [!__ASSUME_FCNTL64]: Remove conditional code.
32229         [__ASSUME_FCNTL64]: Make code unconditional.
32230         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32231         <kernel-features.h>.
32232         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32233         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32234         (lockf64) [__NR_fcntl64]: Make code unconditional.
32235         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32236
32237         * sysdeps/unix/sysv/linux/kernel-features.h
32238         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32239         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32240         Make code unconditional.
32241         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32242         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32244         [__NR_vfork]: Make code unconditional.
32245         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32246         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32248         [__NR_vfork]: Make code unconditional.
32249         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32250         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32251
32252 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32253
32254         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32255         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32256
32257         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32258         Define mkstemp64 as an alias.
32259         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32260         Define mkstemps64 as an alias.
32261         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32262         Define mkostemp64 as an alias.
32263         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32264         Define mkostemps64 as an alias.
32265         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32266         Conditionalize body on this.
32267         * misc/mkostemp64.c: Likewise.
32268         * misc/mkostemps64.c: Likewise.
32269         * misc/mkstemps64.c: Likewise.
32270         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32271         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32272         * sysdeps/wordsize-64/mkostemp.c: File removed.
32273         * sysdeps/wordsize-64/mkstemp.c: File removed.
32274         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32275         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32276         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32277         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32278
32279         [BZ #14138]
32280         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32281         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32282         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32283         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32284
32285         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32286         compat_symbol macros from <shlib-compat.h> rather than the underlying
32287         default_symbol_version and symbol_version macros, so that DEFAULT
32288         lines in shlib-versions are respected.
32289         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32290
32291 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32292
32293         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32294         Declare with warn_unused_result.
32295         (setgid, setregid, setegid, setresgid): Likewise.
32296         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32297         Likewise.
32298         * WUR-REPORT: Remove set*id functions.
32299
32300 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32301
32302         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32303
32304 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32305
32306         [BZ #10191]
32307         * include/sys/socket.h (__libc_accept, __libc_accept4):
32308         Add attribute_hidden.
32309         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32310
32311         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32312         use of PTR_MANGLE.
32313         * inet/getnetgrent_r.c (setup): Likewise.
32314
32315         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32316
32317 2012-07-31  David S. Miller  <davem@davemloft.net>
32318
32319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32320
32321 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32322
32323         [BZ #13629]
32324         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32325         value between 1.0 and 2.0 and smaller part has absolute value less
32326         than 1.0.
32327         * math/s_clog10.c (__clog10): Likewise.
32328         * math/s_clog10f.c (__clog10f): Likewise.
32329         * math/s_clog10l.c (__clog10l): Likewise.
32330         * math/s_clogf.c (__clogf): Likewise.
32331         * math/s_clogl.c (__clogl): Likewise.
32332         * math/libm-test.inc (clog_test): Add more tests.
32333         (clog10_test): Likewise.
32334         * sysdeps/i386/fpu/libm-test-ulps: Update.
32335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32336
32337 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32338
32339         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32340         Exit with zero in case no suitable GID is found, and write a
32341         message to standard error.
32342
32343 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32344
32345         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32346         rather than to 1.
32347         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32348         (MAXPATHLEN): Removed.
32349         (NOGROUP, NODEV): New macros.
32350         (setbit, clrbit, isset, isclr): New macros.
32351         (howmany, roundup, powerof2): New macros.
32352         (DEV_BSIZE): New macro.
32353
32354         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32355         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32356
32357         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32358         definition on [!__NO_LONG_DOUBLE_MATH].
32359
32360         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32361         PTR_MANGLE and PTR_DEMANGLE.
32362
32363         * socket/accept4.c (accept4): Rename to __libc_accept4.
32364         Define accept4 as a weak alias.
32365
32366         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32367         on [_DIRENT_HAVE_D_TYPE].
32368         * io/ftw.c (ftw_dir): Likewise.
32369
32370         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32371
32372         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32373
32374         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32375         Use the BSD numbers rather than the arbitrary ones we had.
32376         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32377         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32378         (SIGXCPU, SIGXFSZ): New macros.
32379         (_NSIG): Now 32.
32380
32381         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32382         initializer on [_LIBC_REENTRANT].
32383
32384         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32385         definitions inside [_POSIX_MAPPED_FILES].
32386
32387         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32388
32389         * dirent/opendir.c: Include <fcntl.h>.
32390
32391         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32392         (__libc_getspecific): Likewise.
32393         (__libc_key_create): Likewise.
32394
32395         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32396         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32397         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32398         (tmpfile64): Define as alias.
32399         * sysdeps/wordsize-64/tmpfile.c: File removed.
32400         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32401         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32402         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32403
32404         * stdio-common/vfscanf.c: Include <stdbool.h>.
32405         * nss/makedb.c: Likewise.
32406         * stdio-common/_i18n_number.h: Likewise.
32407         * argp/argp-help.c: Likewise.
32408         * posix/wordexp.c: Likewise.
32409         * sysdeps/posix/spawni.c: Likewise.
32410         * nss/nss_files/files-initgroups.c: Likewise.
32411         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32412         * nss/nss_files/files-initgroups.c: Likewise.
32413         * nss/nss_db/db-netgrp.c: Likewise.
32414         * nss/nss_db/db-initgroups.c: Likewise.
32415         * io/fchmodat.c: Include <sys/stat.h>.
32416
32417         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32418         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32419
32420         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32421         [HAVE_MMAP].
32422
32423         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32424         Add multiple inclusion protection.
32425
32426 2012-07-27  David S. Miller  <davem@davemloft.net>
32427
32428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32429
32430 2012-07-27  Gary Benson  <gbenson@redhat.com>
32431
32432         [BZ #14298]
32433         * elf/rtld.c: Include <stap-probe.h>.
32434         (dl_main): Added static probes "init_start" and "init_complete".
32435         * elf/dl-load.c: Include <stap-probe.h>.
32436         (lose): Take new parameter "nsid".
32437         Added static probe "map_failed".
32438         (_dl_map_object_from_fd): Pass namespace id to lose.
32439         Added static probe "map_start".
32440         (open_verify): Pass namespace id to lose.
32441         * elf/dl-open.c: Include <stap-probe.h>.
32442         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32443         and "reloc_complete".
32444         * elf/dl-close.c: Include <stap-probe.h>.
32445         (_dl_close_worker): Added static probes "unmap_start" and
32446         "unmap_complete".
32447         * elf/rtld-debugger-interface.txt: New file documenting the above.
32448
32449 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32450
32451         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32452         rather than a string variable.
32453         * sunrpc/rpc_main.c (h_output): Likewise.
32454         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32455
32456 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32457
32458         * inet/check_native.c: New file.
32459
32460 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32461
32462         [BZ #13629]
32463         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32464         if larger part has absolute value 1.0.
32465         * math/s_clog10.c (__clog10): Likewise.
32466         * math/s_clog10f.c (__clog10f): Likewise.
32467         * math/s_clog10l.c (__clog10l): Likewise.
32468         * math/s_clogf.c (__clogf): Likewise.
32469         * math/s_clogl.c (__clogl): Likewise.
32470         * math/libm-test.inc (clog_test): Add more tests.
32471         (clog10_test): Likewise.
32472         * sysdeps/i386/fpu/libm-test-ulps: Update.
32473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32474
32475         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32476         (pltexit): Likewise.
32477         (La_regs): Likewise.
32478         (La_retval): Likewise.
32479         (int_retval): Likewise.
32480         Update #error for removed macros to refer only to definitions in
32481         tst-audit.h.
32482         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32483         macro.
32484         (pltexit): Likewise.
32485         (La_regs): Likewise.
32486         (La_retval): Likewise.
32487         (int_retval): Likewise.
32488         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32489         macro.
32490         (pltexit): Likewise.
32491         (La_regs): Likewise.
32492         (La_retval): Likewise.
32493         (int_retval): Likewise.
32494         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32495         macro.
32496         (pltexit): Likewise.
32497         (La_regs): Likewise.
32498         (La_retval): Likewise.
32499         (int_retval): Likewise.
32500         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32501         macro.
32502         (pltexit): Likewise.
32503         (La_regs): Likewise.
32504         (La_retval): Likewise.
32505         (int_retval): Likewise.
32506         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32507         macro.
32508         (pltexit): Likewise.
32509         (La_regs): Likewise.
32510         (La_retval): Likewise.
32511         (int_retval): Likewise.
32512         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32513         macro.
32514         (pltexit): Likewise.
32515         (La_regs): Likewise.
32516         (La_retval): Likewise.
32517         (int_retval): Likewise.
32518         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32519         macro definitions in tst-audit.h.
32520         * sysdeps/i386/tst-audit.h: New file.
32521         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32522         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32523         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32524         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32525         * sysdeps/sh/tst-audit.h: Likewise.
32526         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32527         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32528         * sysdeps/x86_64/tst-audit.h: Likewise.
32529
32530 2012-07-26  Andreas Jaeger  <aj@suse.de>
32531
32532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32533         ptrace.
32534
32535         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32536         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32537         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32538         PTRACE_O_MASK.
32539         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32540         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32541         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32542
32543         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32544         value.
32545
32546         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32547         _sigsys.
32548         (si_call_addr, si_syscall, si_arch): Define new macro.
32549         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32550         _sigsys.
32551         (si_call_addr, si_syscall, si_arch): Define new marcro.
32552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32553         _sigsys.
32554         (si_call_addr, si_syscall, si_arch): Define new macro.
32555         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32556         _sigsys.
32557         (si_call_addr, si_syscall, si_arch): Define new macro.
32558
32559 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32560
32561         [BZ #13717]
32562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32563         Change to 2.4.21 where previously 2.4.1.
32564         * sysdeps/unix/sysv/linux/configure: Regenerated.
32565         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32566         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32567         Linux kernel version.
32568         (__ASSUME_STD_AUXV): Remove.
32569         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32570         kernel version.
32571         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32572         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32573         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32574         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32575         (__ASSUME_NETLINK_SUPPORT): Likewise.
32576         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32577         (__no_netlink_support): Remove conditional definition.
32578         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32579         Remove.
32580         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32581         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32582         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32583         (if_nameindex_ioctl): Remove.
32584         (if_nameindex_netlink): Do not handle __no_netlink_support.
32585         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32586         code.
32587         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32588         Remove conditional code.
32589         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32590         code.
32591         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32592         unconditional.
32593         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32594         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32595         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32596         Remove.
32597         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32598         [!__ASSUME_STD_AUXV]: Remove conditional code.
32599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32600         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32601         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32603         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32604         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32605         code.
32606         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32608         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32609         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32610         conditional code.
32611         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32613         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32614         code.
32615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32616         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32617         conditional code.
32618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32619         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32620         code unconditional.
32621         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32622         conditional code.
32623         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32624         unconditional.
32625         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32626         conditional code.
32627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32628         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32629         unconditional.
32630         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32631         conditional code.
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32633         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32634         code unconditional.
32635         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32636         conditional code.
32637         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32638         unconditional.
32639         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32640         conditional code.
32641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32642         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32643         code unconditional.
32644         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32645         conditional code.
32646         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32647         unconditional.
32648         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32649         conditional code.
32650
32651 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32652
32653         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32654         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32655         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32656         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32657         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32658         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32659         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32660         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32661         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32662         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32663         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32664         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32665         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32666         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32667         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32668         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32669         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32670         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32671         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32673         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32674         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32675         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32676
32677 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32678
32679         * Versions.def: Add GLIBC_2.17.
32680         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32681         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32682         Introduce __libc_secure_getenv.
32683         * stdlib/Versions (2.17): Add secure_getenv
32684         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32685         * stdlib/secure-getenv.c: Rename __secure_getenv to
32686         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32687         symbol __secure_getenv for GLIBC_2.0.
32688         * stdlib/tst-secure-getenv.c: New.
32689         * stdlib/Makefile (tests): Add testcase.
32690         * manual/startup.texi (Environment Access): Document
32691         secure_getenv.
32692         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32693         __libc_secure_getenv.
32694         * inet/ruserpass.c (ruserpass): Likewise.
32695         * malloc/mtrace.c (mtrace): Likewise.
32696         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32697         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32698         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32699         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32700         HAVE_SECURE_GETENV.
32701         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32702         __secure_getenv to __libc_secure_getenv.
32703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32705         Likewise.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32707         Likewise.
32708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32710         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32715
32716 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32717
32718         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32719         (struct La_i86_retval): Likewise.
32720         (struct La_x86_64_regs): Likewise.
32721         (struct La_x86_64_retval): Likewise.
32722         (struct La_x32_regs): Likewise.
32723         (struct La_x32_retval): Likewise.
32724         (struct La_ppc32_regs): Likewise.
32725         (struct La_ppc32_retval): Likewise.
32726         (struct La_ppc64_regs): Likewise.
32727         (struct La_ppc64_retval): Likewise.
32728         (struct La_sh_regs): Likewise.
32729         (struct La_sh_retval): Likewise.
32730         (struct La_s390_32_regs): Likewise.
32731         (struct La_s390_32_retval): Likewise.
32732         (struct La_s390_64_regs): Likewise.
32733         (struct La_s390_64_retval): Likewise.
32734         (struct La_sparc32_regs): Likewise.
32735         (struct La_sparc32_retval): Likewise.
32736         (struct La_sparc64_regs): Likewise.
32737         (struct La_sparc64_retval): Likewise.
32738         (struct audit_ifaces): Remove architecture-specific pltenter and
32739         pltexit members.
32740         * sysdeps/i386/ldsodefs.h: New file.
32741         * sysdeps/powerpc/ldsodefs.h: Likewise.
32742         * sysdeps/s390/ldsodefs.h: Likewise.
32743         * sysdeps/sh/ldsodefs.h: Likewise.
32744         * sysdeps/sparc/ldsodefs.h: Likewise.
32745         * sysdeps/x86_64/ldsodefs.h: Likewise.
32746
32747 2012-07-25  Marek Polacek  <polacek@redhat.com>
32748
32749         [BZ #6808]
32750         * math/libm-test.inc (yn_test): Add another test.
32751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32752         to ERANGE when the result is +-Inf.
32753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32754         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32755         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32756         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32757
32758 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32759
32760         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32761         equal to 0.
32762         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32763         clock_t.
32764         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32765
32766 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32767
32768         * configure.in <sysdeps resolving>: Correct printing
32769         Implies_before.
32770         * configure: Regenerate.
32771
32772 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32773
32774         * math/w_ilogb.c: Include <limits.h>.
32775         * math/w_ilogbl.c: Likewise.
32776
32777 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32778
32779         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32780         va_copy.  Document allowing for unavailable va_copy only as
32781         pre-C99 compatibility.
32782         * manual/string.texi (Copying and Concatenation): Use va_copy
32783         instead of __va_copy in concat example.
32784
32785 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32786
32787         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32788         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32789         it if not null.
32790
32791         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32792         with O_NOLINK passed to __file_name_lookup.
32793
32794         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32795         with O_NOLINK passed to __file_name_lookup.
32796
32797         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32798         negative N or less than NGIDS.
32799
32800         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32801         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32802         enough.  Use memcpy instead of strncpy.
32803
32804 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32805
32806         * elf/Makefile (check-data): Remove.
32807         (localplt.data): New vpath directive.
32808         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32809         instead of $(check-data).
32810         * scripts/data/localplt-generic.data: Move to ...
32811         * sysdeps/generic/localplt.data: ... here.
32812         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32813         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32814         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32816         ... here.
32817         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32819         ... here.
32820         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32822         ... here.
32823         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32825         ... here.
32826         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32828         ... here.
32829         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32831         ... here.
32832
32833 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32834
32835         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32836         PPC32 and PPC64 files.
32837         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32838         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32839
32840 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32841
32842         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32843         __makecontext_ret to ...
32844         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32845         ... here and call exit if uc_link is NULL.  New file.
32846         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32847         __makecontext_ret.S.
32848         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32849         __makecontext_ret to ...
32850         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32851         ... here and call exit if uc_link is NULL.  New file.
32852         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32853         __makecontext_ret.S.
32854
32855 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32856
32857         * elf/elf.h (R_390_IRELATIVE): New definition.
32858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32859         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32860         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32861         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32862         (elf_machine_lazy_rel): Likewise.
32863         * sysdeps/s390/dl-irel.h: New file.
32864         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32865         * sysdeps/s390/s390-64/memset.S: New asm code.
32866         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32867         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32868         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32869         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32870         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32871         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32872         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32873         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32874         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32875         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32876         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32877         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32878         * sysdeps/s390/s390-32/memset.S: New asm code.
32879         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32880
32881 2012-07-17  Marek Polacek  <polacek@redhat.com>
32882
32883         [BZ #14349]
32884         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32885         * sysdeps/s390/s390-64/configure.in: Likewise.
32886         * sysdeps/sparc/configure.in: Likewise.
32887         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32888         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32889         * sysdeps/i386/configure.in: Likewise.
32890         * sysdeps/x86_64/configure.in: Likewise.
32891         * sysdeps/sh/configure.in: Likewise.
32892         * sysdeps/s390/s390-32/configure: Regenerated.
32893         * sysdeps/s390/s390-64/configure: Likewise.
32894         * sysdeps/x86_64/configure: Likewise.
32895         * sysdeps/sh/configure: Likewise.
32896         * sysdeps/powerpc/powerpc64/configure: Likewise.
32897         * sysdeps/powerpc/powerpc32/configure: Likewise.
32898         * sysdeps/sparc/configure: Likwise.
32899         * sysdeps/i386/configure: Likewise.
32900
32901         * elf/dl-open.c: Comment fixes.
32902
32903 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32904
32905         * Makefile [CXX] (check-data): Remove.
32906         [CXX] (c++-types.data): New vpath directive.
32907         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32908         vpath.  Do not allow for C++ type data being missing.
32909         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32910         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32911         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32912         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32913         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32914         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32915         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32917         ... here.
32918         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32920         ... here.
32921         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32923         ... here.
32924         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32926         ... here.
32927         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32929         ... here.
32930         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32932         ... here.
32933         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32935         ... here.
32936         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32938
32939         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32940         definitions to architecture-specific files.
32941         (TLS_IE): Likewise.
32942         (TLS_LD): Likewise.
32943         (TLS_GD): Likewise.
32944         * sysdeps/i386/tls-macros.h: New file.
32945         * sysdeps/powerpc/tls-macros.h: Likewise.
32946         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32947         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32948         * sysdeps/sh/tls-macros.h: Likewise.
32949         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32950         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32951         * sysdeps/x86_64/tls-macros.h: Likewise.
32952
32953 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32954
32955         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32956         zero value for regular exit case.
32957
32958         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32959         (__start_context): Preserve zero value for regular exit case.
32960
32961 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32962             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32963
32964         * manual/setjmp.texi (setcontext): Clarify normal process
32965         termination when uc_link is the null pointer.
32966         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32967         exit call.
32968
32969 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32970
32971         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32972         preprocessor.  Test for each exception mask separately.
32973
32974 2012-07-16  Andreas Jaeger  <aj@suse.de>
32975
32976         * po/ru.po: Update from translation team.
32977
32978 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32979
32980         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32981         equal to 0.
32982         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32983         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32984         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32985         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32987
32988 2012-07-13  Andreas Jaeger  <aj@suse.de>
32989
32990         * po/fr.po: Update from translation team.
32991
32992 2012-07-12  Marek Polacek  <polacek@redhat.com>
32993
32994         [BZ #14173]
32995         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32996         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32997         loop condition.
32998
32999 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33000
33001         [BZ #13717]
33002         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33003         Change to 2.4.1 where previously 2.4.0.
33004         * sysdeps/unix/sysv/linux/configure: Regenerated.
33005         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33006         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33007         version.
33008         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33009         (__ASSUME_AT_CLKTCK): Remove.
33010         (__ASSUME_AT_PAGESIZE): Likewise.
33011         (__ASSUME_AT_XID): Likewise.
33012         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33013         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33014         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33015         unconditionally.
33016         (HAVE_AUX_PAGESIZE): Likewise.
33017         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33018         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33019         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33020
33021 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33022
33023         [BZ #14307]
33024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33025         the temporary buffer used to invoke __gethostbyname2_r,
33026         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33027         host_data / struct gaih_addrtuple.
33028         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33029         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33030         header file nss/nsswitch.h.
33031         * nss/nsswitch.h (global scope): Add definition of implementation
33032         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33033         resolv/nss_dns/dns-host.c).
33034
33035 2012-07-11  Andreas Jaeger  <aj@suse.de>
33036
33037         * po/fr.po: Update from translation team.
33038
33039         * po/sv.po: Update from translation team
33040         * po/fr.po: Another update from translation team.
33041
33042 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33043
33044         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33045         for subnormals or multiply small sinh result by itself.
33046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33048
33049 2012-07-11  David S. Miller  <davem@davemloft.net>
33050
33051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33052
33053 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33054
33055         [BZ #14347]
33056         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33057         (INTERNAL_MARK): Shift it here.
33058
33059 2012-07-10  Marek Polacek  <polacek@redhat.com>
33060
33061         [BZ #14151]
33062         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33063         libc_cv_asm_global_directive with .globl.
33064         * configure: Regenerated.
33065         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33066         with .globl.
33067         * sysdeps/i386/configure: Regenerated.
33068         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33069         with .globl.
33070         * sysdeps/x86_64/configure: Regenerated.
33071         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33072         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33073         * elf/tst-unique2mod2.c: Likewise.
33074         * elf/tst-unique2mod1.c: Likewise.
33075         * elf/tst-unique1mod2.c: Likewise.
33076         * elf/tst-unique1mod1.c: Likewise.
33077         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33078         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33080         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33081         * sysdeps/mach/sysdep.h: Likewise.
33082         * sysdeps/i386/sysdep.h: Likewise.
33083         * sysdeps/i386/i386-mcount.S: Likewise.
33084         * sysdeps/x86_64/_mcount.S: Likewise.
33085         * sysdeps/x86_64/sysdep.h: Likewise.
33086         * sysdeps/sh/_mcount.S: Likewise.
33087         * sysdeps/sh/sysdep.h: Likewise.
33088         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33089         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33090         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33091         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33092         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33093         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33094         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33095         * locale/localeinfo.h: Likewise.
33096         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33097         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33098
33099 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33100
33101         [BZ #14336]
33102         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33103         system".
33104         * manual/message.texi (The Uniforum approach): Likewise.
33105         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33106         (glibc iconv Implementation): Likewise.
33107
33108 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33109
33110         [BZ #14337]
33111         * math/s_clog.c (__clog): Avoid scaling a value down where that
33112         could result in underflow.
33113         * math/s_clog10.c (__clog10): Likewise.
33114         * math/s_clog10f.c (__clog10f): Likewise.
33115         * math/s_clog10l.c (__clog10l): Likewise.
33116         * math/s_clogf.c (__clogf): Likewise.
33117         * math/s_clogl.c (__clogl): Likewise.
33118         * math/libm-test.inc (clog_test): Add more tests.
33119         (clog10_test): Likewise.
33120         * sysdeps/i386/fpu/libm-test-ulps: Update.
33121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33122
33123 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33124
33125         [BZ #14283]
33126         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33127         by 7 not 8 to examine high bit of fractional part.
33128
33129         [BZ #14042]
33130         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33131         for call to __mcount_internal.
33132         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33133         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33134         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33135
33136 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33137
33138         [BZ #14154]
33139         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33140         approximation for values within 0x1p-13f of an odd multiple of
33141         pi/4.
33142         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33143         exception.  Add more tests.
33144         * sysdeps/i386/fpu/libm-test-ulps: Update.
33145
33146         [BZ #6778]
33147         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33148         inputs and return -1 for them.  Do not check for +Inf in case not
33149         reachable for +Inf.
33150         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33151         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33153         and return -1 for them.  Do not check for +Inf in case not
33154         reachable for +Inf.
33155         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33156         define.
33157         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33158         and return -1 for them.  Do not check for +Inf in case not
33159         reachable for +Inf.
33160         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33161         spurious underflow.
33162         * sysdeps/i386/fpu/libm-test-ulps: Update.
33163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33164
33165 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33166
33167         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33168
33169 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33170
33171         [BZ #14157]
33172         [BZ #14331]
33173         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33174         could result in spurious underflow.  Scale down values above
33175         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33176         * math/s_csqrtf.c (__csqrtf): Likewise.
33177         * math/s_csqrtl.c (__csqrtl): Likewise.
33178         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33179         spurious underflow.
33180         * sysdeps/i386/fpu/libm-test-ulps: Update.
33181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33182
33183 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33184
33185         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33186         xopen-msg.sed.
33187         * catgets/xopen-msg.awk: New file.
33188         * catgets/xopen-msg.sed: Removed.
33189
33190         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33191         po2text.sed.
33192         * intl/po2test.awk: New file.
33193         * intl/po2test.sed: Removed.
33194
33195 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33196
33197         [BZ #14328]
33198         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33199         or multiply small sinh result by itself.
33200         * math/s_ctanf.c (__ctanf): Likewise.
33201         * math/s_ctanh.c (__ctanh): Likewise.
33202         * math/s_ctanhf.c (__ctanhf): Likewise.
33203         * math/s_ctanhl.c (__ctanhl): Likewise.
33204         * math/s_ctanl.c (__ctanl): Likewise.
33205         * math/libm-test.inc (ctan_test_tonearest): New function.
33206         (ctan_test_towardzero): Likewise.
33207         (ctan_test_downward): Likewise.
33208         (ctan_test_upward): Likewise.
33209         (ctanh_test_tonearest): Likewise.
33210         (ctanh_test_towardzero): Likewise.
33211         (ctanh_test_downward): Likewise.
33212         (ctanh_test_upward): Likewise.
33213         (main): Call these new functions.
33214         * sysdeps/i386/fpu/libm-test-ulps: Update.
33215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33216
33217 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33218
33219         * .gitignore: Delete /ports entry.
33220
33221 2012-07-03  Andreas Jaeger  <aj@suse.de>
33222
33223         * po/bg.po: Update from translation team.
33224         * po/cs.po: Likewise.
33225         * po/de.po: Likewise.
33226         * po/hr.po: Likewise.
33227         * po/nl.pl: Likewise.
33228         * po/pl.po: Likewise.
33229         * po/vi.po: Likewise.
33230
33231 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33232
33233         * Makeconfig [!+link] (+link-before-libc): New variable.
33234         [!+link] (+link-after-libc): Likewise.
33235         [!+link] (+link-tests): Likewise.
33236         [!+link] (+link): Define in terms of $(+link-before-libc) and
33237         $(+link-after-libc).
33238         [!+link-static] (+link-static-before-libc): New variable.
33239         [!+link-static] (+link-static-after-libc): Likewise.
33240         [!+link-static] (+link-static-tests): Likewise.
33241         [!+link-static] (+link-static): Define in terms of
33242         $(+link-static-before-libc) and $(+link-static-after-libc).
33243         [build-shared] (link-libc-before-gnulib): New variable.
33244         [build-shared] (link-libc-tests): Likewise.
33245         [build-shared] (link-libc): Define in terms of
33246         $(link-libc-before-gnulib).
33247         [!build-shared] (link-libc-tests): New variable.
33248         (link-libc-static-tests): New variable.
33249         [!gnulib] (gnulib-arch): New variable.
33250         [!gnulib] (gnulib-tests): Likewise.
33251         [!gnulib] (static-gnulib-arch): Likewise.
33252         [!gnulib] (static-gnulib-tests): Likewise.
33253         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33254         Define with "=" instead of ":=".
33255         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33256         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33257         * Rules (binaries-all-notests): New variable.
33258         (binaries-all-tests): Likewise.
33259         (binaries-static-notests): Likewise.
33260         (binaries-static-tests): Likewise.
33261         (binaries-all): Define using $(binaries-all-notests) and
33262         $(binaries-all-tests).
33263         (binaries-static): Define using $(binaries-static-notests) and
33264         $(binaries-static-tests).
33265         (binaries-shared-tests): New variable.
33266         (binaries-shared-notests): Likewise.
33267         (binaries-shared): Remove variable.
33268         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33269         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33270         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33271         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33272         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33273         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33274         * elf/Makefile (sln-modules): New variable.
33275         (extra-objs): Add $(sln-modules:=.o).
33276         (ldconfig-modules): Add static-stubs.
33277         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33278         * elf/static-stubs.c: New file.
33279
33280         [BZ #14283]
33281         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33282         by 7 not 8 to examine high bit of fractional part.  Use volatile
33283         variables when splitting into final array of floats if
33284         __FLT_EVAL_METHOD__ != 0.
33285         * math/libm-test.inc (cos_test): Add another test.
33286         (sin_test): Likewise.
33287         * sysdeps/i386/fpu/libm-test-ulps: Update.
33288
33289         [BZ #14273]
33290         * math/libm-test.inc (cosh_test): Add more tests.
33291
33292         * version.h (RELEASE): Set to "development".
33293         (VERSION): Set to "2.16.90".
33294
33295 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33296
33297         * NEWS: Update copyright. Remove last-updated date.
33298         Mention math library bug fixes and timezone data changes.
33299         * README: Mention GNU/Hurd, x32, and HPPA support status.
33300
33301 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33302
33303         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33304
33305 2012-06-27  Andreas Jaeger  <aj@suse.de>
33306
33307         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33308
33309 2012-06-25  Andreas Jaeger  <aj@suse.de>
33310
33311         * sysdeps/s390/fpu/libm-test-ulps: Update.
33312
33313 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33314             Thomas Schwinge  <thomas@codesourcery.com>
33315
33316         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33317         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33319         fanotify_mark.
33320
33321 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33322
33323         * sysdeps/mach/start.c: Remove file.
33324         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33325         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33326         * sysdeps/sh/init-first.c: Likewise.
33327
33328         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33329         registers for frame unwinding purposes, add CFI directives.
33330         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33332         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33333         Likewise.
33334
33335         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33336         __fortify_fail returning.
33337         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33338
33339         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33340         sysdeps/sh/____longjmp_chk.S.
33341         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33342         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33343         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33344         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33345
33346         * sysdeps/sh/abort-instr.h: New file.
33347         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33348         process in case exit returns.
33349
33350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33351         initialize the GOT register before use.
33352
33353         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33354         calculation of ARGC > 4.
33355
33356         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33357         meaningful names to some local labels.
33358
33359 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33360             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33361
33362         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33363         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33364         (__arch_compare_and_exchange_val_16_acq): Likewise.
33365         (__arch_compare_and_exchange_val_32_acq): Likewise.
33366         (atomic_exchange_and_add): Fix gUSA sequence.
33367         (atomic_add): Likewise.
33368         (atomic_add_negative): Likewise.
33369         (atomic_add_zero): Likewise.
33370         (atomic_bit_test_set): Likewise.
33371
33372 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33373
33374         [BZ #13579]
33375         * include/link.h (struct link_map): Add l_free_initfini.
33376         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33377         l_initfini.
33378         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33379         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33380         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33381         set.
33382
33383 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33384
33385         * configure.in: Use AC_LANG_SOURCE.
33386         * configure: Regenerate.
33387
33388 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33389
33390         * configure.in (libc_cv_localstatedir): New substituted variable.
33391         * configure: Regenerated.
33392         * config.make.in (localstatedir): New variable, substituted from
33393         libc_cv_localstatedir.
33394         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33395         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33396         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33397         * sysdeps/gnu/configure: Regenerated.
33398
33399 2012-06-21  Jeff Law  <law@redhat.com>
33400
33401         [BZ #14277]
33402         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33403         free.  Simplify list management for _LIBC case.
33404
33405 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33406
33407         [BZ #14273]
33408         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33409         Clear sign bit of 64-bit integer value before comparing against
33410         overflow value.
33411
33412         * sysdeps/mach/configure: Regenerated.
33413
33414 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33415
33416         [BZ #14278]
33417         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33418
33419 2012-06-21  Jeff Law  <law@redhat.com>
33420
33421         [BZ #13882]
33422         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33423         uint16_t for elements in the "seen" array to avoid char overflows.
33424         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33425         * elf/dl-open.c (dl_open_worker): Likewise.
33426
33427 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33428
33429         * scripts/list-sources.sh: Scan PORTS for translations.
33430         * po/libc.pot: Regenerated.
33431
33432 2012-06-21  Andreas Jaeger  <aj@suse.de>
33433
33434         [BZ #12194]
33435         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33436         warning.
33437         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33438         * bits/byteswap-16.h (__bswap_16): Likewise.
33439         * bits/byteswap.h (__bswap_constant_16): Likewise.
33440
33441 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33442
33443         [BZ #14117]
33444         * sysdeps/i386/fpu_control.h: Removed.
33445         * sysdeps/x86_64/fpu_control.h: Moved to ...
33446         * sysdeps/x86/fpu_control.h: Here.
33447
33448         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33449         (_FPU_SETCW): Likewise.
33450
33451 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33452
33453         [BZ #14117]
33454         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33455         * sysdeps/x86/fpu/bits/mathinline.h: This.
33456         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33457
33458         [BZ #14050]
33459         [BZ #14117]
33460         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33461         functions if __x86_64__ is defined.
33462
33463 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33464
33465         * string/endian.h: Add !__ASSEMBLER__ condition for including
33466         conversion interfaces.
33467
33468 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33469
33470         [BZ #14241]
33471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33472         of ABS(x) in calculating zero to negative powers other than odd
33473         integers.
33474         * math/libm-test.inc (pow_test): Add more tests.
33475
33476 2012-06-15  Andreas Jaeger  <aj@suse.de>
33477
33478         * manual/contrib.texi (Contributors): Update entry of Liubov
33479         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33480         Machado Filho.
33481
33482 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33483
33484         * string/string.h: Add __wur to GNU version of strerror_r.
33485
33486 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33487
33488         [BZ #14229]
33489         * string/Makefile (tests): Add tst-strtok_r.
33490         * string/tst-strtok_r.c: New file.
33491         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33492         RAX_LP/RDX_LP on SAVE_PTR.
33493
33494 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33495
33496         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33497
33498 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33499
33500         * libm_test.inc (csqrt_test): Allow more spurious underflow
33501         exceptions.
33502         (j0_test): Likewise.
33503         (j1_test): Likewise.
33504         (y0_test): Likewise.
33505         (y1_test): Likewise.
33506
33507 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33508
33509         * po/Makefile (libc.pot): Use UTF-8 charset.
33510
33511 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33512
33513         [BZ #14210]
33514         Suppress sign-conversion warning from FD_SET.
33515         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33516         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33517         not unsigned long int.
33518         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33519
33520 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33521
33522         [BZ #14050]
33523         [BZ #14117]
33524         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33525         __extern_always_inline instead of __extern_inline.
33526         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33527         (__signbit): Likewise.
33528         (__signbitl): Support C++ namespace.
33529         (lrintf): New inline function.
33530         (lrint): Likewise.
33531         (llrintf): Likewise.
33532         (llrint): Likewise.
33533         (fmaxf): Likewise.
33534         (fmax): Likewise.
33535         (fminf): Likewise.
33536         (fmin): Likewise.
33537         (rint): Likewise.
33538         (rintf): Likewise.
33539         (ceil): Likewise.
33540         (ceilf): Likewise.
33541         (floor): Likewise.
33542         (floorf): Likewise.
33543         (nearbyint): Likewise.
33544         (nearbyintf): Likewise.
33545
33546 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33547
33548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33549         non-default versions.
33550
33551 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33552
33553         [BZ #14218]
33554         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33555
33556 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33557
33558         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33559         (FE_UPWARD, FE_DOWNWARD): Don't define.
33560         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33562
33563         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33564         reading it.
33565         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33566         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33567
33568 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33569
33570         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33571         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33572         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33573         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33574
33575 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33576
33577         [BZ #14117]
33578         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33579         * sysdeps/i386/fpu/Implies: New file.
33580         * sysdeps/x86_64/fpu/Implies: Likewise.
33581         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33582         * sysdeps/x86/fpu/bits/fenv.h: This.
33583
33584         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33585         __SSE_MATH__.
33586
33587 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33588
33589         [BZ #14134]
33590         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33591         character 0xffff that matches the last element of the
33592         conversion table.
33593
33594 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33595
33596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33597         fmodl commit.
33598
33599 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33600
33601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33602         values higher than 25.6283.
33603
33604 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33605
33606         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33607         subnormal exponent extraction and add some __builtin_expect.
33608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33609         Fix for subnormal mantissa calculation.
33610
33611 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33612
33613         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33614         cpu2 is -1 and errno is not ENOSYS.
33615
33616 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33617
33618         [BZ #14117]
33619         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33620         * sysdeps/x86/bits/string.h: This.
33621         * sysdeps/x86_64/bits/string.h: Removed.
33622
33623         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33624         if not compiling for x86-64, but compiling for >= i486.
33625
33626         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33627         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33628
33629         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33630         New macro from Linux kernel 3.4.0.
33631         (FP_XSTATE_MAGIC2): Likewise.
33632         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33633         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33634         (struct _fpx_sw_bytes): New struct.
33635         (struct _xsave_hdr): Likewise.
33636         (struct _ymmh_state): Likewise.
33637         (struct _xstate): Likewise.
33638
33639         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33640         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33641         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33642         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33643         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33644         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33645
33646         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33647         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33648         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33649         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33650         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33651         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33652
33653 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33654
33655         [BZ #13743]
33656         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33657         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33658         (sysdep_headers): Include sys/platform/ppc.h.
33659         * sysdeps/powerpc/test-gettimebase.c: Test for
33660         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33661         * manual/Makefile (appendices): Include platform.texi.
33662         * manual/contrib.texi (Contributors): Update @node pointers.
33663         * manual/maint.texi (Maintenance): Likewise.
33664         (Platform): New node.
33665         * manual/platform.texi: New file.  Document the new features.
33666
33667 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33668             Jakub Jelinek  <jakub@redhat.com>
33669
33670         [BZ #14188]
33671         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33672         where __builtin_expect is unavailable.
33673
33674 2012-06-03  David S. Miller  <davem@davemloft.net>
33675
33676         * stdlib/longlong.h: Updated from GCC.
33677
33678 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33679
33680         [BZ #14042]
33681         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33682         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33683         __mcount_internal.
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33685         (GLIBC_2.16): Likewise.
33686
33687 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33688
33689         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33690
33691 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33692
33693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33694         (default-abi): New variable.
33695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33696         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33697         variable.
33698         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33699         Likewise.
33700         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33701         Likewise.
33702         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33703         Likewise.
33704
33705         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33706         definition.  Document in comment.
33707
33708 2012-06-01  David S. Miller  <davem@davemloft.net>
33709
33710         * stdlib/longlong.h: Updated from GCC.
33711
33712 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33713
33714         [BZ #14117]
33715         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33716         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33717         sys/debugreg.h sys/io.h here.
33718         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33719         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33720         sys/io.h.
33721         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33722         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33723         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33724         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33725         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33726         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33727
33728         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33729         Define only if __x86_64__ is defined.
33730
33731 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33732
33733         [BZ #14048]
33734         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33735         Use int64_t for variable i.
33736         * math/libm-test.inc (fmod_test): Add more tests.
33737
33738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33739         z computation is not scheduled after fetestexcept.
33740         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33741         Use math_force_eval instead of asm to ensure calculation scheduled
33742         before exception test.
33743         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33744         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33745
33746 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33747
33748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33749         computation is not scheduled after fetestexcept.
33750
33751 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33752
33753         [BZ #14117]
33754         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33755         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33756
33757 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33758
33759         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33760         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33761
33762 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33763
33764         [BZ #14117]
33765         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33766         <bits/wordsize.h>.
33767         (__WCHAR_MIN): Support __WORDSIZE == 64.
33768         (__WCHAR_MAX): Likewise.
33769
33770         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33771         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33772
33773         [BZ #14183]
33774         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33775         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33776
33777         [BZ #14117]
33778         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33779         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33780
33781         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33782         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33783
33784         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33785         Defined to 1 if __x86_64__ isn't defined.
33786         (_STAT_VER_LINUX_OLD): New.
33787         (st_atime): Remove duplicate.
33788         (st_mtime): Likewise.
33789         (st_ctime): Likewise.
33790
33791 2012-05-31  David S. Miller  <davem@davemloft.net>
33792
33793         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33794         entries.
33795
33796 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33797
33798         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33799         gen-libm-test.pl.
33800
33801         [BZ #14132]
33802         * elf/dl-reloc.c: Include <_itoa.h>.
33803         (_dl_reloc_bad_type): Remove use of INTUSE.
33804         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33805         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33806         * stdio-common/psiginfo.c (psiginfo): Likewise.
33807         * stdio-common/psignal.c (psignal): Likewise.
33808         * string/strsignal.c (strsignal): Likewise.
33809         * include/signal.h (_sys_siglist): Declare hidden proto.
33810         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33811         INTVARDEF with libc_hidden_data_def.
33812         * stdio-common/itoa-udigits.c: Likewise.
33813         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33814         (_itoa_lower_digits_internal): Remove declaration.
33815         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33816         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33817         (_sys_sigabbrev_internal): Remove aliases.
33818         (_sys_siglist): Define hidden alias.
33819
33820 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33821
33822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33823         bits/sysctl.h.
33824
33825 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33826
33827         [BZ #14117]
33828         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33829         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33830
33831         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33832         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33833         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33834         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33836         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33837
33838         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33839         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33840         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33841
33842         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33843         with __addr.
33844         (insw): Likewise.
33845         (insl): Likewise.
33846         (outsb): Likewise.
33847         (outsw): Likewise.
33848         (outsl): Likewise.
33849
33850         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33852         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33853
33854         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33855         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33856         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33857         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33858         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33859         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33860
33861         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33862         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33863
33864         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33865         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33866
33867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33868         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33869         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33870
33871         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33872         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33873         to ...
33874         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33875
33876         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33877         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33878         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33879
33880         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33881         for x86-64.
33882         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33883
33884 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33885
33886         * math/math.h (M_El): Use two more decimal places.
33887         (M_LOG2El): Likewise.
33888         (M_LOG10El): Likewise.
33889         (M_LN2l): Likewise.
33890         (M_LN10l): Likewise.
33891         (M_PIl): Likewise.
33892         (M_PI_2l): Likewise.
33893         (M_PI_4l): Likewise.
33894         (M_1_PIl): Likewise.
33895         (M_2_PIl): Likewise.
33896         (M_2_SQRTPIl): Likewise.
33897         (M_SQRT2l): Likewise.
33898         (M_SQRT1_2l): Likewise.
33899
33900 2012-05-31  David S. Miller  <davem@davemloft.net>
33901
33902         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33903         values between float registers.
33904         * sysdeps/sparc/sparc64/memset.S: Likewise.
33905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33906
33907 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33908
33909         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33910         -D_FORTIFY_SOURCE=1.
33911         (CPPFLAGS-tst-longjmp_chk.c): Define.
33912         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33913         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33914         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33915         CFLAGS-tst-wchar-h.c.
33916
33917 2012-05-31  Marek Polacek  <polacek@redhat.com>
33918
33919         [BZ #14132]
33920         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33921         __endmntent_internal): Remove declaration.
33922         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33923         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33924         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33925
33926 2012-05-30  David S. Miller  <davem@davemloft.net>
33927
33928         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33929         (___Q_simulate_exceptions): Use real FP ops rather than writing
33930         into the %fsr.
33931         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33932         Likewise.
33933
33934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33935
33936         [BZ #14117]
33937         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33938         * sysdeps/x86/bits/xtitypes.h: This.
33939
33940         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33941         * sysdeps/x86/bits/wordsize.h: This.
33942
33943         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33944         * sysdeps/x86/bits/huge_vall.h: This.
33945
33946         * sysdeps/i386/bits/select.h: Removed.
33947         * sysdeps/x86_64/bits/select.h: Renamed to ...
33948         * sysdeps/x86/bits/select.h: This.
33949
33950         * sysdeps/i386/bits/setjmp.h: Removed.
33951         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33952         * sysdeps/x86/bits/setjmp.h: This.
33953
33954         * sysdeps/i386/bits/mathdef.h: Removed.
33955         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33956         * sysdeps/x86/bits/mathdef.h: This.
33957
33958 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33959
33960         [BZ #14132]
33961         * include/sys/socket.h (__connect_internal)
33962         (__libc_sa_len_internal): Remove declaration.
33963         (__connect, __libc_sa_len): Declare hidden_proto.
33964         (SA_LEN): Remove use of INTUSE.
33965         * socket/connect.c: Add libc_hidden_def.
33966         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33967         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33968         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33969         alias.
33970         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33971         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33972         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33973         of adding _internal alias.
33974
33975 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33976
33977         [BZ #14117]
33978         * sysdeps/i386/bits/link.h: Removed.
33979         * sysdeps/i386/bits/linkmap.h: Likewise.
33980         * sysdeps/x86_64/bits/link.h: Renamed to ...
33981         * sysdeps/x86/bits/link.h: This.
33982         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33983         * sysdeps/x86/bits/linkmap.h: This.
33984
33985         * sysdeps/i386/bits/endian.h: Removed.
33986         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33987         * sysdeps/x86/bits/endian.h: This.
33988
33989         * sysdeps/i386/bits/byteswap.h: Removed.
33990         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33991         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33992         * sysdeps/x86/bits/byteswap.h: This.
33993         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33994         * sysdeps/x86/bits/byteswap-16.h: This.
33995         * sysdeps/i386/Implies: Add x86.
33996         * sysdeps/x86_64/Implies: Likewise.
33997
33998 2012-05-30  David S. Miller  <davem@davemloft.net>
33999
34000         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34001         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34002         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34003         (FP_TRAPPING_EXCEPTIONS): Define.
34004         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34005         (FP_TRAPPING_EXCEPTIONS): Define.
34006         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34007         subnormals only when inexact has been signalled or underflow
34008         exceptions are enabled.
34009         (_FP_PACK_CANONICAL): Likewise.
34010
34011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34012
34013         [BZ #14183]
34014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34015         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34016
34017 2012-05-30  Richard Henderson  <rth@twiddle.net>
34018
34019         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34020         with #ifndef NOT_IN_libc.
34021
34022         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34023         marked to avoid plt entry.
34024
34025 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34026
34027         [BZ #14112]
34028         * Makeconfig (default-abi): New macro.
34029         (abi-includes): Likewise.
34030         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34031         $(abi-$(default-abi)-lib-soname) for soname if defined.
34032         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34033         abi-variants.
34034         * Makefile (installed-stubs): Likewise.
34035         * include/stubs-biarch.h: Removed.
34036         * scripts/lib-names.awk: Only handle one library at a time.
34037         * scripts/soversions.awk: Remove WORDSIZE support.
34038         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34039         entries.
34040         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34041         Removed.
34042         (syscall-list-default-condition): Likewise.
34043         (syscall-list-default-condition): Likewise.
34044         (syscall-list-includes): Likewise.
34045         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34046         syscall-list-* with abi-*.  Handle undefined abi-variants.
34047         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34048         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34049         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34050         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34051         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34052         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34053         Removed.
34054         (syscall-list-32-options): Likewise.
34055         (syscall-list-32-condition): Likewise.
34056         (syscall-list-64-options): Likewise.
34057         (syscall-list-64-condition): Likewise.
34058         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34059         macro.
34060         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34061         Renamed to ...
34062         (abi-*): This.
34063         (abi-64-ld-soname): New macro.
34064         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34065         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34066         Renamed to ...
34067         (abi-*): This.
34068         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34069         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34070
34071 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34072
34073         * sysdeps/unix/sysv/linux/kernel-features.h
34074         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34075         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34076         include <kernel-features.h>.
34077         [!__NR_ftruncate64]: Remove conditional code.
34078         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34079         [__NR_ftruncate64]: Make code unconditional.
34080         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34081         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34082         include <kernel-features.h>.
34083         [!__NR_ftruncate64]: Remove conditional code.
34084         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34085         [__NR_ftruncate64]: Make code unconditional.
34086         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34088         include <kernel-features.h>.
34089         [!__NR_ftruncate64]: Remove conditional code.
34090         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34091         [__NR_ftruncate64]: Make code unconditional.
34092         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34094         include <kernel-features.h>.
34095         [!__NR_ftruncate64]: Remove conditional code.
34096         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34097         [__NR_ftruncate64]: Make code unconditional.
34098         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34099
34100         * configure.in (libc_cv_fpie): Weaken to a compile test using
34101         LIBC_TRY_CC_OPTION.
34102         * configure: Regenerated.
34103
34104 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34105
34106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34110         Refreshed.
34111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34117         Refreshed.
34118
34119 2012-05-27  David S. Miller  <davem@davemloft.net>
34120
34121         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34122         (___Q_zero): New.
34123         (__Q_simulate_exceptions): Return void.  Change to simulate
34124         exceptions by writing into the %fsr.
34125         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34126         (__Qp_handle_exceptions): Likewise.
34127         (numbers): Delete.
34128         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34129         __Qp_handle_exceptions.
34130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34131         __Qp_handle_exceptions.
34132         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34133         as unused and give dummy FP_RND_NEAREST initializer.
34134         (FP_INHIBIT_RESULTS): Define.
34135         (___Q_simulate_exceptions): Update declaration.
34136         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34137         formatting.
34138         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34139         as unused and give dummy FP_RND_NEAREST initializer.
34140         (__Qp_handle_exceptions): Update declaration.
34141         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34142         formatting.
34143
34144 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34145
34146         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34147         the temporary FPU control word.
34148         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34149         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34150         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34151         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34153         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34154         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34155         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34156         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34157         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34158         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34159
34160 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34161
34162         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34163         fields.
34164
34165 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34166
34167         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34168         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34169         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34170         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34171         Likewise.
34172         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34173         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34174         Likewise.
34175
34176 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34177
34178         * po/h.po: Update from translation team.
34179
34180 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34181
34182         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34183
34184         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34185         handling of denormals.
34186         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34187         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34188         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34189         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34193         Likewise.
34194
34195 2012-05-26  Marek Polacek  <polacek@redhat.com>
34196
34197         [BZ #14152]
34198         * math/libm-test.inc (fma_test): Don't always expect underflow
34199         exception.
34200
34201 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34202
34203         [BZ #12416]
34204         * elf/tst-execstack.c: Include stackinfo.h.
34205         (do_test): Adjust test case to ensure that pthread_getattr_np
34206         behaviour remains the same after marking stack executable.
34207
34208 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34209
34210         * sysdeps/unix/sysv/linux/kernel-features.h
34211         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34212         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34213         kernel-features.h.
34214         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34215         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34216         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34217         kernel-features.h.
34218         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34219         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34220
34221 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34222
34223         * configure.in: Define the default includes to being none.
34224         * configure: Regenerated.
34225
34226 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34227
34228         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34229         * sysdeps/x86_64/setjmp.S: Likewise.
34230         * sysdeps/i386/bsd-setjmp.S: Likewise.
34231         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34232         * sysdeps/i386/setjmp.S: Likewise.
34233         * sysdeps/i386/__longjmp.S: Likewise.
34234         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34235         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34236
34237         * include/stap-probe.h: New file.
34238         * configure.in: Handle --enable-systemtap.
34239         * configure: Regenerated.
34240         * config.h.in (USE_STAP_PROBE): New #undef.
34241         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34242         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34243         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34244
34245 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34246
34247         [BZ #13717]
34248         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34249         to 2.4.0 where earlier.
34250         * sysdeps/unix/sysv/linux/configure: Regenerated.
34251         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34252         <kernel-features.h>.
34253         [__ASSUME_32BITUIDS]: Make code unconditional.
34254         [!__ASSUME_32BITUIDS]: Remove conditional code.
34255         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34256         <kernel-features.h>.
34257         [__ASSUME_32BITUIDS]: Make code unconditional.
34258         [!__ASSUME_32BITUIDS]: Remove conditional code.
34259         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34260         [__ASSUME_32BITUIDS]: Make code unconditional.
34261         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34262         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34263         <kernel-features.h>.
34264         [__ASSUME_32BITUIDS]: Make code unconditional.
34265         [!__ASSUME_32BITUIDS]: Remove conditional code.
34266         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34267         <kernel-features.h>.
34268         [__ASSUME_32BITUIDS]: Make code unconditional.
34269         [!__ASSUME_32BITUIDS]: Remove conditional code.
34270         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34271         <kernel-features.h>.
34272         [__ASSUME_32BITUIDS]: Make code unconditional.
34273         [!__ASSUME_32BITUIDS]: Remove conditional code.
34274         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34275         <kernel-features.h>.
34276         [__ASSUME_32BITUIDS]: Make code unconditional.
34277         [!__ASSUME_32BITUIDS]: Remove conditional code.
34278         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34279         <kernel-features.h>.
34280         [__ASSUME_32BITUIDS]: Make code unconditional.
34281         [!__ASSUME_32BITUIDS]: Remove conditional code.
34282         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34283         <kernel-features.h>.
34284         [__ASSUME_32BITUIDS]: Make code unconditional.
34285         [!__ASSUME_32BITUIDS]: Remove conditional code.
34286         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34287         <kernel-features.h>.
34288         [__ASSUME_32BITUIDS]: Make code unconditional.
34289         [!__ASSUME_32BITUIDS]: Remove conditional code.
34290         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34291         <kernel-features.h>.
34292         [__ASSUME_32BITUIDS]: Make code unconditional.
34293         [!__ASSUME_32BITUIDS]: Remove conditional code.
34294         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34295         <kernel-features.h>.
34296         [__ASSUME_32BITUIDS]: Make code unconditional.
34297         [!__ASSUME_32BITUIDS]: Remove conditional code.
34298         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34299         <kernel-features.h>.
34300         [__ASSUME_32BITUIDS]: Make code unconditional.
34301         [!__ASSUME_32BITUIDS]: Remove conditional code.
34302         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34303         <kernel-features.h>.
34304         [__NR_setresgid] (__setresgid): Do not declare.
34305         [__ASSUME_32BITUIDS]: Make code unconditional.
34306         [!__ASSUME_32BITUIDS]: Remove conditional code.
34307         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34308         <kernel-features.h>.
34309         [__NR_setresuid] (__setresuid): Do not declare.
34310         [__ASSUME_32BITUIDS]: Make code unconditional.
34311         [!__ASSUME_32BITUIDS]: Remove conditional code.
34312         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34313         <kernel-features.h>.
34314         [__ASSUME_32BITUIDS]: Make code unconditional.
34315         [!__ASSUME_32BITUIDS]: Remove conditional code.
34316         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34317         <kernel-features.h>.
34318         [__ASSUME_32BITUIDS]: Make code unconditional.
34319         [!__ASSUME_32BITUIDS]: Remove conditional code.
34320         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34321         <kernel-features.h>.
34322         [__ASSUME_32BITUIDS]: Make code unconditional.
34323         [!__ASSUME_32BITUIDS]: Remove conditional code.
34324         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34325         <kernel-features.h>.
34326         [__ASSUME_32BITUIDS]: Make code unconditional.
34327         [!__ASSUME_32BITUIDS]: Remove conditional code.
34328         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34329         <kernel-features.h>.
34330         [__ASSUME_32BITUIDS]: Make code unconditional.
34331         [!__ASSUME_32BITUIDS]: Remove conditional code.
34332         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34333         <kernel-features.h>.
34334         [__ASSUME_32BITUIDS]: Make code unconditional.
34335         [!__ASSUME_32BITUIDS]: Remove conditional code.
34336         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34337         <kernel-features.h>.
34338         [__ASSUME_32BITUIDS]: Make code unconditional.
34339         [!__ASSUME_32BITUIDS]: Remove conditional code.
34340         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34341         <kernel-features.h>.
34342         [__ASSUME_32BITUIDS]: Make code unconditional.
34343         [!__ASSUME_32BITUIDS]: Remove conditional code.
34344         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34345         <kernel-features.h>.
34346         [__ASSUME_32BITUIDS]: Make code unconditional.
34347         [!__ASSUME_32BITUIDS]: Remove conditional code.
34348         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34349         <kernel-features.h>.
34350         [__ASSUME_32BITUIDS]: Make code unconditional.
34351         [!__ASSUME_32BITUIDS]: Remove conditional code.
34352         * sysdeps/unix/sysv/linux/kernel-features.h
34353         (__ASSUME_SETRESUID_SYSCALL): Remove.
34354         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34355         (__ASSUME_32BITUIDS): Likewise.
34356         (__ASSUME_LDT_WORKS): Likewise.
34357         (__ASSUME_O_DIRECTORY): Likewise.
34358         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34359         architecture but not kernel version.
34360         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34361         (__ASSUME_MMAP2_SYSCALL): Likewise.
34362         (__ASSUME_STAT64_SYSCALL): Likewise.
34363         (__ASSUME_IPC64): Likewise.
34364         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34365         <kernel-features.h>.
34366         [__ASSUME_32BITUIDS]: Make code unconditional.
34367         [!__ASSUME_32BITUIDS]: Remove conditional code.
34368         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34369         <kernel-features.h>.
34370         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34371         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34372         132096]: Remove conditional code.
34373         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34374         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34375         <kernel-features.h>.
34376         [__ASSUME_32BITUIDS]: Make code unconditional.
34377         [!__ASSUME_32BITUIDS]: Remove conditional code.
34378         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34379         <kernel-features.h>.
34380         [__ASSUME_32BITUIDS]: Make code unconditional.
34381         [!__ASSUME_32BITUIDS]: Remove conditional code.
34382         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34383         <kernel-features.h>.
34384         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34385         unconditional.
34386         (__setresgid): Do not declare.
34387         [__ASSUME_32BITUIDS]: Make code unconditional.
34388         [!__ASSUME_32BITUIDS]: Remove conditional code.
34389         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34390         <kernel-features.h>.
34391         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34392         unconditional.
34393         (__setresuid): Do not declare.
34394         [__ASSUME_32BITUIDS]: Make code unconditional.
34395         [!__ASSUME_32BITUIDS]: Remove conditional code.
34396         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34397         <kernel-features.h>.
34398         [__ASSUME_32BITUIDS]: Make code unconditional.
34399         [!__ASSUME_32BITUIDS]: Remove conditional code.
34400         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34401         <kernel-features.h>.
34402         [__ASSUME_32BITUIDS]: Make code unconditional.
34403         [!__ASSUME_32BITUIDS]: Remove conditional code.
34404
34405 2012-05-25  Richard Henderson  <rth@twiddle.net>
34406
34407         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34408         dl_hwcap to ifunc resolver.
34409         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34410         elf_ifunc_invoke.
34411         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34412         dl_hwcap to ifunc resolver.
34413         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34414
34415 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34416
34417         [BZ #14153]
34418         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34419         for |x| <= 2**-26, not 2**-57.
34420         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34421         exception.
34422
34423 2012-05-24  Jeff Law  <law@redhat.com>
34424
34425         * stdio-common/Makefile (tests): Add bug25.
34426         * stdio-common/bug25.c: New test.
34427
34428 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34429
34430         [BZ #13576]
34431         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34432         multiple of MALLOC_ALIGNMENT in size.
34433         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34434
34435 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34436
34437         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34438         Require >= 256.
34439         (FILENAME_MAX): Use macro-int-constant.
34440         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34441         (_IOFBF): Use macro-int-constant.
34442         (_IOLBF): Likewise.
34443         (_IONBF): Likewise.
34444         (SEEK_CUR): Likewise.
34445         (SEEK_END): Likewise.
34446         (SEEK_SET): Likewise.
34447         (TMP_MAX): Likewise.
34448         (EOF): Use macro-int-constant.  Require < 0.
34449         (NULL): Use macro-constant.  Require == 0.
34450         (stdin): Require type to be FILE *.
34451         (stdout): Likewise.
34452         (stderr): Likewise.
34453         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34454         macro-int-constant.
34455         (EXIT_SUCCESS): Likewise.
34456         (NULL): Use macro-constant.  Require == 0.
34457         (RAND_MAX): Use macro-int-constant.
34458         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34459         [C99-based standards] (strtof): Require function.
34460         [C99-based standards] (strtold): Likewise.
34461         [C99-based standards] (strtoll): Likewise.
34462         [C99-based standards] (strtoull): Likewise.
34463         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34464         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34465         [ISO || ISO99 || ISO11] (math.h): Likewise.
34466         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34467         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34469
34470 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34471
34472         [BZ #14132]
34473         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34474         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34475         * intl/dgettext.c (DCGETTEXT): Likewise.
34476         * intl/gettext.c (DCGETTEXT): Likewise.
34477         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34478         * posix/regex_internal.h (gettext): Likewise.
34479         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34480         Remove declaration.
34481         * include/argz.h (__argz_count_internal)
34482         (__argz_stringify_internal): Remove declaration.
34483         (__argz_count, __argz_stringify): Declare hidden proto.
34484         * intl/dcgettext.c: Remove use of INTDEF.
34485         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34486         * string/argz-stringify.c: Likewise.
34487         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34488         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34489         Declare hidden proto.
34490         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34491         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34492         Declare hidden proto.
34493         * include/stdio.h (__asprintf_internal): Don't declare.
34494         (__asprintf): Don't define as macro.  Declare hidden proto.
34495         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34496         (__fsetlocking): Declare hidden proto.
34497         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34498         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34499         hidden proto.
34500         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34501         (_IO_setlinebuf): Remove use of INTUSE.
34502         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34503         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34504         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34505         Remove declaration.
34506         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34507         (_IO_do_flush): Remove use of INTUSE.
34508         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34509         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34510         (_IO_adjust_column, _IO_least_wmarker)
34511         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34512         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34513         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34514         (_IO_default_doallocate, _IO_wdefault_doallocate)
34515         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34516         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34517         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34518         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34519         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34520         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34521         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34522         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34523         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34524         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34525         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34526         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34527         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34528         proto.
34529         (_IO_flush_all_internal, _IO_adjust_column_internal)
34530         (_IO_default_uflow_internal, _IO_default_finish_internal)
34531         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34532         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34533         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34534         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34535         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34536         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34537         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34538         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34539         (_IO_file_close_internal, _IO_file_close_it_internal)
34540         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34541         (_IO_file_init_internal, _IO_file_attach_internal)
34542         (_IO_file_fopen_internal, _IO_file_read_internal)
34543         (_IO_file_sync_internal, _IO_file_seek_internal)
34544         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34545         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34546         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34547         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34548         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34549         (_IO_list_all_internal, _IO_link_in_internal)
34550         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34551         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34552         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34553         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34554         (_IO_do_write_internal, _IO_padn_internal)
34555         (_IO_getline_info_internal, _IO_getline_internal)
34556         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34557         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34558         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34559         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34560         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34561         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34562         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34563         with libc_hidden_ver, remove use of INTUSE.
34564         * libio/genops.c: Likewise.
34565         * libio/freopen.c: Likewise.
34566         * libio/freopen64.c: Likewise.
34567         * libio/iofclose.c: Likewise.
34568         * libio/iofdopen.c: Likewise.
34569         * libio/iofflush.c: Likewise.
34570         * libio/iofflush_u.c: Likewise.
34571         * libio/iofgets.c: Likewise.
34572         * libio/iofgets_u.c: Likewise.
34573         * libio/iofopen.c: Likewise.
34574         * libio/iofopncook.c: Likewise.
34575         * libio/iofread.c: Likewise.
34576         * libio/iofread_u.c: Likewise.
34577         * libio/ioftell.c: Likewise.
34578         * libio/iofwrite.c: Likewise.
34579         * libio/iogetline.c: Likewise.
34580         * libio/iogets.c: Likewise.
34581         * libio/iogetwline.c: Likewise.
34582         * libio/iopadn.c: Likewise.
34583         * libio/iopopen.c: Likewise.
34584         * libio/ioseekoff.c: Likewise.
34585         * libio/ioseekpos.c: Likewise.
34586         * libio/iosetbuffer.c: Likewise.
34587         * libio/iosetvbuf.c: Likewise.
34588         * libio/ioungetc.c: Likewise.
34589         * libio/ioungetwc.c: Likewise.
34590         * libio/iovdprintf.c: Likewise.
34591         * libio/iovsprintf.c: Likewise.
34592         * libio/iovsscanf.c: Likewise.
34593         * libio/memstream.c: Likewise.
34594         * libio/obprintf.c: Likewise.
34595         * libio/oldfileops.c: Likewise.
34596         * libio/oldiofclose.c: Likewise.
34597         * libio/oldiofdopen.c: Likewise.
34598         * libio/oldiofopen.c: Likewise.
34599         * libio/oldiopopen.c: Likewise.
34600         * libio/oldstdfiles.c: Likewise.
34601         * libio/putc.c: Likewise.
34602         * libio/setbuf.c: Likewise.
34603         * libio/setlinebuf.c: Likewise.
34604         * libio/stdfiles.c: Likewise.
34605         * libio/strops.c: Likewise.
34606         * libio/vasprintf.c: Likewise.
34607         * libio/vscanf.c: Likewise.
34608         * libio/vsnprintf.c: Likewise.
34609         * libio/vswprintf.c: Likewise.
34610         * libio/wfiledoalloc.c: Likewise.
34611         * libio/wfileops.c: Likewise.
34612         * libio/wgenops.c: Likewise.
34613         * libio/wmemstream.c: Likewise.
34614         * libio/wstrops.c: Likewise.
34615         * libio/__fpurge.c: Likewise.
34616         * libio/__fsetlocking.c: Likewise.
34617         * assert/assert.c: Likewise.
34618         * debug/fgets_chk.c: Likewise.
34619         * debug/fgets_u_chk.c: Likewise.
34620         * debug/fread_chk.c: Likewise.
34621         * debug/fread_u_chk.c: Likewise.
34622         * debug/gets_chk.c: Likewise.
34623         * debug/obprintf_chk.c: Likewise.
34624         * debug/vasprintf_chk.c: Likewise.
34625         * debug/vdprintf_chk.c: Likewise.
34626         * debug/vsnprintf_chk.c: Likewise.
34627         * debug/vsprintf_chk.c: Likewise.
34628         * malloc/mtrace.c: Likewise.
34629         * misc/error.c: Likewise.
34630         * misc/syslog.c: Likewise.
34631         * stdio-common/asprintf.c: Likewise.
34632         * stdio-common/fxprintf.c: Likewise.
34633         * stdio-common/getw.c: Likewise.
34634         * stdio-common/isoc99_fscanf.c: Likewise.
34635         * stdio-common/isoc99_scanf.c: Likewise.
34636         * stdio-common/isoc99_vfscanf.c: Likewise.
34637         * stdio-common/isoc99_vscanf.c: Likewise.
34638         * stdio-common/isoc99_vsscanf.c: Likewise.
34639         * stdio-common/printf-prs.c: Likewise.
34640         * stdio-common/printf_fp.c: Likewise.
34641         * stdio-common/printf_fphex.c: Likewise.
34642         * stdio-common/printf_size.c: Likewise.
34643         * stdio-common/putw.c: Likewise.
34644         * stdio-common/scanf.c: Likewise.
34645         * stdio-common/sprintf.c: Likewise.
34646         * stdio-common/tmpfile.c: Likewise.
34647         * stdio-common/vfprintf.c: Likewise.
34648         * stdio-common/vfscanf.c: Likewise.
34649         * stdlib/strfmon_l.c: Likewise.
34650         * sunrpc/openchild.c: Likewise.
34651         * sunrpc/xdr_stdio.c: Likewise.
34652         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34653         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34654
34655 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34656
34657         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34658
34659         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34660         in the third column, to generate for the shared library an IFUNC
34661         that uses _dl_vdso_vsym.
34662         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34663         * Makeconfig (object-suffixes-noshared): New variable.
34664
34665         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34666         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34667         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34668         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34669
34670         [BZ #14132]
34671         * include/sys/time.h (__gettimeofday): Remove macro.
34672         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34673         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34674         Remove INTDEF.
34675         (__gettimeofday): Add libc_hidden_def.
34676         (gettimeofday): Add libc_hidden_weak.
34677         * sysdeps/mach/gettimeofday.c: Likewise.
34678         * sysdeps/posix/gettimeofday.c: Likewise.
34679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34680         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34682         (__gettimeofday_internal): Remove strong_alias.
34683         (__gettimeofday): Add libc_hidden_def.
34684         (gettimeofday): Add libc_hidden_weak.
34685         * sysdeps/unix/syscalls.list (gettimeofday):
34686         Remove __gettimeofday_internal alias.
34687
34688 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34689             H.J. Lu  <hongjiu.lu@intel.com>
34690
34691         [BZ #12495]
34692         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34693         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34694         (largebin_index_32_big): New.
34695         (largebin_index): Use it for 16-byte alignment.
34696         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34697         correction with front_misalign.
34698
34699 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34700
34701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34703         Likewise.
34704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34705         Likewise.
34706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34707         Likewise.
34708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34709         Likewise.
34710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34711         Likewise.
34712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34713         Likewise.
34714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34715         Likewise.
34716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34717         Likewise.
34718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34719         Likewise.
34720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34721         Likewise.
34722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34723         Likewise.
34724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34725         Likewise.
34726
34727         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34728         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34729
34730 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34731
34732         [BZ #10846]
34733         [BZ #14036]
34734         * math/libm-test.inc (exp_test): Add test from bug 14036.
34735         (pow_test): Add test from bug 10846.
34736
34737         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34738         and other flags.
34739         (special_function): Do not include flags in test name.
34740         (parse_args): Likewise.
34741         * sysdeps/i386/fpu/libm-test-ulps: Update.
34742         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34743         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34744         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34746
34747         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34748         exceptions.
34749         * math/libm-test.inc ("Philosophy"): Update comment about
34750         exception testing.
34751         (UNDERFLOW_EXCEPTION): New macro.
34752         (UNDERFLOW_EXCEPTION_OK): Likewise.
34753         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34754         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34755         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34756         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34757         (INVALID_EXCEPTION_OK): Update value.
34758         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34759         (OVERFLOW_EXCEPTION_OK): Likewise.
34760         (IGNORE_ZERO_INF_SIGN): Likewise.
34761         (test_exceptions): Handle underflow exceptions.
34762         (acos_test): Update for underflow exception expectations.
34763         (cexp_test): Likewise.
34764         (clog_test): Likewise.
34765         (clog10_test): Likewise.
34766         (csqrt_test): Likewise.
34767         (ctan_test): Likewise.
34768         (ctanh_test): Likewise.
34769         (exp_test): Likewise.
34770         (exp10_test): Likewise.
34771         (exp2_test): Likewise.
34772         (expm1_test): Likewise.
34773         (fma_test): Likewise.
34774         (j0_test): Likewise.
34775         (jn_test): Likewise.
34776         (nexttoward_test): Likewise.
34777         (pow_test): Likewise.
34778         (scalbn_test): Likewise.
34779         (scalbln_test): Likewise.
34780         (tan_test): Likewise.
34781         (y1_test): Likewise.
34782         * sysdeps/i386/fpu/libm-test-ulps: Update.
34783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34784
34785 2012-05-23  David S. Miller  <davem@davemloft.net>
34786
34787         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34788         (__libc_sigaction): Remove unused local variables.
34789
34790 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34791
34792         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34793
34794 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34795
34796         mktime: avoid signed integer overflow
34797         * time/mktime.c (__mktime_internal): Do not mishandle the case
34798         where diff == INT_MIN.
34799
34800         mktime: simplify computation of average
34801         * time/mktime.c (ranged_convert): Use new time_t_avg function
34802         instead of rolling our own (probably-slower) code.
34803
34804         mktime: do not assume signed right shift propagates sign bit
34805         * time/mktime.c (isdst_differ): New static function.
34806         (__mktime_internal): No need to normalize tm_isdst now.
34807         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34808         tm_isdst values.
34809
34810         mktime: merge another wrapv change from gnulib
34811         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34812         from some compilers.
34813
34814         mktime: remove incorrect attempt at unusual arithmetics
34815         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34816         The code didn't really work on such machines anyway.
34817         (TYPE_MINIMUM): Assume two's complement.
34818         (twos_complement_arithmetic): Verify that long_int and time_t
34819         are two's complement (or unsigned, in the latter case).
34820
34821         mktime: check signed shifts on long_int and time_t, too
34822         * time/mktime.c (SHR): Check that shifts work as desired
34823         on the types long_int and time_t too, as SHR is used on
34824         such types.
34825
34826         mktime: do not assume 'long' is wide enough
34827         * time/mktime.c (verify): Move decl up.
34828         (long_int): New type.
34829         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34830         to remove assumption in the code that 'long' is wide enough to
34831         store year values.  This assumption is not true on x32 and on
34832         some non-glibc platforms.
34833
34834         mktime: merge wrapv change from gnulib
34835         * time/mktime.c (WRAPV): New macro.
34836         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34837         (guess_time_tm, __mktime_internal): Do not assume that signed
34838         integer overflow wraps around; modern compilers generate code
34839         where this assumption is no longer valid.
34840
34841 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34842
34843         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34844         Replace "jmp L(pseudo_end)" with "ret".
34845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34846         Likewise.
34847
34848 2012-05-23  Andreas Jaeger  <aj@suse.de>
34849
34850         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34851         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34852
34853 2012-05-23  Andreas Jaeger  <aj@suse.de>
34854             Maximilian Attems  <max@stro.at>
34855
34856         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34857         New macros.
34858
34859 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34860
34861         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34862         code so that pseudo_end is just ret and the stack pointer is
34863         correct also for static library in error case.
34864
34865 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34866
34867         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34868         move to syscalls.list.
34869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34873
34874         * manual/install.texi (Running make install): Do not mention Linux
34875         kernel version for which pt_chown is not needed.
34876         (Linux): Do not mention problems with nscd with 2.0 kernels.
34877         * INSTALL: Regenerated.
34878
34879 2012-05-23  Andreas Jaeger  <aj@suse.de>
34880
34881         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34882         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34883         macro.
34884         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34885         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34886         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34887         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34888         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34889         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34890         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34891         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34892         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34893         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34894         * sysdeps/unix/sysv/linux/bits/in.h
34895         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34896
34897 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34898
34899         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34900         (PREPARE_VERSION): Just use assert instead, it will be elided
34901         under [NDEBUG] anyway.
34902
34903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34904
34905         * sysdeps/unix/sysv/linux/Makefile: Include
34906         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34907         (sysdep_routines): Remove sysctl.
34908         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34909         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34910         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34911         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34912         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34913
34914 2012-05-22  Andreas Jaeger  <aj@suse.de>
34915
34916         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34917         that pseudo_end is just ret and the stack pointer is correct also
34918         for static library in error case.
34919
34920 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34921
34922         [BZ #14122]
34923         * nss/nsswitch.c (defconfig_entries): New variable.
34924         (__nss_database_lookup): Don't leak defconfig entries.
34925         (nss_parse_service_list): Don't leak on error paths.
34926         (free_database_entries): New function.
34927         (free_defconfig): New function.
34928         (free_mem): Move common code to free_database_entries.
34929
34930 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34931
34932         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34933         Add arch_prctl.
34934         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34935
34936         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34937         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34939         New macro.
34940         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34941         (INTERNAL_SYSCALL_TYPES): Likewise.
34942         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34943         (LOAD_REGS_TYPES_[1-6]): Likewise.
34944         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34945         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34946
34947 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34948
34949         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34950         copysignl for GLIBC_2_0.
34951         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34952         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34954         logbl for GLIBC_2_0.
34955         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34956         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34957
34958 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34959
34960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34961         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34962
34963         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34964         Use "neg %eax".
34965
34966         * time/mktime.c: Update copyright years.
34967
34968 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34969
34970         mktime: merge comment-quoting-style change from gnulib
34971         * time/mktime.c: Quote 'like this' in comments.
34972         The GNU coding standards suggest that we no longer quote `like this',
34973         as "`" and "'" are typically rendered asymmetrically nowadays.
34974         The typical gnulib style is to quote 'like this' when quoting
34975         code, and "like this" when quoting English.
34976
34977         * time/mktime.c (compile-command): Add "-I.".
34978
34979         mktime: merge mktime-internal.h change from gnulib
34980         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34981
34982         mktime: merge time_r change from gnulib
34983         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34984
34985         mktime: merge DEBUG change from gnulib
34986         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34987         case system <time.h> has a #define.
34988
34989         mktime: merge <sys/types.h> change from gnulib
34990         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34991         since <time.t> is now guaranteed to define time_t.
34992
34993         mktime: merge HAVE_CONFIG_H change from gnulib
34994         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34995
34996 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34997
34998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34999         Use "neg %eax".
35000
35001         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35002         __rlim_t cast.
35003         (struct rusage): Use anonymous union to pad each field to
35004         __syscall_slong_t.
35005
35006 2012-05-21  David S. Miller  <davem@davemloft.net>
35007
35008         * Makefules (o-iterator): Remove .s cases.
35009         (compile-command.s): Delete.
35010         (COMPILE.s): Delete.
35011         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35012
35013 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35014
35015         * configure.in (libc_cv_predef_stack_protector): Only consider
35016         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35017         * configure: Regenerated.
35018
35019 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35020
35021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35022         New macro.  Use R*LP on int and pointer.
35023         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35024         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35025         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35026         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35027
35028         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35029         [__WORDSIZE_TIME64_COMPAT32] instead of
35030         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35031         (struct utmp): Likewise.
35032         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35033         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35034         Renamed to ...
35035         (__WORDSIZE_TIME64_COMPAT32): This.
35036         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35037         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35038         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35039         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35040         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35041         (__WORDSIZE_TIME64_COMPAT32): New macro.
35042
35043 2012-05-21  Andreas Jaeger  <aj@suse.de>
35044
35045         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35046         only if [SHARED]. Add prototype for __wcschr_ia32.
35047
35048 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35049
35050         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35051         of %rbp unmolested in the jmp_buf while mangling the low bits.
35052         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35053         unmolested high bits of %rbp while demangling the low bits.
35054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35055
35056 2012-05-21  Andreas Jaeger  <aj@suse.de>
35057
35058         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35059         * sunrpc/svc_simple.c: Use it for registerrpc.
35060         * sunrpc/xcrypt.c: Use it for passwd2des.
35061
35062         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35063
35064 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35065
35066         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35067         Don't define if [__SYSCALL_WORDSIZE != 32].
35068         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35069         New macro.
35070
35071 2012-05-21  Bruno Haible  <bruno@clisp.org>
35072             Andreas Jaeger  <aj@suse.de>
35073
35074         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35075         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35076         inptr and inend for must_buffer_ch.
35077         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35078         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35079         * stdio-common/Makefile (tests): Remove bug15.
35080         (bug15-ENV): Remove macro.
35081         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35082         anymore.
35083
35084 2012-05-19  Andreas Jaeger  <aj@suse.de>
35085             Roland McGrath  <roland@hack.frob.com>
35086
35087         * manual/contrib.texi: Completely rewritten. It contains now an
35088         alphabetical list of contributors and their contributions.
35089
35090 2012-05-21  Richard Henderson  <rth@twiddle.net>
35091
35092         * misc/getauxval.c (__getauxval): Use unsigned long int.
35093         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35094         (getauxval): Use unsigned long int.
35095
35096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35097
35098         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35099
35100 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35101
35102         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35103         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35104         __alignof__ (long double).
35105
35106 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35107
35108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35109
35110 2012-05-20  Richard Henderson  <rth@twiddle.net>
35111
35112         * misc/getauxval.c: New file.
35113         * misc/sys/auxv.h: New file.
35114         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35115         (routines): Add getauxval.
35116         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35117         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35118         * elf/dl-sysdep.c (_dl_auxv): Remove.
35119         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35120         * elf/dl-support.c (_dl_auxv): New variable.
35121         (_dl_aux_init): Initialize it.
35122         * manual/startup.texi (Auxiliary Vector): New node.
35123         * sysdeps/generic/bits/hwcap.h: New file.
35124         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35125         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35126         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35127         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35128         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35129         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35131         Update.
35132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35140
35141 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35142
35143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35144
35145 2012-05-19  David S. Miller  <davem@davemloft.net>
35146
35147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35148
35149 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35150
35151         [BZ #14123]
35152         * math/s_ccosh.c: Include <float.h>
35153         (__ccosh): Avoid internal overflow calculating sinh and cosh
35154         values before multiplying by sin and cos values.
35155         * math/s_ccoshf.c: Likewise.
35156         * math/s_ccoshl.c: Likewise.
35157         * math/s_csin.c: Likewise.
35158         * math/s_csinf.c: Likewise.
35159         * math/s_csinl.c: Likewise.
35160         * math/s_csinh.c: Likewise.
35161         * math/s_csinhf.c: Likewise.
35162         * math/s_csinhl.c: Likewise.
35163         * math/libm-test.inc (ccos_test): Add more tests.
35164         (ccosh_test): Likewise.
35165         (csin_test): Likewise.
35166         (csinh_test): Likewise.
35167         * sysdeps/i386/fpu/libm-test-ulps: Update.
35168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35169
35170 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35171
35172         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35173         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35174
35175         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35176
35177 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35178
35179         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35180         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35181         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35182         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35183         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35184         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35185         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35186         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35187         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35188         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35189         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35190         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35191         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35192         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35193         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35194         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35195         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35196         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35197         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35198         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35199         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35200         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35201         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35202         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35203         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35204         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35205         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35206         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35207         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35208         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35209         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35210
35211 2012-05-18  Andreas Jaeger  <aj@suse.de>
35212
35213         * csu/.gitignore: Delete.
35214
35215 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35216
35217         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35218         (timex): Use __syscall_slong_t.
35219
35220 2012-05-18  Andreas Jaeger  <aj@suse.de>
35221             Carlos O'Donell  <carlos_odonell@mentor.com>
35222
35223         * manual/install.texi (Configuring and compiling): Update
35224         description about files modified in the source directory.
35225         * INSTALL: Regenerated.
35226
35227 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35228
35229         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35230         value.  Use "or" to set return value to -1.
35231         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35232         negate return value.
35233
35234 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35235
35236         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35237         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35238         failure if the compiler has Graphite support disabled.
35239         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35240         Likewise.
35241         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35242         (CFLAGS-memmove.c): Likewise.
35243         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35244         Likewise.
35245
35246 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35247
35248         * sysdeps/x86_64/x32/_itoa.h: New file.
35249
35250         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35251         getdents system call only if kernel and user dirents have the
35252         same d_ino and d_off.
35253
35254         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35255         LLONG_MAX != LONG_MAX.
35256         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35257         (_fitoa_word): Likewise.
35258
35259         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35260         years.
35261         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35262         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35263         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35264
35265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35266         include <bits/wordsize.h>.  Check __x86_64__ instead of
35267         __WORDSIZE.
35268         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35269         if __x86_64__ is defined.  Use anonymous union on fpstate.
35270
35271         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35272         anonymous union.
35273
35274 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35275
35276         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35277         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35278         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35279         Refer to _rtld_local_ro instead of _rtld_global_ro.
35280         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35281         Likewise.
35282         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35283         Likewise.
35284         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35285         Likewise.
35286         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35287         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35288         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35289
35290         * sysdeps/powerpc/powerpc32/dl-machine.c
35291         (__elf_machine_runtime_setup) [PROF]: Don't reference
35292         _dl_prof_resolve.
35293
35294 2012-05-18  Andreas Jaeger  <aj@suse.de>
35295
35296         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35297         function only available for GCCs before 3.4 since GCC 3.4
35298         introduced a builtin.
35299         (lrint): Likewise.
35300         (llrintf): Likewise.
35301         (llrint): Likewise.
35302         (fmaxf): Likewise.
35303         (fmax): Likewise.
35304         (fminf): Likewise.
35305         (fmin): Likewise.
35306         (rint): Likewise.
35307         (rintf): Likewise.
35308         (nearbyint): Likewise.
35309         (nearbyintf): Likewise.
35310         (ceil): Likewise.
35311         (ceilf): Likewise.
35312         (floor): Likewise.
35313         (floorf): Likewise.
35314
35315 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35316
35317         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35318         on both fields and cast pointer to __syscall_ulong_t.
35319
35320         * bits/types.h (__fsword_t): New type.
35321         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35322         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35324         (__FSWORD_T_TYPE): Likewise.
35325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35326         (__FSWORD_T_TYPE): Likewise.
35327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35328         (__FSWORD_T_TYPE): Likewise.
35329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35330         (__FSWORD_T_TYPE): Likewise.
35331         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35332         __SWORD_TYPE with __fsword_t.
35333         (statfs64): Likewise.
35334
35335 2012-05-17  David S. Miller  <davem@davemloft.net>
35336
35337         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35338
35339 2012-05-17  Andreas Jaeger  <aj@suse.de>
35340
35341         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35342         warning.
35343
35344 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35345
35346         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35347
35348 2012-05-17  Andreas Jaeger  <aj@suse.de>
35349
35350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35351         when it is used.
35352
35353 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35354
35355         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35356
35357 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35358
35359         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35360         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35361
35362 2012-05-17  Andreas Jaeger  <aj@suse.de>
35363             Carlos O'Donell  <carlos_odonell@mentor.com>
35364
35365         [BZ #14059]
35366         * sysdeps/x86_64/multiarch/init-arch.h
35367         (bit_YMM_Usable): Rename to...
35368         (bit_AVX_Usable): ... this.
35369         (bit_FMA4_Usable): New macro.
35370         (bit_XMM_state): New macro.
35371         (bit_YMM_state): New macro.
35372         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35373         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35374         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35375         (CPUID_OSXSAVE): New macro.
35376         (CPUID_AVX): New macro.
35377         (CPUID_FMA4): New macro.
35378         (index_YMM_Usable): Rename to...
35379         (index_AVX_Usable): ... this.
35380         (HAS_AVX): Use HAS_ARCH_FEATURE.
35381         (HAS_FMA4): Likewise.
35382         (HAS_YMM_USABLE): Remove.
35383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35384         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35385         are present.
35386         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35387         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35388         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35389         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35390         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35391
35392 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35393
35394         * math/libm-test.c: Support platforms without multiple rounding modes.
35395         * math/bug-nextafter.c: Support platforms without FP exceptions.
35396         * math/bug-nexttoward.c: Likewise.
35397         * math/test-fenv.c: Likewise.
35398         * math/test-misc.c: Likewise.
35399         * stdlib/bug-getcontext.c: Likewise.
35400
35401 2012-05-17  Andreas Jaeger  <aj@suse.de>
35402
35403         * manual/examples/search.c (critter_cmp): Change signature to
35404         avoid warnings.
35405         * manual/string.texi (Collation Functions): Likewise.
35406
35407 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35408
35409         * bits/types.h: Fold copyright years.
35410         * bits/typesizes.h: Likewise.
35411         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35415         * time/time.h: Likewise.
35416
35417 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35418
35419         [BZ #208]
35420         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35421         in instead of returning them.  Return void.
35422         (__libc_mallinfo): Accumulate over all arenas.
35423         (__malloc_stats): Adjust for change in int_mallinfo interface.
35424
35425 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35426
35427         [BZ #10375]
35428         * configure.in (NM): Add AC_CHECK_TOOL for it.
35429         (libc_extra_cflags): New substituted variable.
35430         Check for -fstack-protector being used implicitly.
35431         * configure: Regenerated.
35432         * config.make.in (config-extra-cflags): New variable,
35433         gets @libc_extra_cflags@.
35434         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35435
35436         [BZ #10375]
35437         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35438         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35439         * configure: Regenerated.
35440         * config.make.in (CPPUNDEFS): New substituted variable.
35441         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35442         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35443         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35444
35445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35446
35447         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35448         (mq_attr): Use __syscall_slong_t.
35449
35450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35451
35452         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35453         Check __x86_64__ instead of __WORDSIZE.
35454         (_STAT_VER_LINUX): Likewise.
35455         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35456         __syscall_ulong_t and __syscall_slong_t.
35457         (stat64): Likewise.
35458
35459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35460
35461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35462
35463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35464
35465         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35466
35467 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35468
35469         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35470         __syscall_ulong_t.
35471
35472         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35473         include <bits/wordsize.h>.  Check __x86_64__ instead of
35474         __WORDSIZE.
35475         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35476         defined.
35477         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35478
35479         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35480         include <bits/wordsize.h>.  Check __x86_64__ instead of
35481         __WORDSIZE.
35482         (user_regs_struct): Use "__extension__ unsigned long long"
35483         instead of "unsigned long" if __x86_64__ is defined.
35484         (user): Likewise.  Pad after pointer field if __ILP32__ is
35485         defined.
35486
35487 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35488
35489         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35490         versions 5 to 9.
35491         * configure: Regenerated.
35492         * manual/install.texi (texinfo): Increase version requirement to
35493         4.5 or later.
35494         * INSTALL: Regenerated.
35495
35496         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35497
35498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35499
35500         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35501
35502         * sysdeps/x86_64/x32/ffs.c: New file.
35503
35504         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35505         __syscall_ulong_t.
35506         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35507         defined.  Use __syscall_ulong_t.
35508         (shminfo): Use __syscall_ulong_t.
35509         (shm_info): Likewise.
35510
35511         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35512         __syscall_ulong_t.
35513
35514         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35515         <bits/wordsize.h>.
35516         (msgqnum_t): Use __syscall_ulong_t.
35517         (msglen_t): Likewise.
35518         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35519         __syscall_ulong_t.
35520
35521         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35522         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35523
35524         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35525
35526         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35527         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35528
35529         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35530         __syscall_slong_t.
35531
35532         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35533         include <bits/wordsize.h>.  Check __x86_64__ instead of
35534         __WORDSIZE.
35535
35536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35537         "unsigned long long int" if __x86_64__ is defined.
35538         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35539
35540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35541         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35542         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35543
35544         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35545         <stdint.h>.
35546         (GET_PC): Cast to uintptr_t first.
35547         (GET_FRAME): Likewise.
35548         (GET_STACK): Likewise.
35549
35550         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35552         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35553         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35554         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35555         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35556         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35557         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35558         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35559         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35560         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35561         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35563         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35564         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35565         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35566         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35567         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35568         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35569         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35570         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35571         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35572         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35573         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35574         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35575         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35576         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35577         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35578         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35579
35580 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35581
35582         * Makerules (+depfiles): Also collect depfiles from .oS in
35583         $(extra-objs).
35584         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35585         .oS, $(libnldbl-routines)).
35586
35587         * Makerules (native-compile-mkdep-flags): Define.
35588         * sunrpc/Makefile (extra-objs): Add $(addprefix
35589         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35590         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35591         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35592         calling $(make-target-directory).
35593
35594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35595
35596         * bits/types.h (__snseconds_t): Removed.
35597         * time/time.h (struct timespec): Replace __snseconds_t with
35598         __syscall_slong_t.
35599         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35600         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35601         Likewise.
35602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35603         (__SNSECONDS_T_TYPE): Likewise.
35604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35605         (__SNSECONDS_T_TYPE): Likewise.
35606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35607         (__SNSECONDS_T_TYPE): Likewise.
35608
35609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35610
35611         * sysdeps/mach/hurd/bits/typesizes.h
35612         (__SYSCALL_SLONG_TYPE): New macro.
35613         (__SYSCALL_ULONG_TYPE): Likewise.
35614
35615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35616
35617         * bits/types.h (__syscall_slong_t): New type.
35618         (__syscall_ulong_t): Likewise.
35619
35620         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35621         (__SYSCALL_ULONG_TYPE): Likewise.
35622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35623         (__SYSCALL_SLONG_TYPE): Likewise.
35624         (__SYSCALL_ULONG_TYPE): Likewise.
35625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35626         (__SYSCALL_SLONG_TYPE): Likewise.
35627         (__SYSCALL_ULONG_TYPE): Likewise.
35628         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35629         (__SYSCALL_SLONG_TYPE): Likewise.
35630         (__SYSCALL_ULONG_TYPE): Likewise.
35631
35632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35633
35634         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35635         Add sigaltstack-offsets.sym.
35636         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35637         <sigaltstack-offsets.h>.
35638         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35639         longjmp_msg pointer.
35640         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35641         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35642         signal stack.
35643         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35644
35645 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35646
35647         * elf/stackguard-macros.h: Remove file.
35648         * sysdeps/generic/stackguard-macros.h: New file.
35649         * sysdeps/i386/stackguard-macros.h: Likewise.
35650         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35651         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35652         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35653         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35654         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35655         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35656         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35657         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35658         <elf/stackguard-macros.h>.
35659
35660         [BZ #14109]
35661         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35662         __aligned__ in attribute.
35663         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35664         (gregset_t): Likewise.
35665
35666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35667
35668         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35669         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35670         * sysdeps/x86_64/x32/Implies-after: New file.
35671
35672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35673
35674         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35675         and access return value for _dl_profile_fixup.  Use R10_LP to
35676         load frame size.
35677
35678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35679
35680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35681
35682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35683
35684         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35685         * sysdeps/x86_64/x32/sysdep.h: New file.
35686
35687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35688
35689         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35690         * sysdeps/x86_64/setjmp.S: Likewise.
35691
35692 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35693
35694         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35696         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35697         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35698         remove unused global constant.
35699
35700 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35701
35702         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35703         include of <not-cancel.h>.
35704
35705 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35706
35707         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35708
35709 2012-05-15  Jeff Law  <law@redhat.com>
35710             Andreas Jaeger  <aj@suse.de>
35711
35712         [BZ #13594]
35713         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35714         out from...
35715         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35716         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35717         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35718         code changing __hst_map_handle.map.
35719
35720 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35721
35722         * configure.in (sysnames): Look for Implies-before and Implies-after
35723         files.
35724         * configure: Regenerated.
35725
35726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35727
35728         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35729         8-byte data alignment with LP_SIZE alignment.
35730
35731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35732
35733         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35734         into R10_LP.
35735
35736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35737
35738         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35739
35740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35741
35742         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35743         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35744         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35745         Likewise.
35746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35747
35748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35749
35750         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35751         (stackinfo_sub_sp): Likewise.
35752
35753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35754
35755         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35756         RAX_LP.
35757
35758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35759
35760         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35761         into R*_LP.
35762
35763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35764
35765         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35766         sizes into R*_LP.
35767
35768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35769
35770         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35771
35772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35773
35774         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35775         into R11_LP and load __x86_64_shared_cache_size_half into
35776         R8_LP.
35777
35778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35779
35780         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35781         R8_LP.
35782
35783 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35784
35785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35786         logb for POWER7.
35787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35788         logbf for POWER7.
35789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35790         logbl for POWER7.
35791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35792         powerpc32/power7/fpu/s_logb.c via #include.
35793         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35794         powerpc32/power7/fpu/s_logbf.c via #include.
35795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35796         powerpc32/power7/fpu/s_logbl.c via #include.
35797
35798 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35799
35800         * README.libm: Remove file.
35801
35802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35803
35804         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35805         count for x32.  Use R*_LP and omit operand-size suffix.
35806
35807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35808
35809         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35810         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35811         * sysdeps/x86_64/x32/shlib-versions: New file.
35812
35813 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35814
35815         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35816         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35817         Use _dl_fatal_printf instead.
35818
35819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35820
35821         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35822         set if not set by the user.  Do not allow for being unset.
35823         * sysdeps/unix/sysv/linux/configure: Regenerated.
35824
35825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35826
35827         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35828         the `q' suffix from lea and replace .quad with ASM_ADDR.
35829
35830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35831
35832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35833         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35834         instead of $17.
35835         (PTR_DEMANGLE): Likewise.
35836
35837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35838
35839         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35840         (LP_OP): Likewise.
35841         (ASM_ADDR): Likewise.
35842         (RAX_LP): Likewise.
35843         (RBP_LP): Likewise.
35844         (RBX_LP): Likewise.
35845         (RCX_LP): Likewise.
35846         (RDI_LP): Likewise.
35847         (RSI_LP): Likewise.
35848         (RSP_LP): Likewise.
35849         (R8_LP): Likewise.
35850         (R9_LP): Likewise.
35851         (R10_LP): Likewise.
35852         (R10_LP): Likewise.
35853         (R11_LP): Likewise.
35854         (R12_LP): Likewise.
35855         (R13_LP): Likewise.
35856         (R14_LP): Likewise.
35857         (R15_LP): Likewise.
35858
35859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35860
35861         * sysdeps/x86_64/x32/dl-machine.h: New file.
35862
35863 2012-05-14  Andreas Jaeger  <aj@suse.de>
35864
35865         * manual/Makefile (subdir): Remove export of subdir.
35866         (all): Remove target.
35867         (.PHONY): Remove all from list.
35868         (mkinstalldirs): Remove.
35869         (.PHONY): Remove installdirs from list.
35870         ($(inst_infodir)/libc.info): Use make-target-directory.
35871         (installdirs): Remove.
35872         (subdir_%): Remove.
35873         (glibc-targets): Remove.
35874         (lib): Remove.
35875         (stubs): Remove.
35876         ($(objpfx)stubs ../po/manual.pot): Remove.
35877         ($(objpfx)stamp%): Remove.
35878         (make-target-directory): Remove.
35879         (subdir_install): Remove.
35880         (routines): Remove.
35881         (aux): Remove.
35882         (sources): Remove.
35883         (objects): Remove.
35884         (headers): Remove.
35885
35886         [BZ #13750]
35887         * manual/.gitignore: Remove, it's not needed anymore.
35888         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35889         all files in it.
35890         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35891         directory.
35892         (texis): Renamed to $(objpfx)texis.
35893         (texis-path): New, contains path to generated files.
35894         (chapters.%): Use texis-path for complete path, add extra argument
35895         libc-texinfo.sh.
35896         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35897         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35898         (summary,texi, stamp-summary): Use complete path of
35899         files. Generate files in build dir.
35900         (dir-add.texi): Build in build dir.
35901         (libm-err.texi,stamp-libm-err): Likewise.
35902         (version.texi, stamp-version): Likewise.
35903         (.%c.texi): Likewise.
35904         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35905         (mostlyclean): Remove target.
35906         (realclean): Remove target.
35907         (generated): Add new variable with contents from mostlyclean and
35908         realclean, remove entries duplicated in common-mostlyclean, add
35909         stamp-libm-err and stamp-version.
35910         (generated-dirs): Add libc directory.
35911         ($(inst_infodir)/libc.info): Install files from build dir.
35912
35913         * manual/install.texi (Configuring and compiling): Adjust since
35914         the info files are not part of the tar ball anymore.
35915
35916 2012-05-14  Andreas Jaeger  <aj@suse.de>
35917
35918         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35919         variable.
35920
35921 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35922
35923         [BZ #13717]
35924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35925         to 2.2.0 where earlier.
35926         * sysdeps/unix/sysv/linux/configure: Regenerated.
35927         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35928         Remove conditional code.
35929         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35930         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35931         Remove conditional code.
35932         [!__NR_lchown]: Likewise.
35933         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35934         [__NR_lchown]: Likewise.
35935         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35936         comment referencing __ASSUME_LCHOWN_SYSCALL.
35937         * sysdeps/unix/sysv/linux/i386/sigaction.c
35938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35940         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35941         Remove conditional code.
35942         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35943         (__protocol_available): Remove #if 0 code.
35944         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35945         conditional code.
35946         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35947         * sysdeps/unix/sysv/linux/kernel-features.h
35948         (__ASSUME_GETCWD_SYSCALL): Don't define.
35949         (__ASSUME_REALTIME_SIGNALS): Likewise.
35950         (__ASSUME_PREAD_SYSCALL): Likewise.
35951         (__ASSUME_PWRITE_SYSCALL): Likewise.
35952         (__ASSUME_POLL_SYSCALL): Likewise.
35953         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35954         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35955         non-SPARC.
35956         (__ASSUME_SIOCGIFNAME): Don't define.
35957         (__ASSUME_MSG_NOSIGNAL): Likewise.
35958         (__ASSUME_SENDFILE): Define unconditionally.
35959         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35960         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35961         conditional code.
35962         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35963         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35964         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35965         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35967         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35968         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35970         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35973         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35979         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35993         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35994         Remove conditional code.
35995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35996         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35997         Remove conditional code.
35998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35999         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36000         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36001         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36002         Remove conditional code.
36003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36004         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36005         Remove conditional code.
36006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36007         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36008         Remove conditional code.
36009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36010         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36011         Remove conditional code.
36012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36013         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36014         Remove conditional code.
36015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36016         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36019         * sysdeps/unix/sysv/linux/sigaction.c
36020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36022         * sysdeps/unix/sysv/linux/sigpending.c
36023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36025         * sysdeps/unix/sysv/linux/sigprocmask.c
36026         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36027         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36028         * sysdeps/unix/sysv/linux/sigsuspend.c
36029         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36030         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36032         (__libc_missing_rt_sigs): Remove.
36033         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36034         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36035         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36036         Remove conditional code.
36037         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36038         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36039         return 1.
36040         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36041         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36042         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36043         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36044
36045 2012-05-14  Andreas Jaeger  <aj@suse.de>
36046
36047         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36048         it's not used in glibc.
36049         (__coshm1): Likewise.
36050         (__acosh1p): Likewise.
36051         (__sgn): Likewise.
36052
36053         * manual/string.texi (Copying and Concatenation): Add missing
36054         variable in concat example.
36055         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36056
36057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36058
36059         [BZ #14103]
36060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36061         __builtin_clzl with __builtin_clzll.
36062
36063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36064
36065         [BZ #14104]
36066         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36067         libc_freeres_ptr.
36068
36069 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36070
36071         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36072         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36073         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36074         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36075
36076 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36077
36078         * NEWS: Update ia64 info.
36079
36080 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36081
36082         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36083         used as bcopy.
36084
36085 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36086
36087         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36088         * sysdeps/unix/syscalls.list (dup3): Likewise.
36089         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36090         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36091
36092 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36093
36094         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36095         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36096
36097 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36098
36099         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36100         thread pointer.
36101         (TLS_IE): Use mov/add instead of movq/addq to load thread
36102         pointer.
36103         (TLS_GD_PREFIX): New.
36104         (TLS_GD): Use it.
36105
36106 2012-05-11  David S. Miller  <davem@davemloft.net>
36107
36108         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36109         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36110         (_FPU_SETCW): Likewise.
36111
36112 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36113
36114         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36115         is 32-byte aligned.
36116
36117 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36118
36119         [BZ #11837]
36120         * iconvdata/gb18030.c: Update tables.
36121         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36122         characters specially.
36123         (BODY for TO_LOOP): Add encoding of missing ranges.
36124
36125 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36126
36127         [BZ #13673]
36128         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36129         * sysdeps/mach/hurd/dup3.c: Likewise.
36130         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36131         * sysdeps/powerpc/memmove.c:: Likewise.
36132
36133 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36134
36135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36136         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36137
36138 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36139
36140         * elf/elf.h (R_X86_64_RELATIVE64): New.
36141         (R_X86_64_NUM): Updated.
36142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36143         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36144         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36145         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36146         tst-quad1pie tst-quad2pie
36147         (modules-names): Add tst-quadmod1 tst-quadmod2.
36148         ($(objpfx)tst-quad1): New dependency.
36149         ($(objpfx)tst-quad2): Likewise.
36150         ($(objpfx)tst-quad1pie): Likewise.
36151         ($(objpfx)tst-quad2pie): Likewise.
36152         * sysdeps/x86_64/tst-quad1.c: New file.
36153         * sysdeps/x86_64/tst-quad1pie.c: New file.
36154         * sysdeps/x86_64/tst-quad2.c: Likewise.
36155         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36156         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36157         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36158         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36159         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36160
36161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36162
36163         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36164         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36165         * streams/stropts.h (t_scalar_t): Define type.
36166
36167         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36168         (_PATH_PRESERVE): Set to "/var/lib".
36169         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36170
36171         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36172         instead of int.
36173
36174         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36175         if __dir_mkfile succeeded.
36176
36177         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36178         checking for _hurd_dtablesize.  Unlock it right after having
36179         finished _hurd_dtable allocation.
36180
36181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36182
36183         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36184         * sysdeps/mach/hurd/configure: Regenerated.
36185         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36186         special-casing to...
36187         * sysdeps/gnu/configure.in: ... this new file.
36188         * sysdeps/unix/sysv/linux/configure: Regenerated.
36189         * sysdeps/gnu/configure: New generated file.
36190
36191         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36192         for Linux: use nsec instead of usec, as well as:
36193         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36194         members of type struct timespec.
36195         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36196         New macros.
36197         (struct stat64): Likewise.
36198         (_STATBUF_ST_NSEC): New macro.
36199         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36200
36201         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36202         __strtoul_internal rather than strtoul.
36203
36204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36205
36206         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36207         and reject them.
36208
36209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36210
36211         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36212         which preserves existing values.
36213         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36214
36215 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36216
36217         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36218         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36219         greater than FD_SETSIZE.
36220
36221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36222
36223         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36224         allocated, call __vm_protect to finish enabling the existing space, and
36225         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36226         allocate the remainder.
36227
36228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36229
36230         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36231         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36232
36233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36234
36235         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36236         sysdeps/mach/hurd/readlink.c.
36237
36238         * posix/tst-sysconf.c (posix_options): Only use
36239         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36240         _POSIX_SYNCHRONIZED_IO when they are defined
36241         * sysdeps/mach/hurd/bits/posix_opt.h:
36242         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36243         (_XOPEN_REALTIME): Undefine macro.
36244         (_XOPEN_REALTIME_THREADS): Undefine macro.
36245         (_XOPEN_SHM): Undefine macro.
36246         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36247         macro to -1.
36248         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36249         macro to -1.
36250         (_POSIX_ASYNC_IO): Undefine macro.
36251         (_POSIX_PRIORITIZED_IO): Undefine macro.
36252         (_POSIX_SPIN_LOCKS): Define macro to -1.
36253
36254         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36255         SA_NODEFER, SA_RESETHAND.
36256         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36257         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36258         F_DUPFD_CLOEXEC.
36259
36260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36261
36262         * elf/Makefile (pldd-modules): Define unconditionally.
36263
36264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36265
36266         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36267
36268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36269
36270         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36271         Return ENOENT when name is empty.
36272         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36273
36274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36275
36276         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36277
36278         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36279
36280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36281
36282         Fix mlock in all cases except non-readable pages.
36283         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36284         instead of VM_PROT_ALL as parameter to __vm_wire function.
36285
36286         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36287         (__mkdir): When path is `/', just fail with EEXIST.
36288         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36289
36290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36291
36292         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36293         <sys/uio.h> (for writev).
36294         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36295         and <sys/param.h> (for MIN).
36296
36297 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36298
36299         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36300         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36301         if interrupted.
36302
36303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36304
36305         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36306         Depend on against $(link-rpcuserlibs).
36307
36308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36309
36310         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36311         (__libc_stack_end): Do not use attribute_relro.
36312         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36313         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36314         to libthread-provided value.
36315         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36316         attribute_relro.
36317
36318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36319
36320         [BZ #3748]
36321         * bits/libc-lock.h (__libc_once_get): New macro.
36322         * sysdeps/mach/bits/libc-lock.h: Likewise.
36323         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36325         instead of using implementation details.
36326
36327         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36328         * libio/freopen.c: Likewise.
36329         * libio/freopen64.c: Likewise.
36330         * misc/syslog.c: Likewise.
36331         * nscd/connections.c: Likewise.
36332         * nscd/netgroupcache.c: Likewise.
36333         * sysdeps/posix/getcwd.c: Likewise.
36334
36335 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36336
36337         * math/w_ilogbf.c: Add #include <limits.h>.
36338
36339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36340
36341         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36342         path instead of returning without unlocking.
36343
36344         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36345         immediate-write ioctls.
36346         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36347
36348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36349
36350         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36351         __builtin_frame_address instead of making assumptions about the
36352         location of the return address relative to DATA.  Force early load of
36353         the return address.
36354         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36355         __builtin_frame_address.
36356
36357         dup3 for GNU Hurd.
36358         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36359         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36360         implement dup3 and do some further code clean-ups.
36361         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36362         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36363
36364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36365
36366         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36367
36368         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36369         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36370         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36371         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36372         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36373         d->port.lock.
36374
36375         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36376         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36377         when handler == SIG_ERR, not when handler != SIG_ERR.
36378
36379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36380
36381         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36382         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36383         definitions.
36384
36385         accept4 for GNU Hurd.
36386         * include/sys/socket.h (__libc_accept4): New prototype.
36387         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36388         to implement __libc_accept4.
36389         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36390         __libc_accept4.
36391         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36392
36393         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36394         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36395         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36396         signal-defines.sym.
36397
36398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36399
36400         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36401
36402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36403
36404         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36405         assertion on O_CLOEXEC flag.
36406         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36407         * hurd/intern-fd.c: Likewise.
36408         * hurd/port2fd.c: Likewise.
36409
36410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36411
36412         [BZ #3906]
36413         * bits/in.h (IPV6_PKTINFO): Define new macro.
36414         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36415
36416 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36417
36418         [BZ #13954]
36419         [BZ #13955]
36420         [BZ #13956]
36421         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36423         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36424         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36426         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36427         * math/libm-test.inc (logb_test) : Additional logb tests.
36428
36429 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36430             Andreas Jaeger  <aj@suse.de>
36431
36432         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36433         * configure: Regenerated.
36434         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36435         * config.make.in (link-obsolete-rpc): New substituted variable.
36436         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36437         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36438         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36439         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36440         so that libc.a contains the symbols.
36441         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36442         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36443         * sunrpc/auth_none.c: Likewise.
36444         * sunrpc/auth_unix.c: Likewise.
36445         * sunrpc/authdes_prot.c: Likewise.
36446         * sunrpc/authuxprot.c: Likewise.
36447         * sunrpc/clnt_gen.c: Likewise.
36448         * sunrpc/clnt_perr.c: Likewise.
36449         * sunrpc/clnt_raw.c: Likewise.
36450         * sunrpc/clnt_simp.c: Likewise.
36451         * sunrpc/clnt_tcp.c: Likewise.
36452         * sunrpc/clnt_udp.c: Likewise.
36453         * sunrpc/clnt_unix.c: Likewise.
36454         * sunrpc/des_crypt.c: Likewise.
36455         * sunrpc/des_soft.c: Likewise.
36456         * sunrpc/get_myaddr.c: Likewise.
36457         * sunrpc/key_call.c: Likewise.
36458         * sunrpc/key_prot.c: Likewise.
36459         * sunrpc/netname.c: Likewise.
36460         * sunrpc/pm_getmaps.c: Likewise.
36461         * sunrpc/pm_getport.c: Likewise.
36462         * sunrpc/pmap_clnt.c: Likewise.
36463         * sunrpc/pmap_prot.c: Likewise.
36464         * sunrpc/pmap_prot2.c: Likewise.
36465         * sunrpc/pmap_rmt.c: Likewise.
36466         * sunrpc/publickey.c: Likewise.
36467         * sunrpc/rpc_cmsg.c: Likewise.
36468         * sunrpc/rpc_common.c: Likewise.
36469         * sunrpc/rpc_dtable.c: Likewise.
36470         * sunrpc/rpc_prot.c: Likewise.
36471         * sunrpc/rpc_thread.c: Likewise.
36472         * sunrpc/rtime.c: Likewise.
36473         * sunrpc/svc.c: Likewise.
36474         * sunrpc/svc_auth.c: Likewise.
36475         * sunrpc/svc_raw.c: Likewise.
36476         * sunrpc/svc_run.c: Likewise.
36477         * sunrpc/svc_tcp.c: Likewise.
36478         * sunrpc/svc_udp.c: Likewise.
36479         * sunrpc/svc_unix.c: Likewise.
36480         * sunrpc/svcauth_des.c: Likewise.
36481         * sunrpc/xcrypt.c: Likewise.
36482         * sunrpc/xdr.c: Likewise.
36483         * sunrpc/xdr_array.c: Likewise.
36484         * sunrpc/xdr_float.c: Likewise.
36485         * sunrpc/xdr_intXX_t.c: Likewise.
36486         * sunrpc/xdr_mem.c: Likewise.
36487         * sunrpc/xdr_rec.c: Likewise.
36488         * sunrpc/xdr_ref.c: Likewise.
36489         * sunrpc/xdr_sizeof.c: Likewise.
36490         * sunrpc/xdr_stdio.c: Likewise.
36491
36492 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36493
36494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36495         change.  Update copyright years.
36496
36497 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36498
36499         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36500
36501 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36502             Joseph Myers  <joseph@codesourcery.com>
36503             Paul Pluzhnikov  <ppluzhnikov@google.com>
36504
36505         [BZ #14012]
36506         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36507         requiring rpcgen.
36508         [cross-compiling] (extra-libs): Likewise.
36509         [cross-compiling] (extra-libs-others): Likewise.
36510         [cross-compiling] (librpcsvc-routines): Likewise.
36511         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36512         [cross-compiling] (omit-deps): Likewise.
36513         (sunrpc-CPPFLAGS): New variable.
36514         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36515         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36516         (cross-rpcgen-objs): New variable.
36517         (extra-objs): Append $(cross-rpcgen-objs).
36518         ($(cross-rpcgen-objs)): New rule.
36519         ($(objpfx)cross-rpcgen): Likewise.
36520         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36521         comment.
36522         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36523         ($(objpfx)x%.stmp): Likewise.
36524         * sunrpc/proto.h [IS_IN_build] (_): Define.
36525         [IS_IN_build] (_libc_intl_domainname): Likewise.
36526
36527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36528
36529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36530         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36531         and R_X86_64_TPOFF64.
36532
36533 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36534
36535         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36536         sysdeps/unix/sysv/syscalls.list.
36537         (stime): Likewise.
36538         (utime): Likewise.
36539         * sysdeps/unix/sysv/syscalls.list: Remove file.
36540
36541 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36542
36543         [BZ #3440]
36544         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36545         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36546         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36547         (__LC_IDENTIFICATION): Make these macros useful in #if
36548         expressions, as required by C99.
36549
36550 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36551
36552         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36553         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36554         after this.
36555
36556 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36557
36558         * stdlib/longlong.h: Updated from GCC.
36559
36560 2012-05-09  Andreas Jaeger  <aj@suse.de>
36561
36562         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36563         default is first entry.
36564         (run_mode): Set type.
36565         (main): Remove informal message about syslog.
36566         (options): Fix typo.
36567
36568         [BZ #14053]
36569         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36570         to asm.
36571         (lrint): Likewise.
36572         (llrintf): Likewise.
36573         (llrint): Likewise.
36574         (rint): Likewise.
36575         (rintf): Likewise.
36576         (nearbyint): Likewise.
36577         (nearbyintf): Likewise.
36578
36579 2012-05-09  Andreas Jaeger  <aj@suse.de>
36580             Pedro Alves  <palves@redhat.com>
36581
36582         * nscd/nscd.c (run_mode): Use enum.
36583         (main): Cleanup coding style issue.
36584
36585 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36586             Andreas Jaeger  <aj@suse.de>
36587
36588         * nscd/nscd.c (go_background): Replaced with...
36589         (run_mode): ... this.
36590         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36591         (options): Add -F --foreground.
36592         (main): Implement it.
36593         (parse_opt): Parse it.
36594
36595 2012-05-09  Andreas Jaeger  <aj@suse.de>
36596
36597         [BZ #14083]
36598         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36599         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36600         -Wconversion warning.
36601         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36602         Likewise.
36603
36604 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36605
36606         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36607         == 0.
36608         (LC_ALL): Use macro-int-constant.
36609         (LC_COLLATE): Likewise.
36610         (LC_CTYPE): Likewise.
36611         (LC_MESSAGES): Likewise.
36612         (LC_MONETARY): Likewise.
36613         (LC_NUMERIC): Likewise.
36614         (LC_TIME): Likewise.
36615         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36616         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36618         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36619         Specify type.
36620         [C99-based standards] (float_t): Expect type.
36621         [C99-based standards] (double_t): Expect type.
36622         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36623         type.
36624         [C99-based standards] (HUGE_VALL): Likewise.
36625         [C99-based standards] (INFINITY): Likewise.
36626         [C99-based standards] (NAN): Likewise.
36627         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36628         [C99-based standards] (FP_NAN): Likewise.
36629         [C99-based standards] (FP_NORMAL): Likewise.
36630         [C99-based standards] (FP_SUBNORMAL): Likewise.
36631         [C99-based standards] (FP_ZERO): Likewise.
36632         [C99-based standards] (FP_FAST_FMA): Use
36633         optional-macro-int-constant.  Specify type.  Require == 1.
36634         [C99-based standards] (FP_FAST_FMAF): Likewise.
36635         [C99-based standards] (FP_FAST_FMAL): Likewise.
36636         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36637         [C99-based standards] (FP_ILOGBNAN): Likewise.
36638         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36639         Specify type.
36640         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36641         [C99-based standards] (math_errhandling): Specify type.
36642         [ISO99 || ISO11] (signgam): Do not allow.
36643         [non-C99-based standards] (copysignf): Do not allow.
36644         [non-C99-based standards] (exp2f): Likewise.
36645         [non-C99-based standards] (log2f): Likewise.
36646         [non-C99-based standards] (modff): Allow.
36647         [non-C99-based standards] (erff): Do not allow.
36648         [non-C99-based standards] (erfcf): Likewise.
36649         [non-C99-based standards] (gammaf): Likewise.
36650         [non-C99-based standards] (hypotf): Likewise.
36651         [non-C99-based standards] (j0f): Likewise.
36652         [non-C99-based standards] (j1f): Likewise.
36653         [non-C99-based standards] (jnf): Likewise.
36654         [non-C99-based standards] (lgammaf): Likewise.
36655         [non-C99-based standards] (tgammaf): Likewise.
36656         [non-C99-based standards] (y0f): Likewise.
36657         [non-C99-based standards] (y1f): Likewise.
36658         [non-C99-based standards] (ynf): Likewise.
36659         [non-C99-based standards] (isnanf): Likewise.
36660         [non-C99-based standards] (acoshf): Likewise.
36661         [non-C99-based standards] (asinhf): Likewise.
36662         [non-C99-based standards] (atanhf): Likewise.
36663         [non-C99-based standards] (cbrtf): Likewise.
36664         [non-C99-based standards] (expm1f): Likewise.
36665         [non-C99-based standards] (ilogbf): Likewise.
36666         [non-C99-based standards] (log1pf): Likewise.
36667         [non-C99-based standards] (logbf): Likewise.
36668         [non-C99-based standards] (nextafterf): Likewise.
36669         [non-C99-based standards] (remainderf): Likewise.
36670         [non-C99-based standards] (rintf): Likewise.
36671         [non-C99-based standards] (scalbf): Likewise.
36672         [non-C99-based standards] (copysignl): Likewise.
36673         [non-C99-based standards] (exp2l): Likewise.
36674         [non-C99-based standards] (log2l): Likewise.
36675         [non-C99-based standards] (modfl): Allow.
36676         [non-C99-based standards] (erfl): Do not allow.
36677         [non-C99-based standards] (erfcl): Likewise.
36678         [non-C99-based standards] (gammal): Likewise.
36679         [non-C99-based standards] (hypotl): Likewise.
36680         [non-C99-based standards] (j0l): Likewise.
36681         [non-C99-based standards] (j1l): Likewise.
36682         [non-C99-based standards] (jnl): Likewise.
36683         [non-C99-based standards] (lgammal): Likewise.
36684         [non-C99-based standards] (tgammal): Likewise.
36685         [non-C99-based standards] (y0l): Likewise.
36686         [non-C99-based standards] (y1l): Likewise.
36687         [non-C99-based standards] (ynl): Likewise.
36688         [non-C99-based standards] (isnanl): Likewise.
36689         [non-C99-based standards] (acoshl): Likewise.
36690         [non-C99-based standards] (asinhl): Likewise.
36691         [non-C99-based standards] (atanhl): Likewise.
36692         [non-C99-based standards] (cbrtl): Likewise.
36693         [non-C99-based standards] (expm1l): Likewise.
36694         [non-C99-based standards] (ilogbl): Likewise.
36695         [non-C99-based standards] (log1pl): Likewise.
36696         [non-C99-based standards] (logbl): Likewise.
36697         [non-C99-based standards] (nextafterl): Likewise.
36698         [non-C99-based standards] (remainderl): Likewise.
36699         [non-C99-based standards] (rintl): Likewise.
36700         [non-C99-based standards] (scalbl): Likewise.
36701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36702         [non-C99-based standards] (FP_*): Do not allow.
36703         [C99-based standards] (FP_*): Change to
36704         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36705         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36706         allow.
36707         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36708         (SIG_ERR): Likewise.
36709         [X/Open-based standards] (SIG_HOLD): Likewise.
36710         (SIG_IGN): Likewise.
36711         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36712         positive value.
36713         (SIGFPE): Likewise.
36714         (SIGILL): Likewise.
36715         (SIGINT): Likewise.
36716         (SIGSEGV): Likewise.
36717         (SIGTER): Likewise.
36718         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36719         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36720         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36721         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36722         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36723         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36724         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36725         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36726         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36727         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36728         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36729         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36730         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36731         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36732         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36733         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36734         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36735         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36736         [X/Open-based standards] (SIGTRAP): Likewise.
36737         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36738         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36739         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36740         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36741         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36742         allow.
36743
36744 2012-05-08  Ian Wienand  <ianw@vmware.com>
36745
36746         [BZ #14080]
36747         * time/tzset.c (__tzset_parse_tz): Update default rules for
36748         daylight time changes in the Energy Policy Act of 2005.
36749
36750 2012-05-09  Andreas Jaeger  <aj@suse.de>
36751
36752         [BZ #13983]
36753         * elf/ldconfig.c (parse_conf): Change string to make clear that
36754         ldconfig only issued a warning if ld.so.conf does not exist.
36755
36756 2012-05-08  David S. Miller  <davem@davemloft.net>
36757
36758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36759         movxtod instead of popping the value on the stack.
36760
36761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36762
36763 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36764
36765         * config.h.in: Add HAVE_ARM_PCS_VFP.
36766
36767 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36768
36769         [BZ #13979]
36770         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36771         checking but the checks are disabled for any reason.
36772
36773 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36774
36775         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36776         and ELF64_R_TYPE with ELFW(R_TYPE).
36777
36778 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36779
36780         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36781         (ulimit): Likewise.
36782
36783         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36784         (settimeofday): Likewise.
36785
36786 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36787
36788         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36789         a struct th_u2 inside the union, and move tu_block/tu_code into
36790         a new th_u3 union of tu_block/tu_code inside of that.  Move
36791         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36792         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36793         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36794         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36795         (th_stuff): Change to th_u1.tu_stuff.
36796         (th_data): Define.
36797         (th_msg): Change to th_u1.th_u2.tu_data.
36798
36799 2012-05-07  David S. Miller  <davem@davemloft.net>
36800
36801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36802
36803         [BZ #14074]
36804         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36805         (SETUP_PIC_REG): Use it.
36806         (SETUP_PIC_REG_LEAF): Use it.
36807
36808 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36809
36810         [BZ #13885]
36811         [BZ #13923]
36812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36813         USE_AS_EXPM1L.
36814         (EXPL_FINITE): Likewise.
36815         (FLDLOG): Likewise.
36816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36817         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36818         e_expl.S.
36819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36820         USE_AS_EXPM1L.
36821         (EXPL_FINITE): Likewise.
36822         (FLDLOG): Likewise.
36823         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36824         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36825         e_expl.S.
36826         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36827         test of -max_value argument for long double.
36828         * sysdeps/i386/fpu/libm-test-ulps: Update.
36829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36830
36831 2012-05-06  David S. Miller  <davem@davemloft.net>
36832
36833         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36834         quad soft-float symbols whose references which are compiler
36835         generated.
36836         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36837
36838 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36839
36840         [BZ #13884]
36841         [BZ #13914]
36842         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36843         USE_AS_EXP10L.
36844         (EXPL_FINITE): Likewise.
36845         (FLDLOG): Likewise.
36846         (c0): Likewise.
36847         (c1): Likewise.
36848         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36849         Adjust comments for base varying.
36850         (__expl_finite): Change alias to EXPL_FINITE.
36851         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36852         e_expl.S.
36853         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36854         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36855         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36856         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36858         USE_AS_EXP10L.
36859         (EXPL_FINITE): Likewise.
36860         (FLDLOG): Likewise.
36861         (c0): Likewise.
36862         (c1): Likewise.
36863         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36864         Adjust comments for base varying.
36865         (__expl_finite): Change alias to EXPL_FINITE.
36866         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36867         tests for bugs.
36868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36869
36870         [BZ #14064]
36871         * math/libm-test.inc (check_float_internal): Correct ulp
36872         calculation for subnormal expected results.
36873
36874 2012-05-06  Andreas Jaeger  <aj@suse.de>
36875
36876         * Makeconfig (+math-flags): New, set to -frounding-math.
36877         (+cflags): Add +math-flags so that all of glibc gets compiled with
36878         it.
36879
36880         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36881
36882 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36883
36884         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36885         Disable one test.
36886
36887         [BZ #13787]
36888         [BZ #13922]
36889         [BZ #14036]
36890         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36891         (__ieee754_expl): Allow for and saturate large arguments.
36892         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36893         (u_threshold): Likewise.
36894         (__exp): Call __ieee754_exp before checking for overflow and
36895         underflow.
36896         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36897         (u_threshold): Likewise.
36898         (__expf): Call __ieee754_expf before checking for overflow and
36899         underflow.
36900         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36901         (u_threshold): Likewise.
36902         (__expl): Call __ieee754_expl before checking for overflow and
36903         underflow.
36904         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36905         (__ieee754_expl): Allow for and saturate large arguments.
36906         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36907         missing overflow exception on overflow.
36908         (expm1_test): Do not allow missing overflow exception on overflow.
36909
36910         * sysdeps/i386/fpu/e_expl.c: Move to ...
36911         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36912         rather than using inline asm.
36913         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36914         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36915         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36916
36917         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36918         (nice): Likewise.
36919         (poll): Likewise.
36920         (signal): Likewise.
36921         (time): Likewise.
36922         (times): Likewise.
36923
36924 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36925
36926         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36927         sysdeps/unix/common/syscalls.list.
36928         (fchmod): Likewise.
36929         (fchown): Likewise.
36930         (ftruncate): Likewise.
36931         (getrusage): Likewise.
36932         (gettimeofday): Likewise.
36933         (setpgid): Likewise.
36934         (setregid): Likewise.
36935         (setreuid): Likewise.
36936         (sigaction): Likewise.
36937         (truncate): Likewise.
36938         (vhangup): Likewise.
36939         * sysdeps/unix/common/syscalls.list: Remove file.
36940         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36941         * sysdeps/unix/sysv/linux/Implies: Likewise.
36942
36943 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36944
36945         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36947         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36948         Moved to ...
36949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36950         Here.
36951         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36952         to ...
36953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36954         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36955         to ...
36956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36957         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36958         to ...
36959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36960         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36961         to ...
36962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36963         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36964         to ...
36965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36966         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36967         to ...
36968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36969         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36970         to ...
36971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36972         Here.
36973         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36974         to ...
36975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36976         Here.
36977         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36978         to ...
36979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36980         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36981         Moved to ...
36982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36983         Here.
36984         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36985         to ...
36986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36987
36988 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36989
36990         * sysdeps/unix/common/bits/dirent.h: Remove file.
36991         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36992
36993         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36994         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36995         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36996         * sysdeps/unix/bsd/isatty.c: Likewise.
36997         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36998         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36999         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37000
37001 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37002
37003         [BZ #13563]
37004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37005         long double comparison inaccuracies.
37006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37008
37009 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37010
37011         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37013
37014 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37015
37016         [BZ #14049]
37017         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37018         nonzero digits before rounding a hex value.
37019         * stdlib/tst-strtod.c (tests): Add another test.
37020
37021 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37022
37023         * sysdeps/s390/fpu/libm-test-ulps: Update.
37024
37025 2012-05-03  Andreas Jaeger  <aj@suse.de>
37026
37027         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37028         does not get optimized out.
37029         (malloc_opt_barrier): New.
37030
37031 2012-05-03  Andreas Jaeger  <aj@suse.de>
37032             Roland McGrath  <roland@hack.frob.com>
37033
37034         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37035         intermediate file deletion.
37036         (generated): Add .symlist files.
37037
37038 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37039
37040         [BZ #13775]
37041         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37042         Redirect under this condition.
37043         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37044         [__USE_GNU] (__dprintf_chk): Not under this condition.
37045         [__USE_GNU] (__vdprintf_chk): Likewise.
37046         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37047         under this condition.
37048         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37049         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37050         [__USE_XOPEN2K8] (vdprintf): Likewise.
37051         [__USE_GNU] (__dprintf_chk): Not under this condition.
37052         [__USE_GNU] (__vdprintf_chk): Likewise.
37053         [__USE_GNU] (dprintf): Likewise.
37054         [__USE_GNU] (vdprintf): Likewise.
37055
37056 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37057
37058         * elf/Makefile (common-generated): Set this instead of generated for
37059         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37060         $(all-built-dso)-derived lists.
37061
37062 2012-05-03  Andreas Jaeger  <aj@suse.de>
37063
37064         * sysdeps/i386/fpu/libm-test-ulps: Update.
37065
37066         * FAQ: Removed.
37067         * FAQ.in: Likewise.
37068         * scripts/gen-FAQ.pl: Likewise.
37069         * manual/install.texi (Installation): Point to online location of
37070         FAQ.
37071         * Makefile (files-for-dist): Remove FAQ.
37072         (FAQ): Remove.
37073
37074 2012-05-02  Allan McRae  <allan@archlinux.org>
37075
37076         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37077         (LDFLAGS-reldepmod5.so): Likewise.
37078         (LDFLAGS-reldep6mod1.so): Likewise.
37079         (LDFLAGS-reldep6mod4.so): Likewise.
37080         (LDFLAGS-reldep8mod3.so): Likewise.
37081         (LDFLAGS-unload4mod1.so): Likewise.
37082         (LDFLAGS-unload4mod2.so): Likewise.
37083         (LDFLAGS-tst-initorder): Likewise.
37084         (LDFLAGS-tst-initordera2.so): Likewise.
37085         (LDFLAGS-tst-initordera3.so): Likewise.
37086         (LDFLAGS-tst-initordera4.so): Likewise.
37087         (LDFLAGS-tst-initorderb2.so): Likewise.
37088         (LDFLAGS-noload): Likewise.
37089         (LDFLAGS-next): Likewise.
37090         (LDFLAGS-order2mod1.so): Likewise.
37091         (LDFLAGS-order2mod2.so): Likewise.
37092         (LDFLAGS-tst-initorder2): Likewise.
37093         (LDFLAGS-tst-initorder2a.so): Likewise.
37094         (LDFLAGS-tst-initorder2b.so): Likewise.
37095         (LDFLAGS-tst-initorder2c.so): Likewise.
37096         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37097
37098 2012-05-02  David S. Miller  <davem@davemloft.net>
37099
37100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37101
37102 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37103
37104         [BZ #14055]
37105         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37106
37107 2012-05-02  Andreas Jaeger  <aj@suse.de>
37108
37109         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37110         since we manipulate rounding mode.
37111         (CPPFLAGS-test-idouble.c): Likewise.
37112         (CPPFLAGS-test-ifloat.c): Likewise.
37113         (CFLAGS-test-ldouble.c): Likewise.
37114         (CFLAGS-test-double.c): Likewise.
37115         (CFLAGS-test-float.c): Likewise.
37116         (CFLAGS-test-misc.c): Likewise.
37117         (CFLAGS-test-test-fenv.c): Likewise.
37118
37119 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37120
37121         [BZ #2550]
37122         [BZ #2570]
37123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37124         comparisons to determine direction to adjust input.
37125
37126 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37127
37128         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37129         output to the target.
37130
37131         * scripts/localplt.awk: New file.
37132         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37133         (check-localplt-CFLAGS): Variable removed.
37134         ($(all-built-dso:=.jmprel)): New static pattern rule.
37135         (generated): Add those targets.
37136         (localplt-built-dso): New variable.
37137         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37138
37139         * elf/check-localplt.c: File removed.
37140
37141         * scripts/check-execstack.awk: New file.
37142         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37143         (check-execstack-CFLAGS): Variable removed.
37144         ($(objpfx)check-execstack.h): Target removed.
37145         ($(objpfx)execstack-default): New target.
37146         (generated): Add that instead of check-execstack.h.
37147         ($(all-built-dso:=.phdr)): New static pattern rule.
37148         (generated): Add those targets.
37149         * elf/check-execstack.c: File removed.
37150
37151         * scripts/check-textrel.awk: New file.
37152         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37153         (check-textrel-CFLAGS): Variable removed.
37154         (all-built-dso): Use := to define.o
37155         ($(all-built-dso:=.dyn)): New static pattern rule.
37156         (generated): Add those targets.
37157         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37158         * config.make.in (READELF): New substituted variable.
37159         * elf/check-textrel.c: File removed.
37160
37161 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37162
37163         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37164         allow.
37165         * conform/data/ctype.h-data [C99-based standards] (isblank):
37166         Expect function.
37167         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37168         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37170         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37171         Specify type.  Require positive value.
37172         (EILSEQ): Likewise.
37173         (ERANGE): Likewise.
37174         [ISO || POSIX] (EILSEQ): Do not expect.
37175         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37176         Specify type.  Require positive value.
37177         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37178         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37179         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37180         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37181         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37182         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37183         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37184         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37185         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37186         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37187         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37188         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37189         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37190         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37191         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37192         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37193         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37194         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37195         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37196         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37197         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37198         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37199         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37200         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37201         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37202         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37203         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37204         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37205         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37206         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37207         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37208         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37209         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37210         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37211         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37212         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37213         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37214         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37215         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37216         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37217         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37218         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37219         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37220         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37221         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37222         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37223         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37224         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37225         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37226         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37227         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37228         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37229         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37230         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37231         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37232         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37233         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37234         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37235         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37236         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37237         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37238         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37239         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37240         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37241         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37242         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37243         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37244         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37245         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37246         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37247         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37248         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37249         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37250         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37251         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37252         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37253         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37254         Require >= 2.
37255         (FLT_ROUNDS): Expect as macro, not constant.
37256         (FLT_MANT_DIG): Use macro-int-constant.
37257         (DBL_MANT_DIG): Likewise.
37258         (LDBL_MANT_DIG): Likewise.
37259         (FLT_DIG): Likewise.
37260         (DBL_DIG): Likewise.
37261         (LDBL_DIG): Likewise.
37262         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37263         (DBL_MIN_EXP): Likewise.
37264         (LDBL_MIN_EXP): Likewise.
37265         (FLT_MAX_EXP): Use macro-int-constant.
37266         (DBL_MAX_EXP): Likewise.
37267         (LDBL_MAX_EXP): Likewise.
37268         (FLT_MAX_10_EXP): Likewise.
37269         (DBL_MAX_10_EXP): Likewise.
37270         (LDBL_MAX_10_EXP): Likewise.
37271         (FLT_MAX): Use macro-constant.
37272         (DBL_MAX): Likewise.
37273         (LDBL_MAX): Likewise.
37274         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37275         (DBL_EPSILON): Likewise.
37276         (LDBL_EPSILON): Likewise.
37277         (FLT_MIN): Likewise.
37278         (DBL_MIN): Likewise.
37279         (LDBL_MIN): Likewise.
37280         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37281         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37282         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37283         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37284         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37285         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37286         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37287         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37288         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37289         [ISO11] (FLT_TRUE_MIN): Likewise.
37290         [ISO11] (LDBL_TRUE_MIN): Likewise.
37291         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37292         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37293         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37294         (SCHAR_MAX): Likewise.
37295         (UCHAR_MAX): Likewise.
37296         (CHAR_MIN): Likewise.
37297         (CHAR_MAX): Likewise.
37298         (MB_LEN_MAX): Use macro-int-constant.
37299         (SHRT_MIN): Use macro-int-constant.  Specify type.
37300         (SHRT_MAX): Likewise.
37301         (USHRT_MAX): Likewise.
37302         (INT_MAX): Likewise.
37303         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37304         bound negative.
37305         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37306         bound with "U".
37307         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37308         bound with "L".
37309         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37310         bound negative.  Suffix upper bound with "L".
37311         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37312         bound with "UL".
37313         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37314         Specify type.
37315         [C99-based standards] (LLONG_MAX): Likewise.
37316         [C99-based standards] (ULLONG_MAX): Likewise.
37317         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37318         == 0.
37319         [ISO11] (max_align_t): Require type.
37320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37321
37322         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37323         from $CFLAGS, without defining away __attribute__ calls.
37324         (checknamespace): Use $CFLAGS_namespace.
37325
37326         * conform/conformtest.pl (@keywords): Only include C99 keywords
37327         for standards based on C99 or C11.
37328
37329         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37330         Disable tests.
37331         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37332         UNIX98]: Likewise.
37333
37334         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37335         usability of symbols in #if.
37336
37337         * conform/conformtest.pl: If macro or constant types start
37338         "promoted:", expect the symbol to be of the following type
37339         promoted by the integer promotions.
37340
37341         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37342         in one place.  Also handle "macro-constant".
37343
37344         * conform/conformtest.pl: Only accept expected macro values with
37345         "==".  Parse all "macro" lines in one place.
37346         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37347
37348         * conform/conformtest.pl: Handle braced types on "constant" lines
37349         instead of handling "typed-constant".
37350         * conform/data/signal.h-data: Use "constant" instead of
37351         "typed-constant".
37352
37353         * conform/conformtest.pl: Handle "optional-" at start of lines in
37354         one place rather than duplicating several cases.  Handle each
37355         format of "macro" line with initial "optional-".
37356
37357         * conform/conformtest.pl: Only accept expected constant or
37358         optional-constant values with "==".  Parse all "constant" lines in
37359         one place.  Parse all "optional-constant" lines in one place.
37360         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37361         * conform/data/fmtmsg.h-data: Likewise.
37362         * conform/data/netinet/in.h-data: Likewise.
37363         * conform/data/tar.h-data: Likewise.
37364         * conform/data/limits.h-data: Use "==" form on "constant" and
37365         "optional-constant" lines.
37366
37367         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37368         Use -std=c99 for XOPEN2K.
37369         (@knownproblems): Remove.
37370         (newtoken): Don't check %isknown.
37371
37372         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37373         Do not expect macro.
37374         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37375         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37376         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37377         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37378         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37379         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37380         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37381         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37382         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37383         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37384         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37385         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37386         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37387         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37388         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37389         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37390         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37391         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37392         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37393         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37394         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37395         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37396         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37397         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37398         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37399         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37400         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37401         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37402         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37403         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37404         [XPG3] (acosh): Likewise.
37405         [XPG3] (asinh): Likewise.
37406         [XPG3] (atanh): Likewise.
37407         [XPG3] (cbrt): Likewise.
37408         [XPG3] (expm1): Likewise.
37409         [XPG3] (ilogb): Likewise.
37410         [XPG3] (log1p): Likewise.
37411         [XPG3] (logb): Likewise.
37412         [XPG3] (nextafter): Likewise.
37413         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37414         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37415         [XPG3] (remainder): Likewise.
37416         [XPG3] (rint): Likewise.
37417         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37418         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37419         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37420         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37421         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37422         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37423         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37424         [UNIX98 || XOPEN2K] (scalb): Expect.
37425         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37426         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37427         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37428         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37429         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37430         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37431         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37432         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37433         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37434         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37435         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37436         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37437         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37438         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37439         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37440         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37441         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37442         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37443         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37444         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37445         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37446         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37447         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37448         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37449         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37450         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37451         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37452         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37453         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37454         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37455         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37456         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37457         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37458         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37459         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37460         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37461         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37462         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37463         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37464         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37465         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37466         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37467         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37468         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37469         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37470         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37471         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37472         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37473         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37474         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37475         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37476         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37477         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37478         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37479         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37480         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37481         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37482         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37483         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37484         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37485         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37486         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37487         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37488         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37489         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37490         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37491         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37492         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37493         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37494         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37495         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37496         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37497         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37498         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37499         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37500         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37501         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37502         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37503         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37504         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37505         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37506         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37507         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37508         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37509         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37510         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37511         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37512         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37513         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37514         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37515         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37516         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37517         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37518         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37519         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37520         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37521         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37522         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37523         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37524         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37525         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37526         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37527         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37528         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37529         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37530         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37531         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37532         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37533         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37534         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37535         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37536         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37537         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37538         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37539         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37540         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37541         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37542         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37543         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37544         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37545         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37546         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37547         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37548         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37549         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37550         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37551         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37552         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37553         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37554         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37555         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37556         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37557         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37558         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37559         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37560         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37561         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37562
37563         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37564         _XOPEN_SOURCE_EXTENDED for XPG4.
37565
37566         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37567
37568         * Makeconfig (localtime): Remove variable.
37569         (inst_localtime-file): Likewise.
37570
37571 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37572
37573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37574         Update.
37575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37576         Update.
37577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37578         Update.
37579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37580         Update.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37582         Update.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37584         Update.
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37586         Update.
37587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37588         Update.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37590         Update.
37591
37592 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37593
37594         [BZ #2550]
37595         [BZ #2570]
37596         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37597         comparisons to determine direction to adjust input.
37598         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37599         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37601         Likewise.
37602         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37603         Likewise.
37604         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37605         Likewise.
37606         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37608         Likewise.
37609         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37610         Likewise.
37611         * math/libm-test.inc (nexttoward_test): Add more tests.
37612
37613 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37614
37615         [BZ #14040]
37616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37617         in version GLIBC_2.1, not GLIBC_2.0.
37618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37619         Likewise.
37620
37621 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37622
37623         [BZ #13942]
37624         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37625         (1 - x) * (1 + x).
37626         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37627         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37628         * math/libm-test.inc (acos_test): Add more tests.
37629         (asin_test): Likewise.
37630         * sysdeps/i386/fpu/libm-test-ulps: Update.
37631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37632
37633         [BZ #14034]
37634         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37635         of square root.
37636         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37637         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37638         * math/libm-test.inc (acos_test_tonearest): New function.
37639         (acos_test_towardzero): Likewise.
37640         (acos_test_downward): Likewise.
37641         (acos_test_upward): Likewise.
37642         (asin_test_tonearest): Likewise.
37643         (asin_test_towardzero): Likewise.
37644         (asin_test_downward): Likewise.
37645         (asin_test_upward): Likewise.
37646         (main): Call the new functions.
37647         * sysdeps/i386/fpu/libm-test-ulps: Update.
37648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37649
37650         [BZ #13884]
37651         [BZ #13924]
37652         * math/e_exp10.c: Include <float.h>.
37653         (__ieee754_exp10): Handle underflow here rather than multiplying
37654         large negative argument by M_LN10.
37655         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37656         of __ieee754_expf.
37657         * math/e_exp10l.c: Include <float.h>.
37658         (__ieee754_exp10l): Handle underflow here rather than multiplying
37659         large negative argument by M_LN10l.
37660         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37661         spurious overflow exception on underflow.
37662
37663 2012-04-29  Marek Polacek  <polacek@redhat.com>
37664
37665         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37666         (__fortify_function): New macro.
37667         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37668         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37669         __extern_always_inline.
37670         * libio/bits/stdio2.h: Likewise.
37671         * libio/bits/stdio.h: Likewise.
37672         * string/string.h: Likewise.
37673         * string/bits/string3.h: Likewise.
37674         * include/stdio.h: Likewise.
37675         * stdlib/bits/stdlib.h: Likewise.
37676         * stdlib/stdlib.h: Likewise.
37677         * rt/bits/mqueue2.h: Likewise.
37678         * rt/mqueue.h: Likewise.
37679         * posix/bits/unistd.h: Likewise.
37680         * posix/unistd.h: Likewise.
37681         * io/bits/poll2.h: Likewise.
37682         * io/bits/fcntl2.h: Likewise.
37683         * io/fcntl.h: Likewise.
37684         * io/sys/poll.h: Likewise.
37685         * misc/bits/syslog.h: Likewise.
37686         * misc/bits/syslog-ldbl.h: Likewise.
37687         * misc/sys/syslog.h: Likewise.
37688         * socket/bits/socket2.h: Likewise.
37689         * socket/sys/socket.h: Likewise.
37690         * debug/tst-chk1.c: Likewise.
37691         * wcsmbs/bits/wchar2.h: Likewise.
37692         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37693         * wcsmbs/wchar.h: Likewise.
37694
37695 2012-04-29  Andreas Jaeger  <aj@suse.de>
37696
37697         * Makerules (tests): Remove enable-check-abi protection.
37698         (check-abi-warn): Remove.
37699         (check-abi-%): Remove check-abi-warn usage.
37700
37701         * configure.in: Remove check-abi configure option.
37702         * configure: Regenerated.
37703         * config.make.in (enable-check-abi): Remove.
37704
37705 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37706
37707         [BZ #14033]
37708         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37709         double functions to double *_finite functions.
37710
37711         [BZ #13941]
37712         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37713         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37714         LDBL_MIN_EXP.
37715         * stdio-common/Makefile (tests): Add tst-sprintf3.
37716         * stdio-common/tst-sprintf3.c: New file.
37717
37718         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37719         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37720
37721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37722
37723         * conform/conformtest.pl: Remove duplicate typed-constant
37724         handling.
37725
37726 2012-04-28  David S. Miller  <davem@davemloft.net>
37727
37728         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37729         (check-abi-%): Remove AWK script prerequisite and explicit
37730         abilist directory.
37731         (check-abi): Rewrite to just diff the symlist with the abilist.
37732         (config-tls, config-abi-config): Delete, no longer used.
37733         (update-abi-%): Remove AWK script and explicit abilist directory.
37734         (update-abi): Rewrite to simply compare and conditionally copy the
37735         symlist and the sysdep abilist file.  Remove update-abi-config
37736         checks.
37737         * abilist/ld.abilist: Remove.
37738         * abilist/libBrokenLocale.abilist: Remove.
37739         * abilist/libanl.abilist: Remove.
37740         * abilist/libcrypt.abilist: Remove.
37741         * abilist/libdl.abilist: Remove.
37742         * abilist/librt.abilist: Remove.
37743         * abilist/libthread_db.abilist: Remove.
37744         * abilist/libutil.abilist: Remove.
37745         * scripts/extract-abilist.awk: Remove.
37746         * scripts/merge-abilist.awk: Remove.
37747         * sysdeps/generic/libcidn.abilist: New file.
37748         * sysdeps/generic/libnss_compat.abilist: New file.
37749         * sysdeps/generic/libnss_db.abilist: New file.
37750         * sysdeps/generic/libnss_dns.abilist: New file.
37751         * sysdeps/generic/libnss_files.abilist: New file.
37752         * sysdeps/generic/libnss_hesiod.abilist: New file.
37753         * sysdeps/generic/libnss_nis.abilist: New file.
37754         * sysdeps/generic/libnss_nisplus.abilist: New file.
37755         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37756         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37757         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37758         file.
37759         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37760         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37761         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37762         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37763         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37764         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37765         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37766         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37767         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37768         file.
37769         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37770         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37771         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37772         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37773         file.
37774         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37775         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37776         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37777         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37778         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37779         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37780         file.
37781         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37782         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37783         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37784         file.
37785         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37787         New file.
37788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37789         New file.
37790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37791         New file.
37792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37793         New file.
37794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37795         New file.
37796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37797         New file.
37798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37799         New file.
37800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37801         New file.
37802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37803         New file.
37804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37805         New file.
37806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37807         New file.
37808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37809         New file.
37810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37811         New file.
37812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37813         file.
37814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37815         New file.
37816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37817         New file.
37818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37819         file.
37820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37821         New file.
37822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37823         New file.
37824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37825         file.
37826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37827         New file.
37828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37829         New file.
37830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37831         New file.
37832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37833         New file.
37834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37835         New file.
37836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37837         New file.
37838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37840         file.
37841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37842         New file.
37843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37844         file.
37845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37846         file.
37847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37848         file.
37849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37850         file.
37851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37852         file.
37853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37854         New file.
37855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37856         file.
37857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37858         file.
37859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37860         New file.
37861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37862         file.
37863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37865         file.
37866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37867         New file.
37868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37869         file.
37870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37871         file.
37872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37873         file.
37874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37875         file.
37876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37877         file.
37878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37879         New file.
37880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37881         file.
37882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37883         file.
37884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37885         New file.
37886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37887         file.
37888         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37889         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37890         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37891         file.
37892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37893         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37894         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37896         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37897         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37898         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37899         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37900         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37901         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37904         file.
37905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37906         New file.
37907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37908         file.
37909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37910         file.
37911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37912         file.
37913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37914         file.
37915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37916         file.
37917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37918         New file.
37919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37920         New file.
37921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37922         file.
37923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37924         New file.
37925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37926         file.
37927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37929         file.
37930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37931         New file.
37932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37933         file.
37934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37935         file.
37936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37937         file.
37938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37939         file.
37940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37941         file.
37942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37943         New file.
37944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37945         New file.
37946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37947         file.
37948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37949         New file.
37950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37951         file.
37952
37953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37954
37955         * conform/conformtest.pl: Fix typo in handling typed-constant from
37956         allow-header.
37957
37958 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37959
37960         * README: Cut down references to pre-2.6 Linux kernels and
37961         Linuxthreads.  Update lists of configurations in libc and ports
37962         and sort alphabetically.  Say "or newer" with Linux kernel version
37963         requirements.
37964
37965         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37966
37967 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37968
37969         [BZ #887]
37970         * math/libm-test.inc (logb_test_downward): New test to expose
37971         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37972         rounding mode.
37973
37974 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37975
37976         [BZ #14027]
37977         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37978         to be done.
37979         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37980         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37981
37982 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37983
37984         * sysdeps/unix/i386/brk.S: Remove file.
37985         * sysdeps/unix/i386/dl-brk.S: Likewise.
37986         * sysdeps/unix/i386/pipe.S: Likewise.
37987         * sysdeps/unix/i386/sigreturn.S: Likewise.
37988         * sysdeps/unix/i386/syscall.S: Likewise.
37989         * sysdeps/unix/i386/vfork.S: Likewise.
37990         * sysdeps/unix/i386/wait.S: Likewise.
37991
37992         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37993         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37994
37995         * configure.in (arm*-none*): Do not allow without
37996         --enable-hacker-mode.
37997         (netbsd*): Remove case setting base_os.
37998         (386bsd*): Likewise.
37999         (freebsd*): Likewise.
38000         (bsdi*): Likewise.
38001         (osf*): Likewise.
38002         (sunos*): Likewise.
38003         (ultrix*): Likewise.
38004         (newsos*): Likewise.
38005         (dynix*): Likewise.
38006         (*bsd*): Likewise.
38007         (sysv*): Likewise.
38008         (isc*): Likewise.
38009         (esix*): Likewise.
38010         (sco*): Likewise.
38011         (minix*): Likewise.
38012         (irix4*): Likewise.
38013         (irix6*): Likewise.
38014         (solaris[2-9]*): Likewise.
38015         (none): Likewise.
38016         * configure: Regenerated.
38017
38018 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38019
38020         [BZ #11521]
38021         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38022         overflow or cancellation in calculating denominator.
38023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38025         down expression to avoid unexpected rounding in newer GCCs.
38026         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38027
38028 2012-04-26  David S. Miller  <davem@davemloft.net>
38029
38030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38031         long-double compat symbols.
38032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38045
38046 2012-04-25  David S. Miller  <davem@davemloft.net>
38047
38048         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38049         HWCAP_* values only after the memory barriers have been defined.
38050         (atomic_full_barrier): Define.
38051         (atomic_read_barrier): Define.
38052         (atomic_write_barrier): Define.
38053
38054 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38055
38056         * shlib-versions: Add libgcc_s version information.
38057         * sysdeps/generic/libgcc_s.h: Remove.
38058         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38059         libgcc_s.h.
38060         * sysdeps/gnu/unwind-resume.c: Likewise.
38061         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38062
38063 2012-04-25  David S. Miller  <davem@davemloft.net>
38064
38065         * sysdeps/unix/sparc/brk.S: Delete.
38066         * sysdeps/unix/sparc/dl-brk.S: Delete.
38067         * sysdeps/unix/sparc/pipe.S: Delete.
38068         * sysdeps/unix/sparc/sysdep.S: Delete.
38069         * sysdeps/unix/sparc/sysdep.h: Delete.
38070         * sysdeps/unix/sparc/vfork.S: Delete.
38071         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38072         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38073         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38074         (ret_ERRVAL, r0, r1, MOVE): Define.
38075         (JUMPTARGET): Remove.
38076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38077         sysdeps/unix/sparc/sysdep.h
38078         (ENTRY, END): Remove.
38079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38080
38081 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38082
38083         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38084         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38085         -DIS_IN_build.
38086
38087         * timezone/README: Update upstream location and email address for
38088         tzcode and tzdata.
38089         * timezone/zdump.c: Update from tzcode 2012b.
38090         * timezone/zic.c: Likewise.
38091
38092         * configure.in (libc_cv_as_needed): Remove test.
38093         * configure: Regenerated.
38094         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38095         conditional definition.
38096         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38097         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38098         * config.make.in (have-as-needed): Remove variable.
38099
38100 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38101             Paul Pluzhnikov  <ppluzhnikov@google.com>
38102
38103         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38104         strings correctly.
38105
38106 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38107
38108         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38109         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38110         * sysdeps/sh/strlen.S: Likewise.
38111
38112 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38113
38114         * sysdeps/unix/fork.S: Remove file.
38115         * sysdeps/unix/i386/fork.S: Likewise.
38116         * sysdeps/unix/sparc/fork.S: Likewise.
38117
38118         * sysdeps/unix/system.c: Remove file.
38119         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38120
38121         * sysdeps/unix/getegid.S: Remove file.
38122         * sysdeps/unix/geteuid.S: Likewise.
38123
38124 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38125
38126         * scripts/check-localplt.awk: New file.
38127         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38128         of diff.
38129         * scripts/data/localplt-generic.data: Add a comment.
38130
38131         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38132         NODE when __dir_mkfile failed.
38133         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38134         Reported by Ludovic Courtès <ludo@gnu.org>.
38135
38136 2012-04-24  Andreas Jaeger  <aj@suse.de>
38137
38138         * Makerules (common-clean): Also remove gen-as-const-headers
38139         files.
38140
38141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38142
38143         * Makerules (native-compile): Do not change working directory for
38144         build.  Use $(OUTPUT_OPTION) in command.
38145         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38146
38147 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38148
38149         [BZ #13886]
38150         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38151         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38152         * math/libm-test.inc (floor_test): Add more tests.
38153         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38154
38155 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38156
38157         * sysdeps/unix/getdents.c: Remove file.
38158         * sysdeps/unix/sysv/getdents.c: Likewise.
38159         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38160
38161         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38162         sysdeps/unix/mman/syscalls.list.
38163         (mmap): Likewise.
38164         (mprotect): Likewise.
38165         (msync): Likewise.
38166         (munmap): Likewise.
38167         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38168         * sysdeps/unix/mman/syscalls.list: Remove.
38169         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38170
38171         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38172         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38173         * configure: Regenerated.
38174         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38175         $(libgcc_s_suffix).
38176         * config.make.in (libgcc_s_suffix): Remove variable.
38177
38178 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38179
38180         * sysdeps/unix/sysv/gethostname.c: Move to ...
38181         * sysdeps/posix/gethostname.c: ... here.
38182
38183         * sysdeps/unix/execve.S: Remove file.
38184
38185         * sysdeps/unix/_exit.S: Remove file.
38186
38187 2012-04-23  Andreas Jaeger  <aj@suse.de>
38188
38189         [BZ #13739]
38190         * manual/Makefile: Remove make dist support, there's no
38191         need for a stand-alone documentation tar ball.
38192         (TEXI2DVI): Define always, it's not in Makeconfig.
38193         (dist): Removed.
38194         (tar-it): Removed.
38195         (edition): Removed.
38196         (glibc-doc-$(edition).tar): Removed
38197         (%.Z): Removed.
38198         (%.gz): Removed.
38199         (%.uu): Removed.
38200         (ETAGS): Remove, it's in Makeconfig.
38201         (move-if-change): Remove, it's in Makeconfig.
38202
38203 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38204
38205         [BZ #13970]
38206         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38207         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38208         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38209         (strtod_l, strtof_l, strtold_l): Remove __wur.
38210         It is not necessarily an error to ignore strtol's return value.
38211         One can reliably look at the stored endptr to decide whether
38212         the number had valid syntax.
38213
38214 2012-04-21  Andreas Jaeger  <aj@suse.de>
38215
38216         [BZ #13739]
38217         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38218
38219 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38220
38221         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38222         * sysdeps/unix/sysv/Versions: Remove file.
38223
38224 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38225
38226         [BZ #13927]
38227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38228
38229 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38230
38231         [BZ #7064]
38232         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38233         version from __vm86.
38234
38235 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38236
38237         * sysdeps/unix/common/lxstat.c: Remove file.
38238         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38239
38240         * sysdeps/unix/sysv/Makefile: Remove file.
38241
38242         * sysdeps/unix/sysv/direct.h: Remove file.
38243
38244         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38245         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38246         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38247         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38248         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38249         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38250         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38251
38252         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38253
38254         * sysdeps/unix/xmknod.c: Remove file.
38255         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38256
38257         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38258
38259         * sysdeps/unix/sysv/i386/time.S: Remove file.
38260
38261         * sysdeps/unix/fxstat.c: Remove file.
38262         * sysdeps/unix/xstat.c: Likewise.
38263         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38264
38265         * sysdeps/unix/sysv/sigaction.c: Remove file.
38266
38267         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38268         (sysdep_headers): Remove variable.
38269         [termio.h not in sysdep_headers] (generated): Likewise.
38270         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38271         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38272         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38273         * sysdeps/unix/sysv/tcflow.c: Likewise.
38274         * sysdeps/unix/sysv/tcflush.c: Likewise.
38275         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38276         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38277         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38278         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38279         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38280
38281         * sysdeps/unix/siglist.c: Remove file.
38282
38283         * sysdeps/unix/getppid.S: Remove file.
38284
38285         * sysdeps/unix/mkdir.c: Remove file.
38286         * sysdeps/unix/rmdir.c: Likewise.
38287
38288 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38289
38290         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38291         ERR_MAX value.
38292         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38293         errlist-compat value.
38294
38295 2012-04-18  David S. Miller  <davem@davemloft.net>
38296
38297         * sysdeps/generic/memcopy.h (reg_char): Delete.
38298         * debug/strcat_chk.c: Use char, not reg_char.
38299         * debug/strcpy_chk.c: Likewise.
38300         * debug/strncat_chk.c: Likewise.
38301         * debug/strncpy_chk.c: Likewise.
38302         * string/memchr.c: Likewise.
38303         * string/memrchr.c: Likewise.
38304         * string/rawmemchr.c: Likewise.
38305         * string/strcat.c: Likewise.
38306         * string/strchr.c: Likewise.
38307         * string/strchrnul.c: Likewise.
38308         * string/strcmp.c: Likewise.
38309         * string/strcpy.c: Likewise.
38310         * string/strncat.c: Likewise.
38311         * string/strncmp.c: Likewise.
38312         * string/strncpy.c: Likewise.
38313
38314 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38315
38316         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38317         __builtin_memcopy is called when src and dest ranges are known to not
38318         overlap.
38319
38320 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38321
38322         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38323         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38324         fwd_align_merge macro call.
38325         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38326         bwd_align_merge macro call.
38327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38328
38329 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38330
38331         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38332         bwd_align_merge macros.
38333         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38334         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38335         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38336
38337 2012-04-18  David S. Miller  <davem@davemloft.net>
38338
38339         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38340
38341 2012-04-18  Andreas Jaeger  <aj@suse.de>
38342
38343         [BZ# 6794]
38344         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38345         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38346         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38347
38348         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38349         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38350         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38351
38352         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38353         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38354         Adjust for changed ldbl-128 files.
38355
38356         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38357         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38358         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38359
38360 2012-04-17  David S. Miller  <davem@davemloft.net>
38361
38362         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38363
38364 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38365
38366         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38367         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38368         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38369         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38370         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38371         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38372
38373 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38374
38375         [BZ #6794]
38376         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38377         * math/libm-test.inc: Add ilogb errno and exception tests.
38378         * math/w_ilogb.c: New file: ilogb wrapper.
38379         * math/w_ilogbf.c: New file: ilogbf wrapper.
38380         * math/w_ilogbl.c: New file: ilogbl wrapper.
38381         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38382         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38383         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38384         exception being thrown with 0.0 as argument.
38385         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38386         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38387         exception being thrown with 0.0 as argument.
38388         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38389         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38390         exception being thrown with 0.0 as argument.
38391         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38392         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38393         exception being thrown with 0.0 as argument.
38394         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38395         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38396         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38397         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38399         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38400         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38401         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38402         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38403
38404 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38405
38406         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38407         with altivec.
38408
38409 2012-04-16  Marek Polacek  <polacek@redhat.com>
38410
38411         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38412
38413 2012-04-16  Marek Polacek  <polacek@redhat.com>
38414
38415         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38416         operands of fdivp instruction.
38417
38418 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38419
38420         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38421         * elf/tst-auditmod3b.c: Likewise.
38422         * elf/tst-auditmod4b.c: Likewise.
38423         * elf/tst-auditmod5b.c: Likewise.
38424         * elf/tst-auditmod6b.c: Likewise.
38425         * elf/tst-auditmod6c.c: Likewise.
38426         * elf/tst-auditmod7b.c: Likewise.
38427         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38428         * sysdeps/x86_64/preconfigure.in: Likewise.
38429         * sysdeps/x86_64/preconfigure: Regenerated.
38430
38431 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38432
38433         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38434         __ILP32__.
38435
38436 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38437
38438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38439         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38440
38441 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38442
38443         [BZ #13973]
38444         * locale/iso-639.def: Fix gl language name. Spotted by
38445         Yaron Shahrabani.
38446
38447 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38448
38449         [BZ #2074]
38450         * libio/libio.h (__io_write_fn): Update comment.
38451
38452 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38453
38454         [BZ #2074]
38455         * stdio.texi (Hook Functions): The user provided writer function
38456         is not allowed to return -1.
38457
38458 2012-04-11  David S. Miller  <davem@davemloft.net>
38459
38460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38461
38462 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38463
38464         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38465         Add a leading slash to rtkaio.
38466
38467 2012-04-11  Jim Meyering  <meyering@redhat.com>
38468
38469         [BZ #11959]
38470         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38471         It is not necessarily an error to ignore fwrite's return
38472         value.  One can reliably use ferror to test for errors after
38473         the fact.
38474
38475 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38476
38477         * bits/types.h (__snseconds_t): New type.
38478         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38479
38480         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38482         (__SNSECONDS_T_TYPE): Likewise.
38483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38484         (__SNSECONDS_T_TYPE): Likewise.
38485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38486         (__SNSECONDS_T_TYPE): Likewise.
38487
38488 2012-04-10  Andreas Jaeger  <aj@suse.de>
38489
38490         [BZ #2636]
38491         * manual/time.texi (Processor Time): Return type of times is
38492         elapsed real time since an arbitrary point in the past.
38493         (CPU Time): Move CLK_TCK from here...
38494         (Processor Time): ...to here.  Correct description.
38495         * manual/conf.texi (Constants for Sysconf): Correct description of
38496         _SC_CLK_TCK.
38497
38498 2012-04-10  David S. Miller  <davem@davemloft.net>
38499
38500         [BZ #13967]
38501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38502         where the is a gap between DT_REL(A) and DT_JMPREL.
38503
38504 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38505
38506         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38507         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38508         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38509
38510 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38511
38512         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38513         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38514         (dl_main): Handle --inhibit-cache.
38515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38516         _dl_inhibit_cache.
38517         * elf/dl-load.c (_dl_map_object): Use it.
38518         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38519
38520 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38521
38522         [BZ #13872]
38523         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38524         (__ieee754_powl): Saturate large exponents rather than testing for
38525         overflow of y*log2(x).
38526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38527         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38528         exceptions.
38529
38530         [BZ #11521]
38531         * math/s_ctan.c: Include <float.h>.
38532         (__ctan): Avoid internal overflow or cancellation in calculating
38533         denominator.
38534         * math/s_ctanf.c: Likewise.
38535         * math/s_ctanl.c: Likewise.
38536         * math/s_ctanh.c: Likewise.
38537         * math/s_ctanhf.c: Likewise.
38538         * math/s_ctanhl.c: Likewise.
38539         * math/libm-test.inc (ctan_test): Add more tests.
38540         (ctanh_test): Likewise.
38541         * sysdeps/i386/fpu/libm-test-ulps: Update.
38542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38543
38544 2012-04-09  Andreas Jaeger  <aj@suse.de>
38545
38546         [BZ #6894]
38547         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38548         is an optional BSD extension.
38549
38550         [BZ #10254]
38551         * manual/stdio.texi (Opening Streams): Document additional fopen
38552         parameters.
38553
38554 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38555
38556         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38557         %eax without telling the compiler.
38558
38559 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38560
38561         [BZ # 13963]
38562         * manual/install.texi: Use sourceware.org.
38563
38564 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38565
38566         [BZ #13873]
38567         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38568         (__ieee754_pow): Generate overflow and underflow using huge*huge
38569         and tiny*tiny rather than just returning constant infinity or zero
38570         for large exponents.
38571         * math/libm-test.inc (pow_test): Require overflow exceptions for
38572         applicable cases of large exponents.
38573
38574         [BZ #706]
38575         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38576         (__ieee754_pow): Use iterative multiplication algorithm only for
38577         integer exponents with absolute value below 1024.  Check for odd
38578         integer exponents when using algorithm for real exponents.
38579         * math/libm-test.inc (pow_test): Add more tests.
38580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38581
38582 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38583
38584         [BZ #13705]
38585         * math/libm-test.inc (exp_test): Do not allow overflow exception
38586         on underflow test.
38587
38588 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38589
38590         [BZ #13705]
38591         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38592         instead of __kernel_standard_f.
38593
38594 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38595
38596         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38597         * sysdeps/x86_64/memset_chk.S: Likewise.
38598
38599 2012-04-08  Andreas Jaeger  <aj@suse.de>
38600
38601         [BZ #10153]
38602         * manual/startup.texi (Environment Access): Describe return value
38603         for putenv and setenv.
38604
38605         [BZ #6895]
38606         * manual/filesys.texi (Directory Entries): Add description for
38607         DT_LNK.
38608
38609         [BZ #6890]
38610         * manual/filesys.texi (Directory Entries): Clarify that it's file
38611         system not operating system in the description of DT_UNKNOWN.
38612
38613         [BZ #6578]
38614         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38615
38616 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38617
38618         [BZ #6649]
38619         * manual/llio.texi (Opening and Closing Files): Add cross
38620         reference to explain mode argument.
38621
38622 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38623
38624         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38625         * sysdeps/x86_64/memset_chk.S: Likewise.
38626
38627 2012-04-07  David S. Miller  <davem@davemloft.net>
38628
38629         * elf/elf.h (R_SPARC_WDISP10): Define.
38630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38631         R_SPARC_SIZE32.
38632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38633         R_SPARC_SIZE64 and R_SPARC_H34.
38634
38635 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38636
38637         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38638         conditions and remove no longer applicable assertion.
38639
38640 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38641
38642         * bits/byteswap.h: Include <features.h>.
38643         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38644         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38645
38646 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38647
38648         * bits/byteswap.h (__bswap_16): Removed.
38649         Include <bits/byteswap-16.h> to get __bswap_16.
38650         * sysdeps/i386/bits/byteswap.h: Likewise.
38651         * sysdeps/s390/bits/byteswap.h: Likewise.
38652         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38653         * bits/byteswap-16.h: New file.
38654         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38655         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38656         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38657         * string/Makefile (headers): Add bits/byteswap-16.h.
38658
38659 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38660
38661         [BZ #13895]
38662         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38663         extra indirection.
38664         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38665         * nss/tst-nss-static.c: New.
38666
38667 2012-04-06  Robert Millan  <rmh@gnu.org>
38668
38669         [BZ #6486]
38670         * manual/llio.texi (File Position Primitive): lseek
38671         refers to WHENCE when it really means OFFSET.
38672
38673 2012-04-06  Andreas Jaeger  <aj@suse.de>
38674
38675         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38676         strncmp declarations.
38677
38678         * abilist/libc.abilist: Add __poll and __ppoll.
38679
38680 2012-04-05  David S. Miller  <davem@davemloft.net>
38681
38682         * scripts/check-local-headers.sh: Accept a host triplet in the
38683         path matched by the exclude regexp.
38684
38685         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38686         definition.
38687         * sysdeps/powerpc/powerpc32/dl-machine.h
38688         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38689         * sysdeps/s390/s390-32/dl-machine.h
38690         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38691         * sysdeps/sparc/sparc32/dl-machine.h
38692         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38693         * sysdeps/sparc/sparc64/dl-machine.h
38694         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38695
38696         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38697         lazy binding.
38698         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38699         undefined symbol errors.
38700
38701         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38702         DT_NEEDED entries.
38703
38704 2012-04-05  Michael Matz  <matz@suse.de>
38705
38706         [BZ #13592]
38707         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38708
38709 2012-04-05  Andreas Jaeger  <aj@suse.de>
38710
38711         [BZ #13908]
38712         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38713         comment.
38714
38715 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38716
38717         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38718         which ROUND is no valid rounding mode.
38719
38720 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38721
38722         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38723         read again.
38724         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38725
38726 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38727
38728         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38729         an exception using FPU order intentionally.
38730
38731 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38732
38733         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38734         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38735         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38736         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38737
38738 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38739
38740         [BZ #12340]
38741         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38742         EINVAL when BUFLEN is too smal.
38743
38744 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38745
38746         [BZ #13553]
38747         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38748         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38749
38750 2012-04-03  Andreas Jaeger  <aj@suse.de>
38751
38752         [BZ #13938]
38753         * manual/setjmp.texi (System V contexts): Fix sentence.
38754
38755         [BZ #13926]
38756         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38757         New macro for this case.
38758         [!__GNUC__] (__bswap_64): New inline function for this case.
38759         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38760         * bits/byteswap.h: Likewise.
38761         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38762         ull, guard with __GLIBC_HAVE_LONG_LONG.
38763
38764         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38765         __GLIBC_HAVE_LONG_LONG.
38766
38767         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38768         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38769
38770 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38771
38772         [BZ #13691]
38773         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38774         inptr and inend, rather than using last_ch.
38775
38776 2012-04-02  David S. Miller  <davem@davemloft.net>
38777
38778         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38779         * stdio-common/printf-parse.h (read_int): Change return type to
38780         'int', return -1 on INT_MAX overflow.
38781         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38782         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38783         overflows INT_MAX.  Check for overflow of in-format-string precision
38784         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38785         SIZE_MAX not INT_MAX for integer overflow test.
38786         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38787         skip the construct in the format string but do not record anything.
38788         * stdio-common/bug22.c: Adjust to test both width/prevision
38789         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38790         explicitly for proper errno values.
38791
38792 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38793
38794         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38795         CHAR_MAX.
38796         * string/test-strcmp.c [! WIDE]: Likewise.
38797         * time/tst-mktime2.c: Likewise for INT_MAX.
38798         * string/test-string.h: #include <sys/param.h> for MIN.
38799
38800         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38801         * sysdeps/i386/init-first.c (init): Likewise.
38802         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38803         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38804         * sysdeps/sh/init-first.c (init): Likewise.
38805
38806 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38807
38808         * po/ru.po: Update from translation team.
38809         * po/vi.po: Likewise.
38810
38811 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38812
38813         * resolv/nss_dns/dns-host.c: Merge copyright years.
38814
38815 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38816
38817         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38818         Optimize memcpy with prefetch if
38819         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38820         src, dst pointers have unequal 16 byte alignments.
38821
38822 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38823
38824         [BZ #13928]
38825         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38826         from a CNAME entry and return the minimum ttl for the query.
38827         (gaih_getanswer_slice): Likewise.
38828
38829 2012-03-30  Jeff Law  <law@redhat.com>
38830
38831         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38832         due to long keys.
38833         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38834         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38835
38836         * resolv/nss_dns/dns-host.c: Update copyright year.
38837
38838 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38839
38840         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38841         requests to save a system call.  Fix check that all bytes are sent.
38842
38843         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38844         comments for sendmmsg.
38845
38846 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38847
38848         [BZ #13691]
38849         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38850         with only 1 character between 0x0041 and 0x01b0.
38851         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38852         * wcsmbs/tst-mbsnrtowcs.c: New file.
38853
38854 2012-03-29  David S. Miller  <davem@davemloft.net>
38855
38856         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38857         small copies by hand.
38858
38859 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38860
38861         [BZ #13761]
38862         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38863         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38864         group memberships.
38865
38866 2012-03-28  David S. Miller  <davem@davemloft.net>
38867
38868         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38869         that branches into memcpy.
38870         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38873         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38875         bits.
38876         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38877         implementation too.
38878         * sysdeps/sparc/mempcpy.S: New file.
38879
38880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38881         the IFUNC routine in the libc case.
38882         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38883
38884         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38885         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38886         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38887         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38888         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38889         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38890         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38891         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38892
38893         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38894         loop to 256 bytes instead of 64 bytes and fix test signedness.
38895
38896         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38897         * sysdeps/sparc/sparc32/Makefile: rather than here...
38898         * sysdeps/sparc/sparc64/Makefile: and here.
38899
38900 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38901
38902         * malloc/mallocbug.c: Avoid warnings about unused variables.
38903
38904 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38905
38906         [BZ #13760]
38907         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38908         in the right place. Discard and retry query if response is
38909         larger than input buffer size.
38910
38911 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38912
38913         [BZ #369]
38914         [BZ #2678]
38915         [BZ #3866]
38916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38917         x for large integer exponent.
38918         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38919         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38920         sign of result as needed afterwards.
38921         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38923         result for underflowing pow the same as for overflow.
38924         (__kernel_standard_l): Handle powl overflow and underflow here
38925         rather than calling __kernel_standard.
38926         * math/libm-test.inc (pow_test): Add more tests.
38927
38928         [BZ #3868]
38929         [BZ #13879]
38930         [BZ #13910]
38931         [BZ #13911]
38932         [BZ #13912]
38933         [BZ #13913]
38934         [BZ #13915]
38935         [BZ #13916]
38936         [BZ #13917]
38937         [BZ #13918]
38938         [BZ #13919]
38939         [BZ #13920]
38940         [BZ #13921]
38941         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38942         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38943         (__kernel_standard_l): New function.
38944         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38945         __kernel_standard.
38946         * math/w_acosl.c (__acosl): Likewise.
38947         * math/w_asinl.c (__asinl): Likewise.
38948         * math/w_atan2l.c (__atan2l): Likewise.
38949         * math/w_atanhl.c (__atanhl): Likewise.
38950         * math/w_coshl.c (__coshl): Likewise.
38951         * math/w_exp10l.c (__exp10l): Likewise.
38952         * math/w_exp2l.c (__exp2l): Likewise.
38953         * math/w_fmodl.c (__fmodl): Likewise.
38954         * math/w_hypotl.c (__hypotl): Likewise.
38955         * math/w_j0l.c (__j0l, __y0l): Likewise.
38956         * math/w_j1l.c (__j1l, __y1l): Likewise.
38957         * math/w_jnl.c (__jnl, __ynl): Likewise.
38958         * math/w_lgammal.c (__lgammal): Likewise.
38959         * math/w_log10l.c (__log10l): Likewise.
38960         * math/w_log2l.c (__log2l): Likewise.
38961         * math/w_logl.c (__logl): Likewise.
38962         * math/w_powl.c (__powl): Likewise.
38963         * math/w_remainderl.c (__remainderl): Likewise.
38964         * math/w_scalbl.c (sysv_scalbl): Likewise.
38965         * math/w_sinhl.c (__sinhl): Likewise.
38966         * math/w_sqrtl.c (__sqrtl): Likewise.
38967         * math/w_tgammal.c (__tgammal): Likewise.
38968         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38969         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38970         * math/libm-test.inc (acos_test): Add more tests.
38971         (acosh_test): Likewise.
38972         (asin_test): Likewise.
38973         (atanh_test): Likewise.
38974         (exp_test): Likewise.
38975         (exp10_test): Likewise.
38976         (exp2_test): Likewise.
38977         (expm1_test): Likewise.
38978         (lgamma_test): Likewise.
38979         (log_test): Likewise.
38980         (log10_test): Likewise.
38981         (log1p_test): Likewise.
38982         (log2_test): Likewise.
38983         (pow_test): Do not allow some spurious overflow exceptions.
38984         (sqrt_test): Add more tests.
38985         (tgamma_test): Likewise.
38986         (y0_test): Likewise.
38987         (y1_test): Likewise.
38988         (yn_test): Likewise.
38989
38990 2012-03-27  Anton Blanchard  <anton@samba.org>
38991
38992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38993         MAP_HUGETLB.
38994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38995         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38997
38998 2012-03-27  David S. Miller  <davem@davemloft.net>
38999
39000         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39001
39002         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39003         have-as-vis3 check.
39004
39005 2012-03-27  Andreas Jaeger  <aj@suse.de>
39006
39007         * sysdeps/x86_64/elf/configure.in: Moved to ...
39008         * sysdeps/x86_64/configure.in: ... here.
39009         * sysdeps/x86_64/elf/start.S: Moved to ...
39010         * sysdeps/x86_64/start.S: ... here.
39011         * sysdeps/x86_64/elf/configure: Delete.
39012
39013         * sysdeps/x86_64/configure.in: Merge contents from
39014         sysdeps/i386/configure.in (without i686 check).
39015
39016         * sysdeps/i386/elf/Versions: Merge into ...
39017         * sysdeps/i386/Versions: ... this.
39018         * sysdeps/i386/elf/Versions: Delete file.
39019         * sysdeps/i386/elf/start.S: Moved to ...
39020         * sysdeps/i386/start.S: ...here.
39021         * sysdeps/i386/elf/configure.in: Merge into...
39022         * sysdeps/i386/configure.in: ...here.
39023         * sysdeps/i386/elf/configure.in: Delete file.
39024         * sysdeps/i386/elf/configure: Delete file.
39025
39026         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39027         * debug/backtracesyms.c: ... here.
39028         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39029         * debug/backtracesymsfd.c: ... here.
39030         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39031         * sysdeps/generic/ifunc-sel.h: ... here.
39032
39033         * sysdeps/unix/i386/start.c: Delete file.
39034         * sysdeps/unix/sparc/start.c: Delete file.
39035         * sysdeps/unix/start.c: Delete file.
39036
39037         * sysdeps/sh/elf/configure.in: Moved to ...
39038         * sysdeps/sh/configure.in: ... here.
39039         * sysdeps/sh/elf/start.S: Moved to ...
39040         * sysdeps/sh/start.S: ... here.
39041         * sysdeps/sh/elf/configure: Delete file.
39042
39043         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39044         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39045         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39046         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39047         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39048         * sysdeps/powerpc/powerpc64/start.S: here.
39049         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39050         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39051         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39052         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39053         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39054
39055         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39056         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39057         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39058         * sysdeps/powerpc/powerpc32/start.S: ... here.
39059         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39060         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39061         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39062
39063         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39064         * sysdeps/powerpc/ifunc-sel.h: ... here.
39065         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39066         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39067
39068         * sysdeps/sparc/elf/configure.in: Moved to ...
39069         * sysdeps/sparc/configure.in: ... here.
39070         * sysdeps/sparc/elf/configure: Delete file.
39071         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39072         * sysdeps/sparc/sparc32/start.S: ... here.
39073         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39074         * sysdeps/sparc/sparc64/start.S: ... here.
39075         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39076         * sysdeps/sparc/sparc32/Makefile: ... this.
39077         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39078         * sysdeps/sparc/sparc64/Makefile: ... this.
39079
39080         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39081         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39082         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39083         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39084         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39085         * sysdeps/s390/s390-32/setjmp.S: ... here.
39086         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39087         * sysdeps/s390/s390-32/configure.in: ... here.
39088         * sysdeps/s390/s390-32/elf/configure: Delete file.
39089         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39090         * sysdeps/s390/s390-32/start.S: ... here.
39091
39092         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39093         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39094         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39095         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39096         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39097         * sysdeps/s390/s390-64/setjmp.S: ... here.
39098         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39099         * sysdeps/s390/s390-64/configure.in: ... here
39100         * sysdeps/s390/s390-64/elf/configure: Delete file.
39101         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39102         * sysdeps/s390/s390-64/start.S: ... here.
39103         * sysdeps/s390/s390-64/elf/configure: Delete.
39104
39105         * configure.in: Remove support for elf directories in sysdeps.
39106
39107         * configure: Regenerated.
39108         * sysdeps/i386/configure: Regenerated.
39109         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39110         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39111         * sysdeps/s390/s390-32/configure: Regenerated.
39112         * sysdeps/s390/s390-64/configure: Regenerated.
39113         * sysdeps/sh/configure: Regenerated.
39114         * sysdeps/sparc/configure: Regenerated.
39115         * sysdeps/x86_64/configure: Regenerated.
39116
39117 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39118
39119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39120
39121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39122         denormal result into account.
39123
39124 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39125
39126         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39127         Reported by Allan McRae <allan@archlinux.org>.
39128
39129 2012-03-23  Jeff Law  <law@redhat.com>
39130
39131         * nss/getnssent.c (__nss_getent): Fix typo.
39132
39133 2012-03-23  David S. Miller  <davem@davemloft.net>
39134
39135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39136
39137 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39138
39139         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39140         to pad to uint64_t for each field.
39141         (dl_tls_index): Replace unsigned long with uint64_t.
39142
39143 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39144         Paul Pluzhnikov  <ppluzhnikov@google.com>
39145
39146         [BZ #6528]
39147         * grp/Makefile (otherlibs): Don't set it.
39148         * inet/Makefile (otherlibs): Likewise.
39149         * login/Makefile (otherlibs): Likewise.
39150         * nscd/Makefile (otherlibs): Likewise.
39151         * posix/Makefile (otherlibs): Likewise.
39152         * pwd/Makefile (otherlibs): Likewise.
39153         * rt/Makefile (otherlibs): Likewise.
39154         * sunrpc/Makefile (otherlibs): Likewise.
39155         * nss/Makefile (otherlibs): Likewise.
39156         Add libnss_files to routines and static-only-routines.
39157         ($(objpfx)getent): Remove rule.
39158         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39159         static-only-routines.
39160
39161 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39162
39163         [BZ #13892]
39164         * math/s_cexp.c: Include <float.h>.
39165         (__cexp): Handle exp result overflowing not necessarily
39166         overflowing both real and imaginary parts of result.
39167         * math/s_cexpf.c: Likewise.
39168         * math/s_cexpl.c: Likewise.
39169         * math/libm-test.inc (cexp_test): Add more tests.
39170         * sysdeps/i386/fpu/libm-test-ulps: Update.
39171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39172
39173 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39174
39175         * include/link.h (ELFW): New macro.
39176         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39177         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39178
39179 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39180
39181         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39182         with uint64_t.
39183
39184 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39185
39186         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39187         declaration.
39188         (struct La_x32_retval): Likewise.
39189
39190 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39191
39192         * sysdeps/x86_64/preconfigure.in: New file.
39193         * sysdeps/x86_64/preconfigure: New generated file.
39194
39195 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39196
39197         [BZ #13824]
39198         * math/e_exp2l.c: Include <float.h>.
39199         (__ieee754_exp2l): Handle overflow and underflow cases
39200         separately.  Only pass fractional part of argument to
39201         __ieee754_expl.
39202         * math/libm-test.inc (exp2_test): Add more tests.
39203
39204         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39205         negating x to take absolute value.
39206         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39207         Likewise.
39208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39210         Likewise.
39211         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39212         computing low part if x was negated.
39213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39214
39215 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39216
39217         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39218         la_x32_gnu_pltexit.
39219         (pltexit): Cast int_retval to ptrdiff_t.
39220         * elf/tst-auditmod3b.c: Likewise.
39221         * elf/tst-auditmod4b.c: Likewise.
39222         * elf/tst-auditmod5b.c: Likewise.
39223         * elf/tst-auditmod6b.c: Likewise.
39224         * elf/tst-auditmod6c.c: Likewise.
39225         * elf/tst-auditmod7b.c: Likewise.
39226
39227         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39228         and x32_gnu_pltexit.
39229
39230         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39231         __ELF_NATIVE_CLASS.
39232         (La_x32_regs): New macro.
39233         (La_x32_retval): Likewise.
39234         (la_x32_gnu_pltenter): New function prototype.
39235         (la_x32_gnu_pltexit): Likewise.
39236
39237 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39238
39239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39240         exponent.
39241
39242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39243
39244         * configure.in (libc_cv_cc_nofma): Check for option to disable
39245         generation of FMA instructions.
39246         * configure: Regenerate.
39247         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39248         * sysdeps/ieee754/dbl-64/Makefile: New file.
39249         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39250         Remove brandred-fma4.
39251         (CFLAGS-brandred-fma4.c): Remove.
39252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39253         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39254         define.
39255         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39256         define.
39257
39258 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39259
39260         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39261         LLONG_MAX != LONG_MAX.
39262         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39263         (_fitoa_word): Likewise.
39264         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39265         LLONG_MAX != LONG_MAX.
39266         * stdio-common/_itowa.h: Include <_itoa.h>.
39267         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39268         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39269         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39270         only if not defined.
39271         (_ITOA_WORD_TYPE): Likewise.
39272         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39273         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39274
39275 2012-03-21  David S. Miller  <davem@davemloft.net>
39276
39277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39278
39279 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39280
39281         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39282         of x86_64 when setting libc_cv_slibdir, libdir and
39283         libc_cv_localedir.
39284         * sysdeps/unix/sysv/linux/configure: Regenerated.
39285
39286 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39287
39288         * manual/lang.texi (Old Varargs): Remove section.
39289         (How Variadic): Update menu.
39290         (va_start): Do not mention varargs.h.
39291
39292 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39293             Joseph Myers  <joseph@codesourcery.com>
39294
39295         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39296         link test.
39297         * configure: Regenerated.
39298
39299 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39300
39301         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39302         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39303         conformtest.pl
39304
39305 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39306
39307         * NOTES: Remove.
39308         * Makefile (files-for-dist): Remove NOTES.
39309         (NOTES): Remove rule.
39310         * README: Don't refer to NOTES.
39311         * manual/creature.texi: Don't include macros.texi.
39312         * manual/intro.texi (creature.texi): Remove comment referring to
39313         NOTES.
39314
39315         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39316         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39317         * configure: Regenerated.
39318         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39319         LIBC_TRY_CC_OPTION.
39320         (libc_cv_as_i686): Likewise.
39321         (libc_cv_cc_avx): Likewise.
39322         (libc_cv_cc_sse2avx): Likewise.
39323         (libc_cv_cc_fma4): Likewise.
39324         (libc_cv_cc_novzeroupper): Likewise.
39325         * sysdeps/i386/configure: Regenerated.
39326
39327         [BZ #13883]
39328         * sysdeps/i386/fpu/s_cexp.S: Remove.
39329         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39330         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39331         * math/libm-test.inc (cexp_test): Add more tests.
39332         * sysdeps/i386/fpu/libm-test-ulps: Update.
39333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39334
39335 2012-03-21  Allan McRae  <allan@archlinux.org>
39336
39337         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39338
39339 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39340
39341         [BZ #13871]
39342         * math/w_exp2.c: Do not include <float.h>.
39343         (o_threshold, u_threshold): Remove.
39344         (__exp2): Calculate result before checking finiteness and calling
39345         __kernel_standard.
39346         * math/w_exp2f.c: Likewise.
39347         * math/w_exp2l.c: Likewise.
39348         * math/libm-test.inc (exp2_test): Require overflow exception for
39349         1e6 input.
39350
39351         [BZ #3866]
39352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39353         range of signed 64-bit integers before using fistpll.  Remove
39354         checks for whether integers fit in mantissa bits.
39355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39356         the range of signed 32-bit integers before using fistpl.  Remove
39357         checks for whether integers fit in mantissa bits.
39358         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39359         (__ieee754_powl): Test for y outside the range of signed 64-bit
39360         integers before using fistpll.  Reduce 64-bit values to 63-bit
39361         ones as needed.
39362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39363         divide-by-zero is raised for zero to large negative powers.
39364         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39365         (__ieee754_powl): Test for y outside the range of signed 64-bit
39366         integers before using fistpll.  Reduce 64-bit values to 63-bit
39367         ones as needed.
39368         * math/libm-test.inc (pow_test): Add more tests.
39369
39370 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39371
39372         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39373         <stdio-common/_itoa.h>.
39374         * debug/segfault.c: Likewise.
39375         * elf/dl-cache.c: Likewise.
39376         * elf/dl-minimal.c: Likewise.
39377         * elf/dl-misc.c: Likewise.
39378         * elf/dl-sysdep.c: Likewise.
39379         * elf/dl-version.c: Likewise.
39380         * elf/rtld.c: Likewise.
39381         * hurd/hurdsock.c: Likewise.
39382         * hurd/lookup-retry.c: Likewise.
39383         * malloc/malloc.c: Likewise.
39384         * malloc/mtrace.c: Likewise.
39385         * nscd/nscd_getgr_r.c: Likewise.
39386         * nscd/nscd_getpw_r.c: Likewise.
39387         * nscd/nscd_getserv_r.c: Likewise.
39388         * posix/getopt_init.c: Likewise.
39389         * posix/wordexp.c: Likewise.
39390         * stdio-common/_itoa.c: Likewise.
39391         * stdio-common/printf_fphex.c: Likewise.
39392         * stdio-common/vfprintf.c: Likewise.
39393         * string/_strerror.c: Likewise.
39394         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39395         * sysdeps/i386/i686/hp-timing.h: Likewise.
39396         * sysdeps/mach/_strerror.c: Likewise.
39397         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39398         * sysdeps/mach/hurd/sethostid.c: Likewise.
39399         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39400         * sysdeps/mach/xpg-strerror.c: Likewise.
39401         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39402         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39403         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39404         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39406         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39408         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39409         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39410         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39411         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39412         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39413         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39414         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39415         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39416         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39417         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39418         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39419         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39420         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39421         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39422
39423         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39424
39425         * stdio-common/_itoa.h: Moved to ...
39426         * sysdeps/generic/_itoa.h: Here.
39427
39428         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39429
39430         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39431         instead of "_itoa.h" and "_itowa.h".
39432         * stdio-common/vfprintf.: Likewise.
39433
39434 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39435
39436         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39437         <bits/wordsize.h>.
39438         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39439         (__signbit): Likwise.
39440         (llrintf): Likwise.
39441         (llrint): Likwise.
39442
39443 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39444
39445         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39446         __WORDSIZE != 64.
39447
39448 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39449
39450         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39451         OVERFLOW_EXCEPTION_OK.
39452         * math/libm-test.inc ("Philosophy"): Update comment about
39453         exception testing.
39454         (OVERFLOW_EXCEPTION): Define.
39455         (OVERFLOW_EXCEPTION_OK): Likewise.
39456         (INVALID_EXCEPTION_OK): Renumber.
39457         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39458         (IGNORE_ZERO_INF_SIGN): Likewise.
39459         (test_exceptions): Handle FE_OVERFLOW.
39460         (exp10_test): Expect overflow exceptions.
39461         (exp2_test): Likewise.
39462         (expm1_test): Likewise.
39463         (nextafter_test): Likewise.
39464         (pow_test): Likewise.
39465         (scalbn_test): Likewise.
39466         (scalbln_test): Likewise.
39467
39468 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39469
39470         * sysdeps/x86_64/bits/atomic.h
39471         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39472         64bit integer.
39473         (atomic_exchange_acq): Likewise.
39474         (__arch_exchange_and_add_body): Likewise.
39475         (__arch_add_body): Likewise.
39476         (atomic_add_negative): Likewise.
39477         (atomic_add_zero): Likewise.
39478
39479 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39480
39481         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39482         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39483
39484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39485
39486         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39487         Check __x86_64__ instead of __WORDSIZE.
39488
39489 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39490
39491         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39492
39493 2012-03-19  David S. Miller  <davem@davemloft.net>
39494
39495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39496
39497         * sysdeps/sparc/fpu/fenv_private.h: New file.
39498         * sysdeps/sparc/fpu/math_private.h: Use it.
39499         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39500         Remove.
39501         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39502         (libc_feholdexcept_setroundl): Remove.
39503         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39504         Remove.
39505         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39506         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39507
39508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39509
39510         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39511         int64_t instead of long int.
39512         (INSERT_WORDS64): Likwise.
39513
39514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39515
39516         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39517         _Unwind_GetCFA return to _Unwind_Ptr first.
39518
39519 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39520
39521         [BZ #13629]
39522         * math/s_clog.c: Include <float.h>.
39523         (__clog): Scale large or subnormal inputs.
39524         * math/s_clogf.c: Likewise.
39525         * math/s_clogl.c: Likewise.
39526         * math/s_clog10.c: Include <float.h>.
39527         (M_LOG10_2): Define.
39528         (__clog10): Scale large or subnormal inputs.
39529         * math/s_clog10f.c: Likewise.
39530         * math/s_clog10l.c: Likewise.
39531         * math/libm-test.inc (clog_test): Add more tests.
39532         (clog10_test): Likewise.
39533         * sysdeps/i386/fpu/libm-test-ulps: Update.
39534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39535
39536         [BZ #11451]
39537         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39538         x and y.
39539         * math/libm-test.inc (atan2_test): Add another test.
39540
39541         * Makerules (common-objdir-compile): Remove.
39542         * sysdeps/unix/Makefile (config-generated): Do not add
39543         $(unix-generated) to variable.
39544         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39545         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39546         Remove rule.
39547         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39548         Likewise.
39549         [generic bits/local_lim.h] (before-compile): Do not append to
39550         variable.
39551         [generic bits/local_lim.h] (common-generated): Likewise.
39552         [generic sys/param.h] (before-compile): Do not append to variable.
39553         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39554         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39555         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39556         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39557         include.
39558         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39559         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39560         [generic sys/param.h] ($(addprefix
39561         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39562         [generic sys/param.h] (common-generated): Do not append to
39563         variable.
39564         [generic sys/param.h] (sysdep_headers): Likewise.
39565         [generic bits/errno.h] (before-compile): Do not append to
39566         variable.
39567         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39568         rule.
39569         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39570         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39571         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39572         [generic bits/errno.h] (common-generated): Do not append to
39573         variable.
39574         [generic bits/ioctls.h] (before-compile): Do not append to
39575         variable.
39576         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39577         rule.
39578         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39579         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39580         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39581         rule.
39582         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39583         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39584         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39585         [generic bits/ioctls.h] (common-generated): Do not append to
39586         variable.
39587         [generic sys/syscall.h] (syscall.h): Remove variable.
39588         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39589         rule.
39590         [generic sys/syscall.h] (before-compile): Do not append to
39591         variable.
39592         [generic sys/syscall.h] (common-generated): Likewise.
39593         * sysdeps/unix/errnos-tmpl.c: Remove file.
39594         * sysdeps/unix/errnos.awk: Likewise.
39595         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39596         * sysdeps/unix/ioctls.awk: Likewise.
39597         * sysdeps/unix/mk-local_lim.c: Likewise.
39598         * sysdeps/unix/snarf-ioctls: Likewise.
39599
39600 2012-03-19  Richard Henderson  <rth@twiddle.net>
39601
39602         * sysdeps/i386/fpu/fenv_private.h: New file.
39603         * sysdeps/i386/fpu/math_private.h: Use it.
39604         (math_opt_barrier, math_force_eval): Remove.
39605         (libc_feholdexcept_setround_53bit): Remove.
39606         (libc_feupdateenv_53bit): Remove.
39607         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39608         (math_opt_barrier, math_force_eval): Remove.
39609         (libc_feholdexcept): Remove.
39610         (libc_feholdexcept_setround): Remove.
39611         (libc_fetestexcept, libc_fesetenv): Remove.
39612         (libc_feupdateenv_test): Remove.
39613         (libc_feupdateenv, libc_feholdsetround): Remove.
39614         (libc_feresetround): Remove.
39615
39616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39617         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39618
39619         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39620         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39621         (libc_feupdateenv_testl): New.
39622         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39623         (libc_feupdateenv_testf): New.
39624         (libc_feupdateenv): Use libc_feupdateenv_test.
39625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39626         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39627
39628         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39629         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39630         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39631         (libc_feresetround_noex): New.
39632         (libc_feresetround_noexf): New.
39633         (libc_feresetround_noexl): New.
39634         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39635         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39636         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39637         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39638         SET_RESTORE_ROUND.
39639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39641         (__cos): Likewise.
39642         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39643         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39644         SET_RESTORE_ROUND_NOEX.
39645         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39646         SET_RESTORE_ROUND_NOEXF.
39647         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39648         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39649         (libc_feholdsetroundf): New.
39650         (libc_feresetround, libc_feresetroundf): New.
39651
39652         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39653         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39654         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39655
39656         * sysdeps/generic/math_private.h: Include <fenv.h>.
39657         (default_libc_feholdexcept): New.
39658         (default_libc_feholdexcept_setround): New.
39659         (default_libc_fesetenv, default_libc_feupdateenv): New.
39660         (libc_feholdexcept): Only define if undefined.
39661         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39662         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39663         (libc_feholdexcept_setroundl): Likewise.
39664         (libc_feholdexcept_setround_53bit): Likewise.
39665         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39666         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39667         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39668         (libc_feupdateenv_53bit): Likewise.
39669         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39670         (libc_feholdexcept): Convert from macro to inline function.
39671         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39672         (libc_fesetenv, libc_feupdateenv): Likewise.
39673
39674         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39675         not previously defined.
39676         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39677         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39678         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39679         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39680         * sysdeps/ieee754/flt-32/math_private.h: New file.
39681         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39682         math_private.h below SET_FLOAT_WORD.
39683         (__isnan, __isinf_ns, __finite): Remove.
39684         (__isnanf, __isinf_nsf, __finitef): Remove.
39685
39686 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39687
39688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39689
39690 2012-03-17  David S. Miller  <davem@davemloft.net>
39691
39692         [BZ #6471]
39693         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39694         for 2.16.
39695
39696 2012-03-16  David S. Miller  <davem@davemloft.net>
39697
39698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39699         warnings.
39700
39701         [BZ #6471]
39702         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39703         properly.
39704         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39705         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39706         sysdep_routines when subdir is sysvipc.
39707         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39708         __getshmlba helper.
39709
39710         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39711
39712 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39713
39714         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39715         [__LP64__].
39716
39717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39718
39719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39720         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39721         (__lround): Renamed to ...
39722         (__llround): This.  Replace long int with long long int.
39723         Define lround functions as aliases of llround functions.
39724         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39725
39726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39727
39728         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39729         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39730         adresses to uintptr_t.  Replace "long int" and "unsigned long
39731         int" with "greg_t" on va_arg.
39732
39733 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39734
39735         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39736         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39737
39738         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39739         Move e_machine check before EI_CLASS check.  Handle x32
39740         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39741         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39742         SKIP_EM_IA_64 and include
39743         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39744
39745         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39746         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39747         (add_system_dir): New macro.
39748
39749         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39750         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39751
39752 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39753
39754         [BZ #2551]
39755         [BZ #2552]
39756         [BZ #2553]
39757         [BZ #2554]
39758         [BZ #2562]
39759         [BZ #2563]
39760         [BZ #2565]
39761         [BZ #2566]
39762         [BZ #2576]
39763         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39764         (y0): Likewise.
39765         * math/w_j0f.c (j0f): Likewise.
39766         (y0f): Likewise.
39767         * math/w_j0l.c (__j0l): Likewise.
39768         (__y0l): Likewise.
39769         * math/w_j1.c (j1): Likewise.
39770         (y1): Likewise.
39771         * math/w_j1f.c (j1f): Likewise.
39772         (y1f): Likewise.
39773         * math/w_j1l.c (__j1l): Likewise.
39774         (__y1l): Likewise.
39775         * math/w_jn.c (jn): Likewise.
39776         (yn): Likewise.
39777         * math/w_jnf.c (jnf): Likewise.
39778         (ynf): Likewise.
39779         * math/w_jnl.c (__jnl): Likewise.
39780         (__ynl): Likewise.
39781         * math/libm-test.inc (j0_test): Add more tests.
39782         (j1_test): Likewise.
39783         (jn_test): Likewise.  Add trailing semicolon to existing test.
39784         (y0_test): Likewise.
39785         (y1_test): Likewise.
39786         * sysdeps/i386/fpu/libm-test-ulps: Update.
39787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39788
39789         [BZ #13851]
39790         [BZ #13854]
39791         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39792         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39793         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39794         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39795         (__tanl): Set errno for infinite argument.
39796         * sysdeps/i386/fpu/mptan.c: Remove.
39797         * sysdeps/i386/fpu/s_tan.S: Likewise.
39798         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39799         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39800         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39801         * math/libm-test.inc (tan_test): Add more tests and enable more
39802         tests for double and long double.
39803         * sysdeps/i386/fpu/libm-test-ulps: Update.
39804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39805
39806 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39807
39808         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39809         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39810
39811 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39812
39813         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39814         * configure.in: Use it for both main tree and add-ons.
39815         * configure: Regenerated.
39816
39817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39818
39819         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39820
39821 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39822
39823         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39824         in comment.
39825
39826         [BZ #13851]
39827         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39828         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39829         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39830         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39831         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39832         infinite argument.
39833         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39835         != 0 for prec == 2.
39836         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39837         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39838         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39839         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39840         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39841         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39842         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39843         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39844         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39845         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39846         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39847         * math/libm-test.inc (cos_test): Add more tests and enable more
39848         tests for long double.
39849         (sin_test): Likewise.
39850         (sincos_test): Likewise.
39851         * sysdeps/i386/fpu/libm-test-ulps: Update.
39852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39853
39854 2012-03-16  David S. Miller  <davem@davemloft.net>
39855
39856         * sysdeps/sparc/fpu/math_private.h: New file.
39857
39858 2012-03-15  David S. Miller  <davem@davemloft.net>
39859
39860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39861         file.
39862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39864         file.
39865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39871         sysdep routines.
39872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39873
39874         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39875         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39876
39877         * sysdeps/sparc/sparc-ifunc.h: New file.
39878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39879         sparc-ifunc.h
39880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39882         Likewise.
39883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39884         Likewise.
39885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39889         Likewise.
39890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39895         Likewise.
39896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39897         Likewise.
39898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39918         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39920         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39921         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39922
39923 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39924
39925         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39926         scaling.
39927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39928
39929 2012-03-15  Andreas Jaeger  <aj@suse.de>
39930
39931         [BZ #13852]
39932         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39933         ieee754/flt-32 implementation for sin, cos and sincos.
39934         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39935         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39936         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39937         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39938         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39939         ieee754/flt-32 implementation for tan.
39940
39941         * math/libm-test.inc (cos_test): Enable some large input tests for
39942         float as well
39943         (sin_test): Likewise.
39944         (sincos_test): Likewise.
39945         (tan_test): Add tests for large input.
39946
39947         * sysdeps/i386/fpu/libm-test-ulps: Update.
39948
39949 2012-03-15  Andreas Jaeger  <aj@suse.de>
39950
39951         [BZ #13658]
39952         * math/libm-test.inc (cos_test): Add more test cases.
39953         (sin_test): Likewise.
39954         (sincos_test): Likewise.
39955
39956 2012-03-15  Andreas Jaeger  <aj@suse.de>
39957
39958         [BZ #13837]
39959         * math/libm-test.inc (cos_test): Add a test case for large input
39960         value.
39961         (sin_test): Likewise.
39962         (sincos_test): Likewise.
39963
39964 2012-03-15  Andreas Jaeger  <aj@suse.de>
39965             Joseph Myers  <joseph@codesourcery.com>
39966
39967         [BZ #13658]
39968         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39969         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39970         * sysdeps/i386/fpu/branred.c: Likewise.
39971         * sysdeps/i386/fpu/dosincos.c: Likewise.
39972         * sysdeps/i386/fpu/mpa.c: Likewise.
39973         * sysdeps/i386/fpu/s_cos.S: Likewise.
39974         * sysdeps/i386/fpu/s_sin.S: Likewise.
39975         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39976         * sysdeps/i386/fpu/sincos32.c: Likewise.
39977
39978         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39979         Define.
39980         (libc_feupdateenv_53bit): Define.
39981         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39982         Define.
39983         (libc_feupdateenv_53bit): Define.
39984
39985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39986         53 bit (without extend i386 double precision).
39987
39988         * math/libm-test.inc (sincos_test): Add tests for large input.
39989         (sin): Likewise.
39990         (cos): Likewise.
39991
39992         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39993
39994 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39995
39996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39997
39998 2012-03-15  David S. Miller  <davem@davemloft.net>
39999
40000         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40001         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40002         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40003         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40016         file.
40017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40019         file.
40020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40022         file.
40023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40025         file.
40026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40027         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40028         fmin/fmax sysdep routines.
40029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40030
40031 2012-03-14  David S. Miller  <davem@davemloft.net>
40032
40033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40038         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40040         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40053         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40054         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40058         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40062         routines.
40063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40064         file.
40065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40067         file.
40068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40070         file.
40071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40073         file.
40074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40076         file.
40077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40079         file.
40080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40081         file.
40082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40083         file.
40084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40085         file.
40086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40087         New file.
40088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40089         file.
40090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40091         file.
40092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40094         file.
40095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40097         file.
40098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40100         file.
40101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40103         VIS3 routines.
40104
40105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40106         New file.
40107
40108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40109
40110         * sysdeps/sparc/configure.in: New file.
40111         * sysdeps/sparc/configure: Generate.
40112         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40113         * configure: Regenerate.
40114         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40115         * config.make.in (have-as-vis3): New.
40116         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40117         available use -Av9d instead of -Av9a.
40118         * sysdeps/sparc/sparc64/Makefile: Likewise.
40119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40121         New file.
40122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40123         file.
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40125         New file.
40126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40127         file.
40128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40130         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40133
40134         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40135         fzeros/fnegs to load 0x80000000 into a float register instead of
40136         using the stack.
40137         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40138
40139 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40140
40141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40142         bits/syscall.h.
40143         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40144         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40145         ($(inst_includedir)/bits/syscall.h): Remove rule.
40146         ($(objpfx)bits/syscall.d): Include instead of
40147         $(objpfx)syscall-list.d.
40148         (generated): Change syscall-list.h and syscall-list.d to
40149         bits/syscall.h and bits/syscall.d.
40150
40151 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40152
40153         [BZ #13846]
40154         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40155
40156 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40157
40158         [BZ #13841]
40159         * math/s_csqrt.c: Include <float.h>.
40160         (__csqrt): Scale large or subnormal inputs.
40161         * math/s_csqrtf.c: Likewise.
40162         * math/s_csqrtl.c: Likewise.
40163         * math/libm-test.inc (csqrt_test): Add more tests.
40164         * sysdeps/i386/fpu/libm-test-ulps: Update.
40165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40166
40167         [BZ #13840]
40168         * math/libm-test.inc (hypot_test): Add more tests.
40169
40170 2012-03-13  David S. Miller  <davem@davemloft.net>
40171
40172         [BZ #13840]
40173         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40174         double-precision for the calculation instead of scaling.
40175
40176 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40177
40178         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40179         manipulate bits before adding and subtracting TWO52[sx].
40180         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40181         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40182         Likewise.
40183         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40184
40185 2012-03-13  David S. Miller  <davem@davemloft.net>
40186
40187         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40188         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40190         rtld-global-offsets.h
40191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40192
40193         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40194         large parameters.
40195
40196         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40197
40198         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40199         'err' in the ifdef scope in which it is actually used.
40200
40201         * nss/nss_db/db-init.c: Include string.h
40202
40203 2012-03-12  David S. Miller  <davem@davemloft.net>
40204
40205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40206         masking out of the most significant byte of random value used.
40207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40208         Fix coding style in previous change.
40209
40210         * sysdeps/unix/sysv/linux/kernel-features.h
40211         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40212         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40213         expression.
40214         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40215         later.
40216
40217 2012-03-11  David S. Miller  <davem@davemloft.net>
40218
40219         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40220         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40222         for 'resultvar' otherwise things get truncated on 64-bit.
40223
40224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40225         Fix masking out of the most significant byte of random value used.
40226
40227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40228
40229 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40230
40231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40232
40233 2012-03-09  David S. Miller  <davem@davemloft.net>
40234
40235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40236         variables with appropriate CPP guards.
40237         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40238         from the frame pointer, not the stack pointer.  Correct layout
40239         comments.  Fix test on resulting framesize and the management of
40240         the outregs buffer for pltexit.  Preserve floating point return
40241         values across _dl_call_pltexit call.
40242         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40243         framesize and the management of the outregs buffer for pltexit.
40244         Preserve floating point return values across _dl_call_pltexit
40245         call.
40246         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40247         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40248         (la_sparc64_gnu_pltexit): New functions.
40249         (print_exit): Fix format string for return register value.
40250
40251 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40252
40253         * sunrpc/Makefile (others): Add rpcgen.
40254         ($(objpfx)rpcgen): Remove special build rule and dependency on
40255         libc.
40256         * sunrpc/rpcgen.c: New file.
40257
40258 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40259
40260         [BZ #13673]
40261         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40262         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40263         * sysdeps/i386/crti.S: Likewise.
40264         * sysdeps/i386/crtn.S: Likewise.
40265         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40266         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40267         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40268         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40269         * sysdeps/sh/crti.S: Likewise.
40270         * sysdeps/sh/crtn.S: Likewise.
40271         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40272
40273         [BZ #13673]
40274         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40275         with URL.
40276         * locale/programs/locfile-kw.gperf: Likewise.
40277         * locale/programs/charmap-kw.h: Regenerated.
40278         * locale/programs/locfile-kw.h: Likewise.
40279
40280         [BZ #13673]
40281         * intl/plural.y: Replace FSF snail mail address with URL.
40282         * intl/plural.c: Regenerated.
40283
40284 2012-03-09  Richard Henderson  <rth@twiddle.net>
40285
40286         * include/math_private.h: Remove file.
40287         * math/math_private.h: Move file ...
40288         * sysdeps/generic/math_private.h: ... here.
40289
40290         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40291         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40293
40294         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40295         and <math_private.h>.
40296         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40297         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40298         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40299         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40300         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40301         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40302         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40304         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40305         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40307         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40308         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40310         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40311         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40314         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40317         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40318         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40320         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40322         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40325         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40326         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40328         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40329         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40330         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40331         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40336         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40337         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40338         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40339         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40340         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40341         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40342         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40343         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40344         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40345         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40346         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40347         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40348         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40349         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40350         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40351         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40352         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40354         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40355         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40356         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40357         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40359         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40360         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40361         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40362         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40363         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40364         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40365         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40366         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40367         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40370         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40371         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40375         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40376         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40379         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40381         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40382         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40383         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40384         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40385         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40386         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40387         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40389         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40390         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40400         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40401         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40402         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40403         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40408         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40409         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40410         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40412         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40413         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40414         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40415         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40416         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40417         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40418         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40419         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40421         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40423         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40424         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40425         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40426         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40427         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40428         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40429         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40430         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40431         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40432         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40433         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40434         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40435         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40436         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40437         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40438         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40439         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40440         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40441         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40442         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40443         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40444         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40445         * sysdeps/ieee754/k_standard.c: Likewise.
40446         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40447         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40448         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40449         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40450         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40451         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40452         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40453         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40454         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40456         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40457         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40458         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40459         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40460         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40461         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40462         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40463         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40464         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40465         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40466         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40467         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40468         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40471         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40472         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40473         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40474         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40475         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40476         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40477         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40478         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40479         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40481         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40483         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40484         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40485         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40486         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40487         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40488         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40489         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40490         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40491         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40492         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40493         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40494         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40495         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40497         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40499         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40501         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40502         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40503         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40504         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40505         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40506         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40507         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40508         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40509         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40516         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40518         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40522         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40523         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40526         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40527         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40531         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40532         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40537         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40538         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40539         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40542         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40543         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40544         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40545         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40550         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40553         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40554         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40555         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40557         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40558         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40559         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40560         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40561         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40562         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40563         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40564         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40565         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40566         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40567         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40568         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40569         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40570         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40571         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40572         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40573         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40574         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40576         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40577         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40578         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40583         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40584         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40587         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40588         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40590         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40591         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40594         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40595         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40596         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40597         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40601         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40606         * sysdeps/ieee754/s_lib_version.c: Likewise.
40607         * sysdeps/ieee754/s_matherr.c: Likewise.
40608         * sysdeps/ieee754/s_signgam.c: Likewise.
40609         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40610         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40611         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40612         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40613         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40614         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40615         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40616         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40617         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40618         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40620         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40621         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40623         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40624         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40625         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40626         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40627         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40630
40631 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40632
40633         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40634         * sunrpc/rpc_main.c: Likewise.
40635         * sunrpc/rpc_svcout.c: Likewise.
40636
40637 2012-03-09  David S. Miller  <davem@davemloft.net>
40638
40639         * include/math_private.h: New file.
40640
40641 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40642
40643         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40644         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40645         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40646         from <bits/socket_type.h>.
40647         (enum __socket_type): Don't define here.
40648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40650         bits/socket_type.h.
40651
40652         [BZ #13566]
40653         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40654         checking __USE_GNU.
40655
40656         * Makerules ($(inst_includedir)/%.h): New rule.
40657         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40658         (install-others): Remove variable setting.
40659         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40660
40661 2012-03-08  Richard Henderson  <rth@twiddle.net>
40662
40663         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40664         from macro to inline function; merge with the
40665         !__LIBC_INTERNAL_MATH_INLINES version.
40666         (__ieee754_sqrtf): Likewise.
40667
40668         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40669         to inline function.
40670         (__rintf, __floor, __floorf): Likewise.
40671
40672         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40673         macro to inline function.
40674         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40675
40676         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40677         not <math/math_private.h>.
40678
40679 2012-03-08  David S. Miller  <davem@davemloft.net>
40680
40681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40682         copyright year.
40683         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40684
40685 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40686
40687         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40688         normalization.
40689         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40690         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40691
40692 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40693
40694         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40695         be defined individually, they must be defined as a block.  Define
40696         S for printing a string instead of hidint the different by using a
40697         macro for adding the 'l'.
40698         * stdio-common/tst-fphex-wide.c: Adjust.
40699
40700 2012-03-07  Marek Polacek  <polacek@redhat.com>
40701
40702         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40703
40704 2012-03-08  Marek Polacek  <polacek@redhat.com>
40705
40706         [BZ #13806]
40707         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40708         * stdio-common/tst-fphex.c: Define a few macros to make the
40709         test reusable.  Use them.
40710         * stdio-common/tst-fphex-wide.c: New file.
40711
40712 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40713
40714         [BZ #6911]
40715         * manual/macros.texi (gnusystems): New macro.
40716         (nongnusystems): Likewise.
40717         (gnulinuxhurdsystems): Likewise.
40718         (gnuhurdsystems): Likewise..
40719         (gnulinuxsystems): Likewise.
40720         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40721         variants of the GNU system, not "GNU system".
40722         * manual/conf.texi: Likewise.
40723         * manual/errno.texi: Likewise.  Update example of errno macro
40724         expansion.
40725         * manual/filesys.texi: Likewise.
40726         (getumask): Document as specific to GNU/Hurd.
40727         * manual/install.texi: Likewise.  Reword some references to
40728         GNU/Linux.
40729         * manual/intro.texi: Likewise.
40730         * manual/io.texi: Likewise.
40731         (File Name Portability): Detail which constraints are inapplicable
40732         to all GNU systems and which are only inapplicable to GNU/Hurd.
40733         * manual/job.texi: Likewise.
40734         * manual/llio.texi: Likewise.
40735         (O_NOCTTY): Document as present on GNU/Linux.
40736         * manual/maint.texi: Likewise.
40737         * manual/memory.texi: Likewise.
40738         * manual/pattern.texi: Likewise.
40739         * manual/pipe.texi: Likewise.
40740         * manual/process.texi: Likewise.
40741         * manual/resource.texi: Likewise.
40742         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40743         child on GNU/Hurd.
40744         * manual/setjmp.texi: Likewise.
40745         * manual/signal.texi: Likewise.
40746         * manual/startup.texi: Likewise.
40747         * manual/stdio.texi: Likewise.
40748         * manual/terminal.texi: Likewise.
40749         (ONLCR): Document as POSIX.
40750         (OXTABS): Document availability on GNU/Linux as XTABS.
40751         (ONOEOT): Document availability separately from other bits.
40752         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40753         * manual/time.texi: Likewise.
40754         * manual/users.texi: Likewise.
40755         * INSTALL: Regenerated.
40756         * sysdeps/gnu/errlist.c: Regenerated.
40757
40758         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40759         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40760         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40761         puts.
40762         * configure: Regenerated.
40763
40764 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40765
40766         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40767         default includes instead of AC_HEADER_CHECK.
40768         * sysdeps/i386/configure: Regenerated.
40769
40770         [BZ #10716]
40771         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40772         * math/s_cacoshf.c (__cacoshf): Likewise.
40773         * math/s_cacoshl.c (__cacoshl): Likewise.
40774         * math/s_casinh.c (__casinh): Set signs of result from argument.
40775         * math/s_casinhf.c (__casinhf): Likewise.
40776         * math/s_casinhl.c (__casinhl): Likewise.
40777         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40778         (casinh_test): Add more tests.
40779         * sysdeps/i386/fpu/libm-test-ulps: Update.
40780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40781
40782 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40783
40784         * po/zh_TW.po: Update from translation team.
40785
40786         * login/Makefile (distribute): Remove variable.
40787         * catgets/Makefile: Likewise.
40788         * mach/Makefile: Likewise.
40789         * malloc/Makefile: Likewise.
40790         * misc/Makefile: Likewise.
40791         * iconv/Makefile: Likewise.
40792         * nscd/Makefile: Likewise.
40793         * hurd/Makefile: Likewise.
40794         * manual/Makefile: Likewise.
40795         * locale/Makefile: Likewise.
40796         * intl/Makefile: Likewise.
40797         * conform/Makefile: Likewise.
40798         * nss/Makefile: Likewise.
40799         * time/Makefile: Likewise.
40800         * soft-fp/Makefile: Likewise.
40801         * dirent/Makefile: Likewise.
40802         * gmon/Makefile: Likewise.
40803         * po/Makefile: Likewise.
40804         * rt/Makefile: Likewise.
40805         * socket/Makefile: Likewise.
40806         * math/Makefile: Likewise.
40807         * signal/Makefile: Likewise.
40808         * debug/Makefile: Likewise.
40809         * elf/Makefile: Likewise.
40810         * timezone/Makefile: Likewise.
40811         * stdlib/Makefile: Likewise.
40812         * iconvdata/Makefile: Likewise.
40813         * sunrpc/Makefile: Likewise.
40814         * io/Makefile: Likewise.
40815         * argp/Makefile: Likewise.
40816         * inet/Makefile: Likewise.
40817         * hesiod/Makefile: Likewise.
40818         * grp/Makefile: Likewise.
40819         * csu/Makefile: Likewise.
40820         * wctype/Makefile: Likewise.
40821         * crypt/Makefile: Likewise.
40822         * libio/Makefile: Likewise.
40823         * string/Makefile: Likewise.
40824         * nis/Makefile: Likewise.
40825         * resolv/Makefile: Likewise.
40826         * stdio-common/Makefile: Likewise.
40827         * wcsmbs/Makefile: Likewise.
40828         * dlfcn/Makefile: Likewise.
40829         * posix/Makefile: Likewise.
40830
40831         [BZ #6959]
40832         * timezone/Makefile: Don't install timezone files, just the programs
40833         and scripts.
40834
40835 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40836
40837         * nss/databases.def: Add missing gshadow entry.
40838
40839         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40840
40841 2012-03-06  Marek Polacek  <polacek@redhat.com>
40842
40843         [BZ #13726]
40844         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40845         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40846         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40847         * stdio-common/tst-long-dbl-fphex.c: New file.
40848
40849 2012-03-06  David S. Miller  <davem@davemloft.net>
40850
40851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40852         (set_obp_int): New function.
40853         (get_obp_int): New function.
40854         (__get_clockfreq_via_dev_openprom): Likewise.
40855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40856         Avoid unused variable warnings on 'val' and use builtin_expect.
40857         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40858         __builtin_expect.
40859         (INLINE_CLONE_SYSCALL): Likewise.
40860
40861 2012-03-05  David S. Miller  <davem@davemloft.net>
40862
40863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40864
40865 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40866
40867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40868
40869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40870         only for |x| >= 40.
40871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40872
40873 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40874
40875         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40876         Replace gettimeofday with __vdso_gettimeofday.
40877
40878         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40879         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40880         __vdso_clock_gettime and __vdso_getcpu.
40881
40882         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40883         time with __vdso_time.
40884
40885 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40886
40887         * manual/lang.texi (size_t): Note types to which size_t may be
40888         equivalent with the GNU C Library, but do not describe when
40889         differences between them are significant.
40890
40891 2012-03-05  Andreas Jaeger  <aj@suse.de>
40892
40893         * sysdeps/i386/fpu/libm-test-ulps: Update.
40894
40895 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40896
40897         [BZ #3976]
40898         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40899         (__ieee754_pow): Save and restore rounding mode and use
40900         round-to-nearest for main computations.
40901         * math/libm-test.inc (pow_test_tonearest): New function.
40902         (pow_test_towardzero): Likewise.
40903         (pow_test_downward): Likewise.
40904         (pow_test_upward): Likewise.
40905         (main): Call the new functions.
40906         * sysdeps/i386/fpu/libm-test-ulps: Update.
40907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40908
40909         [BZ #3976]
40910         * math/libm-test.inc (cosh_test_tonearest): New function.
40911         (cosh_test_towardzero): Likewise.
40912         (cosh_test_downward): Likewise.
40913         (cosh_test_upward): Likewise.
40914         (sinh_test_tonearest): Likewise.
40915         (sinh_test_towardzero): Likewise.
40916         (sinh_test_downward): Likewise.
40917         (sinh_test_upward): Likewise.
40918         (main): Call the new functions.
40919         * sysdeps/i386/fpu/libm-test-ulps: Update.
40920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40921
40922 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40923
40924         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40925         default stack guard is set in last bytes.
40926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40927
40928 2012-03-05  Kees Cook  <keescook@chromium.org>
40929
40930         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40931
40932         [BZ #13656]
40933         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40934         possibly allocate from heap instead of stack.
40935         * stdio-common/bug-vfprintf-nargs.c: New file.
40936         * stdio-common/Makefile (tests): Add nargs overflow test.
40937
40938 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40939
40940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40941
40942 2012-03-03  Marek Polacek  <polacek@redhat.com>
40943
40944         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40945         * math/math_private.h: Likewise.
40946         * stdlib/tst-strtod.c: Likewise.
40947         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40948         * sysdeps/x86_64/bits/atomic.h: Likewise.
40949
40950 2012-03-02  David S. Miller  <davem@davemloft.net>
40951
40952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40956         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40957         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40958         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40959         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40960
40961 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40962
40963         [BZ #13792]
40964         * manual/examples/README: New file, says the example source files
40965         can be used under GPL>=2.
40966         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40967         line containing just "*/".
40968         * manual/examples/add.c: Add copyright header (GPL>=2).
40969         * manual/examples/argp-ex1.c: Likewise.
40970         * manual/examples/argp-ex2.c: Likewise.
40971         * manual/examples/argp-ex3.c: Likewise.
40972         * manual/examples/argp-ex4.c: Likewise.
40973         * manual/examples/atexit.c: Likewise.
40974         * manual/examples/db.c: Likewise.
40975         * manual/examples/dir.c: Likewise.
40976         * manual/examples/dir2.c: Likewise.
40977         * manual/examples/execinfo.c: Likewise.
40978         * manual/examples/filecli.c: Likewise.
40979         * manual/examples/filesrv.c: Likewise.
40980         * manual/examples/fmtmsgexpl.c: Likewise.
40981         * manual/examples/genpass.c: Likewise.
40982         * manual/examples/inetcli.c: Likewise.
40983         * manual/examples/inetsrv.c: Likewise.
40984         * manual/examples/isockad.c: Likewise.
40985         * manual/examples/longopt.c: Likewise.
40986         * manual/examples/memopen.c: Likewise.
40987         * manual/examples/memstrm.c: Likewise.
40988         * manual/examples/mkfsock.c: Likewise.
40989         * manual/examples/mkisock.c: Likewise.
40990         * manual/examples/mygetpass.c: Likewise.
40991         * manual/examples/pipe.c: Likewise.
40992         * manual/examples/popen.c: Likewise.
40993         * manual/examples/rprintf.c: Likewise.
40994         * manual/examples/search.c: Likewise.
40995         * manual/examples/select.c: Likewise.
40996         * manual/examples/setjmp.c: Likewise.
40997         * manual/examples/sigh1.c: Likewise.
40998         * manual/examples/sigusr.c: Likewise.
40999         * manual/examples/stpcpy.c: Likewise.
41000         * manual/examples/strdupa.c: Likewise.
41001         * manual/examples/strftim.c: Likewise.
41002         * manual/examples/strncat.c: Likewise.
41003         * manual/examples/subopt.c: Likewise.
41004         * manual/examples/swapcontext.c: Likewise.
41005         * manual/examples/termios.c: Likewise.
41006         * manual/examples/testopt.c: Likewise.
41007         * manual/examples/testpass.c: Likewise.
41008         * manual/examples/timeval_subtract.c: Likewise.
41009
41010         [BZ #13792]
41011         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41012         function to ...
41013         * manual/timeval_subtract.c.texi: ... here, new file.
41014
41015 2012-03-02  David S. Miller  <davem@davemloft.net>
41016
41017         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41018
41019 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41020
41021         [BZ #3976]
41022         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41023         (__sin): Save and restore rounding mode and use round-to-nearest
41024         for all computations.
41025         (__cos): Save and restore rounding mode and use round-to-nearest
41026         for all computations.
41027         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41028         <fenv.h>.
41029         (tan): Save and restore rounding mode and use round-to-nearest for
41030         all computations.
41031         * math/libm-test.inc (cos_test_tonearest): New function.
41032         (cos_test_towardzero): Likewise.
41033         (cos_test_downward): Likewise.
41034         (cos_test_upward): Likewise.
41035         (sin_test_tonearest): Likewise.
41036         (sin_test_towardzero): Likewise.
41037         (sin_test_downward): Likewise.
41038         (sin_test_upward): Likewise.
41039         (tan_test_tonearest): Likewise.
41040         (tan_test_towardzero): Likewise.
41041         (tan_test_downward): Likewise.
41042         (tan_test_upward): Likewise.
41043         (main): Call the new functions.
41044         * sysdeps/i386/fpu/libm-test-ulps: Update.
41045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41046
41047         [BZ #10135]
41048         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41049         small n, then large n, before computing and testing k+n.
41050         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41052         Likewise.
41053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41054         Likewise.
41055         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41056         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41057         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41058         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41061         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41062         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41063         * math/libm-test.inc (scalbn_test): Add more tests.
41064         (scalbln_test): Likewise.
41065
41066         * manual/filesys.texi (mode_t): Describe constraints on size and
41067         signedness, not exact equivalence to a particular type.
41068         (ino_t): Likewise.
41069         (ino64_t): Likewise.
41070         (dev_t): Likewise.
41071         (nlink_t): Likewise.
41072         (blkcnt_t): Likewise.
41073         (blkcnt64_t): Likewise.
41074         * manual/llio.texi (off_t): Likewise.
41075
41076         [BZ #3976]
41077         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41078         (__ieee754_exp): Save and restore rounding mode and use
41079         round-to-nearest for all computations.
41080         * math/libm-test.inc (exp_test_tonearest): New function.
41081         (exp_test_towardzero): Likewise.
41082         (exp_test_downward): Likewise.
41083         (exp_test_upward): Likewise.
41084         (main): Call the new functions.
41085         * sysdeps/i386/fpu/libm-test-ulps: Update.
41086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41087
41088 2012-03-01  Chris Demetriou  <cgd@google.com>
41089
41090         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41091         have predictable order.
41092
41093 2012-03-01  David S. Miller  <davem@davemloft.net>
41094
41095         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41096
41097         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41098         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41099         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41100         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41101
41102         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41103         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41104         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41106         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41107         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41108         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41109         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41110         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41111
41112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41113
41114         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41115         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41116         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41117
41118         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41119         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41120         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41121         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41122         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41123         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41124         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41125         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41126         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41127         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41128         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41129         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41131         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41134         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41135         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41136         * sysdeps/sparc/elf/configure: Regenerated.
41137
41138 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41139
41140         * configure.in (AS, LD): Require binutils 2.20 or later.
41141         * configure: Regenerated.
41142         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41143         as required minimum version.
41144         * INSTALL: Regenerated.
41145
41146         [BZ #2541]
41147         [BZ #4108]
41148         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41149         before squaring exponent.
41150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41151         bottom long double and 27 bits of top long double before squaring
41152         exponent.
41153         * math/libm-test.inc (erfc_test): Add more tests.
41154         * sysdeps/i386/fpu/libm-test-ulps: Update.
41155         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41157
41158 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41159
41160         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41161         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41162         containing bit-fields.
41163         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41164         * soft-fp/single.h (_FP_UNION_S): Likewise.
41165         * soft-fp/double.h (_FP_UNION_D): Likewise.
41166
41167 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41168
41169         [BZ #13786]
41170         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41171         not include ../strcmp.S.
41172         [USE_AS_STRNCASECMP_L]: Likewise.
41173         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41174         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41175         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41176         (__strncasecmp_l_ia32): Define as alias to
41177         __strncasecmp_l_nonascii.
41178
41179         [BZ #5794]
41180         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41181         * sysdeps/i386/fpu/libm-test-ulps: Update.
41182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41183
41184         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41186
41187 2012-02-29  Jeff Law  <law@redhat.com>
41188
41189         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41190         out of bounds read.
41191
41192 2012-02-29  Marek Polacek  <polacek@redhat.com>
41193
41194         [BZ #13706]
41195         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41196         * elf/Makefile: Add rules to run tst-unused-dep.out.
41197
41198 2012-02-28  David S. Miller  <davem@davemloft.net>
41199
41200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41204         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41205         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41206
41207 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41208
41209         * math/libm-test.inc (llround_test): Move one test from
41210         lround_test.  Use TEST_f_L in moved test.
41211         (lround_test): Move misplaced test to llround_test.  Add testcase
41212         from bug 2561.
41213
41214 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41215
41216         * sysdeps/x86_64/fpu/e_expf.S: New file.
41217         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41218
41219 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41220
41221         [BZ #13637]
41222         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41223         of remain_len that may cause incomplete multi-byte character and
41224         false match.
41225         * posix/bug-regex33.c: New file.
41226         * posix/Makefile (tests): Add bug-regex33.
41227
41228 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41229
41230         * manual/macros.texi: New file.
41231         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41232         * manual/libc.texinfo: Include macros.texi.
41233         * manual/creatute.texi: Likewise.
41234         * manual/install.texi: Likewise.
41235         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41236         @glibcadj{} in references to the GNU C Library.
41237         * manual/charset.texi: Likewise.
41238         * manual/conf.texi: Likewise.
41239         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41240         when not using those macros.
41241         * manual/creature.texi: Likewise.
41242         * manual/crypt.texi: Likewise.
41243         * manual/errno.texi: Likewise.
41244         * manual/filesys.texi: Likewise.
41245         * manual/header.texi: Likewise.
41246         * manual/install.texi: Likewise.
41247         * manual/intro.texi: Likewise.
41248         * manual/io.texi: Likewise.
41249         * manual/job.texi: Likewise.
41250         * manual/lang.texi: Likewise.
41251         * manual/libc.texiinfo: Likewise.
41252         * manual/llio.texi: Likewise.
41253         * manual/locale.texi: Likewise.
41254         * manual/maint.texi: Likewise.
41255         * manual/math.texi: Likewise.
41256         * manual/memory.texi: Likewise.
41257         * manual/message.texi: Likewise.
41258         * manual/nss.texi: Likewise.
41259         * manual/pattern.texi: Likewise.
41260         * manual/process.texi: Likewise.
41261         * manual/resource.texi: Likewise.
41262         * manual/search.texi: Likewise.
41263         * manual/setjmp.texi: Likewise.
41264         * manual/signal.texi: Likewise.
41265         * manual/socket.texi: Likewise.
41266         * manual/startup.texi: Likewise.
41267         * manual/stdio.texi: Likewise.
41268         * manual/string.texi: Likewise.
41269         * manual/sysinfo.texi: Likewise.
41270         * manual/syslog.texi: Likewise.
41271         * manual/terminal.texi: Likewise.
41272         * manual/time.texi: Likewise.
41273         * manual/users.texi: Likewise.
41274         * INSTALL: Regenerated.
41275         * NOTES: Regenerated.
41276         * sysdeps/gnu/errlist.c: Regenerated.
41277
41278 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41279
41280         * include/dirent.h: Include <dirstream.h> before
41281         <dirent/dirent.h>.
41282
41283 2012-02-28  David S. Miller  <davem@davemloft.net>
41284
41285         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41286         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41287         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41288         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41289
41290 2012-02-27  David S. Miller  <davem@davemloft.net>
41291
41292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41294         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41295         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41296
41297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41298         frame pointer instead of stack pointer relative arg slot.
41299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41300         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41301         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41302
41303 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41304
41305         [BZ #3992]
41306         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41307
41308 2012-02-27  David S. Miller  <davem@davemloft.net>
41309
41310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41314         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41315         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41316         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41317         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41318
41319 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41320
41321         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41322         later.  Allow versions 5-9.
41323         * configure: Regenerated.
41324         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41325         required minimum version and 4.6 as recommended version.  Do not
41326         mention bugs in GCC 2.7 and 2.8.
41327         * INSTALL: Regenerated.
41328
41329 2012-02-27  David S. Miller  <davem@davemloft.net>
41330
41331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41335         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41336         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41337         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41338         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41339
41340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41341         manipulate bits before adding and subtracting TWO112[sx].
41342         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41343
41344 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41345
41346         [BZ #13775]
41347         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41348         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41349         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41350         being in POSIX, because they are in 1003.1-2008.
41351
41352         * rt/tst-aio.c: Include <fcntl.h>.
41353         * rt/tst-aio7.c: Likewise.
41354         * rt/tst-aio64.c: Likewise.
41355
41356         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41357
41358 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41359
41360         * manual/install.texi (--with-headers): Describe headers as
41361         interface headers, not private headers.
41362         (Specific advice for GNU/Linux systems): Describe use of headers
41363         from "make headers_install", not private headers from older
41364         kernels.
41365         * INSTALL: Regenerated.
41366         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41367         Change to 2.6.19.
41368         * sysdeps/unix/sysv/linux/configure: Regenerated.
41369
41370         * manual/llio.texi (fclean): Remove documentation.
41371
41372         * manual/Makefile (libc-texi-generated): New variable.  Include
41373         version.texi.
41374         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41375         $(libc-texi-generated), not duplicated list of files.
41376         (version.texi, stamp-version): New rules.
41377         (realclean): Remove $(libc-texi-generated), not individual files
41378         from that list.  Do not remove dir-add.texinfo.
41379         * manual/libc.texinfo: Comment out uses of edition numbers and
41380         references to printed manual.  Remove last-updated dates.
41381         (EDITION): Comment out.
41382         (ISBN): Likewise.
41383         (VERSION, UPDATED): Remove.
41384         (version.texi): Include.
41385
41386 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41387
41388         * sysdeps/posix/spawni.c: Include <signal.h>.
41389         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41390         * sysdeps/pthread/aio_fsync.c: Likewise.
41391
41392 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41393
41394         * conform/Makefile (tests): Run only when not cross-compiling and
41395         when fast-check is not defined.
41396
41397         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41398         * conform/data/limits.h-data: Fixes for POSIX2008.
41399         * conform/run-conformtest.sh: Run all tests.
41400         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41401         headers.
41402         * include/bits/dlfcn.h: Likewise.
41403         * include/langinfo.h: Likewise.
41404         * include/monetary.h: Likewise.
41405         * include/sys/poll.h: Likewise.
41406
41407         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41408         for __USE_GNU.
41409         * posix/spawn.h: Define __need_sigset_t.
41410         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41411         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41412         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41413         to get sigevent_t only.
41414         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41415         only for __USE_GNU.
41416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41417         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41418         process_vm_writev only for __USE_GNU.
41419         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41420
41421         * conform/Makefile: For now ignore errors from run-conformtest.
41422         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41423         POSIX to avoid namespace pollution.  Don't prepend headers.
41424         * conform/data/aio.h-data: Fixes for POSIX testing.
41425         * conform/data/fcntl.h-data: Likewise.
41426         * conform/data/glob.h-data: Likewise.
41427         * conform/data/grp.h-data: Likewise.
41428         * conform/data/pthread.h-data: Likewise.
41429         * conform/data/pwd.h-data: Likewise.
41430         * conform/data/signal.h-data: Likewise.
41431         * conform/data/spawn.h-data: Likewise.
41432         * conform/data/stdio.h-data: Likewise.
41433         * conform/data/stdlib.h-data: Likewise.
41434         * conform/data/stropts.h-data: Likewise.
41435         * conform/data/sys/mman.h-data: Likewise.
41436         * conform/data/sys/stat.h-data: Likewise.
41437         * conform/data/sys/types.h-data: Likewise.
41438         * conform/data/sys/wait.h-data: Likewise.
41439         * conform/data/time.h-data: Likewise.
41440         * conform/data/unistd.h-data: Likewise.
41441         * conform/data/utime.h-data: Likewise.
41442
41443         * io/sys/stat.h: fchmod was always in POSIX.
41444         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41445         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41446         * rt/aio.h: Define __need_timespec before including <time.h>.
41447         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41448         struct.  Add forward declaration of pthread_attr_t and use it in
41449         sigevent.
41450         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41452         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41453         always remove CLK_TCK definition.
41454
41455 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41456
41457         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41458
41459 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41460
41461         * conform/run-conformtest.sh: New file.
41462         * conform/Makefile: Run run-conformtest for tests.
41463         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41464         support.
41465
41466         * conform/data/uchar.h-data: New file.
41467         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41468         * conform/data/arpa/inet.h-data: Likewise.
41469         * conform/data/assert.h-data: Likewise.
41470         * conform/data/complex.h-data: Likewise.
41471         * conform/data/cpio.h-data: Likewise.
41472         * conform/data/ctype.h-data: Likewise.
41473         * conform/data/dirent.h-data: Likewise.
41474         * conform/data/dlfcn.h-data: Likewise.
41475         * conform/data/errno.h-data: Likewise.
41476         * conform/data/fcntl.h-data: Likewise.
41477         * conform/data/float.h-data: Likewise.
41478         * conform/data/fmtmsg.h-data: Likewise.
41479         * conform/data/fnmatch.h-data: Likewise.
41480         * conform/data/ftw.h-data: Likewise.
41481         * conform/data/glob.h-data: Likewise.
41482         * conform/data/grp.h-data: Likewise.
41483         * conform/data/iconv.h-data: Likewise.
41484         * conform/data/inttypes.h-data: Likewise.
41485         * conform/data/langinfo.h-data: Likewise.
41486         * conform/data/libgen.h-data: Likewise.
41487         * conform/data/limits.h-data: Likewise.
41488         * conform/data/locale.h-data: Likewise.
41489         * conform/data/math.h-data: Likewise.
41490         * conform/data/monetary.h-data: Likewise.
41491         * conform/data/mqueue.h-data: Likewise.
41492         * conform/data/ndbm.h-data: Likewise.
41493         * conform/data/net/if.h-data: Likewise.
41494         * conform/data/netdb.h-data: Likewise.
41495         * conform/data/netinet/in.h-data: Likewise.
41496         * conform/data/nl_types.h-data: Likewise.
41497         * conform/data/poll.h-data: Likewise.
41498         * conform/data/pthread.h-data: Likewise.
41499         * conform/data/pwd.h-data: Likewise.
41500         * conform/data/regex.h-data: Likewise.
41501         * conform/data/sched.h-data: Likewise.
41502         * conform/data/search.h-data: Likewise.
41503         * conform/data/semaphore.h-data: Likewise.
41504         * conform/data/setjmp.h-data: Likewise.
41505         * conform/data/signal.h-data: Likewise.
41506         * conform/data/spawn.h-data: Likewise.
41507         * conform/data/stdarg.h-data: Likewise.
41508         * conform/data/stdio.h-data: Likewise.
41509         * conform/data/stdlib.h-data: Likewise.
41510         * conform/data/string.h-data: Likewise.
41511         * conform/data/strings.h-data: Likewise.
41512         * conform/data/stropts.h-data: Likewise.
41513         * conform/data/sys/ipc.h-data: Likewise.
41514         * conform/data/sys/mman.h-data: Likewise.
41515         * conform/data/sys/msg.h-data: Likewise.
41516         * conform/data/sys/resource.h-data: Likewise.
41517         * conform/data/sys/select.h-data: Likewise.
41518         * conform/data/sys/sem.h-data: Likewise.
41519         * conform/data/sys/shm.h-data: Likewise.
41520         * conform/data/sys/socket.h-data: Likewise.
41521         * conform/data/sys/stat.h-data: Likewise.
41522         * conform/data/sys/statvfs.h-data: Likewise.
41523         * conform/data/sys/time.h-data: Likewise.
41524         * conform/data/sys/timeb.h-data: Likewise.
41525         * conform/data/sys/times.h-data: Likewise.
41526         * conform/data/sys/types.h-data: Likewise.
41527         * conform/data/sys/uio.h-data: Likewise.
41528         * conform/data/sys/un.h-data: Likewise.
41529         * conform/data/sys/utsname.h-data: Likewise.
41530         * conform/data/sys/wait.h-data: Likewise.
41531         * conform/data/syslog.h-data: Likewise.
41532         * conform/data/tar.h-data: Likewise.
41533         * conform/data/termios.h-data: Likewise.
41534         * conform/data/utime.h-data: Likewise.
41535         * conform/data/utmpx.h-data: Likewise.
41536         * conform/data/varargs.h-data: Likewise.
41537         * conform/data/wchar.h-data: Likewise.
41538         * conform/data/wctype.h-data: Likewise.
41539         * conform/data/wordexp.h-data: Likewise.
41540
41541         * include/stropts.h: New file.
41542         * include/uchar.h: New file.
41543         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41544         * include/assert.h: Likewise.
41545         * include/ctype.h: Likewise.
41546         * include/dirent.h: Likewise.
41547         * include/dlfcn.h: Likewise.
41548         * include/fcntl.h: Likewise.
41549         * include/fnmatch.h: Likewise.
41550         * include/glob.h: Likewise.
41551         * include/grp.h: Likewise.
41552         * include/libio.h: Likewise.
41553         * include/locale.h: Likewise.
41554         * include/math.h: Likewise.
41555         * include/net/if.h: Likewise.
41556         * include/netdb.h: Likewise.
41557         * include/netinet/in.h: Likewise.
41558         * include/pthread.h: Likewise.
41559         * include/pwd.h: Likewise.
41560         * include/regex.h: Likewise.
41561         * include/sched.h: Likewise.
41562         * include/search.h: Likewise.
41563         * include/setjmp.h: Likewise.
41564         * include/signal.h: Likewise.
41565         * include/stdio.h: Likewise.
41566         * include/stdlib.h: Likewise.
41567         * include/string.h: Likewise.
41568         * include/sys/cdefs.h: Likewise.
41569         * include/sys/mman.h: Likewise.
41570         * include/sys/msg.h: Likewise.
41571         * include/sys/resource.h: Likewise.
41572         * include/sys/select.h: Likewise.
41573         * include/sys/socket.h: Likewise.
41574         * include/sys/stat.h: Likewise.
41575         * include/sys/statvfs.h: Likewise.
41576         * include/sys/time.h: Likewise.
41577         * include/sys/times.h: Likewise.
41578         * include/sys/uio.h: Likewise.
41579         * include/sys/utsname.h: Likewise.
41580         * include/sys/wait.h: Likewise.
41581         * include/termios.h: Likewise.
41582         * include/time.h: Likewise.
41583         * include/ulimit.h: Likewise.
41584         * include/unistd.h: Likewise.
41585         * include/utime.h: Likewise.
41586         * include/wchar.h: Likewise.
41587         * include/wctype.h: Likewise.
41588         * include/wordexp.h: Likewise.
41589
41590         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41591
41592         * time/time.h: TIME_UTC must be a macro.
41593         Make timespec_get available for ISO C11 only as well.
41594
41595 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41596
41597         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41598         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41599
41600 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41601
41602         * configure.in: Use -o not -a in test for unsupported multi-arch.
41603
41604 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41605
41606         * manual/texinfo.tex: Update to version 2012-01-19.16.
41607
41608 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41609
41610         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41611
41612 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41613
41614         [BZ #13738]
41615         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41616         * manual/fdl-1.3.texi: New file.
41617         * manual/fdl-1.1.texi: File removed.
41618
41619         [BZ #13738]
41620         * manual/libc.texinfo (FDL_VERSION): New @set.
41621         Use it for mention of FDL in cover text.
41622         (Documentation License): Use it in @include file name.
41623
41624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41625             Roland McGrath  <roland@hack.frob.com>
41626
41627         [BZ #5461]
41628         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41629         (not LONG_LONG_MAX and LONG_LONG_MIN.
41630         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41631         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41632         name.
41633         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41634
41635 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41636
41637         [BZ #2547]
41638         [BZ #11365]
41639         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41640         manipulate bits before adding and subtracting TWO23[sx].
41641         * math/libm-test.inc (nearbyint_test): Add more tests.
41642
41643 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41644
41645         [BZ #2548]
41646         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41647         bits before adding and subtracting TWO23[sx].
41648         * math/libm-test.inc (rint_test): Add more tests.
41649         (rint_test_tonearest): Likewise.
41650         (rint_test_towardzero): Likewise.
41651         (rint_test_downward): Likewise.
41652         (rint_test_upward: Likewise.
41653
41654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41655
41656         [BZ #10110]
41657         * include/stdc-predef.h: New file.  Extracted from features.h.
41658         * include/features.h: Include stdc-predef.h.
41659         * Makefile (headers): Add stdc-predef.h.
41660         * CONFORMANCE (Compiler limitations): Update.
41661
41662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41663
41664         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41665
41666 2012-02-21  David S. Miller  <davem@davemloft.net>
41667
41668         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41669         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41670
41671 2012-02-20  David S. Miller  <davem@davemloft.net>
41672
41673         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41674         using a normal save/restore sequence, rather than allocating a
41675         dummy stack frame just to store a frame pointer and restore.
41676         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41677
41678 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41679
41680         * manual/install.texi: Fix stray word in line-wrapped comment.
41681
41682 2012-02-20  David S. Miller  <davem@davemloft.net>
41683
41684         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41685         both binutils and gcc support GOTDATA.
41686
41687         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41688         "rd %pc" in the PIC register setup sequences.
41689
41690         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41691         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41692         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41693         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41694         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41697         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41699         (SYSCALL_ERROR_HANDLER): Likewise.
41700         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41701         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41703         (SYSCALL_ERROR_HANDLER): Likewise.
41704
41705         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41706         (HAVE_GCC_GOTDATA): New.
41707         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41708         relocation support in both binutils and gcc.
41709         * sysdeps/sparc/elf/configure: Regenerate.
41710
41711         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41712         * sysdeps/sparc/sparc32/elf/configure: Delete.
41713         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41714         * sysdeps/sparc/sparc64/elf/configure: Delete.
41715         * sysdeps/sparc/elf/configure.in: New file.
41716         * sysdeps/sparc/elf/configure: Generate.
41717
41718         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41719         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41720         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41721         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41722         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41723
41724 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41725
41726         * manual/install.texi: Do not mention specific glibc version
41727         numbers.
41728         * manual/libc.texinfo (VERSION, UPDATED): Update.
41729         (@copying): Use @copyright{} and range of years.
41730
41731 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41732
41733         [BZ #13695]
41734         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41735         [crti.S not in sysdirs] (generated): Do not append.
41736         [crti.S not in sysdirs] (omit-deps): Likewise.
41737         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41738         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41739         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41740         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41741         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41742         Likewise.
41743         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41744         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41745         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41746         * csu/defs.awk: Remove file.
41747         * sysdeps/generic/initfini.c: Likewise.
41748         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41749         variable.
41750         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41751         Likewise.
41752
41753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41754
41755         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41756         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41757         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41760         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41761         <bits/epoll.h>.
41762         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41763         (__EPOLL_PACKED): Define to empty if not defined by
41764         <bits/epoll.h>.
41765         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41767         bits/epoll.h.
41768
41769 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41770
41771         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41772         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41773         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41774         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41775         <bits/timerfd.h>.
41776         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41778         bits/timerfd.h.
41779
41780 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41781
41782         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41783         in C locale.
41784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41786         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41788
41789 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41790
41791         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41793
41794 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41795
41796         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41797         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41798         defined.
41799         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41800         Likewise.
41801         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41802         entry for 2.16.
41803
41804 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41805
41806         * math/w_acos.c: Use non-signaling floating-point comparisons.
41807         * math/w_acosf.c: Likewise.
41808         * math/w_acosh.c: Likewise.
41809         * math/w_acoshf.c: Likewise.
41810         * math/w_acoshl.c: Likewise.
41811         * math/w_acosl.c: Likewise.
41812         * math/w_asin.c: Likewise.
41813         * math/w_asinf.c: Likewise.
41814         * math/w_asinl.c: Likewise.
41815         * math/w_atanh.c: Likewise.
41816         * math/w_atanhf.c: Likewise.
41817         * math/w_atanhl.c: Likewise.
41818         * math/w_exp2.c: Likewise.
41819         * math/w_exp2f.c: Likewise.
41820         * math/w_exp2l.c: Likewise.
41821         * math/w_j0.c: Likewise.
41822         * math/w_j0f.c: Likewise.
41823         * math/w_j0l.c: Likewise.
41824         * math/w_j1.c: Likewise.
41825         * math/w_j1f.c: Likewise.
41826         * math/w_j1l.c: Likewise.
41827         * math/w_jn.c: Likewise.
41828         * math/w_jnf.c: Likewise.
41829         * math/w_log.c: Likewise.
41830         * math/w_log10.c: Likewise.
41831         * math/w_log10f.c: Likewise.
41832         * math/w_log10l.c: Likewise.
41833         * math/w_log2.c: Likewise.
41834         * math/w_log2f.c: Likewise.
41835         * math/w_log2l.c: Likewise.
41836         * math/w_logf.c: Likewise.
41837         * math/w_logl.c: Likewise.
41838         * math/w_sqrt.c: Likewise.
41839         * math/w_sqrtf.c: Likewise.
41840         * math/w_sqrtl.c: Likewise.
41841         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41842         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41843         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41844         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41845         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41846
41847 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41848
41849         [BZ #9739]
41850         * manual/string.texi (strnlen): Use correct parameter name in
41851         equivalent expression.
41852
41853 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41854
41855         [BZ #11174]
41856         * manual/users.texi (seteuid): Consistently use neweuid for
41857         argument name.
41858
41859 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41860
41861         [BZ #13704]
41862         * manual/nss.texi (Services in the NSS configuration): Correct
41863         list of services in example configuration file.
41864
41865 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41866
41867         [BZ #11322]
41868         * manual/arith.texi: Remove statements about negative zero
41869         behaving identically to zero.
41870
41871 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41872
41873         [BZ #5993]
41874         * manual/install.texi: Do not document upgrading from libc5.
41875
41876 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41877
41878         [BZ #4596]
41879         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41880
41881 2012-02-18  David S. Miller  <davem@davemloft.net>
41882
41883         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41884         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41885         %o7 across the call.
41886         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41887         instead.
41888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41889         SETUP_PIC_REG_LEAF.
41890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41891         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41892         * sysdeps/sparc/crtn.S: Likewise.
41893
41894 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41895
41896         * aout/Makefile: Remove.
41897
41898 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41899
41900         [BZ #13058]
41901         * manual/examples/argp-ex1.c (main): Format definition in GNU
41902         style.
41903         * manual/examples/argp-ex2.c (main): Likewise.
41904         * manual/examples/argp-ex3.c (main): Likewise.
41905         * manual/examples/argp-ex4.c (main): Likewise.
41906         * manual/examples/longopt.c (main): Use new-style prototype
41907         definition.
41908         * manual/examples/strncat.c (main): Specify return type and use
41909         (void) for arguments.
41910         * manual/examples/subopt.c (main): Use char **argv argument.
41911
41912 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41913
41914         [BZ #5077]
41915         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41916         rounding modes.
41917
41918 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41919
41920         [BZ #6907]
41921         * manual/string.texi (strchr): Change when strchrnul is
41922         recommended.
41923
41924 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41925
41926         [BZ #174]
41927         * manual/locale.texi (setlocale): Document LOCPATH.
41928
41929 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41930
41931         [BZ #10210]
41932         * manual/process.texi (execle): Move @dots{} before last argument.
41933
41934 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41935
41936         [BZ #12047]
41937         * manual/charset.texi (Generic Charset Conversion): Fix typo
41938         (LC_TYPE -> LC_CTYPE).
41939
41940 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41941
41942         [BZ #5805]
41943         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41944         (scalbnf): Likewise.
41945         (scalbnl): Likewise.
41946         (scalbln): Likewise.
41947         (scalblnf): Likewise.
41948         (scalblnl): Likewise.
41949         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41950         (vwarnx): Likewise.
41951         (verr): Likewise.
41952         (verrx): Likewise.
41953         * manual/filesys.texi (telldir): Use braces around return type.
41954         * manual/llio.texi (mmap): Add space after comma.
41955         (mmap64): Likewise.
41956         * manual/math.texi (jn): Use @var{} on parameter names.
41957         (jnf): Likewise.
41958         (jnl): Likewise.
41959         (yn): Likewise.
41960         (ynf): Likewise.
41961         (ynl): Likewise.
41962         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41963         line.
41964         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41965         "...".
41966         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41967         (sched_get_priority_max): Likewise.
41968         * manual/signal.texi (sigvec): Add space after comma.
41969         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41970         names.
41971         (if_indextoname): Likewise.
41972         (if_freenameindex): Likewise.
41973         (sendto): Use ',' instead of '.' in prototype.
41974         * manual/startup.texi (syscall): Use @dots{} instead of literal
41975         "...".
41976         * manual/stdio.texi (__fpending): Separate initial words of
41977         paragraph from @deftypefun line.
41978         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41979         "...".
41980         (vsyslog): Use @var{} on parameter names.
41981         * manual/terminal.texi (stty): Use @var{} on parameter names.
41982         * manual/users.texi (getutmp): Use @var{} on parameter names.
41983         (getutmpx): Likewise.
41984
41985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41986
41987         [BZ #6884]
41988         * manual/stdio.texi (fopen): Fix typos in description of
41989         ",ccs=STRING".
41990
41991 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41992
41993         [BZ #4026]
41994         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41995         get clock_id definition.
41996
41997 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41998
41999         [BZ #4822]
42000         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42001         (madvise): Cast every argument to void on its own.
42002
42003 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42004
42005         [BZ #9902]
42006         * manual/startup.texi (Exit Status): Fix typo.
42007
42008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42009
42010         [BZ #10140]
42011         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42012         * manual/examples/argp-ex2.c: Likewise.
42013         * manual/examples/argp-ex3.c: Likewise.
42014
42015 2012-02-16  Richard Henderson  <rth@redhat.com>
42016
42017         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42018         * sysdeps/s390/s390-32/initfini.c: Remove.
42019         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42020         * sysdeps/s390/s390-64/initfini.c: Remove.
42021
42022 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42023
42024         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42025         compiler output for sysdeps/generic/initfini.c.
42026         * sysdeps/sh/elf/initfini.c: Remove file.
42027
42028 2012-02-16  David S. Miller  <davem@davemloft.net>
42029
42030         [BZ #11494]
42031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42032
42033         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42034         * sysdeps/sparc/crti.S: New file.
42035         * sysdeps/sparc/crtn.S: New file.
42036         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42037         * sysdeps/sparc/sparc64/Makefile: Likewise.
42038
42039 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42040
42041         [BZ #3335]
42042         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42043
42044 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42045
42046         [BZ #4822]
42047         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42048
42049         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42050         (write, read, close): Likewise.
42051         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42052
42053 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42054
42055         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42056         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42057         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42058         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42059         <bits/signalfd.h>.
42060         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42062         bits/signalfd.h.
42063
42064 2012-02-14  Marek Polacek  <polacek@redhat.com>
42065
42066         * sysdeps/x86_64/crti.S: New file.
42067         * sysdeps/x86_64/crtn.S: New file.
42068         * sysdeps/x86_64/elf/initfini.c: Remove file.
42069
42070 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42071
42072         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42073         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42074         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42075         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42076         <bits/inotify.h>.
42077         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42079         bits/inotify.h.
42080
42081 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42082
42083         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42084         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42085         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42086         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42087         <bits/eventfd.h>.
42088         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42090         bits/eventfd.h.
42091
42092 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42093
42094         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42095         __feraiseexcept instead of feraiseexcept.
42096
42097         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42098         nanosleep invocations.
42099         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42100         strings, and add error checking for a nanosleep invocations.
42101
42102 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42103
42104         Replace FSF snail mail address with URLs, as per GNU coding standards.
42105         Most of the snail mail addresses were wrong anyway, and omitting
42106         them makes the source code easier to maintain.  Almost all of the
42107         changes are to license notices and to locale LC_IDENTIFICATION
42108         addresses, except for this one:
42109         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42110         not its snail mail address.
42111
42112 2012-02-09  Richard Henderson  <rth@twiddle.net>
42113
42114         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42115         of kernel-features.h.
42116
42117         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42118
42119 2012-02-08  Marek Polacek  <polacek@redhat.com>
42120
42121         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42122         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42123         * sysdeps/gnu/_G_config.h: Likewise.
42124         * sysdeps/generic/_G_config.h: Likewise.
42125
42126 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42127
42128         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42129         tests.
42130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42131
42132         * sysdeps/powerpc/powerpc32/crti.S: New file.
42133         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42134         * sysdeps/powerpc/powerpc64/crti.S: New file.
42135         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42136
42137         * Makeconfig (have-initfini): Don't set.
42138         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42139         * configure.in (nopic_initfini): Don't substitute.
42140         * config.h.in (HAVE_INITFINI): Don't #undef.
42141         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42142         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42143
42144 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42145
42146         Support crti.S and crtn.S provided directly by architectures.
42147         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42148         [crti.S in sysdirs] (omit-deps): Likewise.
42149         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42150         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42151         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42152         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42153         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42154         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42155         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42156         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42157         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42158         compiler output for sysdeps/generic/initfini.c.
42159         * sysdeps/i386/elf/Makefile: Remove file.
42160         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42161
42162 2012-02-07  Marek Polacek  <polacek@redhat.com>
42163
42164         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42165         * sysdeps/gnu/_G_config.h: Likewise.
42166         * sysdeps/mach/hurd/_G_config.h: Likewise.
42167
42168 2012-02-07  Marek Polacek  <polacek@redhat.com>
42169
42170         * math/Makefile (tests): Add tst-CMPLX2.
42171         * math/tst-CMPLX2.c: New file.
42172
42173 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42174
42175         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42176
42177         * math/libm-test.inc (jn_test): Add missing L suffix.
42178
42179 2012-02-06  Marek Polacek  <polacek@redhat.com>
42180
42181         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42182         * sysdeps/i386/fpu/e_powf.S: Likewise.
42183         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42184         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42185         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42186         * sysdeps/i386/fpu/e_pow.S: Likewise.
42187         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42188         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42189         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42190         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42191         * sysdeps/i386/fpu/e_log2.S: Likewise.
42192         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42193         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42194         * sysdeps/i386/fpu/e_powl.S: Likewise.
42195         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42197         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42198         * sysdeps/i386/fpu/e_logl.S: Likewise.
42199         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42200         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42201         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42202         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42203         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42204         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42205         * sysdeps/i386/fpu/e_log.S: Likewise.
42206         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42207         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42208         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42209         * sysdeps/i386/fpu/e_logf.S: Likewise.
42210         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42211         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42212         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42213         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42214         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42215         * sysdeps/i386/fpu/e_log10.S: Likewise.
42216         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42217         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42218         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42219         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42220         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42221         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42222         * sysdeps/i386/asm-syntax.h: Likewise.
42223         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42224         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42226         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42227         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42229         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42230         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42231         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42232         * sysdeps/powerpc/sysdep.h: Likewise.
42233         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42234         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42235
42236 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42237
42238         [BZ #411]
42239         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42240
42241 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42242
42243         * sysdeps/i386/sysdep.h: Include <features.h>.
42244         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42245         version.
42246
42247 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42248
42249         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42250         Define.
42251         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42252         LOAD_PIC_REG_STR.
42253
42254 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42255
42256         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42257         (SETUP_PIC_REG): Use GET_PC_THUNK.
42258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42259         macro.
42260
42261 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42262
42263         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42264         for non-PIC compilation.
42265         (SETUP_PIC_REG): Add .p2align directive.
42266         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42267         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42268         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42269         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42270         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42271         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42272         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42274         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42275         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42276         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42277         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42278         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42279         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42280         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42281         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42282         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42283         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42284         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42285         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42293         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42294         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42295         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42298         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42299         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42300         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42301         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42302         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42303         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42304         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42305         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42306         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42307
42308 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42309
42310         * math/tst-CMPLX.c: Include <stdio.h>.
42311
42312 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42313
42314         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42315         float.
42316         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42317         * sysdeps/sparc/bits/mathdef.h: Likewise.
42318
42319 2012-01-31  Marek Polacek  <polacek@redhat.com>
42320
42321         * libio/libio.h: Don't define _PARAMS.
42322         * locale/programs/config.h: Don't define PARAMS.
42323         * stdlib/strtol_l.c: Likewise.
42324         (__strtol_l): Remove PARAMS from the prototype.
42325
42326 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42327
42328         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42329         names.  Just use the correct names.  Remove unnecessary wrapper
42330         functions.
42331         * malloc/arena.c: Likewise.
42332         * malloc/hooks.c: Likewise.
42333
42334         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42335         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42336         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42337
42338 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42339
42340         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42341         into tail calls.
42342         (update_get_addr): New function.
42343         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42344         GET_ADDR_MODULE parameter.
42345
42346 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42347
42348         * crypt/cert.c: Remove __STDC__ conditionals.
42349         * crypt/crypt-entry.c: Likewise.
42350         * crypt/crypt_util.c: Likewise.
42351         * libio/filedoalloc.c: Likewise.
42352         * libio/fileops.c: Likewise.
42353         * libio/genops.c: Likewise.
42354         * libio/iofclose.c: Likewise.
42355         * libio/iofdopen.c: Likewise.
42356         * libio/iofopen.c: Likewise.
42357         * libio/iofopen64.c: Likewise.
42358         * libio/iogetdelim.c: Likewise.
42359         * libio/iopopen.c: Likewise.
42360         * libio/obprintf.c: Likewise.
42361         * libio/oldfileops.c: Likewise.
42362         * libio/oldiofclose.c: Likewise.
42363         * libio/oldiofdopen.c: Likewise.
42364         * libio/oldiofopen.c: Likewise.
42365         * libio/oldiopopen.c: Likewise.
42366         * libio/wfiledoalloc.c: Likewise.
42367         * libio/wgenops.c: Likewise.
42368         * locale/programs/xmalloc.c: Likewise.
42369         * misc/syslog.c: Likewise.
42370         * stdio-common/xbug.c: Likewise.
42371         * string/memchr.c: Likewise.
42372         * string/memcmp.c: Likewise.
42373         * string/memrchr.c: Likewise.
42374         * string/rawmemchr.c: Likewise.
42375         * sysdeps/posix/getcwd.c: Likewise.
42376         * time/strftime_l.c: Likewise.
42377
42378 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42379
42380         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42381         * config.make.in (config-cflags-sse2avx): Define.
42382         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42383         Fix typo.
42384
42385 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42386
42387         * scripts/config.guess: Update from upstream config git repository.
42388         * scripts/config.sub: Likewise.
42389
42390 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42391
42392         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42393         (EM_NUM): Update.
42394         (R_TILEPRO_*, R_TILEGX_*): New macros.
42395
42396         * scripts/firstversions.awk: Fix bug in version range handling.
42397
42398         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42399
42400         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42401
42402         * include/sys/epoll.h: New file.
42403         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42404         libc_hidden_def.
42405
42406 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42407
42408         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42409         Avoid unnecessary __WORDSIZE == 64 test.
42410         (fmaxf): Use VEX format if possible.
42411         (fmax): Likewise.
42412         (fminf): Likewise.
42413         (fmin): Likewise.
42414
42415         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42416         * math/math_private.h: Remove libc_fegetround* and
42417         libc_fesetround*.
42418         * sysdeps/i386/configure.in: Check for -msse2avx.
42419         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42420         also if SSE2AVX is defined.
42421         Remove libc_fegetround* and libc_fesetround*.
42422         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42423         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42424         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42425         of HAS_YMM_USABLE.
42426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42427         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42428         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42430         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42431
42432         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42433
42434 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42435
42436         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42437         size is not set.
42438         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42439
42440 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42441
42442         [BZ #13618]
42443         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42444         relocation.
42445         * Makeconfig (libm): Define.
42446         * elf/Makefile: Add rules to build and run tst-relsort1.
42447         * elf/tst-relsort1.c: New file.
42448         * elf/tst-relsort1mod1.c: New file.
42449         * elf/tst-relsort1mod2.c: New file.
42450
42451 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42452
42453         * math/s_ldexp.c: Remove __STDC__ conditionals.
42454         * math/s_ldexpf.c: Likewise.
42455         * math/s_ldexpl.c: Likewise.
42456         * math/s_nextafter.c: Likewise.
42457         * math/s_nexttowardf.c: Likewise.
42458         * math/s_significand.c: Likewise.
42459         * math/s_significandf.c: Likewise.
42460         * math/s_significandl.c: Likewise.
42461         * math/w_jnl.c: Likewise.
42462         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42463         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42464         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42465         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42466         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42468         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42469         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42470         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42471         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42472         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42473         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42474         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42475         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42476         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42477         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42478         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42479         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42481         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42482         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42483         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42484         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42486         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42487         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42490         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42491         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42492         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42493         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42494         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42495         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42496         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42498         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42499         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42500         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42501         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42502         * sysdeps/ieee754/k_standard.c: Likewise.
42503         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42504         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42506         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42507         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42508         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42509         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42510         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42511         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42512         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42513         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42514         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42515         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42516         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42522         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42525         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42526         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42527         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42528         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42529         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42532         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42534         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42535         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42536         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42537         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42538         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42543         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42545         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42546         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42549         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42552         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42553         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42556         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42558         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42559         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42560         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42561         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42562         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42563         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42564         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42565         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42570         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42571         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42572         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42573         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42574         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42575         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42576         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42577         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42578         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42579         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42580         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42581         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42582         * sysdeps/ieee754/s_matherr.c: Likewise.
42583         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42584         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42587
42588 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42589
42590         * crypt/md5.h: Remove __STDC__ conditionals.
42591         * libio/libioP.h: Likewise.
42592         * locale/programs/config.h: Likewise.
42593         * sysdeps/generic/sysdep.h: Likewise.
42594         * sysdeps/i386/asm-syntax.h: Likewise.
42595         * sysdeps/s390/asm-syntax.h: Likewise.
42596         * sysdeps/unix/sysdep.h: Likewise.
42597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42599
42600 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42601
42602         * libio/libio.h: Remove __STDC__ conditionals.
42603         * malloc/obstack.h: Likewise.
42604         * math/complex.h: Likewise.
42605         * math/math.h: Likewise.
42606         * sysdeps/generic/_G_config.h: Likewise.
42607         * sysdeps/gnu/_G_config.h: Likewise.
42608         * sysdeps/mach/hurd/_G_config.h: Likewise.
42609         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42610         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42611         * sysdeps/sparc/bits/mathdef.h: Likewise.
42612
42613 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42614
42615         [BZ #13583]
42616         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42617         Clean up HAS_* macros.
42618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42619         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42620         possible.
42621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42622         HAS_AVX.
42623         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42624         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42625         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42626         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42627         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42628
42629 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42630
42631         * elf/tst-unique3.cc (gets): Remove declaration.
42632         * elf/tst-unique3lib.cc (gets): Likewise.
42633         * elf/tst-unique3lib2.cc (gets): Likewise.
42634         * elf/tst-unique4.cc (gets): Likewise.
42635
42636 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42637
42638         * include/stdio.h: Add C++ protection.  Add gets declarations and
42639         definitions.
42640         * debug/tst-chk1.c: Don't declare gets here.
42641         * stdio-common/tst-gets.c: Likewise.
42642
42643 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42644
42645         * posix/glob: Remove directory.
42646
42647 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42648
42649         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42650
42651 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42652
42653         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42654         of the non-standard EPFNOSUPPORT.
42655
42656 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42657
42658         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42659         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42660         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42661
42662 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42663
42664         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42665
42666 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42667
42668         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42669         transient errors.
42670         * nscd/grpcache.c (cache_addgr): Likewise.
42671         * nscd/hstcache.c (cache_addhst): Likewise.
42672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42673         * nscd/pwdcache.c (cache_addpw): Likewise.
42674         * nscd/servicescache.c (cache_addserv): Likewise.
42675
42676 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42677
42678         * malloc/malloc.c: Various cleanups.
42679         * malloc/hooks.c: Likewise.
42680
42681         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42682         * stdlib/bug-fmtmsg1.c: New file.
42683
42684         * stdlib/fmtmsg.c (init): Add missing unlock.
42685         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42686
42687 2012-01-12  Marek Polacek  <polacek@redhat.com>
42688
42689         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42690         and _GNU_SOURCE.
42691
42692 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42693
42694         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42695         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42696         macro to ensure uniqueness of label name.
42697         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42698         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42699
42700 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42701
42702         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42703
42704         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42705         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42708
42709 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42710
42711         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42712
42713         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42714         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42715         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42716
42717         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42718
42719         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42720         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42721         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42723
42724         * math/bits/math-finite.h: Add ldexp support.
42725
42726 2012-01-10  Marek Polacek  <polacek@redhat.com>
42727
42728         * locale/programs/localedef.h (show_archive_content): Add noreturn
42729         attribute.
42730
42731 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42732
42733         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42734
42735 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42736
42737         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42738
42739         * io/Makefile (headers): Add bits/poll2.h.
42740
42741 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42742
42743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42744         typo #include statement.
42745
42746 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42747
42748         * include/sys/cdefs.h: Define __attribute_alloc_size.
42749         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42750         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42751         * elf/pldd.c: Likewise.
42752         * iconv/iconv_charmap.c: Likewise.
42753         * iconv/iconvconfig.c: Likewise.
42754         * iconv/strtab.c: Likewise.
42755         * locale/programs/locale.c: Likewise.
42756         * locale/programs/localedef.h: Likewise.
42757         * locale/programs/simple-hash.c: Likewise.
42758         * nscd/nscd.h: Likewise.
42759         * nss/makedb.c: Likewise.
42760         * sysdeps/generic/ldconfig.h: Likewise.
42761         * locale/programs/localedef.c: Remove xmalloc prototype.
42762         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42763
42764 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42765
42766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42767         appropriate.
42768
42769 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42770
42771         * math/Makefile (tests): Add tst-CMPLX.
42772         * math/tst-CMPLX.c: New file.
42773
42774         * math/complex.h (CMPLXL): Fix typo.
42775
42776         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42777         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42778         GLIBC_2.16.
42779         * debug/tst-chk1.c: Add poll and ppoll tests.
42780         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42781         * include/sys/poll.h: Add hidden proto for ppoll.
42782         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42783         * sysdeps/mach/hurd/ppoll.c: Likewise.
42784         * io/ppoll.c: Likewise.
42785         * debug/poll_chk.c: New file.
42786         * debug/ppoll_chk.c: New file.
42787         * include/bits/poll2.h: New file.
42788         * io/bits/poll2.h: New file.
42789
42790         [BZ #1350]
42791         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42792
42793         * configure.in: static is always set to yes.  Remove.
42794         * config.make.in: Don't set build-static.
42795         * Makeconfig: Remove use of build-static.
42796         * dlfcn/Makefile: Likewise.
42797         * elf/Makefile: Likewise.
42798         * math/Makefile: Likewise.
42799         * misc/Makefile: Likewise.
42800         * nptl/Makefile: Likewise.
42801         * sysdeps/mach/hurd/Makefile: Likewise.
42802
42803         * configure.in: PWD_P is not used anymore.
42804         * config.make.in: Remove PWD_P entry.
42805
42806         * configure.in: Remove last remnants of RANLIB.
42807         No need to check for signed size_t anymore.
42808         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42809         and IA-64.
42810         Remove __builtin_expect test because we require at least gcc 3.4.
42811         * aclocal.m4: Likewise.
42812
42813         * wcsmbs/mbrtoc16.c: Implement using towc function.
42814         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42815         * wcsmbs/wcsmbsload.c: Likewise.
42816         * iconv/gconv_simple.c: Likewise.
42817         * iconv/gconv_int.h: Likewise.
42818         * iconv/gconv_builtin.h: Likewise.
42819         * iconv/iconv_prog.c: Remove CHAR16 handling.
42820
42821         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42822
42823         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42824
42825         * configure.in: Remove --with-elf and --enable-bounded options.
42826         Dont set base_machine for ia64.  More non-ELF conditions removed.
42827         Remove testing and setting of leading underscore information.
42828         * config.make.in (build-bounded): Set to no.
42829         * config.h.in: Remove NO_UNDERSCORES entry.
42830         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42831         them.
42832         * csu/start.c: Remove !NO_UNDERSCORE code.
42833         * locale/localeinfo.h: Likewise.
42834         * sysdeps/generic/machine-gmon.h: Likewise.
42835         * sysdeps/generic/sysdep.h: Likewise.
42836         * sysdeps/i386/sysdep.h: Likewise.
42837         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42838         * sysdeps/mach/sysdep.h: Likewise.
42839         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42841         * sysdeps/sh/sysdep.h: Likewise.
42842         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42843         * sysdeps/unix/i386/sysdep.S: Likewise.
42844         * sysdeps/unix/sparc/start.c: Likewise.
42845         * sysdeps/unix/sparc/sysdep.S: Likewise.
42846         * sysdeps/unix/sparc/sysdep.h: Likewise.
42847         * sysdeps/unix/start.c: Likewise.
42848         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42849         * sysdeps/x86_64/sysdep.h: Likewise.
42850
42851 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42852
42853         [BZ #13553]
42854         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42855         for non-gcc.
42856         * argp/argp-fmtstream.h: Use const instead __const.
42857         * argp/argp.h: Likewise.
42858         * assert/assert.h: Likewise.
42859         * bits/fenv.h: Likewise.
42860         * bits/sched.h: Likewise.
42861         * bits/sigset.h: Likewise.
42862         * bits/sigthread.h: Likewise.
42863         * catgets/nl_types.h: Likewise.
42864         * conform/data/pthread.h-data: Likewise.
42865         * crypt/crypt-private.h: Likewise.
42866         * crypt/crypt.h: Likewise.
42867         * crypt/crypt_util.c: Likewise.
42868         * ctype/ctype.h: Likewise.
42869         * debug/execinfo.h: Likewise.
42870         * debug/mbsnrtowcs_chk.c: Likewise.
42871         * debug/mbsrtowcs_chk.c: Likewise.
42872         * debug/wcsnrtombs_chk.c: Likewise.
42873         * debug/wcsrtombs_chk.c: Likewise.
42874         * debug/wcstombs_chk.c: Likewise.
42875         * dirent/dirent.h: Likewise.
42876         * dlfcn/dlfcn.h: Likewise.
42877         * elf/neededtest4.c: Likewise.
42878         * grp/grp.h: Likewise.
42879         * gshadow/gshadow.h: Likewise.
42880         * iconv/gconv.h: Likewise.
42881         * iconv/gconv_int.h: Likewise.
42882         * iconv/gconv_simple.c: Likewise.
42883         * iconv/iconv.h: Likewise.
42884         * iconv/loop.c: Likewise.
42885         * iconv/skeleton.c: Likewise.
42886         * include/aio.h: Likewise.
42887         * include/aliases.h: Likewise.
42888         * include/argz.h: Likewise.
42889         * include/arpa/inet.h: Likewise.
42890         * include/assert.h: Likewise.
42891         * include/dirent.h: Likewise.
42892         * include/dlfcn.h: Likewise.
42893         * include/execinfo.h: Likewise.
42894         * include/fcntl.h: Likewise.
42895         * include/fenv.h: Likewise.
42896         * include/glob.h: Likewise.
42897         * include/grp.h: Likewise.
42898         * include/libintl.h: Likewise.
42899         * include/mntent.h: Likewise.
42900         * include/netdb.h: Likewise.
42901         * include/pwd.h: Likewise.
42902         * include/rpc/netdb.h: Likewise.
42903         * include/sched.h: Likewise.
42904         * include/search.h: Likewise.
42905         * include/shadow.h: Likewise.
42906         * include/signal.h: Likewise.
42907         * include/stdio.h: Likewise.
42908         * include/stdlib.h: Likewise.
42909         * include/string.h: Likewise.
42910         * include/sys/socket.h: Likewise.
42911         * include/sys/stat.h: Likewise.
42912         * include/sys/statfs.h: Likewise.
42913         * include/sys/statvfs.h: Likewise.
42914         * include/sys/syslog.h: Likewise.
42915         * include/sys/time.h: Likewise.
42916         * include/sys/uio.h: Likewise.
42917         * include/time.h: Likewise.
42918         * include/unistd.h: Likewise.
42919         * include/utmp.h: Likewise.
42920         * include/wchar.h: Likewise.
42921         * include/wctype.h: Likewise.
42922         * inet/aliases.h: Likewise.
42923         * inet/arpa/inet.h: Likewise.
42924         * inet/netinet/ether.h: Likewise.
42925         * inet/netinet/in.h: Likewise.
42926         * intl/libintl.h: Likewise.
42927         * io/bits/fcntl2.h: Likewise.
42928         * io/fcntl.h: Likewise.
42929         * io/ftw.h: Likewise.
42930         * io/sys/poll.h: Likewise.
42931         * io/sys/stat.h: Likewise.
42932         * io/sys/statfs.h: Likewise.
42933         * io/sys/statvfs.h: Likewise.
42934         * io/utime.h: Likewise.
42935         * libio/bits/stdio.h: Likewise.
42936         * libio/bits/stdio2.h: Likewise.
42937         * libio/libio.h: Likewise.
42938         * libio/libioP.h: Likewise.
42939         * libio/stdio.h: Likewise.
42940         * locale/lc-ctype.c: Likewise.
42941         * locale/locale.h: Likewise.
42942         * login/utmp.h: Likewise.
42943         * malloc/arena.c: Likewise.
42944         * malloc/malloc.c: Likewise.
42945         * malloc/malloc.h: Likewise.
42946         * malloc/mcheck.c: Likewise.
42947         * malloc/mtrace.c: Likewise.
42948         * math/bits/mathcalls.h: Likewise.
42949         * math/fenv.h: Likewise.
42950         * math/math_private.h: Likewise.
42951         * misc/bits/error.h: Likewise.
42952         * misc/bits/syslog.h: Likewise.
42953         * misc/err.h: Likewise.
42954         * misc/error.h: Likewise.
42955         * misc/fstab.h: Likewise.
42956         * misc/mntent.h: Likewise.
42957         * misc/regexp.h: Likewise.
42958         * misc/search.h: Likewise.
42959         * misc/sgtty.h: Likewise.
42960         * misc/sys/mman.h: Likewise.
42961         * misc/sys/syslog.h: Likewise.
42962         * misc/sys/uio.h: Likewise.
42963         * misc/sys/xattr.h: Likewise.
42964         * misc/ttyent.h: Likewise.
42965         * nis/rpcsvc/ypclnt.h: Likewise.
42966         * nss/nss.h: Likewise.
42967         * posix/bits/unistd.h: Likewise.
42968         * posix/fnmatch.h: Likewise.
42969         * posix/glob.h: Likewise.
42970         * posix/sched.h: Likewise.
42971         * posix/spawn.h: Likewise.
42972         * posix/sys/wait.h: Likewise.
42973         * posix/unistd.h: Likewise.
42974         * posix/wordexp.h: Likewise.
42975         * pwd/pwd.h: Likewise.
42976         * resolv/netdb.h: Likewise.
42977         * resource/sys/resource.h: Likewise.
42978         * rt/aio.h: Likewise.
42979         * rt/bits/mqueue2.h: Likewise.
42980         * rt/mqueue.h: Likewise.
42981         * shadow/shadow.h: Likewise.
42982         * signal/signal.h: Likewise.
42983         * socket/send.c: Likewise.
42984         * socket/sendto.c: Likewise.
42985         * socket/sys/socket.h: Likewise.
42986         * stdio-common/printf.h: Likewise.
42987         * stdlib/bits/stdlib.h: Likewise.
42988         * stdlib/fmtmsg.h: Likewise.
42989         * stdlib/monetary.h: Likewise.
42990         * stdlib/stdlib.h: Likewise.
42991         * stdlib/ucontext.h: Likewise.
42992         * streams/stropts.h: Likewise.
42993         * string/argz.h: Likewise.
42994         * string/bits/string2.h: Likewise.
42995         * string/string.h: Likewise.
42996         * string/strings.h: Likewise.
42997         * sunrpc/rpc/auth.h: Likewise.
42998         * sunrpc/rpc/auth_des.h: Likewise.
42999         * sunrpc/rpc/clnt.h: Likewise.
43000         * sunrpc/rpc/netdb.h: Likewise.
43001         * sunrpc/rpc/pmap_clnt.h: Likewise.
43002         * sunrpc/rpc/xdr.h: Likewise.
43003         * sysdeps/generic/inttypes.h: Likewise.
43004         * sysdeps/generic/net/if.h: Likewise.
43005         * sysdeps/generic/sys/swap.h: Likewise.
43006         * sysdeps/gnu/net/if.h: Likewise.
43007         * sysdeps/gnu/utmpx.h: Likewise.
43008         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43009         * sysdeps/i386/i486/bits/string.h: Likewise.
43010         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43011         * sysdeps/s390/bits/string.h: Likewise.
43012         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43013         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43014         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43015         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43016         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43017         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43018         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43019         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43020         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43021         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43022         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43023         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43024         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43025         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43026         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43027         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43028         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43029         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43030         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43032         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43034         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43035         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43036         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43037         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43038         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43039         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43040         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43042         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43043         * sysvipc/sys/ipc.h: Likewise.
43044         * sysvipc/sys/msg.h: Likewise.
43045         * sysvipc/sys/sem.h: Likewise.
43046         * sysvipc/sys/shm.h: Likewise.
43047         * termios/termios.h: Likewise.
43048         * time/sys/time.h: Likewise.
43049         * time/time.h: Likewise.
43050         * wcsmbs/bits/wchar2.h: Likewise.
43051         * wcsmbs/uchar.h: Likewise.
43052         * wcsmbs/wchar.h: Likewise.
43053         * wctype/wctype.h: Likewise.
43054
43055         [BZ #13551]
43056         * Makeconfig: Remove all but ELF support including AIX support.
43057         * Makerules: Likewise.
43058         * config.h.in: Likewise.
43059         * config.make.in: Likewise.
43060         * configure: Likewise.
43061         * configure.in: Likewise.
43062         * csu/Makefile: Likewise.
43063         * csu/version.c: Likewise.
43064         * debug/Makefile: Likewise.
43065         * dlfcn/Makefile: Likewise.
43066         * elf/Makefile: Likewise.
43067         * extra-lib.mk: Likewise.
43068         * iconv/Makefile: Likewise.
43069         * include/libc-symbols.h: Likewise.
43070         * include/shlib-compat.h: Likewise.
43071         * resolv/Makefile: Likewise.
43072         * resolv/res_libc.c: Likewise.
43073         * rt/Makefile: Likewise.
43074         * sysdeps/i386/asm-syntax.h: Likewise.
43075         * sysdeps/i386/sysdep.h: Likewise.
43076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43077         * sysdeps/mach/sysdep.h: Likewise.
43078         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43079         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43080         * sysdeps/s390/asm-syntax.h: Likewise.
43081         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43082         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43083         * sysdeps/sh/sysdep.h: Likewise.
43084         * sysdeps/unix/sparc/sysdep.h: Likewise.
43085         * sysdeps/wordsize-32/divdi3.c: Likewise.
43086         * sysdeps/x86_64/sysdep.h: Likewise.
43087
43088         * argp/Versions: Remove _argp_unlock_xxx.
43089
43090         [BZ #13559]
43091         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43092         * abilist/libBrokenLocale.abilist: Likewise.
43093         * abilist/libanl.abilist: Likewise.
43094         * abilist/libc.abilist: Likewise.
43095         * abilist/libcrypt.abilist: Likewise.
43096         * abilist/libdl.abilist: Likewise.
43097         * abilist/libm.abilist: Likewise.
43098         * abilist/libnsl.abilist: Likewise.
43099         * abilist/libpthread.abilist: Likewise.
43100         * abilist/libresolv.abilist: Likewise.
43101         * abilist/librt.abilist: Likewise.
43102         * abilist/libthread_db.abilist: Likewise.
43103         * abilist/libutil.abilist: Likewise.
43104         * abilist/libnss_db.abilist: New file.
43105
43106         * scripts/abilist.awk: Add support for indirect functions.
43107
43108         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43109
43110         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43111
43112         * shlib-versions: Remove entries for ports architectures.
43113
43114         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43115         files in ports.
43116         * elf/stackguard-macros.h: Remove support for IA-64.
43117         * elf/tst-auditmod1.c: Likewise.
43118         * sysdeps/generic/ldsodefs.h: Likewise.
43119
43120         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43121         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43122         configure files.
43123
43124         [BZ #13552]
43125         * configure.in: Remove --enable-omitfp support.
43126         * FAQ.in: Adjust.
43127         * config.make.in: Likewise.
43128         * Makeconfig: Likewise.
43129         * manual/install.texi: Likewise.
43130
43131         In case anyone cares, the IA-64 architecture could move to ports.
43132         * sysdeps/ia64/*: Removed.
43133         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43134         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43135
43136         [BZ #13555]
43137         * configure.in: Remove entries for unsupported architectures.
43138
43139         [BZ #13533]
43140         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43141         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43142         routines.
43143         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43144         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43145         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43146         fall back to using wcrtomb.
43147         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43148         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43149         renaming.
43150         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43151         * wcsmbs/tst-c16c32-1.c: New file.
43152
43153         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43154         local variable.
43155
43156         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43157
43158         * elf/tst-unique3.cc: Add explicit declaration of gets.
43159         * elf/tst-unique3lib.cc: Likewise.
43160         * elf/tst-unique3lib2.cc: Likewise.
43161         * elf/tst-unique4.cc: Likewise.
43162
43163         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43164
43165 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43166
43167         [BZ #13566]
43168         * assert/assert.h (static_assert): Don't define for C++.
43169         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43170         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43171
43172 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43173
43174         * iconv/loop.c (single loop): Fix assertion in storing of
43175         remaining bytes.
43176
43177         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43178
43179 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43180
43181         * posix/getconf.c: Update copyright year.
43182         * nss/getent.c: Likewise.
43183         * nss/makedb.c: Likewise.
43184         * iconv/iconvconfig.c: Likewise.
43185         * iconv/iconv_prog.c: Likewise.
43186         * elf/ldconfig.c: Likewise.
43187         * elf/pldd.c: Likewise.
43188         * elf/sotruss.ksh: Likewise.
43189         * catgets/gencat.c: Likewise.
43190         * csu/version.c: Likewise.
43191         * elf/ldd.bash.in: Likewise.
43192         * elf/sprof.c (print_version): Likewise.
43193         * locale/programs/locale.c: Likewise.
43194         * locale/programs/localedef.c: Likewise.
43195         * login/programs/pt_chown.c: Likewise.
43196         * nscd/nscd.c (print_version): Likewise.
43197         * debug/xtrace.sh: Likewise.
43198         * malloc/memusage.sh: Likewise.
43199         * malloc/mtrace.pl: Likewise.
43200         * debug/catchsegv.sh: Likewise.
43201
43202 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43203
43204         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43205         pure attribute.
43206
43207 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43208
43209         [BZ #13533]
43210         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43211         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43212         transformations.
43213         * iconv/gconv_int.h: Likewise.
43214         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43215         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43216         from libc for GLIBC_2.16.
43217         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43218         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43219         * wcsmbs/uchar.h: Really define mbstate_t.
43220         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43221         * wcsmbs/c16rtomb.c: New file.
43222         * wcsmbs/mbrtoc16.c: New file.
43223         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43224         for C/POSIX locale.
43225         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43226         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43227
43228         * wcsmbs/wchar.h: Add missing __restrict.
43229
43230 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43231
43232         [BZ #13532]
43233         * time/Makefile (routines): Add timespec_get.
43234         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43235         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43236         timespec for ISO C11.
43237         * time/timespec_get.c: New file.
43238         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43239         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43240
43241         [BZ #13531]
43242         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43243         * stdlib/stdlib.h: Declare aligned_alloc.
43244         * Versions.def: Add GLIBC_2.16 for libc.
43245         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43246
43247         [BZ 13527]
43248         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43249         ISO C11.
43250
43251         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43252         code.
43253
43254         [BZ #13528]
43255         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43256
43257         [BZ #13529]
43258         * assert/assert.h (static_assert): Define.
43259
43260         * version.h: Update for 2.16 development version.
43261
43262         [BZ #13526]
43263         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43264         _ISOC11_SOURCE.
43265
43266         * version.h (RELEASE): Bump for 2.15 release.
43267         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43268
43269         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43270         Patch by Marek Polacek <mpolacek@redhat.com>.
43271
43272         * bits/byteswap.h: Protect long long constants with __extension__.
43273         * sysdeps/i386/bits/byteswap.h: Likewise.
43274         * sysdeps/ia64/bits/byteswap.h: Likewise.
43275         * sysdeps/s390/bits/byteswap.h: Likewise.
43276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43277
43278 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43279
43280         [BZ #13540]
43281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43282         destination buffer.
43283         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43284
43285 2011-12-23  Marek Polacek  <polacek@redhat.com>
43286
43287         * elf/dl-addr.c (determine_info): Add inline keyword.
43288         * elf/tst-auditmod4b.c (check_avx): Likewise.
43289         * elf/tst-auditmod6b.c (check_avx): Likewise.
43290         * elf/tst-auditmod6c.c (check_avx): Likewise.
43291         * elf/tst-auditmod7b.c (check_avx): Likewise.
43292
43293 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43294
43295         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43296         !__SSE_MATH__.
43297
43298 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43299
43300         [BZ #13540]
43301         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43302         processing for last bytes.
43303
43304 2011-08-06  Bruno Haible  <bruno@clisp.org>
43305
43306         [BZ #13061]
43307         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43308         U+0385, not to U+1FEE.
43309
43310         [BZ #13062]
43311         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43312         entry for U+00A5 U+0301.
43313
43314 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43315
43316         [BZ #13166]
43317         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43318         buffer for the output is too small.
43319
43320         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43321         optimization.
43322
43323         [BZ #13185]
43324         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43325         SSE flags if possible.
43326
43327 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43328
43329         [BZ #13540]
43330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43331         processing for last bytes.
43332
43333 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43334
43335         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43336         (syscall-list-default-options, syscall-list-default-condition)
43337         (syscall-list-includes): Define.
43338         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43339         list of ABIs and options and #if conditions for each ABI.  Do not
43340         handle common syscalls between ABIs specially.
43341         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43342         Remove.
43343         (syscall-list-variants, syscall-list-32bit-options)
43344         (syscall-list-32bit-condition, syscall-list-64bit-options)
43345         (syscall-list-64bit-condition): Define.
43346         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43347         (syscall-list-variants, syscall-list-32bit-options)
43348         (syscall-list-32bit-condition, syscall-list-64bit-options)
43349         (syscall-list-64bit-condition): Define.
43350         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43351         Remove.
43352         (syscall-list-variants, syscall-list-32bit-options)
43353         (syscall-list-32bit-condition, syscall-list-64bit-options)
43354         (syscall-list-64bit-condition): Define.
43355         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43356         Remove.
43357         (syscall-list-variants, syscall-list-32bit-options)
43358         (syscall-list-32bit-condition, syscall-list-64bit-options)
43359         (syscall-list-64bit-condition): Define.
43360
43361 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43362
43363         * locale/iso-639.def: Add brx entry.
43364
43365         [BZ #13328]
43366         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43367         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43368
43369         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43370         __feraiseexcept_renamed.
43371
43372 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43373
43374         [BZ #13538]
43375         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43376         EPOLLET with unsigned values.
43377         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43378         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43379
43380         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43381         to large cancellation.
43382         * math/s_cacoshf.c: Likewise.
43383         * math/s_cacoshl.c: Likewise.
43384
43385 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43386
43387         [BZ #13305]
43388         [BZ #12786]
43389         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43390         * math/s_cacoshf.c: Likewise.
43391         * math/s_cacoshl.c: Likewise.
43392
43393 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43394
43395         [BZ #13439]
43396         * iconv/gconv.h: Define __GCONV_SWAP.
43397         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43398         * iconvdata/utf-16.c: Likewise.
43399         * iconvdata/utf-32.c: Likewise.
43400
43401 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43402
43403         [BZ #13524]
43404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43405         numerator after shifting it by one limb.
43406
43407 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43408
43409         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43410         under [__USE_EXTERN_INLINES].
43411
43412 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43413
43414         [BZ #13446]
43415         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43416
43417 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43418
43419         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43420         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43421         optimized code.
43422         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43423         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43424         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43425         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43426         for strncasecmp/strncasecmp_l compilation.
43427         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43428         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43429
43430 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43431
43432         [BZ #13484]
43433         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43434         of __asm__.
43435
43436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43437
43438         [BZ #13506]
43439         * time/tzfile.c (__tzfile_read): Check values from file header.
43440
43441 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43442
43443         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43444         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43445         * powerpc/powerpc32/dl-start.S: Likewise.
43446         * powerpc/powerpc32/elf/start.S: Likewise.
43447         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43448         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43449         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43450         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43451         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43452         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43453         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43454         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43455         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43456         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43457         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43458         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43459         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43460         * powerpc/powerpc32/memset.S: Likewise.
43461         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43462         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43463         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43464         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43465         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43466         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43467         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43468         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43469         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43470         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43471         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43472         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43473         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43474
43475 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43476
43477         * math/libm-test.inc: Added more nearbyint tests.
43478         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43482
43483 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43484
43485         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43486         FD_CLOEXEC.
43487
43488 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43489
43490         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43491         Add wcscpy-ssse3 wcscpy-c.
43492         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43493         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43494         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43495         * sysdeps/x86_64/wcschr.S: New file.
43496         * sysdeps/x86_64/wcsrchr.S: New file.
43497         * string/test-strcmp.c: Remove checking of wcscmp function for
43498         wrong alignments.
43499         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43500         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43501         wcsrchr-sse2 wcsrchr-c.
43502         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43503         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43504         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43505         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43506         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43507         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43508         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43509         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43510         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43511         * wcsmbc/wcschr.c (WCSCHR): New macro.
43512
43513 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43514
43515         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43516         * wcsmbs/test-wcsrchr.c: New file.
43517         * string/test-strrchr.c: Add wcsrchr support.
43518         (WIDE): New macro.
43519         * wcsmbs/test-wcscpy.c: New file.
43520         * string/test-strcpy.c: Add wcscpy support.
43521         (WIDE): New macro.
43522
43523 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43524
43525         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43526         the inner loop.
43527
43528 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43529
43530         [BZ #13472]
43531         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43532
43533 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43534
43535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43536         Minor optimizations.
43537
43538         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43539         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43540         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43541
43542 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43543
43544         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43545         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43546         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43547         for gcc to avoid warnings.
43548         * inet/Makefile (tests): Add tst-checks.
43549         * inet/tst-checks.c: New file.
43550
43551         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43552         warning.
43553
43554         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43555         __wmemcmp_sse2.
43556
43557         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43558         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43559
43560         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43561
43562 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43563
43564         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43565         problem.
43566
43567         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43568
43569 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43570
43571         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43572         conditional on GCC version.
43573         (__arch_compare_and_exchange_val_8_acq)
43574         (__arch_compare_and_exchange_val_16_acq)
43575         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43576         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43577         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43578
43579 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43580
43581         * sysdeps/sh/backtrace.c: New file.
43582
43583 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43584
43585         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43586         parenthesis.
43587
43588 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43589
43590         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43591         falling back to utime.
43592
43593 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43594
43595         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43596         expectations for float.
43597
43598 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43599
43600         * locale/weight.h (findidx): Add parameter len.
43601         * locale/weightwc.h (findidx): Likewise.
43602         * posix/fnmatch_loop.c (FCT): Adjust caller.
43603         * posix/regcomp.c (build_equiv_class): Likewise.
43604         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43605         * posix/regexec.c (check_node_accept_bytes): Likewise.
43606         * string/strcoll_l.c (STRCOLL): Likewise.
43607         * string/strxfrm_l.c (STRXFRM): Likewise.
43608
43609 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43610
43611         * Makefile.in: Remove CVSOPT handling.
43612         * configure.in: Remove use of AC_REVISION.
43613         * iconvdata/Makefile (distribute): No need to filter out CVS.
43614         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43615         handling.
43616
43617 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43618
43619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43620         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43621         [USE_AS_STRNCASECMP_L]: Likewise.
43622         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43623         NO_TLS_DIRECT_SEG_REFS.
43624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43625         Fix argument offsets for non-PIC.
43626         [USE_AS_STRNCASECMP_L]: Likewise.
43627         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43628         NO_TLS_DIRECT_SEG_REFS.
43629
43630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43631
43632         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43633         O_CLOEXEC.
43634         * locale/loadlocale.c (_nl_load_locale): Likewise.
43635
43636 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43637
43638         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43639         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43640         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43641         (SYSCALL_GETTIME): Set errno on error.
43642
43643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43644         count references to noai6ai_cached.
43645
43646 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43647
43648         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43649
43650         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43651         FD_CLOEXEC for /proc/self/maps.
43652
43653         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43654         FD_CLOEXEC for /proc/meminfo.
43655
43656         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43657         gai.conf.
43658
43659         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43660         FD_CLOEXEC for given file.
43661
43662         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43663
43664         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43665         FD_CLOEXEC for /etc/hosts.
43666         (_gethtent): Likewise.
43667
43668         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43669
43670         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43671         cancellation and set FD_CLOEXEC for /etc/netgroup.
43672
43673         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43674         reading /etc/publickey.
43675
43676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43677         allow cancellation when reading /etc/group.
43678
43679         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43680         cancellation.
43681         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43682
43683         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43684         when using data file.
43685
43686         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43687
43688         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43689         (write_nis_obj): Use "c" and "e" in fopen.
43690
43691         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43692
43693         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43694
43695         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43696
43697         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43698
43699         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43700         locale.alias.
43701
43702         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43703
43704         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43705
43706         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43707
43708         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43709         file parsing and set FD_CLOEXEC.
43710
43711 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43712
43713         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43714
43715 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43716
43717         * malloc/arena.c (arena_get2): Don't call reused_arena when
43718         _int_new_arena failed.
43719
43720 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43721
43722         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43723         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43724         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43725         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43726         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43728         to compile strcasecmp and strncasecmp.
43729         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43730         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43731
43732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43733
43734 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43735
43736         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43737         locale-defines.sym to gen-as-const-headers.
43738         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43739         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43741         to compile strcasecmp and strncasecmp.
43742         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43743         strcasecmp_l and strncasecmp_l.
43744         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43745         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43746         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43747         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43748         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43749         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43750         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43751         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43752         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43753         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43754         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43755
43756 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43757
43758         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43759         result of SYSDEP_GETTIME_CPU to retval.
43760         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43761         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43762
43763         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43764         variable.
43765
43766         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43767         mantissa words.
43768         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43769
43770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43771         from unused variable.
43772
43773         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43774         DWARF definitions.
43775         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43776         for assembling.
43777
43778         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43779         over namespaces.
43780
43781         * sunrpc/rpc_prot.c (rejected): Fix case value.
43782
43783         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43784         unsigned long long int to avoid warnings in shift.
43785
43786         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43787         of use of trans.
43788         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43789         variable tmp.
43790
43791         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43792         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43793         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43794
43795         * nis/nis_table.c (nis_list): Use variable of correct type for
43796         result of __follow_path call.
43797
43798 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43799
43800         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43801         of math functions ceil, trunc, floor, round, and sqrt, when
43802         avaliable on the platform.
43803         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43804         name clash.
43805         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43806         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43807         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43808
43809 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43810
43811         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43813
43814 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43815
43816         * include/unistd.h: Fix __readlink return type.
43817         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43818
43819 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43820
43821         * stdlib/ucontext.h: Undo last change for makecontext.
43822
43823 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43824
43825         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43826
43827         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43828         * setjmp/setjmp.h: Mark functions as non-leaf.
43829         * setjmp/bits/setjmp2.h: Likewise.
43830         * stdlib/ucontext.h: Likewise.
43831
43832 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43833
43834         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43835         (reused_arena): Don't check arena limit.
43836         (arena_get2): Atomically check arena limit.
43837
43838 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43839
43840         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43841         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43842
43843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43844         instructions.
43845
43846 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43847
43848         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43849         handler when locking.
43850
43851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43852         Fix size of allocated buffer.
43853
43854 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43855
43856         [BZ #10103]
43857         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43858         declarations for long double functions.
43859         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43860
43861         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43862
43863 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43864
43865         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43866         installed.
43867
43868         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43869         is disabled.
43870
43871 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43872
43873         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43874
43875 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43876
43877         * include/alloca.h (stackinfo_alloca_round): Define.
43878         (extend_alloca): Use it.
43879         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43880         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43881         here.
43882
43883         * scripts/check-local-headers.sh: Ignore libaudit.h.
43884
43885         * nscd/Makefile (extra-objs): Make recursively expanded.
43886
43887 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43888
43889         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43891
43892         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43893         * posix/tst-rfc3484-2.c: Likewise.
43894         * posix/tst-rfc3484-3.c: Likewise.
43895
43896         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43897         process_vm_writev.
43898         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43899         process_vm_writev.
43900         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43901         process_vm_writev from libc using GLIBC_2.15 version.
43902
43903         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43904
43905 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43906
43907         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43908         stack usage.
43909
43910 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43911
43912         [BZ #13367]
43913         * nss/getent.c (initgroups_keys): Show error message in case no group
43914         names are given.
43915
43916         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43917         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43918         __bump_nl_timestamp.
43919         * nscd/connections (nscd_init): When host database is served open
43920         netlink socket and request notification about configuration changes.
43921         (main_loop_poll): Track netlink file descriptor and bump timestamp
43922         in case data becomes available.
43923         (main_loop_epoll): Likewise.
43924         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43925         (database_pers_head): Add extra_data fileds.
43926         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43927         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43928         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43929         Adjust caller.
43930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43931         in6ai data, call __free_in6ai.
43932         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43933         Add -DHAVE_NETLINK.
43934         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43935         interface information.  Reuse previous data if netlink timestamp
43936         is not changed.
43937         (__bump_nl_timestamp): New function.
43938         (__free_in6ai): New function.
43939
43940 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43941
43942         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43943         close_not_cancel_no_status here.
43944         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43945
43946 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43947
43948         [BZ #13276]
43949         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43950         return value.
43951
43952         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43953         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43954         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43955
43956 2011-07-03  Andreas Jaeger  <aj@suse.de>
43957
43958         [BZ #10709]
43959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43960         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43961         * math/libm-test.inc (sin_test): Add test case.
43962
43963 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43964
43965         [BZ #13337]
43966         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43967         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43968
43969         * elf/chroot_canon.c (chroot_canon): Cleanups.
43970
43971         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43972
43973         [BZ #13335]
43974         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43975         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43976
43977         * string/test-strchr.c: Make usable for strchrnul testing.
43978         * string/test-strchrnul.c: New file.
43979         * string/Makefile (strop-tests): Add strchrnul.
43980
43981         * po/it.po: Update from translation team.
43982         * po/es.po: Likewise.
43983
43984 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43985
43986         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43987         the three constants needed as parameters.  Drop the others.
43988         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43989         __m128i_strloadu_tolower.
43990         Create and initialize variable zero and use it in all the places
43991         where _mm_setzero_si128 was used.
43992
43993         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43994         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43995         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43996         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43997         anymore.
43998         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43999         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44000         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44001         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44002         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44003         __mpranred, __mptan.
44004         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44005         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44006         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44007         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44008         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44009         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44010         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44011         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44012         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44013
44014 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44015
44016         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44017         redefine if SHARED.
44018         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44019
44020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44021         wide char related routines to wcsmbs subdir.
44022
44023 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44024
44025         [BZ #13344]
44026         * misc/sys/cdefs.h (__THROWNL): Define.
44027         * posix/unistd.h: Use __THREADNL instead of __THREAD
44028         for memory synchronization functions.
44029
44030 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44031
44032         [BZ #13349]
44033         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44034         doesn't exist.
44035         * manual/stdio.texi (Obstack Streams): Node removed.
44036
44037 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44038
44039         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44040         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44042
44043         * math/math_private.h (math_force_eval): Allow non-addressable
44044         arguments.
44045         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44046
44047 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44048
44049         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44050         file is not needed.
44051
44052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44055         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44056         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44058         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44059         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44060         Add AVX variants.
44061         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44062         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44063         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44064         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44065         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44066         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44067         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44068         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44069         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44070         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44071         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44072         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44073         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44074         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44075         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44076         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44077         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44078         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44079         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44080
44081         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44082         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44083
44084         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44085         place.  Use VEX encoding when compiling for AVX.
44086
44087 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44088
44089         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44090         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44091
44092         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44093
44094 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44095
44096         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44097         useless if() expression.
44098         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44099         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44101         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44102         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44108         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44109         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44110         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44111         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44113         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44116         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44117
44118         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44119
44120 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44121
44122         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44123         condition.
44124         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44125
44126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44127
44128         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44129         .text section.  Avoid duplicate constants.
44130         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44132         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44134         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44135         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44139         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44140         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44141         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44142         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44143         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44144         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44145         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44146         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44147         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44148         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44150         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44151         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44152         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44153         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44154         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44155         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44156         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44157         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44158         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44159         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44161         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44162         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44163         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44164         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44165         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44166         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44167         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44168         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44169         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44170         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44171         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44172         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44173         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44174         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44175
44176 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44177
44178         * sysdeps/x86_64/dla.h: Move to ...
44179         * sysdeps/x86_64/fpu/dla.h: ...here.
44180         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44181         situations.  Use __builtin_fma only for gcc 4.6 and up.
44182
44183         * config.make.in: Add have-mfma4 entry.
44184         * configure.in: Substitute libc_cv_cc_fma4.
44185         * math/Makefile (dbl-only-routines): Add sincostab.
44186         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44187         Use __sincostab not sincos.
44188         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44189         name is a macro.
44190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44194         using __copysign.
44195         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44196         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44197         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44198         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44199         and __inv.
44200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44201         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44202         __copysign.
44203         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44204         define aliases when function name is a macro.
44205         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44206         sysdeps/ieee754/dbl-64/sincos.tbl.
44207         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44208         fma4-enabled routines.
44209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44210         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44211         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44212         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44213         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44214         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44216         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44218         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44219         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44220         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44221         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44222         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44224         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44225         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44226         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44227         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44229         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44230         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44231         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44232         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44233         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44234         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44236         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44237         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44238         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44239
44240         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44241         rename.
44242         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44245         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44246         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44250
44251 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44252
44253         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44254
44255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44256
44257         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44258
44259         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44260         prediction.
44261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44262
44263         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44264         Remove unused variable magic_bits.
44265         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44266
44267         * string/strnlen.c: Define and use STRNLEN macro.
44268         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44269         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44271         * wcsmbs/wcslen.c: Define and use WCSLEN.
44272         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44273         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44274         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44275         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44276         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44277         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44278         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44279
44280 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44281
44282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44283         strnlen-sse2-no-bsf.
44284         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44285         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44286         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44287         Add strnlen support.
44288         (USE_AS_STRNLEN): New macro.
44289         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44290         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44291         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44292         * sysdeps/x86_64/wcslen.S: New file.
44293
44294 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44295
44296         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44297         XMM-moves are used for copying on small sizes.
44298
44299 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44300
44301         * wcsmbs/Makefile (strop-tests): Add wcschr.
44302         * wcsmbs/test-wcschr.c: New file.
44303         * string/test-strchr.c: Update.
44304         Add wcschr support.
44305         (WIDE): New macro.
44306
44307 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44308
44309         * wcsmbs/Makefile (strop-tests): Add wcslen.
44310         * wcsmbs/test-wcslen.c: New file.
44311         * string/test-strlen.c: Update.
44312         Add wcslen support.
44313         (WIDE): New macro.
44314
44315 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44316
44317         * po/it.po: Update from translation team.
44318
44319 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44320
44321         * sysdeps/x86_64/wcscmp.S: Update.
44322         Fix wrong comparison semantics.
44323         wcscmp shall use signed comparison not unsigned.
44324         Don't use substraction to avoid overflow bug.
44325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44326         * wcsmbc/wcscmp.c: Likewise.
44327         * string/test-strcmp.c: Likewise.
44328         Add new tests to check cases with negative values.
44329
44330 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44331
44332         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44333         * sysdeps/x86_64/dla.h: ...here.  New file.
44334         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44340         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44341         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44343
44344 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44345
44346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44347         __ynl_finite aliases.
44348
44349 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44350
44351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44352
44353         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44354         define DLA_FMA.
44355         [DLA_FMA] (EMULV): Use DLA_FMA.
44356         [DLA_FMA] (MUL12): Use EMULV.
44357         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44358         that are not needed.
44359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44363         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44365         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44366
44367 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44368
44369         * math/s_nan.c: Undef __nan.
44370         * math/s_nanf.c: Undef __nanf.
44371         * math/s_nanl.c: Undef __nanl.
44372         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44373         "math_private.h".
44374
44375 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44376
44377         * math/s_catan.c: Add branch predictions.
44378         * math/s_catanf.c: Likewise.
44379         * math/s_catanh.c: Likewise.
44380         * math/s_catanhf.c: Likewise.
44381         * math/s_catanhl.c: Likewise.
44382         * math/s_catanl.c: Likewise.
44383         * math/s_cexp.c: Likewise.
44384         * math/s_cexpf.c: Likewise.
44385         * math/s_cexpl.c: Likewise.
44386         * math/s_clog.c: Likewise.
44387         * math/s_clog10.c: Likewise.
44388         * math/s_clog10f.c: Likewise.
44389         * math/s_clog10l.c: Likewise.
44390         * math/s_clogf.c: Likewise.
44391         * math/s_clogl.c: Likewise.
44392         * math/s_csqrt.c: Likewise.
44393         * math/s_csqrtf.c: Likewise.
44394         * math/s_csqrtl.c: Likewise.
44395         * math/s_ctanf.c: Likewise.
44396         * math/s_ctanh.c: Likewise.
44397         * math/s_ctanhf.c: Likewise.
44398         * math/s_ctanhl.c: Likewise.
44399         * math/s_ctanl.c: Likewise.
44400
44401         * math/math_private.h: Define __nan, __nanf, __nanl.
44402         * math/s_cacosh.c: Include <math_private.h>.
44403         * math/s_cacoshl.c: Likewise.
44404         * math/s_casinh.c: Likewise.
44405         * math/s_casinhf.c: Likewise.
44406         * math/s_casinhl.c: Likewise.
44407         * math/s_ccos.c: Rely entire on ccosh.
44408         * math/s_ccosf.c: Rely entire on ccoshf.
44409         * math/s_ccosl.c: Rely entirely on ccoshl.
44410         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44411         Remove tests for FE_INVALID.
44412         * math/s_ccoshf.c: Likewise.
44413         * math/s_ccoshl.c: Likewise.
44414         * math/s_csin.c: Likewise.
44415         * math/s_csinf.c: Likewise.
44416         * math/s_csinh.c Likewise.
44417         * math/s_csinhf.c: Likewise.
44418         * math/s_csinhl.c: Likewise.
44419         * math/s_csinl.c: Likewise.
44420         * math/s_ctan.c: Likewise.
44421         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44422         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44423         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44424
44425 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44426
44427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44428         compilation problems.
44429
44430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44431         __builtin_expect.
44432
44433 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44434
44435         * sysdeps/i386/configure.in: Test for -mfma4 option.
44436         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44437         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44438         COMMON_CPUID_INDEX_80000001.
44439         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44440         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44441         use it if FMA3 is not supported.
44442         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44443
44444         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44445         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44446
44447 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44448
44449         [BZ #12892]
44450         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44451         it would create a cycle with a link time dependency.
44452
44453 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44454
44455         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44456         instruction.
44457         * string/Makefile (strop-tests): Add rawmemchr.
44458         * string/test-rawmemchr.c: New file.
44459
44460         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44462         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44463         when compiling str{,n}casecmp and when AVX is available.  Hook up
44464         new optimized code in initializers.
44465
44466 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44467
44468         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44469         __feraiseexcept instead of feraiseexcept.
44470
44471 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44472
44473         * math/math_private.h: Define defaults for libc_fetestexcept and
44474         libc_feupdateenv.
44475         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44476         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44477         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44478         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44479         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44480         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44481         libc_fetestexcept and libc_feupdateenv.
44482
44483         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44484         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44485         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44486         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44487         libc_feholdexcept_setround.
44488
44489         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44490         Add s_nearbyint-c and s_nearbyintf-c.
44491         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44492         nearbyintf inlines.
44493         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44494         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44495         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44496         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44497
44498         * math/math_private.h: Define defaults for libc_fegetround,
44499         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44500         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44501         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44502         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44503         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44504         standard functions.
44505         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44506         Remove comments and hacks for old compiler versions.
44507         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44508         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44509         libc_feholdexceptl.
44510
44511 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44512
44513         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44514         (__feraiseexcept_renamed): Add __NTH.
44515         (feraiseexcept): Add __NTH.  Rename local variables to fix
44516         namespace violations.
44517
44518 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44519
44520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44521
44522         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44523
44524         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44525         recently added interfaces.
44526         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44527
44528         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44529         about macro parameter expansion.
44530
44531         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44532         __NO_MATH_INLINES is defined.  Cleanups.
44533
44534         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44535         and __floorf is target has SSE4.1.
44536         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44537         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44538         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44539         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44540
44541         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44542         name.
44543         (floorf): Likewise.
44544
44545         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44546
44547 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44548
44549         * misc/sys/cdefs.h: Fix last change.
44550
44551         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44552         database lookup.
44553
44554 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44555
44556         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44557
44558         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44559         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44560         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44561         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44564         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44566         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44567         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44568         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44569         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44570         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44571         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44572         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44573         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44574         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44575         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44576         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44577         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44578         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44579         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44580
44581         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44582         ceil, ceilf, floor, floorf.
44583
44584         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44585         Perform IRELATIVE relocations last.
44586
44587         * elf/do-rel.h: Add another parameter nrelative, replacing the
44588         local variable with the same name.  Change name of the function
44589         to end in Rel or Rela (uppercase).
44590         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44591         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44592         elf_dynamic_do_##reloc function.
44593
44594 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44595
44596         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44597         is sufficient, at least on modern CPUs.
44598
44599         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44600
44601         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44602         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44603
44604         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44605         __expl_finite.
44606         * math/bits/math-finite.h: Add entries for exp.
44607         * math/e_expl.c: Add __*_finite alias.
44608         * sysdeps/i386/fpu/e_exp.S: Likewise.
44609         * sysdeps/i386/fpu/e_expf.S: Likewise.
44610         * sysdeps/i386/fpu/e_expl.c: Likewise.
44611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44612         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44616         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44617         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44618
44619         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44620         is sufficient, at least on modern CPUs.
44621
44622         * ctype/ctype-info.c (__ctype_init): Define.
44623         * include/ctype.h (__ctype_init): Declare.
44624         (__ctype_b_loc): The variable is always initialized.
44625         (__ctype_toupper_loc): Likewise.
44626         (__ctype_tolower_loc): Likewise.
44627         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44628         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44629
44630 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44631
44632         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44633
44634         * configure.in: Also look in $cxxmachine/include for C++ system
44635         headers.
44636
44637 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44638
44639         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44640         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44641         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44642         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44644         (USE_AS_WMEMCMP): New macro.
44645         Fixing indents.
44646         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44647         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44648         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44649         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44651         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44652         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44653         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44654         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44655         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44656         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44657         (USE_AS_WMEMCMP): New macro.
44658         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44659         * sysdeps/string/test-memcmp.c: Update.
44660         Fix simple_wmemcmp.
44661         Add new tests.
44662         * wcsmbs/wmemcmp.c: Update.
44663         (WMEMCMP): New macro.
44664         Fix overflow bug.
44665
44666 2011-10-12  Andreas Jaeger  <aj@suse.de>
44667
44668         [BZ #13268]
44669         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44670
44671 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44672
44673         * libio/iofwide.c (do_length): Avoid warning.
44674
44675         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44676
44677 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44678
44679         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44680
44681         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44682         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44683         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44684         * sysdeps/i386/i686/fpu/e_log.S: New file.
44685         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44686         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44687
44688         * ctype/ctype.h: Add support for inlined isXXX functions when
44689         compiling C++ code.
44690
44691 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44692
44693         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44694
44695         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44696
44697 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44698
44699         [BZ #13291]
44700         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44701
44702 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44703
44704         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44705         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44706         feraiseexcept.
44707
44708         * sysdeps/x86_64/memrchr.S: Check for zero size.
44709
44710         * string/stratcliff.c: Add memrchr tests.
44711
44712 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44713
44714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44715         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44716         rawmemchr-sse2 rawmemchr-sse2-bsf.
44717         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44718         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44719         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44720         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44721         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44722         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44723         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44724         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44725         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44726         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44727         * string/memrchr.c (MEMRCHR): New macro.
44728
44729 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44730
44731         Add integration with gcc's -ffinite-math-only and optimize wrapper
44732         functions in libm.
44733         * Versions.def: Define GLIBC_2.15 version for libm.
44734         * math/Makefile (headers): Add bits/math-finite.h.
44735         * math/bits/math-finite.h: New file.
44736         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44737         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44738         * math/e_acoshl.c: Add __*_finite alias.
44739         * math/e_acosl.c: Likewise.
44740         * math/e_asinl.c: Likewise.
44741         * math/e_atan2l.c: Likewise.
44742         * math/e_atanhl.c: Likewise.
44743         * math/e_coshl.c: Likewise.
44744         * math/e_exp10.c: Likewise.
44745         * math/e_exp10f.c: Likewise.
44746         * math/e_exp10l.c: Likewise.
44747         * math/e_exp2l.c: Likewise.
44748         * math/e_fmodl.c: Likewise.
44749         * math/e_gammal_r.c: Likewise.
44750         * math/e_hypotl.c: Likewise.
44751         * math/e_j0l.c: Likewise.
44752         * math/e_j1l.c: Likewise.
44753         * math/e_jnl.c: Likewise.
44754         * math/e_lgammal_r.c: Likewise.
44755         * math/e_log10l.c: Likewise.
44756         * math/e_log2l.c: Likewise.
44757         * math/e_logl.c: Likewise.
44758         * math/e_powl.c: Likewise.
44759         * math/e_sinhl.c: Likewise.
44760         * math/e_sqrtl.c: Likewise.
44761         * math/e_scalb.c: Completely rewritten and optimized.
44762         * math/e_scalbf.c: Likewise.
44763         * math/e_scalbl.c: Likewise.
44764         * math/w_acos.c: Likewise.
44765         * math/w_acosf.c: Likewise.
44766         * math/w_acosl.c: Likewise.
44767         * math/w_acosh.c: Likewise.
44768         * math/w_acoshf.c: Likewise.
44769         * math/w_acoshl.c: Likewise.
44770         * math/w_asin.c: Likewise.
44771         * math/w_asinf.c: Likewise.
44772         * math/w_asinl.c: Likewise.
44773         * math/w_atan2.c: Likewise.
44774         * math/w_atan2f.c: Likewise.
44775         * math/w_atan2l.c: Likewise.
44776         * math/w_atanh.c: Likewise.
44777         * math/w_atanhf.c: Likewise.
44778         * math/w_atanhl.c: Likewise.
44779         * math/w_exp10.c: Likewise.
44780         * math/w_exp10f.c: Likewise.
44781         * math/w_exp10l.c: Likewise.
44782         * math/w_fmod.c: Likewise.
44783         * math/w_fmodf.c: Likewise.
44784         * math/w_fmodl.c: Likewise.
44785         * math/w_j0.c: Likewise.
44786         * math/w_j0f.c: Likewise.
44787         * math/w_j0l.c: Likewise.
44788         * math/w_j1.c: Likewise.
44789         * math/w_j1f.c: Likewise.
44790         * math/w_j1l.c: Likewise.
44791         * math/w_jn.c: Likewise.
44792         * math/w_jnf.c: Likewise.
44793         * math/w_log.c: Likewise.
44794         * math/w_logf.c: Likewise.
44795         * math/w_logl.c: Likewise.
44796         * math/w_log10.c: Likewise.
44797         * math/w_log10f.c: Likewise.
44798         * math/w_log10l.c: Likewise.
44799         * math/w_log2.c: Likewise.
44800         * math/w_log2f.c: Likewise.
44801         * math/w_log2l.c: Likewise.
44802         * math/w_pow.c: Likewise.
44803         * math/w_powf.c: Likewise.
44804         * math/w_powl.c: Likewise.
44805         * math/w_remainder.c: Likewise.
44806         * math/w_remainderf.c: Likewise.
44807         * math/w_remainderl.c: Likewise.
44808         * math/w_scalb.c: Likewise.
44809         * math/w_scalbf.c: Likewise.
44810         * math/w_scalbl.c: Likewise.
44811         * math/w_sqrt.c: Likewise.
44812         * math/w_sqrtf.c: Likewise.
44813         * math/w_sqrtl.c: Likewise.
44814         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44815         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44816         used.
44817         * math/math_private.h: Declare __kernel_standard_f.
44818         * math/w_cosh.c: Remove cruft and optimize a bit.
44819         * math/w_coshf.c: Likewise.
44820         * math/w_coshl.c: Likewise.
44821         * math/w_exp2.c: Likewise.
44822         * math/w_exp2f.c: Likewise.
44823         * math/w_exp2l.c: Likewise.
44824         * math/w_hypot.c: Likewise.
44825         * math/w_hypotf.c: Likewise.
44826         * math/w_hypotl.c: Likewise.
44827         * math/w_lgamma.c: Likewise.
44828         * math/w_lgamma_r.c: Likewise.
44829         * math/w_lgammaf.c: Likewise.
44830         * math/w_lgammaf_r.c: Likewise.
44831         * math/w_lgammal.c: Likewise.
44832         * math/w_lgammal_r.c: Likewise.
44833         * math/w_sinh.c: Likewise.
44834         * math/w_sinhf.c: Likewise.
44835         * math/w_sinhl.c: Likewise.
44836         * math/w_tgamma.c: Likewise.
44837         * math/w_tgammaf.c: Likewise.
44838         * math/w_tgammal.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44840         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44841         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44842         Minor optimizations.  Pretty printing.  Remove cruft.
44843         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44844         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44845         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44846         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44847         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44848         * sysdeps/i386/fpu/e_asin.S: Likewise.
44849         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44850         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44851         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44852         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44853         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44854         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44855         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44856         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44857         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44858         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44859         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44860         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44861         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44862         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44863         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44864         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44865         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44866         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44867         * sysdeps/i386/fpu/e_log.S: Likewise.
44868         * sysdeps/i386/fpu/e_log10.S: Likewise.
44869         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44870         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44871         * sysdeps/i386/fpu/e_log2.S: Likewise.
44872         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44873         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44874         * sysdeps/i386/fpu/e_logf.S: Likewise.
44875         * sysdeps/i386/fpu/e_logl.S: Likewise.
44876         * sysdeps/i386/fpu/e_pow.S: Likewise.
44877         * sysdeps/i386/fpu/e_powf.S: Likewise.
44878         * sysdeps/i386/fpu/e_powl.S: Likewise.
44879         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44880         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44881         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44882         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44883         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44884         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44885         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44886         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44887         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44888         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44889         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44892         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44894         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44895         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44896         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44897         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44898         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44899         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44901         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44902         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44908         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44909         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44910         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44911         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44912         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44913         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44914         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44915         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44916         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44917         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44918         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44919         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44920         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44922         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44923         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44924         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44925         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44926         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44927         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44928         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44929         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44930         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44931         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44932         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44933         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44934         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44935         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44936         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44937         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44938         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44941         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44942         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44943         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44944         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44945         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44946         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44947         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44948         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44952         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44953         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44955         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44957         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44958         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44959         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44962         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44964         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44971         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44974         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44975         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44976         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44977         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44978         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44983         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44984         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44985         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44986         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44987         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44988         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44989         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44990         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44991         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44992         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44993         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44996         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44997         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44998         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44999         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45000         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45001         (__isnanf): Likewise.
45002         (__isinf_ns): Likewise.
45003         (__isinf_nsf): Likewise.
45004         (__finite): Likewise.
45005         (__finitef): Likewise.
45006         (__ieee754_sqrt): Define as macro.
45007         (__ieee754_sqrtf): Define as macro.
45008         (__ieee754_sqrtl): Define as macro.
45009         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45010         inlined copy.
45011         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45012         __FINITE_MATH_ONLY__ consistent.
45013         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45014
45015 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45016
45017         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45018         of rawmemchr.
45019
45020         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45021
45022 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45023
45024         * po/ja.po: Update from translation team.
45025
45026 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45027
45028         * locale/programs/locarchive.c (prepare_address_space): New function.
45029         (create_archive, enlarge_archive, open_archive): Use it.
45030
45031         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45032         inside [SHARED], where it is used.
45033
45034         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45035
45036         * nss/getent.c (netgroup_keys): Remove unused variable.
45037         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45038
45039 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45040
45041         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45042         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45043         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45044         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45045         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45047         * math/Makefile (libm-calls): Add s_isinf_ns.
45048         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45049         * math/multc3.c: Likewise.
45050         * math/s_casin.c: Likewise.
45051         * math/s_casinf.c: Likewise.
45052         * math/s_casinl.c: Likewise.
45053         * math/s_ccos.c: Likewise.
45054         * math/s_ccosf.c: Likewise.
45055         * math/s_ccosl.c: Likewise.
45056         * math/s_ctan.c: Likewise.
45057         * math/s_ctanf.c: Likewise.
45058         * math/s_ctanh.c: Likewise.
45059         * math/s_ctanhf.c: Likewise.
45060         * math/s_ctanhl.c: Likewise.
45061         * math/s_ctanl.c: Likewise.
45062         * math/w_fmod.c: Likewise.
45063         * math/w_fmodf.c: Likewise.
45064         * math/w_fmodl.c: Likewise.
45065         * math/w_remainder.c: Likewise.
45066         * math/w_remainderf.c: Likewise.
45067         * math/w_remainderl.c: Likewise.
45068         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45069         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45072         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45073         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45074         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45075         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45076
45077         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45078         of the number.
45079         * stdio-common/printf_fphex.c: Likewise.
45080         * stdio-common/printf_size.c: Likewise.
45081
45082         * math/e_exp10.c: Include math_private.h using <...> not "...".
45083         * math/e_exp10f.c: Likewise.
45084         * math/e_exp10l.c: Likewise.
45085         * math/e_exp2l.c: Likewise.
45086         * math/e_j0l.c: Likewise.
45087         * math/e_j1l.c: Likewise.
45088         * math/e_jnl.c: Likewise.
45089         * math/e_lgammal_r.c: Likewise.
45090         * math/e_rem_pio2l.c: Likewise.
45091         * math/e_scalb.c: Likewise.
45092         * math/e_scalbf.c: Likewise.
45093         * math/e_scalbl.c: Likewise.
45094         * math/k_cosl.c: Likewise.
45095         * math/k_sinl.c: Likewise.
45096         * math/k_tanl.c: Likewise.
45097         * math/s_cacoshf.c: Likewise.
45098         * math/s_catan.c: Likewise.
45099         * math/s_catanf.c: Likewise.
45100         * math/s_catanh.c: Likewise.
45101         * math/s_catanhf.c: Likewise.
45102         * math/s_catanhl.c: Likewise.
45103         * math/s_catanl.c: Likewise.
45104         * math/s_ccosh.c: Likewise.
45105         * math/s_ccoshf.c: Likewise.
45106         * math/s_ccoshl.c: Likewise.
45107         * math/s_cexp.c: Likewise.
45108         * math/s_cexpf.c: Likewise.
45109         * math/s_cexpl.c: Likewise.
45110         * math/s_clog.c: Likewise.
45111         * math/s_clog10.c: Likewise.
45112         * math/s_clog10f.c: Likewise.
45113         * math/s_clog10l.c: Likewise.
45114         * math/s_clogf.c: Likewise.
45115         * math/s_clogl.c: Likewise.
45116         * math/s_csin.c: Likewise.
45117         * math/s_csinf.c: Likewise.
45118         * math/s_csinh.c: Likewise.
45119         * math/s_csinhf.c: Likewise.
45120         * math/s_csinhl.c: Likewise.
45121         * math/s_csinl.c: Likewise.
45122         * math/s_csqrt.c: Likewise.
45123         * math/s_csqrtf.c: Likewise.
45124         * math/s_csqrtl.c: Likewise.
45125         * math/s_ctan.c: Likewise.
45126         * math/s_ctanf.c: Likewise.
45127         * math/s_ctanh.c: Likewise.
45128         * math/s_ctanhf.c: Likewise.
45129         * math/s_ctanhl.c: Likewise.
45130         * math/s_ctanl.c: Likewise.
45131         * math/s_ldexp.c: Likewise.
45132         * math/s_ldexpf.c: Likewise.
45133         * math/s_ldexpl.c: Likewise.
45134         * math/s_significand.c: Likewise.
45135         * math/s_significandf.c: Likewise.
45136         * math/s_significandl.c: Likewise.
45137         * math/w_acos.c: Likewise.
45138         * math/w_acosf.c: Likewise.
45139         * math/w_acosh.c: Likewise.
45140         * math/w_acoshf.c: Likewise.
45141         * math/w_acoshl.c: Likewise.
45142         * math/w_acosl.c: Likewise.
45143         * math/w_asin.c: Likewise.
45144         * math/w_asinf.c: Likewise.
45145         * math/w_asinl.c: Likewise.
45146         * math/w_atan2.c: Likewise.
45147         * math/w_atan2f.c: Likewise.
45148         * math/w_atan2l.c: Likewise.
45149         * math/w_atanh.c: Likewise.
45150         * math/w_atanhf.c: Likewise.
45151         * math/w_atanhl.c: Likewise.
45152         * math/w_cosh.c: Likewise.
45153         * math/w_coshf.c: Likewise.
45154         * math/w_coshl.c: Likewise.
45155         * math/w_dremf.c: Likewise.
45156         * math/w_exp10.c: Likewise.
45157         * math/w_exp10f.c: Likewise.
45158         * math/w_exp10l.c: Likewise.
45159         * math/w_exp2.c: Likewise.
45160         * math/w_exp2f.c: Likewise.
45161         * math/w_fmod.c: Likewise.
45162         * math/w_fmodf.c: Likewise.
45163         * math/w_fmodl.c: Likewise.
45164         * math/w_hypot.c: Likewise.
45165         * math/w_hypotf.c: Likewise.
45166         * math/w_hypotl.c: Likewise.
45167         * math/w_j0.c: Likewise.
45168         * math/w_j0f.c: Likewise.
45169         * math/w_j0l.c: Likewise.
45170         * math/w_j1.c: Likewise.
45171         * math/w_j1f.c: Likewise.
45172         * math/w_j1l.c: Likewise.
45173         * math/w_jn.c: Likewise.
45174         * math/w_jnf.c: Likewise.
45175         * math/w_jnl.c: Likewise.
45176         * math/w_lgamma.c: Likewise.
45177         * math/w_lgamma_r.c: Likewise.
45178         * math/w_lgammaf.c: Likewise.
45179         * math/w_lgammaf_r.c: Likewise.
45180         * math/w_lgammal.c: Likewise.
45181         * math/w_lgammal_r.c: Likewise.
45182         * math/w_log.c: Likewise.
45183         * math/w_log10.c: Likewise.
45184         * math/w_log10f.c: Likewise.
45185         * math/w_log10l.c: Likewise.
45186         * math/w_log2.c: Likewise.
45187         * math/w_log2f.c: Likewise.
45188         * math/w_log2l.c: Likewise.
45189         * math/w_logf.c: Likewise.
45190         * math/w_logl.c: Likewise.
45191         * math/w_pow.c: Likewise.
45192         * math/w_powf.c: Likewise.
45193         * math/w_powl.c: Likewise.
45194         * math/w_remainder.c: Likewise.
45195         * math/w_remainderf.c: Likewise.
45196         * math/w_remainderl.c: Likewise.
45197         * math/w_scalb.c: Likewise.
45198         * math/w_scalbf.c: Likewise.
45199         * math/w_scalbl.c: Likewise.
45200         * math/w_sinh.c: Likewise.
45201         * math/w_sinhf.c: Likewise.
45202         * math/w_sinhl.c: Likewise.
45203         * math/w_sqrt.c: Likewise.
45204         * math/w_sqrtf.c: Likewise.
45205         * math/w_sqrtl.c: Likewise.
45206         * math/w_tgamma.c: Likewise.
45207         * math/w_tgammaf.c: Likewise.
45208         * math/w_tgammal.c: Likewise.
45209
45210         * po/ja.po: Update from translation team.
45211
45212 2011-09-29  Andreas Jaeger  <aj@suse.de>
45213
45214         [BZ #13179]
45215         * sunrpc/netname.c (netname2host): Fix logic.
45216
45217         [BZ #6779]
45218         [BZ #6783]
45219         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45220         correctly.
45221         * math/w_remainder.c (__remainder): Likewise.
45222         * math/w_remainderf.c (__remainderf): Likewise.
45223         * math/libm-test.inc (remainder_test): Add test cases.
45224
45225 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45226
45227         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45228         sdiv_qrnnd.
45229
45230 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45231
45232         * string/test-memcmp.c: Avoid unncessary #defines.
45233         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45234
45235 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45236
45237         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45238         Use new sse2 version for core i3 - i7 as it's faster
45239         than sse42 version.
45240         (bit_Prefer_PMINUB_for_stringop): New.
45241         * sysdeps/x86_64/rawmemchr.S: Update.
45242         Replace with faster SSE2 version.
45243         * sysdeps/x86_64/memrchr.S: New file.
45244         * sysdeps/x86_64/memchr.S: Update.
45245         Replace with faster SSE2 version.
45246
45247 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45248
45249         * elf/dl-load.c (lose): Add cast to avoid warning.
45250
45251 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45252
45253         * po/ca.po: Update from translation team.
45254
45255         * inet/getnetgrent_r.c: Hook up nscd.
45256         * nscd/Makefile (routines): Add nscd_netgroup.
45257         (nscd-modules): Add netgroupcache.
45258         (CFLAGS-netgroupcache.c): Define.
45259         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45260         (cache_search): Add const to second parameter.
45261         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45262         INNETGR.
45263         (dbs): Add netgrdb entry.
45264         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45265         (verify_persistent_db): Handle netgrdb.
45266         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45267         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45268         GETFDNETGR.
45269         (netgroup_response_header): Define.
45270         (innetgroup_response_header): Define.
45271         (datahead): Add netgroup_response_header and innetgroup_response_header
45272         elements.
45273         * nscd/nscd.conf: Add entries for netgroup cache.
45274         * nscd/nscd.h (dbtype): Add netgrdb.
45275         (_PATH_NSCD_NETGROUP_DB): Define.
45276         (netgroup_iov_disabled): Declare.
45277         (xmalloc, xcalloc, xrealloc): Move declarations here.
45278         (cache_search): Adjust prototype.
45279         Add netgroup-related prototypes.
45280         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45281         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45282         (__nscd_innetgr): Declare.
45283         * nscd/selinux.c (perms): Use access_vector_t as element type and
45284         add netgroup-related initializers.
45285         * nscd/netgroupcache.c: New file.
45286         * nscd/nscd_netgroup.c: New file.
45287         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45288         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45289         For four parameters use innetgr.
45290         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45291         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45292         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45293         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45294
45295         * nscd/connections.c (register_traced_file): Don't register file
45296         for disabled databases.
45297
45298 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45299
45300         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45301
45302         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45303         from tree and freeing node.
45304
45305 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45306
45307         * nss/nsswitch.c (__nss_database_lookup): Handle
45308         nss_parse_service_list out of memory case.
45309
45310 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45311
45312         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45313         out of memory case.
45314
45315 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45316
45317         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45318         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45319         pass it down.
45320         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45321         elf_machine_rela, elf_machine_lazy_rel.
45322         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45323         (ELF_DYNAMIC_DO_REL): Likewise.
45324         (ELF_DYNAMIC_DO_RELA): Likewise.
45325         (ELF_DYNAMIC_RELOCATE): Likewise.
45326         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45327         to ELF_DYNAMIC_DO_REL.
45328         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45329         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45330         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45331         elf_machine_rela.
45332         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45333         skip_ifunc, don't call ifunc function if non-zero.
45334         (elf_machine_rela): Likewise.
45335         (elf_machine_lazy_rel): Likewise.
45336         (elf_machine_lazy_rela): Likewise.
45337         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45338         (elf_machine_lazy_rel): Likewise.
45339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45340         Likewise.
45341         (elf_machine_lazy_rel): Likewise.
45342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45343         Likewise.
45344         (elf_machine_lazy_rel): Likewise.
45345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45346         (elf_machine_lazy_rel): Likewise.
45347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45348         (elf_machine_lazy_rel): Likewise.
45349         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45350         (elf_machine_lazy_rel): Likewise.
45351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45352         (elf_machine_lazy_rel): Likewise.
45353         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45354         (elf_machine_lazy_rel): Likewise.
45355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45356         (elf_machine_lazy_rel): Likewise.
45357
45358 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45359
45360         * nss/nss_files/files-init.c (_nss_files_init): Use static
45361         initialization for all the *_traced_file variables.
45362
45363 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45364
45365         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45366
45367 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45368
45369         [BZ #13226]
45370         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45371
45372 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45373
45374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45375         Reread the line before reparsing it.
45376
45377 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45378
45379         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45380
45381 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45382             Maxim Kuvyrkov  <maxim@codesourcery.com>
45383             Joseph Myers  <joseph@codesourcery.com>
45384
45385         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45386         if needed for __stack_chk_guard.
45387
45388 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45389
45390         * sysdeps/posix/spawni.c (script_execute): Always define it.
45391         It will be optimized away if unused.
45392         (maybe_script_execute): New function.
45393         (__spawni): Call it.
45394
45395         * Makerules: Don't include tls.make.
45396         (config-tls): Always set to thread.
45397         * tls.make.c: File removed.
45398
45399 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45400
45401         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45402         * config.make.in (CPPFLAGS-config): New substituted variable.
45403
45404 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45405
45406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45407
45408         [BZ #13192]
45409         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45410         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45411
45412 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45413
45414         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45415         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45417         (CALL_FAIL): Likewise.
45418         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45419         (CALL_FAIL): Macro removed.
45420         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45421
45422 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45423
45424         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45425         for __FINITE_MATH_ONLY__ == 1.
45426
45427 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45428
45429         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45430         __ieee754_sqrt instead of sqrt.
45431         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45432         __ieee754_sqrtf instead of sqrtf.
45433         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45434         __floorf instead of floorf.
45435         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45436         __floorf, __truncf instead of floorf, truncf.
45437
45438 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45439
45440         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45441
45442         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45443         __extern_always_inline.
45444         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45445         32-bit.
45446
45447 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45448
45449         * elf/rtld.c (dl_main): Also relocate in dependency order when
45450         doing symbol dependency testing.
45451
45452 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45453
45454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45455         Always define `refsym'.
45456
45457 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45458
45459         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45460         (__FD_ELT): Renamed from __FDELT.
45461         * misc/bits/select2.h (__FD_ELT): Likewise.
45462         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45463         __FD_MASK instead of __FDELT, __FDMASK.
45464         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45465         Likewise.
45466         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45467         Likewise.
45468
45469         * elf/Makefile (gen-ldd): Fix pattern.
45470
45471         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45472         (init_tls): Likewise.
45473
45474 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45475
45476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45477
45478 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45479
45480         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45481         `struct cmsghdr *' instead of `void *'.
45482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45483         Likewise.
45484
45485 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45486
45487         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45488         if non-absolute.
45489         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45490         ldd_rewrite_script.
45491
45492 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45493
45494         * configure.in: Remove --with-tls option.
45495         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45496         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45497         out in case it is missing.
45498         * sysdeps/ia64/elf/configure.in: Likewise.
45499         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45500         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45501         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45502         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45503         * sysdeps/sh/elf/configure.in: Likewise.
45504         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45505         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45506         * sysdeps/x86_64/elf/configure.in: Likewise.
45507         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45508         * sysdeps/mach/hurd/tls.h: Likewise.
45509
45510         [BZ #13067]
45511         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45512
45513         [BZ #13090]
45514         * configure.in: Fix use of AC_INIT.
45515
45516         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45517
45518 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45519
45520         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45521         __set_errno.
45522         * malloc/hooks.c: Likewise.
45523
45524         [BZ #11929]
45525         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45526         variables statically.
45527         (narenas): Initialize.
45528         (list_lock): Initialize.
45529         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45530         initializtion of main_arena and list_lock.  Small cleanups.
45531         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45532         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45533         Add initializers to main_arena and mp_.
45534         (malloc_state): Remove pagesize member.  Change all users to use
45535         GLRO(dl_pagesize).
45536
45537         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45538         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45539         is always initialized.
45540
45541         * malloc/malloc.c: Removed unused configurations and dead code.
45542         * malloc/arena.c: Likewise.
45543         * malloc/hooks.c: Likewise.
45544         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45545
45546         * include/tls.h: Removed.  USE___THREAD must always be defined.
45547         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45548         * elf/dl-libc.c: Likewise.
45549         * elf/dl-tsd.c: Likewise.
45550         * include/errno.h: Likewise.
45551         * include/netdb.h: Likewise.
45552         * include/resolv.h: Likewise.
45553         * inet/herrno-loc.c: Likewise.
45554         * inet/herrno.c: Likewise.
45555         * malloc/arena.c: Likewise.
45556         * malloc/hooks.c: Likewise.
45557         * malloc/malloc.c: Likewise.
45558         * resolv/res-state.c: Likewise.
45559         * resolv/res_libc.c: Likewise.
45560         * sysdeps/i386/dl-machine.h: Likewise.
45561         * sysdeps/ia64/dl-machine.h: Likewise.
45562         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45564         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45565         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45566         * sysdeps/sh/dl-machine.h: Likewise.
45567         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45568         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45569         * sysdeps/unix/i386/sysdep.S: Likewise.
45570         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45571         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45576         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45581         * sysdeps/x86_64/dl-machine.h: Likewise.
45582         * tls.make.c: Likewise.
45583
45584         * configure.in: Remove --with-__thread option.  Make tests for
45585         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45586         tls_model attribute fail if no support is available.  Remove
45587         USE_IN_LIBIO.
45588         * Makeconfig: Adjust for dropped configure option.  All features are
45589         now mandatory.
45590         * Makerules: Likewise.
45591         * Versions.def: Likewise.
45592         * argp/argp-fmtstream.c: Likewise.
45593         * argp/argp-fmtstream.h: Likewise.
45594         * argp/argp-help.c: Likewise.
45595         * assert/assert.c: Likewise.
45596         * config.h.in: Likewise.
45597         * config.make.in: Likewise.
45598         * configure: Likewise.
45599         * configure.in: Likewise.
45600         * csu/Versions: Likewise.
45601         * csu/init.c: Likewise.
45602         * elf/tst-audit2.c: Likewise.
45603         * elf/tst-tls10.c: Likewise.
45604         * elf/tst-tls10.h: Likewise.
45605         * elf/tst-tls11.c: Likewise.
45606         * elf/tst-tls12.c: Likewise.
45607         * elf/tst-tls14.c: Likewise.
45608         * elf/tst-tlsmod11.c: Likewise.
45609         * elf/tst-tlsmod12.c: Likewise.
45610         * elf/tst-tlsmod13.c: Likewise.
45611         * elf/tst-tlsmod13a.c: Likewise.
45612         * elf/tst-tlsmod14a.c: Likewise.
45613         * elf/tst-tlsmod15b.c: Likewise.
45614         * elf/tst-tlsmod16a.c: Likewise.
45615         * elf/tst-tlsmod16b.c: Likewise.
45616         * elf/tst-tlsmod7.c: Likewise.
45617         * elf/tst-tlsmod8.c: Likewise.
45618         * elf/tst-tlsmod9.c: Likewise.
45619         * gmon/gmon.c: Likewise.
45620         * grp/fgetgrent_r.c: Likewise.
45621         * grp/putgrent.c: Likewise.
45622         * hurd/fopenport.c: Likewise.
45623         * include/libc-symbols.h: Likewise.
45624         * include/tls.h: Likewise.
45625         * intl/gettextP.h: Likewise.
45626         * intl/loadinfo.h: Likewise.
45627         * locale/global-locale.c: Likewise.
45628         * locale/localeinfo.h: Likewise.
45629         * mach/devstream.c: Likewise.
45630         * malloc/arena.c: Likewise.
45631         * malloc/set-freeres.c: Likewise.
45632         * misc/err.c: Likewise.
45633         * misc/getttyent.c: Likewise.
45634         * misc/mntent_r.c: Likewise.
45635         * posix/getopt.c: Likewise.
45636         * posix/wordexp.c: Likewise.
45637         * pwd/fgetpwent_r.c: Likewise.
45638         * resolv/Versions: Likewise.
45639         * resolv/res_hconf.c: Likewise.
45640         * shadow/fgetspent_r.c: Likewise.
45641         * shadow/putspent.c: Likewise.
45642         * stdio-common/printf_fphex.c: Likewise.
45643         * stdio-common/tmpfile.c: Likewise.
45644         * stdlib/abort.c: Likewise.
45645         * stdlib/fmtmsg.c: Likewise.
45646         * sunrpc/auth_unix.c: Likewise.
45647         * sunrpc/clnt_perr.c: Likewise.
45648         * sunrpc/clnt_tcp.c: Likewise.
45649         * sunrpc/clnt_udp.c: Likewise.
45650         * sunrpc/clnt_unix.c: Likewise.
45651         * sunrpc/openchild.c: Likewise.
45652         * sunrpc/svc_simple.c: Likewise.
45653         * sunrpc/svc_tcp.c: Likewise.
45654         * sunrpc/svc_udp.c: Likewise.
45655         * sunrpc/svc_unix.c: Likewise.
45656         * sunrpc/xdr.c: Likewise.
45657         * sunrpc/xdr_array.c: Likewise.
45658         * sunrpc/xdr_rec.c: Likewise.
45659         * sunrpc/xdr_ref.c: Likewise.
45660         * sunrpc/xdr_stdio.c: Likewise.
45661
45662 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45663
45664         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45665
45666 2011-07-03  Andreas Jaeger  <aj@suse.de>
45667
45668         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45669         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45670         regenerate with gen-libm-tests.pl.
45671
45672 2010-05-12  Petr Baudis  <pasky@suse.cz>
45673
45674         [BZ #11589]
45675         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45676         around j0() zero points by switching to j1().
45677         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45681
45682 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45683
45684         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45685         instead of 0.
45686         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45687         instead of 0.
45688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45689         Patch in part by Pavel Roskin <proski@gnu.org>.
45690
45691         [BZ #13138]
45692         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45693         realloc.
45694         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45695         Free memory block if necessary.
45696
45697         [BZ #12847]
45698         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45699         be NULL.  Don't lock in this case.
45700
45701 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45702
45703         * elf/elf.h (ELFOSABI_GNU): New macro.
45704         (ELFOSABI_LINUX): Define to that.
45705
45706 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45707
45708         * string/strncat.c (strncat): Undef the symbol in case it has been
45709         defined in bits/string.h.
45710
45711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45712
45713         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45714
45715         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45716         link map.
45717
45718 2011-08-17  Andreas Jaeger  <aj@suse.de>
45719
45720         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45721
45722 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45723             Ian Lance Taylor  <iant@google.com>
45724
45725         * math/libm-test.inc (lround_test): New testcase.
45726         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45727
45728 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45729
45730         * Makefile: Remove support for automatic cvs check-ins.
45731         * Makerules: Likewise.
45732         * config.make.in: Likewise.
45733         * configure.in: Likewise.
45734         * intl/Makefile: Likewise.
45735         * locale/Makefile: Likewise.
45736         * po/Makefile: Likewise.
45737         * posix/Makefile: Likewise.
45738         * sysdeps/gnu/Makefile: Likewise.
45739         * sysdeps/mach/hurd/Makefile: Likewise.
45740         * sysdeps/sparc/sparc32/Makefile: Likewise.
45741
45742         [BZ #13118]
45743         * posix/Makefile (bug-regex32-ENV): Define.
45744         Patch by John Stanley <jpsinthemix@verizon.net>.
45745
45746         * misc/Makefile (headers): Add bits/select2.h.
45747         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45748         * misc/bits/select2.h: New file.
45749         * include/bits/select2.h: New file.
45750         * debug/Makefile (routines): Add fdelt_chk.
45751         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45752         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45753         FD_ISSET.
45754         * debug/fdelt_chk.c: New file.
45755
45756         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45757         * wcsmbs/test-wmemcmp.c: Likewise.
45758         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45759         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45760
45761 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45762
45763         * string/Makefile (strop-tests): Add memcmp.
45764         * string/test-wmemcmp.c: New file.
45765         * string/test-memcmp.c: Add wmemcmp support.
45766
45767 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45768
45769         [BZ #13153]
45770         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45771         2011-07-19 change.
45772
45773         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45774         garbage value in a __mach_port_mod_refs call in the cases of the
45775         task-self and thread-self ports.
45776
45777 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45778
45779         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45780
45781 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45782
45783         * elf/dl-load.c (lose): Check for non-null L.
45784
45785 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45786
45787         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45788
45789         * elf/dl-libc.c (dlerror_run): Pass back error code from
45790         dl_catch_error.
45791
45792         [BZ #13123]
45793         * elf/dl-load.c (lose): Free l_origin if it is valid.
45794
45795         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45796         names.
45797         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45798         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45799         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45800         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45801         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45802         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45803
45804 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45805
45806         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45807         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45808         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45809         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45810         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45811         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45812         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45813         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45814         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45815         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45816
45817 2011-08-15  Alan Modra  <amodra@gmail.com>
45818
45819         [BZ #13092]
45820         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45821         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45822         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45823         ppc_mcount to static-only-routines.
45824         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45825         __mcount_internal.
45826         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45827         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45828
45829 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45830
45831         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45832         for finite and infinity parameters.
45833
45834 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45835
45836         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45837         and add nop instructions for throughput optimization.
45838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45839
45840 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45841
45842         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45843         aligned copy for power7 with vector-scalar instructions.
45844         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45845
45846 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45847
45848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45849         AVX check.
45850
45851 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45852
45853         [BZ #13144]
45854         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45855         last change.
45856
45857 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45858
45859         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45860         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45861         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45863         clock_gettime.
45864
45865 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45866
45867         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45868         Forgot to demangle the pointer.
45869
45870         * sysdeps/i386/sysdep.h: Define atom_text_section.
45871         * sysdeps/x86_64/sysdep.h: Likewise.
45872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45873         section with atom_text_section.
45874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45875         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45876         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45878         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45879
45880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45881         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45882         already be defined.  Change to take two parameters and don't assign
45883         result to variable.  Adjust all users.
45884         Define INTERNAL_GETTIME if not already defined.
45885         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45886         call.
45887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45888         HAVE_CLOCK_GETTIME_VSYSCALL.
45889         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45890
45891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45892         gettimeofday vsyscall, just use time.
45893
45894 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45895
45896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45897         <errno.h>.
45898
45899 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45900
45901         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45902         syscall on x86-64.
45903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45904         syscall.
45905         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45906         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45907         syscall if possible.
45908
45909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45910
45911         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45912         e_ident.  Don't pass to find_mapsXX.
45913         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45914
45915 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45916
45917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45918         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45919         * sysdeps/x86_64/multiarch/strchr.S: Update.
45920         Check bit_slow_BSF bit.
45921         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45922         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45923         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45924
45925 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45926
45927         [BZ #13134]
45928         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45929         before glibc 2.15.
45930         (tryshell): Define.
45931         (__spawni): Change last parameter to be flag.  Test
45932         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45933         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45934         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45935         * posix/spawni.c: Likewise.
45936         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45937         * posix/spawnp.c: Likewise.  Change normal version to use
45938         SPAWN_XFLAGS_USE_PATH.
45939         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45940         SPAWN_XFLAGS_TRY_SHELL.
45941
45942         [BZ #13150]
45943         * posix/glob.h: Remove gcc 1.x support.
45944
45945         [BZ #13068]
45946         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45947
45948 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45949
45950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45951         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45952         strrchr-sse2-bsf
45953         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45954         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45955         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45956         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45957         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45958         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45959
45960 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45961
45962         * sysdeps/x86_64/wcscmp.S: New file.
45963
45964         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45965         wcscmp-c wcscmp-sse2
45966         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45967         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45968         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45969         * wcsmbs/wcscmp.c: Allow renaming.
45970
45971 2011-09-05  David S. Miller  <davem@davemloft.net>
45972
45973         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45974         stack slot, rather than the struct return pointer slot.
45975         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45976         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45978         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45979
45980 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45981
45982         * po/ja.po: Update from translation team.
45983
45984         [BZ #13144]
45985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45986         kernel in 64-bit binaries.
45987
45988 2011-09-01  David S. Miller  <davem@davemloft.net>
45989
45990         * elf/elf.h (HWCAP_SPARC_*): Move to..
45991         * sysdeps/sparc/sysdep.h: this new file and add new values.
45992         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45993         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45994         _DL_HWCAP_COUNT to 24.
45995         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45996         entries.
45997         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45998         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45999         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46001         instead of magic constants.
46002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46003
46004 2011-08-31  David S. Miller  <davem@davemloft.net>
46005
46006         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46008         Reimplement to do errno handling inline.
46009         (SYSCALL_ERROR_HANDLER): New macro.
46010         (__SYSCALL_STRING): Do not do errno handling in asm.
46011         (__CLONE_SYSCALL_STRING): Delete.
46012         (__INTERNAL_SYSCALL_STRING): Delete.
46013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46014         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46015         (PSEUDO): Reimplement to do errno handling inline.
46016         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46017         (SYSCALL_ERROR_HANDLER): New macro.
46018         (__SYSCALL_STRING): Do not do errno handling in asm.
46019         (__CLONE_SYSCALL_STRING): Delete.
46020         (__INTERNAL_SYSCALL_STRING): Delete.
46021         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46022         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46023         i386.
46024         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46025         (inline_syscall*): Add 'err' argument.
46026         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46027         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46028         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46029         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46030
46031         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46032         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46033
46034 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46035
46036         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46037
46038 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46039
46040         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46041         directive.
46042
46043 2011-08-24  David S. Miller  <davem@davemloft.net>
46044
46045         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46046
46047 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46048
46049         * elf/Makefile: Add rules to build and run unload8 test.
46050         * elf/unload8.c: New file.
46051         * elf/unload8mod1.c: New file.
46052         * elf/unload8mod1x.c: New file.
46053         * elf/unload8mod2.c: New file.
46054         * elf/unload8mod3.c: New file.
46055
46056         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46057         it wasn't used.
46058
46059 2011-08-23  David S. Miller  <davem@davemloft.net>
46060
46061         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46062         subtract stack bias.
46063         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46064         %sp not %fp in calculations.
46065         (_JMPBUF_UNWINDS_ADJ): Likewise.
46066
46067         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46068         (aio_suspend): Call it to force an exception region around the
46069         AIO_MISC_WAIT() invocation.
46070
46071 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46072
46073         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46074         backslash.
46075
46076 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46077
46078         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46079         protection macro.
46080         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46081         and <dl-machine.h>.
46082         (Elf64_FuncDesc): Remove.
46083
46084 2011-08-22  David S. Miller  <davem@davemloft.net>
46085
46086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46087         sigaltstack check, add missing cfi directives.
46088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46089         missing cfi directives, and sigaltstack handling.
46090
46091 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46092
46093         [BZ #11724]
46094         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46095         object is seen twice.
46096         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46097
46098         * elf/Makefile (distribute): Add tst-initorder2.c.
46099         (tests): Add tst-initorder2.
46100         (modules-names): Add tst-initorder2a tst-initorder2b
46101         tst-initorder2c tst-initorder2d.  Add rules to build them.
46102         ($(objpfx)tst-initorder2.out): New rule.
46103         * elf/tst-initorder2.c: New file.
46104         * elf/tst-initorder2.exp: New file.
46105
46106 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46107
46108         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46109
46110         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46111         dependencies back to end of function.
46112
46113         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46114         $(elfobjdir)/ld.so.
46115
46116 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46117
46118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46119         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46121         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46122         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46123         of __vdso_gettimeofday.
46124         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46125         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46126         attribute_hidden.
46127         (_libc_vdso_platform_setup): Remove initialization of
46128         __vdso_gettimeofday and __vdso_time.
46129
46130 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46131
46132         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46133         and fgetc_unlocked.
46134         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46135         getc_unlocked.
46136
46137         * elf/dl-open.c (add_to_global): Report additions to the global scope
46138         for LD_DEBUG=scopes.
46139         (dl_open_worker): Also print scope of newly loaded dependencies.
46140         (_dl_show_scope): Indicate if there is no scope.
46141
46142         [BZ #13114]
46143         * stdio-common/Makefile (tests): Add bug24.
46144         * stdio-common/bug24.c: New file.
46145
46146 2011-08-19  Andreas Jaeger  <aj@suse.de>
46147
46148         [BZ #13114]
46149         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46150         non-existant file when using close-on-exec mode.
46151
46152 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46153
46154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46155         the very first instruction.
46156
46157         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46158         the CFI state in the end.
46159         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46160         inclusion of dl-trampoline.h.
46161         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46162
46163 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46164
46165         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46166         expectations for long double.
46167
46168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46169         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46170
46171 2011-08-14  David S. Miller  <davem@davemloft.net>
46172
46173         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46174         artificual limit depends upon the system page size.
46175
46176 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46177
46178         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46179         * resolv/Makefile: Define CFLAGS-libresolv.
46180
46181 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46182
46183         * nss/makedb.c (compute_tables): Make variables used in nested
46184         function static.
46185
46186 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46187
46188         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46189         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46190         if buffer was too small.
46191
46192         * elf/pldd.c (main): Attach to all threads in the process.
46193         Rewrite /proc handling to use *at functions.
46194
46195 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46196
46197         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46198         specifies first scope to show.
46199         (dl_open_worker): Update callers.  Move printing scope of new
46200         object to before the relocation.
46201         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46202         * sysdeps/generic/ldsodefs.h: Update declaration.
46203
46204         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46205         string for the scope number.
46206
46207 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46208
46209         * nscd/servicescache.c (cache_addserv): Make sure written is always
46210         initialized.
46211
46212 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46213
46214         * sysdeps/i386/i486/bits/atomic.h
46215         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46216         statement expression, so as to suppress "set but not used" warning.
46217         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46218
46219         * string/strncat.c (STRNCAT): Use prototype definition.
46220
46221         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46222         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46223         -Iprograms here.
46224         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46225         (localedef-modules): Add localedef.
46226         (locale-modules): Add locale.
46227
46228         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46229         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46230         to avoid a warning.
46231
46232 2011-08-14  David S. Miller  <davem@davemloft.net>
46233
46234         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46235         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46236
46237 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46238
46239         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46240         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46241         * elf/rtld.c (dl_main): Set l_name of vDSO.
46242         Call _dl_show_scope when DL_DEBUG_SCOPES.
46243         (process_dl_debug): Recognize scopes flag and also set it for all.
46244         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46245         Declare _dl_show_scope.
46246
46247         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46248         (do_dlopen): Pass caller_dlopen to dl_open.
46249         (__libc_dlopen_mode): Initialize caller_dlopen.
46250
46251         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46252         of libc.  Make tolower call locale-independent.  Optimize a bit by
46253         using isdigit instead of isalnum.
46254         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46255
46256 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46257
46258         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46259         was a dependency or dynamically loaded.
46260
46261 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46262
46263         * intl/l10nflist.c: Allow architecture-specific pop function.
46264         * sysdeps/x86_64/l10nflist.c: New file.
46265
46266         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46267         classification.
46268
46269 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46270
46271         * include/dirent.h: Add libc_hidden_proto for scandirat and
46272         scandirat64.  Don't declare __scandirat64.
46273         * dirent/scandirat.c: Add libc_hidden_def.
46274         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46275         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46276
46277 2011-08-10  David S. Miller  <davem@davemloft.net>
46278
46279         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46280         enum.
46281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46283         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46284
46285 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46286
46287         * Versions.def [libc]: Add GLIBC_2.15.
46288         * dirent/Makefile (routines): Add scandirat and scandirat64.
46289         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46290         GLIBC_2.15.
46291         * dirent/dirent.h: Declare scandirat and scandirat64.
46292         * dirent/scandirat.c: New file.
46293         * dirent/scandirat64.c: New file.
46294         * sysdeps/wordsize-64/scandirat.c: New file.
46295         * sysdeps/wordsize-64/scandirat64.c: New file.
46296         * dirent/opendir.c: Define opendirat.
46297         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46298         using scandirat.
46299         * dirent/scandir64.c: Adjust for scandir.c change.
46300         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46301         __scandirat64, and __scandir_cancel_handler.
46302         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46303         additional parameter and use openat instead of open (outside of ld.so).
46304         Add new __opendir as wrapper around __opendirat.
46305         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46306         here without requiring old scandirat implementation.
46307
46308 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46309
46310         * dirent/scandir.c (cancel_handler): Renamed to
46311         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46312         defined.  Adjust users.
46313         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46314         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46315
46316 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46317
46318         * string/test-string.h (IMPL): Use __STRING to expand name and then
46319         stringify it.
46320
46321         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46322         of cleanups.
46323
46324 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46325
46326         * string/Makefile: Update.
46327         (strop-tests): Append strncat.
46328         * string/test-wcscmp.c: New file.
46329         New comprehensive test for wcscmp.
46330         * string/test-strcmp.c: Update.
46331         (WIDE): New define.
46332
46333 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46334
46335         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46336         line.
46337
46338 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46339
46340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46341         encoding to ACE if AI_IDN.
46342
46343 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46344
46345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46346         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46347
46348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46349
46350         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46351         Fix overflow bug in strncat.
46352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46353
46354         * string/test-strncat.c: Update.
46355         Add new tests for checking overflow bugs.
46356
46357 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46358
46359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46360         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46361         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46362         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46364         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46365         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46366         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46367         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46368
46369         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46370         (USE_AS_STRCAT): Define.
46371         Add strcat and strncat support.
46372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46373
46374 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46375
46376         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46377         __n bigger than INT_MAX+1.
46378         (__strncmp_g): Likewise.
46379
46380 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46381
46382         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46383         * libio/stido.h: Likewise.
46384
46385         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46386         (AF_NFC): Define.
46387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46388         (AF_NFC): Define.
46389
46390         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46392         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46393         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46395
46396         [BZ #13021]
46397         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46398         installed.
46399
46400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46401         typo.
46402         (_dl_x86_64_save_sse): Likewise.
46403
46404 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46405
46406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46407         OSXSAVE.
46408         (_dl_x86_64_save_sse): Likewise.
46409
46410         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46411
46412         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46413
46414 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46415
46416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46417         change.
46418         (_dl_x86_64_save_sse): Use correct AVX check.
46419
46420 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46421
46422         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46423         bug in strncpy/strncat.
46424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46425
46426 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46427
46428         * string/tester.c (test_strcat): Add tests for different alignments
46429         of source and destination.
46430         (test_strncat): Likewise.
46431
46432 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46433
46434         [BZ #12852]
46435         * posix/glob.c (glob): Check passed in values before using them in
46436         expressions to avoid some overflows.
46437         (glob_in_dir): Likewise.
46438
46439         [BZ #13007]
46440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46441         check for AVX enablement so that we don't crash with old kernels and
46442         new hardware.
46443         * elf/tst-audit4.c: Add same checks here.
46444         * elf/tst-audit6.c: Likewise.
46445
46446         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46447
46448 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46449
46450         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46451
46452 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46453
46454         * po/cs.po: Update from translation team.
46455         * po/bg.po: Likewise.
46456
46457 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46458
46459         * misc/sys/cdefs.h: Add support for const attribute.
46460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46461         to gnu_dev_{major,minor,makedev} functions.
46462
46463 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46464
46465         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46466
46467 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46468
46469         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46470         strlen results.
46471
46472 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46473
46474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46475         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46476         register in order to avoid conflicts with the soft frame pointer
46477         being held in r11 when necessary.
46478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46479         (INTERNAL_VSYSCALL_NCS): Likewise.
46480
46481 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46482
46483         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46484         * elf/dl-fini.c (_dl_fini): Adjust caller.
46485         * elf/dl-close.c (_dl_close_worker): Likewise.
46486         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46487
46488 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46489
46490         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46491         "aux_cache->nlibs < 0".
46492
46493         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46494         in the reload-count case.
46495
46496 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46497
46498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46499         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46500         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46501         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46502         * sysdeps/x86_64/multiarch/strcat.S: New file.
46503         * sysdeps/x86_64/multiarch/strncat.S: New file.
46504         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46505         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46506         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46507         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46508         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46509         (USE_AS_STRCAT): Define.
46510         Add strcat and strncat support.
46511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46512         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46514         * string/strncat.c: Update.
46515         (USE_AS_STRNCAT): Define.
46516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46517         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46518         and i7.
46519         * sysdeps/x86_64/multiarch/init-arch.h
46520         (bit_Prefer_PMINUB_for_stringop): New.
46521         (index_Prefer_PMINUB_for_stringop): Likewise.
46522         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46523         bit_Prefer_PMINUB_for_stringop.
46524
46525 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46526
46527         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46528         buffer64.
46529         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46530         of casting of buffer.
46531         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46532         buffer32 and buffer64.
46533         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46534         writes instead of casting of buffer.
46535         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46536         buffer32.
46537         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46538         casting of buffer.
46539
46540 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46541
46542         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46543
46544 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46545
46546         * nscd/nscd.c (termination_handler): Don't do anything for a database
46547         if it has not yet been initialized.
46548
46549 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46550
46551         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46552
46553 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46554
46555         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46556
46557 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46558
46559         * po/nl.po: Update from translation team.
46560         * po/sv.po: Likewise.
46561
46562 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46563
46564         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46565         now disallowed by GCC.
46566
46567         * configure.in (use-default-link): Default to yes if a test -shared
46568         link meets our qualifications.
46569         * configure: Regenerated.
46570
46571         * config.make.in (output-format): New variable.
46572         * configure.in: Check for ld --print-output-format support.
46573         * configure: Regenerated.
46574         * Makerules ($(common-objpfx)format.lds)
46575         [$(output-format) != unknown]: Just use $(output-format),
46576         instead of the linker-script munging.
46577
46578 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46579
46580         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46581         of $(common-objpfx)shlib.lds.
46582         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46583
46584         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46585         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46586
46587         * configure.in (-z relro check): Adjust test code to add a large
46588         writable data section after it.
46589         * configure: Regenerated.
46590
46591 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46592
46593         * configure.in (-z relro check): Fix test code to make the variable
46594         truly const.
46595         * configure: Regenerated.
46596
46597 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46598
46599         * nscd/nscd.h (struct traced_file): Define.
46600         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46601         elements.  Add traced_files.
46602         (inotify_fd): Declare.
46603         (register_traced_file): Declare.
46604         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46605         (inotify_fd): Export.
46606         (resolv_conf_descr): Remove.
46607         (nscd_init): Move inotify descriptor creation to main.
46608         Don't register files for notification here.
46609         (register_traced_file): New function.
46610         (invalidate_cache): Don't use reset_res to determine whether to call
46611         res_init, go through the list of registered files.
46612         (main_loop_poll): The inotify descriptors are now stored in the
46613         structures for the traced files.
46614         (main_loop_epoll): Likewise
46615         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46616         to __nss_disable_nscd.
46617         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46618         for a database anymore.  Check the records for all the registered
46619         files instead.
46620         * nss/Makefile (libnss_files-routines): Add files-init.
46621         (libnss_db-routines): Add db-init.
46622         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46623         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46624         * nss/nss_db/db-init.c: New file.
46625         * nss/nss_files/files-init.c: New file.
46626         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46627         __nss_lookup_function.
46628         (__nss_lookup_function): Call nss_load_library.
46629         (nss_load_all_libraries): New function.
46630         (__nss_disable_nscd): Take parameter with callback function for files
46631         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46632         used for the cached services.
46633         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46634         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46635         options for features to all the files in nscd.
46636
46637         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46638
46639 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46640
46641         * csu/elf-init.c (__libc_csu_init): Comment typo.
46642
46643 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46644
46645         * po/pl.po: Update from translation team.
46646         * po/ja.po: Likewise.
46647         * po/ru.po: Likewise.
46648         * po/ko.po: Likewise.
46649         * po/fr.po: Likewise.
46650
46651 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46652
46653         * configure.in (.ctors/.dtors header and trailer check):
46654         Use an empirical test on a built program.
46655         * configure: Regenerated.
46656
46657         * configure.in (-z relro check): Use an empirical test on a built DSO.
46658         Detect, but do not require, on ia64.
46659         * configure: Regenerated.
46660
46661         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46662         Update tests that use readelf to use $READELF instead.
46663         * configure: Regenerated.
46664
46665 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46666
46667         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46668         if the result is not used.
46669
46670 2011-07-05  Andreas Jaeger  <aj@suse.de>
46671
46672         [BZ#9696]
46673         * stdlib/tst-strtod.c: Add testcase.
46674
46675 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46676
46677         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46678         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46679         The latter has a higher limit.  Take additional parameter to pass to
46680         the new function.
46681         (__pathconf): Pass file to __statfs_link_max.
46682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46683         __statfs_link_max.
46684         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46685         __statfs_link_max.
46686
46687         [BZ #12868]
46688         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46690         Handle Lustre.
46691         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46692         (__statfs_filesize_max): Likewise.
46693         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46694
46695 2011-07-05  Andreas Jaeger  <aj@suse.de>
46696
46697         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46698
46699 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46700
46701         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46702         `status' variable.
46703         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46704         Likewise.
46705
46706 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46707
46708         * Makefile (strop-tests): Add strncat.
46709         * string/test-strncat.c: New file.
46710
46711 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46712
46713         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46714
46715 2011-06-21  Andreas Jaeger  <aj@suse.de>
46716
46717         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46718         Copy rule from iconvdata/Makefile.
46719
46720 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46721
46722         [BZ #12922]
46723         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46724         but no long options are defined, just return 'W'.
46725
46726 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46727
46728         [BZ #9696]
46729         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46730
46731 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46732
46733         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46734         netgroups to read.
46735         (innetgr): Likewise.
46736
46737 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46738
46739         * config.make.in (install_root): Default to $(DESTDIR).
46740
46741 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46742
46743         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46744
46745 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46746
46747         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46748
46749         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46750         containing directory rather than embedding absolute directory names.
46751
46752         * scripts/check-local-headers.sh: Rewritten using awk.
46753         Match by word, not by line.  Print error messages for matches.
46754         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46755
46756         * Makerules [shlib-lds-flags empty]:
46757         ($(common-objpfx)libc_pic.opts): New target.
46758         ($(common-objpfx)libc_pic.os.clean): New target.
46759         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46760
46761         * config.make.in (OBJCOPY): New variable.
46762         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46763         * configure: Regenerated.
46764
46765         * config.make.in (use-default-link): New variable.
46766         * configure.in (use_default_link): Grok --with-default-link to set it.
46767         * configure: Regenerated.
46768         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46769         (shlib-lds, shlib-lds-flags): Define to empty.
46770
46771         * Makerules (shlib-lds): New variable.
46772         (shlib-lds-flags): New variable.
46773         (build-shlib, build-moduile, build-module-asneeded): Use it.
46774         ($(common-objpfx)libc.so): Use $(shlib-lds).
46775         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46776         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46777
46778         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46779         DT_FLAGS/DT_FLAGS_1 with zero flags.
46780
46781         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46782         linker script munging.
46783
46784 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46785
46786         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46787         as 128-bit value.
46788         * crypt/sha512.c (sha512_process_block): Perform total addition using
46789         128-bit if possible.
46790         (__sha512_finish_ctx): Likewise.
46791         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46792         as 64-bit value.
46793         * crypt/sha256.c (SWAP64): Define.
46794         (sha256_process_block): Perform total addition using 64-bit if
46795         possible.
46796         (__sha256_finish_ctx): Likewise.
46797
46798 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46799
46800         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46802         * nscd/hstcache.c (cache_addhst): Likewise.
46803         * nscd/grpcache.c (cache_addgr): Likewise.
46804         * nscd/aicache.c (addhstaiX): Likewise
46805         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46806
46807 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46808
46809         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46811         * nscd/hstcache.c (cache_addhst): Likewise.
46812         * nscd/grpcache.c (cache_addgr): Likewise.
46813         * nscd/aicache.c (addhstaiX): Likewise
46814
46815 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46816
46817         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46818         domain only when needed.
46819
46820 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46821
46822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46823         is always restored.
46824
46825 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46826
46827         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46828         are re-adding the entry.
46829         * nscd/servicescache.c (cache_addserv): Likewise.
46830
46831 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46832
46833         * sysdeps/generic/dl-irel.h: fix protection against multiple
46834         inclusions.
46835         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46836
46837 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46838
46839         [BZ #12935]
46840         * malloc/memusage.sh: Fix quoting in message.
46841         * debug/xtrace.sh: Likewise.
46842
46843         * configure.in: Remove support for --experimental-malloc option, make
46844         it the default.
46845         * config.make.in: Likewise.
46846         * malloc/Makefile: Likewise.
46847
46848 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46849
46850         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46851         two-byte characters.
46852
46853 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46854
46855         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46856         AC_CACHE_CHECK invocation.
46857         * configure: Regenerated.
46858
46859         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46860
46861 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46862
46863         [BZ #12350]
46864         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46865         bit from old_res_options.
46866
46867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46868
46869         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46870         value type for setfct.
46871
46872 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46873
46874         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46875         __gettimeofday instead of gettimeofday.
46876
46877 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46878
46879         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46880
46881 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46882
46883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46884
46885         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46886         info.
46887
46888 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46889
46890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46891         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46892         strcpy-sse2-unaligned strncpy-sse2-unaligned
46893         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46894         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46895         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46896         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46897         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46898         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46899         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46900         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46901         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46902         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46903         (STRCPY): Support SSE2 and SSSE3 versions.
46904
46905 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46906
46907         [BZ #12874]
46908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46909         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46910         kernels which artificially limit size of requests.
46911
46912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46913
46914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46915         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46916         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46917         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46918         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46919         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46920         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46921         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46924         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46925         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46926         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46927         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46928         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46930         Enable unaligned load optimization for Intel Core i3, i5 and i7
46931         processors.
46932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46933         Define.
46934         (index_Fast_Unaligned_Load): Define.
46935         (HAS_FAST_UNALIGNED_LOAD): Define.
46936
46937 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46938
46939         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46940
46941 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46942
46943         [BZ #12907]
46944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46945         until it is clear that the information is realy needed.
46946         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46947
46948 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46949
46950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46951
46952 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46953
46954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46955         /sys/devices/system/cpu/online if it is usable.
46956
46957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46958         reading the information from the /proc filesystem to once a second.
46959
46960 2011-06-21  Andreas Jaeger  <aj@suse.de>
46961
46962         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46963         NULL after inclusion of kernel headers.
46964
46965 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46966
46967         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46968         calls to internal_setent.
46969
46970         [BZ #12885]
46971         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46972         addresses using gethostbyname4_r ignore IPv4 addresses.
46973
46974         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46975         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46976
46977         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46978
46979 2011-06-20  David S. Miller  <davem@davemloft.net>
46980
46981         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46982         inclusions.
46983         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46984
46985         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46986         (elf_irel): Use it.
46987         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46988         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46989         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46990         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46991         * sysdeps/x86_64/dl-irel.h: Likewise.
46992
46993         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46994         * elf/dl-sym.c: Likewise.
46995
46996 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46997
46998         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46999         need to dereference resplen2.
47000
47001 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47002
47003         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47004
47005 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47006
47007         * Makeconfig: Define vardbdir and inst_vardbdir.
47008         * nss/Makefile: Add rules to install db-Makefile.
47009
47010         * nss/nss_db/db-XXX.c: Cleanup.
47011
47012         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47013         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47014         GLIBC_PRIVATE.
47015         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47016         * nss/makedb.c: Implement -g option to specify that value strings
47017         are generated and should not be added to table iterated over for
47018         get*ent calls.
47019         * nss/nss_db/db-initgroups.c: New file.
47020
47021         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47022         interface.
47023
47024         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47025         (internal_getgrouplist): Adjust to name change.
47026         Update use_initgroups_entry if this is not the first call.
47027         * nss/databases.def: Add initgroups entry.
47028
47029         * nss/makedb.c (compute_tables): Check result of multiple hash table
47030         sizes to minimize maximum chain length.
47031
47032 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47033
47034         * Versions.def: Add entry for libnss_db.
47035         * shlib-versions: Likewise.
47036         * nss/Makefile: Add rules to build libnss_db.
47037         * nss/Versions: Add libnss_db information.  Organize libnss_files
47038         entries better.
47039         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47040         makedb progra.  Some minor improvements to generate smaller files.
47041         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47042         here from...
47043         * nss/makedb.c: ...here.
47044         Improve database format to be smaller and require less memory at
47045         runtime.
47046         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47047         db anymore.
47048         * nss/nss_db/db-netgrp.c: Likewise.
47049         * nss/nss_db/db-open.c: Likewise.
47050         * nss/nss_files/flies-XXX.x: Adjust comments.
47051         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47052         * nss/nss_files/files-grp.c: Likewise.
47053         * nss/nss_files/files-hosts.c: Likewise.
47054         * nss/nss_files/files-network.c: Likewise.
47055         * nss/nss_files/files-proto.c: Likewise.
47056         * nss/nss_files/files-pwd.c: Likewise.
47057         * nss/nss_files/files-rpc.c: Likewise.
47058         * nss/nss_files/files-service.c: Likewise.
47059         * nss/nss_files/files-sgrp.c: Likewise.
47060         * nss/nss_files/files-spwd.c: Likewise.
47061         * nss/nss_db/db-alias.c: Removed.
47062         * nss/nss_db/dummy-db.h: Removed.
47063
47064 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47065
47066         * nss/makedb.c: Rewritten to not use database library.
47067         * nss/Makefile: Update to build new makedb program.
47068
47069 2011-06-14  Andreas Jaeger  <aj@suse.de>
47070
47071         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47072         memset declaration.
47073
47074 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47075
47076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47077         tmpbuf.
47078
47079 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47080
47081         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47082         * elf/Makefile ($(objpfx)ld.so): Likewise.
47083
47084         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47085         Don't list ld.so twice in dependencies.
47086
47087         * posix/bug-regex31.c: Include <stdlib.h>.
47088
47089         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47090
47091         * nis/nss_compat/compat-spwd.c
47092         (getspent_next_nss_netgr): Remove unused variable.
47093         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47094
47095         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47096         nonmembers" output to use the right array.
47097
47098         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47099
47100         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47101
47102         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47103         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47104         * catgets/gencat.c (read_input_file): Likewise.
47105         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47106
47107         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47108         variable definition inside #if's controlling its use.
47109
47110         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47111
47112         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47113
47114         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47115
47116         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47117         unreachable code.
47118
47119         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47120
47121         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47122         * configure: Regenerated.
47123
47124         * Makerules: Revert last change.
47125         * elf/Makefile: Likewise.
47126
47127 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47128
47129         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47130         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47131         (reloc-link): Likewise.
47132
47133 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47134
47135         * elf/Makefile: Add rules to build pldd.
47136         * elf/pldd.c: New file.
47137         * elf/pldd-xx.c: New file.
47138
47139 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47140
47141         * version.h: Update for 2.15 development version.
47142
47143 2011-06-07  David S. Miller  <davem@davemloft.net>
47144
47145         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47146         ifuncs.
47147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47148         elf_machine_lazy_rel): Likewise.
47149         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47151         elf_machine_lazy_rel): Likewise.
47152         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47153         dl_hwcap via passed in argument.
47154         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47155         Likewise.
47156
47157 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47158
47159         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47160
47161 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47162
47163         [BZ #12849]
47164         * manual/fdl-1.1.texi: New file, verbatim from:
47165         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47166         * manual/lgpl-2.1.texi: New file, verbatim from:
47167         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47168         * manual/Makefile (licenses): New variable, list those new file names.
47169         (texis): Use it.
47170         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47171
47172         * manual/fdl.texi: File removed.
47173         * manual/lesser.texi: File removed.
47174         * manual/libc.texinfo (Copying, Documentation License):
47175         Use new @include file names, put @appendix directive before @include.
47176
47177 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47178
47179         [BZ #12841]
47180         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47181         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47182         (mq_open): Add __NTH.
47183
47184 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47185
47186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47187         Assume Intel Core i3/i5/i7 processor if AVX is available.
47188
47189 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47190
47191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47192         typo.
47193
47194 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47195
47196         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47197         memory.  Use alloca_account.  Fix memory leak when retrying.
47198
47199 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47200
47201         * version.h (RELEASE): Bump for 2.14 release.
47202         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47203
47204         * config.make.in (RANLIB): Remove entry.
47205
47206 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47207
47208         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47209         (libc.pot): Work around missing support for .ksh extension in xgettext.
47210
47211         [BZ #12684]
47212         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47213         if both request failed.
47214         (send_dg): In case of server errors clear resplen or *resplen2.
47215
47216         [BZ #12454]
47217         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47218         when there are multiple maps.
47219         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47220         (_dl_fini): Remove test here.
47221
47222         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47223
47224 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47225
47226         [BZ #12350]
47227         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47228         bit from old_res_options.
47229         (gaih_inet): Likewise.
47230
47231         [BZ #11099]
47232         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47233         as signed.
47234
47235         * resolv/res_init.c (res_setoptions): Make the code more compact.
47236
47237         [BZ #11558]
47238         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47239         set RES_USEVC.
47240
47241         [BZ #11634]
47242         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47243
47244         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47245
47246         [BZ #11781]
47247         * malloc/malloc.h: Declare malloc hook variables as volatile.
47248
47249         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47250         in last patch.
47251
47252         [BZ #11799]
47253         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47254         raise in the comment.
47255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47257         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47258
47259 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47260
47261         [BZ #12811]
47262         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47263         grow the buffers more if it already has to be sufficient.
47264         (build_wcs_upper_buffer): Likewise.
47265         * posix/regexec.c (check_matching): Likewise.
47266         (clean_state_log_if_needed): Likewise.
47267         (extend_buffers): Don't enlarge buffers beyond size of the input
47268         buffer.
47269         Patches mostly by Emil Wojak <emil@wojak.eu>.
47270         * posix/bug-regex32.c: New file.
47271         * posix/Makefile (tests): Add bug-regex32.
47272
47273         * locale/findlocale.c (_nl_find_locale): Return right away if
47274         _nl_explode_name failed.
47275         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47276
47277         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47278
47279         * debug/xtrace.sh: Unify messages.
47280         * malloc/memusage.sh: Likewise.
47281
47282         [BZ #12813]
47283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47284         time symbol from vDSO.  Substitute with vsyscall if not available.
47285         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47286         __vdso_time.
47287
47288         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47289         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47290         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47291         Add sendmmsg and internal_sendmmsg.
47292         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47293         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47294         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47295
47296         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47297         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47299
47300 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47301
47302         [BZ #12813]
47303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47304         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47305         available.
47306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47307         __vdso_getcpu.
47308
47309         [BZ #12814]
47310         * iconvdata/Makefile (tests): Add bug-iconv9.
47311         * iconvdata/bug-iconv9.c: New file.
47312
47313 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47314
47315         [BZ #12814]
47316         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47317
47318 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47319
47320         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47321         (struct user_regs_struct): Change intcs field back to cs.
47322
47323 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47324
47325         * po/ja.po: Update from translation team.
47326
47327 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47328
47329         [BZ #12795]
47330         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47331         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47332
47333 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47334
47335         * stdlib/longlong.h: Update from GCC.
47336
47337 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47338
47339         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47340         parameter name.
47341         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47342         Add parameter name.
47343         (__sysconf): Pass it down.
47344
47345 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47346
47347         [BZ #12671]
47348         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47349         some situations.
47350         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47351         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47352         add in in __libc_use_alloca calls.  Adjust callers.
47353         (glob): Use malloc in some situations.
47354
47355         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47356         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47357         pltexit.
47358
47359 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47360
47361         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47362         and CLOCK_BOOTTIME_ALARM.
47363
47364         [BZ #12782]
47365         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47366         is returned.
47367
47368         * string/_strerror.c (__strerror_r): Print negative errors as signed
47369         numbers.
47370
47371         [BZ #12777]
47372         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47373         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47374         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47375
47376         * configure.in: Fix typo in redirection and correct removal of test
47377         files in two cases.
47378
47379         [BZ #12788]
47380         * locale/setlocale.c (new_composite_name): Fix test to check for
47381         identical name of all categories.
47382
47383         [BZ #12792]
47384         * libio/filedoalloc.c (local_isatty): New function.
47385         (_IO_file_doallocate): Use local_isatty.
47386         * stdio-common/perror.c (perror): In case a new stream is used
47387         forward the stream error.
47388         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47389         error flag.
47390
47391 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47392
47393         [BZ #11869]
47394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47395         alloca.
47396         * include/alloca.h (extend_alloca_account): Define.
47397
47398         [BZ #11857]
47399         * posix/regex.h: Fix comments with documentation of user-accessible
47400         fields after compilation and describe correct free'ing of pattern
47401         after re_compile_pattern.
47402         Patch by Reuben Thomas <rrt@sc3d.org>.
47403
47404 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47405
47406         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47407         and -mno-altivec to prevent the compiler from using Altivec and/or
47408         VSX instructions when the corresponding registers are not available.
47409
47410 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47411
47412         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47413
47414 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47415
47416         * libio/freopen.c (freopen): Use __dup2, not dup2.
47417         * libio/freopen64.c (freopen64): Likewise.
47418
47419 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47420
47421         [BZ #12775]
47422         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47423         * math/Makefile (tests): Add test-powl.
47424         (CFLAGS-test-powl.c): Define.
47425         * math/test-powl.c: New file.
47426
47427 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47428
47429         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47430
47431 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47432
47433         [BZ #11837]
47434         * iconvdata/gb18030.c: Update to GB18020-2005.
47435
47436 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47437
47438         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47439         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47440         Patch by Aharon Robbins <arnold@skeeve.com>.
47441
47442         [BZ #11892]
47443         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47444         on the stack.
47445
47446         [BZ #11895]
47447         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47448         through underflows.
47449
47450         [BZ #12766]
47451         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47452         point to strings before performing equality test for error_one_per_line
47453         mode.
47454
47455         [BZ #11697]
47456         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47457
47458         [BZ #11820]
47459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47460         (struct user_fpregs_struct): Avoid __uint*_t types.
47461
47462         [BZ #6420]
47463         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47464         symbol info.  Use it instead of calling _dl_addr locally.
47465         (lock_and_info): New function.
47466         (tr_freehook): Call lock_and_info and pass symbol info as additional
47467         parameter to tr_where.
47468         (tr_mallochook): Likewise.
47469         (tr_reallochook): Likewise.
47470         (tr_memalignhook): Likewise.
47471
47472         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47473         used and couldn't be at all thread-safe.
47474
47475 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47476
47477         * libio/freopen.c (freopen): Don't close old file descriptor
47478         before the new one is opened.  Instead dup the new file descriptor
47479         to the old one after the new stream is created.
47480         * libio/freopen64.c (freopen64): Likewise.
47481         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47482         * libio/fileops.c (_IO_new_file_close_it): Handle new
47483         _IO_FLAGS2_NOCLOSE flag.
47484         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47485         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47486         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47487         _IO_FLAGS2_NOCLOSE flag.
47488         * include/unistd.h: Add hidden_proto for dup3.
47489         Define __have_dup3.
47490         * io/dup3.c: Define hidden symbol.
47491         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47492
47493         [BZ #7101]
47494         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47495         when an incomplete long option is used.
47496         * posix/tst-getopt_long1.c: New file.
47497         * posix/Makefile (tests): Add tst-getopt_long1.
47498
47499         [BZ #10138]
47500         * scripts/config.guess: Update from autoconf-2.68.
47501         * scripts/config.sub: Likewise.
47502
47503         [BZ #10157]
47504         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47505         tests into ...
47506         (has_cpuclock): ...this.  New function.
47507         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47508         macro here based on has_cpuclock code.
47509
47510         [BZ #10149]
47511         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47512         First byte (not low byte) is now always NUL.
47513         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47514
47515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47516         Use non-cancelable interfaces.
47517
47518         [BZ #9809]
47519         * locale/iso-639.def: Add entry for Sorani.
47520
47521         [BZ #11901]
47522         * include/stdlib.h: Move include protection to the right place.
47523         Define abort_msg_s.  Declare __abort_msg with it.
47524         * stdlib/abort.c (__abort_msg): Adjust type.
47525         * assert/assert.c (__assert_fail_base): New function.  Majority
47526         of code from __assert_fail.  Allocate memory for __abort_msg with
47527         mmap.
47528         (__assert_fail): Now call __assert_fail_base.
47529         * assert/assert-perr.c: Remove bulk of implementation.  Use
47530         __assert_fail_base.
47531         * include/assert.hL Declare __assert_fail_base.
47532         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47533         mmap.
47534         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47535
47536 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47537
47538         [BZ #11952]
47539         [BZ #12453]
47540         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47541         until all modules are registered in the DTV.
47542         * elf/Makefile: Add rules to build and run tst-tls19.
47543         * elf/tst-tls19.c: New file.
47544         * elf/tst-tls19mod1.c: New file.
47545         * elf/tst-tls19mod2.c: New file.
47546         * elf/tst-tls19mod3.c: New file.
47547         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47548
47549         [BZ #12083]
47550         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47551         correctly.
47552
47553         [BZ #12601]
47554         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47555         two-byte sequence errors.
47556         * iconvdata/Makefile (tests): Add bug-iconv8.
47557         * iconvdata/bug-iconv8.c: New file.
47558
47559         [BZ #12626]
47560         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47561         buf2 definition.
47562
47563         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47564
47565         [BZ #12432]
47566         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47567         (dummy_getcfa): New function.
47568         (init): Get _Unwind_GetCFA address, use dummy if not found.
47569         (backtrace_helper): In recursion check, also check whether CFA changes.
47570         (__backtrace): Completely initialize arg.
47571
47572         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47573         storing incomplete byte sequence in state object.  Avoid testing for
47574         guaranteed too small input if we know there is enough data available.
47575
47576 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47577
47578         * Makeconfig (+link-pie): Indent.
47579         * Rules (binaries-pie): Define if $(have-fpie) and
47580         $(build-shared).
47581         (binaries-shared): Also filter out $(binaries-pie).
47582         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47583         * nscd/Makefile (others-pie): Add nscd.
47584         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47585         ($(objpfx)nscd): Remove command override.
47586         * login/Makefile (others-pie): Add pt_chown.
47587         ($(objpfx)pt_chown): Remove command override.
47588         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47589         remove command overrides.
47590
47591 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47592
47593         * libio/tst_putwc.c: Fix error messages.
47594
47595         [BZ #12724]
47596         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47597         currently writing and seek to current position when not.
47598         * libio/Makefile (tests): Add bug-fclose1.
47599         * libio/bug-fclose1.c: New file.
47600
47601 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47602
47603         [BZ #12511]
47604         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47605         don't set DF_1_NODELETE here.
47606         (do_lookup_x): When entering new entry test for copy relocation
47607         and if necessary set DF_1_NODELETE flag.
47608         * elf/tst-unique4.cc: New file.
47609         * elf/tst-unique4.h: New file.
47610         * elf/tst-unique4lib.cc: New file.
47611         * elf/Makefile: Add rules to build and run tst-unique4.
47612         Patch by Piotr Bury <pbury@goahead.com>.
47613
47614 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47615
47616         [BZ #12052]
47617         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47618
47619         [BZ #12625]
47620         * misc/mntent_r.c (addmntent): Flush the stream after the output
47621
47622         [BZ #12393]
47623         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47624         (is_trusted_path_normalize): Skip initial colon.  Append slash
47625         to empty buffer.  Duplicate is_trusted_path code but allow
47626         constructed patch to be prefix.
47627         (is_dst): Allow $ORIGIN followed by /.
47628         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47629         Correct testing of result of is_trusted_path_normalize
47630         (decompose_rpath): Fix warning.
47631
47632 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47633
47634         [BZ #11257]
47635         * grp/initgroups.c (internal_getgrouplist): When we found the service
47636         list through the initgroups entry in nsswitch.conf do not always
47637         continue on a successful lookup.  Don't always use the
47638         __nss_group_database value if it is set.
47639         * nss/nsswitch.conf (initgroups): Change action for successful db
47640         lookup to continue for compatibility.
47641
47642 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47643
47644         [BZ #11532]
47645         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47646         and CP774 modules.
47647         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47648         and CP774 modules.
47649         * iconvdata/tst-tables.sh: Likewise.
47650         * iconvdata/cp770.c: New file.
47651         * iconvdata/cp771.c: New file.
47652         * iconvdata/cp772.c: New file.
47653         * iconvdata/cp773.c: New file.
47654         * iconvdata/cp774.c: New file.
47655         * iconvdata/testdata/CP770: New file.
47656         * iconvdata/testdata/CP770..UTF8: New file.
47657         * iconvdata/testdata/CP771: New file.
47658         * iconvdata/testdata/CP771..UTF8: New file.
47659         * iconvdata/testdata/CP772: New file.
47660         * iconvdata/testdata/CP772..UTF8: New file.
47661         * iconvdata/testdata/CP773: New file.
47662         * iconvdata/testdata/CP773..UTF8: New file.
47663         * iconvdata/testdata/CP774: New file.
47664         * iconvdata/testdata/CP774..UTF8: New file.
47665
47666         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47667         END CHARMAP line.
47668         * iconvdata/gen-8bit-gap.sh: Likewise.
47669         * iconvdata/gen-8bit.sh: Likewise.
47670
47671         * locale/iso-639.def: Add ary entry.
47672
47673         [BZ #11258]
47674         * locale/C-translit.h.in: Add U20A1 transliteration.
47675
47676         [BZ #12178]
47677         * locale/iso-639.def: Add wae entry.
47678         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47679
47680         [BZ #12545]
47681         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47682         for n.
47683
47684         [BZ #12711]
47685         * locale/C-translit.h.in: Add entry for U20B9.
47686         Patch by pravin.d.s@gmail.com.
47687
47688 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47689
47690         [BZ #12713]
47691         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47692         ENAMETOOLONG use generic getcwd.
47693         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47694         in rtld.  Use *stat64.
47695         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47696         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47697         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47698         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47699         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47700         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47701         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47702         __fstatat64 macros.
47703         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47704         * dirent/rewinddir.c: Add libc_hidden_def.
47705         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47706         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47707
47708         * include/dirent.h (__alloc_dir): Add flags parameter.
47709         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47710         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47711         __alloc_dir.
47712         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47713         from fdopendir if O_CLOEXEC is already set.
47714
47715 2011-03-15  Alan Modra  <amodra@gmail.com>
47716
47717         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47718         l_tls_firstbyte_offset non-zero.  Save padding offset in
47719         l_tls_firstbyte_offset for later use.
47720         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47721         freeing static tls block.
47722
47723 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47724
47725         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47726         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47727         being defined by the kernel headers.
47728
47729 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47730
47731         [BZ #12734]
47732         * resolv/resolv.h: Define RES_NOTLDQUERY.
47733         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47734         no-tld-query and set RES_NOTLDQUERY.
47735         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47736         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47737         modern BIND to search name as TLD unless forbidden.
47738
47739 2011-05-07  Petr Baudis  <pasky@suse.cz>
47740             Ulrich Drepper  <drepper@gmail.com>
47741
47742         [BZ #12393]
47743         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47744         (is_trusted_path): ...to here.
47745         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47746         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47747         using is_trusted_path_normalize() in setuid scripts.
47748
47749 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47750
47751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47752         __BEGIN/__END_DECLS.
47753
47754 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47755
47756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47757         NSS_STATUS_NOTFOUND if no record was found.
47758
47759 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47760
47761         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47762         (headers-not-in-tirpc): Remove rpc/netdb.h
47763         * resolv/netdb.h: Revert last change.
47764
47765 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47766
47767         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47768         circular dependency between libgcc.a and libc.a.
47769
47770 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47771
47772         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47773         * nis/Makefile: Don't install rpcsvc/*.
47774         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47775         instead of <rpc/types.h>.
47776         (MAXHOSTNAMELEN): Define.
47777
47778 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47779
47780         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47781
47782 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47783
47784         [BZ #12714]
47785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47786         gethostbyname4_r when IPv6 results are possible.
47787
47788 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47789
47790         [BZ #12723]
47791         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47792         _PC_PIPE_BUF handling.
47793
47794 2011-04-30  Bruno Haible  <bruno@clisp.org>
47795
47796         [BZ #12717]
47797         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47798         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47799         to 'int'.
47800         * inet/getnameinfo.c (getnameinfo): Likewise.
47801
47802 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47803
47804         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47805         to groups setting in database lookup.
47806         * nss/nsswitch.conf: Add initgroups entry.
47807
47808 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47809
47810         [BZ #12685]
47811         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47812         mode string.
47813         Patch by Eric Blake <eblake@redhat.com>.
47814
47815 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47816
47817         * sunrpc/Makefile (need-export-routines): Add svc_run.
47818         (routines): Remove svc_run.
47819         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47820         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47821         * sunrpc/svc_run.c (svc_run): Likewise.
47822         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47823
47824 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47825
47826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47827         problem in reallocation in last patch.
47828
47829 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47830
47831         * sunrpc/Makefile: Move inclusion of Rules.
47832
47833 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47834
47835         * nss/nss_files/files-initgroups.c: New file.
47836         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47837         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47838         _nss_files_initgroups_dyn.
47839
47840 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47841
47842         * elf/elf.h (R_ARM_IRELATIVE): Define.
47843
47844 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47845
47846         * po/ru.po: Update from translation team.
47847
47848 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47849
47850         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47851         dependencies.
47852
47853 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47854
47855         [BZ #12653]
47856         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47857         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47860         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47861
47862 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47863
47864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47865         differing bytes.
47866         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47869
47870 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47871
47872         [BZ #12420]
47873         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47874         storing it.
47875         * stdlib/bug-getcontext.c: New file.
47876         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47877
47878 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47879
47880         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47881         instructions into .machine "z9-109".
47882         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47883         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47884
47885 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47886
47887         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47888         between environment variables and auxiliary vector.
47889
47890 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47891
47892         * Makefile: Add rules to build linkobj/libc.so.
47893         * include/libc-symbols.h: Define libc_hidden_nolink.
47894         * include/rpc/auth.h: Mark functions which are to be hidden.
47895         * include/rpc/auth_des.h: Likewise.
47896         * include/rpc/auth_unix.h: Likewise.
47897         * include/rpc/clnt.h: Likewise.
47898         * include/rpc/des_crypt.h: Likewise.
47899         * include/rpc/key_prot.h: Likewise.
47900         * include/rpc/pmap_clnt.h: Likewise.
47901         * include/rpc/pmap_prot.h: Likewise.
47902         * include/rpc/pmap_rmt.h: Likewise.
47903         * include/rpc/rpc_msg.h: Likewise.
47904         * include/rpc/svc.h: Likewise.
47905         * include/rpc/svc_auth.h: Likewise.
47906         * include/rpc/xdr.h: Likewise.
47907         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47908         * nss/Makefile: Likewise.
47909         * sunrpc/Makefile: Don't install headers.  Build library with normal
47910         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47911         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47912         for the compat linking library.  Remove use of INTDEF/INTUSE.
47913         * sunrpc/auth_none.c: Likewise.
47914         * sunrpc/auth_unix.c: Likewise.
47915         * sunrpc/authdes_prot.c: Likewise.
47916         * sunrpc/authuxprot.c: Likewise.
47917         * sunrpc/clnt_gen.c: Likewise.
47918         * sunrpc/clnt_perr.c: Likewise.
47919         * sunrpc/clnt_raw.c: Likewise.
47920         * sunrpc/clnt_simp.c: Likewise.
47921         * sunrpc/clnt_tcp.c: Likewise.
47922         * sunrpc/clnt_udp.c: Likewise.
47923         * sunrpc/clnt_unix.c: Likewise.
47924         * sunrpc/des_crypt.c: Likewise.
47925         * sunrpc/des_soft.c: Likewise.
47926         * sunrpc/get_myaddr.c: Likewise.
47927         * sunrpc/key_call.c: Likewise.
47928         * sunrpc/key_prot.c: Likewise.
47929         * sunrpc/netname.c: Likewise.
47930         * sunrpc/pm_getmaps.c: Likewise.
47931         * sunrpc/pm_getport.c: Likewise.
47932         * sunrpc/pmap_clnt.c: Likewise.
47933         * sunrpc/pmap_prot.c: Likewise.
47934         * sunrpc/pmap_prot2.c: Likewise.
47935         * sunrpc/pmap_rmt.c: Likewise.
47936         * sunrpc/publickey.c: Likewise.
47937         * sunrpc/rpc_cmsg.c: Likewise.
47938         * sunrpc/rpc_common.c: Likewise.
47939         * sunrpc/rpc_dtable.c: Likewise.
47940         * sunrpc/rpc_prot.c: Likewise.
47941         * sunrpc/rpc_thread.c: Likewise.
47942         * sunrpc/rtime.c: Likewise.
47943         * sunrpc/svc.c: Likewise.
47944         * sunrpc/svc_auth.c: Likewise.
47945         * sunrpc/svc_authux.c: Likewise.
47946         * sunrpc/svc_raw.c: Likewise.
47947         * sunrpc/svc_run.c: Likewise.
47948         * sunrpc/svc_simple.c: Likewise.
47949         * sunrpc/svc_tcp.c: Likewise.
47950         * sunrpc/svc_udp.c: Likewise.
47951         * sunrpc/svc_unix.c: Likewise.
47952         * sunrpc/svcauth_des.c: Likewise.
47953         * sunrpc/xcrypt.c: Likewise.
47954         * sunrpc/xdr.c: Likewise.
47955         * sunrpc/xdr_array.c: Likewise.
47956         * sunrpc/xdr_float.c: Likewise.
47957         * sunrpc/xdr_intXX_t.c: Likewise.
47958         * sunrpc/xdr_mem.c: Likewise.
47959         * sunrpc/xdr_rec.c: Likewise.
47960         * sunrpc/xdr_ref.c: Likewise.
47961         * sunrpc/xdr_sizeof.c: Likewise.
47962         * sunrpc/xdr_stdio.c: Likewise.
47963
47964 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47965
47966         [BZ #12650]
47967         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47968         * sysdeps/ia64/dl-tls.h: Likewise.
47969         * sysdeps/powerpc/dl-tls.h: Likewise.
47970         * sysdeps/s390/dl-tls.h: Likewise.
47971         * sysdeps/sh/dl-tls.h: Likewise.
47972         * sysdeps/sparc/dl-tls.h: Likewise.
47973         * sysdeps/x86_64/dl-tls.h: Likewise.
47974         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47975
47976 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47977
47978         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47979         rpath element also skip the following colon.
47980         (expand_dynamic_string_token): Add is_path parameter and pass
47981         down to DL_DST_REQUIRED and _dl_dst_substitute.
47982         (decompose_rpath): Call expand_dynamic_string_token with
47983         non-zero is_path.  Ignore empty rpaths.
47984         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47985         with zero is_path.
47986
47987 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47988
47989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47990         Make cancelable.
47991
47992 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47993
47994         [BZ #12655]
47995         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47996         Patch by Filipe David Manana <fdmanana@apache.org>.
47997
47998 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47999
48000         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48001         Maintain aligned stack.
48002         (CHECK_RSP): Remove unused macro.
48003
48004 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48005
48006         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48007         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48008
48009 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48010
48011         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48012
48013         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48014
48015 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48016
48017         [BZ #12518]
48018         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48019         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48020         * sysdeps/x86_64/memmove.c: New file.
48021         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48022         (memcpy): Renamed to ...
48023         (__new_memcpy): This.
48024         (memcpy): Provide GLIBC_2_14 memcpy.
48025         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48026         (memcpy): Provide GLIBC_2_2_5 memcpy.
48027
48028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48029
48030         [BZ #12631]
48031         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48032
48033 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48034
48035         * misc/syncfs.c: New file.
48036         * misc/Makefile (routines): Add syncfs.
48037         * posix/unistd.h: Declare syncfs.
48038         * sysdeps/unix/syscalls.list: Add syncfs.
48039
48040 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48041
48042         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48043         open_by_handle_at.
48044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48049         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48051
48052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48053
48054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48056         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48058         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48061
48062         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48063         sync_file_range.c with -fexceptions.
48064         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48065         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48066         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48067         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48068         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48069         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48071         sync_file_range as cancellation point
48072         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48073         now a wrapper around __call_sync_file_range with cancellation handling.
48074         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48076         function name to __call_sync_file_range.
48077         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48078         Add call_sync_file_range.
48079
48080 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48081
48082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48083         bits/timex.h.
48084
48085 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48086
48087         * iconv/iconv.h: Fix typo in comment.
48088         * io/fcntl.h: Likewise.
48089         * libio/stdio.h: Likewise.
48090         * posix/spawn.h: Likewise.
48091         * posix/unistd.h: Likewise.
48092         * stdlib/stdlib.h: Likewise.
48093         * time/time.h: Likewise.
48094         * wcsmbs/wchar.h: Likewise.
48095
48096         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48097         open_by_handle): Add.
48098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48099         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48100         Augment a few comments.
48101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48106         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48107         open_by_handle.
48108
48109         * io/fcntl.h (AT_EMPTY_PATH): Define.
48110
48111 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48112
48113         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48114         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48115         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48116         to...
48117         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48118         * Versions.def: Add GLIBC_2.14.
48119         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48120         Export.
48121
48122 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48123
48124         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48125         round counter.
48126         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48127
48128 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48129
48130         [BZ #12597]
48131         * string/test-strncmp.c (do_page_test): New function.
48132         (check2): Likewise.
48133         (test_main): Call check2.
48134         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48135
48136 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48137
48138         [BZ #12587]
48139         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48140         Handle cache information in CPU leaf 4.
48141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48142
48143 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48144
48145         [BZ #12583]
48146         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48147         character representation.
48148         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48149
48150 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48151
48152         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48153         END(__isnan) to END(__isnanf) to match function entry point/label
48154         EALIGN(__isnanf,...).
48155
48156 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48157
48158         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48159
48160 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48161
48162         [BZ #12510]
48163         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48164         copy from the symbol referenced in the relocation to initialize the
48165         used variable.
48166         Patch by Piotr Bury <pbury@goahead.com>.
48167         * elf/Makefile: Add rules to build and tst-unique3.
48168         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48169         * elf/tst-unique3.cc: New file.
48170         * elf/tst-unique3.h: New file.
48171         * elf/tst-unique3lib.cc: New file.
48172         * elf/tst-unique3lib2.cc: New file.
48173
48174         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48175
48176 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48177
48178         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48179         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48180         to _start.
48181
48182 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48183
48184         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48185         to-be-loaded object along a path to loader is ld.so.
48186
48187 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48188             Ulrich Drepper  <drepper@gmail.com>
48189
48190         * sysdeps/x86_64/memset.S: After aligning destination, code
48191         branches to different locations depending on the value of
48192         misalignment, when multiarch is enabled. Fix this.
48193
48194 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48195
48196         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48197         Set _x86_64_preferred_memory_instruction for AMD processsors.
48198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48199         Set bit_Prefer_SSE_for_memop for AMD processors.
48200
48201 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48202
48203         * libio/fmemopen.c (fmemopen): Optimize a bit.
48204
48205 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48206
48207         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48208
48209 2011-03-03  Roland McGrath  <roland@redhat.com>
48210
48211         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48212
48213 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48214
48215         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48216         __bzero_ultra1 instead of __memset_ultra1.
48217
48218 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48219             Ulrich Drepper  <drepper@gmail.com>
48220
48221         [BZ #12509]
48222         * include/link.h (struct link_map): Add l_orig_initfini.
48223         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48224         returning unsuccessfully.
48225         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48226         close of a file loaded at startup, restore the original l_initfini
48227         list.
48228         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48229         list, store the pointer.
48230         * elf/Makefile ($(objpfx)noload-mem): New rule.
48231         (noload-ENV): Define.
48232         (tests): Add $(objpfx)noload-mem.
48233         * elf/noload.c: Include <memcheck.h>.
48234         (main): Call mtrace.  Close all opened handles.
48235
48236 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48237
48238         [BZ #12454]
48239         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48240         dependencies are missing.
48241
48242 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48243
48244         Fix __if_freereq crash: Unlike the generic version which uses free,
48245         Hurd needs munmap.
48246         * sysdeps/mach/hurd/ifreq.h: New file.
48247
48248 2011-01-27  Petr Baudis  <pasky@suse.cz>
48249             Ulrich Drepper  <drepper@gmail.com>
48250
48251         [BZ 12445]#
48252         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48253         to extend_alloca().
48254         * stdio-common/bug23.c: New file.
48255         * stdio-common/Makefile (tests): Add bug23.
48256
48257 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48258             Ulrich Drepper  <drepper@gmail.com>
48259
48260         [BZ #12489]
48261         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48262         before performing relro protection.  At old place add assertion
48263         to make sure nothing changed.
48264
48265 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48266             Glauber de Oliveira Costa  <glommer@gmail.com>
48267
48268         * elf/elf.h: Add new ARM TLS relocs.
48269
48270 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48271
48272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48273         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48274         cast from r3.
48275         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48276         'tests' variable.
48277         * sysdeps/wordsize-64/tst-writev.c: New file.
48278
48279 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48280
48281         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48282         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48283         insns in _dl_start to prevent a TOC reference before relocs are
48284         resolved.
48285
48286 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48287
48288         [BZ #12469]
48289         * Makeconfig: Remove RANLIB definition.
48290         * Makerules: Don't use RANLIB.
48291         * aclocal.m4: Remove ranlib test.
48292         * configure.in: No need to check for ranlib.
48293         * elf/rtld-Rules: Don't use RANLIB.
48294
48295 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48296
48297         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48298         protection macro.
48299         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48300         inclusion protection macro.
48301
48302         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48303         SIGRTMIN and SIGRTMAX and print information in that case only when
48304         SIGRTMIN is defined.
48305
48306 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48307
48308         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48309         arginfo fn returning -1.
48310
48311         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48312         and thousands string is zero terminated.
48313
48314 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48315
48316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48317         sysdeps/unix/sysv/linux/bits/socket.h.
48318
48319 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48320
48321         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48322         (__CPU_COUNT): Remove old macros.
48323         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48324         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48325         (__CPU_ALLOC, __CPU_FREE): Add macros.
48326         (__sched_cpualloc, __sched_cpufree): Add declarations.
48327
48328 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48329
48330         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48331         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48332         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48333         (readdhstai): Return value of addhstaiX call.
48334         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48335         (addgrbyX): Return value returned by cache_addgr.
48336         (readdgrbyname): Return value returned by addgrbyX.
48337         (readdgrbygid): Likewise.
48338         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48339         (addpwbyX): Return value returned by cache_addpw.
48340         (readdpwbyname): Return value returned by addhstbyX.
48341         (readdpwbyuid): Likewise.
48342         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48343         (addservbyX): Return value returned by cache_addserv.
48344         (readdservbyname): Return value returned by addservbyX:
48345         (readdservbyport): Likewise.
48346         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48347         (addhstbyX): Return value returned by cache_addhst.
48348         (readdhstbyname): Return value returned by addhstbyX.
48349         (readdhstbyaddr): Likewise.
48350         (readdhstbynamev6): Likewise.
48351         (readdhstbyaddrv6): Likewise.
48352         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48353         (readdinitgroups): Return value returned by addinitgroupsX.
48354         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48355         (prune_cache): Keep track of timeout value of re-added entries.
48356         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48357         * nscd/nscd.h: Adjust prototypes of readd* functions.
48358
48359 2011-02-04  Roland McGrath  <roland@redhat.com>
48360
48361         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48362         (nis_stats): Likewise.
48363         * nis/nis_modify.c (nis_modify): Likewise.
48364         * nis/nis_remove.c (nis_remove): Likewise.
48365         * nis/nis_add.c (nis_add): Likewise.
48366
48367         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48368
48369         * posix/fnmatch_loop.c: Add some consts.
48370
48371         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48372
48373 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48374
48375         [BZ #12460]
48376         * config.make.in (config-cflags-novzeroupper): Define.
48377         * configure.in: Substitute libc_cv_cc_novzeroupper.
48378         * elf/Makefile (AVX-CFLAGS): Define.
48379         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48380         (CFLAGS-tst-auditmod4a.c): Likewise.
48381         (CFLAGS-tst-auditmod4b.c): Likewise.
48382         (CFLAGS-tst-auditmod6b.c): Likewise.
48383         (CFLAGS-tst-auditmod6c.c): Likewise.
48384         (CFLAGS-tst-auditmod7b.c): Likewise.
48385         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48386
48387 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48388
48389         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48390         function to the callback.
48391         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48392
48393 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48394
48395         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48396         of errno.
48397
48398 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48399
48400         [BZ #11724]
48401         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48402         of constructors.
48403         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48404         of destructors.
48405         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48406
48407         [BZ #11724]
48408         * elf/Makefile: Add rules to build and run new test.
48409         * elf/tst-initorder.c: New file.
48410         * elf/tst-initorder.exp: New file.
48411         * elf/tst-initordera1.c: New file.
48412         * elf/tst-initordera2.c: New file.
48413         * elf/tst-initordera3.c: New file.
48414         * elf/tst-initordera4.c: New file.
48415         * elf/tst-initorderb1.c: New file.
48416         * elf/tst-initorderb2.c: New file.
48417         * elf/tst-order-a1.c: New file.
48418         * elf/tst-order-a2.c: New file.
48419         * elf/tst-order-a3.c: New file.
48420         * elf/tst-order-a4.c: New file.
48421         * elf/tst-order-b1.c: New file.
48422         * elf/tst-order-b2.c: New file.
48423         * elf/tst-order-main.c: New file.
48424         New test case by George Gensure <werkt0@gmail.com>.
48425
48426 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48427
48428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48429         decoding ACE if AI_CANONIDN.
48430
48431 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48432
48433         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48434
48435 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48436
48437         * version.h (RELEASE): Bump for 2.13 release.
48438         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48439
48440         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48441
48442         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48443         MADV_NOHUGEPAGE.
48444         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48446         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48447         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48448         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48449         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48450
48451         * posix/getconf.c: Update copyright year.
48452         * catgets/gencat.c: Likewise.
48453         * csu/version.c: Likewise.
48454         * debug/catchsegv.sh: Likewise.
48455         * debug/xtrace.sh: Likewise.
48456         * elf/ldconfig.c: Likewise.
48457         * elf/ldd.bash.in: Likewise.
48458         * elf/sprof.c (print_version): Likewise.
48459         * iconv/iconv_prog.c: Likewise.
48460         * iconv/iconvconfig.c: Likewise.
48461         * locale/programs/locale.c: Likewise.
48462         * locale/programs/localedef.c: Likewise.
48463         * malloc/memusage.sh: Likewise.
48464         * malloc/mtrace.pl: Likewise.
48465         * nscd/nscd.c (print_version): Likewise.
48466         * nss/getent.c: Likewise.
48467
48468         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48469         PF_CAIF, and PF_ALG.
48470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48471
48472 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48473
48474         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48475         (modules-names): Use them.
48476         (ifunc-test-modules, ifunc-pie-tests): Define.
48477         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48478         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48479         (test-extras): Likewise.
48480         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48481         $(compile-command.c).
48482         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48483         (all-built-dso): Define.
48484         (check-textrel.out, check-execstack.out): Depend on it.
48485
48486         * configure.in: Don't override --enable-multi-arch.
48487
48488 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48489
48490         [BZ #6812]
48491         * nscd/hstcache.c (tryagain): Define.
48492         (cache_addhst): Return tryagain not notfound for temporary errors.
48493         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48494         failed.
48495
48496 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48497
48498         [BZ #10563]
48499         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48500         to make the syscall.
48501         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48502
48503         [BZ #12378]
48504         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48505         and fall back to matching as normal character if the string ends before
48506         the matching ']' is found.  This is what POSIX requires.
48507         * posix/testfnm.c: Adjust test result.
48508         * posix/globtest.sh: Adjust test result.  Add new test.
48509         * posix/tst-fnmatch.input: Likewise.
48510         * posix/tst-fnmatch2.c: Add new test.
48511
48512 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48513
48514         * elf/Makefile (check-execstack): Revert last change.  Depend on
48515         check-execstack.h.
48516         (check-execstack.h): New target.
48517         (generated): Add check-execstack.h.
48518         * elf/check-execstack.c: Include "check-execstack.h".
48519         (main): Revert last change.
48520         (handle_file): Return zero if GNU_STACK is absent and
48521         DEFAULT_STACK_PERMS doesn't include PF_X.
48522
48523 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48524
48525         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48526         in child fails because the descriptor is already closed.
48527         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48528         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48530
48531         [BZ #12397]
48532         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48533         syscall.
48534
48535         [BZ #10484]
48536         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48537         temporary buffer used to handle multi lookups locally.
48538         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48539
48540 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48541
48542         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48543         loader is ld.so.
48544
48545 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48546
48547         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48548         alignment for SSE2.
48549
48550 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48551
48552         [BZ #12394]
48553         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48554         characters.  When rounding increased number of integer digits recompute
48555         number of groups.
48556         * stdio-common/tst-grouping.c: New file.
48557         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48558
48559 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48560
48561         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48562         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48563
48564         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48565         void.
48566         * bits/select.h: Likewise.
48567
48568 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48569
48570         * po/ja.po: Update from translation team.
48571
48572 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48573
48574         [BZ #11155]
48575         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48576         implementation just like for lxstat, fxstatat, et al.
48577
48578 2010-12-27  Jim Meyering  <meyering@redhat.com>
48579
48580         [BZ #12348]
48581         * posix/regexec.c (build_trtable): Return failure indication upon
48582         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48583
48584 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48585
48586         [BZ #12201]
48587         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48588         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48589         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48591
48592         [BZ #12207]
48593         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48594
48595         [BZ #12204]
48596         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48597         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48598
48599 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48600
48601         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48602         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48603         script has SORT_BY_INIT_PRIORITY.
48604         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48605         NO_CTORS_DTORS_SECTIONS is defined.
48606         * elf/soinit.c: Likewise.
48607         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48608         NO_CTORS_DTORS_SECTIONS is defined.
48609         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48610         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48611         * sysdeps/sh/init-first.c: Likewise.
48612         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48613
48614 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48615
48616         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48617         always use the slow path.
48618
48619 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48620
48621         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48622         similar rule which adds the sysdep directories to the header search in
48623         order to pick up the correct platform stackinfo.h.
48624         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48625         perform test if it is, otherwise return successfully without testing.
48626         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48627         DEFAULT_STACK_PERMS define in stackinfo.h.
48628         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48629         defined in stackinfo.h.
48630         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48631         DEFAULT_STACK_PERMS defined in stackinfo.h.
48632         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48633         * sysdeps/ia64/stackinfo.h: Likewise.
48634         * sysdeps/s390/stackinfo.h: Likewise.
48635         * sysdeps/sh/stackinfo.h: Likewise.
48636         * sysdeps/sparc/stackinfo.h: Likewise.
48637         * sysdeps/x86_64/stackinfo.h: Likewise.
48638         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48639         PF_X for powerpc64.  Retain PF_X for powerpc32.
48640
48641 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48642
48643         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48644         accurately.
48645         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48646         GETDENTS_64BIT_ALIGNED.
48647
48648 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48649
48650         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48651
48652 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48653
48654         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48655         _GNU_SOURCE.
48656
48657         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48658         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48659         Remove __restrict.
48660         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48661         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48662
48663 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48664
48665         [BZ #11655]
48666         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48667         are initialized.
48668
48669 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48670
48671         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48672
48673 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48674
48675         * po/it.po: Update from translation team.
48676
48677 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48678
48679         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48680         unused codes.
48681
48682 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48683
48684         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48685
48686 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48687
48688         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48689         specially.
48690         (gaih_getanswer_slice): Likewise.
48691
48692 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48693
48694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48695
48696 2010-05-31  Petr Baudis  <pasky@suse.cz>
48697
48698         [BZ #11149]
48699         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48700         silently even in the chroot mode.
48701
48702 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48703
48704         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48705         last patch a bit.  Pretty printing
48706
48707 2010-05-31  Petr Baudis <pasky@suse.cz>
48708
48709         [BZ #10085]
48710         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48711         initialization of skip_initgroups_dyn.
48712
48713 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48714
48715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48717
48718 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48719
48720         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48721
48722 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48723
48724         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48725         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48726         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48727         ($(objpfx)tst-fnmatch-mem): New rule.
48728         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48729         * posix/tst-fnmatch.c (main): Call mtrace.
48730
48731 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48732
48733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48734         Support Intel processor model 6 and model 0x2c.
48735
48736 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48737
48738         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48739           signed comparison.
48740
48741 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48742
48743         [BZ #12205]
48744         * string/test-strncasecmp.c (check_result): New function.
48745         (do_one_test): Use it.
48746         (check1): New function.
48747         (test_main): Use it.
48748         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48749         Support strcasecmp and strncasecmp.
48750
48751 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48752
48753         [BZ #12194]
48754         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48756
48757 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48758
48759         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48760         IFUNC support.
48761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48762         memset-x86-64.
48763         * sysdeps/x86_64/multiarch/bzero.S: New file.
48764         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48765         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48766         * sysdeps/x86_64/multiarch/memset.S: New file.
48767         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48769         Set bit_Prefer_SSE_for_memop for Intel processors.
48770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48771         Define.
48772         (index_Prefer_SSE_for_memop): Define.
48773         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48774
48775 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48776
48777         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48778         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48779
48780 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48781
48782         [BZ #12191]
48783         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48784         (__x86_64_raw_data_cache_size_half): Likewise.
48785         (__x86_64_raw_shared_cache_size): Likewise.
48786         (__x86_64_raw_shared_cache_size_half): Likewise.
48787
48788         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48789         (__x86_64_raw_data_cache_size_half): Likewise.
48790         (__x86_64_raw_shared_cache_size): Likewise.
48791         (__x86_64_raw_shared_cache_size_half): Likewise.
48792         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48793         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48794         and __x86_64_raw_shared_cache_size_half.  Round
48795         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48796         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48797         to multiple of 256 bytes.
48798
48799 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48800
48801         [BZ #12167]
48802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48803         of inacessible symlinks.  Verify result of symlink before returning it.
48804         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48805         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48806
48807 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48808
48809         * math/math.h (isinf): Fix typo in comment.
48810
48811 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48812
48813         * po/da.po: Update from translation team.
48814
48815 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48816
48817         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48818         is added to the list.
48819
48820 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48821             Ulrich Drepper  <drepper@gmail.com>
48822
48823         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48824         the global list here.  Move code to...
48825         (_dl_add_to_namespace_list): ...here.  New function.
48826         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48827         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48828         * elf/dl-load.c (lose): Don't remove the element from the list.
48829         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48830         (_dl_map_object): Likewise.
48831
48832 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48833
48834         [BZ #12159]
48835         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48836         into all bytes of SSE register.
48837         Patch by Richard Li <richardpku@gmail.com>.
48838
48839 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48840
48841         [BZ #12140]
48842         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48843         perturbing.
48844
48845 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48846
48847         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48848         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48849         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48850         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48852         submachine.
48853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48854
48855 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48856
48857         * include/dlfcn.h (__RTLD_SECURE): Define.
48858         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48859         mode & __RTLD_SECURE instead.
48860         (open_path): Rename preloaded parameter to secure.
48861         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48862         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48863         * elf/dl-deps.c (openaux): Likewise.
48864         * elf/rtld.c (struct map_args): Remove is_preloaded.
48865         (map_doit): Don't use it.
48866         (dl_main): Likewise.
48867         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48868         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48869
48870 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48871
48872         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48873         (sysd-rules-targets): Remove duplicates.
48874         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48875         rtld-%.$o dependency.
48876
48877 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48878
48879         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48880         _dl_map_object do it.
48881
48882 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48883
48884         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48885         fast fma builtins, define the macros in the C99 standard.
48886         (FP_FAST_FMAF): Likewise.
48887         (FP_FAST_FMAL): Likewise.
48888         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48889
48890         * bits/mathdef.h: Update copyright year.
48891         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48892
48893 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48894
48895         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48896         builtins, define the macros in the C99 standard.
48897         (FP_FAST_FMAF): Likewise.
48898         (FP_FAST_FMAL): Likewise.
48899         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48900         multiply/add.
48901         (FP_FAST_FMAF): Likewise.
48902
48903 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48904
48905         [BZ #3268]
48906         * math/libm-test.inc (fma_test): Some new testcases.
48907         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48909         y and infinite z.  Do multiplication by C already in long double.
48910         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48912         y and infinite z.  Do bitwise or of inexact bit into u.d.
48913         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48914         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48915         * sysdeps/i386/fpu/s_fma.S: Removed.
48916         * sysdeps/i386/fpu/s_fmal.S: Removed.
48917
48918 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48919
48920         [BZ #3268]
48921         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48923         computation is not scheduled after fetestexcept.  Fix value
48924         of minimum denormal long double.
48925
48926 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48927
48928         [BZ #3268]
48929         * math/libm-test.inc (fma_test): Add some more tests.
48930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48931         correctly.
48932
48933 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48934
48935         * scripts/data/localplt-s390-linux-gnu.data: New file.
48936         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48937
48938 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48939
48940         [BZ #3268]
48941         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48942         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48943         instead of dbl-64.
48944         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48945         inlines.
48946         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48948         if one of x and y is very large and the other is subnormal.
48949         * sysdeps/s390/fpu/s_fmaf.c: New file.
48950         * sysdeps/s390/fpu/s_fma.c: New file.
48951         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48952         * sysdeps/powerpc/fpu/s_fma.S: New file.
48953         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48954         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48955         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48956
48957 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48958
48959         [BZ #3268]
48960         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48961         fma tests.
48962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48963         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48964         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48965         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48966         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48967         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48968         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48969
48970 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48971
48972         [BZ #12078]
48973         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48974         * posix/bug-regex31.input: Add test case.
48975
48976 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48977
48978         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48979         * posix/bug-regex31.input: New file.
48980
48981         [BZ #12078]
48982         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48983         (parse_sub_exp): Fix last change, use postorder.
48984
48985         * posix/bug-regex31.c: New file.
48986         * posix/Makefile: Add rules to build and run bug-regex31.
48987
48988         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48989
48990         [BZ #12078]
48991         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48992
48993         [BZ #12108]
48994         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48995         to have entries in sys_siglist.
48996
48997         [BZ #12093]
48998         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48999         be NULL.
49000
49001 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49002
49003         [BZ #3268]
49004         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49005         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49006         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49007         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49008         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49009         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49010         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49011         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49012         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49013         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49014         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49015         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49016         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49017         * math/ftestexcept.c (fetestexcept): Likewise.
49018         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49019         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49020         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49021         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49022         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49023         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49024         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49025
49026 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49027
49028         [BZ #12107]
49029         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49030         newline.
49031
49032 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49033
49034         * string/bug-strstr1.c: New file.
49035         * string/Makefile: Add rules to build and run bug-strstr1.
49036
49037 2010-10-05  Eric Blake  <eblake@redhat.com>
49038
49039         [BZ #12092]
49040         * string/str-two-way.h (two_way_long_needle): Always clear memory
49041         when skipping input due to the shift table.
49042
49043 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49044
49045         [BZ #12005]
49046         * malloc/mcheck.c: Handle large requests.
49047
49048         [BZ #12077]
49049         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49050         for strncmp and strncasecmp.
49051         * string/stratcliff.c: Add tests for strcmp and strncmp.
49052         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49053
49054 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49055
49056         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49057         __set_fpscr.
49058
49059 2010-09-30  Andreas Jaeger  <aj@suse.de>
49060
49061         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49062         (CGROUP_SUPER_MAGIC): Define.
49063         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49064         Handle btrfs and cgroup file systems.
49065         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49066         Likewise.
49067
49068 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49069
49070         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49071         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49072
49073 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49074
49075         [BZ #12067]
49076         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49077         trying to locate the ELF header.
49078
49079 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49080
49081         [BZ #11611]
49082         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49083         Mask out sign-bit copies when constructing f_fsid.
49084
49085 2010-09-24  Petr Baudis <pasky@suse.cz>
49086
49087         * debug/stack_chk_fail_local.c: Add missing licence exception.
49088         * debug/warning-nop.c: Likewise.
49089
49090 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49091
49092         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49093         implementing getdents64 using getdents syscall, set d_type if
49094         __ASSUME_GETDENTS32_D_TYPE.
49095
49096 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49097
49098         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49099         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49100
49101 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49102
49103         [BZ #12037]
49104         * posix/unistd.h: Undo change of feature selection for ftruncate from
49105         2010-01-11.
49106
49107 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49108
49109         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49110         detection.
49111
49112 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49113
49114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49115         fanotify_mark.
49116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49117
49118 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49119
49120         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49121         variables after CHECK_SP call.
49122         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49123
49124 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49125             Ulrich Drepper  <drepper@redhat.com>
49126
49127         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49128         re-relocationg ld.so.
49129         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49130         _dl_init_paths call.
49131         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49132         here anymore.
49133
49134 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49135
49136         * resolv/res_init.c (__res_vinit): Count the default server we added.
49137
49138 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49139             Ulrich Drepper  <drepper@redhat.com>
49140
49141         [BZ #11968]
49142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49143         (____longjmp_chk): Use %ebx for saving value across system call.
49144         Add unwind info.
49145
49146 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49147
49148         * manual/Makefile: Don't mix pattern rules with normal rules.
49149
49150 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49151
49152         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49153         operation.
49154         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49155         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49156         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49157         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49158         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49159         Likewise.
49160
49161 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49162
49163         [BZ #11979]
49164         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49165         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49166
49167 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49168
49169         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49170         * sysdeps/x86_64/addmul_1.S: Likewise.
49171         * sysdeps/x86_64/lshift.S: Likewise.
49172         * sysdeps/x86_64/mul_1.S: Likewise.
49173         * sysdeps/x86_64/rshift.S: Likewise.
49174         * sysdeps/x86_64/sub_n.S: Likewise.
49175         * sysdeps/x86_64/submul_1.S: Likewise.
49176
49177 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49178
49179         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49180         Define __sched_param instead of SCHED_* and sched_param when
49181         <bits/sched.h> is included with __need_schedparam defined.
49182         * bits/sched.h [__need_schedparam]
49183         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49184         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49185         (__defined_schedparam): Define to 1.
49186         (__sched_param): New structure, identical to sched_param.
49187         (__need_schedparam): Undefine.
49188
49189 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49190
49191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49192         (epoll_create1): Declare.
49193
49194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49195
49196 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49197
49198         [BZ #7066]
49199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49200         shifting retval into place.
49201
49202 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49203
49204         * nis/rpcsvc/nis.h: Update copyright notice.
49205         * nis/rpcsvc/nis.x: Likewise.
49206         * nis/rpcsvc/nis_callback.h: Likewise.
49207         * nis/rpcsvc/nis_callback.x: Likewise.
49208         * nis/rpcsvc/nis_object.x: Likewise.
49209         * nis/rpcsvc/nis_tags.h: Likewise.
49210         * nis/rpcsvc/yp.h: Likewise.
49211         * nis/rpcsvc/yp.x: Likewise.
49212         * nis/rpcsvc/ypupd.h: Likewise.
49213         * nis/yp_xdr.c: Likewise.
49214         * nis/ypupdate_xdr.c: Likewise.
49215
49216         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49217         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49218         (pmap_getport): Use __libc_rpc_getport.
49219         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49220         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49221         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49222
49223 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49224
49225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49226         fanotify_mark.
49227
49228 2010-08-27  Roland McGrath  <roland@redhat.com>
49229
49230         * sysdeps/i386/i686/multiarch/Makefile
49231         (CFLAGS-varshift.c): New variable.
49232
49233 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49234
49235         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49236         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49237
49238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49239
49240         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49241
49242 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49243
49244         * sysdeps/x86_64/strlen.S: Unroll the loop.
49245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49246         strlen-sse2 strlen-sse2-bsf.
49247         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49248         __strlen_no_bsf if bit_Slow_BSF is set.
49249         (__strlen_sse42): Removed.
49250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49251         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49252
49253 2010-08-25  Roland McGrath  <roland@redhat.com>
49254
49255         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49256         * sysdeps/x86_64/multiarch/varshift.c: New file.
49257         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49258         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49259         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49260         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49261
49262 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49263
49264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49265         strlen-sse2 strlen-sse2-bsf.
49266         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49267         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49268         (__strlen_sse2): Removed.
49269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49272         bit_Slow_BSF for Atom.
49273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49274         (index_Slow_BSF): Define.
49275         (HAS_SLOW_BSF): Define.
49276
49277 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49278
49279         [BZ #10851]
49280         * resolv/res_init.c (__res_vinit): When no server address at all
49281         is given default to loopback.
49282
49283 2010-08-24  Roland McGrath  <roland@redhat.com>
49284
49285         * configure.in: Remove config-name.h generation.
49286         * configure: Regenerated.
49287         * config-name.in: File removed.
49288         * scripts/config-uname.sh: New file.
49289         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49290         ($(objdir)config-name.h): New target.
49291
49292         * sunrpc/rpc_parse.h: Avoid nested comment.
49293
49294 2010-08-24  Richard Henderson  <rth@redhat.com>
49295             Ulrich Drepper  <drepper@redhat.com>
49296             H.J. Lu  <hongjiu.lu@intel.com>
49297
49298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49300         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49301         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49302         _mm_alignr_epi8 with _mm_loadu_si128.
49303         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49304         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49305         (__m128i_shift_right): Removed.
49306         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49307         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49308         * sysdeps/x86_64/multiarch/varshift.h: New file.
49309         * sysdeps/x86_64/multiarch/varshift.S: New file.
49310
49311 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49312
49313         * configure.in: Move assembler checks to before sysdep dir checking.
49314
49315 2010-08-20  Petr Baudis  <pasky@suse.cz>
49316
49317         * LICENSES: Sync the sunrpc license.
49318
49319 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49320
49321         * sunrpc/auth_des.c: Update copyright notice once again.
49322         * sunrpc/auth_none.c: Likewise.
49323         * sunrpc/auth_unix.c: Likewise.
49324         * sunrpc/authdes_prot.c: Likewise.
49325         * sunrpc/authuxprot.c: Likewise.
49326         * sunrpc/bindrsvprt.c: Likewise.
49327         * sunrpc/clnt_gen.c: Likewise.
49328         * sunrpc/clnt_perr.c: Likewise.
49329         * sunrpc/clnt_raw.c: Likewise.
49330         * sunrpc/clnt_simp.c: Likewise.
49331         * sunrpc/clnt_tcp.c: Likewise.
49332         * sunrpc/clnt_udp.c: Likewise.
49333         * sunrpc/clnt_unix.c: Likewise.
49334         * sunrpc/des_crypt.c: Likewise.
49335         * sunrpc/des_soft.c: Likewise.
49336         * sunrpc/get_myaddr.c: Likewise.
49337         * sunrpc/getrpcport.c: Likewise.
49338         * sunrpc/key_call.c: Likewise.
49339         * sunrpc/key_prot.c: Likewise.
49340         * sunrpc/openchild.c: Likewise.
49341         * sunrpc/pm_getmaps.c: Likewise.
49342         * sunrpc/pm_getport.c: Likewise.
49343         * sunrpc/pmap_clnt.c: Likewise.
49344         * sunrpc/pmap_prot.c: Likewise.
49345         * sunrpc/pmap_prot2.c: Likewise.
49346         * sunrpc/pmap_rmt.c: Likewise.
49347         * sunrpc/rpc/auth.h: Likewise.
49348         * sunrpc/rpc/auth_unix.h: Likewise.
49349         * sunrpc/rpc/clnt.h: Likewise.
49350         * sunrpc/rpc/des_crypt.h: Likewise.
49351         * sunrpc/rpc/key_prot.h: Likewise.
49352         * sunrpc/rpc/netdb.h: Likewise.
49353         * sunrpc/rpc/pmap_clnt.h: Likewise.
49354         * sunrpc/rpc/pmap_prot.h: Likewise.
49355         * sunrpc/rpc/pmap_rmt.h: Likewise.
49356         * sunrpc/rpc/rpc.h: Likewise.
49357         * sunrpc/rpc/rpc_des.h: Likewise.
49358         * sunrpc/rpc/rpc_msg.h: Likewise.
49359         * sunrpc/rpc/svc.h: Likewise.
49360         * sunrpc/rpc/svc_auth.h: Likewise.
49361         * sunrpc/rpc/types.h: Likewise.
49362         * sunrpc/rpc/xdr.h: Likewise.
49363         * sunrpc/rpc_clntout.c: Likewise.
49364         * sunrpc/rpc_cmsg.c: Likewise.
49365         * sunrpc/rpc_common.c: Likewise.
49366         * sunrpc/rpc_cout.c: Likewise.
49367         * sunrpc/rpc_dtable.c: Likewise.
49368         * sunrpc/rpc_hout.c: Likewise.
49369         * sunrpc/rpc_main.c: Likewise.
49370         * sunrpc/rpc_parse.c: Likewise.
49371         * sunrpc/rpc_parse.h: Likewise.
49372         * sunrpc/rpc_prot.c: Likewise.
49373         * sunrpc/rpc_sample.c: Likewise.
49374         * sunrpc/rpc_scan.c: Likewise.
49375         * sunrpc/rpc_scan.h: Likewise.
49376         * sunrpc/rpc_svcout.c: Likewise.
49377         * sunrpc/rpc_tblout.c: Likewise.
49378         * sunrpc/rpc_util.c: Likewise.
49379         * sunrpc/rpc_util.h: Likewise.
49380         * sunrpc/rpcinfo.c: Likewise.
49381         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49382         * sunrpc/rpcsvc/key_prot.x: Likewise.
49383         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49384         * sunrpc/rpcsvc/mount.x: Likewise.
49385         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49386         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49387         * sunrpc/rpcsvc/rex.x: Likewise.
49388         * sunrpc/rpcsvc/rstat.x: Likewise.
49389         * sunrpc/rpcsvc/rusers.x: Likewise.
49390         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49391         * sunrpc/rpcsvc/spray.x: Likewise.
49392         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49393         * sunrpc/rtime.c: Likewise.
49394         * sunrpc/svc.c: Likewise.
49395         * sunrpc/svc_auth.c: Likewise.
49396         * sunrpc/svc_authux.c: Likewise.
49397         * sunrpc/svc_raw.c: Likewise.
49398         * sunrpc/svc_run.c: Likewise.
49399         * sunrpc/svc_simple.c: Likewise.
49400         * sunrpc/svc_tcp.c: Likewise.
49401         * sunrpc/svc_udp.c: Likewise.
49402         * sunrpc/svc_unix.c: Likewise.
49403         * sunrpc/svcauth_des.c: Likewise.
49404         * sunrpc/xcrypt.c: Likewise.
49405         * sunrpc/xdr.c: Likewise.
49406         * sunrpc/xdr_array.c: Likewise.
49407         * sunrpc/xdr_float.c: Likewise.
49408         * sunrpc/xdr_mem.c: Likewise.
49409         * sunrpc/xdr_rec.c: Likewise.
49410         * sunrpc/xdr_ref.c: Likewise.
49411         * sunrpc/xdr_sizeof.c: Likewise.
49412         * sunrpc/xdr_stdio.c: Likewise.
49413
49414         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49415         handling.
49416
49417 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49418
49419         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49420
49421 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49422
49423         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49425         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49426         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49428         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49429         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49430         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49433         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49434         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49435         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49436         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49437
49438 2010-07-26  Anton Blanchard  <anton@samba.org>
49439
49440         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49441         * malloc/arena.c (heap_trim): Likewise.
49442
49443 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49444
49445         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49446         here.  Not...
49447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49448         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49449
49450 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49451
49452         * sysdeps/i386/elf/Makefile: New file.
49453
49454 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49455
49456         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49457         from fanotify_init.
49458         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49460
49461 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49462
49463         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49464         of strncasecmp_l.
49465         * sysdeps/multiarch/strcmp.S: Likewise.
49466
49467 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49468
49469         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49470         strncase_l-nonascii.
49471         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49472         Add strncase_l-ssse3.
49473         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49474         * sysdeps/x86_64/strcmp.S: Likewise.
49475         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49476         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49477         * sysdeps/x86_64/strncase.S: New file.
49478         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49479         * sysdeps/x86_64/strncase_l.S: New file.
49480         * string/Makefile (strop-tests): Add strncasecmp.
49481         * string/test-strncasecmp.c: New file.
49482
49483         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49484         warning.
49485
49486         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49487         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49488
49489 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49490
49491         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49492
49493 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49494
49495         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49496         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49498
49499 2010-05-01  Alan Modra  <amodra@gmail.com>
49500
49501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49502         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49503         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49504         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49505         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49506         tidying.  Don't tail-call __sigjmp_save for static lib.
49507         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49508         save location.
49509         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49510         (CALL_MCOUNT): Add eh info, and nop after bl.
49511         (TAIL_CALL_SYSCALL_ERROR): New macro.
49512         (PSEUDO_RET): Use it.
49513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49514         Correct save location of integer regs and cr.
49515         (_dl_profile_resolve): Correct cr save location.  Delete nops
49516         after bl when SHARED.  Reduce cfi size a little by better
49517         placement of cfi directives.
49518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49519         make a stack frame.  Instead use parm save area as a temp.
49520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49521         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49523         Don't make a stack frame for parent, use parm save area.
49524         Increase child stack frame to 112 bytes.  Don't save unused reg,
49525         and adjust reg usage.  Set up cfi on error recovery and
49526         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49528         (__makecontext): Add dummy nop after jump to exit.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49530         Use correct parm save area and cr save, reduce stack frame.
49531         Correct cfi for possible PSEUDO_RET frame setup.
49532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49533         Branch to local label emitted by PSEUDO_RET rather than
49534         __syscall_error.
49535
49536 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49537
49538         [BZ #11904]
49539         * locale/programs/locale.c (print_assignment): New function.
49540         (show_locale_vars): Use it.
49541
49542 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49543
49544         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49545         field.
49546         (struct statfs64): Likewise.
49547         (_STATFS_F_FLAGS): Define.
49548         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49550         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49551         (ST_VALID): Define locally.
49552         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49553         __statvfs_getflags, use the provided value.
49554         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49555         __ASSUME_STATFS_F_FLAGS.
49556
49557         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49558
49559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49560         Add sys/fanotify.h.
49561         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49562         fanotify_mask for GLIBC_2.13.
49563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49564         fanotify_init and fanotify_mark.
49565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49566         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49567
49568         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49569         Add prlimit.
49570         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49571         prlimit64 for GLIBC_2.13.
49572         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49573         prlimit64.
49574         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49575         syscall.
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49577         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49578         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49581         add prlimit alias.
49582         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49583
49584         [BZ #11903]
49585         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49586         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49587
49588         * nss/Makefile: Add rules to build and run tst-nss-test1.
49589         * shlib-versions: Add entry for libnss_test1.
49590         * nss/nss_test1.c: New file.
49591         * nss/tst-nss-test1.c: New file.
49592
49593         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49594         (__nss_configure_lookup): Set appropriate entry in
49595         __nss_configure_lookup to true.
49596         * nss/nsswitch.h: Define enum with indeces of databases in
49597         databases and __nss_database_custom arrays.  Declare
49598         __nss_database_custom.
49599         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49600         to avoid using nscd when custom rules are installed.
49601         * nss/getXXbyYY_r.c: Likewise.
49602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49603
49604         * nss/nss_files/files-parse.c: Whitespace fixes.
49605
49606 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49607
49608         [BZ #11883]
49609         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49610         * posix/fnmatch_loop.c: Likewise.
49611
49612 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49613
49614         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49615         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49616         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49617         * Versions.def [GLIBC_2.13]: Add.
49618
49619 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49620
49621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49622         Also fail if tpwd after pwuid call is NULL.
49623
49624 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49625
49626         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49627         when converting to ms.
49628
49629 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49630
49631         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49632         EOPNOTSUPP errors with ENOTTY.
49633         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49634         EOPNOTSUPP errors with ENOTTY.
49635
49636 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49637
49638         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49639         Add strcasecmp_l-ssse3.
49640         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49641         strcasecmp.
49642         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49644         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49645
49646 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49647
49648         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49649
49650         * string/Makefile (strop-tests): Add strcasecmp.
49651         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49652         strcasecmp_l-nonascii.
49653         (gen-as-const-headers): Add locale-defines.sym.
49654         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49655         * sysdeps/x86_64/strcasecmp.S: New file.
49656         * sysdeps/x86_64/strcasecmp_l.S: New file.
49657         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49658         * sysdeps/x86_64/locale-defines.sym: New file.
49659         * string/test-strcasecmp.c: New file.
49660
49661         * string/test-strcasestr.c: Test both ends of the range of characters.
49662         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49663
49664 2010-07-29  Roland McGrath  <roland@redhat.com>
49665
49666         [BZ #11856]
49667         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49668
49669 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49670
49671         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49672         for ld.so.
49673
49674 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49675
49676         * manual/memory.texi (Malloc Tunable Parameters): Document
49677         M_PERTURB.
49678
49679 2010-07-26  Roland McGrath  <roland@redhat.com>
49680
49681         [BZ #11840]
49682         * configure.in (-fgnu89-inline check): Set and substitute
49683         gnu89_inline, not libc_cv_gnu89_inline.
49684         * configure: Regenerated.
49685         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49686
49687 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49688
49689         * string/test-strnlen.c: New file.
49690         * string/Makefile (strop-tests): Add strnlen.
49691         * string/tester.c (test_strnlen): Add a few more test cases.
49692         * string/tst-strlen.c: Better error reporting.
49693
49694         * sysdeps/x86_64/strnlen.S: New file.
49695
49696 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49697
49698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49699         lower-latency instructions.
49700
49701 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49702
49703         * string/test-strcasestr.c: New file.
49704         * string/test-strstr.c: New file.
49705         * string/Makefile (strop-tests): Add strstr and strcasestr.
49706         * string/str-two-way.h: Don't undefine MAX.
49707         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49708
49709 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49710
49711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49712         strcasestr-nonascii.
49713         (CFLAGS-strcasestr-nonascii.c): Define.
49714         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49716         Remove unused attribute.
49717
49718 2010-07-20  Roland McGrath  <roland@redhat.com>
49719
49720         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49721         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49722         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49723         like LD_HWCAP_MASK can disable hwcaps.
49724
49725 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49726
49727         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49728
49729 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49730
49731         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49732         call in strcasestr.
49733         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49734         __strcasestr_sse42_nonascii.
49735         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49736         strcasestr-nonascii.c.
49737         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49738
49739 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49740
49741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49742         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49743         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49744         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49745
49746 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49747
49748         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49749         fcntl.
49750
49751 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49752
49753         [BZ #11577]
49754         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49755         dl_signal_cerror.
49756
49757 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49758
49759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49760         _PC_PIPE_BUF using F_GETPIPE_SZ.
49761
49762 2010-07-05  Roland McGrath  <roland@redhat.com>
49763
49764         * manual/arith.texi (Rounding Functions): Fix rint description
49765         implicit in round description.
49766
49767 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49768
49769         * elf/Makefile: Fix linking for a few tests to make recent linker
49770         happy.
49771
49772 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49773
49774         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49775         $(common-objpfx)libc_nonshared.a.
49776
49777 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49778
49779         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49780         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49781         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49782         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49783         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49785         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49786         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49801         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49802         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49803         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49804         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49805         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49806         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49807         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49808         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49809         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49810         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49811         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49812         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49827
49828 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49829
49830         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49831         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49832         * string/memmove.c (memmove): Renamed to ...
49833         (MEMMOVE): ...this.  Default to memmove.
49834         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49835         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49836         (END_CHK): Define.
49837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49838         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49839         mempcpy-ssse3-back memmove-ssse3-back.
49840         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49842         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49843         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49844         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49845         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49846         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49847         * sysdeps/x86_64/multiarch/memmove.c: New file.
49848         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49849         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49850         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49851         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49853         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49854         Define.
49855         (index_Fast_Copy_Backward): Define.
49856         (HAS_ARCH_FEATURE): Define.
49857         (HAS_FAST_REP_STRING): Define.
49858         (HAS_FAST_COPY_BACKWARD): Define.
49859
49860 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49861
49862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49863         Restore proper fallback handling.
49864
49865 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49866
49867         [BZ #11701]
49868         * posix/group_member.c (__group_member): Correct checking loop.
49869
49870         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49871         OOM in getpwuid_r correctly.  Return error number when the caller
49872         should return, otherwise -1.
49873         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49874         call returning > 0 value.
49875         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49876
49877 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49878
49879         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49880         libc_nonshared.a from targets in modules-names.
49881
49882 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49883
49884         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49885         requires it.
49886
49887 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49888
49889         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49890         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49893
49894 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49895
49896         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49897
49898 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49899
49900         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49901         and F_GETPIPE_SZ.
49902         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49906         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49908
49909 2010-06-14  Roland McGrath  <roland@redhat.com>
49910
49911         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49912
49913 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49914
49915         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49916         __REDIRECT followed by __THROW.
49917         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49918         * posix/getopt.h (getopt): Likewise.
49919
49920 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49921
49922         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49923         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49924         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49925         in AT_FLAGS.
49926         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49927         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49928
49929 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49930
49931         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49932
49933 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49934
49935         [BZ #11640]
49936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49937         Properly check family and model.
49938
49939 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49940
49941         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49942
49943 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49944
49945         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49946
49947 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49948
49949         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49950         symbol reference.
49951
49952 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49953
49954         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49955         symbol reference.
49956
49957 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49958
49959         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49960         and internal_recvmmsg.
49961         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49962         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49963         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49964         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49965
49966         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49967         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49968         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49969
49970 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49971
49972         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49973
49974 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49975
49976         POWER7 optimizations.
49977         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49978         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49979
49980 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49981
49982         * version.h: Update for 2.13 development version.
49983
49984 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49985
49986         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49987         exceptions.  Return 0.
49988
49989 2010-05-07  Roland McGrath  <roland@redhat.com>
49990
49991         * elf/ldconfig.c (main): Add a const.
49992
49993 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49994
49995         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49996         (args_options): Add no-idn option.
49997         (ahosts_keys_int): Add idn_flags to ai_flags.
49998         (parse_option): Handle 'i' option to clear idn_flags.
49999
50000         * malloc/malloc.c (_int_free): Possible race in the most recently
50001         added check.  Only act on the data if no current modification
50002         happened.
50003
50004 See ChangeLog.17 for earlier changes.