Validate bench.out against a JSON schema
[glibc.git] / ChangeLog
blob85e631e1f15097a9353e64dd69912b5784cbe7b0
1 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * benchtests/scripts/validate_benchout.py: New script.
4         * benchtests/Makefile (bench-func): Call it.
5         * benchtests/scripts/benchout.schema.json: New file.
7 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
21         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
22         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26         Moved ...
27         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28         ... here.
29         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30         Moved ...
31         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33         Moved ...
34         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35         ... here.
36         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37         Moved ...
38         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39         ... here.
40         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
41         Moved ...
42         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44         Moved ...
45         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
46         ... here.
47         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
48         Moved ...
49         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50         ... here.
51         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
52         Moved ...
53         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
54         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
55         Moved ...
56         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
57         ... here.
58         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
59         Moved ...
60         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
61         ... here.
62         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
63         Moved ...
64         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
65         ... here.
66         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
67         Moved ...
68         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
69         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
70         Moved ...
71         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
72         ... here.
73         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
74         Moved ...
75         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
76         ... here.
77         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
78         Moved ...
79         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
80         ... here.
81         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
82         Moved ...
83         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
84         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
85         Moved ...
86         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
87         ... here.
88         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
89         Moved ...
90         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
91         ... here.
92         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
93         Moved ...
94         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
95         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
96         Moved ...
97         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
98         ... here.
99         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
100         Moved ...
101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
103         Moved ...
104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
106         Moved ...
107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
108         ... here.
109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
110         Moved ...
111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
112         ... here.
113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
114         Moved ...
115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
116         ... here.
117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
118         Moved ...
119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
121         Moved ...
122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
123         ... here.
124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
125         Moved ...
126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
127         ... here.
128         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
129         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
130         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
131         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
133         Moved ...
134         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
135         ... here.
136         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
137         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
138         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
139         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
141         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
143         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
145         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
146         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
147         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
148         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
149         Moved ...
150         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
151         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
152         Moved ...
153         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
154         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
155         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
156         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
157         Moved ...
158         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
159         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
160         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
161         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
162         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
163         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
164         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
166 2014-06-10  Wilco  <wdijkstr@arm.com>
168         * math/test-fenv-return.c: New file.
169         * math/Makefile: Add new test test-fenv-return.
171 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
173         [BZ #17042]
174         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
175         when x - 1 is zero.
176         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
177         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
178         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
179         0.0L for an argument of 1.0L.
180         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
181         Likewise.
182         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
183         value when x - 1 is zero.
184         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
185         * sysdeps/i386/fpu/libm-test-ulps: Update.
186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
188 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
190         [BZ #15119]
191         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
193 2014-06-09  Roland McGrath  <roland@hack.frob.com>
195         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
196         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
198 2014-06-09  Roland McGrath  <roland@hack.frob.com>
200         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
201         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
203         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
204         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
206         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
207         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
209         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
210         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
212         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
213         if not already defined.
214         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
215         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
216         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
217         (TLS_INIT_TP): Use it.
218         (TLS_DEFINE_INIT_TP): New macro.
219         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
221 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
223         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
224         constant.
225         [POSIX] (IXANY): Likewise.
226         [POSIX] (OLCUC): Likewise.
227         [POSIX || POSIX2008] (CBAUD): Do not allow.
228         [POSIX || POSIX2008] (DEFECHO): Likewise.
229         [POSIX || POSIX2008] (ECHOCTL): Likewise.
230         [POSIX || POSIX2008] (ECHOKE): Likewise.
231         [POSIX || POSIX2008] (ECHOPRT): Likewise.
232         [POSIX || POSIX2008] (EXTA): Likewise.
233         [POSIX || POSIX2008] (EXTB): Likewise.
234         [POSIX || POSIX2008] (FLUSHO): Likewise.
235         [POSIX || POSIX2008] (LOBLK): Likewise.
236         [POSIX || POSIX2008] (PENDIN): Likewise.
237         [POSIX || POSIX2008] (SWTCH): Likewise.
238         [POSIX || POSIX2008] (VDISCARD): Likewise.
239         [POSIX || POSIX2008] (VDSUSP): Likewise.
240         [POSIX || POSIX2008] (VLNEXT): Likewise.
241         [POSIX || POSIX2008] (VREPRINT): Likewise.
242         [POSIX || POSIX2008] (VSTATUS): Likewise.
243         [POSIX || POSIX2008] (VWERASE): Likewise.
244         (B*): Change to B[0123456789]*.
245         * conform/data/time.h-data [POSIX || UNIX98]
246         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
247         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
248         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
249         [POSIX] (tm_*): Do not allow.
251 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
253         * Makefile (install): Don't set LANGUAGE.
254         * Makefile.in (install): Likewise.
255         * assert/Makefile (test-assert-ENV): Remove variable.
256         (test-assert-perr-ENV): Likewise.
257         * elf/Makefile (neededtest4-ENV): Likewise.
258         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
259         [$(cross-compiling) = no]: Don't set LANGUAGE.
260         * io/ftwtest-sh (LANG): Remove variable.
261         * libio/Makefile (tst-widetext-ENV): Likewise.
262         * manual/install.texi (Running make install): Don't refer to
263         environment settings for make install.
264         * INSTALL: Regenerated.
265         * nptl/tst-tls6.sh: Don't set LANG.
266         * posix/globtest.sh (LANG): Remove variable.
267         * string/Makefile (tester-ENV): Likewise.
268         (inl-tester-ENV): Likewise.
269         (noinl-tester-ENV): Likewise.
270         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
271         [$(cross-compiling) = no]: Don't set LANGUAGE.
272         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
273         without explicit environment settings.
275 2014-06-06  Roland McGrath  <roland@hack.frob.com>
277         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
278         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
279         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
280         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
282 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
284         * crypt/crypt-private.h [DOS]: Add some includes taken from the
285         other files in the crypt directory.
286         * crypt/crypt.c: Remove duplicate includes.
287         * crypt/crypt-entry.c: Likewise.
288         * crypt/crypt_util.c: Likewise.
290 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
292         * Makeconfig (run-program-env): New variable.
293         (run-program-prefix-before-env): Likewise.
294         (run-program-prefix-after-env): Likewise.
295         (run-program-prefix): Define in terms of new variables.
296         (built-program-cmd-before-env): New variable.
297         (built-program-cmd-after-env): Likewise.
298         (built-program-cmd): Define in terms of new variables.
299         (test-program-prefix-before-env): New variable.
300         (test-program-prefix-after-env): Likewise.
301         (test-program-prefix): Define in terms of new variables.
302         (test-program-cmd-before-env): New variable.
303         (test-program-cmd-after-env): Likewise.
304         (test-program-cmd): Define in terms of new variables.
305         * Rules (make-test-out): Use $(run-program-env).
306         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
307         (help): Do not mention environment variables.  Mention
308         --timeoutfactor option.
309         (timeoutfactor): New variable.
310         (blacklist_exports): Remove function.
311         (exports): Remove variable.
312         (command): Do not include ${exports}.
313         * manual/install.texi (Configuring and compiling): Do not mention
314         test wrappers preserving environment variables.  Mention that last
315         assignment to a variable must take precedence.
316         * INSTALL: Regenerated.
317         * benchtests/Makefile (run-bench): Use $(run-program-env).
318         * catgets/Makefile ($(objpfx)test1.cat): Use
319         $(built-program-cmd-before-env), $(run-program-env) and
320         $(built-program-cmd-after-env).
321         ($(objpfx)test2.cat): Do not specify environment variables
322         explicitly.
323         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
324         $(run-program-env) and $(built-program-cmd-after-env).
325         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
326         $(run-program-env) and $(test-program-cmd-after-env).
327         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
328         explicitly.
329         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
330         run_program_env and test_program_cmd_after_env arguments.
331         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
332         * elf/tst-pathopt.sh: Use run_program_env argument.
333         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
334         $(test-wrapper-env) and $(run-program-env).
335         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
336         run_program_env arguments.
337         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
338         * intl/Makefile ($(objpfx)tst-gettext.out): Use
339         $(test-program-prefix-before-env), $(run-program-env) and
340         $(test-program-prefix-after-env).
341         ($(objpfx)tst-gettext2.out): Likewise.
342         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
343         run_program_env and test_program_prefix_after_env arguments.
344         * intl/tst-gettext2.sh: Likewise.
345         * intl/tst-gettext4.sh: Do not set environment variables
346         explicitly.
347         * intl/tst-gettext6.sh: Likewise.
348         * intl/tst-translit.sh: Likewise.
349         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
350         $(test-program-prefix-before-env), $(run-program-env) and
351         $(test-program-prefix-after-env).
352         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
353         run_program_env and test_program_prefix_after_env arguments.
354         * math/Makefile (run-regen-ulps): Use $(run-program-env).
355         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
356         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
357         explicitly with each use of ${test_wrapper_env}.
358         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
359         $(test-program-prefix-before-env), $(run-program-env) and
360         $(test-program-prefix-after-env).
361         * posix/tst-getconf.sh: Do not set environment variables
362         explicitly.
363         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
364         run_program_env and test_program_prefix_after_env arguments.
365         * stdio-common/tst-printf.sh: Do not set environment variables
366         explicitly.
367         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
368         $(test-program-prefix-before-env), $(run-program-env) and
369         $(test-program-prefix-after-env).
370         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
371         run_program_env and test_program_prefix_after_env arguments.
372         Split $test calls into $test_pre and $test.
373         * timezone/Makefile (build-testdata): Use
374         $(built-program-cmd-before-env), $(run-program-env) and
375         $(built-program-cmd-after-env).
377 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
379         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
380         strlen for non SHARED builds.
382 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
384         * nptl/allocatestack.c (check_list): Inlined function...
385         (__reclaim_stacks): ... here.
387 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
389         [BZ #15698]
390         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
391         memory overrun.
393 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
395         * Rules (make-test-out): Include
396         LOCPATH=$(common-objpfx)localedata in default environment.
397         * debug/Makefile (tst-chk1-ENV): Remove variable.
398         (tst-chk2-ENV): Likewise.
399         (tst-chk3-ENV): Likewise.
400         (tst-chk4-ENV): Likewise.
401         (tst-chk5-ENV): Likewise.
402         (tst-chk6-ENV): Likewise.
403         (tst-lfschk1-ENV): Likewise.
404         (tst-lfschk2-ENV): Likewise.
405         (tst-lfschk3-ENV): Likewise.
406         (tst-lfschk4-ENV): Likewise.
407         (tst-lfschk5-ENV): Likewise.
408         (tst-lfschk6-ENV): Likewise.
409         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
410         (tst-iconv7-ENV): Likewise.
411         * intl/Makefile (LOCPATH-ENV): Likewise.
412         (tst-codeset-ENV): Likewise.
413         (tst-gettext3-ENV): Likewise.
414         (tst-gettext5-ENV): Likewise.
415         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
416         (tst-fopenloc-ENV): Likewise.
417         (tst-fgetws-ENV): Remove variable.
418         (tst-ungetwc1-ENV): Likewise.
419         (tst-ungetwc2-ENV): Likewise.
420         (bug-ungetwc2-ENV): Likewise.
421         (tst-swscanf-ENV): Likewise.
422         (bug-ftell-ENV): Likewise.
423         (tst-fgetwc-ENV): Likewise.
424         (tst-fseek-ENV): Likewise.
425         (tst-ftell-partial-wide-ENV): Likewise.
426         (tst-ftell-active-handler-ENV): Likewise.
427         (tst-ftell-append-ENV): Likewise.
428         * posix/Makefile (tst-fnmatch-ENV): Likewise.
429         (tst-regexloc-ENV): Likewise.
430         (bug-regex1-ENV): Likewise.
431         (tst-regex-ENV): Likewise.
432         (tst-regex2-ENV): Likewise.
433         (bug-regex5-ENV): Likewise.
434         (bug-regex6-ENV): Likewise.
435         (bug-regex17-ENV): Likewise.
436         (bug-regex18-ENV): Likewise.
437         (bug-regex19-ENV): Likewise.
438         (bug-regex20-ENV): Likewise.
439         (bug-regex22-ENV): Likewise.
440         (bug-regex23-ENV): Likewise.
441         (bug-regex25-ENV): Likewise.
442         (bug-regex26-ENV): Likewise.
443         (bug-regex30-ENV): Likewise.
444         (bug-regex32-ENV): Likewise.
445         (bug-regex33-ENV): Likewise.
446         (bug-regex34-ENV): Likewise.
447         (bug-regex35-ENV): Likewise.
448         (tst-rxspencer-ENV): Likewise.
449         (tst-rxspencer-no-utf8-ENV): Likewise.
450         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
451         (tst-sscanf-ENV): Likewise.
452         (tst-swprintf-ENV): Likewise.
453         (tst-swscanf-ENV): Likewise.
454         (test-vfprintf-ENV): Likewise.
455         (scanf13-ENV): Likewise.
456         (bug14-ENV): Likewise.
457         (tst-grouping-ENV): Likewise.
458         * stdlib/Makefile (tst-strtod-ENV): Likewise.
459         (tst-strtod3-ENV): Likewise.
460         (tst-strtod4-ENV): Likewise.
461         (tst-strtod5-ENV): Likewise.
462         (testmb2-ENV): Likewise./
463         * string/Makefile (tst-strxfrm-ENV): Likewise.
464         (tst-strxfrm2-ENV): Likewise.
465         (bug-strcoll1-ENV): Likewise.
466         (test-strcasecmp-ENV): Likewise.
467         (test-strncasecmp-ENV): Likewise.
468         * time/Makefile (tst-strptime-ENV): Likewise.
469         (tst-ftime_l-ENV): Likewise.
470         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
471         (tst-mbrtowc-ENV): Likewise.
472         (tst-wcrtomb-ENV): Likewise.
473         (tst-mbrtowc2-ENV): Likewise.
474         (tst-c16c32-1-ENV): Likewise.
475         (tst-mbsnrtowcs-ENV): Likewise.
477 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
479         * manual/resource.texi (How to get information about the memory
480         subsystem?): Fix typo.
481         Reported by Peon de la Parra Ivan <peon@keba.com>
483 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
485         [BZ #16882]
486         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
487         (pthread_spin_lock): Branch out of spin loop to proper location.
488         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
489         (pthread_spin_lock): Likewise.
491         * nptl/tst-spin4.c: New test.
492         * nptl/Makefile (tests): Add tst-spin4.
494 2014-06-03  Andreas Schwab  <schwab@suse.de>
496         [BZ #15946]
497         * resolv/res_send.c (send_dg): Reload file descriptor after
498         calling reopen.
500 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
502         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
504 2014-06-03  Richard Henderson  <rth@redhat.com>
506         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
507         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
508         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
509         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
510         in the SAVE_PID block.
511         (__libc_vfork): New alias.
512         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
514         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
515         child in registers, not on the stack.  Remove RESET_PID conditionals.
516         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
518 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
520         * sysdeps/aarch64/libm-test-ulps: Regenerate.
522 2014-06-03  Wilco  <wdijkstr@arm.com>
524         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
525         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
526         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
527         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
528         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
529         Likewise.
531 2014-06-03  Wilco  <wdijkstr@arm.com>
533         * sysdeps/aarch64/fpu/math_private.h
534         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
535         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
536         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
537         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
538         Fix declarations.
540 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
542         * crypt/crypt-private.h: Include ufc-crypt.h.
543         (__b64_from_24bit): Declare extern.
544         * crypt/crypt_util.c(__b64_from_24bit): New function.
545         (b64t): New static const variable.
546         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
547         (b64t): Remove variable.
548         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
549         * crypt/sha256-crypt.c: Include crypt-private.h.
550         (b64t): Remove variable.
551         (__sha256_crypt_r): Remove b64_from_24bit and replace
552         with __b64_from_24bit.
553         * crypt/sha512-crypt.c: Likewise.
555 2014-06-02  Roland McGrath  <roland@hack.frob.com>
557         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
558         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
559         Label the code __libc_vfork rather than __vfork.
560         [!NOT_IN_libc] (vfork): Define as weak alias.
561         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
562         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
563         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
565 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
567         * malloc/malloc.c (malloc_info): Fix format specifier for
568         n_mmaps.
570 2014-06-02  Wilco  <wdijkstr@arm.com>
572         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
573         FPCR write.
575 2014-06-02  Wilco  <wdijkstr@arm.com>
577         [BZ #17009]
578         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
579         Rewrite to reduce FPCR/FPSR accesses.
581 2014-06-01  David S. Miller  <davem@davemloft.net>
583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
585 2014-05-31  David S. Miller  <davem@davemloft.net>
587         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
588         to occur in round to nearest mode when |x| >= 2.0
590 2014-05-30  Richard Henderson  <rth@twiddle.net>
592         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
593         (PSEUDO_RET_NOERRNO): Remove.
594         (ret): Don't redefine.
595         (ret_NOERRNO): Define in terms of ret.
596         (ret_ERRVAL): Likewise.
598         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
599         use of PSEUDO_RET; perform the error check directly.
601 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
603         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
604         with __int128_t.
606 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
608         * malloc/malloc (malloc_info): Fix formatting.
610 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
611             Roland McGrath  <roland@hack.frob.com>
613         * malloc/malloc (malloc_info): Also print mmapped statistics.
615 2014-05-30  Roland McGrath  <roland@hack.frob.com>
617         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
618         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
620 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
622         * malloc/malloc.c (malloc_info): Inline mi_arena.
624 2014-05-29  Richard Henderson  <rth@twiddle.net>
626         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
627         Remove comma before expanding ASM_ARGS_##nr.
628         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
629         Make _x0 a strict output; make _x8 a strict input; adjust expansion
630         of ASM_ARGS_##nr.
631         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
632         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
633         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
634         (ASM_ARGS_1): Add leading comma.
636         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
637         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
638         to __errno_location.
639         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
640         Remove the expected plt for __errno_location.
642         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
643         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
644         call to __read_tp.
646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
647         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
648         it and break it down.
649         (DOCARGS_0, DOCARGS_1): Do nothing.
650         (DOCARGS_2): Update to store into the new stack frame.
651         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
652         (UNDOCARGS_1): Update to restore from the new stack frame.
653         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
654         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
656         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
657         (SINGLE_THREAD_P): New parameter for result regno.
658         (PSEUDO): Update to match; use cbz instead of beq.
660         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
661         Use ENTRY to define the _nocancel entry point.  Share the syscall
662         and syscall error check paths with the cancel path.
663         (PSEUDO_END): New.
665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
666         whitespace; tabs before and after asm mnemonics.
668 2014-05-29  Eric Wong  <normalperson@yhbt.net>
670         [BZ #15132]
671         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
672         Call fstat64 or stat64 internally, depending on arguments passed.
673         Replace stat buffer argument with file descriptor argument.
674         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
675         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
676         Pass fd to __internal_statvfs instead of calling fstat64.
677         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
678         Pass fd to __internal_statvfs64 instead of calling fstat64.
679         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
680         Pass -1 to __internal_statvfs instead of calling stat64.
681         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
682         Pass -1 to __internal_statvfs64 instead of calling stat64.
684 2014-05-28  Roland McGrath  <roland@hack.frob.com>
686         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
687         that was previously under [RESET_PID].
688         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
690         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
691         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
693 2014-05-27  Roland McGrath  <roland@hack.frob.com>
695         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
697         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
698         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
700 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
702         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
704 2014-05-27  Andreas Schwab  <schwab@suse.de>
706         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
707         TLS_INIT_TP macro.
708         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
709         * elf/rtld.c (init_tls, dl_main): Likewise.
710         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
711         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
712         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
713         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
714         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
715         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
716         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
717         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
718         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
719         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
720         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
721         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
722         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
723         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
724         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
725         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
726         * sysdeps/generic/tls.h: Update description.
728 2014-05-27  Will Newton  <will.newton@linaro.org>
730         [BZ #16990]
731         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
732         and restore r2 rather than just restoring.
734 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
736         [BZ #16724]
737         * libio/tst-ftell-append.c: New test case.
738         * libio/Makefile (tests): Add test case.
739         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
740         append mode.
741         * libio/wfileops.c (do_ftell_wide): Likewise.
743 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
747         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
748         ...
749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
751         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
752         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
753         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
754         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
755         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
756         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
758         Moved ...
759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
761         Moved ...
762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
763         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
764         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
765         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
766         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
767         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
768         ...
769         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
770         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
771         Moved ...
772         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
773         here.
774         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
775         ...
776         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
777         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
778         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
780         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
781         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
782         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
783         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
785         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
786         merge into ...
787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
789         ...
790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
792         ...
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
795         Moved ...
796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
797         here.
798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
799         Moved ...
800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
802         Moved ...
803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
806         conditional [RESET_PID].
807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
808         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
809         removed.
810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
811         removed.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
814         <tcb-offsets.h>.
815         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
816         (__libc_vfork): New strong alias.
817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
818         removed.
819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
820         Removed.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
823         <tcb-offsets.h>.
824         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
825         (__libc_vfork): New strong alias.
826         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
827         removed.
828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
829         removed.
831 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
833         * malloc/malloc.c (mi_arena): New function.
834         (malloc_info): Remove nested function mi_arena. Call non-nosted
835         function mi_arena.
837 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
839         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
840         by insrwi.
841         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
842         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
843         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
844         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
845         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
846         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
847         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
849 2014-05-26  Andreas Schwab  <schwab@suse.de>
851         [BZ #16984]
852         * locale/programs/repertoire.c (repertoire_read): Add slash
853         between I18NPATH element and file name.
854         * locale/programs/locfile.c (locfile_read): Likewise.
856 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
858         * nptl/pthread_mutexattr_settype.c
859         (__pthread_mutexattr_settype):
860         Disable lock elision for PTHREAD_MUTEX_NORMAL.
862 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
864         * nptl/tst-mutex5 (do_test):
865         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
867 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
869         * benchtests/README: Document 'init' directive.
870         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
871         BENCH_INIT.
872         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
873         (parse_file): Recognize 'init' directive.
875 2014-05-26  Kyle McMartin  <kyle@redhat.com>
877         [BZ #16796]
878         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
879         alignment of struct pthread.
881 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
883         [BZ #16878]
884         * nscd/netgroupcache.c (addgetnetgrentX): Look for
885         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
886         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
887         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
889 2014-05-25  Richard Henderson  <rth@twiddle.net>
891         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
892         (SINGLE_THREAD_P_PIC): Remove.
893         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
894         (SINGLE_THREAD_P_PIC): Remove.
896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
897         branch to syscall error ...
898         (PSEUDO): ... here.
899         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
900         from __local_syscall_error to .Lsyscall_error.
901         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
902         (SYSCALL_ERROR): Update label name.
904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
905         Do not use DOARGS/UNDOARGS.
906         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
907         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
908         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
909         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
910         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
912         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
913         block comment.
915         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
916         define if !NOT_IN_libc.
917         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
918         define with non-default symbol versions.
920 2014-05-23  Richard Henderson  <rth@twiddle.net>
922         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
923         (vfork, __vfork): Define via compat_symbol.
925         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
926         [!HAVE_IFUNC] (vfork_compat): Remove.
927         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
929 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
931         [BZ #16978]
932         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
933         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
934         variable.
936 2014-05-23  Richard Henderson  <rth@twiddle.net>
938         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
939         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
940         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
941         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
943         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
944         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
945         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
946         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
947         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
948         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
949         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
950         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
951         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
952         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
953         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
954         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
955         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
956         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
957         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
958         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
959         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
960         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
961         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
962         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
963         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
964         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
965         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
966         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
967         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
968         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
969         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
970         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
971         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
972         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
973         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
974         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
975         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
976         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
977         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
978         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
979         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
980         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
981         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
982         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
983         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
984         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
985         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
986         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
987         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
988         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
989         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
990         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
991         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
992         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
993         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
994         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
995         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
996         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
997         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
998         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1000         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1001         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1002         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1003         before exiting on error.
1004         (__libc_vfork): New strong alias.
1005         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1006         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1008         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1009         that was previously under [RESET_PID].
1010         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1012         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1014 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1016         [BZ #16977]
1017         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1018         value when x - 1 is zero.
1019         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1020         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1021         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1022         0.0L for an argument of 1.0L.
1023         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1024         Likewise.
1025         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1026         value when x - 1 is zero.
1027         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1028         * sysdeps/i386/fpu/libm-test-ulps: Update.
1029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1031 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1033         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1034         alphasort and versionsort.
1036 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1038         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1039         macro.
1040         [copysignf]: Likewise.
1042 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1044         * crypt/md5-crypt.c: Fix formatting.
1046 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1048         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1049         (b64_from_24bit): New function.
1051 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1053         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1054         libc_hidden_builtin_def to ifunc.
1055         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1056         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1058 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1060         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1061         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1063 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1065         * nscd/Depend (linuxthreads): Remove.
1066         (nptl): Add.
1067         * resolv/Depend (linuxthreads): Remove.
1068         * rt/Depend (linuxthreads): Remove.
1070         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1071         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1072         $(common-objpfx)elf/.
1073         (link-libc-before-gnulib): Likewise.
1074         (elfobjdir): Remove variable.
1075         * Makefile (install): Use $(elf-objpfx) instead of
1076         $(common-objpfx)elf/.
1077         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1078         $(elfobjdir)/.
1079         (link-libc-deps): Likewise.
1080         ($(common-objpfx)libc.so): Likewise.
1081         ($(common-objpfx)linkobj/libc.so): Likewise.
1082         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1083         instead of $(common-objpfx)elf/.
1084         (symbolic-link-list): Likewise.
1085         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1086         [$(cross-compiling) = no]: Likewise.
1087         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1088         $(elfobjdir)/.
1089         (static-gnulib-arch): Likewise.
1090         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1091         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1092         $(common-objpfx)elf/.
1094 2014-05-21  Richard Henderson  <rth@redhat.com>
1096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1097         (SINGLE_THREAD_P): Use the correct width load.  Fold
1098         into the ldr offset.
1100         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1101         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1103 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1105         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1106         (libgcc_s_resume): Use __attribute_used__.
1107         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1108         Likewise.
1110 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1112         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1113         optimization when used with float constants.
1115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1117 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1119         [BZ #16915]
1120         * locale/nl_langinfo_l.c: Make direct reference to every
1121         _nl_current_CATEGORY symbol.
1122         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1123         (tests-static): Add tst-langinfo-static.
1124         (tests-special): Add tst-langinfo-static.out.
1125         ($(objpfx)tst-langinfo.out): Redirect output.
1126         ($(objpfx)tst-langinfo-static.out): New.
1127         * localedata/tst-langinfo.sh: Send output to stdout.
1128         * localedata/tst-langinfo-static.c: New file.
1130         [BZ #16965]
1131         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1132         when the shift amount is modulo the limb size.
1134 2014-05-20  Richard Henderson  <rth@redhat.com>
1136         [BZ #16967]
1137         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1138         Change type of sa_flags from unsigned int to int.
1140         [BZ #16966]
1141         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1143         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1145 2014-05-20  Will Newton  <will.newton@linaro.org>
1147         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1148         Test the return value of the system call in the nocancel case.
1150 2014-05-20  Will Newton  <will.newton@linaro.org>
1151             Yvan Roux  <yvan.roux@linaro.org>
1153         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1154         #include of asm/ptrace.h.
1155         (PTRACE_GET_THREAD_AREA): Remove #undef.
1156         (PTRACE_GETHBPREGS): Likewise.
1157         (PTRACE_SETHBPREGS): Likewise.
1158         (struct user_regs_struct): New structure.
1159         (struct user_fpsimd_struct): New structure.
1160         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1161         #include of asm/ptrace.h and second #include of sys/user.h.
1162         (PTRACE_GET_THREAD_AREA): Remove #undef.
1163         (PTRACE_GETHBPREGS): Likewise.
1164         (PTRACE_SETHBPREGS): Likewise.
1165         (ELF_NGREG): Use new struct user_regs_struct.
1166         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1168 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1171         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1173 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1175         [BZ #16958]
1176         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1177         membar to avoid block loads/stores to overlap previous stores.
1179 2014-05-17  Richard Henderson  <rth@redhat.com>
1181         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1182         Create the __##syscall_name##_nocancel entry point.
1183         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1184         Remove; let the sysdep-cancel.h code create it.
1186 2014-05-17  David S. Miller  <davem@davemloft.net>
1188         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1189         Protect with __USE_GNU.
1190         (TIOCSET_TEMPT): Likewise.
1191         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1192         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1193         these are already provided in bits/ioctl-types.h
1195 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1197         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1198         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1200         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1201         Use wait4 regardless of [__NR_waitpid].
1203 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1205         PR libgcc/60166
1206         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1207         (_FP_NANSIGN_Q): Set the quiet bit.
1209 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1211         * benchtests/Makefile
1212         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1213         not $(common-objpfx)math/libm.so.
1214         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1215         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1216         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1217         $(common-objpfx)dlfcn/libdl.so.
1218         ($(objpfx)tst-audit8): Depend on $(libm), not
1219         $(common-objpfx)math/libm.so.
1220         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1221         not $(common-objpfx)dlfcn/libdl.so.
1222         * math/Makefile
1223         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1224         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1225         [$(build-shared) = yes].
1226         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1227         $(common-objpfx)nptl/libpthread.so.
1228         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1229         $(common-objpfx)math/libm.so$(libm.so-version) or
1230         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1231         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1232         $(common-objpfx)dlfcn/libdl.so.
1233         * setjmp/Makefile (link-libm): Remove variable.
1234         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1235         * stdio-common/Makefile (link-libm): Remove variable.
1236         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1237         * stdlib/Makefile (link-libm): Remove variable.
1238         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1239         ($(objpfx)tst-strtod-round): Likewise.
1240         ($(objpfx)tst-tininess): Likewise.
1241         ($(objpfx)tst-strtod-underflow): Likewise.
1242         ($(objpfx)tst-strtod6): Likewise.
1243         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1244         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1245         $(common-objpfx)dlfcn/libdl.so.
1247 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1249         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1250         BSD terminal modes definitions.
1252 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1254         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1255         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1257         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1258         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1259         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1260         Don't do #include_next.
1261         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1262         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1263         Don't do #include_next.
1264         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1265         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1266         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1267         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1269 2014-05-16  Allan McRae  <allan@archlinux.org>
1271         * po/sv.po: Update Swedish translation from translation project.
1273         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1274         in sed expression.
1276 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1278         [BZ #16917]
1279         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1280         errno if the TIOCGPTN ioctl fails with an error different than
1281         EINVAL.
1282         * login/tst-ptsname.c: New file.
1283         * login/Makefile (tests): Add tst-ptsname.
1285         [BZ #16943]
1286         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1287         and prlimit64.
1289 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1291         [BZ #16849]
1292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1293         herrno to return EAI_AGAIN.
1295 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1297         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1298         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1299         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1300         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1301         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1302         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1303         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1304         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1305         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1306         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1307         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1308         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1309         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1310         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1311         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1312         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1313         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1314         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1315         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1316         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1317         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1318         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1319         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1320         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1321         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1322         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1323         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1324         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1325         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1326         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1328         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1330         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1332         Moved ...
1333         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1335         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1337         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1339         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1341         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1343         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1345         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1347         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1349         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1351         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1353         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1355         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1357         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1359         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1361         Moved ...
1362         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1364         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1366         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1368         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1370         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1372         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1374         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1376         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1378         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1380         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1382         Moved ...
1383         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1385         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1387         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1388         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1389         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1390         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1391         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1392         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1393         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1394         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1395         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1396         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1397         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1398         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1399         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1400         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1401         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1402         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1403         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1404         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1405         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1406         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1407         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1408         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1409         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1410         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1411         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1412         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1413         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1414         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1415         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1416         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1417         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1419         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1420         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1422         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1423         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1424         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1425         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1426         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1428         Moved ...
1429         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1430         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1431         Moved ...
1432         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1433         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1434         Moved ...
1435         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1436         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1437         Moved ...
1438         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1439         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1440         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1442         Moved ...
1443         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1444         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1445         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1447         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1448         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1449         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1450         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1451         Moved ...
1452         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1453         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1454         Moved ...
1455         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1456         ... here.
1457         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1458         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1459         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1460         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1461         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1462         Moved ...
1463         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1464         ... here.
1465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1466         Moved ...
1467         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1468         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1469         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1470         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1471         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1473         Moved ...
1474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1475         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1476         Moved ...
1477         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1478         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1479         Moved ...
1480         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1481         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1482         Moved ...
1483         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1484         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1485         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1487         Moved ...
1488         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1489         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1490         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1492         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1493         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1494         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1495         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1496         Moved ...
1497         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1498         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1499         Moved ...
1500         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1501         ... here.
1502         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1503         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1504         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1505         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1506         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1507         Moved ...
1508         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1509         ... here.
1510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1511         Moved ...
1512         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1513         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1514         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1515         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1516         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1517         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1518         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1519         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1520         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1521         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1522         Moved ...
1523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1525         Moved ...
1526         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1527         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1528         Moved ...
1529         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1531         Moved ...
1532         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1533         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1534         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1535         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1536         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1537         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1538         Moved ...
1539         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1540         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1541         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1543         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1544         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1545         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1546         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1547         Moved ...
1548         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1549         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1550         Moved ...
1551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1552         ... here.
1553         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1554         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1555         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1556         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1557         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1558         Moved ...
1559         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1560         ... here.
1561         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1562         Moved ...
1563         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1564         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1565         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1566         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1567         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1568         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1569         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1570         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1571         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1572         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1573         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1575         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1576         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1578         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1579         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1581         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1582         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1583         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1584         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1585         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1586         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1587         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1588         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1589         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1590         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1591         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1592         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1594         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1595         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1597         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1599         Moved ...
1600         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1604         Moved ...
1605         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1609         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1611         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1613         Moved ...
1614         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1616         Moved ...
1617         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1618         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1619         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1621         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1623         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1624         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1625         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1626         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1627         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1628         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1629         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1630         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1631         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1632         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1633         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1635         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1636         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1637         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1638         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1639         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1641         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1642         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1643         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1644         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1645         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1646         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1647         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1648         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1649         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1650         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1653         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1655         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1656         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1657         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1658         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1659         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1660         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1661         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1662         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1663         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1664         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1665         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1666         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1667         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1668         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1670         Update #include.
1671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1672         Likewise.
1673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1674         Likewise.
1675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1676         Likewise.
1677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1678         Likewise.
1679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1680         Likewise.
1681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1682         Likewise.
1683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1684         Likewise.
1685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1686         Likewise.
1687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1688         Likewise.
1689         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1695         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1696         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1697         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1698         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1699         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1700         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1701         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1702         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1703         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
1705         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1706         that was previously under [RESET_PID].
1707         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1708         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1709         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1711         * sysdeps/i386/nptl/Implies: New file.
1712         * sysdeps/x86_64/nptl/Implies: New file.
1713         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1714         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1715         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1716         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1718         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1719         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1720         (__libc_vfork): New strong alias.
1721         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1722         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1724         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1725         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1726         (__libc_vfork): New strong alias.
1727         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1728         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1730         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1731         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1732         (__libc_vfork): New strong alias.
1733         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1734         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1735         * nptl/pt-vfork.c: New file.
1736         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1737         (libpthread: GLIBC_2.20): New version set (empty).
1739 2014-05-14  Will Newton  <will.newton@linaro.org>
1741         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1742         rather than #if.
1744 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1746         [BZ #16564]
1747         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1748         arguments with exponent 65 or above.
1749         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1750         arguments 0x1p113L or above.
1751         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1752         to arguments 0x1p107L or above.
1753         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1754         positive arguments with exponent 65 or above.
1755         * math/auto-libm-test-in: Add more tests of log1p.
1756         * math/auto-libm-test-out: Regenerated.
1758         [BZ #16928]
1759         * math/s_cacos.c (__cacos): Ensure zero real part of result from
1760         non-finite arguments is +0.
1761         * math/s_cacosf.c (__cacosf): Likewise.
1762         * math/s_cacosl.c (__cacosl): Likewise.
1763         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1764         * sysdeps/i386/fpu/libm-test-ulps: Update.
1765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1767         [BZ #16927]
1768         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1769         value.
1770         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1771         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1772         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1773         for explicit high bit of mantissa when testing for argument equal
1774         to 1.
1775         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1776         * sysdeps/i386/fpu/libm-test-ulps: Update.
1777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1779         [BZ #16516]
1780         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1781         (__erf): Scale by 16 instead of 8 in potentially underflowing
1782         case.  Ensure exception if result actually underflows.
1783         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1784         (__erff): Scale by 16 instead of 8 in potentially underflowing
1785         case.  Ensure exception if result actually underflows.
1786         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1787         (efx8): Remove variable.
1788         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1789         case.  Ensure exception if result actually underflows.
1790         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1791         (efx8): Remove variable.
1792         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1793         case.  Ensure exception if result actually underflows.
1794         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1795         (efx8): Remove variable.
1796         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1797         case.  Ensure exception if result actually underflows.
1798         * math/auto-libm-test-in: Add more tests of erf.
1799         * math/auto-libm-test-out: Regenerated.
1801 2014-05-14  Andreas Schwab  <schwab@suse.de>
1803         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1804         Remove code conditionalized on USE___THREAD.
1806         * config.h.in (HAVE_PT_CHOWN): Define as 0.
1807         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1808         not definedness.
1810 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1813         Define unconditionally.
1814         (__ASSUME_O_CLOEXEC): Likewise.
1815         (__ASSUME_SOCK_CLOEXEC): Likewise.
1816         (__ASSUME_IN_NONBLOCK): Likewise.
1817         (__ASSUME_PIPE2): Likewise.
1818         (__ASSUME_EVENTFD2): Likewise.
1819         (__ASSUME_SIGNALFD4): Likewise.
1820         (__ASSUME_DUP3): Likewise.
1821         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1822         (__ASSUME_DUP3): Do not define.
1823         (__ASSUME_EVENTFD2): Likewise.
1824         (__ASSUME_IN_NONBLOCK): Likewise.
1825         (__ASSUME_O_CLOEXEC): Likewise.
1826         (__ASSUME_PIPE2): Likewise.
1827         (__ASSUME_SIGNALFD4): Likewise.
1828         (__ASSUME_SOCK_CLOEXEC): Likewise.
1829         (__ASSUME_UTIMES): Undefine.
1830         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1831         (__ASSUME_UTIMES): Do not define.
1832         (__ASSUME_O_CLOEXEC): Likewise.
1833         (__ASSUME_SOCK_CLOEXEC): Likewise.
1834         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1835         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1836         0x020621].
1837         (__ASSUME_PIPE2): Likewise.
1838         (__ASSUME_EVENTFD2): Likewise.
1839         (__ASSUME_SIGNALFD4): Likewise.
1840         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1841         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1842         Do not define.
1843         (__ASSUME_EVENTFD2): Likewise.
1844         (__ASSUME_SIGNALFD4): Likewise.
1845         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1846         (__ASSUME_32BITUIDS): Likewise.
1847         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1848         (__ASSUME_IPC64): Likewise.
1849         (__ASSUME_ST_INO_64_BIT): Likewise.
1850         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1851         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1852         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1853         (__ASSUME_UTIMES): Do not define.
1854         (__ASSUME_PSELECT): Likewise.
1855         (__ASSUME_PPOLL): Likewise.
1856         (__ASSUME_O_CLOEXEC): Likewise.
1857         (__ASSUME_SOCK_CLOEXEC): Likewise.
1858         (__ASSUME_IN_NONBLOCK): Likewise.
1859         (__ASSUME_PIPE2): Likewise.
1860         (__ASSUME_EVENTFD2): Likewise.
1861         (__ASSUME_SIGNALFD4): Likewise.
1862         (__ASSUME_DUP3): Likewise.
1863         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1864         (__ASSUME_UTIMES): Likewise.
1865         (__ASSUME_O_CLOEXEC): Likewise.
1866         (__ASSUME_SOCK_CLOEXEC): Likewise.
1867         (__ASSUME_IN_NONBLOCK): Likewise.
1868         (__ASSUME_PIPE2): Likewise.
1869         (__ASSUME_EVENTFD2): Likewise.
1870         (__ASSUME_SIGNALFD4): Likewise.
1871         (__ASSUME_DUP3): Likewise.
1872         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1873         (__ASSUME_UTIMES): Likewise.
1874         (__ASSUME_O_CLOEXEC): Likewise.
1875         (__ASSUME_SOCK_CLOEXEC): Likewise.
1876         (__ASSUME_IN_NONBLOCK): Likewise.
1877         (__ASSUME_PIPE2): Likewise.
1878         (__ASSUME_EVENTFD2): Likewise.
1879         (__ASSUME_SIGNALFD4): Likewise.
1880         (__ASSUME_DUP3): Likewise.
1881         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1882         Likewise.
1883         (__ASSUME_UTIMES): Likewise.
1884         (__ASSUME_EVENTFD2): Likewise.
1885         (__ASSUME_SIGNALFD4): Likewise.
1886         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1887         (__ASSUME_O_CLOEXEC): Likewise.
1888         (__ASSUME_SOCK_CLOEXEC): Likewise.
1889         (__ASSUME_IN_NONBLOCK): Likewise.
1890         (__ASSUME_PIPE2): Likewise.
1891         (__ASSUME_EVENTFD2): Likewise.
1892         (__ASSUME_SIGNALFD4): Likewise.
1893         (__ASSUME_DUP3): Likewise.
1894         (__ASSUME_UTIMES): Undefine.
1896         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1897         feclearexcept.  Remove symbol versioning code.
1898         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
1899         symbol versioning code.
1900         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
1901         symbol versioning code.
1902         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1903         feupdateenv.  Remove symbol versioning code.
1904         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1905         fegetexceptflag.  Remove symbol versioning code.
1906         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1907         fesetexceptflag.  Remove symbol versioning code.
1908         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1909         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
1910         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1911         (__posix_fadvise64_l32): Remove prototype.
1912         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1913         code.
1915 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1917         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1918         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1919         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1920         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1922 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1924         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1925         current working directory
1927 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1929         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1930         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1931         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1932         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1933         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1934         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1935         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1936         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1937         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1938         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1939         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1940         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1942         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1944         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1948         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1949         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1950         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1951         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1952         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1953         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1954         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1962         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1963         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1964         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1965         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1966         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1967         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1968         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1969         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1970         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1972         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1973         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1975         * sysdeps/unix/sysv/linux/arm/Makefile
1976         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1977         Add rt-aeabi_unwind_cpp_pr1.
1978         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1979         Add nptl-aeabi_unwind_cpp_pr1.
1980         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1981         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1982         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1983         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1984         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1985         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1987         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1988         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1989         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1990         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1992         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1993         Deconditionalize the code that was previously under [RESET_PID].
1994         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1996         * sysdeps/generic/exit-thread.h: New file.
1997         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1998         * include/unistd.h (__exit_thread): Remove declaration.
1999         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2000         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2001         * csu/libc-start.c: Include <exit-thread.h>.
2002         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2003         * nptl/pthread_create.c: Include <exit-thread.h>.
2004         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2005         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2006         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2007         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2008         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2009         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2010         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2011         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2012         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2013         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2014         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2015         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2016         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2017         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2018         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2019         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2020         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2022 2014-05-13  Andreas Schwab  <schwab@suse.de>
2024         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2026 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2028         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2029         (__ASSUME_UTIMES): Do not condition on kernel version.
2030         (__ASSUME_PSELECT): Define unconditionally.
2031         (__ASSUME_PPOLL): Likewise.
2032         (__ASSUME_ATFCTS): Likewise.
2033         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2034         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2035         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2036         (__ASSUME_UTIMENSAT): Define unconditionally.
2037         (__ASSUME_PRIVATE_FUTEX): Likewise.
2038         (__ASSUME_FALLOCATE): Likewise.
2039         (__ASSUME_O_CLOEXEC): Likewise.
2040         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2041         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2042         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2043         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2044         (__ASSUME_IN_NONBLOCK): Likewise.
2045         (__ASSUME_PIPE2): Likewise.
2046         (__ASSUME_EVENTFD2): Likewise.
2047         (__ASSUME_SIGNALFD4): Likewise.
2048         (__ASSUME_DUP3): Likewise.
2049         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2050         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2051         (__ASSUME_AT_RANDOM): Likewise.
2052         (__ASSUME_PREADV): Likewise.
2053         (__ASSUME_PWRITEV): Likewise.
2054         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2055         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2056         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2057         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2058         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2059         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2060         (__ASSUME_O_CLOEXEC): Define unconditionally.
2061         (__ASSUME_PSELECT): Do not undefine conditionally.
2062         (__ASSUME_PPOLL): Likewise.
2063         (__ASSUME_ATFCTS): Likewise.
2064         (__ASSUME_SET_ROBUST_LIST): Likewise.
2065         (__ASSUME_UTIMENSAT): Likewise.
2066         (__ASSUME_FDATASYNC): Define unconditionally.
2067         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2068         (__ASSUME_SIGFRAME_V2): Likewise.
2069         )__ASSUME_EVENTFD2): Likewise.
2070         (__ASSUME_SIGNALFD4): Likewise.
2071         (__ASSUME_PSELECT): Do not undefine conditionally.
2072         (__ASSUME_PPOLL): Likewise.
2073         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2074         (__ASSUME_PSELECT): Define unconditionally.
2075         (__ASSUME_PPOLL): Likewise.
2076         (__ASSUME_O_CLOEXEC): Likewise.
2077         (__ASSUME_SOCK_CLOEXEC): Likewise.
2078         (__ASSUME_IN_NONBLOCK): Likewise.
2079         (__ASSUME_PIPE2): Likewise.
2080         (__ASSUME_EVENTFD2): Likewise.
2081         (__ASSUME_SIGNALFD4): Likewise.
2082         (__ASSUME_DUP3): Likewise.
2083         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2084         (__ASSUME_O_CLOEXEC): Likewise.
2085         (__ASSUME_SOCK_CLOEXEC): Likewise.
2086         (__ASSUME_IN_NONBLOCK): Likewise.
2087         (__ASSUME_PIPE2): Likewise.
2088         (__ASSUME_EVENTFD2): Likewise.
2089         (__ASSUME_SIGNALFD4): Likewise.
2090         (__ASSUME_DUP3): Likewise.
2091         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2092         (__ASSUME_EVENTFD2): Likewise.
2093         (__ASSUME_SIGNALFD4): Likewise.
2094         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2096 2014-05-12  Andreas Schwab  <schwab@suse.de>
2098         [BZ #16932]
2099         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2100         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2101         than maximum RPC packet size.
2102         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2103         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2104         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2105         (_nss_nis_getservbyport_r): Likewise.
2107 2014-05-12  Will Newton  <will.newton@linaro.org>
2109         * malloc/Makefile (tests): Add tst-mallopt.
2110         * malloc/tst-mallopt.c: New file.
2112 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2114         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2115         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2117 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2119         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2120         (tst-tlsmod6.so): Likewise.
2122 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2124         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2126 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2128         [BZ #16064]
2129         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2130         and <dl-procinfo.h>.
2131         (__fegetenv): Save SSE state in envp->__eip if supported.
2132         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2133         envp->__eip if supported.
2134         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2135         and <dl-procinfo.h>.
2136         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2137         __data_offset and __data_selector in environment to 0.  Set SSE
2138         state if supported.
2139         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2140         test-fenv-sse.
2141         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2142         -mfpmath=sse.
2143         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2145 2014-05-09  Will Newton  <will.newton@linaro.org>
2147         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2148         and libc_relro_required for ARM.
2149         * sysdeps/arm/preconfigure: Regenerate.
2151 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2152             Stefan Liebler  <stli@linux.vnet.ibm.com>
2154         * config.make.in (enable-lock-elision): New Makefile variable.
2155         * configure.ac: Likewise.
2156         * configure: Regenerate.
2157         * sysdeps/s390/configure.ac:
2158         Add check for gcc transactions support.
2159         * sysdeps/s390/configure: Regenerate.
2160         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2161         Build elision files if enabled.
2162         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2163         Add lock elision support for s390.
2164         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2165         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2166         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2167         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2168         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2169         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2171         Likewise.
2172         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2173         Likewise.
2174         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2175         Likewise.
2176         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2177         Likewise.
2178         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2179         (__lll_timedlock_elision, __lll_lock_elision)
2180         (__lll_unlock_elision, __lll_trylock_elision)
2181         (lll_timedlock_elision, lll_lock_elision)
2182         (lll_unlock_elision, lll_trylock_elision): Add.
2183         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2184         (pthread_mutex_t): Add lock elision support for s390.
2186 2014-05-14  Wilco  <wdijkstr@arm.com>
2188         * sysdeps/arm/fclrexcpt.c: Cleanup.
2189         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2190         * sysdeps/arm/feenablxcpt.c: Cleanup.
2191         * sysdeps/arm/fegetenv.c: Cleanup.
2192         * sysdeps/arm/fegetexcept.c: Cleanup.
2193         * sysdeps/arm/fegetround.c: Cleanup.
2194         * sysdeps/arm/feholdexcpt.c: Cleanup.
2195         * sysdeps/arm/fesetenv.c: Cleanup.
2196         * sysdeps/arm/fesetround.c: Cleanup.
2197         * sysdeps/arm/feupdateenv.c: Cleanup.
2198         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2199         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2200         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2201         * sysdeps/arm/ftestexcept.c: Cleanup.
2202         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2203         * sysdeps/arm/setfpucw.c: Cleanup.
2205 2014-05-09  Will Newton  <will.newton@linaro.org>
2207         * sysdeps/arm/armv7/strcmp.S: New file.
2208         * NEWS: Mention addition of ARMv7 optimized strcmp.
2210 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2212         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2213         look for %.ac rather than %.in.
2215         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2216         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2217         * sysdeps/mach/hurd/configure: Regenerated.
2218         * sysdeps/unix/sysv/linux/configure: Regenerated.
2220         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2222 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2224         [BZ# 16922]
2225         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2226         (LONG_SUB): Ditto.
2227         (PTR_SUB): Ditto.
2229 2014-05-07  Andreas Schwab  <schwab@suse.de>
2231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2232         when skipping over non-matching result from nscd.
2234 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2236         [BZ #16876]
2237         * nptl/sockperf.c (client): Check socket return value.
2239         [BZ #16877]
2240         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2241         nscd security class.
2243 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2245         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2246         * sysdeps/arm/unwind.h: ... here.
2248 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2250         [BZ# 16916]
2251         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2252         Define.
2254 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2256         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2257         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2258         multiarch strncpy for PPC64.
2259         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2260         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2262         multiarch optimizations.
2263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2264         (__libc_ifunc_impl_list): Likewise.
2265         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2266         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2267         multiarch stpncpy for PPC64.
2268         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2269         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2271 2014-05-06  Andreas Schwab  <schwab@suse.de>
2273         [BZ #16912]
2274         * gmon/mcount.c (_MCOUNT_DECL): Use
2275         atomic_compare_and_exchange_bool_acq instead of
2276         catomic_compare_and_exchange_bool_acq.
2278 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2280         * elf/Makefile (others, install-bin): Remove pldd.
2281         (pldd-modules): Variable removed.
2282         ($(objpfx)pldd): Target removed.
2283         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2284         (others, install-bin): Append pldd here.
2285         ($(objpfx)pldd): New target.
2287         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2288         to 0, so the first #if test emitted later doesn't see it undefined.
2289         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2290         * sysdeps/gnu/errlist.c: Regenerated.
2292 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2294         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2295         [libc_hidden_builtin_def]: Define to empty value.
2296         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2297         [libc_hidden_builtin_def]: Likewise.
2298         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2299         [libc_hidden_builtin_def]: Likewise.
2300         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2301         [libc_hidden_builtin_def]: Likewise.
2302         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2303         __redirect_memcpy and define ifunc as default hidden symbol.
2304         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2305         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2307 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2309         * locale/iso-4217.def: Reintroduce XDR currency.
2311 2014-05-04  Allan McRae  <allan@archlinux.org>
2313         * po/eo.po: Update Esperanto translation from translation project.
2315 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2317         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2318         and FEATURE_INDEX_MAX to 1.
2319         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2321 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2323         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2324         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2325         * iconvdata/big5.c (ONE_DIRECTION): Define.
2326         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2327         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2328         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2329         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2330         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2331         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2332         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2333         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2334         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2335         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2336         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2337         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2338         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2339         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2340         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2341         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2342         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2343         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2344         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2345         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2346         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2347         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2348         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2349         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2350         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2351         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2352         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2353         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2354         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2355         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2356         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2357         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2358         * iconvdata/johab.c (ONE_DIRECTION): Define.
2359         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2360         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2361         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2362         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2363         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2364         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2365         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2366         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2367         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2368         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2370 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2372         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2373         (_IO_JUMPS_OFFSET): Define to 0.
2375         * nptl/sysdeps/pthread/bits/libc-lock.h
2376         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2377         (__libc_lock_define_initialized_recursive): Always define using
2378         initializer.  Modern compilers treat uninitialized (implicit zero) and
2379         explicit zero initializers the same (i.e. put the datum in bss).
2381 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2383         * nscd/nscd-client.h: Include <string.h>.
2385 2014-05-01  David S. Miller  <davem@davemloft.net>
2387         [BZ #16885]
2388         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2389         multiple zero bytes exist at the end of a string.
2390         Reported by Aurelien Jarno <aurelien@aurel32.net>
2392         * string/test-strcmp.c (check): Add explicit test for situations where
2393         there are multiple zero bytes after the first.
2395 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2397         [BZ #16890]
2398         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2399         when compiling wprintf.
2400         * stdio-common/tstdiomisc.c (t3): New function.
2401         (main): Call it.
2403 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2405         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2406         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2407         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2408         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2410 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2412         * stdlib/longlong.h: Updated from GCC.
2414 2014-05-01  Will Newton  <will.newton@linaro.org>
2415             Bernard Ogden  <bernie.ogden@linaro.org>
2417         * NEWS: Update fixed bug list.
2419         [BZ #15119]
2420         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2422 2014-04-30  David S. Miller  <davem@davemloft.net>
2424         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2425         (libc_feholdexcept_setround_sparc_ctx): New function.
2426         (libc_fesetenv_sparc_ctx): Likewise.
2427         (libc_feupdateenv_sparc_ctx): Likewise.
2428         (libc_feholdsetround_sparc_ctx): Likewise.
2429         (libc_feholdexcept_setround_ctx): Define.
2430         (libc_feholdexcept_setroundf_ctx): Likewise.
2431         (libc_feholdexcept_setroundl_ctx): Likewise.
2432         (libc_fesetenv_ctx): Likewise.
2433         (libc_fesetenvf_ctx): Likewise.
2434         (libc_fesetenvl_ctx): Likewise.
2435         (libc_feupdateenv_ctx): Likewise.
2436         (libc_feupdateenvf_ctx): Likewise.
2437         (libc_feupdateenvl_ctx): Likewise.
2438         (libc_feresetround_ctx): Likewise.
2439         (libc_feresetroundf_ctx): Likewise.
2440         (libc_feresetroundl_ctx): Likewise.
2441         (libc_feholdsetround_ctx): Likewise.
2442         (libc_feholdsetroundf_ctx): Likewise.
2443         (libc_feholdsetroundl_ctx): Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2446         with __USE_GNU instead of XOPEN cpp guards.
2448         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2449         0.
2451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2452         with XOPEN cpp guards.
2454 2014-04-30  Julian Brown  <julian@codesourcery.com>
2456         [BZ #16888]
2457         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2458         handling.
2460 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
2462         [BZ #9894]
2463         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2464         Change to 2.6.32.
2465         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2466         * sysdeps/unix/sysv/linux/configure: Regenerated.
2467         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2468         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2469         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2470         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2471         * README: Update reference to required Linux kernel version.
2472         * manual/install.texi (Linux): Update reference to required Linux
2473         kernel headers version.
2474         * INSTALL: Regenerated.
2476         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2477         header inclusion.
2478         [POSIX] (limits.h): Likewise.
2479         [POSIX] (math.h): Likewise.
2480         [POSIX] (sys/wait.h): Likewise.
2481         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2482         function.
2483         [POSIX] (stddef.h): Do not allow header inclusion.
2485 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2487         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2489 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
2491         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2492         Return immediately after lll_futex_wake.
2494 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2496         [BZ #16791]
2497         * nscd/nscd-client.h (datahead_init_common): Initialize entire
2498         structure.
2499         (datahead_init_pos): Call datahead_init_common early.
2500         (datahead_init_neg): Likewise.
2502         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2503         datahead_init_neg): New functions.
2504         * nscd/aicache.c (addhstaiX): Use them.
2505         * nscd/grpcache.c (cache_addgr): Likewise.
2506         * nscd/hstcache.c (cache_addhst): Likewise.
2507         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2508         * nscd/netgroupcache.c (do_notfound): Likewise.
2509         (addgetnetgrentX): Likewise.
2510         (addinnetgrX): Likewise.
2511         * nscd/pwdcache.c (cache_addpw): Likewise.
2512         * nscd/servicescache.c (cache_addserv): Likewise.
2514 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2515             Atsushi Onoe  <atsushi@onoe.org>
2517         [BZ #14308]
2518         [BZ #12994]
2519         [BZ #13651]
2520         * resolv/res_query.c (__libc_res_nsearch): Return if at least
2521         one response is valid.
2522         * resolv/res_send.c (send_dg): Check for validity of other
2523         response if the current response is a referral.
2525 2014-04-29  Steve Ellcey  <sellcey@mips.com>
2527         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2529 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
2531         [BZ #16823]
2532         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2533         Always divide by positive zero when computing -Inf result.
2534         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2535         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2537 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2539         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2540         FPSCR if value do not change.
2541         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2542         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2543         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2544         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2545         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2546         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2547         function.
2549 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
2551         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2552         * sysdeps/unix/sysv/linux/hppa: Move directory from
2553         ports/systeps/unix/sysv/linux/hppa.
2554         * README: Update listing for hppa-*-linux-gnu.
2556 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
2558         [BZ #16754]
2559         * manual/stdio.texi (Hook functions): Fix types of stream hook
2560         functions.
2561         [BZ #16854]
2562         * socket/sys/socket.h: Fix typo in comment.
2564 2014-04-28  Wilco  <wdijkstr@arm.com>
2566         * sysdeps/arm/fenv_private.h: New file.
2567         * sysdeps/arm/math_private.h: New file.
2568         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2570 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
2572         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2573         with __int128_t.
2574         (La_x86_64_retval): Likewise.
2576 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
2578         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2579         fpsr if value didn't change.
2580         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2581         to fpcr if value didn't change.
2582         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2583         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2584         fpsr or fpcr if value didn't change.
2585         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2586         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2587         fpcr if value didn't change.
2588         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2589         to fpsr if value didn't change.
2591 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2593         * nptl/tst-sem3.c: Use test-skeleton.c
2594         (main): Rename to do_test.  Use return instead of
2595         exit.
2596         * nptl/tst-sem4.c: Use test-skeleton.c
2597         (main): Rename to do_test.
2599 2014-04-22  David S. Miller  <davem@davemloft.net>
2601         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2602         (struct sigaction): New struct member __glibc_reserved0, change
2603         type of sa_flags to int.
2605 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2607         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2608         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2610 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2612         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2613         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2615 2014-04-22  Will Newton  <will.newton@linaro.org>
2616             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2618         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2619         (__longjmp): Add longjmp and longjmp_target SystemTap
2620         probes.
2621         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2622         (__sigsetjmp): Add setjmp SystemTap probe.
2624 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2626         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2627         match manual order.
2629 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2631         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2633         * sysdeps/powerpc/fpu/fenv_private.h
2634         (libc_feholdexcept_setroundl_ctx): Define to
2635         libc_feholdexcept_setround_ppc_ctx.
2636         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2637         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2638         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2639         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2641 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2643         * sysdeps/aarch64/math-tests.h: New file.
2645 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2647         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2648         New.
2649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2650         Check and set bit_AVX2_Usable.
2651         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2652         macro.
2653         (bit_AVX2): Likewise.
2654         (index_AVX2_Usable): Likewise.
2655         (CPUID_AVX2): Likewise.
2656         (HAS_AVX2): Likewise.
2658 2014-04-17  Will Newton  <will.newton@linaro.org>
2660         * manual/setjmp.texi (System V contexts): Add note that
2661         calling setcontext on a context created by a call to a
2662         signal handler is undefined.  Update text to note that
2663         setcontext from a signal handler is possible but not
2664         recommended.
2666         [BZ #16629]
2667         * stdlib/tst-setcontext.c: Include signal.h.
2668         (main): Check that the signal stack before and
2669         after swapcontext is the same.
2671         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2672         Re-implement to restore registers in user code and avoid
2673         rt_sigreturn system call.
2675 2014-04-17  Wilco  <wdijkstr@arm.com>
2677         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2678         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2679         * math/test-fenv.c: Skip exception trap tests on targets which only
2680         support non-stop mode.
2682 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2683             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2685         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2686         (libc_feholdsetround_aarch64_ctx)
2687         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2688         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2689         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2690         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2691         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2692         (libc_feresetround_noexl_ctx): Define.
2694 2014-04-16  Richard Henderson  <rth@redhat.com>
2696         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2698         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2699         unwind tables.
2701         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2702         const from the non-libc, non-ldso copy.
2704         * sysdeps/alpha/libm-test-ulps: Regenerate.
2706 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
2707             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2709         * sysdeps/aarch64/fpu/math_private.h: New file.
2711 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2713         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2715 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
2717         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2718         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2719         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2720         Intel MPX bound registers before _dl_profile_fixup.
2721         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2722         registers after _dl_profile_fixup.  Save and restore bound
2723         registers bnd0/bnd1 when calling _dl_call_pltexit.
2724         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2725         (LR_BND_OFFSET): Likewise.
2726         (LRV_BND0_OFFSET): Likewise.
2727         (LRV_BND1_OFFSET): Likewise.
2729 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2731         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2732         to...
2733         * sysdeps/mach/hurd/i386/tls.h: ... here.
2734         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2735         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2736         fields.
2738 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2740         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2742 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2744         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2746 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2748         [BZ #14770]
2749         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2750         * sysdeps/s390/configure: Regenerate.
2752         [BZ #16824]
2753         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2754         Set round-to-nearest internally to reduce error accumulation.
2756 2014-04-16  Alan Modra  <amodra@gmail.com>
2758         [BZ #16740]
2759         [BZ #16619]
2760         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2761         * math/libm-test.inc (frexp_test_data): Add tests.
2762         * NEWS: Update fixed bug list.
2764 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2766         * benchtests/Makefile: Depend on libraries in build directory.
2767         (bench-math): Separate out math tests.
2768         (bench-pthread): Separate out pthread tests.
2769         (bench): Include math and pthread tests.
2771 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
2773         [BZ #16831]
2774         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2775         _dl_debug_initialize.
2777         * configure.ac: Remove SELinux header check.
2778         * configure: Regenerate.
2779         * nscd/selinux.c (perms): Array of const char* to permission names.
2780         (nscd_request_avc_has_perm): Call security_deny_unknown to find
2781         default policy. Call string_to_security_class and string_to_av_perm to
2782         translate strings. Enforce default policy and call avs_has_perm with
2783         results of translated strings.
2785 2014-04-13  David S. Miller  <davem@davemloft.net>
2787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2789 2014-04-12  Allan McRae  <allan@archlinux.org>
2791         [BZ #16838]
2792         * manual/string.texi (Collation Functions): Fix qsort argument
2793         order in example.
2794         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2796 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
2798         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2799         Make the test a no-op if there are no exceptions defined.
2801 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2803         * elf/Makefile (tests): make tst-dlopen-aout conditional on
2804         enable-hardcoded-path-in-tests
2806 2014-04-11  Will Newton  <will.newton@linaro.org>
2808         * benchtests/Makefile (extra-objs): Add json-lib.o.
2809         (bench-func): Tidy up JSON output.
2810         * benchtests/bench-skeleton.c: Include json-lib.h.
2811         (main): Use JSON library functions to do output of
2812         benchmark results.
2813         * benchtests/bench-timing-type.c (main): Output the
2814         timing type simply, leaving formatting to the user.
2815         * benchtests/json-lib.c: New file.
2816         * benchtests/json-lib.h: Likewise.
2818 2014-04-11  Torvald Riegel  <triegel@redhat.com>
2820         [BZ #15215]
2821         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2822         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
2823         memory barriers.  Add comments.
2824         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2825         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2826         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2827         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2828         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2829         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2831 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2833         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2834         * sysdeps/s390/s390-64/configure.ac: ... this ...
2835         * sysdeps/s390/configure.ac: ... to here.
2836         * sysdeps/s390/s390-32/configure: Delete file.
2837         * sysdeps/s390/s390-64/configure: Delete file.
2838         * sysdeps/s390/configure: Regenerate.
2840 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
2842         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2844 2014-04-11  Will Newton  <will.newton@linaro.org>
2846         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2847         to zero if it is not defined elsewhere.  (mtrim): Test
2848         the value of MALLOC_DEBUG with #if rather than #ifdef.
2850 2014-04-10 Torvald Riegel  <triegel@redhat.com>
2852         * benchtests/pthread_once-inputs: New file.
2853         * benchtests/pthread_once-source.c: New file.
2854         * benchtests/README: Update documentation.
2856 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2857             H.J. Lu  <hongjiu.lu@intel.com>
2859         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2860         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2861         * sysdeps/x86_64/configure: Regenerated.
2862         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2863         macro.
2864         (REGISTER_SAVE_RAX): Likewise.
2865         (REGISTER_SAVE_RCX): Likewise.
2866         (REGISTER_SAVE_RDX): Likewise.
2867         (REGISTER_SAVE_RSI): Likewise.
2868         (REGISTER_SAVE_RDI): Likewise.
2869         (REGISTER_SAVE_R8): Likewise.
2870         (REGISTER_SAVE_R9): Likewise.
2871         (REGISTER_SAVE_BND0): Likewise.
2872         (REGISTER_SAVE_BND1): Likewise.
2873         (REGISTER_SAVE_BND2): Likewise.
2874         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
2875         bound registers when calling _dl_fixup.
2877 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2879         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2880         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2881         of its definition.
2882         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2883         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2884         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2885         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2886         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2887         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2888         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2890 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
2892         [BZ #15514]
2893         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2894         pathconf(_PC_NAME_MAX).
2896 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2898         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2899         Remove macro usage.
2900         (__PTHREAD_SPINS): Move definition to ...
2901         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2902         (__PTHREAD_SPINS): ... here.
2903         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2904         (__PTHREAD_SPIN): Likewise.
2905         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2906         (__PTHREAD_SPIN): Likewise.
2907         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2908         (__PTHREAD_SPIN): Likewise.
2909         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2910         (__PTHREAD_SPIN): Likewise.
2911         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2912         (__PTHREAD_SPIN): Likewise.
2913         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2914         (__PTHREAD_SPIN): Likewise.
2915         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2916         (__PTHREAD_SPIN): Likewise.
2917         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2918         (__PTHREAD_SPIN): Likewise.
2919         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2920         (__PTHREAD_SPIN): Likewise.
2921         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2922         (__PTHREAD_SPIN): Likewise.
2923         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2924         (__PTHREAD_SPIN): Likewise.
2925         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2926         (__PTHREAD_SPIN): Likewise.
2928         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2929         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2930         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2931         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2932         imply folder.
2933         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2934         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2935         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2936         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2937         correct imply path.
2938         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2939         strlen symbol for non multi-arch builds.
2940         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2941         missing hidden_def and weak_alias.
2943 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2945         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2947 2014-04-07  Will Newton  <will.newton@linaro.org>
2949         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2950         and contents.  [!_LIBC] Remove #ifndef and contents.
2951         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2952         * string/memccpy.c (__memccpy): Use ANSI prototype.
2953         * string/memfrob.c (memfrob): Likewise.
2954         * string/strcoll.c (STRCOLL): Likewise.
2955         * string/strlen.c (strlen): Likewise.
2956         * string/strtok.c (STRTOK): Likewise.
2957         * string/strcat.c: Remove unused #include of memcopy.h.
2958         (strcat): Use ANSI prototype.
2959         * string/strchr.c: Remove unused #include of memcopy.h.
2960         (strchr): Use ANSI prototype.
2961         * string/strcmp.c: Remove unused #include of memcopy.h.
2962         (strcmp): Use ANSI prototype.
2963         * string/strcpy.c: Remove unused #include of memcopy.h.
2964         (strcpy): Use ANSI prototype.
2966 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2968         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2969         * config.make.in (config-extra-cppflags): Set it from
2970         libc_extra_cppflags.
2971         * configure.ac (libc_extra_cflags): Make it accumulate over
2972         configure fragments.
2973         (libc_extra_cppflags): New flag.
2974         * configure. Regenerate.
2975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2976         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2977         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2980         [BZ #16815]
2981         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2982         result for FE_DOWNWARD rounding mode.
2983         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2984         Likewise.
2985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2987 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2989         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2990         in function argument name.
2992 2014-04-03  David Svoboda  <svoboda@cert.org>
2994         [BZ #5666]
2995         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2996         explicitly.
2998 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3000         * elf/dl-unmap-segments.h: New file.
3001         * sysdeps/generic/ldsodefs.h
3002         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3003         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3004         * elf/dl-fptr.c: Likewise.
3005         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3006         * sysdeps/aarch64/tlsdesc.c: Likewise.
3007         * sysdeps/arm/tlsdesc.c: Likewise.
3008         * sysdeps/i386/tlsdesc.c: Likewise.
3009         * sysdeps/tile/dl-runtime.c: Likewise.
3010         * sysdeps/x86_64/tlsdesc.c: Likewise.
3011         * elf/dl-load.h: New file.
3012         * elf/dl-load.c: Include it.
3013         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3014         Macros moved to dl-load.h.
3015         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3016         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3017         Use _dl_unmap_segments in place of __munmap.
3018         Break out segment-mapping loop into ...
3019         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3021 2014-04-03  Will Newton  <will.newton@linaro.org>
3023         * elf/dl-lookup.c (do_lookup_x): Remove comment
3024         referring to nested function and move variable
3025         declarations down to before first use.
3027 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3029         [BZ #16799]
3030         [BZ #16800]
3031         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3032         with 0 numerator.
3033         * math/s_catanf.c (__catanf): Likewise.
3034         * math/s_catanh.c (__catanh): Likewise.
3035         * math/s_catanhf.c (__catanhf): Likewise.
3036         * math/s_catanhl.c (__catanhl): Likewise.
3037         * math/s_catanl.c (__catanl): Likewise.
3038         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3039         by positive zero when computing -Inf result.
3040         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3041         (catanh_test): Likewise.
3042         * sysdeps/i386/fpu/libm-test-ulps: Update.
3043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3045         [BZ #16789]
3046         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3047         instead of using underflowing value in computing result.
3048         * math/s_clog10.c (__clog10): Likewise.
3049         * math/s_clog10f.c (__clog10f): Likewise.
3050         * math/s_clog10l.c (__clog10l): Likewise.
3051         * math/s_clogf.c (__clogf): Likewise.
3052         * math/s_clogl.c (__clogl): Likewise.
3053         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3054         (clog10_test): Likewise.
3055         * sysdeps/i386/fpu/libm-test-ulps: Update.
3056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3058 2014-04-02  Alan Modra  <amodra@gmail.com>
3060         [BZ #16739]
3061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3062         output when value is near a power of two.  Use int64_t for lx and
3063         remove casts.  Use decimal rather than hex exponent constants.
3064         Don't use long double multiplication when double will suffice.
3065         * math/libm-test.inc (nextafter_test_data): Add tests.
3066         * NEWS: Add 16739 and 16786 to bug list.
3068         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3070         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3072 2014-04-01  Will Newton  <will.newton@linaro.org>
3074         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3075         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3077 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3079         [BZ #13347]
3080         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3081         * nptl/tst-setuid2.c: New file.
3082         * nptl/Makefile (xtests): Add tst-setuid2.
3084 2014-04-01  Alan Modra  <amodra@gmail.com>
3086         [BZ #16786]
3087         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3089 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3091         [BZ #6803]
3092         [BZ #6804]
3093         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3094         set errno as appropriate.
3095         * math/w_scalbf.c (__scalbf): Likewise.
3096         * math/w_scalbl.c (__scalbl): Likewise.
3097         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3098         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3099         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3100         Add more NaN tests.
3102         [BZ #16349]
3103         * math/w_atan2.c: Include <errno.h>.
3104         (__atan2): Set errno for result underflowing to zero.
3105         * math/w_atan2f.c: Include <errno.h>.
3106         (__atan2f): Set errno for result underflowing to zero.
3107         * math/w_atan2l.c: Include <errno.h>.
3108         (__atan2l): Set errno for result underflowing to zero.
3109         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3110         tests.
3111         * math/auto-libm-test-out: Regenerated.
3113 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3115         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3116         Encode instruction correctly in little endian.
3117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3118         Likewise.
3119         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3120         Likewise.
3121         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3122         Likewise.
3123         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3124         Likewise.
3126 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3128         [BZ #9894]
3129         * sysdeps/unix/sysv/linux/kernel-features.h
3130         [__sparc__ && !__arch64__ && !__sparc_v9__]
3131         (__ASSUME_SET_ROBUST_LIST): Do not define.
3132         [__sparc__ && !__arch64__ && !__sparc_v9__]
3133         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3134         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3135         Likewise.
3136         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3137         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3138         (__ASSUME_REQUEUE_PI): Likewise.
3139         (__ASSUME_SET_ROBUST_LIST): Likewise.
3140         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3141         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3142         Undefine.
3143         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3144         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3145         Likewise.
3146         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3147         Likewise.
3148         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3149         Likewise.
3150         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3151         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3152         Undefine.
3153         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3154         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3155         Likewise.
3157         [BZ #16648]
3158         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3159         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3160         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3162 2014-03-31  Will Newton  <will.newton@linaro.org>
3164         * benchtests/Makefile (bench): Add ffs and ffsll to list
3165         of tests.
3166         * benchtests/ffs-inputs: New file.
3167         * benchtests/ffsll-inputs: Likewise.
3169 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3171         [BZ #16770]
3172         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3173         too large before casting to int.
3174         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3175         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3176         * math/libm-test.inc (scalb_test_data): Add more tests.
3178 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3180         * benchtests/Makefile (DETAILED_OPT): New make option.
3181         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3182         set.
3183         * benchtests/bench-skeleton.c: Include stdbool.h.
3184         (main): Store and print timings per input.
3185         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3186         member to each argument value.
3187         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3188         (_print_arg_data): Initialize per-input timing to 0.
3190         * benchtests/Makefile (timing-type): New binary.
3191         (bench-clean): Also remove bench-timing-type.
3192         (bench): New target for timing-type.
3193         (bench-func): Print output in JSON format.
3194         * benchtests/bench-skeleton.c (main): Print output in JSON
3195         format.
3196         * benchtests/bench-timing-type.c: New file.
3197         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3198         (TIMING_PRINT_STATS): Remove.
3199         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3200         name separately.
3202         * benchtests/bench-modf.c: Remove.
3203         * benchtests/modf-inputs: New inputs file.
3205 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3207         [BZ #16362]
3208         * math/s_clog10.c (M_PI_LOG10E): New macro.
3209         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3210         imaginary parts are 0.
3211         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3212         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3213         imaginary parts are 0.
3214         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3215         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3216         imaginary parts are 0.
3217         * math/libm-test.inc (clog10_test_data): Update expected results
3218         for when real and imaginary parts are 0.
3220 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3222         * elf/dl-load.c: Finish conversion of __builtin_expect into
3223         __glibc_{un}likely.
3225 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3227         [BZ #16348]
3228         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3229         1+x for argument with exponent below -67.
3230         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3231         Likewise.
3232         * math/auto-libm-test-in: Add more tests of exp.
3233         * math/auto-libm-test-out: Regenerated.
3235 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3237         [BZ #16759]
3238         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3239         (nscd_getnetgrent): Use it.
3241         [BZ #16760]
3242         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3243         of stpcpy.
3245 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3247         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3248         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3249         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3250         (lll_robust_unlock): Remove out of line section. Use cfi
3251         intrinsics.
3252         (LLL_STUB_UNWIND_INFO*): Remove.
3253         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3254         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3255         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3256         (lll_robust_unlock): Remove out of line section. Use cfi
3257         intrinsics.
3258         (LLL_STUB_UNWIND_INFO*): Remove.
3260 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3262         [BZ #16758]
3263         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3264         blank values.
3266 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3268         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3270 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3272         [BZ #16198]
3273         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3274         fnstenv.
3275         * math/test-fenv-preserve.c: New file.
3276         * math/Makefile (tests): Add test-fenv-preserve.
3278 2014-03-26  Will Newton <will.newton@linaro.org>
3280         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3282 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3284         * scripts/versionlist.awk: Partition the version sets and emit all
3285         GLIBC_* (sorted) before all others (sorted).
3287 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3289         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3290         GLIBC_2.2.5 version.
3292 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3294         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3295         calls.
3297         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3298         previous change.
3300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3302 2014-03-25  Andreas Schwab  <schwab@suse.de>
3304         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3305         label to be used after in6ailist is initialized.
3307 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3309         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3310         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3312 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3314         [BZ #16357]
3315         [BZ #16599]
3316         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3317         min_plus_half.
3318         (fp_formats): Update initializers.
3319         (init_fp_formats): Initialize new field.
3320         (output_for_one_input_case): Allow underflow for results up to
3321         min_plus_half.
3322         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3323         * math/auto-libm-test-in: Don't mark some underflows from asin and
3324         atanh as spurious.
3325         * math/auto-libm-test-out: Regenerated.
3326         * sysdeps/i386/fpu/libm-test-ulps: Update.
3327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3329 2014-03-25  Andreas Schwab  <schwab@suse.de>
3331         * libio/Makefile (tst-ftell-partial-wide-ENV)
3332         (tst-ftell-active-handler-ENV): Define.
3334 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3336         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3338 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3340         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3342 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3344         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3345         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3346         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3348 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3350         [BZ #16634]
3351         * elf/dl-load.c (open_verify): Add mode parameter.
3352         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3353         (open_path): Change from boolean 'secure' to complete flag 'mode'
3354         (_dl_map_object): Adjust.
3355         * elf/Makefile (tests): Add tst-dlopen-aout.
3356         * elf/tst-dlopen-aout.c: New test.
3358 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3360         [BZ #16714]
3361         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3362         (struct stat): Rename member pad0 to __glibc_reserved0.
3364         [BZ #16712]
3365         * sysdeps/s390/s390-32/bits/wordsize.h
3366         (__WORDSIZE32_SIZE_ULONG): New define.
3367         * sysdeps/s390/s390-64/bits/wordsize.h
3368         (__WORDSIZE32_SIZE_ULONG): Likewise.
3369         * sysdeps/generic/stdint.h (SIZE_MAX):
3370         Define as UL if __WORDSIZE32_SIZE_ULONG.
3372         [BZ #16713]
3373         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3374         (__glibc_reserved0): New variable.
3375         (sa_flags): Change type to int.
3377         * posix/Makefile (before-compile): Use += before-compile instead
3378         of a :=.
3380         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3381         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3383 2014-03-20  Andreas Schwab  <schwab@suse.de>
3385         [BZ #16743]
3386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3387         non-matching result from nscd.
3389 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3391         * scripts/bench.py: Moved to ...
3392         * benchtests/scripts/bench.py: ... here.
3393         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3395 2014-03-24  Andreas Schwab  <schwab@suse.de>
3397         [BZ #16002]
3398         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3399         alloca_account and account alloca use for struct in6ailist.
3401 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3403         [BZ #16284]
3404         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3405         rounding mode to recompute results that overflow to infinity or
3406         underflow to zero.
3407         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3408         bug 16284.
3409         * math/auto-libm-test-out: Regenerated.
3410         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3411         (ccosh_test): Likewise.
3412         (csin_test_data): Use plus_oflow.
3413         (csin_test): Use ALL_RM_TEST.
3414         (csinh_test_data): Use plus_oflow.
3415         (csinh_test): Use ALL_RM_TEST.
3416         * sysdeps/i386/fpu/libm-test-ulps: Update.
3417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3419 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3421         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3422         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3423         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3425         [BZ #16731]
3426         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3427         when x - 1 is zero.
3428         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3429         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3430         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3431         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3432         argument is 1.
3433         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3434         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3435         zero.
3436         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3437         * sysdeps/i386/fpu/libm-test-ulps: Update.
3438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3440 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3442         * scripts/bench.pl: Remove file.
3443         * scripts/bench.py: New benchmark script.
3444         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3445         * benchtests/README: Mention python dependency.
3446         * scripts/pylintrc: New file.
3447         * scripts/pylint: New file.
3449         * bits/mathdef.h: Use #ifdef instead of #if.
3450         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3451         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3452         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3453         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3454         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3455         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3457 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3458             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3460         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3462         and strpbrk-ppc64 objects.
3463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3464         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3465         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3466         multiarch strpbrk for POWER7.
3467         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3468         multiarch strpbrk for PPC64.
3469         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3470         ifunc selector.
3471         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3472         strpbrk for POWER7.
3474 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3476         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3477         (atan_test): Likewise.
3478         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3479         (atanh_test): Use ALL_RM_TEST.
3480         (atan2_test_data): Likewise.
3481         (cabs_test): Likewise.
3482         (cacosh_test): Likewise.
3483         (carg_test): Likewise.
3484         (casin_test): Likewise.
3485         (casinh_test): Likewise.
3486         (cbrt_test): Likewise.
3487         (csqrt_test): Likewise.
3488         (erf_test): Likewise.
3489         (erfc_test): Likewise.
3490         (pow10_test): Likewise.
3491         (exp2_test): Likewise.
3492         (hypot_test): Likewise.
3493         (j0_test): Likewise.
3494         (j1_test): Likewise.
3495         (lgamma_test): Likewise.
3496         (gamma_test): Likewise.
3497         (sincos_test): Likewise.
3498         (tanh_test): Likewise.
3499         (y0_test): Likewise.
3500         (y1_test): Likewise.
3501         * sysdeps/i386/fpu/libm-test-ulps: Update.
3502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3504 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3506         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3508         and strcspn-ppc64 objects.
3509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3510         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3511         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3512         multiarch strcspn for POWER7.
3513         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3514         multiarch strcspn for PPC64.
3515         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3516         ifunc selector.
3517         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3518         strcspn for POWER7.
3520 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3522         * math/gen-libm-test.pl (generate_testfile): Expect only function
3523         name as argument to AUTO_TESTS_* and pass results for all rounding
3524         modes to parse_args.
3525         (parse_auto_input): Separate inputs of automatic tests from
3526         outputs before storing in %auto_tests.
3527         * math/libm-test.inc (acos_test_data): Update call to
3528         AUTO_TESTS_f_f.
3529         (acos_test): Use ALL_RM_TEST.
3530         (acos_tonearest_test_data): Remove.
3531         (acos_test_tonearest): Likewise.
3532         (acos_towardzero_test_data): Likewise.
3533         (acos_test_towardzero): Likewise.
3534         (acos_downward_test_data): Likewise.
3535         (acos_test_downward): Likewise.
3536         (acos_upward_test_data): Likewise.
3537         (acos_test_upward): Likewise.
3538         (acosh_test_data): Update call to AUTO_TESTS_f_f.
3539         (asin_test_data): Likewise.
3540         (asin_test): Use ALL_RM_TEST.
3541         (asin_tonearest_test_data): Remove.
3542         (asin_test_tonearest): Likewise.
3543         (asin_towardzero_test_data): Likewise.
3544         (asin_test_towardzero): Likewise.
3545         (asin_downward_test_data): Likewise.
3546         (asin_test_downward): Likewise.
3547         (asin_upward_test_data): Likewise.
3548         (asin_test_upward): Likewise.
3549         (asinh_test_data): Update call to AUTO_TESTS_f_f.
3550         (atan_test_data): Likewise.
3551         (atanh_test_data): Likewise.
3552         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3553         (cabs_test_data): Update call to AUTO_TESTS_c_f.
3554         (carg_test_data): Likewise.
3555         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3556         (ccos_test_data): Update call to AUTO_TESTS_c_c.
3557         (ccosh_test_data): Likewise.
3558         (cexp_test_data): Likewise.
3559         (clog_test_data): Likewise.
3560         (clog10_test_data): Likewise.
3561         (cos_test_data): Update call to AUTO_TESTS_f_f.
3562         (cos_test): Use ALL_RM_TEST.
3563         (cos_tonearest_test_data): Remove.
3564         (cos_test_tonearest): Likewise.
3565         (cos_towardzero_test_data): Likewise.
3566         (cos_test_towardzero): Likewise.
3567         (cos_downward_test_data): Likewise.
3568         (cos_test_downward): Likewise.
3569         (cos_upward_test_data): Likewise.
3570         (cos_test_upward): Likewise.
3571         (cosh_test_data): Update call to AUTO_TESTS_f_f.
3572         (cosh_test): Use ALL_RM_TEST.
3573         (cosh_tonearest_test_data): Remove.
3574         (cosh_test_tonearest): Likewise.
3575         (cosh_towardzero_test_data): Likewise.
3576         (cosh_test_towardzero): Likewise.
3577         (cosh_downward_test_data): Likewise.
3578         (cosh_test_downward): Likewise.
3579         (cosh_upward_test_data): Likewise.
3580         (cosh_test_upward): Likewise.
3581         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3582         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3583         (ctan_test_data): Likewise.
3584         (ctan_test): Use ALL_RM_TEST.
3585         (ctan_tonearest_test_data): Remove.
3586         (ctan_test_tonearest): Likewise.
3587         (ctan_towardzero_test_data): Likewise.
3588         (ctan_test_towardzero): Likewise.
3589         (ctan_downward_test_data): Likewise.
3590         (ctan_test_downward): Likewise.
3591         (ctan_upward_test_data): Likewise.
3592         (ctan_test_upward): Likewise.
3593         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3594         (ctanh_test): Use ALL_RM_TEST.
3595         (ctanh_tonearest_test_data): Remove.
3596         (ctanh_test_tonearest): Likewise.
3597         (ctanh_towardzero_test_data): Likewise.
3598         (ctanh_test_towardzero): Likewise.
3599         (ctanh_downward_test_data): Likewise.
3600         (ctanh_test_downward): Likewise.
3601         (ctanh_upward_test_data): Likewise.
3602         (ctanh_test_upward): Likewise.
3603         (erf_test_data): Update call to AUTO_TESTS_f_f.
3604         (erfc_test_data): Likewise.
3605         (exp_test_data): Likewise.
3606         (exp_test): Use ALL_RM_TEST.
3607         (exp_tonearest_test_data): Remove.
3608         (exp_test_tonearest): Likewise.
3609         (exp_towardzero_test_data): Likewise.
3610         (exp_test_towardzero): Likewise.
3611         (exp_downward_test_data): Likewise.
3612         (exp_test_downward): Likewise.
3613         (exp_upward_test_data): Likewise.
3614         (exp_test_upward): Likewise.
3615         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3616         (exp10_test): Use ALL_RM_TEST.
3617         (exp10_tonearest_test_data): Remove.
3618         (exp10_test_tonearest): Likewise.
3619         (exp10_towardzero_test_data): Likewise.
3620         (exp10_test_towardzero): Likewise.
3621         (exp10_downward_test_data): Likewise.
3622         (exp10_test_downward): Likewise.
3623         (exp10_upward_test_data): Likewise.
3624         (exp10_test_upward): Likewise.
3625         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3626         (expm1_test_data): Likewise.
3627         (expm1_test): Use ALL_RM_TEST.
3628         (expm1_tonearest_test_data): Remove.
3629         (expm1_test_tonearest): Likewise.
3630         (expm1_towardzero_test_data): Likewise.
3631         (expm1_test_towardzero): Likewise.
3632         (expm1_downward_test_data): Likewise.
3633         (expm1_test_downward): Likewise.
3634         (expm1_upward_test_data): Likewise.
3635         (expm1_test_upward): Likewise.
3636         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3637         (fma_test): Use ALL_RM_TEST.
3638         (fma_towardzero_test_data): Remove.
3639         (fma_test_towardzero): Likewise.
3640         (fma_downward_test_data): Likewise.
3641         (fma_test_downward): Likewise.
3642         (fma_upward_test_data): Likewise.
3643         (fma_test_upward): Likewise.
3644         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3645         (j0_test_data): Update call to AUTO_TESTS_f_f.
3646         (j1_test_data): Likewise.
3647         (jn_test_data): Update call to AUTO_TESTS_if_f.
3648         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3649         (log_test_data): Update call to AUTO_TESTS_f_f.
3650         (log10_test_data): Likewise.
3651         (log1p_test_data): Likewise.
3652         (log2_test_data): Likewise.
3653         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3654         (pow_tonearest_test_data): Likewise.
3655         (sin_test_data): Update call to AUTO_TESTS_f_f.
3656         (sin_test): Use ALL_RM_TEST.
3657         (sin_tonearest_test_data): Remove.
3658         (sin_test_tonearest): Likewise.
3659         (sin_towardzero_test_data): Likewise.
3660         (sin_test_towardzero): Likewise.
3661         (sin_downward_test_data): Likewise.
3662         (sin_test_downward): Likewise.
3663         (sin_upward_test_data): Likewise.
3664         (sin_test_upward): Likewise.
3665         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3666         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3667         (sinh_test): Use ALL_RM_TEST.
3668         (sinh_tonearest_test_data): Remove.
3669         (sinh_test_tonearest): Likewise.
3670         (sinh_towardzero_test_data): Likewise.
3671         (sinh_test_towardzero): Likewise.
3672         (sinh_downward_test_data): Likewise.
3673         (sinh_test_downward): Likewise.
3674         (sinh_upward_test_data): Likewise.
3675         (sinh_test_upward): Likewise.
3676         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3677         (sqrt_test): Use ALL_RM_TEST.
3678         (sqrt_tonearest_test_data): Remove.
3679         (sqrt_test_tonearest): Likewise.
3680         (sqrt_towardzero_test_data): Likewise.
3681         (sqrt_test_towardzero): Likewise.
3682         (sqrt_downward_test_data): Likewise.
3683         (sqrt_test_downward): Likewise.
3684         (sqrt_upward_test_data): Likewise.
3685         (sqrt_test_upward): Likewise.
3686         (tan_test_data): Update call to AUTO_TESTS_f_f.
3687         (tan_test): Use ALL_RM_TEST.
3688         (tan_tonearest_test_data): Remove.
3689         (tan_test_tonearest): Likewise.
3690         (tan_towardzero_test_data): Likewise.
3691         (tan_test_towardzero): Likewise.
3692         (tan_downward_test_data): Likewise.
3693         (tan_test_downward): Likewise.
3694         (tan_upward_test_data): Likewise.
3695         (tan_test_upward): Likewise.
3696         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3697         (tgamma_test_data): Likewise.
3698         (y0_test_data): Likewise.
3699         (y1_test_data): Likewise.
3700         (yn_test_data): Update call to AUTO_TESTS_if_f.
3701         (main): Do not call removed functions.
3703 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3705         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3706         (ldexp_test_data): Remove.
3707         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
3708         scalbn_test_data.
3709         (scalb_test): Use ALL_RM_TEST.
3711 2014-03-19  Andreas Schwab  <schwab@suse.de>
3713         * nscd/nscd.service: Also invalidate netgroup cache on reload.
3715 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3717         [BZ #16649]
3718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3719         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3720         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3722         (__ASSUME_PREADV): Undefine.
3723         (__ASSUME_PWRITEV): Likewise.
3725 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3727         * bits/mman-linux.h: Add comment about non-Linux use.
3728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3729         bits/mman-linux.h resting place.
3731         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3732         * bits/mman-linux.h: ... here.
3734 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3736         * conform/conformtest.pl: Add standard definition when calling C
3737         preprocessor on data files.
3738         (checknamespace): Remove unused variable.
3740 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3742         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3743         minus_oflow, plus_uflow and minus_uflow in expected results.
3744         * math/libm-test.inc (scalbn_test_data): Add more tests of
3745         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
3746         minus_uflow.
3747         (scalbn_test): Use ALL_RM_TEST.
3748         (scalbln_test_data): Add more tests of negative arguments.  Use
3749         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3750         (scalbln_test): Use ALL_RM_TEST.
3752 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3754         * scripts/abilist.awk: Ignore symbols marked with .hidden.
3756 2014-03-18  Will Newton  <will.newton@linaro.org>
3758         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3759         inaccurate comment.
3761 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3763         * Makerules [!subdir] (check-abi): Exit with error status if a
3764         test failed.
3766 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3768         * math/libm-test.inc (nearbyint_test_data): Include all tests used
3769         for rint.  Include results for all rounding modes.
3770         (nearbyint_test): Use ALL_RM_TEST.
3771         (rint_test_data): Include all tests used for nearbyint.
3773 2014-03-17  Will Newton  <will.newton@linaro.org>
3775         * nptl/sysdeps/pthread/pthread.h: Revert previous
3776         change.
3778         * sysdeps/generic/ldsodefs.h: Revert previous
3779         change.
3781         * libio/genops.c: Revert previous change.
3782         * libio/libioP.h: Likewise.
3783         * stdio-common/vfprintf.c: Likewise.
3785         * sysdeps/generic/math_private.h: Revert previous
3786         change.
3788         * sysdeps/generic/math_private.h: Check whether
3789         HAVE_RM_CTX is defined with #ifdef rather
3790         than #if.
3792         * argp/argp-fmtstream.h: Check whether
3793         __STRICT_ANSI__ is defined with #ifdef rather
3794         than #if.
3795         * argp/argp.h: Likewise.
3797         * libio/genops.c: Check whether
3798         _IO_JUMPS_OFFSET is defined with #ifdef rather
3799         than #if.
3800         * libio/libioP.h: Likewise.
3801         * stdio-common/vfprintf.c: Likewise.
3803         * sysdeps/generic/ldsodefs.h: Check whether
3804         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3805         than #if.
3807         * nptl/sysdeps/pthread/pthread.h: Check
3808         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3809         its value.
3811 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3813         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3814         setting O_APPEND.
3815         * libio/tst-ftell-active-handler.c (do_append_test): Add a
3816         test case.
3818         [BZ #16680]
3819         * libio/fileops.c (_IO_file_open): Seek to end of file but
3820         don't cache the offset.
3821         (get_file_offset): Remove function.
3822         (do_ftell): Use cached offset when available.
3823         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3824         don't cache the offset.
3825         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3826         case.
3827         (do_one_test): Call it.
3828         (do_ftell_test): Fix up expected old offset for a+ mode.
3829         * libio/wfileops.c (do_ftell_wide): Used cached offset when
3830         available.
3832         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3833         up test status with function return status.
3834         (do_write_test): Likewise.
3835         (do_append_test): Likewise.
3837         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3838         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3839         Remove.
3841 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3843         * math/gen-libm-test.pl (parse_args): Handle results specified for
3844         each rounding mode separately.
3845         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3846         tests and results from lrint_tonearest_test_data,
3847         lrint_towardzero_test_data, lrint_downward_test_data and
3848         lrint_upward_test_data.
3849         (lrint_test): Use ALL_RM_TEST.
3850         (lrint_tonearest_test_data): Remove.
3851         (lrint_test_tonearest): Likewise.
3852         (lrint_towardzero_test_data): Likewise.
3853         (lrint_test_towardzero): Likewise.
3854         (lrint_downward_test_data): Likewise.
3855         (lrint_test_downward): Likewise.
3856         (lrint_upward_test_data): Likewise.
3857         (lrint_test_upward): Likewise.
3858         (llrint_test_data): Merge in per-rounding-mode tests and results
3859         from llrint_tonearest_test_data, llrint_towardzero_test_data,
3860         llrint_downward_test_data and llrint_upward_test_data.
3861         (llrint_test): Use ALL_RM_TEST.
3862         (llrint_tonearest_test_data): Remove.
3863         (llrint_test_tonearest): Likewise.
3864         (llrint_towardzero_test_data): Likewise.
3865         (llrint_test_towardzero): Likewise.
3866         (llrint_downward_test_data): Likewise.
3867         (llrint_test_downward): Likewise.
3868         (llrint_upward_test_data): Likewise.
3869         (llrint_test_upward): Likewise.
3870         (rint_test_data): Merge in per-rounding-mode tests and results
3871         from rint_tonearest_test_data, rint_towardzero_test_data,
3872         rint_downward_test_data and rint_upward_test_data.  Add
3873         per-rounding-mode results for tests not in those arrays.
3874         (rint_test): Use ALL_RM_TEST.
3875         (rint_tonearest_test_data): Remove.
3876         (rint_test_tonearest): Likewise.
3877         (rint_towardzero_test_data): Likewise.
3878         (rint_test_towardzero): Likewise.
3879         (rint_downward_test_data): Likewise.
3880         (rint_test_downward): Likewise.
3881         (rint_upward_test_data): Likewise.
3882         (rint_test_upward): Likewise.
3883         (main): Don't call removed functions.
3885 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3887         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3888         "Compiled on ..." crapola.  It is anti-useful.
3890 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
3892         * scripts/evaluate-test.sh: Handle fourth argument to determine
3893         whether test run should stop on failure.
3894         * Makeconfig (stop-on-test-failure): New variable.
3895         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3896         $(stop-on-test-failure).
3897         * Makefile (tests): Give a summary of results from testing and
3898         exit with failure status if they include an ERROR or FAIL.
3899         (xtests): Likewise.
3900         * manual/install.texi (Configuring and compiling): Mention
3901         stop-on-test-failure=y.
3902         * INSTALL: Regenerated.
3904 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3906         * scripts/versionlist.awk: New file.
3907         * Makerules [$(build-shared) = yes]
3908         (postclean-generated): Add Versions.def, not Versions.def.v and
3909         Versions.def.v.i.
3910         ($(common-objpfx)Versions.def.v.i): Target removed.
3911         ($(common-objpfx)Versions.def): New target.
3912         ($(common-objpfx)Versions.all): Depend on that rather that
3913         $(common-objpfx)Versions.def.v.
3914         * Versions.def: File removed.
3916         * Makeconfig (+gccwarn): Add -Wundef.
3917         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3918         a dl-sysdep.h breaking its contract.
3919         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3920         * include/stackinfo.h: New file.
3921         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3922         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3923         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3924         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3925         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3926         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3927         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3928         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3929         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3930         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3931         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3932         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3933         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3934         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3935         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3937 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3939         [BZ #16707]
3940         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3941         implementation.
3942         * math/libm-test.inc (round_test_data): Add more tests.
3944         [BZ #16706]
3945         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3946         implementation.
3947         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3949         [BZ #16701]
3950         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3951         implementation.
3952         * math/libm-test.inc (ceil_test_data): Add more tests.
3954         * math/libm-test.inc (trunc_test_data): Add more tests related to
3955         BZ#16414.
3957 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3959         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3960         with #if rather than #ifdef.
3961         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3963 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3965         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3966         first.  Disable AVX-512 GCC support if assembler doesn't support
3967         it.
3968         * sysdeps/x86_64/configure: Regenerated.
3970 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3972         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3973         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3974         (__old_pthread_attr_setstack): Likewise.
3975         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3976         [!_STACK_GROWS_DOWN]: Likewise.
3978 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3980         * config.make.in (have-bash2): Delete.
3981         * configure.ac (libc_cv_have_bash2): Delete.
3982         * configure: Regenerate.
3983         * elf/Makefile (common-ldd-rewrite): Rename to ...
3984         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3985         (sh-ldd-rewrite): Delete.
3986         (bash-ldd-rewrite): Delete.
3987         (have-bash2): Delete checks.
3988         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3989         ldd-rewrite.
3991         * config.make.in (have-ksh): Delete.
3992         (KSH): Delete.
3993         * configure.ac (libc_cv_have_ksh): Delete.
3994         * configure: Regenerate.
3996         * elf/Makefile: Delete $(have-ksh) check.
3997         ($(objpfx)sotruss): Change KSH to BASH.
3998         * elf/sotruss.ksh: Rename to ...
3999         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4000         function style to match POSIX.  Drop ksh vim mode setting.
4002         * manual/time.texi (Specifying the Time Zone with TZ): Change
4003         Tuesday to Thursday.
4005         * debug/tst-longjmp_chk2.c: Update header comment.
4006         (stackoverflow_handler): Add comment.  Call assert on pass value.
4008 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4010         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4011         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4012         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4013         (La_x86_64_vector): Add zmm.
4014         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4015         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4016         ($(objpfx)tst-audit10): New target.
4017         ($(objpfx)tst-audit10.out): Likewise.
4018         (tst-audit10-ENV): New.
4019         (AVX512-CFLAGS): Likewise.
4020         (CFLAGS-tst-audit10.c): Likewise.
4021         (CFLAGS-tst-auditmod10a.c): Likewise.
4022         (CFLAGS-tst-auditmod10b.c): Likewise.
4023         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4024         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4025         * sysdeps/x86_64/configure: Regenerated.
4026         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4027         AVX-512 zmm register support.
4028         (_dl_x86_64_save_sse): Likewise.
4029         (_dl_x86_64_restore_sse): Likewise.
4030         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4031         size vector registers.
4032         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4033         (ZMM_SIZE): Likewise.
4034         * sysdeps/x86_64/tst-audit10.c: New file.
4035         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4036         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4038 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4040         * configure.ac (HAVE_EHDR_START): New check.
4041         * configure: Regenerated.
4042         * config.h.in (HAVE_EHDR_START): New #undef.
4043         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4044         assuming the lowest-addressed segment maps the start of the file.
4046 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4048         * INSTALL: Regenerated.
4050 2014-03-13  Will Newton  <will.newton@linaro.org>
4052         * manual/setjmp.texi (System V contexts): Improve
4053         clarity and grammar of documentation.
4055 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4057         [BZ #16381]
4058         * elf/Makefile (tests): Add tst-pie2.
4059         (tests-pie): Add tst-pie2.
4060         * elf/tst-pie2.c: New file.
4061         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4062         for ET_EXEC.
4063         * elf/rtld.c (map_doit): Load executable as lt_executable.
4064         (dl_main): Likewise.
4066 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4068         [BZ #16642]
4069         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4070         (__ASSUME_PSELECT): Undefine.
4072 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4074         [BZ #16689]
4075         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4076         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4077         static build.
4078         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4079         selector for static builds.
4081 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4083         [BZ #16695]
4084         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4085         key in the buffer.
4087 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4089         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4090         IFUNC selector for static builds.
4092 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4094         * sysdeps/mips/math_private.h [__mips_hard_float]
4095         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4096         libc_feresetround_mips_ctx.
4097         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4098         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4099         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4101         [BZ #16677]
4102         * math/s_nextafter.c (__nextafter): Do not return value from
4103         overflowing computation.
4104         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4105         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4106         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4107         Likewise.
4108         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4109         Likewise.
4110         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4111         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4113 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4115         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4116         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4117         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4118         the new mov targetting sp.
4120 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4122         [BZ #16683]
4123         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4124         Define it for static builds as well.
4125         (NO_BZERO_IMPL): Likewise.
4127 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4129         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4130         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4131         multiarch strspn for PPC64.
4132         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4133         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4135         (__libc_ifunc_impl_list): Likewise.
4136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4137         multiarch optimizations
4138         * string/strspn.c (strspn): Using macro to redefine symbol name.
4140 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4141             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4143         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4144         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4145         multiarch strncat for PPC64.
4146         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4147         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4149         (__libc_ifunc_impl_list): Likewise.
4150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4151         multiarch optimizations
4153 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4155         [BZ #16639]
4156         * nscd/nscd.service: Make service type forking.
4158 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4160         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4161         sign in non default rounding modes.
4162         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4164 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4166         * math/libm-test.inc (ALL_RM_TEST): New macro.
4167         (ceil_test): Use ALL_RM_TEST.
4168         (cimag_test): Likewise.
4169         (conj_test): Likewise.
4170         (copysign_test): Likewise.
4171         (cproj_test): Likewise.
4172         (creal_test): Likewise.
4173         (fabs_test): Likewise.
4174         (floor_test): Likewise.
4175         (fmax_test): Likewise.
4176         (fmin_test): Likewise.
4177         (fmod_test): Likewise.
4178         (fpclassify_test): Likewise.
4179         (frexp_test): Likewise.
4180         (ilogb_test): Likewise.
4181         (isfinite_test): Likewise.
4182         (finite_test): Likewise.
4183         (isgreater_test): Likewise.
4184         (isgreaterequal_test): Likewise.
4185         (isinf_test): Likewise.
4186         (isless_test): Likewise.
4187         (islessequal_test): Likewise.
4188         (islessgreater_test): Likewise.
4189         (isnan_test): Likewise.
4190         (isnormal_test): Likewise.
4191         (issignaling_test): Likewise.
4192         (isunordered_test): Likewise.
4193         (logb_test): Likewise.
4194         (logb_downward_test_data): Remove.
4195         (logb_test_downward): Likewise.
4196         (lround_test): Use ALL_RM_TEST.
4197         (llround_test): Likewise.
4198         (modf_test): Likewise.
4199         (nexttoward_test): Likewise.
4200         (remainder_test): Likewise.
4201         (drem_test): Likewise.
4202         (remainder_tonearest_test_data): Likewise.
4203         (remainder_test_tonearest): Likewise.
4204         (drem_test_tonearest): Likewise.
4205         (remainder_towardzero_test_data): Likewise.
4206         (remainder_test_towardzero): Likewise.
4207         (drem_test_towardzero): Likewise.
4208         (remainder_downward_test_data): Likewise.
4209         (remainder_test_downward): Likewise.
4210         (drem_test_downward): Likewise.
4211         (remainder_upward_test_data): Likewise.
4212         (remainder_test_upward): Likewise.
4213         (drem_test_upward): Likewise.
4214         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4215         (round_test): Use ALL_RM_TEST.
4216         (signbit_test): Likewise.
4217         (trunc_test): Likewise.
4218         (significand_test): Likewise.
4219         (main): Don't call removed functions.
4221 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4223         [BZ #16674]
4224         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4225         || __USE_XOPEN2K8].
4226         (ILL_ILLOPN): Likewise.
4227         (ILL_ILLADR): Likewise.
4228         (ILL_ILLTRP): Likewise.
4229         (ILL_PRVOPC): Likewise.
4230         (ILL_PRVREG): Likewise.
4231         (ILL_COPROC): Likewise.
4232         (ILL_BADSTK): Likewise.
4233         (FPE_INTDIV): Likewise.
4234         (FPE_INTOVF): Likewise.
4235         (FPE_FLTDIV): Likewise.
4236         (FPE_FLTOVF): Likewise.
4237         (FPE_FLTUND): Likewise.
4238         (FPE_FLTRES): Likewise.
4239         (FPE_FLTINV): Likewise.
4240         (FPE_FLTSUB): Likewise.
4241         (SEGV_MAPERR): Likewise.
4242         (SEGV_ACCERR): Likewise.
4243         (BUS_ADRALN): Likewise.
4244         (BUS_ADRERR): Likewise.
4245         (BUS_OBJERR): Likewise.
4246         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4247         (TRAP_TRACE): Likewise.
4248         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4249         __USE_XOPEN2K8].
4250         (CLD_KILLED): Likewise.
4251         (CLD_DUMPED): Likewise.
4252         (CLD_TRAPPED): Likewise.
4253         (CLD_STOPPED): Likewise.
4254         (CLD_CONTINUED): Likewise.
4255         (POLL_IN): Likewise.
4256         (POLL_OUT): Likewise.
4257         (POLL_MSG): Likewise.
4258         (POLL_ERR): Likewise.
4259         (POLL_PRI): Likewise.
4260         (POLL_HUP): Likewise.
4261         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4262         Likewise.
4263         (ILL_ILLOPN): Likewise.
4264         (ILL_ILLADR): Likewise.
4265         (ILL_ILLTRP): Likewise.
4266         (ILL_PRVOPC): Likewise.
4267         (ILL_PRVREG): Likewise.
4268         (ILL_COPROC): Likewise.
4269         (ILL_BADSTK): Likewise.
4270         (FPE_INTDIV): Likewise.
4271         (FPE_INTOVF): Likewise.
4272         (FPE_FLTDIV): Likewise.
4273         (FPE_FLTOVF): Likewise.
4274         (FPE_FLTUND): Likewise.
4275         (FPE_FLTRES): Likewise.
4276         (FPE_FLTINV): Likewise.
4277         (FPE_FLTSUB): Likewise.
4278         (SEGV_MAPERR): Likewise.
4279         (SEGV_ACCERR): Likewise.
4280         (BUS_ADRALN): Likewise.
4281         (BUS_ADRERR): Likewise.
4282         (BUS_OBJERR): Likewise.
4283         (BUS_MCEERR_AR): Likewise.
4284         (BUS_MCEERR_AO): Likewise.
4285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4286         (TRAP_TRACE): Likewise.
4287         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4288         __USE_XOPEN2K8].
4289         (CLD_KILLED): Likewise.
4290         (CLD_DUMPED): Likewise.
4291         (CLD_TRAPPED): Likewise.
4292         (CLD_STOPPED): Likewise.
4293         (CLD_CONTINUED): Likewise.
4294         (POLL_IN): Likewise.
4295         (POLL_OUT): Likewise.
4296         (POLL_MSG): Likewise.
4297         (POLL_ERR): Likewise.
4298         (POLL_PRI): Likewise.
4299         (POLL_HUP): Likewise.
4300         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4301         (ILL_ILLOPN): Likewise.
4302         (ILL_ILLADR): Likewise.
4303         (ILL_ILLTRP): Likewise.
4304         (ILL_PRVOPC): Likewise.
4305         (ILL_PRVREG): Likewise.
4306         (ILL_COPROC): Likewise.
4307         (ILL_BADSTK): Likewise.
4308         (FPE_INTDIV): Likewise.
4309         (FPE_INTOVF): Likewise.
4310         (FPE_FLTDIV): Likewise.
4311         (FPE_FLTOVF): Likewise.
4312         (FPE_FLTUND): Likewise.
4313         (FPE_FLTRES): Likewise.
4314         (FPE_FLTINV): Likewise.
4315         (FPE_FLTSUB): Likewise.
4316         (SEGV_MAPERR): Likewise.
4317         (SEGV_ACCERR): Likewise.
4318         (BUS_ADRALN): Likewise.
4319         (BUS_ADRERR): Likewise.
4320         (BUS_OBJERR): Likewise.
4321         (BUS_MCEERR_AR): Likewise.
4322         (BUS_MCEERR_AO): Likewise.
4323         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4324         (TRAP_TRACE): Likewise.
4325         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4326         __USE_XOPEN2K8].
4327         (CLD_KILLED): Likewise.
4328         (CLD_DUMPED): Likewise.
4329         (CLD_TRAPPED): Likewise.
4330         (CLD_STOPPED): Likewise.
4331         (CLD_CONTINUED): Likewise.
4332         (POLL_IN): Likewise.
4333         (POLL_OUT): Likewise.
4334         (POLL_MSG): Likewise.
4335         (POLL_ERR): Likewise.
4336         (POLL_PRI): Likewise.
4337         (POLL_HUP): Likewise.
4338         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4339         Likewise.
4340         (ILL_ILLOPN): Likewise.
4341         (ILL_ILLADR): Likewise.
4342         (ILL_ILLTRP): Likewise.
4343         (ILL_PRVOPC): Likewise.
4344         (ILL_PRVREG): Likewise.
4345         (ILL_COPROC): Likewise.
4346         (ILL_BADSTK): Likewise.
4347         (ILL_BADIADDR): Likewise.
4348         (ILL_BREAK): Likewise.
4349         (FPE_INTDIV): Likewise.
4350         (FPE_INTOVF): Likewise.
4351         (FPE_FLTDIV): Likewise.
4352         (FPE_FLTOVF): Likewise.
4353         (FPE_FLTUND): Likewise.
4354         (FPE_FLTRES): Likewise.
4355         (FPE_FLTINV): Likewise.
4356         (FPE_FLTSUB): Likewise.
4357         (FPE_DECOVF): Likewise.
4358         (FPE_DECDIV): Likewise.
4359         (FPE_DECERR): Likewise.
4360         (FPE_INVASC): Likewise.
4361         (FPE_INVDEC): Likewise.
4362         (SEGV_MAPERR): Likewise.
4363         (SEGV_ACCERR): Likewise.
4364         (SEGV_PSTKOVF): Likewise.
4365         (BUS_ADRALN): Likewise.
4366         (BUS_ADRERR): Likewise.
4367         (BUS_OBJERR): Likewise.
4368         (BUS_MCEERR_AR): Likewise.
4369         (BUS_MCEERR_AO): Likewise.
4370         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4371         (TRAP_TRACE): Likewise.
4372         (TRAP_BRANCH): Likewise.
4373         (TRAP_HWBKPT): Likewise.
4374         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4375         __USE_XOPEN2K8].
4376         (CLD_KILLED): Likewise.
4377         (CLD_DUMPED): Likewise.
4378         (CLD_TRAPPED): Likewise.
4379         (CLD_STOPPED): Likewise.
4380         (CLD_CONTINUED): Likewise.
4381         (POLL_IN): Likewise.
4382         (POLL_OUT): Likewise.
4383         (POLL_MSG): Likewise.
4384         (POLL_ERR): Likewise.
4385         (POLL_PRI): Likewise.
4386         (POLL_HUP): Likewise.
4387         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4388         (ILL_ILLOPN): Likewise.
4389         (ILL_ILLADR): Likewise.
4390         (ILL_ILLTRP): Likewise.
4391         (ILL_PRVOPC): Likewise.
4392         (ILL_PRVREG): Likewise.
4393         (ILL_COPROC): Likewise.
4394         (ILL_BADSTK): Likewise.
4395         (FPE_INTDIV): Likewise.
4396         (FPE_INTOVF): Likewise.
4397         (FPE_FLTDIV): Likewise.
4398         (FPE_FLTOVF): Likewise.
4399         (FPE_FLTUND): Likewise.
4400         (FPE_FLTRES): Likewise.
4401         (FPE_FLTINV): Likewise.
4402         (FPE_FLTSUB): Likewise.
4403         (SEGV_MAPERR): Likewise.
4404         (SEGV_ACCERR): Likewise.
4405         (BUS_ADRALN): Likewise.
4406         (BUS_ADRERR): Likewise.
4407         (BUS_OBJERR): Likewise.
4408         (BUS_MCEERR_AR): Likewise.
4409         (BUS_MCEERR_AO): Likewise.
4410         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4411         (TRAP_TRACE): Likewise.
4412         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4413         __USE_XOPEN2K8].
4414         (CLD_KILLED): Likewise.
4415         (CLD_DUMPED): Likewise.
4416         (CLD_TRAPPED): Likewise.
4417         (CLD_STOPPED): Likewise.
4418         (CLD_CONTINUED): Likewise.
4419         (POLL_IN): Likewise.
4420         (POLL_OUT): Likewise.
4421         (POLL_MSG): Likewise.
4422         (POLL_ERR): Likewise.
4423         (POLL_PRI): Likewise.
4424         (POLL_HUP): Likewise.
4425         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4426         (ILL_ILLOPN): Likewise.
4427         (ILL_ILLADR): Likewise.
4428         (ILL_ILLTRP): Likewise.
4429         (ILL_PRVOPC): Likewise.
4430         (ILL_PRVREG): Likewise.
4431         (ILL_COPROC): Likewise.
4432         (ILL_BADSTK): Likewise.
4433         (FPE_INTDIV): Likewise.
4434         (FPE_INTOVF): Likewise.
4435         (FPE_FLTDIV): Likewise.
4436         (FPE_FLTOVF): Likewise.
4437         (FPE_FLTUND): Likewise.
4438         (FPE_FLTRES): Likewise.
4439         (FPE_FLTINV): Likewise.
4440         (FPE_FLTSUB): Likewise.
4441         (SEGV_MAPERR): Likewise.
4442         (SEGV_ACCERR): Likewise.
4443         (BUS_ADRALN): Likewise.
4444         (BUS_ADRERR): Likewise.
4445         (BUS_OBJERR): Likewise.
4446         (BUS_MCEERR_AR): Likewise.
4447         (BUS_MCEERR_AO): Likewise.
4448         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4449         (TRAP_TRACE): Likewise.
4450         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4451         __USE_XOPEN2K8].
4452         (CLD_KILLED): Likewise.
4453         (CLD_DUMPED): Likewise.
4454         (CLD_TRAPPED): Likewise.
4455         (CLD_STOPPED): Likewise.
4456         (CLD_CONTINUED): Likewise.
4457         (POLL_IN): Likewise.
4458         (POLL_OUT): Likewise.
4459         (POLL_MSG): Likewise.
4460         (POLL_ERR): Likewise.
4461         (POLL_PRI): Likewise.
4462         (POLL_HUP): Likewise.
4463         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4464         (ILL_ILLOPN): Likewise.
4465         (ILL_ILLADR): Likewise.
4466         (ILL_ILLTRP): Likewise.
4467         (ILL_PRVOPC): Likewise.
4468         (ILL_PRVREG): Likewise.
4469         (ILL_COPROC): Likewise.
4470         (ILL_BADSTK): Likewise.
4471         (FPE_INTDIV): Likewise.
4472         (FPE_INTOVF): Likewise.
4473         (FPE_FLTDIV): Likewise.
4474         (FPE_FLTOVF): Likewise.
4475         (FPE_FLTUND): Likewise.
4476         (FPE_FLTRES): Likewise.
4477         (FPE_FLTINV): Likewise.
4478         (FPE_FLTSUB): Likewise.
4479         (SEGV_MAPERR): Likewise.
4480         (SEGV_ACCERR): Likewise.
4481         (BUS_ADRALN): Likewise.
4482         (BUS_ADRERR): Likewise.
4483         (BUS_OBJERR): Likewise.
4484         (BUS_MCEERR_AR): Likewise.
4485         (BUS_MCEERR_AO): Likewise.
4486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4487         (TRAP_TRACE): Likewise.
4488         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4489         __USE_XOPEN2K8].
4490         (CLD_KILLED): Likewise.
4491         (CLD_DUMPED): Likewise.
4492         (CLD_TRAPPED): Likewise.
4493         (CLD_STOPPED): Likewise.
4494         (CLD_CONTINUED): Likewise.
4495         (POLL_IN): Likewise.
4496         (POLL_OUT): Likewise.
4497         (POLL_MSG): Likewise.
4498         (POLL_ERR): Likewise.
4499         (POLL_PRI): Likewise.
4500         (POLL_HUP): Likewise.
4501         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4502         (ILL_ILLOPN): Likewise.
4503         (ILL_ILLADR): Likewise.
4504         (ILL_ILLTRP): Likewise.
4505         (ILL_PRVOPC): Likewise.
4506         (ILL_PRVREG): Likewise.
4507         (ILL_COPROC): Likewise.
4508         (ILL_BADSTK): Likewise.
4509         (ILL_DBLFLT): Likewise.
4510         (ILL_HARDWALL): Likewise.
4511         (FPE_INTDIV): Likewise.
4512         (FPE_INTOVF): Likewise.
4513         (FPE_FLTDIV): Likewise.
4514         (FPE_FLTOVF): Likewise.
4515         (FPE_FLTUND): Likewise.
4516         (FPE_FLTRES): Likewise.
4517         (FPE_FLTINV): Likewise.
4518         (FPE_FLTSUB): Likewise.
4519         (SEGV_MAPERR): Likewise.
4520         (SEGV_ACCERR): Likewise.
4521         (BUS_ADRALN): Likewise.
4522         (BUS_ADRERR): Likewise.
4523         (BUS_OBJERR): Likewise.
4524         (BUS_MCEERR_AR): Likewise.
4525         (BUS_MCEERR_AO): Likewise.
4526         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4527         (TRAP_TRACE): Likewise.
4528         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4529         __USE_XOPEN2K8].
4530         (CLD_KILLED): Likewise.
4531         (CLD_DUMPED): Likewise.
4532         (CLD_TRAPPED): Likewise.
4533         (CLD_STOPPED): Likewise.
4534         (CLD_CONTINUED): Likewise.
4535         (POLL_IN): Likewise.
4536         (POLL_OUT): Likewise.
4537         (POLL_MSG): Likewise.
4538         (POLL_ERR): Likewise.
4539         (POLL_PRI): Likewise.
4540         (POLL_HUP): Likewise.
4541         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4542         (ILL_ILLOPN): Likewise.
4543         (ILL_ILLADR): Likewise.
4544         (ILL_ILLTRP): Likewise.
4545         (ILL_PRVOPC): Likewise.
4546         (ILL_PRVREG): Likewise.
4547         (ILL_COPROC): Likewise.
4548         (ILL_BADSTK): Likewise.
4549         (FPE_INTDIV): Likewise.
4550         (FPE_INTOVF): Likewise.
4551         (FPE_FLTDIV): Likewise.
4552         (FPE_FLTOVF): Likewise.
4553         (FPE_FLTUND): Likewise.
4554         (FPE_FLTRES): Likewise.
4555         (FPE_FLTINV): Likewise.
4556         (FPE_FLTSUB): Likewise.
4557         (SEGV_MAPERR): Likewise.
4558         (SEGV_ACCERR): Likewise.
4559         (BUS_ADRALN): Likewise.
4560         (BUS_ADRERR): Likewise.
4561         (BUS_OBJERR): Likewise.
4562         (BUS_MCEERR_AR): Likewise.
4563         (BUS_MCEERR_AO): Likewise.
4564         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4565         (TRAP_TRACE): Likewise.
4566         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4567         __USE_XOPEN2K8].
4568         (CLD_KILLED): Likewise.
4569         (CLD_DUMPED): Likewise.
4570         (CLD_TRAPPED): Likewise.
4571         (CLD_STOPPED): Likewise.
4572         (CLD_CONTINUED): Likewise.
4573         (POLL_IN): Likewise.
4574         (POLL_OUT): Likewise.
4575         (POLL_MSG): Likewise.
4576         (POLL_ERR): Likewise.
4577         (POLL_PRI): Likewise.
4578         (POLL_HUP): Likewise.
4579         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4580         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4582         [BZ #16670]
4583         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4584         before #include of <time.h>.
4585         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4586         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4587         (test-xfail-UNIX98/sched.h/conform): Likewise.
4589 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4591         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4592         error absence of trapping exception support.
4593         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4595 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4597         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4598         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4599         * timezone/Makefile (testdata): Move definition above include of
4600         Rules.
4601         (test-zones): New variable.
4602         (tests-special): Add zone files.
4603         (build-testdata): Use $(evaluate-test).
4605         * elf/Makefile (tests-special): Rename tests to end with .out.
4606         ($(objpfx)noload-mem): Likewise.
4607         ($(objpfx)tst-leaks1-mem): Likewise.
4608         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4609         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4610         $(objpfx)test-iconvconfig.out.
4611         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4612         set -e inside subshell and redirect output to file.
4613         * iconvdata/Makefile (generated): Rename tests to end with .out.
4614         Correct type.
4615         (tests-special): Rename tests to end with .out.
4616         ($(objpfx)mtrace-tst-loading): Likewise.
4617         * intl/Makefile (generated): Likewise.
4618         (tests-special): Likewise.
4619         ($(objpfx)mtrace-tst-gettext): Likewise.
4620         * misc/Makefile (generated): Likewise.
4621         (tests-special): Likewise.
4622         ($(objpfx)tst-error1-mem): Likewise.
4623         * nptl/Makefile (tests-special): Likewise.
4624         ($(objpfx)tst-stack3-mem): Likewise.
4625         (generated): Likewise.
4626         * posix/Makefile (generated): Likewise.
4627         (tests-special): Likewise.
4628         (xtests-special): Likewise.
4629         ($(objpfx)tst-fnmatch-mem): Likewise.
4630         ($(objpfx)bug-regex2-mem): Likewise.
4631         ($(objpfx)bug-regex14-mem): Likewise.
4632         ($(objpfx)bug-regex21-mem): Likewise.
4633         ($(objpfx)bug-regex31-mem): Likewise.
4634         ($(objpfx)tst-vfork3-mem): Likewise.
4635         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4636         ($(objpfx)tst-pcre-mem): Likewise.
4637         ($(objpfx)tst-boost-mem): Likewise.
4638         ($(objpfx)bug-ga2-mem): Likewise.
4639         ($(objpfx)bug-glob2-mem): Likewise.
4640         * resolv/Makefile (generate): Likewise.
4641         (tests-special): Likewise.
4642         (xtests-special): Likewise.
4643         (generated): Likewise.
4644         ($(objpfx)mtrace-tst-leaks): Likewise.
4645         ($(objpfx)mtrace-tst-leaks2): Likewise.
4647         * scripts/merge-test-results.sh: New file.
4648         * Makefile (tests-special-notdir): New variable.
4649         (tests): Run merge-test-results.sh.
4650         (xtests): Likewise.
4651         * Rules (tests-special-notdir): New variable.
4652         (xtests-special-notdir): Likewise.
4653         (tests): Run merge-test-results.sh
4654         (xtests): Likewise.
4656         * Makeconfig (test-xfail-name): New variable.
4657         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4658         compute variable name for expected failures.
4659         * conform/Makefile (conformtest-headers-data): New variable.
4660         (conformtest-standards): Likewise.
4661         (conformtest-headers-ISO): Likewise.
4662         (conformtest-headers-ISO99): Likewise.
4663         (conformtest-headers-ISO11): Likewise.
4664         (conformtest-headers-POSIX): Likewise.
4665         (conformtest-headers-XPG3): Likewise.
4666         (conformtest-headers-XPG4): Likewise.
4667         (conformtest-headers-UNIX98): Likewise.
4668         (conformtest-headers-XOPEN2K): Likewise.
4669         (conformtest-headers-POSIX2008): Likewise.
4670         (conformtest-headers-XOPEN2K8): Likewise.
4671         (conformtest-header-list-base): Likewise.
4672         (conformtest-header-list-tests): Likewise.
4673         (conformtest-header-base): Likewise.
4674         (conformtest-header-tests): Likewise.
4675         (tests-special): Add $(conformtest-header-list-tests).  If
4676         [$(fast-check) && !$(cross-compiling)], add
4677         $(conformtest-header-tests) instead of
4678         $(objpfx)run-conformtest.out.
4679         (generated): Add $(conformtest-header-list-base).  If
4680         [$(fast-check) && !$(cross-compiling)], add
4681         $(conformtest-header-base).  Remove previous setting.
4682         ($(conformtest-header-list-tests)): New target.
4683         (test-xfail-run-conformtest): Remove variable.
4684         ($(objpfx)run-conformtest.out): Remove target.
4685         (test-xfail-ISO11/complex.h/conform): New variable.
4686         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4687         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4688         (test-xfail-XPG3/varargs.h/conform): Likewise.
4689         (test-xfail-XPG4/varargs.h/conform): Likewise.
4690         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4691         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4692         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4693         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4694         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4695         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4696         (test-xfail-XPG3/ftw.h/conform): Likewise.
4697         (test-xfail-XPG3/grp.h/conform): Likewise.
4698         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4699         (test-xfail-XPG3/limits.h/conform): Likewise.
4700         (test-xfail-XPG3/pwd.h/conform): Likewise.
4701         (test-xfail-XPG3/search.h/conform): Likewise.
4702         (test-xfail-XPG3/signal.h/conform): Likewise.
4703         (test-xfail-XPG3/stdio.h/conform): Likewise.
4704         (test-xfail-XPG3/stdlib.h/conform): Likewise.
4705         (test-xfail-XPG3/string.h/conform): Likewise.
4706         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4707         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4708         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4709         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4710         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4711         (test-xfail-XPG3/sys/types.h/conform): Likewise.
4712         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4713         (test-xfail-XPG3/termios.h/conform): Likewise.
4714         (test-xfail-XPG3/time.h/conform): Likewise.
4715         (test-xfail-XPG3/unistd.h/conform): Likewise.
4716         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4717         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4718         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4719         (test-xfail-XPG4/netdb.h/conform): Likewise.
4720         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4721         (test-xfail-XPG4/signal.h/conform): Likewise.
4722         (test-xfail-XPG4/stdio.h/conform): Likewise.
4723         (test-xfail-XPG4/stdlib.h/conform): Likewise.
4724         (test-xfail-XPG4/stropts.h/conform): Likewise.
4725         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4726         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4727         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4728         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4729         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4730         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4731         (test-xfail-XPG4/sys/time.h/conform): Likewise.
4732         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4733         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4734         (test-xfail-XPG4/termios.h/conform): Likewise.
4735         (test-xfail-XPG4/ucontext.h/conform): Likewise.
4736         (test-xfail-XPG4/unistd.h/conform): Likewise.
4737         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4738         (test-xfail-POSIX/sched.h/conform): Likewise.
4739         (test-xfail-POSIX/signal.h/conform): Likewise.
4740         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4741         (test-xfail-POSIX/tar.h/conform): Likewise.
4742         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4743         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4744         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4745         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4746         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4747         (test-xfail-UNIX98/sched.h/conform): Likewise.
4748         (test-xfail-UNIX98/signal.h/conform): Likewise.
4749         (test-xfail-UNIX98/stdio.h/conform): Likewise.
4750         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4751         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4752         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4753         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4754         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4755         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4756         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4757         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4758         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4759         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4760         (test-xfail-UNIX98/unistd.h/conform): Likewise.
4761         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4762         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4763         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4764         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4765         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4766         (test-xfail-XOPEN2K/math.h/conform): Likewise.
4767         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4768         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4769         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4770         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4771         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4772         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4773         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4774         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4775         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4776         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4777         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4778         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4779         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4780         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4781         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4782         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4783         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4784         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4785         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4786         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4787         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4788         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4789         (test-xfail-POSIX2008/signal.h/conform): Likewise.
4790         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4791         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4792         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4793         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4794         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4795         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4796         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4797         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4798         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4799         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4800         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4801         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4802         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4803         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4804         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4805         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4806         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4807         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4808         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4809         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4810         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4811         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4812         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4813         (conformtest-cc-flags): Likewise.
4814         ($(conformtest-header-tests): New target.
4815         * conform/check-header-lists.sh: New file.
4816         * conform/run-conformtest.sh: Remove.
4818         * conform/conformtest.pl: Allow ' and \ in values given for
4819         constants.
4820         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4821         inclusion.
4822         [POSIX] (sys/types.h): Likewise.
4823         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4824         inclusion.
4825         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4826         inclusion.
4827         * conform/data/signal.h-data (SIGIO): Remove expectation.
4828         [XPG3] (SIGBUS): Do not expect.
4829         [POSIX || XPG3] (SIGPOLL): Likewise.
4830         [POSIX || XPG3] (SIGPROF): Likewise.
4831         [POSIX || XPG3] (SIGSYS): Likewise.
4832         [XPG3] (SIGTRAP): Likewise.
4833         [POSIX || XPG3] (SIGURG): Likewise.
4834         [POSIX || XPG3] (SIGVTALRM): Likewise.
4835         [POSIX || XPG3] (SIGXCPU): Likewise.
4836         [POSIX || XPG3] (SIGXFSZ): Likewise.
4837         [POSIX] (SA_SIGINFO): Expect.
4838         [XPG3] (siginfo_t): Do not expect type or contents.
4839         [POSIX] (si_pid): Do not expect element.
4840         [POSIX] (si_uid): Likewise.
4841         [POSIX] (si_addr): Likewise.
4842         [POSIX] (si_status): Likewise.
4843         [POSIX] (si_band): Likewise.
4844         [XPG4] (si_value): Likewise.
4845         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4846         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4847         [POSIX || XPG3] (ILL_ILLADR): Likewise.
4848         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4849         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4850         [POSIX || XPG3] (ILL_PRVREG): Likewise.
4851         [POSIX || XPG3] (ILL_COPROC): Likewise.
4852         [POSIX || XPG3] (ILL_BADSTK): Likewise.
4853         [POSIX || XPG3] (FPE_INTDIV): Likewise.
4854         [POSIX || XPG3] (FPE_INTOVF): Likewise.
4855         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4856         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4857         [POSIX || XPG3] (FPE_FLTUND): Likewise.
4858         [POSIX || XPG3] (FPE_FLTRES): Likewise.
4859         [POSIX || XPG3] (FPE_FLTINV): Likewise.
4860         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4861         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4862         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4863         [POSIX || XPG3] (BUS_ADRALN): Likewise.
4864         [POSIX || XPG3] (BUS_ADRERR): Likewise.
4865         [POSIX || XPG3] (BUS_OBJERR): Likewise.
4866         [POSIX || XPG3] (CLD_EXITED): Likewise.
4867         [POSIX || XPG3] (CLD_KILLED): Likewise.
4868         [POSIX || XPG3] (CLD_DUMPED): Likewise.
4869         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4870         [POSIX || XPG3] (CLD_STOPPED): Likewise.
4871         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4872         [POSIX || XPG3] (POLL_IN): Likewise.
4873         [POSIX || XPG3] (POLL_OUT): Likewise.
4874         [POSIX || XPG3] (POLL_MSG): Likewise.
4875         [POSIX || XPG3] (POLL_ERR): Likewise.
4876         [POSIX || XPG3] (POLL_PRI): Likewise.
4877         [POSIX || XPG3] (POLL_HUP): Likewise.
4878         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4879         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4880         (SIG*): Do not allow.
4881         [XPG3] (si_*): Likewise.
4882         [XPG3] (SI_*): Likewise.
4883         [XPG3 || XPG4] (sigev_*): Likewise.
4884         [XPG3 || XPG4] (SIGEV_*): Likewise.
4885         [XPG3 || XPG4] (sival_*): Likewise.
4886         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4887         [POSIX || XPG3] (BUS_*): Likewise.
4888         [POSIX || XPG3] (CLD_*): Likewise.
4889         [POSIX || XPG3] (FPE_*): Likewise.
4890         [POSIX || XPG3] (ILL_*): Likewise.
4891         [POSIX || XPG3] (POLL_*): Likewise.
4892         [POSIX || XPG3] (SEGV_*): Likewise.
4893         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4894         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4895         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4896         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4897         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4898         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4899         Specify type and value.
4900         (TVERSLEN): Likewise.
4901         (REGTYPE): Likewise.
4902         (AREGTYPE): Likewise.
4903         (LNKTYPE): Likewise.
4904         (SYMTYPE): Likewise.
4905         (CHRTYPE): Likewise.
4906         (BLKTYPE): Likewise.
4907         (DIRTYPE): Likewise.
4908         (FIFOTYPE): Likewise.
4909         (CONTTYPE): Likewise.
4910         (TSUID): Likewise.
4911         (TSGID): Likewise.
4912         (TSVTX): Likewise.
4913         (TUREAD): Likewise.
4914         (TUWRITE): Likewise.
4915         (TUEXEC): Likewise.
4916         (TGREAD): Likewise.
4917         (TGWRITE): Likewise.
4918         (TGEXEC): Likewise.
4919         (TOREAD): Likewise.
4920         (TOWRITE): Likewise.
4921         (TOEXEC): Likewise.
4922         [POSIX] (TSVTX): Expect constant.
4924 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4926         * Makefile (tests): Change dependencies to ....
4927         (tests-special): ... additions to this variable.
4928         (tests): Depend on $(tests-special).
4929         * Makerules (check-abi-list): New variable.
4930         (check-abi): Depend on $(check-abi-list).
4931         [$(subdir) = elf] (tests-special): Add
4932         $(objpfx)check-abi-libc.out.
4933         [$(build-shared) = yes && subdir] (tests-special): Add
4934         $(check-abi-list).
4935         [$(build-shared) = yes && subdir] (tests): Do not depend on
4936         check-abi.
4937         * Rules (tests): Depend on $(tests-special).
4938         (xtests): Depend on $(xtests-special).
4939         * catgets/Makefile (tests): Change dependencies to ....
4940         (tests-special): ... additions to this variable.
4941         * conform/Makefile (tests): Change dependencies to ....
4942         (tests-special): ... additions to this variable.
4943         * elf/Makefile (tests): Change dependencies to ....
4944         (tests-special): ... additions to this variable.
4945         * grp/Makefile (tests): Change dependencies to ....
4946         (tests-special): ... additions to this variable.
4947         * iconv/Makefile (xtests): Change dependencies to ....
4948         (xtests-special): ... additions to this variable.
4949         * iconvdata/Makefile (tests): Change dependencies to ....
4950         (tests-special): ... additions to this variable.
4951         * intl/Makefile (tests): Change dependencies to ....
4952         (tests-special): ... additions to this variable.  Also add
4953         $(objpfx)tst-gettext.out.
4954         * io/Makefile (tests): Change dependencies to ....
4955         (tests-special): ... additions to this variable.
4956         * libio/Makefile (tests): Change dependencies to ....
4957         (tests-special): ... additions to this variable.
4958         * malloc/Makefile (tests): Change dependencies to ....
4959         (tests-special): ... additions to this variable.
4960         * misc/Makefile (tests): Change dependencies to ....
4961         (tests-special): ... additions to this variable.
4962         * nptl/Makefile (tests): Change dependencies to ....
4963         (tests-special): ... additions to this variable.
4964         * nptl_db/Makefile (tests): Change dependencies to ....
4965         (tests-special): ... additions to this variable.
4966         * posix/Makefile (tests): Change dependencies to ....
4967         (tests-special): ... additions to this variable.
4968         (xtests): Change dependencies to ....
4969         (xtests-special): ... additions to this variable.
4970         * resolv/Makefile (tests): Change dependencies to ....
4971         (tests-special): ... additions to this variable.
4972         (xtests): Change dependencies to ....
4973         (xtests-special): ... additions to this variable.
4974         * stdio-common/Makefile (tests): Change dependencies to ....
4975         (tests-special): ... additions to this variable.
4976         (do-tst-unbputc): Remove target.
4977         (do-tst-printf): Likewise.
4978         * stdlib/Makefile (tests): Change dependencies to ....
4979         (tests-special): ... additions to this variable.
4980         * string/Makefile (tests): Change dependencies to ....
4981         (tests-special): ... additions to this variable.
4982         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4983         (tests-special): ... additions to this variable.
4985         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4986         whole file.
4987         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4988         whole file.
4989         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4990         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4992         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4993         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4994         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4995         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4996         * conform/data/libgen.h-data [XPG3]: Likewise.
4997         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4998         * conform/data/ndbm.h-data [XPG3]: Likewise.
4999         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5000         * conform/data/netdb.h-data [XPG3]: Likewise.
5001         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5002         * conform/data/poll.h-data [XPG3]: Likewise.
5003         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5004         * conform/data/strings.h-data [XPG3]: Likewise.
5005         * conform/data/stropts.h-data [XPG3]: Likewise.
5006         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5007         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5008         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5009         Likewise.
5010         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5011         * conform/data/sys/time.h-data [XPG3]: Likewise.
5012         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5013         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5014         * conform/data/sys/un.h-data [XPG3]: Likewise.
5015         * conform/data/syslog.h-data [XPG3]: Likewise.
5016         * conform/data/ucontext.h-data [XPG3]: Likewise.
5017         * conform/data/utmpx.h-data [XPG3]: Likewise.
5018         * conform/data/varargs.h-data [UNIX98]: Enable file.
5020         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5022         * math/libm-test.inc (struct test_f_f_data): Move expected results
5023         into structure for each rounding mode.
5024         (struct test_ff_f_data): Likewise.
5025         (struct test_ff_f_data_nexttoward): Likewise.
5026         (struct test_fi_f_data): Likewise.
5027         (struct test_fl_f_data): Likewise.
5028         (struct test_if_f_data): Likewise.
5029         (struct test_fff_f_data): Likewise.
5030         (struct test_c_f_data): Likewise.
5031         (struct test_f_f1_data): Likewise.
5032         (struct test_fF_f1_data): Likewise.
5033         (struct test_ffI_f1_data): Likewise.
5034         (struct test_c_c_data): Likewise.
5035         (struct test_cc_c_data): Likewise.
5036         (struct test_f_i_data): Likewise.
5037         (struct test_ff_i_data): Likewise.
5038         (struct test_f_l_data): Likewise.
5039         (struct test_f_L_data): Likewise.
5040         (struct test_fFF_11_data): Likewise.
5041         (RM_): New macro.
5042         (RM_FE_DOWNWARD): Likewise.
5043         (RM_FE_TONEAREST): Likewise.
5044         (RM_FE_TOWARDZERO): Likewise.
5045         (RM_FE_UPWARD): Likewise.
5046         (RUN_TEST_LOOP_f_f): Update references to expected results.
5047         (RUN_TEST_LOOP_2_f): Likewise.
5048         (RUN_TEST_LOOP_fff_f): Likewise.
5049         (RUN_TEST_LOOP_c_f): Likewise.
5050         (RUN_TEST_LOOP_f_f1): Likewise.
5051         (RUN_TEST_LOOP_fF_f1): Likewise.
5052         (RUN_TEST_LOOP_fI_f1): Likewise.
5053         (RUN_TEST_LOOP_ffI_f1): Likewise.
5054         (RUN_TEST_LOOP_c_c): Likewise.
5055         (RUN_TEST_LOOP_cc_c): Likewise.
5056         (RUN_TEST_LOOP_f_i): Likewise.
5057         (RUN_TEST_LOOP_f_i_tg): Likewise.
5058         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5059         (RUN_TEST_LOOP_f_b): Likewise.
5060         (RUN_TEST_LOOP_f_b_tg): Likewise.
5061         (RUN_TEST_LOOP_f_l): Likewise.
5062         (RUN_TEST_LOOP_f_L): Likewise.
5063         (RUN_TEST_LOOP_fFF_11): Likewise.
5064         * math/gen-libm-test.pl (parse_args): Output four copies of
5065         expected results for each test.
5067         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5068         (__ASSUME_UTIMES): Remove.
5069         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5070         (__ASSUME_UTIMES): Likewise.
5072         * math/gen-auto-libm-tests.c: Update comment on output format.
5073         (output_for_one_input_case): Generate before-rounding and
5074         after-rounding information as conditions on output flags not
5075         floating-point format.
5076         * math/auto-libm-test-out: Regenerated.
5077         * math/gen-libm-test.pl (cond_value): New function.
5078         (or_cond_value): Use cond_value.
5079         (generate_testfile): Handle conditional exceptions.
5081 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5083         * math/libm-test.inc (max_valid_error): New variable.
5084         (init_max_error): Take new argument specifying whether function
5085         results are exactly determined.  Set max_valid_error and bound
5086         other variables for errors based on this argument.
5087         (set_max_error): Do not record results above max_valid_error.
5088         (check_float_internal): Only accept errors of up to 0.5ulps if
5089         also at most max_valid_error.
5090         (START): Take new argument EXACT and pass it to init_max_error.
5091         (acos_test): Update call to START.
5092         (acos_test_tonearest): Likewise.
5093         (acos_test_towardzero): Likewise.
5094         (acos_test_downward): Likewise.
5095         (acos_test_upward): Likewise.
5096         (acosh_test): Likewise.
5097         (asin_test): Likewise.
5098         (asin_test_tonearest): Likewise.
5099         (asin_test_towardzero): Likewise.
5100         (asin_test_downward): Likewise.
5101         (asin_test_upward): Likewise.
5102         (asinh_test): Likewise.
5103         (atan_test): Likewise.
5104         (atanh_test): Likewise.
5105         (atan2_test): Likewise.
5106         (cabs_test): Likewise.
5107         (cacos_test): Likewise.
5108         (cacosh_test): Likewise.
5109         (carg_test): Likewise.
5110         (casin_test): Likewise.
5111         (casinh_test): Likewise.
5112         (catan_test): Likewise.
5113         (catanh_test): Likewise.
5114         (cbrt_test): Likewise.
5115         (ccos_test): Likewise.
5116         (ccosh_test): Likewise.
5117         (ceil_test): Likewise.
5118         (cexp_test): Likewise.
5119         (cimag_test): Likewise.
5120         (clog_test): Likewise.
5121         (clog10_test): Likewise.
5122         (conj_test): Likewise.
5123         (copysign_test): Likewise.
5124         (cos_test): Likewise.
5125         (cos_test_tonearest): Likewise.
5126         (cos_test_towardzero): Likewise.
5127         (cos_test_downward): Likewise.
5128         (cos_test_upward): Likewise.
5129         (cosh_test): Likewise.
5130         (cosh_test_tonearest): Likewise.
5131         (cosh_test_towardzero): Likewise.
5132         (cosh_test_downward): Likewise.
5133         (cosh_test_upward): Likewise.
5134         (cpow_test): Likewise.
5135         (cproj_test): Likewise.
5136         (creal_test): Likewise.
5137         (csin_test): Likewise.
5138         (csinh_test): Likewise.
5139         (csqrt_test): Likewise.
5140         (ctan_test): Likewise.
5141         (ctan_test_tonearest): Likewise.
5142         (ctan_test_towardzero): Likewise.
5143         (ctan_test_downward): Likewise.
5144         (ctan_test_upward): Likewise.
5145         (ctanh_test): Likewise.
5146         (ctanh_test_tonearest): Likewise.
5147         (ctanh_test_towardzero): Likewise.
5148         (ctanh_test_downward): Likewise.
5149         (ctanh_test_upward): Likewise.
5150         (erf_test): Likewise.
5151         (erfc_test): Likewise.
5152         (exp_test): Likewise.
5153         (exp_test_tonearest): Likewise.
5154         (exp_test_towardzero): Likewise.
5155         (exp_test_downward): Likewise.
5156         (exp_test_upward): Likewise.
5157         (exp10_test): Likewise.
5158         (exp10_test_tonearest): Likewise.
5159         (exp10_test_towardzero): Likewise.
5160         (exp10_test_downward): Likewise.
5161         (exp10_test_upward): Likewise.
5162         (pow10_test): Likewise.
5163         (exp2_test): Likewise.
5164         (expm1_test): Likewise.
5165         (expm1_test_tonearest): Likewise.
5166         (expm1_test_towardzero): Likewise.
5167         (expm1_test_downward): Likewise.
5168         (expm1_test_upward): Likewise.
5169         (fabs_test): Likewise.
5170         (fdim_test): Likewise.
5171         (floor_test): Likewise.
5172         (fma_test): Likewise.
5173         (fma_test_towardzero): Likewise.
5174         (fma_test_downward): Likewise.
5175         (fma_test_upward): Likewise.
5176         (fmax_test): Likewise.
5177         (fmin_test): Likewise.
5178         (fmod_test): Likewise.
5179         (fpclassify_test): Likewise.
5180         (frexp_test): Likewise.
5181         (hypot_test): Likewise.
5182         (ilogb_test): Likewise.
5183         (isfinite_test): Likewise.
5184         (finite_test): Likewise.
5185         (isgreater_test): Likewise.
5186         (isgreaterequal_test): Likewise.
5187         (isinf_test): Likewise.
5188         (isless_test): Likewise.
5189         (islessequal_test): Likewise.
5190         (islessgreater_test): Likewise.
5191         (isnan_test): Likewise.
5192         (isnormal_test): Likewise.
5193         (issignaling_test): Likewise.
5194         (isunordered_test): Likewise.
5195         (j0_test): Likewise.
5196         (j1_test): Likewise.
5197         (jn_test): Likewise.
5198         (ldexp_test): Likewise.
5199         (lgamma_test): Likewise.
5200         (gamma_test): Likewise.
5201         (lrint_test): Likewise.
5202         (lrint_test_tonearest): Likewise.
5203         (lrint_test_towardzero): Likewise.
5204         (lrint_test_downward): Likewise.
5205         (lrint_test_upward): Likewise.
5206         (llrint_test): Likewise.
5207         (llrint_test_tonearest): Likewise.
5208         (llrint_test_towardzero): Likewise.
5209         (llrint_test_downward): Likewise.
5210         (llrint_test_upward): Likewise.
5211         (log_test): Likewise.
5212         (log10_test): Likewise.
5213         (log1p_test): Likewise.
5214         (log2_test): Likewise.
5215         (logb_test): Likewise.
5216         (logb_test_downward): Likewise.
5217         (lround_test): Likewise.
5218         (llround_test): Likewise.
5219         (modf_test): Likewise.
5220         (nearbyint_test): Likewise.
5221         (nextafter_test): Likewise.
5222         (nexttoward_test): Likewise.
5223         (pow_test): Likewise.
5224         (pow_test_tonearest): Likewise.
5225         (pow_test_towardzero): Likewise.
5226         (pow_test_downward): Likewise.
5227         (pow_test_upward): Likewise.
5228         (remainder_test): Likewise.
5229         (drem_test): Likewise.
5230         (remainder_test_tonearest): Likewise.
5231         (drem_test_tonearest): Likewise.
5232         (remainder_test_towardzero): Likewise.
5233         (drem_test_towardzero): Likewise.
5234         (remainder_test_downward): Likewise.
5235         (drem_test_downward): Likewise.
5236         (remainder_test_upward): Likewise.
5237         (drem_test_upward): Likewise.
5238         (remquo_test): Likewise.
5239         (rint_test): Likewise.
5240         (rint_test_tonearest): Likewise.
5241         (rint_test_towardzero): Likewise.
5242         (rint_test_downward): Likewise.
5243         (rint_test_upward): Likewise.
5244         (round_test): Likewise.
5245         (scalb_test): Likewise.
5246         (scalbn_test): Likewise.
5247         (scalbln_test): Likewise.
5248         (signbit_test): Likewise.
5249         (sin_test): Likewise.
5250         (sin_test_tonearest): Likewise.
5251         (sin_test_towardzero): Likewise.
5252         (sin_test_downward): Likewise.
5253         (sin_test_upward): Likewise.
5254         (sincos_test): Likewise.
5255         (sinh_test): Likewise.
5256         (sinh_test_tonearest): Likewise.
5257         (sinh_test_towardzero): Likewise.
5258         (sinh_test_downward): Likewise.
5259         (sinh_test_upward): Likewise.
5260         (sqrt_test): Likewise.
5261         (sqrt_test_tonearest): Likewise.
5262         (sqrt_test_towardzero): Likewise.
5263         (sqrt_test_downward): Likewise.
5264         (sqrt_test_upward): Likewise.
5265         (tan_test): Likewise.
5266         (tan_test_tonearest): Likewise.
5267         (tan_test_towardzero): Likewise.
5268         (tan_test_downward): Likewise.
5269         (tan_test_upward): Likewise.
5270         (tanh_test): Likewise.
5271         (tgamma_test): Likewise.
5272         (trunc_test): Likewise.
5273         (y0_test): Likewise.
5274         (y1_test): Likewise.
5275         (yn_test): Likewise.
5276         (significand_test): Likewise.
5278         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5279         individual tests in comment.
5280         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5281         (prev_max_error): New variable.
5282         (prev_real_max_error): Likewise.
5283         (prev_imag_max_error): Likewise.
5284         (compare_ulp_data): Don't refer to test names in comment.
5285         (find_test_ulps): Remove function.
5286         (find_function_ulps): Likewise.
5287         (find_complex_function_ulps): Likewise.
5288         (init_max_error): Take function name as argument.  Look up ulps
5289         for that function.
5290         (print_ulps): Remove function.
5291         (print_max_error): Use prev_max_error instead of calling
5292         find_function_ulps.
5293         (print_complex_max_error): Use prev_real_max_error and
5294         prev_imag_max_error instead of calling find_complex_function_ulps.
5295         (check_float_internal): Take max_ulp parameter instead of calling
5296         find_test_ulps.  Don't call print_ulps.
5297         (check_float): Update call to check_float_internal.
5298         (check_complex): Update calls to check_float_internal.
5299         (START): Pass argument to init_max_error.
5300         * math/gen-libm-test.pl (%results): Don't include "kind"
5301         information.
5302         (parse_ulps): Don't handle ulps of individual tests.
5303         (print_ulps_file): Likewise.
5304         (output_ulps): Likewise.
5305         * math/README.libm-test: Update.
5306         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5307         individual tests.
5308         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5309         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5310         * sysdeps/arm/libm-test-ulps: Likewise.
5311         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5312         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5313         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5314         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5315         * sysdeps/microblaze/libm-test-ulps: Likewise.
5316         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5317         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5318         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5319         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5320         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5321         * sysdeps/sh/libm-test-ulps: Likewise.
5322         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5323         * sysdeps/tile/libm-test-ulps: Likewise.
5324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5326 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5328         * math/libm-test.inc (print_complex_max_error): Check separately
5329         whether real and imaginary errors are within allowed range and
5330         pass 0 to print_complex_function_ulps instead of value within
5331         allowed range.
5333 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5335         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5336         formatting.
5337         (get_handles_fopen): Likewise.
5338         (do_write_test): Likewise.
5340         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5342         * libio/fileops.c (do_ftell): Use cached offset when
5343         available.
5344         * libio/iofwide.c (do_ftell_wide): Likewise.
5345         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5346         _IO_file_attach.
5347         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5349         [BZ #16532]
5350         * libio/libioP.h (get_file_offset): New function.
5351         * libio/fileops.c (get_file_offset): Likewise.
5352         (do_ftell): Likewise.
5353         (_IO_new_file_seekoff): Split out ftell logic.
5354         * libio/wfileops.c (do_ftell_wide): Likewise.
5355         (_IO_wfile_seekoff): Split out ftell logic.
5356         * libio/tst-ftell-active-handler.c: New test case.
5357         * libio/Makefile (tests): Add it.
5359 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5361         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5362         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5364 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5366         [BZ #16639]
5367         * nscd/connections.c (nscd_init): Call do_exit.
5368         (start_threads): Call do_exit and notify_parent.
5369         (begin_drop_privileges): Call do_exit.
5370         (finish_drop_privileges): Likewise.
5371         * nscd/selinux.c (preserve_capabilities): Likewise.
5372         (install_real_capabilities): Likewise.
5373         (nscd_selinux_enabled): Likewise.
5374         (avc_create_thread): Likewise.
5375         (avc_alloc_lock): Likewise.
5376         (nscd_avc_init): Likewise.
5377         * nscd/nscd.c (parent_fd): New static variable.
5378         (main): Create a pipe between parent and child processes.
5379         Skip closing parent_fd.
5380         (monitor_child): New function.
5381         (do_exit): Likewise.
5382         (notify_parent): Likewise.
5383         * nscd/nscd.h (notify_parent): Likewise.
5384         (do_exit): Likewise.
5386 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5388         * malloc/malloc.c (__libc_calloc): Revert last change.
5390 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5394 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5396         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5398         implementation.
5399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5400         (__libc_ifunc_impl_list): Likewise.
5401         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5402         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5403         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5404         * string/strrchr.c: Define STRRCHR.
5406 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5408         * benchtest/bench-strtok.c (simple_strtok): Delete.
5409         (strtok_string): Use as benchmark.
5410         * string/strtok (STRTOK): New macro.
5412 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5414         * manual/threads.texi: Add header and standard comments to all
5415         functions.
5417         * elf/dl-lookup.c (check_match): New function.
5418         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5419         (do_lookup_x): Remove nested function check_match. Use non-nested
5420         function check_match.
5422 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5424         * csu/Makefile (generated, before-compile): Use += rather than =.
5425         * catgets/Makefile (generated, generated-dirs): Likewise.
5426         * debug/Makefile (generated): Likewise.
5427         * dlfcn/Makefile (generated): Likewise.
5428         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5429         * iconvdata/Makefile (before-compile, generated): Likewise.
5430         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5431         * libio/Makefile (generated): Likewise.
5432         * malloc/Makefile (generated): Likewise.
5433         * manual/Makefile (generated, generated-dirs): Likewise.
5434         * misc/Makefile (generated): Likewise.
5435         * posix/Makefile (generated): Likewise.
5436         * resolv/Makefile (generated): Likewise.
5437         * sunrpc/Makefile (generated, generated-dirs): Likewise.
5438         * timezone/Makefile (generated, generated-dirs): Likewise.
5440         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5442 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5445         power8 implementation.
5446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5447         file: POWER8 llround ifunc implementation.
5448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5449         (__lllround): Add POWER8 implementation.
5450         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5451         POWER8 llround implementation.
5453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5454         power8 implementation.
5455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5456         file: POWER8 llrint ifunc implementation.
5457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5458         Add POWER8 implementation.
5459         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5460         POWER8 llrint implementation.
5462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5463         power8 implementation.
5464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5465         file: POWER8 finite ifunc implementation.
5466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5467         Add POWER8 implementation.
5468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5469         Likewise.
5470         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5471         POWER8 finite implementation.
5472         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5475         power8 implementation.
5476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5477         file: POWER8 isinf ifunc implementation.
5478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5479         POWER8 implementation.
5480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5481         Likewise.
5482         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5483         isinf implementation.
5484         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5486         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5487         (INIT_ARCH): Add hwcap2 initialization.
5488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5489         power8 implementation.
5490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5491         file: POWER8 isnan ifunc implementation.
5492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5493         POWER8 implementation.
5494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5495         Likewise.
5496         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5497         isnan implementation.
5498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5500 2014-02-27  Joey Ye  <joey.ye@arm.com>
5502         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5503         (_FP_NANFRAC_Q): Set to zero.
5505 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5507         [BZ #16623]
5508         * math/auto-libm-test-in: New test inputs.
5509         * math/auto-libm-test-out: Regenerate.
5510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5511         and DA.
5512         (__cos): Likewise.
5513         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5515 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
5517         * scripts/evaluate-test.sh: Take new argument indicating whether
5518         failure is expected.
5519         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5520         indicating whether failure is expected.
5521         * conform/Makefile (test-xfail-run-conformtest): New variable.
5522         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5523         level.
5524         * posix/Makefile (test-xfail-annexc): New variable.
5525         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5527 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
5529         * argp/Makefile: Include Makeconfig immediately after defining
5530         subdir.
5531         * assert/Makefile: Likewise.
5532         * benchtests/Makefile: Likewise.
5533         * catgets/Makefile: Likewise.
5534         * conform/Makefile: Likewise.
5535         * crypt/Makefile: Likewise.
5536         * csu/Makefile: Likewise.
5537         (all): Remove target.
5538         * ctype/Makefile: Include Makeconfig immediately after defining
5539         subdir.
5540         * debug/Makefile: Likewise.
5541         * dirent/Makefile: Likewise.
5542         * dlfcn/Makefile: Likewise.
5543         * gmon/Makefile: Likewise.
5544         * gnulib/Makefile: Likewise.
5545         * grp/Makefile: Likewise.
5546         * gshadow/Makefile: Likewise.
5547         * hesiod/Makefile: Likewise.
5548         * hurd/Makefile: Likewise.
5549         (all): Remove target.
5550         * iconvdata/Makefile: Include Makeconfig immediately after
5551         defining subdir.
5552         * inet/Makefile: Likewise.
5553         * intl/Makefile: Likewise.
5554         * io/Makefile: Likewise.
5555         * libio/Makefile: Likewise.
5556         (all): Remove target.
5557         * locale/Makefile: Include Makeconfig immediately after defining
5558         subdir.
5559         * login/Makefile: Likewise.
5560         * mach/Makefile: Likewise.
5561         (all): Remove target.
5562         * malloc/Makefile: Include Makeconfig immediately after defining
5563         subdir.
5564         (all): Remove target.
5565         * manual/Makefile: Include Makeconfig immediately after defining
5566         subdir.
5567         * math/Makefile: Likewise.
5568         * misc/Makefile: Likewise.
5569         * nis/Makefile: Likewise.
5570         * nss/Makefile: Likewise.
5571         * po/Makefile: Likewise.
5572         (all): Remove target.
5573         * posix/Makefile: Include Makeconfig immediately after defining
5574         subdir.
5575         * pwd/Makefile: Likewise.
5576         * resolv/Makefile: Likewise.
5577         * resource/Makefile: Likewise.
5578         * rt/Makefile: Likewise.
5579         * setjmp/Makefile: Likewise.
5580         * shadow/Makefile: Likewise.
5581         * signal/Makefile: Likewise.
5582         * socket/Makefile: Likewise.
5583         * soft-fp/Makefile: Likewise.
5584         * stdio-common/Makefile: Likewise.
5585         * stdlib/Makefile: Likewise.
5586         * streams/Makefile: Likewise.
5587         * string/Makefile: Likewise.
5588         * sunrpc/Makefile: Likewise.
5589         (all): Remove target.
5590         * sysvipc/Makefile: Include Makeconfig immediately after defining
5591         subdir.
5592         * termios/Makefile: Likewise.
5593         * time/Makefile: Likewise.
5594         * timezone/Makefile: Likewise.
5595         (all): Remove target.
5596         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5597         subdir.
5598         * wctype/Makefile: Likewise.
5600 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5602         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5603         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5604         (libc_feholdexcept_setround_mips): Ditto.
5605         (libc_feholdsetround): New.
5606         (libc_feholdsetroundf): New.
5607         (libc_feholdsetroundl): New.
5608         (libc_feupdateenv_test_mips): New.
5609         (libc_feupdateenv_test): New.
5610         (libc_feupdateenv_testf): New.
5611         (libc_feupdateenv_testl): New.
5612         (libc_feresetround): New.
5613         (libc_feresetroundf): New.
5614         (libc_feresetroundl): New.
5615         (libc_fetestexcept_mips): New.
5616         (libc_fetestexcept): New.
5617         (libc_fetestexceptf): New.
5618         (libc_fetestexceptl): New.
5619         (HAVE_RM_CTX): New.
5620         (libc_feholdexcept_setround_mips_ctx): New.
5621         (libc_feholdexcept_setround_ctx): New.
5622         (libc_feholdexcept_setroundf_ctx): New.
5623         (libc_feholdexcept_setroundl_ctx): New.
5624         (libc_fesetenv_mips_ctx): New.
5625         (libc_fesetenv_ctx): New.
5626         (libc_fesetenv_ctxf): New.
5627         (libc_fesetenv_ctxl): New.
5628         (libc_feupdateenv_mips_ctx): New.
5629         (libc_feupdateenv_ctx): New.
5630         (libc_feupdateenvf_ctx): New.
5631         (libc_feupdateenvl_ctx): New.
5632         (libc_feholdsetround_mips_ctx): New.
5633         (libc_feholdsetround_ctx): New.
5634         (libc_feholdsetroundf_ctx): New.
5635         (libc_feholdsetroundl_ctx): New.
5636         (libc_feresetround_mips_ctx): New.
5637         (libc_feresetround_ctx): New.
5638         (libc_feresetroundf_ctx): New.
5639         (libc_feresetroundl_ctx): New.
5641 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5643         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5645         * manual/ipc.texi: New file.
5646         * manual/Makefile (chapters): Add ipc.
5647         * manual/job.texi: Add "Inter-Process Communication" to next.
5648         * manual/process.texi: Add "Inter-Process Communication" to prev.
5650 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5654 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5656         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5658         * manual/arith.texi: Fix spaces after sentences.
5659         * manual/charset.texi: Likewise.
5660         * manual/errno.texi: Likewise.
5661         * manual/install.texi: Likewise.
5662         * manual/llio.texi: Likewise.
5663         * manual/locale.texi: Likewise.
5664         * manual/maint.texi: Likewise.
5665         * manual/math.texi: Likewise.
5666         * manual/memory.texi: Likewise.
5667         * manual/message.texi: Likewise.
5668         * manual/probes.texi: Likewise.
5669         * manual/resource.texi: Likewise.
5670         * manual/signal.texi: Likewise.
5671         * manual/socket.texi: Likewise.
5672         * manual/stdio.texi: Likewise.
5673         * manual/string.texi: Likewise.
5674         * manual/time.texi: Likewise.
5675         * manual/users.texi: Likewise.
5677 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5679         [BZ #16632]
5680         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5681         _DEFAULT_SOURCE is defined.
5683 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5684             Carlos O'Donell  <carlos@redhat.com>
5686         [BZ #16613]
5687         * elf/dl-tls.c (_dl_count_modids): New function.
5688         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5689         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5690         audit library and increment generation counter.
5691         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5692         * elf/tst-audit9.c: New file.
5693         * elf/tst-auditmod9a.c: New file.
5694         * elf/tst-auditmod9b.c: New file.
5695         * elf/Makefile: Add rules to build and run tst-audit9.
5697 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5699         [BZ #15347]
5700         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5702 2014-02-25  Will Newton  <will.newton@linaro.org>
5704         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5705         (__longjmp): Restore sp and lr before restoring callee
5706         saved registers.  Add longjmp and longjmp_target
5707         SystemTap probe point.
5708         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5709         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5710         Define to zero to match jmpbuf layout.
5711         * sysdeps/arm/setjmp.S: Include stap-probe.h.
5712         (__sigsetjmp): Save sp and lr before saving callee
5713         saved registers.  Add setjmp SystemTap probe point.
5715 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5717         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5719 2014-02-24  Andreas Schwab  <schwab@suse.de>
5721         [BZ #15804]
5722         * elf/pldd.c (wait_for_ptrace_stop): New function.
5723         (main): Call it after attaching.
5725 2014-02-22  Roland McGrath  <roland@hack.frob.com>
5727         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5728         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5729         Versions files is now verboten.
5730         * hurd/Versions (libc: GLIBC_2.0):
5731         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5732         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5733         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5734         * mach/Versions: Likewise.
5736         * csu/Versions: Remove unused %include.
5737         * resolv/Versions: Likewise.
5739 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
5741         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5742         ($(objpfx)check-local-headers.out): Likewise.
5743         ($(objpfx)begin-end-check.out): Likewise.
5744         * Makerules (check-abi-%.out): Likewise.
5745         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5746         ($(objpfx)test2.cat): Likewise.
5747         ($(objpfx)de/libc.cat): Likewise.
5748         ($(objpfx)test-gencat.out): Likewise.
5749         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5750         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5751         ($(objpfx)noload-mem): Likewise.
5752         ($(objpfx)tst-pathopt.out): Likewise.
5753         ($(objpfx)tst-rtld-load-self.out): Likewise.
5754         ($(objpfx)tst-array1-cmp.out): Likewise.
5755         ($(objpfx)tst-array1-static-cmp.out): Likewise.
5756         ($(objpfx)tst-array2-cmp.out): Likewise.
5757         ($(objpfx)tst-array3-cmp.out): Likewise.
5758         ($(objpfx)tst-array4-cmp.out): Likewise.
5759         ($(objpfx)tst-array5-cmp.out): Likewise.
5760         ($(objpfx)tst-array5-static-cmp.out): Likewise.
5761         ($(objpfx)check-textrel.out): Likewise.
5762         ($(objpfx)check-execstack.out): Likewise.
5763         ($(objpfx)check-localplt.out): Likewise.
5764         ($(objpfx)order2-cmp.out): Likewise.
5765         ($(objpfx)tst-leaks1-mem): Likewise.
5766         ($(objpfx)tst-leaks1-static-mem): Likewise.
5767         ($(objpfx)tst-initorder-cmp.out): Likewise.
5768         ($(objpfx)tst-initorder2-cmp.out): Likewise.
5769         ($(objpfx)tst-unused-dep.out): Likewise.
5770         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5771         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5772         * iconv/Makefile (test-iconvconfig): Likewise.
5773         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5774         ($(objpfx)iconv-test.out): Likewise.
5775         ($(objpfx)tst-tables.out): Likewise.
5776         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5777         ($(objpfx)tst-gettext.out): Likewise.
5778         ($(objpfx)tst-translit.out): Likewise.
5779         ($(objpfx)tst-gettext2.out): Likewise.
5780         ($(objpfx)tst-gettext4.out): Likewise.
5781         ($(objpfx)tst-gettext6.out): Likewise.
5782         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5783         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5784         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5785         ($(objpfx)tst-fopenloc-mem.out): Likewise.
5786         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5787         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5788         * posix/Makefile ($(objpfx)globtest.out): Likewise.
5789         ($(objpfx)wordexp-tst.out): Likewise.
5790         ($(objpfx)annexc.out): Likewise.
5791         ($(objpfx)tst-fnmatch-mem): Likewise.
5792         ($(objpfx)bug-regex2-mem): Likewise.
5793         ($(objpfx)bug-regex14-mem): Likewise.
5794         ($(objpfx)bug-regex21-mem): Likewise.
5795         ($(objpfx)bug-regex31-mem): Likewise.
5796         ($(objpfx)tst-vfork3-mem): Likewise.
5797         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5798         ($(objpfx)tst-pcre-mem): Likewise.
5799         ($(objpfx)tst-boost-mem): Likewise.
5800         ($(objpfx)tst-getconf.out): Likewise.
5801         ($(objpfx)bug-ga2-mem): Likewise.
5802         ($(objpfx)bug-glob2-mem): Likewise.
5803         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5804         ($(objpfx)mtrace-tst-leaks2): Likewise.
5805         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5806         ($(objpfx)tst-printf.out): Likewise.
5807         ($(objpfx)tst-setvbuf1.out): Likewise.
5808         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5809         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5810         ($(objpfx)tst-fmtmsg.out): Likewise.
5811         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5812         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5814         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5815         * bits/sigaction.h [__USE_MISC]: Likewise.
5816         * bits/waitstatus.h: Update #endif comments.
5817         * ctype/ctype.h: Likewise.
5818         * dirent/dirent.h: Likewise.
5819         [__USE_MISC]: Remove redundant conditionals.
5820         * grp/grp.h: Update #endif comments.
5821         [__USE_GNU]: Remove redundant conditionals.
5822         [__USE_MISC]: Likewise.
5823         * inet/netinet/in.h [__USE_GNU]: Likewise.
5824         * io/sys/stat.h [__USE_MISC]: Likewise.
5825         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5826         * libio/bits/stdio.h: Update #endif comments.
5827         [__USE_MISC]: Remove redundant conditionals.
5828         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5829         * libio/stdio.h: Update #endif comments.
5830         [__USE_MISC]: Remove redundant conditionals.
5831         * math/bits/math-finite.h [__USE_MISC]: Likewise.
5832         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5833         * math/math.h: Update #else and #endif comments.
5834         [__USE_MISC]: Remove redundant conditionals.
5835         * misc/sys/uio.h: Update #endif comments.
5836         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5837         * posix/glob.h [__USE_MISC]: Likewise.
5838         * posix/sys/types.h: Update #endif comments.
5839         [__USE_MISC]: Remove redundant conditionals.
5840         * posix/sys/wait.h: Update #endif comments.
5841         [__USE_MISC]: Remove redundant conditionals.
5842         * posix/unistd.h: Update #endif comments.
5843         [__USE_MISC]: Remove redundant conditionals.
5844         * pwd/pwd.h [__USE_GNU]: Likewise.
5845         [__USE_MISC]: Likewise.
5846         * resolv/netdb.h [__USE_GNU]: Likewise.
5847         * signal/signal.h: Update #endif comments.
5848         [__USE_MISC]: Remove redundant conditionals.
5849         * stdlib/stdlib.h: Update #else and #endif comments.
5850         [__USE_MISC]: Remove redundant conditionals.
5851         [__USE_GNU]: Likewise.
5852         * string/bits/string2.h [__USE_MISC]: Likewise.
5853         * string/string.h: Update #endif comments.
5854         [__USE_MISC]: Remove redundant conditionals.
5855         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5856         Likewise.
5857         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5858         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5859         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5860         Likewise.
5861         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5862         Likewise.
5863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5864         comments.
5865         [__USE_MISC]: Remove redundant conditionals.
5866         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5867         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5868         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5869         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5870         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5871         Likewise.
5872         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5873         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5874         Likewise.
5875         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5876         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5877         Likewise.
5878         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5879         Likewise.
5880         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5881         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5882         Likewise.
5883         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5884         Likewise.
5885         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5886         * sysdeps/x86/bits/string.h: Update #endif comments.
5887         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5888         conditionals.
5889         * time/sys/time.h: Update #endif comments.
5890         * time/time.h: Likewise.
5891         [__USE_MISC]: Remove redundant conditionals.
5893 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
5895         [BZ #16600]
5896         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5898 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
5900         * Versions.def (librt): Add GLIBC_2.17.
5902 2014-02-21  Adam Conrad  <adconrad@0c3.net>
5904         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5905         synonym for _SYS_AUXV_H to allow direct inclusion.
5906         * sysdeps/sparc/bits/hwcap.h: Likewise.
5907         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5908         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5909         * sysdeps/sparc/sysdep.h: Likewise.
5911 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5913         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5915 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5917         * benchtests/bench-strrchr.c: Print length instead of position.
5919 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5921         [BZ #16611]
5922         * sysdeps/unix/sysv/linux/kernel-features.h
5923         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5924         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5925         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5926         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5927         Likewise.
5928         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5929         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5930         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5931         (__ASSUME_SENDMMSG): Define instead of using previous
5932         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5933         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5934         (__ASSUME_SENDMMSG_SYSCALL): Define.
5935         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5936         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5937         Likewise.
5938         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5939         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5940         Likewise.
5941         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5942         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5943         Likewise.
5944         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5945         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5946         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5947         [__ASSUME_SENDMMSG]: Change conditionals to
5948         [__ASSUME_SENDMMSG_SOCKETCALL].
5949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5950         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5951         Define.
5952         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5953         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5954         Likewise.
5955         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5956         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5957         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5958         [!__ASSUME_SENDMMSG]: Change conditional to
5959         [!__ASSUME_SENDMMSG_SOCKETCALL].
5960         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5961         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5962         Define.
5964         [BZ #16610]
5965         * sysdeps/unix/sysv/linux/kernel-features.h
5966         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5967         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5968         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5969         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5970         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5971         [__i386__ || __sparc__]
5972         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5973         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5974         (__ASSUME_RECVMMSG): Define instead of using previous
5975         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5976         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5977         (__ASSUME_RECVMMSG_SYSCALL): Define.
5978         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5979         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5980         Likewise.
5981         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5982         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5983         Likewise.
5984         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5985         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5986         Likewise.
5987         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5988         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5989         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5990         [__ASSUME_RECVMMSG]: Change condition to
5991         [__ASSUME_RECVMMSG_SOCKETCALL].
5992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5993         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5994         Define.
5995         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5996         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5997         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5998         Likewise.
5999         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6000         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6001         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6002         [!__ASSUME_RECVMMSG]: Change condition to
6003         [!__ASSUME_RECVMMSG_SOCKETCALL].
6004         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6005         (__ASSUME_RECVMMSG_SYSCALL): Define.
6007         [BZ #16609]
6008         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6009         __powerpc__ || __s390__ || __sh__ || __sparc__]
6010         (__ASSUME_SOCKETCALL): Define.
6011         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6012         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6013         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6014         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6015         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6016         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6017         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6018         (__ASSUME_ACCEPT4): Define instead of using previous
6019         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6020         __powerpc__ || __sparc__ || __s390__)] condition.
6021         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6022         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6023         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6024         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6025         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6026         [!__ASSUME_ACCEPT4]: Change condition to
6027         [!__ASSUME_ACCEPT4_SOCKETCALL].
6028         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6029         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6030         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6031         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6032         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6033         __ASSUME_ACCEPT4_SYSCALL.
6034         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6035         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6036         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6037         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6038         __ASSUME_ACCEPT4_SYSCALL.
6039         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6040         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6041         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6042         [__ASSUME_ACCEPT4]: Change condition to
6043         [__ASSUME_ACCEPT4_SOCKETCALL].
6044         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6045         (__ASSUME_SOCKETCALL): Define.
6046         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6047         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6048         (__ASSUME_SOCKETCALL): Define.
6049         (__ASSUME_ACCEPT4): Remove.
6050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6051         Define.
6052         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6053         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6054         Likewise.
6055         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6056         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6058         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6059         macro.
6060         (HWCAP_ARM_LPAE): Likewise.
6061         (HWCAP_ARM_EVTSTRM): Likewise.
6062         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6063         Add vpfd32, lpae and evtstrm.
6064         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6065         Increase to 22.
6067 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6069         * math/auto-libm-test-in: Add tests of clog10.
6070         * math/auto-libm-test-out: Regenerated.
6071         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6072         * sysdeps/i386/fpu/libm-test-ulps: Update.
6073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6075 2014-02-18  Andreas Schwab  <schwab@suse.de>
6077         [BZ #16574]
6078         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6079         Store non-zero if the second buffer was newly allocated.
6080         (send_dg): Likewise.
6081         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6082         to send_vc and send_dg.
6083         (res_nsend): Pass NULL for ansp2_malloced.
6084         * resolv/res_query.c (__libc_res_nquery): Add parameter
6085         answerp2_malloced and pass it down to __libc_res_nsend.
6086         (res_nquery): Pass additional NULL to __libc_res_nquery.
6087         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6088         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6089         second answer buffer if answerp2_malloced was set.
6090         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6091         (__libc_res_nquerydomain): Add parameter
6092         answerp2_malloced and pass it down to __libc_res_nquery.
6093         (res_nquerydomain): Pass additional NULL to
6094         __libc_res_nquerydomain.
6095         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6096         additional NULL to __libc_res_nsend and __libc_res_nquery.
6097         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6098         additional NULL to __libc_res_nsearch.
6099         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6100         parameter of __libc_res_nsearch to check for separately allocated
6101         second buffer.
6102         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6103         __libc_res_nquery.
6104         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6105         additional NULL to __libc_res_nquery.
6106         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6107         __libc_res_nsearch.
6108         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6109         * include/resolv.h: Update prototypes of __libc_res_nquery,
6110         __libc_res_nsearch, __libc_res_nsend.
6112 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6114         * math/auto-libm-test-in: Add tests of fma.
6115         * math/auto-libm-test-out: Regenerated.
6116         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6117         (fma_towardzero_test_data): Likewise.
6118         (fma_downward_test_data): Likewise.
6119         (fma_upward_test_data): Likewise.
6120         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6121         mpc_mode.
6122         (rounding_modes): Add values for new field.
6123         (func_calc_method): Add value mpfr_fff_f.
6124         (func_calc_desc): Add mpfr_fff_f union field.
6125         (test_function): Add field exact_args.
6126         (FUNC): Add macro argument EXACT_ARGS.
6127         (FUNC_mpfr_f_f): Update call to FUNC.
6128         (FUNC_mpfr_f_f): Likewise.
6129         (FUNC_mpfr_ff_f): Likewise.
6130         (FUNC_mpfr_if_f): Likewise.
6131         (FUNC_mpc_c_f): Likewise.
6132         (FUNC_mpc_c_c): Likewise.
6133         (test_functions): Add fma.  Update calls to FUNC.
6134         (handle_input_arg): Add argument exact_args.
6135         (add_test): Update call to handle_input_arg.
6136         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6137         (output_for_one_input_case): Update call to calc_generic_results.
6138         Recalculate exact zero results in each rounding mode.
6140         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6141         non-negative before setting low bit.
6142         * math/auto-libm-test-in: Mark one asin test possibly having
6143         spurious underflow.
6144         * math/auto-libm-test-out: Regenerated.
6145         * sysdeps/i386/fpu/libm-test-ulps: Update.
6146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6148 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6150         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6151         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6152         ports/sysdeps/unix/sysv/linux/microblaze.
6153         * README: Add missing listing for microblaze*-*-linux-gnu.
6155 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6157         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6158         * sysdeps/unix/sysv/linux/ia64: Move directory from
6159         ports/sysdeps/unix/sysv/linux/ia64.
6160         * README: Update listing for ia64-*-linux-gnu.
6162 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6163             Joseph Myers  <joseph@codesourcery.com>
6165         * Makeconfig (test-name): New variable.
6166         (evaluate-test): Likewise.
6167         * Makerules (do-test-clean): Remove .test-result files.
6168         (common-mostlyclean): Likewise.
6169         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6170         * scripts/evaluate-test.sh: New file.
6172 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6174         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6175         separate $(objpfx)tst-fopenloc-cmp.out and
6176         $(objpfx)tst-fopenloc-mem.out targets.
6177         (tests): Update dependencies.
6178         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6179         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6180         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6181         (tst-rxspencer-no-utf8-ARGS): New variable.
6182         (tst-rxspencer-no-utf8-ENV): Likewise.
6183         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6184         instead of $(objpfx)tst-rxspencer-mem.
6185         ($(objpfx)tst-rxspencer-mem): Change target to
6186         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6187         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6188         * posix/tst-rxspencer-no-utf8.c: New file.
6190         * elf/Makefile ($(objpfx)order.out): Remove rule.
6191         [$(run-built-tests) = yes] (tests): Depend on
6192         $(objpfx)order-cmp.out.
6193         ($(objpfx)order-cmp.out): New rule.
6194         [$(run-built-tests) = yes] (tests): Depend on
6195         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6196         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6197         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6198         $(objpfx)tst-array5-static-cmp.out.
6199         ($(objpfx)tst-array1.out): Remove rule.
6200         ($(objpfx)tst-array1-cmp.out): New rule.
6201         ($(objpfx)tst-array1-static.out): Remove rule.
6202         ($(objpfx)tst-array1-static-cmp.out): New rule.
6203         ($(objpfx)tst-array2.out): Remove rule.
6204         ($(objpfx)tst-array2-cmp.out): New rule.
6205         ($(objpfx)tst-array3.out): Remove rule.
6206         ($(objpfx)tst-array3-cmp.out): New rule.
6207         ($(objpfx)tst-array4.out): Remove rule.
6208         ($(objpfx)tst-array4-cmp.out): New rule.
6209         ($(objpfx)tst-array5.out): Remove rule.
6210         ($(objpfx)tst-array5-cmp.out): New rule.
6211         ($(objpfx)tst-array5-static.out): Remove rule.
6212         ($(objpfx)tst-array5-static-cmp.out): New rule.
6213         [$(run-built-tests) = yes] (tests): Depend on
6214         $(objpfx)order2-cmp.out.
6215         ($(objpfx)order2.out): Remove rule.
6216         ($(objpfx)order2-cmp.out): New rule.
6217         ($(objpfx)tst-initorder.out): Remove rule.
6218         [$(run-built-tests) = yes] (tests): Depend on
6219         $(objpfx)tst-initorder-cmp.out.
6220         ($(objpfx)tst-initorder-cmp.out): New rule.
6221         ($(objpfx)tst-initorder2.out): Remove rule.
6222         [$(run-built-tests) = yes] (tests): Depend on
6223         $(objpfx)tst-initorder2-cmp.out.
6224         ($(objpfx)tst-initorder2-cmp.out): New rule.
6225         [$(run-built-tests) = yes] (tests): Depend on
6226         $(objpfx)tst-unused-dep-cmp.out.
6227         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6228         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6229         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6230         on $(objpfx)tst-setvbuf1-cmp.out.
6231         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6232         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6233         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6234         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6235         ($(objpfx)tst-svc.out): Remove rule.
6236         ($(objpfx)tst-svc-cmp.out): New rule.
6238 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6240         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6241         * ctype/ctype.h [__USE_MISC]: Likewise.
6242         * dirent/dirent.h [__USE_MISC]: Likewise.
6243         * grp/grp.h [__USE_MISC]: Likewise.
6244         * io/fcntl.h [__USE_MISC]: Likewise.
6245         * io/sys/stat.h [__USE_MISC]: Likewise.
6246         * libio/stdio.h [__USE_MISC]: Likewise.
6247         * posix/unistd.h [__USE_MISC]: Likewise.
6248         * pwd/pwd.h [__USE_MISC]: Likewise.
6249         * stdlib.h [__USE_MISC]: Likewise.
6250         * string/bits/string2.h [__USE_MISC]: Likewise.
6251         * string/string.h [__USE_MISC]: Likewise.
6252         * time/time.h [__USE_MISC]: Likewise.
6254 2014-02-13  Andreas Schwab  <schwab@suse.de>
6256         [BZ #16574]
6257         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6258         second answer buffer if it was separately allocated.
6260 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6262         * sysdeps/mips/math-tests.h: Include <features.h>.
6263         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6264         (ROUNDING_TESTS_long_double): Do not define.
6265         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6266         (EXCEPTION_TESTS_long_double): Likewise.
6267         * sysdeps/mips/mips64/libm-test-ulps: Update.
6269         * include/features.h (__USE_BSD): Remove macro definitions.
6270         (__USE_SVID): Likewise.
6271         (_BSD_SOURCE): Likewise.
6272         (_SVID_SOURCE): Likewise.
6273         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6274         from definition of _DEFAULT_SOURCE.
6275         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6276         [_DEFAULT_SOURCE].
6277         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6278         * bits/mman.h [__USE_BSD]: Likewise.
6279         * bits/termios.h [__USE_BSD]: Likewise.
6280         * bits/waitstatus.h [__USE_BSD]: Likewise.
6281         * ctype/ctype.h [__USE_SVID]: Likewise.
6282         * dirent/dirent.h [__USE_BSD]: Likewise.
6283         * grp/grp.h [__USE_SVID]: Likewise.
6284         [__USE_BSD]: Likewise.
6285         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6286         * io/fcntl.h [__USE_BSD]: Likewise.
6287         * io/ftw.h [__USE_BSD]: Likewise.
6288         * io/sys/stat.h [__USE_BSD]: Likewise.
6289         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6290         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6291         * libio/stdio.h [__USE_SVID]: Likewise.
6292         [__USE_BSD]: Likewise.
6293         * math/math.h [__USE_SVID]: Likewise.
6294         [__USE_BSD]: Likewise.
6295         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6296         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6297         * misc/search.h [__USE_SVID]: Likewise.
6298         * misc/sys/mman.h [__USE_BSD]: Likewise.
6299         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6300         * misc/sys/uio.h [__USE_BSD]: Likewise.
6301         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6302         * posix/glob.h [__USE_BSD]: Likewise.
6303         * posix/regex.h [__USE_BSD]: Likewise.
6304         * posix/sys/types.h [__USE_BSD]: Likewise.
6305         [__USE_SVID]: Likewise.
6306         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6307         * posix/sys/wait.h [__USE_BSD]: Likewise.
6308         [__USE_SVID]: Likewise.
6309         * posix/unistd.h [__USE_BSD]: Likewise.
6310         [__USE_SVID]: Likewise.
6311         * pwd/pwd.h [__USE_SVID]: Likewise.
6312         * resolv/netdb.h [__USE_BSD]: Likewise.
6313         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6314         * signal/signal.h [__USE_BSD]: Likewise.
6315         [__USE_SVID]: Likewise.
6316         * socket/sys/socket.h [__USE_BSD]: Likewise.
6317         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6318         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6319         [__USE_SVID]: Likewise.
6320         * string/bits/string2.h [__USE_BSD]: Likewise.
6321         [__USE_SVID]: Likewise.
6322         * string/bits/string3.h [__USE_BSD]: Likewise.
6323         * string/endian.h [__USE_BSD]: Likewise.
6324         * string/string.h [__USE_SVID]: Likewise.
6325         [__USE_BSD]: Likewise.
6326         * string/strings.h [__USE_BSD]: Likewise.
6327         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6328         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6329         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6330         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6331         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6332         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6333         Likewise.
6334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6335         Likewise.
6336         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6337         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6338         Likewise.
6339         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6340         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6341         Likewise.
6342         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6343         Likewise.
6344         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6345         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6346         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6347         Likewise.
6348         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6349         Likewise.
6350         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6351         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6352         * termios/termios.h [__USE_BSD]: Likewise.
6353         * time/sys/time.h [__USE_BSD]: Likewise.
6354         * time/time.h [__USE_BSD]: Likewise.
6355         [__USE_SVID]: Likewise.
6357         * Makefile (subdir_targets): Remove subdir_lint.out.
6359         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6360         (do-tst-printf): Likewise.
6361         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6362         $(objpfx)tst-printf.out.
6364         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6366         * Makerules (check-abi-%): Change target to
6367         $(objpfx)check-abi-%.out.
6368         (check-abi target): Update dependencies.
6369         (check-abi-pattern variable): Redirect output of diff to $@.
6370         (check-abi variable): Likewise.
6371         * elf/Makefile (check-abi): Update dependencies.
6373         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6374         unused.
6375         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6376         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6377         subnormal range.
6378         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6379         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6380         value has largest subnormal exponent.
6381         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6382         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6383         * sysdeps/aarch64/soft-fp/sfp-machine.h
6384         (_FP_TININESS_AFTER_ROUNDING): New macro.
6385         * sysdeps/alpha/soft-fp/sfp-machine.h
6386         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6387         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6388         Likewise.
6389         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6390         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6391         * sysdeps/mips/soft-fp/sfp-machine.h
6392         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6393         * sysdeps/powerpc/soft-fp/sfp-machine.h
6394         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6395         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6396         Likewise.
6397         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6398         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6400         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6401         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6402         Likewise.
6404 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6406         [BZ #16545]
6407         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6408         model 1.
6410 2014-02-12  Richard Henderson  <rth@redhat.com>
6412         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6413         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6414         * sysdeps/unix/sysv/linux/alpha: Move directory from
6415         ports/sysdeps/unix/sysv/linux/alpha.
6416         * README: Update listing for alpha-*-linux-gnu.
6418 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6420         * include/features.h: Update comment documenting feature test
6421         macros.
6422         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6423         _DEFAULT_SOURCE.
6424         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6425         (_SVID_SOURCE): Likewise.
6426         (_DEFAULT_SOURCE): Update description of default features.
6427         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6428         with _GNU_SOURCE.
6429         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6430         (S_ISVTX): Likewise.
6431         * manual/math.texi (Mathematical Constants): Likewise.
6432         * manual/signal.texi (Interrupted Primitives): Likewise.
6433         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6434         * math/test-matherr.c (_SVID_SOURCE): Do not define.
6435         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6436         Don't refer to _SVID_SOURCE in warning text.
6438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6440         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6441         already defined.
6442         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6443         * sysdeps/mips/dl-lookup.c: Remove.
6444         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6446 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6448         [BZ #16447]
6449         * math/auto-libm-test-in: Add testcase for expl.
6450         * math/auto-libm-test-out: Regenerate.
6451         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6452         calculation of unsafe.
6453         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6455 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6457         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6458         * sysdeps/unix/sysv/linux/aarch64: Move directory from
6459         ports/sysdeps/unix/sysv/linux/aarch64.
6460         * README: Update listing for aarch64*-*-linux-gnu.
6462 2014-02-11  Will Newton  <will.newton@linaro.org>
6464         * manual/probes.texi (Mathematical Function Probes): Use
6465         "triggered" instead of "hit".
6467         * manual/probes.texi (Internal Probes): Add documentation
6468         of setjmp, longjmp and longjmp_target probes.
6470         * include/stap-probe.h: Add comment about probe argument
6471         format.
6473         * malloc/mtrace.c (attribute_hidden): Remove unused macro
6474         definition.  (tr_where, tr_freehook, tr_mallochook,
6475         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6477 2014-02-11  David S. Miller  <davem@davemloft.net>
6479         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6480         processing int_tests.
6482 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6484         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6485         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6486         * sysdeps/unix/sysv/linux/mips: Move directory from
6487         ports/sysdeps/unix/sysv/linux/mips.
6488         * README: Update listing for mips-*-linux-gnu and
6489         mips64-*-linux-gnu.
6491 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
6493         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6494         * sysdeps/unix/sysv/linux/m68k: Move directory from
6495         ports/sysdeps/unix/sysv/linux/m68k.
6496         * README: Update listing for m68k-*-linux-gnu.
6498 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
6500         * sysdeps/tile: Move directory from ports/sysdeps/tile.
6501         * sysdeps/unix/sysv/linux/generic: Move directory from
6502         ports/sysdeps/unix/sysv/linux/generic.
6503         * sysdeps/unix/sysv/linux/tile: Move directory from
6504         ports/sysdeps/unix/sysv/linux/tile.
6505         * README: Update listing for tile*-*-linux-gnu.
6507 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
6509         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6510         __builtin_expect.
6511         * benchtests/bench-memmem.c (simple_memmem): Likewise.
6512         * catgets/open_catalog.c (__open_catalog): Likewise.
6513         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6514         * debug/confstr_chk.c: Likewise.
6515         * debug/fread_chk.c (__fread_chk): Likewise.
6516         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6517         * debug/getgroups_chk.c: Likewise.
6518         * debug/mbsnrtowcs_chk.c: Likewise.
6519         * debug/mbsrtowcs_chk.c: Likewise.
6520         * debug/mbstowcs_chk.c: Likewise.
6521         * debug/memcpy_chk.c: Likewise.
6522         * debug/memmove_chk.c: Likewise.
6523         * debug/mempcpy_chk.c: Likewise.
6524         * debug/memset_chk.c: Likewise.
6525         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6526         * debug/strcat_chk.c (__strcat_chk): Likewise.
6527         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6528         * debug/strncat_chk.c (__strncat_chk): Likewise.
6529         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6530         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6531         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6532         * debug/wcpncpy_chk.c: Likewise.
6533         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6534         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6535         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6536         * debug/wcsncpy_chk.c: Likewise.
6537         * debug/wcsnrtombs_chk.c: Likewise.
6538         * debug/wcsrtombs_chk.c: Likewise.
6539         * debug/wcstombs_chk.c: Likewise.
6540         * debug/wmemcpy_chk.c: Likewise.
6541         * debug/wmemmove_chk.c: Likewise.
6542         * debug/wmempcpy_chk.c: Likewise.
6543         * debug/wmemset_chk.c: Likewise.
6544         * dirent/scandirat.c (SCANDIRAT): Likewise.
6545         * dlfcn/dladdr1.c (dladdr1): Likewise.
6546         * dlfcn/dladdr.c (dladdr): Likewise.
6547         * dlfcn/dlclose.c (dlclose_doit): Likewise.
6548         * dlfcn/dlerror.c (__dlerror): Likewise.
6549         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6550         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6551         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6552         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6553         * dlfcn/dlsym.c (dlsym_doit): Likewise.
6554         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6555         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6556         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6557         Likewise.
6558         * elf/dl-conflict.c: Likewise.
6559         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6560         * elf/dl-dst.h: Likewise.
6561         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6562         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6563         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6564         * elf/dl-init.c (call_init, _dl_init): Likewise.
6565         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6566         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6567         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6568         Likewise.
6569         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6570         Likewise.
6571         * elf/dl-minimal.c (__libc_memalign): Likewise.
6572         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6573         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6574         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6575         * elf/dl-sym.c (do_sym): Likewise.
6576         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6577         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6578         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6579         * elf/dl-writev.h (_dl_writev): Likewise.
6580         * elf/ldconfig.c (search_dir): Likewise.
6581         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6582         (dl_main): Likewise.
6583         * elf/setup-vdso.h (setup_vdso): Likewise.
6584         * grp/compat-initgroups.c (compat_call): Likewise.
6585         * grp/fgetgrent.c (fgetgrent): Likewise.
6586         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6587         * grp/putgrent.c (putgrent): Likewise.
6588         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6589         Likewise.
6590         * hurd/hurdinit.c: Likewise.
6591         * iconvdata/8bit-gap.c (struct): Likewise.
6592         * iconvdata/ansi_x3.110.c : Likewise.
6593         * iconvdata/big5.c : Likewise.
6594         * iconvdata/big5hkscs.c : Likewise.
6595         * iconvdata/cp1255.c: Likewise.
6596         * iconvdata/cp1258.c : Likewise.
6597         * iconvdata/cp932.c : Likewise.
6598         * iconvdata/euc-cn.c: Likewise.
6599         * iconvdata/euc-jisx0213.c : Likewise.
6600         * iconvdata/euc-jp.c: Likewise.
6601         * iconvdata/euc-jp-ms.c : Likewise.
6602         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6603         * iconvdata/gb18030.c : Likewise.
6604         * iconvdata/gbbig5.c (const): Likewise.
6605         * iconvdata/gbgbk.c: Likewise.
6606         * iconvdata/gbk.c : Likewise.
6607         * iconvdata/ibm1364.c : Likewise.
6608         * iconvdata/ibm930.c : Likewise.
6609         * iconvdata/ibm932.c: Likewise.
6610         * iconvdata/ibm933.c : Likewise.
6611         * iconvdata/ibm935.c : Likewise.
6612         * iconvdata/ibm937.c : Likewise.
6613         * iconvdata/ibm939.c : Likewise.
6614         * iconvdata/ibm943.c: Likewise.
6615         * iconvdata/iso_11548-1.c: Likewise.
6616         * iconvdata/iso-2022-cn.c : Likewise.
6617         * iconvdata/iso-2022-cn-ext.c : Likewise.
6618         * iconvdata/iso-2022-jp-3.c: Likewise.
6619         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6620         * iconvdata/iso-2022-kr.c : Likewise.
6621         * iconvdata/iso646.c (gconv_end): Likewise.
6622         * iconvdata/iso_6937-2.c : Likewise.
6623         * iconvdata/iso_6937.c : Likewise.
6624         * iconvdata/iso8859-1.c: Likewise.
6625         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6626         * iconvdata/shift_jisx0213.c : Likewise.
6627         * iconvdata/sjis.c : Likewise.
6628         * iconvdata/t.61.c : Likewise.
6629         * iconvdata/tcvn5712-1.c : Likewise.
6630         * iconvdata/tscii.c: Likewise.
6631         * iconvdata/uhc.c : Likewise.
6632         * iconvdata/unicode.c (gconv_end): Likewise.
6633         * iconvdata/utf-16.c (gconv_end): Likewise.
6634         * iconvdata/utf-32.c (gconv_end): Likewise.
6635         * iconvdata/utf-7.c (base64): Likewise.
6636         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6637         * iconv/gconv_close.c (__gconv_close): Likewise.
6638         * iconv/gconv_open.c (__gconv_open): Likewise.
6639         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6640         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6641         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6642         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6643         (ucs4le_internal_loop_single): Likewise.
6644         * iconv/iconv.c (iconv): Likewise.
6645         * iconv/iconv_close.c: Likewise.
6646         * iconv/loop.c (SINGLE): Likewise.
6647         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6648         * include/atomic.h: Likewise.
6649         * inet/inet6_option.c (option_alloc): Likewise.
6650         * intl/bindtextdom.c (set_binding_values): Likewise.
6651         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6652         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6653         * intl/localealias.c (read_alias_file): Likewise.
6654         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6655         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6656         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6657         * libio/fmemopen.c (fmemopen): Likewise.
6658         * libio/iofgets.c (_IO_fgets): Likewise.
6659         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6660         * libio/iofgetws.c (fgetws): Likewise.
6661         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6662         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6663         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6664         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6665         * locale/findlocale.c (_nl_find_locale): Likewise.
6666         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6667         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6668         Likewise.
6669         * locale/setlocale.c (setlocale): Likewise.
6670         * login/programs/pt_chown.c (main): Likewise.
6671         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6672         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6673         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6674         (mmap, mmap64, mremap, munmap): Likewise.
6675         * math/e_exp2l.c: Likewise.
6676         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6677         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6678         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6679         * math/s_catan.c (__catan): Likewise.
6680         * math/s_catanf.c (__catanf): Likewise.
6681         * math/s_catanh.c (__catanh): Likewise.
6682         * math/s_catanhf.c (__catanhf): Likewise.
6683         * math/s_catanhl.c (__catanhl): Likewise.
6684         * math/s_catanl.c (__catanl): Likewise.
6685         * math/s_ccosh.c (__ccosh): Likewise.
6686         * math/s_ccoshf.c (__ccoshf): Likewise.
6687         * math/s_ccoshl.c (__ccoshl): Likewise.
6688         * math/s_cexp.c (__cexp): Likewise.
6689         * math/s_cexpf.c (__cexpf): Likewise.
6690         * math/s_cexpl.c (__cexpl): Likewise.
6691         * math/s_clog10.c (__clog10): Likewise.
6692         * math/s_clog10f.c (__clog10f): Likewise.
6693         * math/s_clog10l.c (__clog10l): Likewise.
6694         * math/s_clog.c (__clog): Likewise.
6695         * math/s_clogf.c (__clogf): Likewise.
6696         * math/s_clogl.c (__clogl): Likewise.
6697         * math/s_csin.c (__csin): Likewise.
6698         * math/s_csinf.c (__csinf): Likewise.
6699         * math/s_csinh.c (__csinh): Likewise.
6700         * math/s_csinhf.c (__csinhf): Likewise.
6701         * math/s_csinhl.c (__csinhl): Likewise.
6702         * math/s_csinl.c (__csinl): Likewise.
6703         * math/s_csqrt.c (__csqrt): Likewise.
6704         * math/s_csqrtf.c (__csqrtf): Likewise.
6705         * math/s_csqrtl.c (__csqrtl): Likewise.
6706         * math/s_ctan.c (__ctan): Likewise.
6707         * math/s_ctanf.c (__ctanf): Likewise.
6708         * math/s_ctanh.c (__ctanh): Likewise.
6709         * math/s_ctanhf.c (__ctanhf): Likewise.
6710         * math/s_ctanhl.c (__ctanhl): Likewise.
6711         * math/s_ctanl.c (__ctanl): Likewise.
6712         * math/w_pow.c: Likewise.
6713         * math/w_powf.c: Likewise.
6714         * math/w_powl.c: Likewise.
6715         * math/w_scalb.c (sysv_scalb): Likewise.
6716         * math/w_scalbf.c (sysv_scalbf): Likewise.
6717         * math/w_scalbl.c (sysv_scalbl): Likewise.
6718         * misc/error.c (error_tail): Likewise.
6719         * misc/pselect.c (__pselect): Likewise.
6720         * nis/nis_callback.c (__nis_create_callback): Likewise.
6721         * nis/nis_call.c (__nisfind_server): Likewise.
6722         * nis/nis_creategroup.c (nis_creategroup): Likewise.
6723         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6724         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6725         * nis/nis_getservlist.c (nis_getservlist): Likewise.
6726         * nis/nis_lookup.c (nis_lookup): Likewise.
6727         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6728         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6729         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6730         * nis/nis_xdr.c (xdr_endpoint): Likewise.
6731         * nis/nss_compat/compat-grp.c (getgrent_next_file)
6732         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6733         * nis/nss_compat/compat-initgroups.c (add_group)
6734         (internal_getgrent_r): Likewise.
6735         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6736         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6737         * nis/nss_compat/compat-spwd.c (getspent_next_file)
6738         (internal_getspnam_r): Likewise.
6739         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6740         (_nss_nis_getaliasbyname_r): Likewise.
6741         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6742         (_nss_nis_getntohost_r): Likewise.
6743         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6744         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6745         (_nss_nis_getgrgid_r): Likewise.
6746         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6747         (internal_nis_gethostent_r, internal_gethostbyname2_r)
6748         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6749         (_nss_nis_gethostbyname4_r): Likewise.
6750         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6751         (initgroups_netid): Likewise.
6752         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6753         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6754         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6755         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6756         (_nss_nis_getprotobynumber_r): Likewise.
6757         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6758         (_nss_nis_getsecretkey): Likewise.
6759         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6760         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6761         (_nss_nis_getpwuid_r): Likewise.
6762         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6763         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6764         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6765         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6766         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6767         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6768         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6769         Likewise.
6770         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6771         (_nss_nisplus_getntohost_r): Likewise.
6772         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6773         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6774         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6775         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6776         Likewise.
6777         * nis/nss_nisplus/nisplus-initgroups.c
6778         (_nss_nisplus_initgroups_dyn): Likewise.
6779         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6780         (_nss_nisplus_getnetbyaddr_r): Likewise.
6781         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6782         (_nss_nisplus_getprotobynumber_r): Likewise.
6783         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6784         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6785         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6786         Likewise.
6787         * nis/nss_nisplus/nisplus-service.c
6788         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6789         (_nss_nisplus_getservbyport_r): Likewise.
6790         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6791         (_nss_nisplus_getspnam_r): Likewise.
6792         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6793         Likewise.
6794         * nscd/aicache.c (addhstaiX): Likewise.
6795         * nscd/cache.c (cache_search, prune_cache): Likewise.
6796         * nscd/connections.c (register_traced_file, send_ro_fd)
6797         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6798         (main_loop_epoll): Likewise.
6799         * nscd/grpcache.c (addgrbyX): Likewise.
6800         * nscd/hstcache.c (addhstbyX): Likewise.
6801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6802         * nscd/mem.c (gc, mempool_alloc): Likewise.
6803         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6804         (addinnetgrX): Likewise.
6805         * nscd/nscd-client.h (__nscd_acquire_maplock)
6806         (__nscd_drop_map_ref): Likewise.
6807         * nscd/nscd_getai.c (__nscd_getai): Likewise.
6808         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6809         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6810         Likewise.
6811         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6812         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6813         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6814         (__nscd_get_map_ref): Likewise.
6815         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6816         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6817         Likewise.
6818         * nscd/pwdcache.c (addpwbyX): Likewise.
6819         * nscd/selinux.c (preserve_capabilities): Likewise.
6820         * nscd/servicescache.c (addservbyX): Likewise.
6821         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6822         * posix/fnmatch.c (fnmatch): Likewise.
6823         * posix/getopt.c (_getopt_internal_r): Likewise.
6824         * posix/glob.c (glob, glob_in_dir): Likewise.
6825         * posix/wordexp.c (exec_comm_child): Likewise.
6826         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6827         (getanswer_r, gaih_getanswer_slice): Likewise.
6828         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6829         * resolv/res_init.c: Likewise.
6830         * resolv/res_mkquery.c (res_nmkquery): Likewise.
6831         * resolv/res_query.c (__libc_res_nquery): Likewise.
6832         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6833         Likewise.
6834         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6835         * stdio-common/perror.c (perror): Likewise.
6836         * stdio-common/printf_fp.c (___printf_fp): Likewise.
6837         * stdio-common/tmpnam.c (tmpnam): Likewise.
6838         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6839         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6840         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6841         Likewise.
6842         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6843         * stdlib/putenv.c (putenv): Likewise.
6844         * stdlib/setenv.c (__add_to_environ): Likewise.
6845         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6846         * stdlib/strtol_l.c (INTERNAL): Likewise.
6847         * string/memmem.c (memmem): Likewise.
6848         * string/strerror.c (strerror): Likewise.
6849         * string/strnlen.c (__strnlen): Likewise.
6850         * string/test-memmem.c (simple_memmem): Likewise.
6851         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6852         * sunrpc/pm_getport.c (__get_socket): Likewise.
6853         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6854         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6855         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6856         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6857         Likewise.
6858         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6859         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6860         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6861         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6862         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6863         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6864         Likewise.
6865         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6866         Likewise.
6867         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6868         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6869         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6870         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6871         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6873         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6874         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6875         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6876         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6877         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6878         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6879         Likewise.
6880         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6881         Likewise.
6882         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6883         Likewise.
6884         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6885         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6887         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6888         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6889         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6890         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6891         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6892         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6893         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6894         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6895         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6896         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6897         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6899         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6900         Likewise.
6901         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6902         Likewise.
6903         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6904         Likewise.
6905         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6906         Likewise.
6907         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6908         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6909         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6910         Likewise.
6911         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6912         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6913         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6914         * sysdeps/posix/sleep.c: Likewise.
6915         * sysdeps/posix/tempname.c: Likewise.
6916         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6917         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6918         Likewise.
6919         * sysdeps/powerpc/powerpc32/dl-machine.h
6920         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6921         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6922         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6923         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6924         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6925         Likewise.
6926         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6928         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6929         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6930         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6931         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6932         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6933         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6934         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6935         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6936         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6937         (elf_machine_lazy_rel): Likewise.
6938         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6939         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6940         (elf_machine_lazy_rel): Likewise.
6941         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6942         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6943         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6944         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6945         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6946         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6947         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6948         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6951         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6952         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6953         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6954         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6955         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6956         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6957         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6958         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6959         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6960         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6961         Likewise.
6962         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6963         (__posix_fallocate64_l64): Likewise.
6964         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6965         (posix_fallocate): Likewise.
6966         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6967         Likewise.
6968         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6969         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6970         (getifaddrs_internal): Likewise.
6971         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6972         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6973         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6974         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6975         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6976         (__posix_fallocate64_l64): Likewise.
6977         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6978         Likewise.
6979         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6980         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6981         (__get_clockfreq): Likewise.
6982         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6983         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6984         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6987         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6988         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6989         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6990         Likewise.
6991         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6992         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6993         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6994         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6995         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6996         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6997         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7000         (posix_fallocate): Likewise.
7001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7002         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7003         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7004         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7005         (elf_machine_rela, elf_machine_rela_relative)
7006         (elf_machine_lazy_rel): Likewise.
7007         * time/asctime.c (asctime_internal): Likewise.
7008         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7009         * time/tzset.c (__tzset_parse_tz): Likewise.
7010         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7011         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7012         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7013         * wcsmbs/wcsmbsload.h: Likewise.
7015         [BZ #15894]
7016         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7018         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7019         (arena_get2): Remove THREAD_STATS conditionals.
7020         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7021         (__malloc_stats, int): Likewise.
7023 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7025         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7026         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7028         * manual/setjmp.texi: Fix typos/grammar errors.
7030         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7031         Only return early when n is <= 0.  Delete unused return statement.
7033         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7034         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7035         * debug/tst-longjmp_chk3.c: New file.
7037         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7038         (test_main): Replace code with set_fortify_handler call.
7039         * debug/test-strcpy_chk.c: Likewise.
7040         * debug/tst-chk1.c: Likewise.
7041         * debug/tst-longjmp_chk.c: Likewise.
7042         * test-skeleton.c: Include fcntl.h & paths.h
7043         (set_fortify_handler): Define.
7045         * debug/tst-longjmp_chk.c: Add header comment and include
7046         ../test-skeleton.c.
7047         (do_test): Mark static.
7048         (TEST_FUNCTION): Define.
7050         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7051         (IP_PMTUDISC_INTERFACE): Likewise.
7052         (IP_MULTICAST_IF): Likewise.
7053         (IP_MULTICAST_TTL): Likewise.
7054         (IP_MULTICAST_LOOP): Likewise.
7055         (IP_ADD_MEMBERSHIP): Likewise.
7056         (IP_DROP_MEMBERSHIP): Likewise.
7057         (IP_UNBLOCK_SOURCE): Likewise.
7058         (IP_BLOCK_SOURCE): Likewise.
7059         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7060         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7061         (IP_MSFILTER): Likewise.
7062         (MCAST_JOIN_GROUP): Likewise.
7063         (MCAST_BLOCK_SOURCE): Likewise.
7064         (MCAST_UNBLOCK_SOURCE): Likewise.
7065         (MCAST_LEAVE_GROUP): Likewise.
7066         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7067         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7068         (MCAST_MSFILTER): Likewise.
7069         (IP_MULTICAST_ALL): Likewise.
7070         (IP_UNICAST_IF): Likewise.
7072         * timezone/Makefile: Delete $(have-ksh) check.
7073         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7074         * timezone/tzselect.ksh: Add +x mode bits.
7076         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7077         (ANON_INODE_FS_MAGIC): Likewise.
7078         (BDEVFS_MAGIC): Likewise.
7079         (BINFMTFS_MAGIC): Likewise.
7080         (BTRFS_TEST_MAGIC): Likewise.
7081         (CRAMFS_MAGIC_WEND): Likewise.
7082         (DEBUGFS_MAGIC): Likewise.
7083         (ECRYPTFS_SUPER_MAGIC): Likewise.
7084         (EXT3_SUPER_MAGIC): Likewise.
7085         (EXT4_SUPER_MAGIC): Likewise.
7086         (FUTEXFS_SUPER_MAGIC): Likewise.
7087         (HOSTFS_SUPER_MAGIC): Likewise.
7088         (HUGETLBFS_MAGIC): Likewise.
7089         (MINIX3_SUPER_MAGIC): Likewise.
7090         (MTD_INODE_FS_MAGIC): Likewise.
7091         (NILFS_SUPER_MAGIC): Likewise.
7092         (OPENPROM_SUPER_MAGIC): Likewise.
7093         (PIPEFS_MAGIC): Likewise.
7094         (PSTOREFS_MAGIC): Likewise.
7095         (QNX6_SUPER_MAGIC): Likewise.
7096         (RAMFS_MAGIC): Likewise.
7097         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7098         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7099         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7100         (SECURITYFS_MAGIC): Likewise.
7101         (SELINUX_MAGIC): Likewise.
7102         (SMACK_MAGIC): Likewise.
7103         (SOCKFS_MAGIC): Likewise.
7104         (SQUASHFS_MAGIC): Likewise.
7105         (STACK_END_MAGIC): Likewise.
7106         (TMPFS_MAGIC): Likewise.
7107         (USBDEVICE_SUPER_MAGIC): Likewise.
7108         (V9FS_MAGIC): Likewise.
7109         (XENFS_SUPER_MAGIC): Likewise.
7110         (CRAMFS_MAGIC): Fix typo in comment.
7111         (EXT2_SUPER_MAGIC): Update comment.
7112         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7114 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7116         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7117         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7118         * sysdeps/unix/sysv/linux/arm: Move directory from
7119         ports/sysdeps/unix/sysv/linux/arm.
7120         * README: Update listing for arm-*-linux-gnueabi.
7122         * README: Remove mention of am33.
7124 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7126         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7127         than the comma operator, to avoid "rhs of comma has no effect"
7128         compiler warnings.
7129         (__sigfillset, __sigandset, __sigorset): Likewise.
7130         * include/signal.h (__sigemptyset): Likewise.
7131         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7133 2014-02-07  Allan McRae  <allan@archlinux.org>
7135         * version.h (RELEASE): Set to "development".
7136         (VERSION): Set to "2.19.90"
7137         * NEWS: Add 2.20 section.
7139 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7141         [BZ #16529]
7142         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7144 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7146         * manual/contrib.texi: Update entry for Carlos O'Donell,
7147         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7149 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7151         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7153         * sysdeps/unix/sysv/linux/kernel-features.h
7154         [__LINUX_KERNEL_VERSION >= 0x020621]
7155         (__ASSUME_PROC_PID_TASK_COMM): Define.
7157 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7159         [BZ #16398]
7160         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7161         conversion when destination buffer does not have enough space.
7162         * libio/tst-ftell-partial-wide.c: New test case.
7163         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7165         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7166         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7167         Leonard and Allan McRae.
7169 2014-02-04  David S. Miller  <davem@davemloft.net>
7171         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7172         32-bit.
7174 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7177         New file
7178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7179         New file
7180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7181         New file.
7182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7183         New file.
7184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7185         New file.
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7187         New file.
7188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7189         New file.
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7191         New file.
7192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7193         New file.
7194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7195         New file.
7196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7197         New file.
7198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7199         New file.
7200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7201         New file.
7203 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7205         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7206         * shlib-versions: Likewise.
7208 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7211         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7212         (abilist-pattern): New variable, set to %-le.abilist.
7214         * Makerules (abilist-pattern): New variable.
7215         (vpath): Use $(abilist-pattern) in place of %.abilist.
7216         (check-abi-% pattern rule): Likewise.
7217         (check-abi, update-abi): Likewise.
7219 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7223 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7225         * manual/startup.texi: Add next, previous, and top entries for
7226         the `Program Arguments' and `Environment Variables' nodes.
7228 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7230         * manual/macros.texi: Add comments before MTASC-safety macros.
7232         * manual/users.texi: Document MTASC-safety properties.
7234         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7235         (pthread_getspecific, pthread_setspecific): Format with
7236         @deftypefun, and add @safety note.
7237         * manual/signal.texi: Move comments that analyze the above
7238         functions to their home place.
7240 2014-02-03  Allan McRae  <allan@archlinux.org>
7242         * po/sl.po: Update Slovenian translation from translation project.
7244 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7246         * manual/time.texi (timegm): Add missing blank after @c.
7247         Reported by Joseph Myers <joseph@codesourcery.com>.
7249 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7251         * manual/check-safety.sh: New.
7252         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7254         * manual/terminal.texi: Document MTASC-safety properties.
7256         * manual/filesys.texi: Document MTASC-safety properties.
7258         * manual/errno.texi: Document MTASC-safety properties.
7260         * manual/intro.texi: Document safety identifiers and
7261         conditionals.
7263         * manual/string.texi (wcstok): Fix prototype.
7264         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7266         * manual/time.texi: Document MTASC-safety properties.
7268         * manual/string.texi: Document MTASC-safety properties.
7270         * manual/threads.texi: Document MTASC-safety properties.
7272         * manual/stdio.texi: Document MTASC-safety properties.
7274         * manual/syslog.texi: Document MTASC-safety properties.
7276         * manual/sysinfo.texi: Document MTASC-safety properties.
7278         * manual/startup.texi: Document MTASC-safety properties.
7280         * manual/socket.texi: Document MTASC-safety properties.
7282         * manual/signal.texi: Document MTASC-safety properties.
7284 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7286         * manual/setjmp.texi: Document MTASC-safety properties.
7288         * manual/search.texi: Document MTASC-safety properties.
7290         * manual/resource.texi: Document MTASC-safety properties.
7292         * manual/process.texi: Document MTASC-safety properties.
7294         * manual/platform.texi: Document MTASC-safety properties.
7296         * manual/pipe.texi: Document MTASC-safety properties.
7298         * manual/pattern.texi: Document MTASC-safety properties.
7300         * manual/message.texi: Document MTASC-safety properties.
7302         [BZ #12751]
7303         * manual/memory.texi: Document MTASC-safety properties.
7305         * manual/math.texi: Document MTASC-safety properties.
7307         * manual/locale.texi: Document MTASC-safety properties.
7309         * manual/llio.texi: Document MTASC-safety properties.
7311         * manual/libdl.texi: New.
7313         * manual/lang.texi: Document MTASC-safety properties.
7315         * manual/job.texi: Document MTASC-safety properties.
7317         * manual/getopt.texi: Document MTASC-safety properties.
7319         * manual/ctype.texi: Document MTASC-safety properties.
7321 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7323         [BZ #16046]
7324         * csu/libc-tls.c (static_map): Remove variable.
7325         (__libc_setup_tls): Use main executable's link map for TLS data.
7326         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7327         casing for LM_ID_BASE and GL(dl_nns).
7328         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7329         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7330         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7331         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7332         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7333         member.
7334         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7335         l_phnum members.
7337 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7339         * manual/debug.texi: Document MTASC-safety properties.
7341 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7343         [BZ #16510]
7344         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7345         of __x86_64__ when disabling x87 inline functions.
7347 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7349         * manual/charset.texi: Document MTASC-safety properties.
7351         * manual/crypt.texi: Document MTASC-safety properties.
7353         * manual/conf.texi: Document MTASC-safety properties.
7355         * manual/arith.texi: Document MTASC-safety properties.
7357         * manual/argp.texi: Document MTASC-safety properties.
7359         * manual/macros.texi: Introduce macros to document multi
7360         thread, asynchronous signal and asynchronous cancellation
7361         safety properties.
7362         * manual/intro.texi: Introduce the properties themselves.
7364 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7366         * sysdeps/sh/sh4/Makefile: New file.
7368 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7370         * math/gen-libm-test.pl ($srcdir): New variable.
7371         ($auto_input): Use it.
7373 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7375         [BZ #16506]
7376         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7377         access beyond array bounds when parsing netgroups file.
7379         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7380         the old buffer before realloc.
7382 2014-01-27  Allan McRae  <allan@archlinux.org>
7384         * po/fr.po: Update French translation from translation project.
7386 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7388         * sysdeps/sh/libm-test-ulps: Regenerate.
7390 2014-01-24  David S. Miller  <davem@davemloft.net>
7392         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7394 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7396         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7397         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7399 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7401         [BZ #16474]
7402         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7403         string pointers after reallocation.
7405 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7407         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7408         __SH4A__ instead of __SH_FPU_ANY__.
7410 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7412         * sysdeps/sh/fpu_control.h: New file.
7413         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7414         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7415         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7416         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7417         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7418         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7419         * sysdeps/sh/sys/ucontext.h: Remove.
7420         * sysdeps/sh/sys: Remove directory.
7422 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7424         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7425         s390/sys/ucontext.h.
7426         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7427         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7429 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
7431         [BZ #15605]
7432         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7434 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7436         [BZ#16431]
7437         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7438         Adjust the vDSO correctly for internal calls.
7439         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7441 2014-01-20  Allan McRae  <allan@archlinux.org>
7443         * po/ca.po: Update Catalan translation from translation project.
7445 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
7447         * sysdeps/s390/sotruss-lib.c: New file.
7449 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7451         [BZ#16430]
7452         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7453         (__GI___gettimeofday): Alias for a different internal symbol to avoid
7454         local calls issues by not having a PLT stub required for IFUNC calls.
7455         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7457 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
7459         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7460         * math/test-fpucw-static.c: Likewise.
7462 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7464         [BZ #16453]
7465         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7467 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7469         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7470         implementation for powerpc.
7472 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
7474         [BZ #14782]
7475         * sysdeps/posix/system.c (__libc_system): Do not enable
7476         asynchronous cancellation.
7478 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7480         [BZ #16427]
7481         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7482         handling only for numbers special also in the IEEE case.
7484 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7486         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7488 2014-01-11  Allan McRae  <allan@archlinux.org>
7490         * po/bg.po: Update Bulgarian translation from translation project.
7492         * po/de.po: Update German translation from translation project.
7494 2014-01-10  Roland McGrath  <roland@hack.frob.com>
7496         * sysdeps/generic/gcc-compat.h: New file.
7498 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7500         * benchtests/asin-inputs: Correct slow inputs.
7501         * benchtests/acos-inputs: Likewise.
7503 2014-01-10  Allan McRae  <allan@archlinux.org>
7505         * po:sv.po: Update Swedish translation from translation project.
7507         * po/vi.po: Update Vietnamese translation from translation project.
7509         * po/eo.po: Update Esperanto translation from translation project.
7511         * po/cs.po: Update Czech translation from translation project.
7513         * po/nl.po: Update Dutch translation from translation project.
7515         * po/pl.po: Update Polish translation from translation project.
7517         * po/ru.po: Update Russian translation from translation project.
7519         * po/uk.po: Update Ukrainian translation from translation project.
7521 2014-01-08  Brooks Moses  <bmoses@google.com>
7523         * elf/dl-load.c: Fix comment typo.
7525 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
7527         * po/header.pot: Rename to...
7528         * po/pot.header: ... this.
7529         * po/Makefile: Use pot.header.
7531 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
7532             Maxim Kuvyrkov  <maxim@kugelworks.com>
7534         [BZ #16394]
7535         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7536         SRC and DEST against LEN.
7538 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7540         [BZ #16414]
7541         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7542         implementation.
7543         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7545 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7549 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
7551         [BZ #16408]
7552         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7553         for large positive arguments.
7555 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
7557         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7559         * math/auto-libm-test-in: Mark various tests with
7560         xfail-rounding:ldbl-128ibm.
7561         * math/auto-libm-test-out: Regenerated.
7563         [BZ #16407]
7564         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7565         Increase overflow threshold.
7567 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
7569         [BZ #14286]
7570         * stdio-common/vfprintf.c: Check for integer overflow.
7572 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7574         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7575         the first argument and return value of __tls_get_addr_internal.
7577 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7579         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7580         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7582 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7584         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7585         * sysdeps/s390/rtld-global-offsets.sym: New file.
7586         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7587         GLIBC_2.19 symbol.
7588         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7589         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7591         ... this.
7592         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7593         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7594         ... this.
7595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7596         Regenerate.
7597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7598         Regenerate.
7599         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7600         halfs of GPRs for high_gprs contexts.
7601         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7602         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7603         field.
7604         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7605         uc_flags field.
7606         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7607         64 bit versions:
7608         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7609         for high GPRs (uc_high_gprs) and for future extensions
7610         (__reserved).
7611         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7612         for future extensions (__reserved).
7613         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7614         64 bit versions:
7615         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7616         SC_HIGHGPRS offset definition.
7617         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7618         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7620         * Versions.def: Add GLIBC_2.19 for libpthread.
7621         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7622         siglongjmp for libpthread with GLIBC_2.19 symver.
7623         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7624         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7625         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7626         * sysdeps/s390/__longjmp.c: New file.
7627         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7628         * sysdeps/s390/longjmp.c: New file.
7629         * sysdeps/s390/setjmp.S: New file.
7630         * sysdeps/s390/sigjmp.S: New file.
7631         * sysdeps/s390/v1-longjmp.c: New file.
7632         * sysdeps/s390/v1-setjmp.h: New file.
7633         * sysdeps/s390/v1-sigjmp.c: New file.
7634         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7635         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7636         GLIBC_2.19 version.
7637         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7638         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7639         versioned symbols for ____longjmp_chk.
7640         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7641         Likewise.
7642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7643         Regenerate.
7644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7645         Regenerate.
7646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7647         Regenerate.
7648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7649         Regenerate.
7650         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7651         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7652         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7653         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7654         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7655         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7656         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7657         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7658         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7659         * sysdeps/s390/rtld-__longjmp.c: New file.
7660         * sysdeps/s390/rtld-setjmp.S: New file.
7662 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7664         [BZ #16400]
7665         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7666         Return -__logl (x) for small positive arguments without evaluating
7667         a polynomial.
7669 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7671         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7672         Rename to ...
7673         (__ptrace_peeksiginfo_args): ... this.
7674         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7678 2014-01-06  Allan McRae  <allan@archlinux.org>
7680         * inet/netinet/in.h: Fix typo in comment.
7682 2014-01-05  Andreas Jaeger  <aj@suse.de>
7684         * sysdeps/i386/fpu/libm-test-ulps: Update.
7686 2014-01-05  Allan McRae  <allan@archlinux.org>
7688         * po/libc.pot: Regenerated.
7690         * malloc/memusagestat.c: Fix gettext call formatting.
7692 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7694         * nscd/nscd.c: Improve usage() output.
7696 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7698         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7699         * sysdeps/unix/sysv/linux/configure: Regenerated.
7700         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7701         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7703 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7705         [BZ #16390]
7706         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7707         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7709 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7711         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7712         extra tokens at end of #undef directive.
7713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7714         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7715         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7717 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7719         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7721         * math/auto-libm-test-in: Mark various tests with
7722         xfail-rounding:ldbl-128ibm.
7723         * math/auto-libm-test-out: Regenerated.
7725 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7727         [BZ #16386]
7728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7729         numbers with subnormal high part when calculating exponent.
7731         [BZ #16385]
7732         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7733         fabs.
7735         [BZ #16384]
7736         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7737         M_LN2l.
7738         (__ieee754_acoshl): Use __log1pl not __log1p.
7740 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
7742         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7743         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7744         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7745         (grow_heap, heap_trim, _int_new_arena, get_free_list)
7746         (reused_arena, arena_get2): Convert to GNU style.
7747         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7748         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7749         (memalign_check, __malloc_set_state): Likewise.
7750         * malloc/mallocbug.c (main): Likewise.
7751         * malloc/malloc.c (__malloc_assert, malloc_init_state)
7752         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7753         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7754         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7755         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7756         (__posix_memalign, malloc_info): Likewise.
7757         * malloc/malloc.h: Likewise.
7758         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7759         (mallochook, memalignhook, reallochook, mabort): Likewise.
7760         * malloc/mcheck.h: Likewise.
7761         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7762         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7763         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7764         * malloc/morecore.c (__default_morecore): Likewise.
7765         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7766         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7767         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7768         (print_and_abort): Likewise.
7769         * malloc/obstack.h: Likewise.
7770         * malloc/set-freeres.c (__libc_freeres): Likewise.
7771         * malloc/tst-mallocstate.c (main): Likewise.
7772         * malloc/tst-mtrace.c (main): Likewise.
7773         * malloc/tst-realloc.c (do_test): Likewise.
7775 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7777         [BZ #16366]
7778         * nscd/netgroupcache.c (do_notfound): New function.
7779         (addgetnetgrentX): Use it.
7781         [BZ # 16365]
7782         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7783         NSS_STATUS_NOTFOUND.
7785 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
7787         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7790 2014-01-01  Allan McRae  <allan@archlinux.org>
7792         * scripts/update-copyrights: Update configure input file suffix.
7794         * NEWS: Update copyright year.
7795         * catgets/gencat.c: Likewise.
7796         * csu/version.c: Likewise.
7797         * debug/catchsegv.sh: Likewise.
7798         * debug/pcprofiledump.c: Likewise.
7799         * debug/xtrace.sh: Likewise.
7800         * elf/ldconfig.c: Likewise.
7801         * elf/ldd.bash.in: Likewise.
7802         * elf/pldd.c: Likewise.
7803         * elf/sotruss.ksh: Likewise.
7804         * elf/sprof.c: Likewise.
7805         * iconv/iconv_prog.c: Likewise.
7806         * iconv/iconvconfig.c: Likewise.
7807         * locale/programs/locale.c: Likewise.
7808         * locale/programs/localedef.c: Likewise.
7809         * login/programs/pt_chown.c: Likewise.
7810         * malloc/memusage.sh: Likewise.
7811         * malloc/memusagestat.c: Likewise.
7812         * malloc/mtrace.pl: Likewise.
7813         * manual/libc.texinfo: Likewise.
7814         * nscd/nscd.c: Likewise.
7815         * nss/getent.c: Likewise.
7816         * nss/makedb.c: Likewise.
7817         * posix/getconf.c: Likewise.
7818         * scripts/test-installation.pl: Likewise.
7820         * All files with FSF copyright notices: Update copyright dates
7821         using scripts/update-copyrights.
7822         * intl/plural.c: Regenerated.
7823         * locale/programs/charmap-kw.h: Likewise.
7824         * locale/programs/locfile-kw.h: Likewise.
7826 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
7828         * sysdeps/unix/sysv/linux/configure: Regenerated.
7829         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7830         the linux/fanotify.h header.
7831         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7832         HAVE_LINUX_FANOTIFY_H is defined.
7834 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7836         * benchtests/cos-inputs: New inputs.
7837         * benchtests/sin-inputs: Likewise.
7839         * benchtests/atan-inputs: New inputs. Fix name of multiple
7840         precision fallback inputs.
7842         * benchtests/atanh-inputs: New inputs.
7843         * benchtests/tanh-inputs: Likewise.
7845         * benchtests/acosh-inputs: New inputs.
7846         * benchtests/asinh-inputs: Likewise.
7848         * benchtests/cosh-inputs: New inputs.
7849         * benchtests/sinh-inputs: Likewise.
7851         * benchtests/acos-inputs: Add more inputs.
7852         * benchtests/asin-inputs: Likewise.
7854 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
7856         [BZ #16375]
7857         * manual/arith.texi: Fix spelling.
7858         * manual/charset.texi: Likewise.
7859         * manual/errno.texi: Likewise.
7860         * manual/filesys.texi: Likewise.
7861         * manual/lang.texi: Likewise.
7862         * manual/llio.texi: Likewise.
7863         * manual/locale.texi: Likewise.
7864         * manual/message.texi: Likewise.
7865         * manual/resource.texi: Likewise.
7866         * manual/search.texi: Likewise.
7867         * manual/setjmp.texi: Likewise.
7868         * manual/stdio.texi: Likewise.
7869         * manual/string.texi: Likewise.
7870         * manual/sysinfo.texi: Likewise.
7871         * manual/time.texi: Likewise.
7873 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
7875         * po/sl.po: New file.
7877 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
7879         * .gitignore: Add core/.gdbinit/.gdb_history.
7881 2013-12-27  Allan McRae  <allan@archlinux.org>
7883         [BZ #16369]
7884         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7885         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7887 2013-12-24  Brooks Moses  <bmoses@google.com>
7889         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7890         all compilers that claim C++98 compliance, not just GCC.
7891         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7892         Likewise.
7894 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7896         * NEWS: Restore accidentally deleted bug-fix entries.
7898 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7899             Ondřej Bílka  <neleai@seznam.cz>
7901         [BZ #15073]
7902         * malloc/malloc.c (_int_free): Perform sanity check only if we
7903         have_lock.
7905 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
7907         [BZ #12986]
7908         * manual/stdio.texi (String Input Conversions): Clarify that character
7909         classes are not supported.
7911 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7915 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7917         [BZ #16337]
7918         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7919         Calculate results for small negative arguments directly rather
7920         than using reflection formula with special underflow handling.
7922         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7923         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7924         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7925         (fchflags): Likewise.
7926         (revoke): Likewise.
7927         (setlogin): Likewise.
7928         (sigaltstack): Likewise.
7929         (wait4): Likewise.
7930         (sigblock): Remove.
7931         (sigsetmask): Likewise.
7932         (wait3): Likewise.
7933         (waitpid): Likewise.
7934         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7935         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7936         file.
7937         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7938         * sysdeps/unix/bsd/Makefile: ... here.
7939         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7940         * sysdeps/unix/bsd/Versions: ... here.
7941         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7942         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7943         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7944         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7945         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7946         * sysdeps/unix/bsd/sigblock.c: ... here.
7947         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7948         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7949         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7950         * sysdeps/unix/bsd/sigvec.c: ... here.
7951         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7952         * sysdeps/unix/bsd/tcdrain.c: ... here.
7953         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7954         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7955         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7956         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7957         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7958         * sysdeps/unix/bsd/wait.c: ... here.
7959         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7960         * sysdeps/unix/bsd/wait3.c: ... here.
7961         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7962         * sysdeps/unix/bsd/waitpid.c: ... here.
7964 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7966         [BZ #16356]
7967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7968         round-to-nearest for [!USE_AS_EXPM1L].
7969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7970         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7971         more tests of exp and exp10.  Expect some exp10 tests to miss
7972         exceptions or fail in directed rounding modes.
7973         * math/auto-libm-test-out: Regenerated.
7974         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7975         (exp10_test_tonearest): New function.
7976         (exp10_towardzero_test_data): New array.
7977         (exp10_test_towardzero): New function.
7978         (exp10_downward_test_data): New array.
7979         (exp10_test_downward): New function.
7980         (exp10_upward_test_data): New array.
7981         (exp10_test_upward): New function.
7982         (main): Call the new functions.
7983         * sysdeps/i386/fpu/libm-test-ulps: Update.
7984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7988         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7989         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7990         * math/auto-libm-test-out: Regenerated.
7991         * math/libm-test.inc (acosh_test_data): Add more tests.
7992         (atanh_test_data): Likewise.
7993         (ceil_test_data): Likewise.
7994         (copysign_test_data): Likewise.
7995         * sysdeps/i386/fpu/libm-test-ulps: Update.
7996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7998         * timezone/checktab.awk: Update from tzcode 2013i.
7999         * timezone/private.h: Likewise.
8000         * timezone/scheck.c: Likewise.
8001         * timezone/tzfile.h: Likewise.
8002         * timezone/tzselect.ksh: Likewise.
8003         * timezone/zdump.c: Likewise.
8004         * timezone/zic.c: Likewise.
8006         * math/auto-libm-test-in: Add tests of cpow.
8007         * math/auto-libm-test-out: Regenerated.
8008         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8009         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8010         mpc_cc_c.
8011         (func_calc_desc): Add mpc_cc_c union field.
8012         (test_functions): Add cpow.
8013         (special_fill_2pi): New function.
8014         (special_real_inputs): Add 2pi.
8015         (calc_generic_results): Handle mpc_cc_c.
8016         * sysdeps/i386/fpu/libm-test-ulps: Update.
8017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8019         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8020         csqrt, ctan and ctanh.
8021         * math/auto-libm-test-out: Regenerated.
8022         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8023         (TEST_COND_x86): Likewise.
8024         (ccos_test_data): Use AUTO_TESTS_c_c.
8025         (ccosh_test_data): Likewise.
8026         (cexp_test_data): Likewise.
8027         (clog_test_data): Likewise.
8028         (csqrt_test_data): Likewise.
8029         (ctan_test_data): Likewise.
8030         (ctan_tonearest_test_data): Likewise.
8031         (ctan_towardzero_test_data): Likewise.
8032         (ctan_downward_test_data): Likewise.
8033         (ctan_upward_test_data): Likewise.
8034         (ctanh_test_data): Likewise.
8035         (ctanh_tonearest_test_data): Likewise.
8036         (ctanh_towardzero_test_data): Likewise.
8037         (ctanh_downward_test_data): Likewise.
8038         (ctanh_upward_test_data): Likewise.
8039         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8040         mpc_c_c.
8041         (func_calc_desc): Add mpc_c_c union field.
8042         (FUNC_mpc_c_c): New macro.
8043         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8044         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8045         ctanh.
8046         (special_fill_min_subnorm_p120): New function.
8047         (special_real_inputs): Add min_subnorm_p120.
8048         (calc_generic_results): Handle mpc_c_c.
8049         * sysdeps/i386/fpu/libm-test-ulps: Update.
8050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8054         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8055         (do_sin_slow): New functions.
8056         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8057         (cslow2, csloww1, csloww2): Use the new functions.
8059         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8060         Use M to change sign of result instead of X.  Assume X is
8061         positive.
8062         (csloww1): Likewise.
8063         (__sin): Adjust.
8064         (__cos): Adjust.
8066         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8067         arguments A and DA.
8068         (__sin): Adjust.
8069         (__cos): Likewise.
8071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8072         (__cos): Likewise.
8073         (sloww1): Don't adjust sign of DX.
8074         (csloww1): Likewise.
8075         (sloww2): Use X directly and don't adjust sign of DX.
8076         (csloww2): Likewise.
8078 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8080         * math/auto-libm-test-in: Add tests of cabs and carg.
8081         * math/auto-libm-test-out: Regenerated.
8082         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8083         (carg_test_data): Likewise.
8084         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8085         mpc_c_f.
8086         (func_calc_desc): Add mpc_c_f union field.
8087         (test_functions): Add cabs and carg.
8088         (calc_generic_results): Handle mpc_c_f.
8090         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8091         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8092         as a macro and a compat symbol.
8093         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8094         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8095         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8096         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8097         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8098         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8099         not use .hidden.
8100         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8101         Likewise.
8102         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8103         Likewise.
8104         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8105         Likewise.
8106         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8107         Likewise.
8108         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8109         Likewise.
8110         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8111         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8112         from GLIBC_2.3.2.
8114 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8118 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8120         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8121         trailing whitespace removed.
8122         * scripts/config.guess: Update to version 2013-11-29.
8123         * scripts/config.sub: Update to version 2013-10-01.
8125         * math/auto-libm-test-in: Add tests of sincos.
8126         * math/auto-libm-test-out: Regenerated.
8127         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8128         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8129         mpfr_f_11.
8130         (func_calc_desc): Add mpfr_f_11 union field.
8131         (test_functions): Add sincos.
8132         (calc_generic_results): Handle mpfr_f_11.
8133         * sysdeps/i386/fpu/libm-test-ulps: Update.
8134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8136 2013-12-19  Andreas Schwab  <schwab@suse.de>
8138         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8139         CALL_MCOUNT.
8140         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8141         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8142         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8144 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8146         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8147         * sysdeps/i386/fpu/libm-test-ulps: Update.
8148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8150         [BZ #16293]
8151         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8152         round-to-nearest mode when using frndint.
8153         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8154         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8155         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8156         Likewise.
8157         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8158         sinh test to fail.
8159         * math/auto-libm-test-out: Regenerated.
8160         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8161         (TEST_COND_x86): Likewise.
8162         (expm1_tonearest_test_data): New array.
8163         (expm1_test_tonearest): New function.
8164         (expm1_towardzero_test_data): New array.
8165         (expm1_test_towardzero): New function.
8166         (expm1_downward_test_data): New array.
8167         (expm1_test_downward): New function.
8168         (expm1_upward_test_data): New array.
8169         (expm1_test_upward): New function.
8170         (main): Run the new test functions.
8171         * sysdeps/i386/fpu/libm-test-ulps: Update.
8172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8174         * include/features.h: Update comment documenting feature test
8175         macros.  Mention _DEFAULT_SOURCE in comment.
8176         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8177         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8178         _BSD_SOURCE and _SVID_SOURCE.
8179         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8180         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8181         !_SVID_SOURCE]: Likewise.
8182         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8183         (__USE_POSIX_IMPLICITLY): Define.
8184         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8185         (_POSIX_SOURCE): Undefine and redefine.
8186         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8187         (_POSIX_C_SOURCE): Likewise.
8188         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8189         (Feature Test Macros): Update documentation of default features.
8191 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8193         * benchtests/Makefile: Add bench-strtok.
8194         * benchtests/bench-strtok.c: New file: strtok benchtest.
8196 2013-12-19  Allan McRae  <allan@archlinux.org>
8198         * manual/install.texi: Suppress menu for plain text output.
8199         * INSTALL: Regenerated.
8201 2013-12-18  Brooks Moses  <bmoses@google.com>
8203         [BZ #15846]
8204         * misc/getauxval.c: Include errno.h.
8205         (__getauxval): Set errno to ENOENT if the requested type is not
8206         found.
8207         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8208         don't declare with __attribute_const__.
8209         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8210         * manual/startup.texi: Document that getauxval sets errno.
8212 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8214         * math/auto-libm-test-in: Add tests of jn and yn.
8215         * math/auto-libm-test-out: Regenerated.
8216         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8217         (yn_test_data): Likewise.
8218         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8219         mpfr_if_f.
8220         (func_calc_desc): Add mpfr_if_f union field.
8221         (FUNC_mpfr_if_f): New macro.
8222         (test_functions): Add jn and yn.
8223         (calc_generic_results): Assert type of second input for
8224         mpfr_ff_f.  Handle mpfr_if_f.
8225         (output_for_one_input_case): Disable all checking for arguments
8226         fitting floating-point types in case of an integer argument.
8227         * sysdeps/i386/fpu/libm-test-ulps: Update.
8228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8231         Don't expect fegetround reference in libm.so.
8233 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8235         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8236         $(config-cflags-nofma).
8238 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8240         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8241         * math/auto-libm-test-out: Regenerated.
8243         [BZ #16338]
8244         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8245         to determine exponent and adjust argument to have exponent of -1.
8246         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8247         log2.
8248         * math/auto-libm-test-out: Regenerated.
8249         * sysdeps/i386/fpu/libm-test-ulps: Update.
8250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8252 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8254         * manual/probes.texi: Remove cases when per-thread arenas are
8255         disabled.
8257 2013-12-18  Andreas Schwab  <schwab@suse.de>
8259         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8260         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8261         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8262         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8263         * sysdeps/i386/i686/multiarch/Makefile: Update.
8264         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8266 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8268         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8269         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8271 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8273         [BZ #15968]
8274         Support TZ transition times < 00:00:00.
8275         This is needed for version-3 tz-format files; it supports time
8276         stamps past 2037 for America/Godthab (the only entry in the tz
8277         database for which this change is relevant).
8278         * manual/time.texi (TZ Variable): Document transition times
8279         from -167:59:59 through -00:00:01.
8280         * time/tzset.c (tz_rule): Time of day is now signed.
8281         (__tzset_parse_tz): Parse negative time of day.
8283         Document TZ transition times >= 25:00:00.
8284         * manual/time.texi (TZ Variable): Document transition times from
8285         25:00:00 through 167:59:59.  These are already supported, and this
8286         support will help with version-3 tz-format files.
8288         * manual/time.texi (TZ Variable): Modernize North America example
8289         to reflect current (i.e., 2007-and-later) daylight saving rules.
8291         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8293 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8295         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8296         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8297         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8299         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8300         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8301         * sysdeps/unix/bsd/clock.c: Likewise.
8302         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8303         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8304         * sysdeps/unix/bsd/init-posix.c: Likewise.
8305         * sysdeps/unix/bsd/poll.c: Likewise.
8306         * sysdeps/unix/bsd/ptsname.c: Likewise.
8307         * sysdeps/unix/bsd/seekdir.c: Likewise.
8308         * sysdeps/unix/bsd/setegid.c: Likewise.
8309         * sysdeps/unix/bsd/seteuid.c: Likewise.
8310         * sysdeps/unix/bsd/setgid.c: Likewise.
8311         * sysdeps/unix/bsd/setrgid.c: Likewise.
8312         * sysdeps/unix/bsd/setruid.c: Likewise.
8313         * sysdeps/unix/bsd/setsid.c: Likewise.
8314         * sysdeps/unix/bsd/setuid.c: Likewise.
8315         * sysdeps/unix/bsd/sigaction.c: Likewise.
8316         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8317         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8318         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8319         * sysdeps/unix/bsd/telldir.c: Likewise.
8320         * sysdeps/unix/bsd/times.c: Likewise.
8321         * sysdeps/unix/bsd/usleep.c: Likewise.
8323         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8324         ($(objpfx)libbsd-compat.a): Remove rule.
8326         * include/features.h (__FAVOR_BSD): Do not define.
8327         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8328         features conflicting with POSIX.
8329         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8330         (_BSD_SOURCE): Remove description of not being a subset of other
8331         feature test macros.
8332         * manual/job.texi (getpgrp): Do not document BSD version.
8333         (getpgid): Do not document by reference to BSD getpgrp.
8334         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8335         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8336         * signal/signal.h [__FAVOR_BSD]: Likewise.
8337         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8338         instead of making contents conditional on [__FAVOR_BSD].
8339         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8341 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8345 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8347         [BZ #16314]
8348         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8349         values below 2**-450, not 2**-500.
8350         * math/auto-libm-test-in: Don't allow spurious underflow from
8351         hypot.
8352         * math/auto-libm-test-out: Regenerated.
8354         [BZ #16316]
8355         [BZ #16330]
8356         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8357         values of ha and hb and sort them after adjusting subnormal
8358         arguments.
8359         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8360         Likewise.
8361         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8362         values of ea and eb and sort them after adjusting subnormal
8363         arguments.
8364         * math/auto-libm-test-in: Do not expect some hypot tests of
8365         subnormals to fail.  Add more hypot tests.
8366         * math/auto-libm-test-out: Regenerated.
8368 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8370         [BZ #13304]
8371         * sysdeps/sh/s_fma.c: New file.
8372         * sysdeps/sh/s_fmaf.c: New file.
8373         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8374         version.
8375         * sysdeps/sh/Implies: Add sh/soft-fp.
8377 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8379         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8380         level of indirection to members `objname', `errstring', `malloced'.
8381         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8382         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8383         it as the __longjmp argument (just pass 1 instead).
8384         (_dl_catch_error): Initialize C with argument pointers and address of
8385         volatile local ERRCODE rather than copying values out of C at return.
8387 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8389         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8390         * math/auto-libm-test-out: Regenerated.
8391         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8392         (hypot_test_data): Likewise.
8393         (pow_test_data): Likewise.
8394         (pow_tonearest_test_data): Likewise.
8395         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8396         mpfr_ff_f.
8397         (func_calc_desc): Add mpfr_ff_f union field.
8398         (FUNC_mpfr_ff_f): New macro.
8399         (test_functions): Add atan2, hypot and pow.
8400         (special_fill_min): New function.
8401         (special_fill_minus_min): Likewise.
8402         (special_fill_min_subnorm): Likewise.
8403         (special_fill_minus_min_subnorm): Likewise.
8404         (special_real_inputs): Add min, -min, min_subnorm and
8405         -min_subnorm.
8406         (calc_generic_results): Handle mpfr_ff_f.
8407         * sysdeps/i386/fpu/libm-test-ulps: Update.
8408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8410 2013-12-16  Will Newton  <will.newton@linaro.org>
8412         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8413         (Aligned Memory Blocks): Add documentation for aligned_alloc
8414         and suggest it as an alternative to posix_memalign.
8415         (Hooks for Malloc): Document __memalign_hook is also called
8416         for aligned_alloc.  (Summary of Malloc): Add summary for
8417         aligned alloc.  Document __memalign_hook is also called
8418         for aligned_alloc.
8420 2013-12-16  Will Newton  <will.newton@linaro.org>
8422         * manual/memory.texi (Malloc Examples): Clarify default
8423         alignment documentation.  Suggest posix_memalign rather
8424         than memalign or valloc.
8425         (Aligned Memory Blocks): Remove suggestion to use memalign
8426         or valloc.  Remove obsolete comment about BSD.
8427         Document memalign errno values and mark the function obsolete.
8428         Document posix_memalign returned error codes.  Mark valloc
8429         as obsolete.  (Hooks for Malloc): __memalign_hook is also
8430         called for posix_memalign and valloc.
8431         (Summary of Malloc): Add posix_memalign to function summary.
8432         __memalign_hook is also called for posix_memalign and valloc.
8434 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8436         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8437         TAYLOR_SIN.
8438         (__sin): Adjust.
8439         (__cos): Likewise.
8440         (sloww): Use mynumber union.  Expand ternary operator into
8441         if-else statements.
8442         (cslow): use mynumber union.
8444 2013-12-16  Allan McRae  <allan@archlinux.org>
8446         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8447         * configure: Regenerated.
8449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8451         [BZ #14120]
8452         * configure.ac: Added --enable-maintainer-mode. Check for
8453         autoconf when enabled.
8454         * configure: Regenerated.
8456         * nscd/nscd.service: New file.
8457         * nscd/nscd.tmpfiles: New file.
8459 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
8461         [BZ #12100]
8462         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8463         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8464         * sysdeps/x86_64/multiarch/strstr.c: ... here.
8465         (strstr): Add __strstr_sse2_unaligned ifunc.
8466         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8467         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8468         (strcasestr): Remove __strcasestr_sse42 ifunc.
8469         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8470         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8473 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8475         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8476         * sysdeps/sh/bits/fenv.h: ... here.
8477         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8479 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8481         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8484         hypotf multiarch implementations.
8485         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8488         multiarch hypot for PPC64.
8489         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8490         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8492         multiarch hypotf for PPC64.
8494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8495         modff multiarch implementations.
8496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8499         multiarch modf for PPC64.
8500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8503         multiarch modff for PPC64.
8505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8506         and logl multiarch implementations.
8507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8510         multiarch logb for PPC64.
8511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8514         multiarch logb for PPC64.
8515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8518         multiarch logb for PPC64.
8520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8521         isinff multiarch implementation.
8522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8523         file.
8524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8526         multiarch isinf for PPC64.
8527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8528         file.
8529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8530         multiarch isinff for PPC64.
8532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8533         finitef multiarch implementation.
8534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8535         file.
8536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8538         multiarch finite for PPC64.
8539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8540         file.
8541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8542         multiarch finitef for PPC64.
8544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8545         lrint multiarch implementation.
8546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8547         file.
8548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8550         multiarch llrint for PPC64.
8551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8552         multiarch lrint for PPC64.
8554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8555         copysignf multiarch implementation.
8556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8557         file.
8558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8559         file.
8560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8561         multiarch copysign for PPC64.
8562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8563         multiarch copysignf for PPC64.
8565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8566         multiarch implementation.
8567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8568         file.
8569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8570         file.
8571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8572         file.
8573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8574         file.
8575         multiarch llround for PPC64.
8576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8577         multiarch trunc for PPC64.
8578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8579         multiarch truncf for PPC64.
8581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8582         multiarch implementation.
8583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8584         file.
8585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8586         file.
8587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8588         file.
8589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8590         file.
8591         multiarch llround for PPC64.
8592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8593         multiarch round for PPC64.
8594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8595         multiarch roundf for PPC64.
8597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8598         multiarch implementation.
8599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8600         file.
8601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8602         file.
8603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8604         file.
8605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8606         file.
8607         multiarch llround for PPC64.
8608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8609         multiarch floor for PPC64.
8610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8611         multiarch floorf for PPC64.
8613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8614         multiarch implementation.
8615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8616         file.
8617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8618         file.
8619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8620         file.
8621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8622         file.
8623         multiarch llround for PPC64.
8624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8625         multiarch ceil for PPC64.
8626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8627         multiarch ceilf for PPC64.
8629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8630         multiarch implementation.
8631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8632         file.
8633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8634         file.
8635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8636         file.
8637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8638         multiarch llround for PPC64.
8639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8640         multiarch lround for PPC64.
8642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8643         multiarch implementation.
8644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8647         file.
8648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8651         multiarch isnan for PPC64.
8652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8653         multiarch isnanf for PPC64.
8655         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8656         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8657         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8658         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8659         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8662         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8663         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8668         multiarch implementations.
8669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8670         (__libc_ifunc_impl_list): Likewise.
8671         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8674         multiarch stpcpy for PPC64.
8676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8677         multiarch implementations.
8678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8679         (__libc_ifunc_impl_list): Likewise.
8680         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8682         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8683         multiarch strcpy for PPC64.
8685         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8686         redefine function name.
8687         (_wordcopy_fwd_dest_aligned): Likewise.
8688         (_wordcopy_bwd_aligned): Likewise.
8689         (_wordcopy_bwd_dest_aligned): Likewise.
8690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8691         multiarch implementations.
8692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8693         (__libc_ifunc_impl_list): Likewise.
8694         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8698         multiarch wcscpy for PPC64.
8700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8701         multiarch implementations.
8702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8703         (__libc_ifunc_impl_list): Likewise.
8704         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8705         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8708         multiarch wcscpy for PPC64.
8710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8711         multiarch implementations.
8712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8713         (__libc_ifunc_impl_list): Likewise.
8714         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8715         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8717         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8718         multiarch wcsrchr for PPC64.
8720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8721         multiarch implementations.
8722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8723         (__libc_ifunc_impl_list): Likewise.
8724         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8725         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8726         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8727         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8728         multiarch wcschr for PPC64.
8730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8731         multiarch implementations.
8732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8733         (__libc_ifunc_impl_list): Likewise.
8734         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8735         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8737         multiarch strchrnul for PPC64.
8739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8740         implementations.
8741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8742         (__libc_ifunc_impl_list): Likewise.
8743         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8744         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8745         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8746         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8747         strchr for PPC64.
8749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8750         implementations.
8751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8752         (__libc_ifunc_impl_list): Likewise.
8753         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8754         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8756         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8757         strncmp for PPC64.
8759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8760         multiarch implementations.
8761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8762         (__libc_ifunc_impl_list): Likewise.
8763         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8764         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8765         strncasecmp for PPC64.
8766         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8767         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8768         multiarch strncasecmp_l for PPC64.
8770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8771         multiarch implementations.
8772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8773         (__libc_ifunc_impl_list): Likewise.
8774         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8775         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8776         multiarch strcasecmp for PPC64.
8777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8778         file.
8779         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8780         multiarch strcasecmp_l for PPC64.
8782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8783         implementations.
8784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8785         (__libc_ifunc_impl_list): Likewise.
8786         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8787         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8788         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8789         strnlen for PPC64.
8791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8792         implementations.
8793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8794         (__libc_ifunc_impl_list): Likewise.
8795         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8796         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8797         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8798         strlen for PPC64.
8800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8801         implementations.
8802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8803         (__libc_ifunc_impl_list): Likewise.
8804         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8805         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8807         rawmemrchr for PPC64.
8809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8810         implementation.
8811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8812         (__libc_ifunc_impl_list): Likewise.
8813         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8814         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8815         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8816         memrchr for PPC64.
8818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8819         implementation.
8820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8821         (__libc_ifunc_impl_list): Likewise.
8822         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8823         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8824         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8825         memchr for PPC64.
8827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8828         implementation.
8829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8830         (__libc_ifunc_impl_list): Likewise.
8831         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8832         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8833         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8834         mempcpy for PPC64.
8836         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8837         avoid cretion of __bzero symbol.
8838         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8839         Likewise.
8840         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8841         Likewise.
8842         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8843         Likewise.
8844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8845         multiarch implementations.
8846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8847         (__libc_ifunc_impl_list): Likewise.
8848         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8849         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8850         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8851         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8852         bzero for PPC32.
8853         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8854         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8855         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8856         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8857         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8858         memset for PPC64.
8859         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8861         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8863         implementations.
8864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8865         (__libc_ifunc_impl_list): Likewise.
8866         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8867         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8869         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8870         memcmp for PPC64.
8872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8873         multiarch for POWER/PPC64.
8874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8875         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8876         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8877         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8879         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8880         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8881         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8882         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8883         memcpy for PPC64.
8885         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8886         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8887         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8888         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8889         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8890         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8891         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8892         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8893         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8894         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8895         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8896         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8897         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8898         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8899         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8908 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8910         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8912 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8914         * benchtests/Makefile (bench): Add exp2 and log2.
8915         (LDLIBS-bench-exp2): Add -lm.
8916         (LDLIBS-bench-log2): Likewise.
8917         * benchtests/exp2-inputs: New inputs file.
8918         * benchtests/log2-inputs: New inputs file.
8919         * benchtests/log-inputs: Add new inputs.
8920         * benchtests/tan-inputs: Likewise.
8922 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8924         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8925         definition...
8926         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8927         (csloww2): ... from here.
8929         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8930         instead of structures.
8931         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8932         (POLYNOMIAL): Likewise.
8933         (TAYLOR_SLOW): Likewise.
8934         (__sin): Likewise.
8935         (__cos): Likewise.
8936         (slow1): Likewise.
8937         (slow2): Likewise.
8938         (sloww): Likewise.
8939         (sloww1); Likewise.
8940         (sloww2): Likewise.
8941         (bsloww1): Likewise.
8942         (bsloww2): Likewise.
8943         (cslow2): Likewise.
8944         (csloww): Likewise.
8945         (csloww1): Likewise.
8946         (csloww2): Likewise.
8948 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8950         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8951         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8952         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8953         * malloc/hooks.c (realloc_check): Likewise.
8955         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8956         * malloc/arena.c: Remove PER_THREAD conditional.
8957         [!PER_THREAD]: Remove code.
8958         (ptmalloc_unlock_all2): Likewise.
8959         (ptmalloc_init): Likewise.
8960         (_int_new_arena): Likewise.
8961         (arena_get2): Likewise.
8962         * malloc/hooks.c (__malloc_get_state): Likewise.
8963         (__malloc_set_state): Likewise.
8964         * malloc/malloc.c: Likewise.
8965         (struct malloc_state): Likewise.
8966         (struct malloc_par): Likewise.
8967         (__libc_realloc): Likewise.
8968         (__libc_mallopt): Likewise.
8970 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8972         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8974 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8976         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8977         macro to a function.  Check for zero perturb_byte.
8978         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8980         * malloc/malloc.c: (force_reg): Remove.
8981         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8982         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8983         force_reg by atomic_forced_read.
8984         * malloc/arena.c (ptmalloc_init): Likewise.
8985         * malloc/hooks.c (top_check): Likewise.
8987 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8991 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8995 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8997         * math/auto-libm-test-in: Add tests of lgamma.
8998         * math/auto-libm-test-out: Regenerated.
8999         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9000         (M_LOG_2_SQRT_PIl): Likewise.
9001         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9003         mpfr_f_f1.
9004         (func_calc_desc): Add mpfr_f_f1 union field.
9005         (ARGS1): New macro.
9006         (ARGS2): Likewise.
9007         (ARGS3): Likewise.
9008         (ARGS4): Likewise.
9009         (RET1): Likewise.
9010         (RET2): Likewise.
9011         (CALC): Likewise.
9012         (FUNC): Likewise.
9013         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9014         (test_functions): Add lgamma.
9015         (calc_generic_results): Handle mpfr_f_f1.
9016         * sysdeps/i386/fpu/libm-test-ulps: Update.
9017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9019 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9021         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9022         __mpn_add_n for PowerPC64/POWER7.
9023         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9024         __mpn_sub_n for PowerPC64/POWER7.
9026         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9027         __mpn_addmul_1 for PowerPC64.
9028         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9029         __mpn_submul_1 for PowerPC64.
9030         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9031         for PowerPC64.
9032         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9033         for PowerPC64.
9035 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9037         [BZ #15089]
9038         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9040 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9042         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9044         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9045         add multiarch folders.
9046         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9047         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9048         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9049         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9050         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9051         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9052         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9053         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9054         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9055         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9056         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9065         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9067         New file.
9068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9069         New file.
9070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9071         multiarch __ieee754_hypot for PowerPC32.
9072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9073         New file.
9074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9075         New file.
9076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9077         multiarch __ieee754_hypotf for PowerPC32.
9079         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9080         long_double_symbol only if __logbl is defined.
9081         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9082         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9084         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9086         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9087         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9088         path for implementation.
9089         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9090         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9092         logb, and logbl multiarch implementations for PowerPC32.
9093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9094         file.
9095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9096         file.
9097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9098         multiarch logb for PowerPC32.
9099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9100         file.
9101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9102         file.
9103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9104         multiarch logbf for PowerPC32.
9105         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9107         file.
9108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9109         multiarch logbl implementation for PowerPC32.
9111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9112         and modff multiarch implementations.
9113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9114         New file.
9115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9116         New file.
9117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9118         multiarch modf for PowerPC32.
9119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9120         New file.
9121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9122         New file.
9123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9124         multiarch modff for PowerPC32.
9126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9127         and lrintf multiarch implementations.
9128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9129         New file.
9130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9131         New file.
9132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9133         multiarch lrint for PowerPC32.
9134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9135         file: multiarch lrintf for PowerPC32.
9137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9138         and lroundf multiarch implementations.
9139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9140         New file.
9141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9142         New file.
9143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9144         New file.
9145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9146         multiarch lround for PowerPC32.
9147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9148         file: multiarch lroundf for PowerPC32.
9150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9151         copysign and copysignf multiarch implementations.
9152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9153         New file.
9154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9155         New file.
9156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9157         file: multiarch copysign for PowerPC32.
9158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9159         file: multiarch copysignf for PowerPC32.
9161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9162         and truncf multiarch implementations.
9163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9164         New file.
9165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9166         file.
9167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9168         multiarch trunc for PowerPC32.
9169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9170         New file.
9171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9172         New file.
9173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9174         multiarch truncf for PowerPC32.
9176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9177         and roundf multiarch implementations.
9178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9179         New file.
9180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9181         file.
9182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9183         multiarch round for PowerPC32.
9184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9185         New file.
9186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9187         New file.
9188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9189         multiarch roundf for PowerPC32.
9191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9192         and floorf multiarch implementations.
9193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9194         New file.
9195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9196         file.
9197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9198         multiarch floor for PowerPC32.
9199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9200         New file.
9201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9202         New file.
9203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9204         multiarch floorf for PowerPC32.
9206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9207         and ceilf multiarch implementations.
9208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9209         New file.
9210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9211         file.
9212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9213         multiarch ceil for PowerPC32.
9214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9215         New file.
9216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9217         file.
9218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9219         multiarch ceilf for PowerPC32.
9221         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9222         is defined.
9223         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9224         FINITEF is defined.
9225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9226         and finitef multiarch implementations.
9227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9228         New file.
9229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9230         file.
9231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9232         multiarch finite for PowerPC32.
9233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9234         New file.
9235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9236         file: multiarch finitef for PowerPC32.
9238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9239         and isinff multiarch implementations.
9240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9241         file.
9242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9243         file.
9244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9245         multiarch isinf for PowerPC32.
9246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9247         New file.
9248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9249         multiarch isinff for PowerPC32.
9251         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9252         alias when __isnan is defined.
9253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9254         and isnanf multiarch implementations.
9255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9256         file.
9257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9258         file.
9259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9260         file.
9261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9262         file.
9263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9264         multiarch isnan for PowerPC32.
9265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9266         New file.
9267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9268         New file.
9269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9270         multiarch isnanf for PowerPC32.
9272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9273         and sqrtf multiarch implementations.
9274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9275         file.
9276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9277         file.
9278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9279         multiarch sqrt for PowerPC32.
9280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9281         file.
9282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9283         file.
9284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9285         multiarch sqrtf for PowerPC32.
9287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9288         and llroundf multiarch implementations.
9289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9290         New file.
9291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9292         New file.
9293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9294         New file.
9295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9296         file: multiarch llround for PowerPC32.
9297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9298         file: multiarch llroundf for PowerPC32.
9300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9301         multiarch PowerPC32 fpu implementations.
9302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9303         New file.
9304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9305         New file.
9306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9307         multiarch llrint for PowerPC32.
9308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9309         New file.
9310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9311         New file.
9312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9313         file.
9315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9317         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9318         file.
9319         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9320         file.
9321         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9322         file.
9323         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9324         multiarch wordcopy for PPC32.
9325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9326         wordcopy objects.
9327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9328         (__libc_ifunc_impl_list): Likewise.
9329         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9330         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9331         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9332         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9333         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9334         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9336         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9338         file.
9339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9340         file.
9341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9342         file.
9343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9344         multiarch wcscpy for PPC32.
9345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9346         multiarch objects.
9347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9348         (__libc_ifunc_impl_list): Likewise.
9349         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9350         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9351         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9352         sysdeps/powerpc/power6/wcscpy.c.
9354         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9356         file.
9357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9358         file.
9359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9360         file.
9361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9362         multiarch wcsrchr for PPC32.
9363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9364         multiarch objects.
9365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9366         (__libc_ifunc_impl_list): Likewise.
9367         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9368         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9369         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9370         sysdeps/powerpc/power6/wcsrchr.c.
9372         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9373         file.
9374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9375         file.
9376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9378         multiarch wcschr for PPc32.
9379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9380         multiarch objects.
9381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9382         (__libc_ifunc_impl_list): Likewise.
9383         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9384         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9385         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9386         sysdeps/powerpc/power6/wcschr.c.
9388         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9389         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9390         file.
9391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9392         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9393         file: multiarch strchr for PPC32.
9394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9395         multiarch objects.
9396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9397         (__libc_ifunc_impl_list): Likewise.
9399         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9400         name.
9401         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9402         file.
9403         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9404         file.
9405         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9406         multiarch strchrnul for PPC32.
9407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9408         multiarch objects.
9409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9410         (__libc_ifunc_impl_list): Likewise.
9412         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9413         file.
9414         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9415         multiarch strncasecmp for PPC32.
9416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9417         file.
9418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9419         multiarch strncasecmp_l for PPC32.
9420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9421         strncasecmp multiarch objects.
9422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9423         (__libc_ifunc_impl_list): Likewise.
9425         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9426         file.
9427         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9428         multiarch strncasecmp for PPC32.
9429         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9430         New file.
9431         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9432         multiarch strcasecmp_l for PPC32.
9433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9434         multiarch objects.
9435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9436         (__libc_ifunc_impl_list): Likewise.
9438         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9439         file.
9440         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9441         file.
9442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9443         multiarch strncmp for PPC32.
9444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9445         multiarch objects.
9446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9447         (__libc_ifunc_impl_list): Likewise.
9449         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9450         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9451         file.
9452         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9453         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9455         multiarch objects.
9456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9457         (__libc_ifunc_impl_list): Likewise.
9459         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9460         file.
9461         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9462         file.
9463         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9465         multiarch objects.
9466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9467         (__libc_ifunc_impl_list): Likewise.
9469         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9470         file.
9471         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9472         file.
9473         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9474         multiarch rawmemchr for PPC32.
9475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9476         multiarch objects.
9477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9478         (__libc_ifunc_impl_list): Likewise.
9480         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9481         file.
9482         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9483         file.
9484         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9485         file: memrchr multiarch for PPC32.
9486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9487         multiarch objects.
9488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9489         (__libc_ifunc_impl_list): Likewise.
9491         * string/memchr.c (__memchr): Using macro to redefine symbol name.
9492         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9493         file.
9494         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9495         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9496         multiarch memchr for PPC32.
9497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9498         multiarch objects.
9499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9500         (__libc_ifunc_impl_list): Likewise.
9502         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9503         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9504         file.
9505         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9506         file.
9507         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9508         file: multiarch mempcpy for PPC32.
9509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9510         multiarch objects.
9511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9512         (__libc_ifunc_impl_list): Likewise.
9514         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9515         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9518         multiarch bzero for PPC32.
9519         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9520         file.
9521         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9522         file.
9523         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9524         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9525         file: multiarch memset for PPC32.
9526         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9528         memset multiarch objects.
9529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9530         (__libc_ifunc_impl_list): Likewise.
9532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9533         file.
9534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9536         memcmp for PPC32.
9537         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9539         multiarch objects.
9540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9541         (__libc_ifunc_impl_list): Likewise.
9543         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9546         file.
9547         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9548         file.
9549         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9550         file.
9551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9552         multiarch memcpy for PPC32.
9553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9554         multiarch objects.
9555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9556         (__libc_ifunc_impl_list): Likewise.
9558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9559         support multiarch for POWER/PPC32.
9560         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9561         Likewise.
9562         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9564         Implies file to make multiarch folder appers before the fpu and
9565         default folder for power4 configuration.
9567 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9569         * scripts/bench.pl: Append volatile keyword to type.
9571 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9573         * sysdeps/sh/sotruss-lib.c: New file.
9574         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9576 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9580 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
9582         [BZ #6810]
9583         * math/w_tgamma.c: Include <errno.h>.
9584         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9585         * math/w_tgammaf.c: Include <errno.h>.
9586         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9587         * math/w_tgammal.c: Include <errno.h>.
9588         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9589         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9590         underflow.  Add more tgamma tests.
9591         * math/auto-libm-test-out: Regenerated.
9592         * sysdeps/i386/fpu/libm-test-ulps: Update.
9593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9595         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9596         sin, sinh, tan, tanh, tgamma, y0 and y1.
9597         * math/auto-libm-test-out: Regenerated.
9598         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9599         (TEST_COND_x86): Likewise.
9600         (M_E2l): Remove macro.
9601         (M_E3l): Likewise.
9602         (M_2_SQRT_PIl): Likewise.
9603         (M_SQRT_PIl): Likewise.
9604         (M_1_DIV_El): Likewise.
9605         (log_test_data): Use AUTO_TESTS_f_f.
9606         (log10_test_data): Likewise.
9607         (log1p_test_data): Likewise.
9608         (log2_test_data): Likewise.
9609         (sin_test_data): Likewise.
9610         (sin_tonearest_test_data): Likewise.
9611         (sin_towardzero_test_data): Likewise.
9612         (sin_downward_test_data): Likewise.
9613         (sin_upward_test_data): Likewise.
9614         (sinh_test_data): Likewise.
9615         (sinh_tonearest_test_data): Likewise.
9616         (sinh_towardzero_test_data): Likewise.
9617         (sinh_downward_test_data): Likewise.
9618         (sinh_upward_test_data): Likewise.
9619         (tan_test_data): Likewise.
9620         (tan_tonearest_test_data): Likewise.
9621         (tan_towardzero_test_data): Likewise.
9622         (tan_downward_test_data): Likewise.
9623         (tan_upward_test_data): Likewise.
9624         (tanh_test_data): Likewise.
9625         (tgamma_test_data): Likewise.
9626         (y0_test_data): Likewise.
9627         (y1_test_data): Likewise.
9628         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9629         (special_real_inputs): Add pi/4.
9630         * sysdeps/i386/fpu/libm-test-ulps: Update.
9631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9633 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9635         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9636         "longjmp_target" static probes.
9637         (__longjmp): Rename to __longjmp_symbol.
9638         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9639         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9640         on which longjmp to generate.
9641         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9642         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9643         probe.
9644         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9645         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9646         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9647         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9648         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9649         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9651         __longjmp_symbol based on which __longjmp to generate.
9652         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9653         probe.
9654         (setjmp): Rename to setjmp_symbol.
9655         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9656         (_setjmp): Rename to _setjmp_symbol.
9657         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9658         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9659         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9660         which setjmp to generate.
9661         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9662         "longjmp_target" static probes.
9664 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9666         * benchtests/README: Add note about output arguments.
9667         * benchtests/bench-sincos.c: Remove file.
9668         * benchtests/sincos-inputs: New file.
9669         * scripts/bench.pl: Identify output arguments and define
9670         static variables for them.
9672         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9674         [BZ #15941]
9675         * Makefile (INSTALL): Add install-plain.texi as the primary
9676         dependency.
9677         * manual/install-plain.texi: New file.
9678         * manual/install.texi: Include node directive only for
9679         non-plaintext output.
9681 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9683         * stdlib/longlong.h: Update from GCC.
9685         [BZ #6807]
9686         [BZ #15901]
9687         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9688         * math/w_j0f.c (y0f): Likewise.
9689         * math/w_j0l.c (__y0l): Likewise.
9690         * math/w_j1.c (y1): Likewise.
9691         * math/w_j1f.c (y1f): Likewise.
9692         * math/w_j1l.c (__y1l): Likewise
9693         * math/w_jn.c (yn): Likewise.
9694         * math/w_jnf.c (ynf): Likewise.
9695         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9696         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9697         value for Bessel function domain errors outside _SVID_ mode.
9698         Adjust sign of return value for yn (negative integer, 0).
9699         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9700         by zero in return for negative x and set sign appropriately for
9701         negative n.
9702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9703         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9704         * math/libm-test.inc (y0_test_data): Add more tests and adjust
9705         expectations in error cases.
9706         (y1_test_data): Likewise.
9707         (yn_test_data): Likewise.
9708         * sysdeps/i386/fpu/libm-test-ulps: Update.
9709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9711 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9713         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9714         "64" to "64-v1".  Add "64-v2".
9715         (abi-64-options): Rename to ...
9716         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
9717         (abi-64-condition): Rename to ...
9718         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
9719         (abi-64-ld-soname): Rename to ...
9720         (abi-64-v1-ld-soname): ... this.
9721         (abi-64-v2-options): Define.
9722         (abi-64-v2-condition): Likewise.
9723         (abi-64-v2-ld-soname): Likewise.
9724         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9725         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9730 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9731             Alan Modra  <amodra@gmail.com>
9733         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9734         New versions for use with the ELFv2 ABI.
9735         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9736         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9737         declaration.
9738         (struct La_ppc64v2_retval): Likewise.
9739         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9740         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9741         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9742         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9743         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9744         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9745         Do not save or restore CR.
9746         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9747         (_dl_profile_resolve): Do no save or restore CR.  Support extended
9748         return values for ELFv2 ABI.  Fix location of FPR return registers.
9749         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9750         updated values for _CALL_ELF == 2.
9751         (La_regs, La_retval, int_retval): Likewise.
9753 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9755         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9756         (FRAME_MIN_SIZE_PARM): Likewise.
9757         (FRAME_BACKCHAIN): Likewise.
9758         (FRAME_CR_SAVE): Likewise.
9759         (FRAME_LR_SAVE): Likewise.
9760         (FRAME_TOC_SAVE): Likewise.
9761         (FRAME_PARM_SAVE): Likewise.
9762         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9763         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9764         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9765         (call_mcount_parm_offset): New macro.
9766         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9767         (PROF): Use symbolic stack frame offsets.
9768         (TAIL_CALL_SYSCALL_ERROR): Likewise.
9769         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9770         Redefine in terms of FRAME_MIN_SIZE.
9771         (_dl_runtime_resolve): Use symbolic stack frame offsets.
9772         (_dl_profile_resolve): Likewise.  Update comment.
9773         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9774         symbols stack frame offsets.
9775         (__sigsetjmp): Likewise.
9776         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9777         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9778         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9779         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9782         (FRAME_BACKCHAIN): Remove.
9783         (FRAME_CR_SAVE): Likewise.
9784         (FRAME_LR_SAVE): Likewise.
9785         (FRAME_COMPILER_DW): Likewise.
9786         (FRAME_LINKER_DW): Likewise.
9787         (FRAME_TOC_SAVE): Likewise.
9788         (FRAME_PARM_SAVE): Likewise.
9789         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9790         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9791         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9793         (CHECK_SP): Use symbolic stack frame offsets.
9794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9795         zone" instead of caller's parameter save area for temp storage.
9796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9797         Likewise.  Also, use symbolic stack frame offsets.
9798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9799         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9800         our own stack frame instead of the caller's.
9801         (__socket): Use symbolic stack frame offsets.
9803 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9804             Alan Modra  <amodra@gmail.com>
9806         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9807         Define.
9808         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9809         (PPC64_LOCAL_ENTRY_OFFSET): Define.
9810         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9811         New function.
9812         (elf_machine_fixup_plt): Call it.
9813         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
9814         reloc arguments.
9815         (elf_machine_rela): Update call to elf_machine_plt_conflict.
9816         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9817         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9818         r2 before calling target.
9820 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9821             Alan Modra  <amodra@gmail.com>
9823         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9824         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9825         versions of macros to support ELFv2 ABI.
9826         (LOCALENTRY): New macro.
9827         (ENTRY, EALIGN): Use it.
9828         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9829         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9830         fall through into ENTRY entry point.
9831         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9832         Only define if _CALL_ELF != 2.
9834         (elf_machine_matches_host): Verify ABI version matches.
9835         (RTLD_START): Use LOCALENTRY.
9836         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9837         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9838         (PLT_ENTRY_WORDS): New macro.
9839         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9840         (elf_machine_runtime_setup): Support ELFv2 ABI.
9841         (elf_machine_fixup_plt): Likewise.
9842         (elf_machine_plt_conflict): Likewise.
9843         (resolve_ifunc): Likewise.
9844         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9845         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9846         Likewise.
9847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9848         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9850         (makecontext): Support ELFv2 ABI.
9851         * elf/elf.h (EF_PPC64_ABI): Define.
9853 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9855         * sysdeps/powerpc/powerpc64/sysdep.h
9856         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9857         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9858         (ENTRY) [ASSEMBLER]: ... but instead here ...
9859         (EALIGN) [ASSEMBLER]: ... and here.
9860         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9861         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9862         (ENTRY_2) [!ASSEMBLER]: Use it.
9863         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9864         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
9865         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9866         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9867         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9869         Use PPC64_LOAD_FUNCPTR.
9871         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9873 2013-12-04  Alan Modra  <amodra@gmail.com>
9875         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9876         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9877         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9878         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9881         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9882         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9883         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9884         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9885         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9887 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9890         (__makecontext): Fix incorrect CFI when backtracing out of
9891         context created via makecontext.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9893         (__setcontext): Fix incorrect CFI during switch to new context.
9894         (__novec_setcontext): Likewise.
9896 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9898         [BZ #4772]
9899         * time/strptime_l.c (__strptime_internal): Allow modifiers
9900         in strptime.
9901         * time/tst-strptime.c (day_tests): Add testcase.
9903 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9905         * scripts/bench.pl: Skip over blank lines.
9907 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9909         [BZ #926]
9910         * manual/time.texi (Calendar Time): Clarify what timezone functions
9911         use.
9913 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9917 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9919         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9920         implementation.
9921         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9922         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9923         * debug/memset_chk.c (__memset_chk): Likewise.
9924         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9925         * debug/strncpy_chk.c: Likewise.
9927 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9929         [BZ #15268]
9930         [BZ #15425]
9931         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9932         (__ieee754_exp): For possibly underflowing results, check size of
9933         result and force underflow exception if required.
9934         * math/auto-libm-test-in: Add more tests of exp.
9935         * math/auto-libm-test-out: Regenerated.
9936         * sysdeps/i386/fpu/libm-test-ulps: Update.
9937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9939         [BZ #16283]
9940         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9941         * math/w_exp2f.c (__exp2f): Likewise.
9942         * math/w_exp2l.c (__exp2l): Likewise.
9943         * math/auto-libm-test-in: Do not allow missing errno on exp2
9944         underflow.
9945         * math/auto-libm-test-out: Regenerated.
9947 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9949         [BZ #16274]
9950         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9951         handle filename validation.
9952         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9953         (do_open): Delete.
9955 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9957         [BZ #6786]
9958         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9959         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9960         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9961         <float.h>.
9962         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9963         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9964         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9966         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9967         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9968         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9969         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9970         Add more erfc tests.
9971         * math/auto-libm-test-out: Regenerated.
9972         * sysdeps/i386/fpu/libm-test-ulps: Update.
9973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9976         exp2, expm1, j0 and j1.
9977         * math/auto-libm-test-out: Regenerated.
9978         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9979         (erfc_test_data): Likewise.
9980         (exp_test_data): Likewise.
9981         (exp_tonearest_test_data): Likewise.
9982         (exp_towardzero_test_data): Likewise.
9983         (exp_downward_test_data): Likewise.
9984         (exp_upward_test_data): Likewise.
9985         (exp10_test_data): Likewise.
9986         (exp2_test_data): Likewise.
9987         (expm1_test_data): Likewise.
9988         (j0_test_data): Likewise.
9989         (j1_test_data): Likewise.
9990         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9991         (input_flag_type): Add flag_xfail_rounding.
9992         (input_flags): Add xfail-rounding.
9993         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9994         (output_for_one_input_case): Handle flag_xfail_rounding.
9995         * sysdeps/i386/fpu/libm-test-ulps: Update.
9996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9998 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10000         [BZ #16289]
10001         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10002         division by 0.
10004 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10006         [BZ #16195]
10007         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10008         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10009         (STAP_PROBE0): New macro.
10010         (STAP_PROBE1): Likewise.
10011         (STAP_PROBE2): Likewise.
10012         (STAP_PROBE3): Likewise.
10013         (STAP_PROBE4): Likewise.
10015 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10017         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10019 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10021         * benchtests/Makefile (bench): Add sqrt.
10022         (LDLIBS-bench-sqrt): New.
10023         * benchtests/sqrt-input: New.
10025 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10027         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10028         (GAIH_EAI): Likewise.
10029         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10030         (gaih_inet): Likewise.
10031         (getaddrinfo): Don't use GAIH_EAI.
10033         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10034         (struct gaih): Remove definition.
10036 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10038         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10039         Use HERRNOP directly.
10041 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10045 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10047         * math/gen-auto-libm-tests.c (test_functions): Add more
10048         single-argument functions.
10049         (special_fill_pi_2): New function.
10050         (special_fill_minus_pi_2): Likewise.
10051         (special_fill_pi_6): Likewise.
10052         (special_fill_minus_pi_6): Likewise.
10053         (special_fill_pi_3): Likewise.
10054         (special_fill_2pi_3): Likewise.
10055         (special_fill_e): Likewise.
10056         (special_fill_1_e): Likewise.
10057         (special_fill_e_minus_1): Likewise.
10058         (special_real_inputs): Add more special inputs.
10059         (output_for_one_input_case): Do not require ERANGE on underflow to
10060         zero if round-to-nearest result does not underflow to zero, unless
10061         exact results required.
10062         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10063         atan, atanh, cbrt, cos and cosh.
10064         * math/auto-libm-test-out: Regenerated.
10065         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10066         (acos_tonearest_test_data): Likewise.
10067         (acos_towardzero_test_data): Likewise.
10068         (acos_downward_test_data): Likewise.
10069         (acos_upward_test_data): Likewise.
10070         (acosh_test_data): Likewise.
10071         (asin_test_data): Likewise.
10072         (asin_tonearest_test_data): Likewise.
10073         (asin_towardzero_test_data): Likewise.
10074         (asin_upward_test_data): Likewise.
10075         (asinh_test_data): Likewise.
10076         (atan_test_data): Likewise.
10077         (atanh_test_data): Likewise.
10078         (cbrt_test_data): Likewise.
10079         (cos_test_data): Likewise.
10080         (cos_tonearest_test_data): Likewise.
10081         (cos_towardzero_test_data): Likewise.
10082         (cos_downward_test_data): Likewise.
10083         (cos_upward_test_data): Likewise.
10084         (cosh_test_data): Likewise.
10085         (cosh_tonearest_test_data): Likewise.
10086         (cosh_towardzero_test_data): Likewise.
10087         (cosh_downward_test_data): Likewise.
10088         (cosh_upward_test_data): Likewise.
10089         * sysdeps/i386/fpu/libm-test-ulps: Update.
10090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10092 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10094         [BZ #6787]
10095         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10096         * math/w_exp10f.c (__exp10f): Likewise.
10097         * math/w_exp10l.c (__exp10l): Likewise.
10098         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10099         errno settings in existing tests.
10101         [BZ #14032]
10102         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10103         precision control set to double precision.
10104         * sysdeps/i386/fpu/w_sqrt.c: New file.
10105         * math/auto-libm-test-in: Add more tests.
10106         * math/auto-libm-test-out: Update.
10108         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10109         (sqrt_test_tonearest): New function.
10110         (sqrt_towardzero_test_data): New variable.
10111         (sqrt_test_towardzero): New function.
10112         (sqrt_downward_test_data): New variable.
10113         (sqrt_test_downward): New function.
10114         (sqrt_upward_test_data): New variable.
10115         (sqrt_test_upward): New function.
10116         (main): Call the new functions.
10118         * math/gen-auto-libm-tests.c: New file.
10119         * math/auto-libm-test-in: Likewise.
10120         * math/auto-libm-test-out: New generated file.
10121         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10122         variables.
10123         (%beautify): Add generated representations of zero.
10124         (top level): Set $auto_input and call parse_auto_input.
10125         (beautify): Remove trailing "f" from hex float constants.
10126         (parse_args): Handle XFAIL_TEST.
10127         (convert_condition): New function.
10128         (or_value): Likewise.
10129         (or_cond_value): Likewise.
10130         (generate_testfile): Handle AUTO_TESTS_* lines.
10131         (parse_auto_input): New function.
10132         * math/libm-test.inc (XFAIL_TEST): New macro.
10133         (ERRNO_UNCHANGED): Update value.
10134         (ERRNO_EDOM): Likewise.
10135         (ERRNO_ERANGE): Likewise.
10136         (IGNORE_RESULT): Likewise.
10137         (TEST_COND_flt_32): New macro.
10138         (TEST_COND_dbl_64): Likewise.
10139         (TEST_COND_ldbl_96_intel): Likewise.
10140         (TEST_COND_ldbl_96_m68k): Likewise.
10141         (TEST_COND_ldbl_128): Likewise.
10142         (TEST_COND_ldbl_128ibm): Likewise.
10143         (TEST_COND_long32): Likewise.
10144         (TEST_COND_long64): Likewise.
10145         (TEST_COND_before_rounding): Likewise.
10146         (TEST_COND_after_rounding): Likewise.
10147         (enable_test): Handle XFAIL_TEST flag.
10148         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10149         with finite results.
10150         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10151         auto-libm-test-out.
10153 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10154             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10156         [BZ #16214]
10157         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10158         __tls_get_addr_internal instead of __tls_get_offset in order to
10159         avoid GOT pointer dependency.  Make rtld export
10160         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10161         __tls_get_addr since we are a __tls_get_offset platform.
10162         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10163         GOT pointer being set up before.
10164         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10166 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10168         * manual/math.texi (Errors in Math Functions): Document accuracy
10169         goals.
10171         [BZ #15004]
10172         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10173         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10176         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10178         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10189         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10190         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10191         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10192         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10193         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10194         Likewise.
10195         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10196         Likewise.
10197         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10198         Likewise.
10199         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10200         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10201         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10202         atomic-feupdateenv and flt-rounds.
10203         * sysdeps/powerpc/nofpu/Versions (libc): Add
10204         __atomic_feholdexcept, __atomic_feclearexcept,
10205         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10206         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10207         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10208         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10209         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10210         here.
10211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10212         Update.
10214         * manual/arith.texi (FP Exceptions): Document that exceptions may
10215         not be raised when matherr is used.
10216         (Math Error Reporting): Document overflow in directed rounding
10217         modes.  Document that errno may not be set when finite values are
10218         returned on overflow.  Document intent to set errno on underflow
10219         only for underflow to zero.
10221         [BZ #16271]
10222         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10223         round-to-nearest then adjust result for other rounding modes.
10224         * include/fenv.h (fegetround): Use libm_hidden_proto.
10225         * math/fegetround.c (fegetround): Use libm_hidden_def.
10226         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10227         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10228         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10229         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10230         Likewise.
10231         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10232         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10233         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10234         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10236 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10238         [BZ #16077]
10239         * nss/Versions (libnss_files): Add
10240         _nss_files_gethostbyname3_r.
10241         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10242         New function.
10243         (HOST_DB_LOOKUP): Remove macro.
10244         (_nss_files_gethostbyname_r): Implement function without the
10245         HOST_DB_LOOKUP macro.
10246         (_nss_files_gethostbyname2_r): Likewise.
10248 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10250         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10252 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10254         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10255         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10256         warning.
10258 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10260         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10261         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10262         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10263         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10264         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10265         __fe_nomask_env_priv and attribute_hidden.
10266         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10267         (libc_feupdateenv_test_ppc): Likewise.
10268         (libc_feresetround_ppc): Likewise.
10269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10270         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10271         compat_symbol macro.
10272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10273         (__fe_nomask_env): Likewise.
10274         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10276 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10278         * string/Makefile: Remove ifunc tests.
10279         * string/test-string.h: Define TEST_IFUNC.
10280         * string/test-bcopy-ifunc.c: Remove.
10281         * string/test-bzero-ifunc.c: Likewise.
10282         * string/test-memccpy-ifunc.c: Likewise.
10283         * string/test-memchr-ifunc.c: Likewise.
10284         * string/test-memcmp-ifunc.c: Likewise.
10285         * string/test-memcpy-ifunc.c: Likewise.
10286         * string/test-memmem-ifunc.c: Likewise.
10287         * string/test-memmove-ifunc.c: Likewise.
10288         * string/test-mempcpy-ifunc.c: Likewise.
10289         * string/test-memrchr-ifunc.c: Likewise.
10290         * string/test-memset-ifunc.c: Likewise.
10291         * string/test-rawmemchr-ifunc.c: Likewise.
10292         * string/test-stpcpy-ifunc.c: Likewise.
10293         * string/test-stpncpy-ifunc.c: Likewise.
10294         * string/test-strcasecmp-ifunc.c: Likewise.
10295         * string/test-strcasestr-ifunc.c: Likewise.
10296         * string/test-strcat-ifunc.c: Likewise.
10297         * string/test-strchr-ifunc.c: Likewise.
10298         * string/test-strchrnul-ifunc.c: Likewise.
10299         * string/test-strcmp-ifunc.c: Likewise.
10300         * string/test-strcpy-ifunc.c: Likewise.
10301         * string/test-strcspn-ifunc.c: Likewise.
10302         * string/test-strlen-ifunc.c: Likewise.
10303         * string/test-strncasecmp-ifunc.c: Likewise.
10304         * string/test-strncat-ifunc.c: Likewise.
10305         * string/test-strncmp-ifunc.c: Likewise.
10306         * string/test-strncpy-ifunc.c: Likewise.
10307         * string/test-strnlen-ifunc.c: Likewise.
10308         * string/test-strpbrk-ifunc.c: Likewise.
10309         * string/test-strrchr-ifunc.c: Likewise.
10310         * string/test-strspn-ifunc.c: Likewise.
10311         * string/test-strstr-ifunc.c: Likewise.
10313 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10315         * benchtests/Makefile: Remove ifunc tests.
10316         * benchtests/bench-string.h: Define TEST_IFUNC.
10317         * benchtests/bench-bcopy-ifunc.c: Remove.
10318         * benchtests/bench-bzero-ifunc.c: Likewise.
10319         * benchtests/bench-memccpy-ifunc.c: Likewise.
10320         * benchtests/bench-memchr-ifunc.c: Likewise.
10321         * benchtests/bench-memcmp-ifunc.c: Likewise.
10322         * benchtests/bench-memcpy-ifunc.c: Likewise.
10323         * benchtests/bench-memmem-ifunc.c: Likewise.
10324         * benchtests/bench-memmove-ifunc.c: Likewise.
10325         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10326         * benchtests/bench-memrchr-ifunc.c: Likewise.
10327         * benchtests/bench-memset-ifunc.c: Likewise.
10328         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10329         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10330         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10331         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10332         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10333         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10334         * benchtests/bench-strcat-ifunc.c: Likewise.
10335         * benchtests/bench-strchr-ifunc.c: Likewise.
10336         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10337         * benchtests/bench-strcmp-ifunc.c: Likewise.
10338         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10339         * benchtests/bench-strcpy-ifunc.c: Likewise.
10340         * benchtests/bench-strcspn-ifunc.c: Likewise.
10341         * benchtests/bench-strlen-ifunc.c: Likewise.
10342         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10343         * benchtests/bench-strncat-ifunc.c: Likewise.
10344         * benchtests/bench-strncmp-ifunc.c: Likewise.
10345         * benchtests/bench-strncpy-ifunc.c: Likewise.
10346         * benchtests/bench-strnlen-ifunc.c: Likewise.
10347         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10348         * benchtests/bench-strrchr-ifunc.c: Likewise.
10349         * benchtests/bench-strsep-ifunc.c: Likewise.
10350         * benchtests/bench-strspn-ifunc.c: Likewise.
10351         * benchtests/bench-strstr-ifunc.c: Likewise.
10353 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10355         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10357 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10359         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10360         * rt/aio.h: Likewise.
10361         * sysdeps/gnu/bits/utmp.h: Likewise.
10362         * sysdeps/gnu/bits/utmpx.h: Likewise.
10363         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10364         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10365         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10366         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10367         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10368         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10369         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10370         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10371         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10372         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10373         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10374         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10375         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10377         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10378         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10379         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10380         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10381         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10382         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10383         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10384         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10385         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10386         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10387         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10389         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10390         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10391         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10392         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10393         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10394         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10395         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10396         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10397         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10398         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10399         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10400         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10401         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10402         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10403         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10404         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10406 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10408         [BZ #16245]
10409         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10410         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10412 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10414         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10415         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10416         Likewise.
10418 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10420         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10421         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10422         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10423         (__fesetround): Remove define.
10424         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10425         rounding and exceptions handling.
10426         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10427         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10428         (__fe_nomask_env): Likewise.
10429         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10430         __fegetround instead of fegetround.
10431         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10432         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10434 2013-11-21  Roland McGrath  <roland@hack.frob.com>
10436         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10437         it's there.
10439         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10441 2013-11-21  Meador Inge  <meadori@codesourcery.com>
10443         [BZ #11157]
10444         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10445         (encrypt_r): Likewise.
10446         * malloc/obstack.h (obstack_free): Likewise.
10447         * posix/unistd.h (encrypt): Likewise.
10449 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
10451         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10452         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10453         DL_CALL_DT_FINI() that call the functions directly.
10454         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10455         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10456         * elf/dl-fini.c: Likewise.
10458 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
10460         * malloc/hooks.c (memalign_check): Add alignment rounding.
10461         * malloc/malloc.c (_mid_memalign): New function.
10462         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10463         Implement by calling _mid_memalign.
10464         * manual/probes.texi (Memory Allocation Probes): Remove
10465         memory_valloc_retry and memory_pvalloc_retry.
10467 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10469         * locale/programs/locarchive.c (open_archive): Add const
10470         qualifier to ARCHIVEFNAME and copy default fname to
10471         DEFAULT_FNAME.
10473         [BZ #15601]
10474         * libio/tst-widetext.input: Rename Oriya to Odia.
10475         * locale/iso-639.def: Likewise.
10477         * manual/probes.texi (Mathematical Function Probes): Add
10478         documentation for sin, cos, asin and acos probes.
10479         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10480         (__sin32): Add slowasin probe.
10481         (__cos32): Add slowacos probe.
10482         (__mpsin): Add slowsin probe.
10483         (__mpcos): Add slowcos probe.
10485 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
10487         [BZ #15483]
10488         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10489         thread-local __sim_exceptions_thread and global
10490         __sim_exceptions_global.
10491         (__sim_disabled_exceptions): Change to thread-local
10492         __sim_disabled_exceptions_thread and global
10493         __sim_disabled_exceptions_global.
10494         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10495         and global __sim_round_mode_global.
10496         (__simulate_exceptions): Use thread-local floating-point state and
10497         set global state from it as needed.
10498         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10499         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10500         __sim_round_mode_thread.
10501         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10502         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10503         and global __sim_exceptions_global.
10504         (__sim_disabled_exceptions): Change to thread-local
10505         __sim_disabled_exceptions_thread and global
10506         __sim_disabled_exceptions_global.
10507         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10508         and global __sim_round_mode_global.
10509         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10510         (SIM_SET_GLOBAL): Likewise.
10511         * sysdeps/powerpc/soft-fp/sfp-machine.h
10512         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10513         __sim_round_mode_thread.
10514         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10515         __sim_disabled_exceptions_thread.
10516         (__sim_exceptions): Change to __sim_exceptions_thread.
10517         (__sim_disabled_exceptions): Change to
10518         __sim_disabled_exceptions_thread.
10519         (__sim_round_mode): Change to __sim_round_mode_thread.
10520         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10521         thread-local floating-point state and set global state from it as
10522         needed.
10523         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10524         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10525         (__sim_disabled_exceptions): Remove extern declaration.
10526         (feenableexcept): Use thread-local floating-point state and set
10527         global state from it as needed.
10528         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10529         extern declaration.
10530         (__sim_disabled_exceptions): Likewise.
10531         (__sim_round_mode): Likewise.
10532         (__fegetenv): Use thread-local floating-point state.
10533         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10534         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10535         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10536         floating-point state and set global state from it as needed.
10537         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10538         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10539         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10540         Likewise.
10541         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10542         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10543         Likewise.
10544         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10545         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10546         Use __sim_round_mode_thread.
10547         * math/test-fenv-tls.c: New file.
10548         * math/Makefile (tests): Add test-fenv-tls.
10549         ($(objpfx)test-fenv-tls): Depend on
10550         $(common-objpfx)nptl/libpthread.so.
10552 2013-11-19  Andreas Schwab  <schwab@suse.de>
10554         * locale/programs/locale.c (show_info): Decode wordarray elements.
10555         * locale/categories.def (LC_MONETARY): Add element for
10556         _NL_MONETARY_CRNCYSTR.
10557         * locale/C-monetary.c (conversion_rate): New variable.
10558         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10559         element.
10561 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
10563         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10564         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10566 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10568         * elf/Makefile (tst-auxv): New test.
10569         * elf/tst-auxv.c: New
10570         * elf/rtld.c (dl_main): Adjust AT_EXECFN
10572 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
10574         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10575         (hidden_proto): Caller changed.
10576         (hidden_tls_proto): New macro.
10577         (libc_hidden_tls_proto): Likewise.
10578         (rtld_hidden_tls_proto): Likewise.
10579         (libm_hidden_tls_proto): Likewise.
10580         (libresolv_hidden_tls_proto): Likewise.
10581         (librt_hidden_tls_proto): Likewise.
10582         (libdl_hidden_tls_proto): Likewise.
10583         (libnss_files_hidden_tls_proto): Likewise.
10584         (libnsl_hidden_tls_proto): Likewise.
10585         (libnss_nisplus_hidden_tls_proto): Likewise.
10586         (libutil_hidden_tls_proto): Likewise.
10588 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10590         [BZ #10253]
10591         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10592         (decompose_rpath): Defer expansion to fillin_rpath.
10593         (_dl_init_paths): Pass linkmap to fillin_rpath.
10595 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10597         * benchtests/Makefile: Add strsep.
10598         * benchtests/bench-strsep.c: New file: strsep benchtest.
10599         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10601 2013-11-18  Andreas Schwab  <schwab@suse.de>
10603         * locale/programs/locale.c (show_info) [case byte]: Check for
10604         '\377' instead of '\177'.
10605         * locale/C-monetary.c (not_available): Always use "\377".
10606         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10607         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10608         detect unavailable sign_posn locale elements.
10609         * locale/localeconv.c (__localeconv): For grouping and
10610         mon_grouping handle "\177" and "\377" like no grouping.
10611         (INT_ELEM): New macro.  Use it to set all numeric members.
10612         * locale/programs/ld-monetary.c (monetary_read)
10613         <tok_mon_grouping>: Normalize single -1 to the empty string.
10614         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10615         Likewise.
10617 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10619         [BZ #16055]
10620         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10621         when we match (nil).
10622         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10624 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10626         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10627         (NO_TEST_INLINE): Update value.
10628         (ERRNO_UNCHANGED): Likewise.
10629         (ERRNO_EDOM): Likewise.
10630         (ERRNO_ERANGE): Likewise.
10631         (IGNORE_RESULT): Likewise.
10632         (check_float_internal): Check signs of NaN results if
10633         TEST_NAN_SIGN used.
10634         (check_complex): Pass TEST_NAN_SIGN flag through to second
10635         check_float_internal call.
10636         (copysign_test_data): Add tests with quiet NaNs as second
10637         argument.  Use TEST_NAN_SIGN.
10638         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10639         TEST_NAN_SIGN.
10640         (signbit_test_data): Add tests of quiet NaN argument.
10641         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10643         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10644         $ignore_result.
10645         (parse_args): Handle function results specified as IGNORE.
10646         * math/libm-test.inc (IGNORE_RESULT): New macro.
10647         (check_float_internal): Do not check numerical result if flag
10648         IGNORE_RESULT set.
10649         (check_complex): Pass through IGNORE_RESULT to second
10650         check_float_internal call.
10651         (check_int): Do not check numerical result if flag IGNORE_RESULT
10652         set.
10653         (check_long): Likewise.
10654         (check_bool): Likewise.
10655         (check_longlong): Likewise.
10656         (lrint_test_data): Add tests of infinite and NaN arguments.
10657         (lrint_tonearest_test_data): Likewise.
10658         (lrint_towardzero_test_data): Likewise.
10659         (lrint_downward_test_data): Likewise.
10660         (lrint_upward_test_data): Likewise.
10661         (llrint_test_data): Likewise.
10662         (llrint_tonearest_test_data): Likewise.
10663         (llrint_towardzero_test_data): Likewise.
10664         (llrint_downward_test_data): Likewise.
10665         (llrint_upward_test_data): Likewise.
10666         (lround_test_data): Likewise.
10667         (llround_test_data): Likewise.
10669         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10670         (ERRNO_UNCHANGED): Update value.
10671         (ERRNO_EDOM): Likewise.
10672         (ERRNO_ERANGE): Likewise.
10673         (NO_TEST_INLINE_FLOAT): New macro.
10674         (NO_TEST_INLINE_DOUBLE): Likewise.
10675         (enable_test): New function.
10676         (RUN_TEST_f_f): Check enable_test before running test.
10677         (RUN_TEST_2_f): Likewise.
10678         (RUN_TEST_fff_f): Likewise.
10679         (RUN_TEST_c_f): Likewise.
10680         (RUN_TEST_f_f1): Likewise.
10681         (RUN_TEST_fF_f1): Likewise.
10682         (RUN_TEST_fI_f1): Likewise.
10683         (RUN_TEST_ffI_f1): Likewise.
10684         (RUN_TEST_c_c): Likewise.
10685         (RUN_TEST_cc_c): Likewise.
10686         (RUN_TEST_f_i): Likewise.
10687         (RUN_TEST_f_i_tg): Likewise.
10688         (RUN_TEST_ff_i_tg): Likewise.
10689         (RUN_TEST_f_b): Likewise.
10690         (RUN_TEST_f_b_tg): Likewise.
10691         (RUN_TEST_f_l): Likewise.
10692         (RUN_TEST_f_L): Likewise.
10693         (RUN_TEST_fFF_11): Likewise.
10694         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10695         conditionals.
10696         (cosh_test_data): Likewise.
10697         (exp_test_data): Likewise.
10698         (expm1_test_data): Likewise.
10699         (hypot_test_data): Likewise.
10700         (pow_test_data): Likewise.
10701         (sinh_test_data): Likewise.
10702         (tanh_test_data): Likewise.
10703         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10704         flags argument.
10706         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10707         tests with quiet NaN input and output.
10708         (acosh_test_data): Likewise.
10709         (asin_test_data): Likewise.
10710         (asinh_test_data): Likewise.
10711         (atan_test_data): Likewise.
10712         (atanh_test_data): Likewise.
10713         (atan2_test_data): Likewise.
10714         (cbrt_test_data): Likewise.
10715         (cos_test_data): Likewise.
10716         (cosh_test_data): Likewise.
10717         (erf_test_data): Likewise.
10718         (erfc_test_data): Likewise.
10719         (exp_test_data): Likewise.
10720         (exp10_test_data): Likewise.
10721         (exp2_test_data): Likewise.
10722         (expm1_test_data): Likewise.
10723         (hypot_test_data): Likewise.
10724         (j0_test_data): Likewise.
10725         (j1_test_data): Likewise.
10726         (jn_test_data): Likewise.
10727         (lgamma_test_data): Likewise.
10728         (log_test_data): Likewise.
10729         (log10_test_data): Likewise.
10730         (log1p_test_data): Likewise.
10731         (log2_test_data): Likewise.
10732         (pow_test_data): Likewise.
10733         (scalb_test_data): Likewise.
10734         (sin_test_data): Likewise.
10735         (sincos_test_data): Likewise.
10736         (sinh_test_data): Likewise.
10737         (tan_test_data): Likewise.
10738         (tanh_test_data): Likewise.
10739         (tgamma_test_data): Likewise.
10740         (y0_test_data): Likewise.
10741         (y1_test_data): Likewise.
10742         (yn_test_data): Likewise.
10744         [BZ #16167]
10745         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10746         argument being NaN and avoid computations with second argument in
10747         that case.
10748         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10749         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10750         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10752 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
10754         * locale/iso-639.def: Add Chitwani Tharu (the).
10756 2013-11-14  Andreas Schwab  <schwab@suse.de>
10758         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10759         word instead of empty string.
10761 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10764         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10766         (__fe_nomask_env): Likewise.
10768 2013-11-13  Steve Ellcey  <sellcey@mips.com>
10770         * benchtests/bench-timing.h: Include time.h.
10772 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
10774         [BZ #15997]
10775         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10776         to 3.4.0 for x32.
10777         * sysdeps/unix/sysv/linux/configure: Regenerated.
10779 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10781         [BZ #16151]
10782         * stdlib/strtod_l.c (round_and_return): Do not consider
10783         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10784         exponent one less than half the least subnormal exponent.
10785         * stdlib/test-strtod-round-data: Add more tests.
10786         * stdlib/tst-strtod-round.c (tests): Regenerated.
10788 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10790         [BZ #14143]
10791         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10792         (__fe_mask_env): Likewise.
10793         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10794         libm_hidden_proto and add function prototype.
10795         (__fe_mask_env): Add function prototype.
10796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10797         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10799         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10801         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10803 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10805         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10806         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10808 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10810         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10811         of htab_find_slot().
10813 2013-11-11  David S. Miller  <davem@davemloft.net>
10815         [BZ #16150]
10816         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10817         symbol in the non-vis3 case in static builds.
10818         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10819         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10820         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10821         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10823 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10825         [BZ #387]
10826         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10827         it is empty.
10829 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10831         * benchtests/Makefile: Add bench-strtod.
10832         * benchtests/bench-strtod.c: New file: strtod benchtest
10834 2013-11-11  Andreas Schwab  <schwab@suse.de>
10836         [BZ #16153]
10837         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10838         terminating NUL in key length.
10840 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10843         Add artificial ODP entry for vDSO symbol for PPC64.
10844         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10845         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10847 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10849         [BZ #15374]
10850         * nss/getent.c (services_keys): Recognize services starting with digit.
10852 2013-11-06  David S. Miller  <davem@davemloft.net>
10854         [BZ #15985]
10855         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10856         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10858 2013-11-06  Will Newton  <will.newton@linaro.org>
10860         * manual/memory.texi (Malloc Examples): Remove register
10861         keyword from examples.
10863 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
10865         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10867 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
10869         [BZ #6981]
10870         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10871         depending on [__GCC_IEC_559 > 0].
10872         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10873         depending on [__GCC_IEC_559_COMPLEX > 0].
10875 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
10877         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10878         to iso-639.def.
10880 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
10882         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10884 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
10886         [BZ #16112]
10887         * malloc/malloc (malloc_info): Do not handle first bin as
10888         special case.
10890 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
10892         * locale/iso-639.def: Add Central Nahuatl (nhn).
10894 2013-11-01  Bruno Haible  <bruno@clisp.org>
10896         [BZ #7003]
10897         * manual/math.texi (BSD Random): Specify range upper bound as
10898         in POSIX.
10900 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
10902         * locale/iso-639.def: Add Meadow Mari (mhr).
10904 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
10906         [BZ #14752], [BZ #15763]
10907         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10908         Validate name.
10909         * rt/tst_shm.c: Add test for escaping directory.
10911 2013-10-31  Andreas Schwab  <schwab@suse.de>
10913         [BZ #15917]
10914         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10915         followed by 'x' as part of digit sequence.
10916         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10918 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10920         [BZ #16037]
10921         * configure.ac: allow GNU Make 4.0 and greater.
10922         * configure: Regenerated.
10924 2013-10-30  Will Newton  <will.newton@linaro.org>
10926         [BZ #16038]
10927         * malloc/hooks.c (memalign_check): Limit alignment to the
10928         maximum representable power of two.
10929         * malloc/malloc.c (__libc_memalign): Likewise.
10930         * malloc/tst-memalign.c (do_test): Add test for very
10931         large alignment values.
10932         * malloc/tst-posix_memalign.c (do_test): Likewise.
10934 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10936         [BZ #11087]
10937         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10938         (munmap_chunk): Likewise.
10939         (mremap_chunk): Likewise.
10941 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10943         [BZ #15799]
10944         * stdlib/div.c (div): Remove obsolete code.
10945         * stdlib/ldiv.c (ldiv): Likewise.
10946         * stdlib/lldiv.c (lldiv): Likewise.
10948 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10950         [BZ #16071]
10951         * nss/nss_files/files-XXX.c (get_contents_ret): New
10952         enumerator.
10953         (get_contents): New function.
10954         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10956 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10958         * configure.in: Moved to ...
10959         * configure.ac: ... here. Change reference to configure.in
10960         to configure.ac.
10961         * sysdeps/arm/preconfigure.ac: ... here.
10962         configure.in to configure.ac.
10963         * sysdeps/gnu/configure.in: Moved to ...
10964         * sysdeps/gnu/configure.ac: ... here.
10965         * sysdeps/i386/configure.in: Moved to ...
10966         * sysdeps/i386/configure.ac: ... here.
10967         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10968         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10969         * sysdeps/mach/configure.in: Moved to ...
10970         * sysdeps/mach/configure.ac: ... here.
10971         * sysdeps/mach/hurd/configure.in: Moved to ...
10972         * sysdeps/mach/hurd/configure.ac: ... here.
10973         * sysdeps/powerpc/configure.in: Moved to ...
10974         * sysdeps/powerpc/configure.ac: ... here.
10975         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10976         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10977         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10978         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10979         * sysdeps/s390/s390-32/configure.in: Moved to ...
10980         * sysdeps/s390/s390-32/configure.ac: ... here.
10981         * sysdeps/s390/s390-64/configure.in: Moved to ...
10982         * sysdeps/s390/s390-64/configure.ac: ... here.
10983         * sysdeps/sh/configure.in: Moved to ...
10984         * sysdeps/sh/configure.ac: ... here.
10985         * sysdeps/sparc/configure.in: Moved to ...
10986         * sysdeps/sparc/configure.ac: ... here.
10987         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10988         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10989         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10990         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10991         * sysdeps/x86_64/configure.in: Moved to ...
10992         * sysdeps/x86_64/configure.ac: ... here.
10993         * sysdeps/x86_64/preconfigure.in: Moved to ...
10994         * sysdeps/x86_64/preconfigure.ac: ... here.
10995         * aclocal.m4: Change reference to configure.in to configure.ac.
10996         * config.h.in: Likewise.
10997         * manual/install.texi: Likewise.
10998         * manual/maint.texi: Likewise.
10999         * Makefile: Likewise.
11000         * malloc/Makefile: Likewise.
11001         * nscd/Makefile: Likewise.
11002         * Makeconfig: Change reference to configure.in and
11003         preconfigure.in to configure.ac and preconfigure.ac
11004         respectively.
11005         * INSTALL: Regenerated.
11006         * configure: Likewise.
11007         * sysdeps/gnu/configure: Likewise.
11008         * sysdeps/i386/configure: Likewise.
11009         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11010         * sysdeps/mach/configure: Likewise.
11011         * sysdeps/mach/hurd/configure: Likewise.
11012         * sysdeps/powerpc/configure: Likewise.
11013         * sysdeps/powerpc/powerpc32/configure: Likewise.
11014         * sysdeps/powerpc/powerpc64/configure: Likewise.
11015         * sysdeps/s390/s390-32/configure: Likewise.
11016         * sysdeps/s390/s390-64/configure: Likewise.
11017         * sysdeps/sh/configure: Likewise.
11018         * sysdeps/sparc/configure: Likewise.
11019         * sysdeps/unix/sysv/linux/configure: Likewise.
11020         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11021         * sysdeps/x86_64/configure: Likewise.
11022         * sysdeps/x86_64/preconfigure: Likewise.
11024 2013-10-29  Andreas Schwab  <schwab@suse.de>
11026         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11028 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11030         * benchtests/pow-inputs: Add new inputs.
11032         * benchtests/exp-inputs: Add new inputs.
11034         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11035         conditional check for return value.
11036         (__cos32): Likewise.
11038 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11040         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11041         to provide a boost for large inputs with word alignment.
11042         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11043         implementation based on optimized PPC64 strcpy.
11044         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11045         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11046         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11047         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11049 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11051         [BZ #2801]
11052         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11054 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11056         [BZ #14876]
11057         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11058         * time/tst-strptime.c (day_tests): Add testcase.
11060 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11062         [BZ #14029]
11063         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11065 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11067         [BZ #16074]
11068         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11069         MAP_FAILED on error.
11071 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11073         [BZ #16072]
11074         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11075         heap for large requests.
11077 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11079         [BZ #9954]
11080         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11081         result if the result has no associated interface.
11082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11083         interface for all 127.X.Y.Z addresses.
11085 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11087         * locale/iso-639.def: Add Ligurian (lij)
11089 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11091         [BZ #15825]
11092         * sunrpc/rpc_main.c: Document rpcgen -5.
11094 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11096         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11098 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11100         [BZ #10278]
11101         * posix/glob.c: Match only directories when trailing slash is present.
11102         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11103         (main): Add testcase.
11105 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11107         [BZ #15670]
11108         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11110 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11112         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11113         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11114         AUTH_DES and cindex for FIPS 140-2.
11115         (DES Encryption): Add cindex FIPS 46-3.
11117         * locale/locarchive.h (struct locarhandle): Add fname.
11118         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11119         if an optional argument was specified to --list-archive,
11120         otherwise NULL.
11121         * locale/programs/locarchive.c (show_archive_content): Take new
11122         argument fname and pass it via ah.fname to open_archive.
11123         * locale/programs/localedef.h: Update decl.
11124         (open_archive): If AH->fname is non-null, open that file
11125         rather than the default file name, and don't ignore ENOENT.
11126         (create_archive): Set AH.fname to NULL.
11127         (delete_locales_from_archive): Likewise.
11128         (add_locales_to_archive): Likewise.
11129         * locale/programs/locfile.c (write_all_categories): Likewise.
11131 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11132             Aldy Hernandez  <aldyh@redhat.com>
11134         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11135         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11136         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11137         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11138         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11139         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11142         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11143         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11144         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11145         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11146         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11147         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11148         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11149         Likewise.
11150         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11151         Likewise.
11152         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11153         Likewise.
11154         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11155         Likewise.
11156         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11157         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11158         Likewise.
11159         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11160         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11161         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11162         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11163         Likewise.
11164         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11165         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11166         * sysdeps/powerpc/preconfigure: Likewise.
11167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11168         Likewise.
11169         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11170         Replace contents of file by #include of <fenv_libc.h>.
11171         * sysdeps/powerpc/soft-fp/sfp-machine.h
11172         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11173         and <sys/prctl.h>.
11174         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11175         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11181         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11182         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11187         Allow copysignl PLT reference to be missing.
11189 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11190             Joseph Myers  <joseph@codesourcery.com
11192         [BZ #15948]
11193         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11194         single character.
11195         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11197 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11199         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11200         * elf/tst-tls1.c: Likewise.
11201         * elf/tst-tls10.h: Likewise.
11202         * elf/tst-tls14.c: Likewise.
11203         * elf/tst-tls2.c: Likewise.
11204         * elf/tst-tls3.c: Likewise.
11205         * elf/tst-tls4.c: Likewise.
11206         * elf/tst-tls5.c: Likewise.
11207         * elf/tst-tls6.c: Likewise.
11208         * elf/tst-tls7.c: Likewise.
11209         * elf/tst-tls8.c: Likewise.
11210         * elf/tst-tls9.c: Likewise.
11211         * elf/tst-tlsmod1.c: Likewise.
11212         * elf/tst-tlsmod13.c: Likewise.
11213         * elf/tst-tlsmod13a.c: Likewise.
11214         * elf/tst-tlsmod14a.c: Likewise.
11215         * elf/tst-tlsmod16a.c: Likewise.
11216         * elf/tst-tlsmod16b.c: Likewise.
11217         * elf/tst-tlsmod2.c: Likewise.
11218         * elf/tst-tlsmod3.c: Likewise.
11219         * elf/tst-tlsmod4.c: Likewise.
11220         * elf/tst-tlsmod5.c: Likewise.
11221         * elf/tst-tlsmod6.c: Likewise.
11223 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11225         [BZ #12486]
11226         * malloc/malloc.c: remove checks for statistics.
11228 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11230         [BZ #15277]
11231         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11232         * inet/tst-network.c: Add testcase.
11234 2013-10-17  Andreas Schwab  <schwab@suse.de>
11236         [BZ #15218]
11237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11238         to determine canonical name.
11240 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11242         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11243         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11245         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11247         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11248         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11249         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11250         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11251         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11252         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11253         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11256         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11257         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11258         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11259         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11260         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11261         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11262         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11264         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11265         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11266         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11269         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11270         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11271         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11272         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11274         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11275         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11276         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11278         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11279         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11280         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11281         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11282         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11283         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11284         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11285         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11286         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11287         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11288         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11289         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11290         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11291         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11292         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11293         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11295         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11296         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11297         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11299         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11301 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11303         [BZ #16041]
11304         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11305         make result into a quiet NaN.
11307 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11309         * soft-fp/adddf3.c: Fix horizontal whitespace.
11310         * soft-fp/addsf3.c: Likewise.
11311         * soft-fp/addtf3.c: Likewise.
11312         * soft-fp/divdf3.c: Likewise.
11313         * soft-fp/divsf3.c: Likewise.
11314         * soft-fp/divtf3.c: Likewise.
11315         * soft-fp/double.h: Likewise.
11316         * soft-fp/eqdf2.c: Likewise.
11317         * soft-fp/eqsf2.c: Likewise.
11318         * soft-fp/eqtf2.c: Likewise.
11319         * soft-fp/extenddftf2.c: Likewise.
11320         * soft-fp/extended.h: Likewise.
11321         * soft-fp/extendsfdf2.c: Likewise.
11322         * soft-fp/extendsftf2.c: Likewise.
11323         * soft-fp/extendxftf2.c: Likewise.
11324         * soft-fp/fixdfdi.c: Likewise.
11325         * soft-fp/fixdfsi.c: Likewise.
11326         * soft-fp/fixdfti.c: Likewise.
11327         * soft-fp/fixsfdi.c: Likewise.
11328         * soft-fp/fixsfsi.c: Likewise.
11329         * soft-fp/fixsfti.c: Likewise.
11330         * soft-fp/fixtfdi.c: Likewise.
11331         * soft-fp/fixtfsi.c: Likewise.
11332         * soft-fp/fixtfti.c: Likewise.
11333         * soft-fp/fixunsdfdi.c: Likewise.
11334         * soft-fp/fixunsdfsi.c: Likewise.
11335         * soft-fp/fixunsdfti.c: Likewise.
11336         * soft-fp/fixunssfdi.c: Likewise.
11337         * soft-fp/fixunssfsi.c: Likewise.
11338         * soft-fp/fixunssfti.c: Likewise.
11339         * soft-fp/fixunstfdi.c: Likewise.
11340         * soft-fp/fixunstfsi.c: Likewise.
11341         * soft-fp/fixunstfti.c: Likewise.
11342         * soft-fp/floatdidf.c: Likewise.
11343         * soft-fp/floatdisf.c: Likewise.
11344         * soft-fp/floatditf.c: Likewise.
11345         * soft-fp/floatsidf.c: Likewise.
11346         * soft-fp/floatsisf.c: Likewise.
11347         * soft-fp/floatsitf.c: Likewise.
11348         * soft-fp/floattidf.c: Likewise.
11349         * soft-fp/floattisf.c: Likewise.
11350         * soft-fp/floattitf.c: Likewise.
11351         * soft-fp/floatundidf.c: Likewise.
11352         * soft-fp/floatundisf.c: Likewise.
11353         * soft-fp/floatunditf.c: Likewise.
11354         * soft-fp/floatunsidf.c: Likewise.
11355         * soft-fp/floatunsisf.c: Likewise.
11356         * soft-fp/floatunsitf.c: Likewise.
11357         * soft-fp/floatuntidf.c: Likewise.
11358         * soft-fp/floatuntisf.c: Likewise.
11359         * soft-fp/floatuntitf.c: Likewise.
11360         * soft-fp/fmadf4.c: Likewise.
11361         * soft-fp/fmasf4.c: Likewise.
11362         * soft-fp/fmatf4.c: Likewise.
11363         * soft-fp/gedf2.c: Likewise.
11364         * soft-fp/gesf2.c: Likewise.
11365         * soft-fp/getf2.c: Likewise.
11366         * soft-fp/ledf2.c: Likewise.
11367         * soft-fp/lesf2.c: Likewise.
11368         * soft-fp/letf2.c: Likewise.
11369         * soft-fp/muldf3.c: Likewise.
11370         * soft-fp/mulsf3.c: Likewise.
11371         * soft-fp/multf3.c: Likewise.
11372         * soft-fp/negdf2.c: Likewise.
11373         * soft-fp/negsf2.c: Likewise.
11374         * soft-fp/negtf2.c: Likewise.
11375         * soft-fp/op-1.h: Likewise.
11376         * soft-fp/op-2.h: Likewise.
11377         * soft-fp/op-4.h: Likewise.
11378         * soft-fp/op-8.h: Likewise.
11379         * soft-fp/op-common.h: Likewise.
11380         * soft-fp/quad.h: Likewise.
11381         * soft-fp/single.h: Likewise.
11382         * soft-fp/soft-fp.h: Likewise.
11383         * soft-fp/sqrtdf2.c: Likewise.
11384         * soft-fp/sqrtsf2.c: Likewise.
11385         * soft-fp/sqrttf2.c: Likewise.
11386         * soft-fp/subdf3.c: Likewise.
11387         * soft-fp/subsf3.c: Likewise.
11388         * soft-fp/subtf3.c: Likewise.
11389         * soft-fp/truncdfsf2.c: Likewise.
11390         * soft-fp/trunctfdf2.c: Likewise.
11391         * soft-fp/trunctfsf2.c: Likewise.
11392         * soft-fp/trunctfxf2.c: Likewise.
11393         * soft-fp/unorddf2.c: Likewise.
11394         * soft-fp/unordsf2.c: Likewise.
11395         * soft-fp/unordtf2.c: Likewise.
11397 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11399         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11400         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11402 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11404         * elf/dl-libc.c: Clear initfini list after freeing.
11406 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11408         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11409         * soft-fp/addsf3.c: Likewise.
11410         * soft-fp/addtf3.c: Likewise.
11411         * soft-fp/divdf3.c: Likewise.
11412         * soft-fp/divsf3.c: Likewise.
11413         * soft-fp/divtf3.c: Likewise.
11414         * soft-fp/double.h: Likewise.
11415         * soft-fp/eqdf2.c: Likewise.
11416         * soft-fp/eqsf2.c: Likewise.
11417         * soft-fp/eqtf2.c: Likewise.
11418         * soft-fp/extenddftf2.c: Likewise.
11419         * soft-fp/extended.h: Likewise.
11420         * soft-fp/extendsfdf2.c: Likewise.
11421         * soft-fp/extendsftf2.c: Likewise.
11422         * soft-fp/extendxftf2.c: Likewise.
11423         * soft-fp/fixdfdi.c: Likewise.
11424         * soft-fp/fixdfsi.c: Likewise.
11425         * soft-fp/fixdfti.c: Likewise.
11426         * soft-fp/fixsfdi.c: Likewise.
11427         * soft-fp/fixsfsi.c: Likewise.
11428         * soft-fp/fixsfti.c: Likewise.
11429         * soft-fp/fixtfdi.c: Likewise.
11430         * soft-fp/fixtfsi.c: Likewise.
11431         * soft-fp/fixtfti.c: Likewise.
11432         * soft-fp/fixunsdfdi.c: Likewise.
11433         * soft-fp/fixunsdfsi.c: Likewise.
11434         * soft-fp/fixunsdfti.c: Likewise.
11435         * soft-fp/fixunssfdi.c: Likewise.
11436         * soft-fp/fixunssfsi.c: Likewise.
11437         * soft-fp/fixunssfti.c: Likewise.
11438         * soft-fp/fixunstfdi.c: Likewise.
11439         * soft-fp/fixunstfsi.c: Likewise.
11440         * soft-fp/fixunstfti.c: Likewise.
11441         * soft-fp/floatdidf.c: Likewise.
11442         * soft-fp/floatdisf.c: Likewise.
11443         * soft-fp/floatditf.c: Likewise.
11444         * soft-fp/floatsidf.c: Likewise.
11445         * soft-fp/floatsisf.c: Likewise.
11446         * soft-fp/floatsitf.c: Likewise.
11447         * soft-fp/floattidf.c: Likewise.
11448         * soft-fp/floattisf.c: Likewise.
11449         * soft-fp/floattitf.c: Likewise.
11450         * soft-fp/floatundidf.c: Likewise.
11451         * soft-fp/floatundisf.c: Likewise.
11452         * soft-fp/floatunsidf.c: Likewise.
11453         * soft-fp/floatunsisf.c: Likewise.
11454         * soft-fp/floatuntidf.c: Likewise.
11455         * soft-fp/floatuntisf.c: Likewise.
11456         * soft-fp/floatuntitf.c: Likewise.
11457         * soft-fp/fmadf4.c: Likewise.
11458         * soft-fp/fmasf4.c: Likewise.
11459         * soft-fp/fmatf4.c: Likewise.
11460         * soft-fp/gedf2.c: Likewise.
11461         * soft-fp/gesf2.c: Likewise.
11462         * soft-fp/getf2.c: Likewise.
11463         * soft-fp/ledf2.c: Likewise.
11464         * soft-fp/lesf2.c: Likewise.
11465         * soft-fp/letf2.c: Likewise.
11466         * soft-fp/muldf3.c: Likewise.
11467         * soft-fp/mulsf3.c: Likewise.
11468         * soft-fp/multf3.c: Likewise.
11469         * soft-fp/negdf2.c: Likewise.
11470         * soft-fp/negsf2.c: Likewise.
11471         * soft-fp/negtf2.c: Likewise.
11472         * soft-fp/op-1.h: Likewise.
11473         * soft-fp/op-2.h: Likewise.
11474         * soft-fp/op-4.h: Likewise.
11475         * soft-fp/op-8.h: Likewise.
11476         * soft-fp/op-common.h: Likewise.
11477         * soft-fp/quad.h: Likewise.
11478         * soft-fp/single.h: Likewise.
11479         * soft-fp/soft-fp.h: Likewise.
11480         * soft-fp/sqrtdf2.c: Likewise.
11481         * soft-fp/sqrtsf2.c: Likewise.
11482         * soft-fp/sqrttf2.c: Likewise.
11483         * soft-fp/subdf3.c: Likewise.
11484         * soft-fp/subsf3.c: Likewise.
11485         * soft-fp/subtf3.c: Likewise.
11486         * soft-fp/truncdfsf2.c: Likewise.
11487         * soft-fp/trunctfdf2.c: Likewise.
11488         * soft-fp/trunctfsf2.c: Likewise.
11489         * soft-fp/trunctfxf2.c: Likewise.
11490         * soft-fp/unorddf2.c: Likewise.
11491         * soft-fp/unordsf2.c: Likewise.
11492         * soft-fp/unordtf2.c: Likewise.
11494 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
11496         [BZ #15672]
11497         * misc/error.c (error_tail): Fix possible buffer overflow.
11499 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
11501         [BZ #13028]
11502         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11503         address.
11505 2013-10-14  P. J. McDermott  <pj@pehjota.net>
11507         [BZ #832]
11508         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
11509         testing pipefail option.
11511 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11513         * soft-fp/double.h: Indent preprocessor directives inside #if.
11514         * soft-fp/extended.h: Likewise.
11515         * soft-fp/op-2.h: Likewise.
11516         * soft-fp/op-4.h: Likewise.
11517         * soft-fp/op-common.h: Likewise.
11518         * soft-fp/quad.h: Likewise.
11519         * soft-fp/single.h: Likewise.
11520         * soft-fp/soft-fp.h: Likewise.
11522 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
11524         * iconv/iconv_prog.c: Fix typos.
11525         * stdio-common/psiginfo-data.h: Likewise.
11527 2013-10-12   Reuben Thomas <rrt@sc3d.org>
11529         [BZ #15764]
11530         * locale/setlocale.c: Fix typo.
11532 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11534         [BZ #16036]
11535         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11536         signaling NaN arguments.
11537         * soft-fp/unordsf2.c (__unordsf2): Likewise.
11538         * soft-fp/unordtf2.c (__unordtf2): Likewise.
11540         [BZ #14910]
11541         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11542         unordered operands.
11543         * soft-fp/gesf2.c (__gesf2): Likewise.
11544         * soft-fp/getf2.c (__getf2): Likewise.
11545         * soft-fp/ledf2.c (__ledf2): Likewise.
11546         * soft-fp/lesf2.c (__lesf2): Likewise.
11547         * soft-fp/letf2.c (__letf2): Likewise.
11549         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11550         * soft-fp/eqsf2.c (__eqsf2): Likewise.
11551         * soft-fp/eqtf2.c (__eqtf2): Likewise.
11552         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11553         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11554         * soft-fp/fixdfti.c (__fixdfti): Likewise.
11555         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11556         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11557         * soft-fp/fixsfti.c (__fixsfti): Likewise.
11558         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11559         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11560         * soft-fp/fixtfti.c (__fixtfti): Likewise.
11561         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11562         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11563         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11564         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11565         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11566         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11567         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11568         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11569         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11570         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11571         * soft-fp/floatdisf.c (__floatdisf): Likewise.
11572         * soft-fp/floatsisf.c (__floatsisf): Likewise.
11573         * soft-fp/floattidf.c (__floattidf): Likewise.
11574         * soft-fp/floattisf.c (__floattisf): Likewise.
11575         * soft-fp/floattitf.c (__floattitf): Likewise.
11576         * soft-fp/floatundidf.c (__floatundidf): Likewise.
11577         * soft-fp/floatundisf.c (__floatundisf): Likewise.
11578         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11579         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11580         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11581         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11582         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11583         * soft-fp/gesf2.c (__gesf2): Likewise.
11584         * soft-fp/getf2.c (__getf2): Likewise.
11585         * soft-fp/ledf2.c (__ledf2): Likewise.
11586         * soft-fp/lesf2.c (__lesf2): Likewise.
11587         * soft-fp/letf2.c (__letf2): Likewise.
11589         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11590         Undefine and redefine.
11591         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11592         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11593         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11594         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11595         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11596         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11597         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11598         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11599         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11600         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11601         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11602         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11603         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11604         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11605         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11607         [BZ #16032]
11608         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11609         without decrementing exponent if mantissa >= that for the
11610         denominator, not >.
11611         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11612         denominator, not >.  Decrement exponent in < case instead of
11613         incrementing in >= case.
11614         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11615         without decrementing exponent if mantissa >= that for the
11616         denominator, not >.
11618         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11619         computing saturated result for unsigned overflow.
11621 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11622             Jeff Law  <law@redhat.com>
11624         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11625         (atan2Mp): Add systemtap probe marker.
11626         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11627         (__ieee754_log): Add systemtap probe marker.
11628         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11629         (atanMp): Add systemtap probe marker.
11630         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11631         (tanMp): Add systemtap probe marker.
11632         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11633         (__slowexp): Add systemtap probe marker.
11634         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11635         (__slowpow): Add systemtap probe marker.
11636         * manual/probes.texi: Document probes.
11638 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11640         [BZ #15362]
11641         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11642         written.
11643         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11644         written.
11645         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11646         written to buffer but not flushed.
11647         * libio/iofwrite_u.c:  Likewise.
11648         * libio/iopadn.c:  Return bytes returned even if EOF was
11649         encountered.
11650         * libio/iowpadn.c:  Likewise.
11651         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11652         if _IO_padn does not write the whole buffer.
11653         [!COMPILE_WPRINTF] (PAD): Likewise.
11655 2013-10-10  David S. Miller  <davem@davemloft.net>
11657         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11658         directory block.
11660 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11662         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11663         instead of FSF address.
11664         * soft-fp/fixdfti.c: Likewise.
11665         * soft-fp/fixsfti.c: Likewise.
11666         * soft-fp/fixtfti.c: Likewise.
11667         * soft-fp/fixunsdfti.c: Likewise.
11668         * soft-fp/fixunssfti.c: Likewise.
11669         * soft-fp/fixunstfti.c: Likewise.
11670         * soft-fp/floattidf.c: Likewise.
11671         * soft-fp/floattisf.c: Likewise.
11672         * soft-fp/floattitf.c: Likewise.
11673         * soft-fp/floatuntidf.c: Likewise.
11674         * soft-fp/floatuntisf.c: Likewise.
11675         * soft-fp/floatuntitf.c: Likewise.
11676         * soft-fp/trunctfxf2.c: Likewise.
11678         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11679         * soft-fp/fixdfti.c: Likewise.
11680         * soft-fp/fixsfti.c: Likewise.
11681         * soft-fp/fixtfti.c: Likewise.
11682         * soft-fp/fixunsdfti.c: Likewise.
11683         * soft-fp/fixunssfti.c: Likewise.
11684         * soft-fp/fixunstfti.c: Likewise.
11685         * soft-fp/floattidf.c: Likewise.
11686         * soft-fp/floattisf.c: Likewise.
11687         * soft-fp/floattitf.c: Likewise.
11688         * soft-fp/floatuntidf.c: Likewise.
11689         * soft-fp/floatuntisf.c: Likewise.
11690         * soft-fp/floatuntitf.c: Likewise.
11691         * soft-fp/trunctfxf2.c: Likewise.
11693 2013-10-10  David S. Miller  <davem@davemloft.net>
11695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11697 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11699         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11700         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11701         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11702         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11703         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11704         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11705         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11707         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11708         for NaNs before doing comparisons on argument.
11709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11710         Likewise.
11712 2013-10-10  Will Newton  <will.newton@linaro.org>
11714         * malloc/hooks.c (memalign_check): Ensure the value of bytes
11715         passed to _int_memalign does not overflow.
11717 2013-10-10  Torvald Riegel  <triegel@redhat.com>
11719         * scripts/bench.pl: Add include-sources directive.
11720         * benchtests/README: Update documentation.
11722 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11724         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11725         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11726         instead of FP_INIT_ROUNDMODE.
11727         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11728         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11730         [BZ #16034]
11731         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
11732         copy class of input value.
11733         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
11734         not handle exceptions.
11735         * soft-fp/negsf2.c (__negsf2): Likewise.
11736         * soft-fp/negtf2.c (__negtf2): Likewise.
11737         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11739 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
11741         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11742         semicolon.  From Linux kernel.
11744 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
11746         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11748 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
11750         [BZ #156]
11751         * manual/socket.texi: Added statement about buffer
11752         for gethostbyname2_r.
11754 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
11756         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11757         Use .p2align directive instead, throughout.
11758         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11759         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11760         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11761         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11762         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11763         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11764         * sysdeps/x86_64/strchr.S: Likewise.
11765         * sysdeps/x86_64/strrchr.S: Likewise.
11767 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11769         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11771         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11773         * sysdeps/generic/math_private.h (__mpsin1): Remove
11774         declaration.
11775         (__mpcos1): Likewise.
11776         (__mpsin): New argument __range_reduce.
11777         (__mpcos): Likewise.
11778         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11779         (slow): Use __mpsin and __mpcos.
11780         (slow1): Likewise.
11781         (slow2): Likewise.
11782         (sloww): Likewise.
11783         (sloww1): Likewise.
11784         (sloww2): Likewise.
11785         (bsloww): Likewise.
11786         (bsloww1): Likewise.
11787         (bsloww2): Likewise.
11788         (cslow2): Likewise.
11789         (csloww): Likewise.
11790         (csloww1): Likewise.
11791         (csloww2): Likewise.
11792         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11793         range_reduce.  Merge in __mpsin1.
11794         (__mpcos): Likewise.
11795         (__mpsin1): Remove.
11796         (__mpcos1): Likewise.
11798 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
11800         * locale/loadlocale.c (_nl_intern_locale_data): Use
11801         LOCFILE_ALIGNED_P.
11802         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11803         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11804         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11805         obstack data is appropriately aligned.
11806         (obstack_int32_grow_fast): Likewise.
11807         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11808         * locale/programs/locfile.c (add_locale_uint32): Likewise.
11809         (add_locale_uint32_array): Likewise.
11811 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11813         * benchtests/Makefile: Remove ARGLIST and RET variables.
11814         ($(objpfx)bench-%.c): Pass only function name to the script.
11815         * benchtests/README: Update documentation.
11816         * benchtests/acos-inputs: Add new directives.
11817         * benchtests/acosh-inputs: Likewise.
11818         * benchtests/asin-inputs: Likewise.
11819         * benchtests/asinh-inputs: Likewise.
11820         * benchtests/atan-inputs: Likewise.
11821         * benchtests/atanh-inputs: Likewise.
11822         * benchtests/cos-inputs: Likewise.
11823         * benchtests/cosh-inputs: Likewise.
11824         * benchtests/exp-inputs: Likewise.
11825         * benchtests/log-inputs: Likewise.
11826         * benchtests/pow-inputs: Likewise.
11827         * benchtests/rint-inputs: Likewise.
11828         * benchtests/sin-inputs: Likewise.
11829         * benchtests/sinh-inputs: Likewise.
11830         * benchtests/tan-inputs: Likewise.
11831         * benchtests/tanh-inputs: Likewise.
11832         * scripts/bench.pl: Add support for new directives.
11834 2013-10-07  Alan Modra  <amodra@gmail.com>
11836         * README: Fix careless merge.
11838 2013-10-05  Alan Modra  <amodra@gmail.com>
11840         * NEWS: Mention powerpc64le support and bugs fixed.
11841         * README: Both big-endian and little-endian powerpc64 supported.
11843 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11845         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11846         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11847         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11848         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11850 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
11852         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11853         match prototype.
11855 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
11857         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11858         Move -mhard-float appending from
11859         ports/sysdeps/powerpc/powerpc32/Makefile.
11860         [$(with-fp) = yes] (ASFLAGS): Likewise.
11861         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11862         * sysdeps/powerpc/nofpu: Move directory from
11863         ports/sysdeps/powerpc/nofpu.
11864         * sysdeps/powerpc/soft-fp: Move directory from
11865         ports/sysdeps/powerpc/soft-fp.
11866         * sysdeps/powerpc/powerpc32/405: Move directory from
11867         ports/sysdeps/powerpc/powerpc32/405.
11868         * sysdeps/powerpc/powerpc32/440: Move directory from
11869         ports/sysdeps/powerpc/powerpc32/440.
11870         * sysdeps/powerpc/powerpc32/464: Move directory from
11871         ports/sysdeps/powerpc/powerpc32/464.
11872         * sysdeps/powerpc/powerpc32/476: Move directory from
11873         ports/sysdeps/powerpc/powerpc32/476.
11874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11875         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11877         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11879         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11881         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11883         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11884         * README: Update for powerpc-*-linux-gnu software floating point
11885         support in libc.
11887         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11888         case to powerpc/powerpc32*.
11889         * sysdeps/unix/sysv/linux/configure: Regenerated.
11891         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11892         (_FPU_MASK_OM): Define as 0x04.
11893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11895         0x00c10080.
11896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11897         0x0000003c.
11898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11901         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11902         getcontext_e500.
11903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11904         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11905         setcontext_e500.
11906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11907         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11908         and setcontext_e500.
11910 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
11912         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11914 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11916         * manual/threads.texi (Default Thread Attributes): Fix typo.
11918 2013-10-04  Will Newton  <will.newton@linaro.org>
11920         * malloc/Makefile: Add tst-memalign.
11921         * malloc/tst-memalign.c: New file.
11923         * malloc/tst-posix_memalign.c: Add comments.
11924         (do_test): Add comments and call free on all potentially
11925         allocated pointers. Add space after cast.
11927         * malloc/tst-pvalloc.c: Add comments.
11928         (do_test): Add comments and call free on all potentially
11929         allocated pointers. Remove duplicate check for NULL pointer.
11930         Add space after cast.
11932         * malloc/tst-valloc.c: Add comments.
11933         (do_test): Add comments and call free on all potentially
11934         allocated pointers. Remove duplicate check for NULL pointer.
11935         Add space after cast.
11937 2013-10-04  Alan Modra  <amodra@gmail.com>
11939         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11940         Use stdint types in rather than __attribute__((mode())).
11941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11943 2013-10-04  Alan Modra  <amodra@gmail.com>
11945         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11946         Correct handling of unaligned relocs for little-endian.
11947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11949 2013-10-04  Alan Modra  <amodra@gmail.com>
11951         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11952         * configure: Regenerate.
11953         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11954         * shlib-versions: Likewise.
11956 2013-10-04  Alan Modra  <amodra@gmail.com>
11958         * string/tester.c (test_memrchr): Increment reported test cycle.
11960 2013-10-04  Alan Modra  <amodra@gmail.com>
11962         * string/test-memcpy.c (do_one_test): When reporting errors, print
11963         string address and don't overrun end of string.
11965 2013-10-04  Alan Modra  <amodra@gmail.com>
11967         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11968         insrdi.  Make better use of reg selection to speed exit slightly.
11969         Schedule entry path a little better.  Remove useless "are we done"
11970         checks on entry to main loop.  Handle wrapping around zero address.
11971         Correct main loop count.  Handle single left-over word from main
11972         loop inline rather than by using loop_small.  Remove extra word
11973         case in loop_small caused by wrong loop count.  Add little-endian
11974         support.
11975         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11976         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11977         cache hint.
11978         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11979         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11980         support.  Avoid rlwimi.
11981         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11983 2013-10-04  Alan Modra  <amodra@gmail.com>
11985         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11986         insrdi.  Formatting.
11987         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11988         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11989         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11990         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11991         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11992         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11994 2013-10-04  Alan Modra  <amodra@gmail.com>
11996         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11997         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11999         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12000         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12001         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12002         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12003         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12004         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12005         use of regs.  Use power7 mtocrf.  Tidy function tails.
12007 2013-10-04  Alan Modra  <amodra@gmail.com>
12009         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12010         Formatting.  Consistently use rXXX register defines or rN defines.
12011         Use early exit labels that avoid restoring unused non-volatile regs.
12012         Make cr field use more consistent with rWORDn compares.  Rename
12013         regs used as shift registers for unaligned loop, using rN defines
12014         for short lifetime/multiple use regs.
12015         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12016         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12017         addi 1,1,64 to pop stack frame.  Simplify return value code.
12018         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12020 2013-10-04  Alan Modra  <amodra@gmail.com>
12022         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12023         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12024         rather than rlwimi.
12025         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12026         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12027         little-endian support.  Correct typos.
12028         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12029         rather than rlwimi.
12030         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12031         in loop and entry code to keep "and." results.
12032         (strchr): Add little-endian support.  Comment.  Move cntlzd
12033         earlier in tail.
12034         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12036 2013-10-04  Alan Modra  <amodra@gmail.com>
12038         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12039         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12040         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12041         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12043 2013-10-04  Alan Modra  <amodra@gmail.com>
12045         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12046         (rTMP): Define as r11.
12047         (strcmp): Add little-endian support.  Optimise tail.
12048         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12049         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12050         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12051         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12052         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12053         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12056 2013-10-04  Alan Modra  <amodra@gmail.com>
12058         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12059         little-endian support.  Remove unnecessary "are we done" tests.
12060         Handle "s" wrapping around zero and extremely large "size".
12061         Correct main loop count.  Handle single left-over word from main
12062         loop inline rather than by using small_loop.  Correct comments.
12063         Delete "zero" tail, use "end_max" instead.
12064         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12066 2013-10-04  Alan Modra  <amodra@gmail.com>
12068         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12069         support.  Don't branch over align.
12070         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12071         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12072         support.  Rearrange tmp reg use to suit.  Comment.
12073         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12075 2013-10-04  Alan Modra  <amodra@gmail.com>
12077         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12079 2013-10-04  Alan Modra  <amodra@gmail.com>
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12082         conditional form of branch and link when obtaining pc.
12083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12085 2013-10-04  Alan Modra  <amodra@gmail.com>
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12088         HIWORD/LOWORD.
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12092 2013-10-04  Alan Modra  <amodra@gmail.com>
12094         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12095         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12096         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12097         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12098         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12099         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12100         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12101         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12102         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12103         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12106             Alistair Popple <alistair@ozlabs.au.ibm.com>
12107             Alan Modra <amodra@gmail.com>
12109         [BZ #15723]
12110         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12111         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12112         _dl_hwcap access for little-endian.
12113         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12114         destroy vmx regs when saving unaligned.
12115         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12116         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12117         destroy vmx regs when saving unaligned.
12119 2013-10-04  Alan Modra  <amodra@gmail.com>
12121         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12122         Don't use a union to pack hi/low value.
12124 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12126         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12127         for little-endian.
12128         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12130         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12131         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12132         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12134 2013-10-04  Alan Modra  <amodra@gmail.com>
12136         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12137         constants to usual value for .cst8 section, and remove redundant
12138         high address load.
12139         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12140         constant for 0x1p52.  Load little-endian words of double from
12141         correct stack offsets.
12143 2013-10-04  Alan Modra  <amodra@gmail.com>
12145         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12146         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12147         words of double from correct stack offsets.
12148         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12149         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12150         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12151         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12153         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12154         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12155         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12156         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12157         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12158         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12160         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12161         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12162         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12163         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12164         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12166 2013-10-04  Alan Modra  <amodra@gmail.com>
12168         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12169         64-bit int/double union.
12170         (_FPU_SETCW): Likewise.
12171         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12172         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12174 2013-10-04  Alan Modra  <amodra@gmail.com>
12176         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12177         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12179 2013-10-04  Alan Modra  <amodra@gmail.com>
12181         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12182         use vector int constants.
12183         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12185 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12187         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12188         array with long long.
12189         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12190         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12191         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12192         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12193         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12194         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12195         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12196         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12197         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12198         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12199         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12200         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12201         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12203 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12205         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12206         (__signbit): Likewise.  Correct for little-endian.
12207         (__signbitl): Call __signbit.
12208         (lrint): Correct for little-endian.
12209         (lrintf): Call lrint.
12211 2013-10-04  Alan Modra  <amodra@gmail.com>
12213         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12214         union 32-bit int array member with 64-bit int array.
12215         (t515, tm256): Double rather than long double.
12216         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12218 2013-10-04  Alan Modra  <amodra@gmail.com>
12220         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12221         Delete.
12222         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12224         version of math_ldbl.h.
12226 2013-10-04  Alan Modra  <amodra@gmail.com>
12228         [BZ #15734], [BZ #15735]
12229         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12230         all uses of ieee875 long double macros and unions.  Simplify test
12231         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12232         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12233         normalize after ldbl_extract_mantissa, and don't add hidden bit
12234         already handled.  Don't treat low word of ieee854 mantissa like
12235         low word of IBM long double and mask off bit when testing for
12236         zero.
12237         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12238         all uses of ieee875 long double macros and unions.  Simplify tests
12239         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12240         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12241         two1022, instead use their values.  Recognise that tests for large
12242         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12244         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12245         test for 0.0L and nan.  Correct negation.
12246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12247         ieee875 long double macros and unions.  Correct output for large
12248         magnitude x.  Correct absolute value calculation.
12249         (__erfcl): Likewise.
12250         * math/libm-test.inc: Add tests for errors discovered in IBM long
12251         double versions of fmodl, remainderl, erfl and erfcl.
12253 2013-10-04  Alan Modra  <amodra@gmail.com>
12255         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12256         all uses of ieee854 long double macros and unions.  Simplify tests
12257         for long doubles that are fully specified by the high double.
12258         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12259         Likewise.
12260         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12261         Remove dead code too.
12262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12263         (__ieee754_ynl): Likewise.
12264         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12265         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12266         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12267         Remove dead code too.
12268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12269         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12270         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12271         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12272         Simplify.
12273         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12274         Simplify.
12275         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12276         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12277         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12278         Comment on variable precision.
12279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12281         Likewise.
12282         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12283         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12285         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12286         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12288 2013-10-04  Alan Modra  <amodra@gmail.com>
12290         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12291         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12292         all uses of ieee854 long double macros and unions.
12293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12294         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12295         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12296         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12297         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12298         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12299         Likewise.
12300         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12301         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12302         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12303         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12304         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12306         Simplify sign and nan test too.
12307         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12308         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12309         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12310         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12311         Likewise.
12312         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12313         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12314         Likewise.
12315         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12316         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12317         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12318         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12319         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12322 2013-10-04  Alan Modra  <amodra@gmail.com>
12324         * stdio-common/printf_size.c (__printf_size): Don't use
12325         union ieee854_long_double in fpnum union.
12326         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12327         signbit macro to retrieve sign from long double.
12328         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12329         retrieve sign from long double.
12330         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12331         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12332         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12333         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12334         * math/test-misc.c (main): Don't use union ieee854_long_double.
12336 2013-10-04  Alan Modra  <amodra@gmail.com>
12338         [BZ #15680]
12339         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12340         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12341         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12342         calculation.  Remove unnecessary test for denormal exponent.
12343         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12344         Correct handling of denormals.  Avoid undefined shift behaviour.
12345         Correct normalisation of low mantissa when low double is denormal.
12346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12347         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12348         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12349         Correct normalisation of low mantissa.  Test for overflow of high
12350         mantissa and normalise.
12351         (ldbl_nearbyint): Use more readable constant for two52.
12352         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12353         (__mpn_construct_long_double): Fix test for overflow of high
12354         mantissa and correct normalisation.  Avoid undefined shift.
12356 2013-10-04  Alan Modra  <amodra@gmail.com>
12358         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12359         (union ibm_extended_long_double): Define as an array of ieee754_double.
12360         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12361         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12362         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12363         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12364         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12365         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12367         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12368         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12369         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12370         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12372 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12374         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12375         page size instead of calling getpagesize.
12377         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12378         (LOCFILE_ALIGN_MASK): Likewise.
12379         (LOCFILE_ALIGN_UP): Likewise.
12380         (LOCFILE_ALIGNED_P): Likewise.
12381         * locale/programs/ld-collate.c (collate_output): Use the new
12382         macros instead of __alignof__ (int32_t).
12383         * locale/weight.h (findidx): Likewise.
12385 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12387         [BZ #431]
12388         * manual/string.texi: Fix strncat and wcsncat.
12390 2013-10-03  Brooks Moses  <bmoses@google.com>
12392         [BZ #15915]
12393         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12394         * Makerules: ...here, and adjust associated comments.
12396 2013-10-02  Will Newton  <will.newton@linaro.org>
12398         * malloc/Makefile: Add tst-pvalloc.
12399         * malloc/tst-pvalloc.c: New file.
12401 2013-10-02  Will Newton  <will.newton@linaro.org>
12403         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12404         improve test coverage.
12406 2013-10-02  Will Newton  <will.newton@linaro.org>
12408         * malloc/Makefile: Add tst-posix_memalign.
12409         * malloc/tst-posix_memalign.c: New file.
12411 2013-10-01  Eric Blake  <eblake@redhat.com>
12413         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12414         Use __THROWNL rather than __THROW on static functions.
12416 2013-09-30  Petr Machata  <pmachata@redhat.com>
12418         * elf/elf.h (R_AARCH64_ABS16): New macro.
12419         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12420         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12421         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12422         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12423         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12424         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12425         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12426         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12427         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12428         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12429         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12430         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12431         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12432         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12433         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12434         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12435         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12436         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12437         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12438         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12439         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12440         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12441         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12442         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12443         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12444         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12445         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12446         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12447         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12448         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12449         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12450         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12451         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12452         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12453         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12454         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12455         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12456         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12457         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12458         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12459         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12460         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12461         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12462         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12463         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12464         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12465         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12466         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12467         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12468         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12469         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12470         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12471         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12472         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12473         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12474         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12475         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12476         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12477         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12478         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12479         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12480         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12481         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12482         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12483         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12484         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12485         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12486         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12487         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12488         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12489         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12490         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12491         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12492         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12493         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12494         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12495         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12496         (R_AARCH64_TLSDESC_LDR): Likewise.
12497         (R_AARCH64_TLSDESC_ADD): Likewise.
12498         (R_AARCH64_TLSDESC_CALL): Likewise.
12500 2013-09-30  Andreas Schwab  <schwab@suse.de>
12502         [BZ #15048]
12503         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12504         the nss database lookup.
12505         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12508 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
12510         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12512 2013-09-28  P. J. McDermott  <pj@pehjota.net>
12514         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12515         ${Bash-specific parameter/pattern/string} parameter expansion.
12516         * sysdeps/unix/make-syscalls.sh: Likewise.
12518 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12520         * sysdeps/sh/stackguard-macros.h: New file.
12522 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
12524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12526         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12527         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12528         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12529         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12531 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12533         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12534         Fix thread ID register.
12536 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
12538         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12539         [POSIX || UNIX98]: Require rather than permitting all symbols from
12540         <time.h>.
12541         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12542         element of struct sched_param.
12543         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12544         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12545         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12546         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12547         constant.
12549 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
12551         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12552         argument calculation.
12554 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12556         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12557         Expect macro.
12558         [POSIX] (pthread_attr_t): Do not require type.
12559         [POSIX] (pthread_cond_t): Likewise.
12560         [POSIX] (pthread_condattr_t): Likewise.
12561         [POSIX] (pthread_key_t): Likewise.
12562         [POSIX] (pthread_mutex_t): Likewise.
12563         [POSIX] (pthread_mutexattr_t): Likewise.
12564         [POSIX] (pthread_once_t): Likewise.
12565         [POSIX] (pthread_t): Likewise.
12566         [POSIX-based standards] (pthread_atfork): Expect function.
12568 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12569             Richard Sandiford  <richard@codesourcery.com>
12571         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12572         (swap_endianness_p): New extern variable.
12573         (set_big_endian): New inline function.
12574         (maybe_swap_uint32): Likewise.
12575         (maybe_swap_uint32_array): Likewise.
12576         (maybe_swap_uint32_obstack): Likewise.
12577         * locale/programs/locfile.c: Include <stdbool.h>.
12578         (swap_endianness_p): New variable.
12579         (add_locale_uint32): Call maybe_swap_uint32.
12580         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12581         (write_locale_data): Call maybe_swap_uint32_array.
12582         * locale/programs/ld-collate.c (obstack_int32_grow): Call
12583         maybe_swap_uint32.
12584         (obstack_int32_grow_fast): Likewise.
12585         (output_weightwc): Call maybe_swap_uint32_obstack.
12586         (collate_output): Likewise.
12587         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12588         (OPT_LITTLE_ENDIAN): Likewise.
12589         (options): Add --little-endian and --big-endian options.
12590         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12591         * locale/programs/locarchive.c: Include "locfile.h".
12592         (GET): New macro.
12593         (SET): Likewise.
12594         (INC): Likewise.
12595         (create_archive): Use the new macros to access fields of
12596         structures directly mapped from or written to locale archives.
12597         (oldlocrecentcmp): Likewise.
12598         (enlarge_archive): Likewise.
12599         (insert_name): Likewise.
12600         (add_alias): Likewise.
12601         (add_locale): Likewise.
12602         (delete_locales_from_archive): Likewise.
12603         (show_archive_content): Likewise.
12604         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12605         locale data.
12607 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12609         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12610         http://www.gnu.org/doc/freemanuals.texi.
12611         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12613 2013-09-24  Will Newton  <will.newton@linaro.org>
12615         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12616         macro.
12618 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12620         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12621         unsigned char.
12623 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12625         * manual/threads.texi (POSIX Threads): Fix a typo.
12627 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12629         [BZ #14547]
12630         * string/tst-strcoll-overflow.c: New test case.
12631         * string/Makefile (xtests): Add tst-strcoll-overflow.
12632         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12633         cache if string sizes may cause integer overflow.
12635         [BZ #14547]
12636         * string/strcoll_l.c (coll_seq): New members rule, idx,
12637         save_idx and back_us.
12638         (get_next_seq_nocache): New function.
12639         (do_compare_nocache): New function.
12640         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12641         when malloc fails.
12643 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12645         [BZ #15754]
12646         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12647         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12648         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12650         [BZ #15754]
12651         * elf/Makefile (tests): Add tst-ptrguard1.
12652         (tests-static): Add tst-ptrguard1-static.
12653         (tst-ptrguard1-ARGS): Define.
12654         (tst-ptrguard1-static-ARGS): Define.
12655         * elf/tst-ptrguard1.c: New file.
12656         * elf/tst-ptrguard1-static.c: New file.
12657         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12658         * sysdeps/i386/stackguard-macros.h: Likewise.
12659         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12660         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12661         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12662         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12663         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12664         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12666 2013-09-23  Hector Marco  <hecmargi@upv.es>
12667             Ismael Ripoll  <iripoll@disca.upv.es>
12668             Carlos O'Donell  <carlos@redhat.com>
12670         [BZ #15754]
12671         * sysdeps/generic/stackguard-macros.h: Define
12672         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12673         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12674         Define __pointer_chk_guard_local.
12675         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12676         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12678 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12680         [BZ #15859]
12681         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12683 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12685         * include/string.h (__ffs): Declare as hidden.
12686         * string/ffs.c (__ffs): Define as hidden.
12687         * sysdeps/i386/ffs.c (__ffs): Likewise.
12688         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12689         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12690         * sysdeps/s390/ffs.c (__ffs): Likewise.
12691         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12693 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12695         * NEWS: Mention malloc probes.
12697         * malloc/arena.c (new_heap): New memory_heap_new probe.
12698         (grow_heap): New memory_heap_more probe.
12699         (shrink_heap): New memory_heap_less probe.
12700         (heap_trim): New memory_heap_free probe.
12701         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12702         (systrim): New memory_sbrk_less probe.
12703         * manual/probes.texi: Document them.
12705         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12706         * manual/probes.texi: Document it.
12708         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12709         (__libc_realloc): Add memory_realloc_retry probe.
12710         (__libc_memalign): Add memory_memalign_retry probe.
12711         (__libc_valloc): Add memory_valloc_retry probe.
12712         (__libc_pvalloc): Add memory_pvalloc_retry probe.
12713         (__libc_calloc): Add memory_calloc_retry probe.
12714         * manual/probes.texi: Document them.
12716         * malloc/arena.c (get_free_list): Add probe
12717         memory_arena_reuse_free_list.
12718         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12719         and memory_arena_reuse.
12720         (arena_get2) [!PER_THREAD]: Likewise.
12721         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12722         memory_arena_reuse_realloc.
12723         * manual/probes.texi: Document them.
12725         * malloc/malloc.c (__libc_free): Add
12726         memory_mallopt_free_dyn_thresholds probe.
12727         (__libc_mallopt): Add multiple memory_mallopt probes.
12728         * manual/probes.texi: Document them.
12730         * malloc/malloc.c: Include stap-probe.h.
12731         (__libc_mallopt): Add memory_mallopt probe.
12732         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12733         * manual/probes.texi: New.
12734         * manual/Makefile (chapters): Add probes.
12735         * manual/threads.texi: Set next node.
12737 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
12739         [BZ #15963, #13985]
12740         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12741         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12742         Add `Chinese' to `nan' entry name.
12744 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12746         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12747         (POLYNOMIAL): Likewise.
12748         (TAYLOR_SINCOS): Likewise.
12749         (TAYLOR_SLOW): Likewise.
12750         (__sin): Use TAYLOR_SINCOS.
12751         (__cos): Likewise.
12752         (slow): Use TAYLOR_SLOW.
12753         (sloww): Likewise.
12754         (bsloww): Likewise.
12755         (csloww): Likewise.
12757 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12759         * stdlib/strtod_l.c: Fix buffer overrun.
12761 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12763         * benchtests/Makefile (bench): Add sincos.
12764         * benchtests/bench-sincos.c: New file.
12766         * math/libm-test.inc (cos_test_data): New test inputs.
12767         (sin_test_data): Likewise.
12769         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12770         macro.
12771         (__sin): Use it.
12772         (__cos): Likewise.
12773         (slow1): Likewise.
12774         (slow2): Likewise.
12775         (sloww1): Likewise.
12776         (sloww2): Likewise.
12777         (bsloww1): Likewise.
12778         (bsloww2): Likewise.
12779         (cslow2): Likewise.
12780         (csloww1): Likewise.
12781         (csloww2): Likewise.
12783         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12784         function.
12785         (__sin): Use it.
12786         (__cos): Likewise.
12788         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12789         gotos.
12790         (__cos): Likewise.
12792 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12794         * config.h.in (HAVE_MIPS_NAN2008): New macro.
12795         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12796         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12797         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12798         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12799         * elf/cache.c (print_entry): Handle the new cache flags.
12801 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12802             Aldy Hernandez  <aldyh@redhat.com>
12804         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12805         Change condition to [_SOFT_FLOAT].
12806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12818         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12821         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12822         declaration.
12824 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12826         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12827         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12828         (__longjmp): Use LOAD_GP to load saved GPRs.
12829         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12830         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12831         (__sigsetjmp): Use SAVE_GP to save GPRs.
12833         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12834         Do not append -msoft-float.
12835         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12837 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12839         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12841 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
12843         [BZ #15966]
12844         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12845         (_FPU_GETCW): Use initial "__" on variable and field names but not
12846         on macro parameter name.
12847         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
12848         parentheses around reference to macro parameter.
12850 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
12852         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12853         prototype.
12854         (ctype_startup): Use uint32_t in cast and sizeof for
12855         ctype->charnames.
12857 2013-09-11  Jia Liu  <proljc@gmail.com>
12859         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12860         __daddr_t_defined.
12861         [__FreeBSD__]: Likewise.
12863 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
12865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12866         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12867         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12868         (strchr): Remove __strchr_sse42 ifunc selection.
12869         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12870         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12872 2013-09-11  Will Newton  <will.newton@linaro.org>
12874         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12875         parameter to RES. Remove hardcoded 1000 value.
12876         * benchtests/bench-skeleton.c (main): Pass RES parameter
12877         to TIMING_INIT and multiply result by 1000.
12879 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12883 2013-09-11  Andreas Schwab  <schwab@suse.de>
12885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12886         if not defined.
12887         (O_TMPFILE) [__USE_GNU]: Define.
12888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12889         Define.
12891 2013-09-11  Will Newton  <will.newton@linaro.org>
12893         [BZ #15857]
12894         * malloc/malloc.c (__libc_memalign): Check the value of bytes
12895         does not overflow.
12897 2013-09-11  Will Newton  <will.newton@linaro.org>
12899         [BZ #15856]
12900         * malloc/malloc.c (__libc_valloc): Check the value of bytes
12901         does not overflow.
12903 2013-09-11  Will Newton  <will.newton@linaro.org>
12905         [BZ #15855]
12906         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12907         does not overflow.
12909 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
12911         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12912         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12913         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12914         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12915         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12917 2013-09-10  Allan McRae  <allan@archlinux.org>
12919         [BZ #15748]
12920         * manual/arith.texi (Parsing of Floats): Clarify
12921         cross-reference.
12923         [BZ #15849]
12924         * manual/install.texi (Running make install): Mention
12925         --enable-pt-chown.
12926         * INSTALL: Regenerated.
12928 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12930         * csu/init-first.c (_init): Remove the !SHARED condition around
12931         FPU control word initialization.
12932         * elf/dl-support.c (_dl_fpu_control): New variable.
12933         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12934         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12935         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12936         * math/test-fpucw-static.c: New file.
12937         * math/test-fpucw-ieee.c: New file.
12938         * math/test-fpucw-ieee-static.c: New file.
12939         * math/Makefile (tests): Add `test-fpucw-ieee' and
12940         `$(tests-static)'.
12941         (tests-static): New variable.
12942         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12943         dependency to...
12944         [($(build-shared),yes)]
12945         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12946         ... this.
12947         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12948         New dependency.
12950 2013-09-09  Allan McRae  <allan@archlinux.org>
12952         [BZ #15939]
12953         * manual/string.texi (Collation Functions): Fix typo in
12954         strcoll example.
12955         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12957         [BZ #15893]
12958         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12960         [BZ #15892]
12961         * libio/memstream.c (open_memstream): Fix memory leak.
12962         * libio/wmemstream.c (open_wmemstream): Likewise.
12964         [BZ #15895]
12965         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12967 2013-09-09  Will Newton  <will.newton@linaro.org>
12969         * malloc/Makefile: Add tst-realloc to tests.
12970         * malloc/tst-realloc.c: New file.
12972 2013-09-09  Allan McRae  <allan@archlinux.org>
12974         [BZ #15844]
12975         * COPYING: Update from GNU website to fix FSF address.
12976         * COPYING.LIB: Likewise.
12978 2013-09-06  David S. Miller  <davem@davemloft.net>
12980         * po/zh_TW.po: Update Chinese (traditional) translation from
12981         translation project.
12983 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12984             Joseph Myers  <joseph@codesourcery.com>
12986         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12987         "localeinfo.h".
12988         (obstack_chunk_alloc): New macro.
12989         (obstack_chunk_free): Likewise.
12990         (record_offset): New function.
12991         (init_locale_data): Likewise.
12992         (align_locale_data): Likewise.
12993         (add_locale_empty): Likewise.
12994         (add_locale_raw_data): Likewise.
12995         (add_locale_raw_obstack): Likewise.
12996         (add_locale_string): Likewise.
12997         (add_locale_wstring): Likewise.
12998         (add_locale_uint32): Likewise.
12999         (add_locale_uint32_array): Likewise.
13000         (add_locale_char): Likewise.
13001         (start_locale_structure): Likewise.
13002         (end_locale_structure): Likewise.
13003         (start_locale_prelude): Likewise.
13004         (end_locale_prelude): Likewise.
13005         (write_locale_data): Take locale_file structure rather than an
13006         iovec.
13007         * locale/programs/locfile.h: Include "obstack.h".
13008         (struct locale_file): Change to store locale file contents instead
13009         of header.
13010         (init_locale_data): New prototype.
13011         (align_locale_data): Likewise.
13012         (add_locale_empty): Likewise.
13013         (add_locale_raw_data): Likewise.
13014         (add_locale_raw_obstack): Likewise.
13015         (add_locale_string): Likewise.
13016         (add_locale_wstring): Likewise.
13017         (add_locale_uint32): Likewise.
13018         (add_locale_uint32_array): Likewise.
13019         (add_locale_char): Likewise.
13020         (start_locale_structure): Likewise.
13021         (end_locale_structure): Likewise.
13022         (start_locale_prelude): Likewise.
13023         (end_locale_prelude): Likewise.
13024         (write_locale_data): Update prototype.
13025         * locale/programs/3level.h (struct TABLE): Remove result field.
13026         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13027         Use new locale_file interface.
13028         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13029         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13030         * locale/programs/ld-address.c (address_output): Use new
13031         locale_file interface.
13032         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13033         NO_ADD_LOCALE.
13034         (collate_finish): Don't call collseq_table_finalize.
13035         (collate_output): Use new locale_file interface.
13036         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13037         in file.
13038         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13039         (TABLE): Move defines earlier in file.
13040         (ELEMENT): Likewise.
13041         (DEFAULT): Likewise.
13042         (wctrans_table_add): Move macro and inline function earlier in
13043         file.
13044         (struct wctype_table): Move type earlier in file.
13045         (add_locale_wctype_table): New static prototype.
13046         (struct locale_ctype_t): Use logical types instead of struct iovec
13047         pointers for members.
13048         (ctype_output): Use new locale_file interface.
13049         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13050         new locale_file interface.
13051         (allocate_arrays): Update for use of new locale_file interface.
13052         * locale/programs/ld-identification.c (identification_output): Use
13053         new locale_file interface.
13054         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13055         * locale/programs/ld-messages.c (messages_output): Likewise.
13056         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13057         * locale/programs/ld-name.c (name_output): Likewise.
13058         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13059         * locale/programs/ld-paper.c (paper_output): Likewise.
13060         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13061         * locale/programs/ld-time.c (time_output): Likewise.
13063 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13065         * benchtests/Makefile: Add memrchr benchmark.
13066         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13067         benchmark as memrchr.
13068         * benchtests/bench-memrchr-ifunc.c: New file.
13069         * benchtests/bench-memrchr.c: New file.
13071 2013-09-06   Will Newton  <will.newton@linaro.org>
13073         * benchtests/Makefile (string-bench): Add memcpy.
13075 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13076             Cong Wang  <amwang@redhat.com>
13078         [BZ #15850]
13079         * sysdeps/unix/sysv/linux/bits/in.h
13080         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13081         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13082         before __USE_KERNEL_IPV6_DEFS uses.
13083         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13084         IPPROTO_BEETPH.
13085         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13086         sockaddr_in6, or ipv6_mreq.
13088 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13090         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13091         memory access for final bytes in some large inputs.
13092         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13094 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13096         * string/test-memrchr.c: New file.
13097         * string/test-memrchr-ifunc.c: New file.
13098         * string/Makefile: Add new memrchr testcase.
13100 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13102         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13103         fanotify_init returns EPERM.
13105 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13107         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13108         errors.
13109         (top level): Treat second token from macro or constant entries for
13110         allowed headers as allowed.
13111         * include/complex.h: Condition internal declarations on
13112         [!_ISOMAC].
13113         * include/fenv.h: Condition include of <stdbool.h> and internal
13114         declarations on [!_ISOMAC].
13116 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13118         [BZ #15923]
13119         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13121 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13123         * configure.in (--enable-versioning): Remove configure option.
13124         (libc_cv_asm_symver_directive): Remove configure test.
13125         (libc_cv_ld_version_script_option): Likewise.
13126         (VERSIONING): Remove variable and AC_SUBST.
13127         (DO_VERSIONING): Remove AC_DEFINE.
13128         * configure: Regenerated.
13129         * config.h.in (DO_VERSIONING): Remove macro.
13130         * Makerules [$(versioning) = yes]: Change conditionals to
13131         [$(build-shared) = yes].
13132         * config.make.in (versioning): Remove variable.
13133         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13134         [$(build-shared) = yes].
13135         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13136         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13137         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13138         [$(build-shared) = yes].
13139         * extra-lib.mk [$(versioning) = yes]: Likewise.
13140         * hurd/Makefile [$(versioning) = yes]: Likewise.
13141         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13142         [SHARED].
13143         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13144         [SHARED].
13145         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13146         [SHARED && !NO_HIDDEN].
13147         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13148         [SHARED].
13149         [SHARED && DO_VERSIONING]: Likewise..
13150         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13151         [$(build-shared) = yes].
13152         * manual/install.texi (--disable-versioning): Remove
13153         documentation.
13154         * INSTALL: Regenerated.
13155         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13156         to [SHARED].
13157         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13158         [$(build-shared) = yes].
13159         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13160         * sysdeps/i386/i686/multiarch/strstr-c.c
13161         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13162         [SHARED && !NO_HIDDEN].
13163         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13164         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13165         * sysdeps/powerpc/powerpc32/dl-machine.c
13166         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13167         * sysdeps/powerpc/powerpc32/sysdep.h
13168         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13169         to [SHARED && PIC && !NO_HIDDEN].
13170         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13171         conditional to [SHARED].
13173 2013-09-04   Will Newton  <will.newton@linaro.org>
13175         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13176         * benchtests/bench-string.h: Include bench-timing.h instead
13177         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13178         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13179         call to HP_TIMING_DIFF_INIT.
13180         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13181         instead of hp-timing.h macros.
13182         * benchtests/bench-memchr.c: Likewise.
13183         * benchtests/bench-memcmp.c: Likewise.
13184         * benchtests/bench-memcpy.c: Likewise.
13185         * benchtests/bench-memmem.c: Likewise.
13186         * benchtests/bench-memmove.c: Likewise.
13187         * benchtests/bench-memset.c: Likewise.
13188         * benchtests/bench-rawmemchr.c: Likewise.
13189         * benchtests/bench-strcasecmp.c: Likewise.
13190         * benchtests/bench-strcasestr.c: Likewise.
13191         * benchtests/bench-strcat.c: Likewise.
13192         * benchtests/bench-strchr.c: Likewise.
13193         * benchtests/bench-strcmp.c: Likewise.
13194         * benchtests/bench-strcpy.c: Likewise.
13195         * benchtests/bench-strcpy_chk.c: Likewise.
13196         * benchtests/bench-strlen.c: Likewise.
13197         * benchtests/bench-strncasecmp.c: Likewise.
13198         * benchtests/bench-strncat.c: Likewise.
13199         * benchtests/bench-strncmp.c: Likewise.
13200         * benchtests/bench-strncpy.c: Likewise.
13201         * benchtests/bench-strnlen.c: Likewise.
13202         * benchtests/bench-strpbrk.c: Likewise.
13203         * benchtests/bench-strrchr.c: Likewise.
13204         * benchtests/bench-strspn.c: Likewise.
13205         * benchtests/bench-strstr.c: Likewise.
13207 2013-09-04  Will Newton  <will.newton@linaro.org>
13209         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13211 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13213         [BZ #15427]
13214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13215         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13216         * math/libm-test.inc (lgamma_test_data): Add more tests.
13217         * sysdeps/i386/fpu/libm-test-ulps: Update.
13218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13220 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13222         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13224         Add ifunc.
13225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13226         Add strcmp-sse2-unaligned
13227         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13229 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13231         * Versions.def (libc): Add GLIBC_2.19.
13233 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13235         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13236         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13238 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13240         [BZ #14155]
13241         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13242         intermediate calculations in recurrence.
13243         (__ieee754_ynf): Likewise.
13244         * math/libm-test.inc (jn_test_data): Do not allow spurious
13245         underflow exception.  Add more tests.
13246         (yn_test_data): Add more tests.
13247         * sysdeps/i386/fpu/libm-test-ulps: Update.
13248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13250 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13252         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13254 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13256         * csu/init-first.c: Fix then/than typos.
13257         * locale/programs/ld-collate.c: Likewise.
13258         * locale/programs/linereader.h: Likewise.
13259         * manual/charset.texi: Likewise.
13260         * manual/filesys.texi: Likewise.
13261         * manual/stdio.texi: Likewise.
13262         * manual/string.texi: Likewise.
13263         * stdlib/fmtmsg.c: Likewise.
13264         * sysdeps/i386/stpncpy.S: Likewise.
13265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13266         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13267         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13268         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13270 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13272         * elf/dl-open.c: Fix typos.
13273         * iconvdata/gbbig5.c: Likewise.
13274         * iconvdata/iso-2022-jp.c: Likewise.
13275         * iconv/gconv_int.h: Likewise.
13276         * iconv/loop.c: Likewise.
13277         * nis/rpcsvc/nis.h: Likewise.
13278         * resolv/ns_name.c: Likewise.
13279         * stdio-common/vfscanf.c: Likewise.
13280         * streams/stropts.h: Likewise.
13281         * sunrpc/rpc_thread.c: Likewise.
13282         * sysdeps/i386/strpbrk.S: Likewise.
13283         * sysdeps/ieee754/k_standard.c: Likewise.
13284         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13285         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13286         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13287         * sysdeps/mach/hurd/profil.c: Likewise.
13288         * sysdeps/s390/dl-procinfo.h: Likewise.
13289         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13290         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13291         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13292         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13293         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13295 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13297         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13300 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13302         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13303         aix specific files.
13304         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13305         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13307         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13308         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13309         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13310         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13311         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13313 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13314             Roland McGrath  <roland@hack.frob.com>
13316         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13317         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13319 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13321         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13322         __executable_start symbol instead of _start.
13324 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13326         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13327         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13328         Move macros to...
13329         * sysdeps/gnu/ldsodefs.h: ... this new file.
13331         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13332         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13333         instead of ELFOSABI_LINUX.
13335         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13336         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13337         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13338         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13339         Likewise.
13340         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13341         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13342         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13343         Likewise.
13344         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13345         (ibm_extended_long_double): Add ieee_nan member.
13346         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13347         (do_test): New function.
13349         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13350         TEST_TRUNC.
13351         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13352         functions, renamed from truncdfsf_test, trunctfsf_test,
13353         trunctfdf_test.
13354         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13355         functions.
13356         (do_test): Run all these.
13358 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13360         * argp/argp-help.c: Fix typos.
13361         * argp/argp-parse.c: Likewise.
13362         * debug/backtracesyms.c: Likewise.
13363         * elf/elf.h: Likewise.
13364         * malloc/malloc.c: Likewise.
13365         * nis/nis_print.c: Likewise.
13366         * resolv/res_comp.c: Likewise.
13367         * stdlib/stdlib.h: Likewise.
13368         * sunrpc/clnt_tcp.c: Likewise.
13369         * sunrpc/clnt_udp.c: Likewise.
13370         * sunrpc/clnt_unix.c: Likewise.
13371         * sysdeps/unix/bsd/ptsname.c: Likewise.
13372         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13373         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13375         Likewise.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13377         Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13379         Likewise.
13380         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13382 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13384         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13387 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13389         [BZ #15897]
13390         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13391         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13392         ($(objpfx)bug-dl-leaf): New rule.
13393         ($(objpfx)bug-dl-leaf.so): Likewise.
13394         ($(objpfx)bug-dl-leaf.out): Likewise.
13395         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13396         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13397         * dlfcn/bug-dl-leaf.c: New test.
13398         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13399         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13400         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13401         (dlclose): Likewise.
13402         (dlmopen): Likewise.
13404 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13406         * include/netdb.h [!_ISOMAC]:
13407         Don't include <tls.h>.
13408         (h_errno, __libc_h_errno): Move declaration and macros out of
13409         [_LIBC_REENTRANT].
13411         * include/resolv.h [_RESOLV_H_]:
13412         Don't include <tls.h>.
13413         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13414         * resolv/res_libc.c: Don't include <tls.h>.
13415         (_res): Use __attribute__ ((nocommon)) in place of
13416         __attribute__ ((section (".bss"))).
13418         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13419         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13421         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13423         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13424         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13426         * resolv/res_mkquery.c: Include <sys/time.h>.
13428         * inet/ifreq.c: Moved to ...
13429         * sysdeps/unix/ifreq.c: ... here.
13430         * inet/ifreq.c: New file, true stub version.
13432         * socket/sa_len.c: New file.
13433         * socket/Makefile (aux): Add it.
13434         * sysdeps/unix/sysv/linux/Makefile
13435         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13436         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13437         and #include <socket/sa_len.c>.
13438         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13439         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13441         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13442         * bits/socket.h: ... here.
13444         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13445         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13446         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13448 2013-08-27  Andreas Schwab  <schwab@suse.de>
13450         [BZ #15736]
13451         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13452         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13453         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13454         * string/test-strcasecmp.c (test_main): Run tests in several
13455         locales.
13456         * string/test-strncasecmp.c (test_main): Likewise.
13458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13459         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13460         to __strcasecmp_nonascii and __strncasecmp_nonascii.
13461         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13462         (__strncasecmp_ssse3) [PIC]: Likewise.
13464 2013-08-26  Roland McGrath  <roland@hack.frob.com>
13466         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13468         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13469         instead of explicitly declaring xdecrypt.
13470         * nis/nss_nis/nis-publickey.c: Likewise.
13472 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13474         [BZ #15890]
13475         * nscd/aicache.c: Include res_hconf.h.
13476         (addhstaiX): Initialize res_hconf.
13478 2013-08-26  Andreas Schwab  <schwab@suse.de>
13480         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13481         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13483 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13485         * nscd/aicache.c (addhstaiX): Fix indentation.
13487 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
13489         * configure.ac: Quote $build_pt_chown test.
13490         * configure: Regenerated.
13492 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
13494         [BZ #15532]
13495         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13496         * math/s_cexpf.c (__cexpf): Likewise.
13497         * math/s_cexpl.c (__cexpl): Likewise.
13498         * math/libm-test.inc (cexp_test_data): Correct expected return
13499         value for NaN + i0.  Add another test.
13501 2013-08-22  David S. Miller  <davem@davemloft.net>
13503         * po/ca.po: Update Catalan translation from translation project.
13504         * po/uk.po: Add Ukrainian translations from translation project.
13506 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
13508         [BZ #15797]
13509         * math/s_fdim.c (__fdim): Check for infinite arguments if result
13510         is infinite, not alongside NaN test.
13511         * math/s_fdimf.c (__fdimf): Likewise.
13512         * math/s_fdiml.c (__fdiml): Likewise.
13513         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
13514         errno is unchanged.
13516 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
13518         * argp/argp-help.c: Fix typos.
13519         * crypt/speeds.c: Likewise.
13520         * csu/check_fds.c: Likewise.
13521         * elf/dl-load.c: Likewise.
13522         * elf/dl-open.c: Likewise.
13523         * elf/reldep3.c: Likewise.
13524         * elf/reldep.c: Likewise.
13525         * elf/sprof.c: Likewise.
13526         * iconv/iconv_charmap.c: Likewise.
13527         * iconv/skeleton.c: Likewise.
13528         * iconv/strtab.c: Likewise.
13529         * io/lockf64.c: Likewise.
13530         * libio/libioP.h: Likewise.
13531         * resolv/gai_notify.c: Likewise.
13532         * resolv/ns_name.c: Likewise.
13533         * resolv/ns_samedomain.c: Likewise.
13534         * resolv/res_send.c: Likewise.
13535         * stdlib/random.c: Likewise.
13536         * sunrpc/rpc/xdr.h: Likewise.
13537         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13538         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13539         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13540         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13541         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13543         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13544         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13545         * sysdeps/mach/hurd/check_fds.c: Likewise.
13546         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13548         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13549         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13550         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13551         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13552         * sysdeps/pthread/aio_notify.c: Likewise.
13553         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13554         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13555         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13556         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13557         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13559 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13561         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13562         version if bit_Slow_SSE4_2 is set.
13563         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13564         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13566 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13568         [BZ #15867]
13569         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13570         trampoline stack frame information.
13571         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13572         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13573         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13574         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13575         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13576         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13577         (_libc_vdso_platform_setup): Initialize the signal trampolines.
13578         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13579         sa_flags value.
13580         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13581         interrupting a syscall and set with option SA_SIGINFO.
13583 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13585         [BZ #15531]
13586         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13587         argument is infinite.
13588         * math/s_cprojf.c (__cprojf): Likewise.
13589         * math/s_cprojl.c (__cprojl): Likewise.
13590         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13591         * math/libm-test.inc (cproj_test_data): Add more tests.
13593         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13595         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13596         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13597         size.  Use __ffs to determine corresponding shift.
13599 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13600             Roland McGrath  <roland@hack.frob.com>
13602         * Makefile (INSTALL): Remove trailing blank lines from output of
13603         makeinfo.
13605 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13607         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13608         Align 32 bit compat elf_greg to 8 bytes.
13610 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13612         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13614 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13616         * string/strcoll_l.c (coll_seq): New structure.
13617         (get_next_seq_cached): New function.
13618         (get_next_seq): New function.
13619         (do_compare): New function.
13620         (STRCOLL): Use GNU style definition.  Simplify implementation
13621         by using get_next_seq, get_next_seq_cached and do_compare.
13623 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13625         [BZ #14699]
13626         CVE-2013-4237
13627         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13628         member.
13629         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13630         member.
13631         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13632         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13633         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13634         conditional.
13635         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13636         GETDENTS_64BIT_ALIGNED.
13637         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13638         * manual/filesys.texi (Reading/Closing Directory): Document
13639         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13640         strongly.
13641         * manual/conf.texi (Limits for Files): Add portability note to
13642         NAME_MAX, PATH_MAX.
13643         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13645 2013-08-13  Andreas Schwab  <schwab@suse.de>
13647         [BZ #15749]
13648         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13649         of fabs.
13650         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13651         LDBL_MAX_EXP >= 16384]: Add tests for it.
13653 2013-08-12  David S. Miller  <davem@davemloft.net>
13655         * version.h (RELEASE): Set to "development".
13656         (VERSION): Set to "2.18.90".
13657         * NEWS: Add 2.19 section.
13659 2013-08-03  David S. Miller  <davem@davemloft.net>
13661         * po/ko.po: Update Korean translation from translation project.
13663 2013-08-01  David S. Miller  <davem@davemloft.net>
13665         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13666         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13667         Bilka.
13669 2013-07-30  David S. Miller  <davem@davemloft.net>
13671         * po/fr.po: Update French translation from translation project.
13673 2013-07-28  David S. Miller  <davem@davemloft.net>
13675         * po/cs.po: Update Czech translation from translation project.
13677         * po/sv.po: Update Swedish translation from translation project.
13679 2013-07-27  David S. Miller  <davem@davemloft.net>
13681         * po/eo.po: Update Esperanto translation from translation project.
13683         * po/vi.po: Update Vietnamese translation from translation project.
13685         * po/de.po: Update German translation from translation project.
13687 2013-07-26  David S. Miller  <davem@davemloft.net>
13689         * po/bg.po: Update Bulgarian translation from translation project.
13691         * po/nl.po: Update Dutch translation from translation project.
13692         * po/pl.po: Update Polish translation from translation project.
13693         * po/ru.po: Update Russian translation from translation project.
13695 2013-07-24  David S. Miller  <davem@davemloft.net>
13697         * po/libc.pot: Update.
13699 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13701         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13702         variable page size.
13703         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13704         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13705         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13707 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13709         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13711 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13712             Andreas Schwab  <schwab@suse.de>
13713             Roland McGrath  <roland@hack.frob.com>
13714             Joseph Myers  <joseph@codesourcery.com>
13715             Carlos O'Donell  <carlos@redhat.com>
13717         [BZ #15755]
13718         * config.h.in: Define HAVE_PT_CHOWN.
13719         * config.make.in (build-pt-chown): New variable.
13720         * configure.in (--enable-pt_chown): New configure option.
13721         * configure: Regenerate.
13722         * login/Makefile: Include Makeconfig.  Build pt_chown only if
13723         build-pt-chown is enabled.
13724         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13725         pt_chown to fix pty ownership.
13726         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13727         CLOSE_ALL_FDS.
13728         * manual/install.texi (Configuring and compiling): Mention
13729         --enable-pt_chown. Add @findex for grantpt.
13730         * INSTALL: Regenerate.
13732 2013-07-20  David S. Miller  <davem@davemloft.net>
13734         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13735         difference between 32-bit and 64-bit.
13737 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
13739         [BZ #15711]
13740         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13741         Avoid system header dependency with -ffreestanding.
13742         ($(objpfx)bits/syscall%d): Likewise.
13744 2013-07-13  David S. Miller  <davem@davemloft.net>
13746         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13747         underflows from atanl/atan2l due to bug 15319.
13748         (casinh_test_data): Likewise.
13750 2013-07-07  David S. Miller  <davem@davemloft.net>
13752         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13754 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
13756         * sysdeps/i386/fpu/libm-test-ulps: Update.
13757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13759 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13761         * configure.in (--enable-lock-elision): Fix message text.
13762         * INSTALL: Regenerate.
13763         * configure: Regenerate.
13765 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13769 2013-07-03  Andreas Jaeger  <aj@suse.de>
13771         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13772         define.
13773         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13774         (ptrace_peeksiginfo_args): Add.
13775         (__ptrace_peeksiginfo_flags): Add.
13776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13778         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13780 2013-07-03  Allan McRae  <allan@archlinux.org>
13782         * sysdeps/i386/fpu/libm-test-ulps: Update.
13784 2013-07-02  David S. Miller  <davem@davemloft.net>
13786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13788 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
13790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13792 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13794         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13797 2013-07-02  Andi Kleen <ak@linux.intel.com>
13799         * config.h.in (ENABLE_LOCK_ELISION): Add.
13800         * configure.in (--enable-lock-elision): Add option.
13801         * manual/install.texi: Document --enable lock elision.
13802         * configure: Regenerate
13803         * INSTALL: Regenerate.
13805 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13807         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13808         SSE4.2 strcasecmp for libc.a.
13809         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13811 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #13304]
13814         * soft-fp/op-common.h (_FP_FMA): New macro.
13815         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13816         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
13817         (_FP_MUL_MEAT_1_imm): ... here.
13818         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
13819         (_FP_MUL_MEAT_1_wide): ... here.
13820         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
13821         (_FP_MUL_MEAT_1_hard): ... here.
13822         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13823         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
13824         (_FP_MUL_MEAT_2_wide): ... here.
13825         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
13826         (_FP_MUL_MEAT_2_wide_3mul): ... here.
13827         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
13828         (_FP_MUL_MEAT_2_gmp): ... here.
13829         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13830         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
13831         (_FP_MUL_MEAT_4_wide): ... here.
13832         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
13833         (_FP_MUL_MEAT_4_gmp): ... here.
13834         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13835         (_FP_WFRACBITS_DW_S): Likewise.
13836         (_FP_WFRACXBITS_DW_S): Likewise.
13837         (_FP_HIGHBIT_DW_S): Likewise.
13838         (FP_FMA_S): Likewise.
13839         (_FP_FRAC_HIGH_DW_S): Likewise.
13840         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13841         (_FP_WFRACBITS_DW_D): Likewise.
13842         (_FP_WFRACXBITS_DW_D): Likewise.
13843         (_FP_HIGHBIT_DW_D): Likewise.
13844         (FP_FMA_D): Likewise.
13845         (_FP_FRAC_HIGH_DW_D): Likewise.
13846         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13847         (_FP_WFRACBITS_DW_E): Likewise.
13848         (_FP_WFRACXBITS_DW_E): Likewise.
13849         (_FP_HIGHBIT_DW_E): Likewise.
13850         (FP_FMA_E): Likewise.
13851         (_FP_FRAC_HIGH_DW_E): Likewise.
13852         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13853         (_FP_WFRACBITS_DW_Q): Likewise.
13854         (_FP_WFRACXBITS_DW_Q): Likewise.
13855         (_FP_HIGHBIT_DW_Q): Likewise.
13856         (FP_FMA_Q): Likewise.
13857         (_FP_FRAC_HIGH_DW_Q): Likewise.
13858         * soft-fp/fmasf4.c: New file.
13859         * soft-fp/fmadf4.c: Likewise.
13860         * soft-fp/fmatf4.c: Likewise.
13862 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13865         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13866         Silvermont.
13867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13868         macro.
13869         (index_Slow_SSE4_2): Likewise.
13870         (index_Prefer_PMINUB_for_stringop): Likewise.
13871         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13872         bit_Slow_SSE4_2 is set.
13873         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13874         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13876 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13878         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13879         rtld_global._dl_hwcap2.
13880         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13881         POWER8.
13882         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13883         POWER8 feature descriptions defined in _dl_hwcap2.
13884         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13885         string handling for POWER8 feature bits.
13886         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13887         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13888         _dl_powerpc_cap_flags.
13889         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13890         * sysdeps/powerpc/rtld-global-offsets.sym
13891         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13892         _dl_hwcap2 in the rtld_global_ro structure.
13894 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13896         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13897         hardware capabilities in support of AT_HWCAP2.
13898         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13899         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13900         GLRO(dl_hwcap2).
13901         (_dl_show_auxv): Add support for calling _dl_procinfo to display
13902         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
13903         explicitly the unknown a_type display mechanism is used.
13904         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13905         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13906         struct member.
13907         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13908         to macro prototype for AT_HWCAP2 support.
13909         * sysdeps/i386/dl-procinfo.h: Likewise.
13910         * sysdeps/s390/dl-procinfo.h: Likewise.
13911         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13912         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13913         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13914         return -1 for unknown a_type display fallback.
13915         * sysdeps/sparc/dl-procinfo.h: Likewise.
13916         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13917         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13919 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13921         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13922         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13924 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13926         [BZ #12492]
13927         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13928         mprotect making __stack_prot writable.
13930 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13931             Joseph Myers  <joseph@codesourcery.com>
13933         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13934         as being properly aligned.
13936 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13938         * dlfcn/modstatic5.c: New file.
13939         * dlfcn/tststatic5.c: New file.
13940         * dlfcn/Makefile (tests): Add tststatic5.
13941         (tests-static): Likewise.
13942         (modules-names): Add modstatic5.
13943         (tststatic5-ENV): New variable.
13944         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13946         [BZ #15022]
13947         * elf/dl-support.c (_dl_main_map): New variable.
13948         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13949         (_dl_nns, _dl_load_adds): Set to 1.
13950         (_dl_initial_searchlist): Refer to _dl_main_map.
13951         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13952         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13953         call to _dl_get_origin.
13954         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13955         around call_map.
13956         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13957         * dlfcn/modstatic3.c: New file.
13958         * dlfcn/tststatic3.c: New file.
13959         * dlfcn/tststatic4.c: New file.
13960         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13961         (tests-static): Likewise.
13962         (modules-names): Add modstatic3.
13963         (tststatic3-ENV, tststatic4-ENV): New variables.
13964         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13965         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13967 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13969         * configure.in (CC): Require GCC version 4.4 or later.
13970         * configure: Regenerated.
13971         * manual/install.texi (Tools for Compilation): Update GCC version
13972         requirement.
13973         * INSTALL: Regenerated.
13975 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13977         [BZ #15674]
13978         * string/test-memcmp.c (check2): New.
13979         (main): Call check2.
13981         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13983 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13985         [BZ #15022]
13986         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13987         over to...
13988         (dl_open_worker) [!SHARED]: ... here.
13990 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13992         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13994 2013-06-25  Richard Henderson  <rth@redhat.com>
13996         * locale/programs/locarchive.c: Include <libc-internal.h>
13998 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14000         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14001         trailing whitespace removed.
14003 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14005         [BZ #10283]
14006         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14007         * locale/programs/locarchive.c: Include libc-mmap.h.
14008         (prepare_address_space): Take two new outputs (the mmap base and len).
14009         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14010         values.
14011         (create_archive): Declare new mmap base and len values for
14012         prepare_address_space, and store the result in ah.
14013         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14014         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14015         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14016         Declare new mmap base and len values for
14017         prepare_address_space, and store the result in new_ah.
14018         (open_archive): Declare new mmap base and len values for
14019         prepare_address_space, and store the result in ah.
14020         (close_archive): If ah->mmap_base is not NULL, use that and
14021         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14022         * sysdeps/generic/libc-mmap.h: New file.
14024 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14026         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14027         (ALIGN_UP): Likewise.
14028         (PTR_ALIGN_DOWN): Likewise.
14029         (PTR_ALIGN_UP): Likewise.
14031 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14033         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14034         entry mapped to PPC_PLATFORM_POWER8.
14035         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14036         POWER8.
14037         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14038         (_dl_string_platform): Add case for exporting platform position for
14039         POWER8.
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14041         search path to sysdeps/powerpc/powerpc32/power8 directory.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14043         search path to sysdeps/powerpc/powerpc64/power8 directory.
14044         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14045         power7 directories.
14046         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14047         power7 directories.
14049 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14051         * INSTALL: Regenerate.
14053         * nscd/connections.c (nscd_init): Fix comment.
14055 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14057         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14059         [BZ #15667]
14060         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14061         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14063 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14065         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14066         DL_DST_REQ_STATIC.
14067         (DL_DST_REQ_STATIC): Remove macro.
14069 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14071         [BZ #7006]
14072         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14073         with a shift of 0 bits.
14075 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14077         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14078         $(tststatic-ENV).
14080 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14082         [BZ #15655]
14083         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14085 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14087         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14088         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14089         accepts -fno-tree-loop-distribute-patterns.
14090         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14091         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14092         recursive call.
14093         * string/memset.c (memset): Likewise.
14094         * string/test-memmove.c (simple_memmove): Disable loop transformation
14095         to library calls.
14096         * string/test-memset.c (simple_memset): Likewise.
14097         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14098         * benchtests/bench-memset.c (simple_memset): Likewise.
14099         * configure: Regenerated.
14101 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14103         * math/test-misc.c (main): Ignore fesetround failure when failures
14104         of subsequent rounding tests would be ignored.
14106         [BZ #15654]
14107         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14108         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14109         * math/fegetenv.c (__fegetenv): Return 0.
14110         * math/fegetexcept.c (fegetexcept): Return 0.
14111         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14112         FE_TONEAREST.
14113         * math/feholdexcpt.c (feholdexcept): Return 0.
14114         * math/fesetenv.c (__fesetenv): Return 0.
14115         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14116         argument FE_TONEAREST.
14117         * math/feupdateenv.c (__feupdateenv): Return 0.
14118         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14120 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14122         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14123         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14124         ($(objpfx)rtld-%.os rules): Use them.
14126 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14128         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14129         fields.
14131 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14133         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14134         length of target pattern, then descending length of dependency pattern.
14135         * configure.in (AWK): Require gawk 3.1.2 or newer.
14136         * manual/install.texi (Tools for Compilation): Say that we do.
14137         * configure: Regenerated.
14139         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14140         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14141         * scripts/sysd-rules.awk: ... this new script.
14142         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14143         than a glob-style pattern.
14145 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14147         * math/test-misc.c (main): Do not treat incorrectly rounded
14148         conversions as failure unless ROUNDING_TESTS passes.
14150 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14152         [BZ #15631]
14153         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14154         restore exception state around main square root computation, then
14155         check for inexactness explicitly.
14157         * math/libm-test.inc (fma_test_data): Add another test.
14159 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14161         * manual/threads.texi (Non-POSIX Extensions): New document
14162         node.  Document pthread_getattr_default_np and
14163         pthread_setattr_default_np.
14165         * Versions.def (libpthread): Add GLIBC_2.18.
14166         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14168         Likewise.
14169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14170         Likewise.
14171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14174         Likewise.
14175         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14176         Likewise.
14177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14178         Likewise.
14179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14180         Likewise.
14181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14182         Likewise.
14183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14184         Likewise.
14186 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14189         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14191 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14192             H.J. Lu  <hjl.tools@gmail.com>
14194         [BZ #15627]
14195         * sysdeps/x86_64/rtld-memset.c: Remove file.
14196         * sysdeps/x86_64/rtld-memset.S: New file.
14198 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14200         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14201         (test_in_one_mode): Take arguments for whether the rounding mode
14202         is supported for each floating-point type.
14203         (do_test): Pass new arguments to test_in_one_mode using
14204         ROUNDING_TESTS.
14206 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14208         * posix/tst-waitid.c (do_test): Distinguish different instances of
14209         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14210         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14211         before entering the kernel for waitpid.
14213 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14215         * NEWS: Fix note on clock function precision.  Text by Roland
14216         McGrath.
14218 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14220         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14221         it into place only when and if the sanity check passes.
14223 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14225         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14226         output for whether conversion result is exact.  Take argument
14227         indicating whether type is IBM long double.
14228         (round_for_all): Change need_exact field to ibm_ld.
14229         * stdlib/tst-strtod-round.c (struct exactness): New type.
14230         (struct test): Change bool ld_ok field to struct exactness exact.
14231         (TEST): Update all definitions for change to field.
14232         (tests): Regenerate array contents.
14233         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14234         field value.  Check for IBM long double here.
14235         (do_test): Update calls to test_in_one_mode.
14237 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14239         [BZ #12515]
14240         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14241         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14243 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14245         [BZ #15605]
14246         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14247         generated by the compiler on loop optimizations.
14248         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14249         general definitions.
14251 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14253         * math/bug-nextafter.c: Include <math-tests.h>.
14254         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14255         the relevant type.
14256         * math/bug-nexttoward.c: Include <math-tests.h>.
14257         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14258         the relevant type.
14259         * math/test-misc.c: Include <math-tests.h>.
14260         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14261         the relevant type.
14263 2013-06-12  Andreas Jaeger  <aj@suse.de>
14265         * po/ia.po: Update Interlingua translation from translation
14266         project.
14268 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14270         * include/fenv.h: Include stdbool.h.
14271         (struct rm_ctx): New structure.
14272         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14273         Define macro.
14274         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14275         (SET_RESTORE_ROUNDF): Likewise.
14276         (SET_RESTORE_ROUNDL): Likewise.
14277         (SET_RESTORE_ROUND_NOEX): Likewise.
14278         (SET_RESTORE_ROUND_NOEXF): Likewise.
14279         (SET_RESTORE_ROUND_NOEXL): Likewise.
14280         (SET_RESTORE_ROUND_53BIT): Likewise.
14281         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14282         (libc_feresetround_noexf_ctx): Likewise.
14283         (libc_feresetround_noexl_ctx): Likewise.
14284         (libc_feholdsetround_53bit_ctx): Likewise.
14285         (libc_feresetround_53bit_ctx): Likewise.
14286         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14287         (libc_feholdexcept_setround_sse_ctx): New function.
14288         (libc_fesetenv_sse_ctx): Likewise.
14289         (libc_feupdateenv_sse_ctx): Likewise.
14290         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14291         (libc_feholdexcept_setround_387_ctx): Likewise.
14292         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14293         (libc_feholdsetround_387_prec_ctx): Likewise.
14294         (libc_feholdsetround_387_ctx): Likewise.
14295         (libc_feholdsetround_387_53bit_ctx): Likewise.
14296         (libc_feholdsetround_sse_ctx): Likewise.
14297         (libc_feresetround_sse_ctx): Likewise.
14298         (libc_feresetround_387_ctx): Likewise.
14299         (libc_feupdateenv_387_ctx): Likewise.
14300         (libc_feholdexcept_setroundf_ctx): Define macro.
14301         (libc_fesetenvf_ctx): Likewise.
14302         (libc_feupdateenvf_ctx): Likewise.
14303         (libc_feholdsetroundf_ctx): Likewise.
14304         (libc_feresetroundf_ctx): Likewise.
14305         (libc_feholdexcept_setround_ctx): Likewise.
14306         (libc_fesetenv_ctx): Likewise.
14307         (libc_feupdateenv_ctx): Likewise.
14308         (libc_feholdsetround_ctx): Likewise.
14309         (libc_feresetround_ctx): Likewise.
14310         (libc_feholdexcept_setroundl_ctx): Likewise.
14311         (libc_feupdateenvl_ctx): Likewise.
14312         (libc_feholdsetroundl_ctx): Likewise.
14313         (libc_feresetroundl_ctx): Likewise.
14314         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14315         (libc_feresetround_53bit_ctx): Likewise.
14317 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14319         * locale/iso-639.def: Convert to UTF-8.
14321 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14323         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14324         (EXCEPTION_TESTS_double): Likewise.
14325         (EXCEPTION_TESTS_long_double): Likewise.
14326         (EXCEPTION_TESTS): Likewise.
14327         * math/libm-test.inc (test_exceptions): Only test exceptions if
14328         EXCEPTION_TESTS (FLOAT).
14330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14332         * benchtests/Makefile (string-bench): Add strcpy_chk and
14333         stpcpy_chk.
14334         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14335         * benchtests/bench-stpcpy_chk.c: New file.
14336         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14337         * benchtests/bench-strcpy_chk.c: New file.
14338         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14339         code.
14340         (do_test): Likewise.
14342 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14344         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14345         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14346         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14347         with tabs where appropriate.
14348         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14349         dl-procinfo.h.
14350         [PPC_PLATFORM_PPC440]: Likewise.
14351         [PPC_PLATFORM_PPC464]: Likewise.
14352         [PPC_PLATFORM_PPC476]: Likewise.
14353         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14354         ppc464, and ppc476 platform strings merging from ports/
14355         dl-procinfo.h.
14357 2013-06-11  Andreas Schwab  <schwab@suse.de>
14359         [BZ #14991]
14360         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14361         (from_ucs4_idx): Regenerate.
14362         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14363         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14364         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14365         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14366         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14367         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14368         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14369         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14370         from FROM_LOOP and TO_LOOP specific macros.
14371         (BODY): Handle combining characters.
14372         * iconvdata/BIG5HKSCS.irreversible: Update.
14373         * iconvdata/BIG5HKSCS.precomposed: New file.
14374         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14375         characters.
14376         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14378 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14380         * include/sys/time.h: Fix indentation and add copyright header.
14382         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14383         (do_test): Likewise.
14384         * string/test-memchr.c (do_one_test): Likewise.
14385         (do_test): Likewise.
14386         * string/test-memcmp.c (do_one_test): Likewise.
14387         (do_test): Likewise.
14388         * string/test-memcpy.c (do_one_test): Likewise.
14389         (do_test): Likewise.
14390         * string/test-memmem.c (do_one_test): Likewise.
14391         (do_test): Likewise.
14392         (do_random_tests): Likewise.
14393         * string/test-memmove.c (do_one_test): Likewise.
14394         (do_test): Likewise.
14395         * string/test-memset.c (do_one_test): Likewise.
14396         (do_test): Likewise.
14397         * string/test-rawmemchr.c (do_one_test): Likewise.
14398         (do_test): Likewise.
14399         * string/test-strcasecmp.c (do_one_test): Likewise.
14400         (do_test): Likewise.
14401         * string/test-strcasestr.c (do_one_test): Likewise.
14402         (do_test): Likewise.
14403         * string/test-strcat.c (do_one_test): Likewise.
14404         (do_test): Likewise.
14405         * string/test-strchr.c (do_one_test): Likewise.
14406         (do_test): Likewise.
14407         * string/test-strcmp.c (do_one_test): Likewise.
14408         (do_test): Likewise.
14409         * string/test-strcpy.c (do_one_test): Likewise.
14410         (do_test): Likewise.
14411         * string/test-string.h: Likewise.
14412         (test_init): Likewise.
14413         * string/test-strlen.c (do_one_test): Likewise.
14414         (do_test): Likewise.
14415         * string/test-strncasecmp.c (do_one_test): Likewise.
14416         (do_test): Likewise.
14417         * string/test-strncat.c (do_one_test): Likewise.
14418         (do_test): Likewise.
14419         * string/test-strncmp.c (do_one_test): Likewise.
14420         (do_test_limit): Likewise.
14421         (do_test): Likewise.
14422         * string/test-strncpy.c (do_one_test): Likewise.
14423         (do_test): Likewise.
14424         * string/test-strnlen.c (do_one_test): Likewise.
14425         (do_test): Likewise.
14426         * string/test-strpbrk.c (do_one_test): Likewise.
14427         (do_test): Likewise.
14428         * string/test-strrchr.c (do_one_test): Likewise.
14429         (do_test): Likewise.
14430         * string/test-strspn.c (do_one_test): Likewise.
14431         (do_test): Likewise.
14432         * string/test-strstr.c (do_one_test): Likewise.
14433         (do_test): Likewise.
14435         * benchtests/Makefile (string-bench): Add string benchmarks.
14436         * benchtests/bench-bcopy-ifunc.c: New file.
14437         * benchtests/bench-bcopy.c: New file.
14438         * benchtests/bench-bzero-ifunc.c: New file.
14439         * benchtests/bench-bzero.c: New file.
14440         * benchtests/bench-memccpy-ifunc.c: New file.
14441         * benchtests/bench-memccpy.c: New file.
14442         * benchtests/bench-memchr-ifunc.c: New file.
14443         * benchtests/bench-memchr.c: New file.
14444         * benchtests/bench-memcmp-ifunc.c: New file.
14445         * benchtests/bench-memcmp.c: New file.
14446         * benchtests/bench-memmem-ifunc.c: New file.
14447         * benchtests/bench-memmem.c: New file.
14448         * benchtests/bench-memmove-ifunc.c: New file.
14449         * benchtests/bench-memmove.c: New file.
14450         * benchtests/bench-mempcpy-ifunc.c: New file.
14451         * benchtests/bench-mempcpy.c: New file.
14452         * benchtests/bench-memset-ifunc.c: New file.
14453         * benchtests/bench-memset.c: New file.
14454         * benchtests/bench-rawmemchr-ifunc.c: New file.
14455         * benchtests/bench-rawmemchr.c: New file.
14456         * benchtests/bench-stpcpy-ifunc.c: New file.
14457         * benchtests/bench-stpcpy.c: New file.
14458         * benchtests/bench-stpncpy-ifunc.c: New file.
14459         * benchtests/bench-stpncpy.c: New file.
14460         * benchtests/bench-strcasecmp-ifunc.c: New file.
14461         * benchtests/bench-strcasecmp.c: New file.
14462         * benchtests/bench-strcasestr-ifunc.c: New file.
14463         * benchtests/bench-strcasestr.c: New file.
14464         * benchtests/bench-strcat-ifunc.c: New file.
14465         * benchtests/bench-strcat.c: New file.
14466         * benchtests/bench-strchr-ifunc.c: New file.
14467         * benchtests/bench-strchr.c: New file.
14468         * benchtests/bench-strchrnul-ifunc.c: New file.
14469         * benchtests/bench-strchrnul.c: New file.
14470         * benchtests/bench-strcmp-ifunc.c: New file.
14471         * benchtests/bench-strcmp.c: New file.
14472         * benchtests/bench-strcpy-ifunc.c: New file.
14473         * benchtests/bench-strcpy.c: New file.
14474         * benchtests/bench-strcspn-ifunc.c: New file.
14475         * benchtests/bench-strcspn.c: New file.
14476         * benchtests/bench-strlen-ifunc.c: New file.
14477         * benchtests/bench-strlen.c: New file.
14478         * benchtests/bench-strncasecmp-ifunc.c: New file.
14479         * benchtests/bench-strncasecmp.c: New file.
14480         * benchtests/bench-strncat-ifunc.c: New file.
14481         * benchtests/bench-strncat.c: New file.
14482         * benchtests/bench-strncmp-ifunc.c: New file.
14483         * benchtests/bench-strncmp.c: New file.
14484         * benchtests/bench-strncpy-ifunc.c: New file.
14485         * benchtests/bench-strncpy.c: New file.
14486         * benchtests/bench-strnlen-ifunc.c: New file.
14487         * benchtests/bench-strnlen.c: New file.
14488         * benchtests/bench-strpbrk-ifunc.c: New file.
14489         * benchtests/bench-strpbrk.c: New file.
14490         * benchtests/bench-strrchr-ifunc.c: New file.
14491         * benchtests/bench-strrchr.c: New file.
14492         * benchtests/bench-strspn-ifunc.c: New file.
14493         * benchtests/bench-strspn.c: New file.
14494         * benchtests/bench-strstr-ifunc.c: New file.
14495         * benchtests/bench-strstr.c: New file.
14497         * benchtests/Makefile: Disable parallel execution of targets.
14498         (string-bench): Add memcpy.
14499         (benchset): New variable to store a list of benchmark sets.
14500         (bench-func): Renamed from bench.
14501         (bench-set): New target.
14502         (bench): Depend on bench-func and bench-set.
14503         * benchtests/README: Add section on benchmark sets.
14504         * benchtests/bench-memcpy-ifunc.c: New file.
14505         * benchtests/bench-memcpy.c: New file.
14506         * benchtests/bench-string.h: New file.
14508 2013-06-11  Andreas Schwab  <schwab@suse.de>
14510         [BZ #15577]
14511         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14512         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14513         values in the triple.
14514         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14515         terminator in the group key.
14517 2013-06-11  Andreas Jaeger  <aj@suse.de>
14519         * po/zh_TW.po: Update Chinese (traditional) translation from
14520         translation project.
14522 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14524         * include/time.h (__clock_gettime): Add libc_hidden_proto.
14525         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14526         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
14527         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14528         (clock_getcpuclockid): Likewise.
14529         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14530         Add weak_alias and libc_hidden_def.
14531         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14532         * rt/clock_gettime.c (clock_gettime): Rename to
14533         __clock_gettime.  Add weak_alias and libc_hidden_def.
14534         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14535         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14536         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
14537         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14538         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14539         Likewise.
14540         * rt/clock_settime.c (clock_settime): Rename to
14541         __clock_settime.  Add weak_alias and libc_hidden_def.
14542         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14544 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
14546         * mach/err_boot.sub: Remove trailing whitespace.
14547         * mach/err_ipc.sub: Likewise.
14548         * mach/err_mach.sub: Likewise.
14550         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14551         (ROUNDING_TESTS_double): Likewise.
14552         (ROUNDING_TESTS_long_double): Likewise.
14553         (ROUNDING_TESTS): Likewise.
14554         * math/libm-test.inc: Include <math-tests.h>.
14555         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14556         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14557         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14558         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14560 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14562         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14563         of assigning.
14565 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
14567         * sysdeps/gnu/errlist.awk: Do not generate space at end of
14568         otherwise empty TRANS lines.
14569         * sysdeps/gnu/errlist.c: Regenerated.
14571         * catgets/gencat.c (error_print): Use (void) in function
14572         definition.
14573         * crypt/crypt_util.c (__init_des): Likewise.
14574         * crypt/speeds.c (Stop): Likewise.
14575         (main): Likewise.
14576         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14577         * inet/ruserpass.c (token): Likewise.
14578         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14579         * intl/localealias.c (extend_alias_table): Likewise.
14580         * intl/plural-exp.c (init_germanic_plural): Likewise.
14581         * libio/fcloseall.c (__fcloseall): Likewise.
14582         * libio/genops.c (_IO_flush_all): Likewise.
14583         (_IO_flush_all_linebuffered): Likewise.
14584         (_IO_cleanup): Likewise.
14585         (_IO_iter_begin): Likewise.
14586         (_IO_iter_end): Likewise.
14587         (_IO_list_lock): Likewise.
14588         (_IO_list_unlock): Likewise.
14589         (_IO_list_resetlock): Likewise.
14590         * libio/getchar.c (getchar): Likewise.
14591         * libio/getchar_u.c (getchar_unlocked): Likewise.
14592         * libio/getwchar.c (getwchar): Likewise.
14593         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14594         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14595         * login/getpt.c (__getpt): Likewise.
14596         * login/tst-utmp.c (main): Likewise.
14597         * malloc/hooks.c (__malloc_check_init): Likewise.
14598         * malloc/malloc.c (__malloc_stats): Likewise.
14599         * malloc/mtrace.c (tr_break): Likewise.
14600         (mtrace): Likewise.
14601         (muntrace): Likewise.
14602         * misc/fstab.c (endfsent): Likewise.
14603         * misc/getclktck.c (__getclktck): Likewise.
14604         * misc/getdtsz.c (__getdtablesize): Likewise.
14605         * misc/gethostid.c (gethostid): Likewise.
14606         * misc/getpagesize.c (__getpagesize): Likewise.
14607         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14608         (__get_nprocs): Likewise.
14609         (__get_phys_pages): Likewise.
14610         (__get_avphys_pages): Likewise.
14611         * misc/getttyent.c (getttyent): Likewise.
14612         (setttyent): Likewise.
14613         (endttyent): Likewise.
14614         * misc/getusershell.c (getusershell): Likewise.
14615         (endusershell): Likewise.
14616         (setusershell): Likewise.
14617         (initshells): Likewise.
14618         * misc/hsearch.c (__hdestroy): Likewise.
14619         * misc/sync.c (sync): Likewise.
14620         * misc/syslog.c (closelog_internal): Likewise.
14621         (closelog): Likewise.
14622         * misc/ttyslot.c (ttyslot): Likewise.
14623         * misc/vhangup.c (vhangup): Likewise.
14624         * posix/fork.c (__fork): Likewise.
14625         * posix/getegid.c (__getegid): Likewise.
14626         * posix/geteuid.c (__geteuid): Likewise.
14627         * posix/getgid.c (__getgid): Likewise.
14628         * posix/getpid.c (__getpid): Likewise.
14629         * posix/getppid.c (__getppid): Likewise.
14630         * posix/getuid.c (__getuid): Likewise.
14631         * posix/pause.c (pause): Likewise.
14632         * posix/setpgrp.c (setpgrp): Likewise.
14633         * posix/setsid.c (__setsid): Likewise.
14634         * posix/test-vfork.c (noop): Likewise.
14635         * resolv/gethnamaddr.c (_endhtent): Likewise.
14636         (_gethtent): Likewise.
14637         (ht_endhostent): Likewise.
14638         (gethostent): Likewise.
14639         (dns_service): Likewise.
14640         * stdlib/drand48.c (drand48): Likewise.
14641         * stdlib/lrand48.c (lrand48): Likewise.
14642         * stdlib/mrand48.c (mrand48): Likewise.
14643         * stdlib/rand.c (rand): Likewise.
14644         * stdlib/random.c (__random): Likewise.
14645         * stdlib/setenv.c (clearenv): Likewise.
14646         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14647         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14648         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14649         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14650         (__get_nprocs): Likewise.
14651         (__get_phys_pages): Likewise.
14652         (__get_avphys_pages): Likewise.
14653         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14654         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14655         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14656         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14657         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14658         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14659         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14660         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14661         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14662         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14663         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14664         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14665         * sysdeps/posix/clock.c (clock): Likewise.
14666         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14667         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14668         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14669         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14670         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14671         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14672         (__get_nprocs_conf): Likewise.
14673         (__get_phys_pages): Likewise.
14674         (__get_avphys_pages): Likewise.
14675         * time/clock.c (clock): Likewise.
14676         * time/tzset.c (__tzname_max): Likewise.
14678 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14680         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14681         (__bswap_32): Do not use "register".
14682         * crypt/crypt.c (_ufc_doit_r): Likewise.
14683         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14684         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14685         * gmon/gmon.c (__monstartup): Likewise.
14686         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14687         * hurd/hurdmalloc.c (more_memory): Likewise.
14688         (malloc): Likewise.
14689         (free): Likewise.
14690         (realloc): Likewise.
14691         (malloc_fork_prepare): Likewise.
14692         (malloc_fork_parent): Likewise.
14693         (malloc_fork_child): Likewise.
14694         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14695         (_svcauth_des): Likewise.
14696         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14697         * inet/inet_net.c (inet_network): Likewise.
14698         * inet/inet_netof.c (inet_netof): Likewise.
14699         * inet/rcmd.c (__validuser2_sa): Likewise.
14700         * io/fts.c (fts_open): Likewise.
14701         (fts_load): Likewise.
14702         (fts_close): Likewise.
14703         (fts_read): Likewise.
14704         (fts_children): Likewise.
14705         (fts_build): Likewise.
14706         (fts_stat): Likewise.
14707         (fts_sort): Likewise.
14708         (fts_alloc): Likewise.
14709         (fts_lfree): Likewise.
14710         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14711         (_IO_file_xsgetn): Likewise.
14712         (_IO_file_xsgetn_mmap): Likewise.
14713         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14714         (_IO_cookie_write): Likewise.
14715         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14716         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14717         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14718         * malloc/obstack.c (_obstack_begin): Likewise.
14719         (_obstack_begin_1): Likewise.
14720         (_obstack_newchunk): Likewise.
14721         (_obstack_allocated_p): Likewise.
14722         (obstack_free): Likewise.
14723         (_obstack_memory_used): Likewise.
14724         * misc/getttyent.c (getttynam): Likewise.
14725         (getttyent): Likewise.
14726         (skip): Likewise.
14727         (value): Likewise.
14728         * misc/getusershell.c (initshells): Likewise.
14729         * misc/syslog.c (__vsyslog_chk): Likewise.
14730         * misc/ttyslot.c (ttyslot): Likewise.
14731         * nis/nis_hash.c (__nis_hash): Likewise.
14732         * posix/fnmatch_loop.c (FCT): Likewise.
14733         * posix/getconf.c (print_all): Likewise.
14734         (main): Likewise.
14735         * posix/getopt.c (exchange): Likewise.
14736         * posix/glob.c (globfree): Likewise.
14737         (prefix_array): Likewise.
14738         (__glob_pattern_type): Likewise.
14739         * resolv/arpa/nameser.h (NS_GET16): Likewise.
14740         (NS_GET32): Likewise.
14741         (NS_PUT16): Likewise.
14742         (NS_PUT32): Likewise.
14743         * resolv/gethnamaddr.c (getanswer): Likewise.
14744         (gethostbyname2): Likewise.
14745         (gethostbyaddr): Likewise.
14746         (_gethtent): Likewise.
14747         (_gethtbyname2): Likewise.
14748         (_gethtbyaddr): Likewise.
14749         * resolv/ns_print.c (dst_s_get_int16): Likewise.
14750         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14751         * resolv/res_init.c (__res_vinit): Likewise.
14752         (net_mask): Likewise.
14753         * resolv/res_mkquery.c (outchar): Likewise.
14754         (PRINT): Likewise.
14755         * stdio-common/printf_fp.c (outchar): Likewise.
14756         (PRINT): Likewise.
14757         * stdio-common/printf_fphex.c (outchar): Likewise.
14758         (PRINT): Likewise.
14759         * stdio-common/printf_size.c (outchar): Likewise.
14760         (PRINT): Likewise.
14761         * stdio-common/test_rdwr.c (main): Likewise.
14762         * stdio-common/tfformat.c (matches): Likewise.
14763         * stdio-common/vfprintf.c (outchar): Likewise.
14764         (printf_unknown): Likewise.
14765         (buffered_vfprintf): Likewise.
14766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14767         * stdio-common/xbug.c (AppendToBuffer): Likewise.
14768         (ReadFile): Likewise.
14769         * stdlib/qsort.c (SWAP): Likewise.
14770         (_quicksort): Likewise.
14771         * stdlib/setenv.c (__add_to_environ): Likewise.
14772         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14773         * stdlib/strtol_l.c (__strtol_l): Likewise.
14774         * stdlib/tst-strtod.c (main): Likewise.
14775         * stdlib/tst-strtol.c (main): Likewise.
14776         * stdlib/tst-strtoll.c (main): Likewise.
14777         * string/bits/string2.h (__strcmp_cc): Likewise.
14778         (__strcmp_cg): Likewise.
14779         (__strcspn_c1): Likewise.
14780         (__strcspn_c2): Likewise.
14781         (__strcspn_c3): Likewise.
14782         (__strspn_c1): Likewise.
14783         (__strspn_c2): Likewise.
14784         (__strspn_c3): Likewise.
14785         (__strsep_1c): Likewise.
14786         (__strsep_2c): Likewise.
14787         (__strsep_3c): Likewise.
14788         * string/memccpy.c (__memccpy): Likewise.
14789         * string/stpcpy.c (__stpcpy): Likewise.
14790         * string/strcmp.c (strcmp): Likewise.
14791         * string/strrchr.c (strrchr): Likewise.
14792         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14793         Likewise.
14794         * sysdeps/mach/hurd/getcwd.c
14795         (_hurd_canonicalize_directory_name_internal): Likewise.
14796         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14797         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14798         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14799         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14800         Likewise, in both definitions.
14801         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14802         definitions.
14803         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14804         64] (__bswap_64): Likewise.
14805         * time/test_time.c (main): Likewise.
14806         * time/tzfile.c (__tzfile_read): Likewise.
14807         (__tzfile_compute): Likewise.
14808         * time/tzset.c (__tzset_parse_tz): Likewise.
14809         (tzset_internal): Likewise.
14810         (compute_change): Likewise.
14811         * wcsmbs/wcscat.c (__wcscat): Likewise.
14812         * wcsmbs/wcschr.c (wcschr): Likewise.
14813         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14814         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14815         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14816         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14817         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14818         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14819         * wcsmbs/wmemchr.c (wmemchr): Likewise.
14820         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14821         * wcsmbs/wmemset.c (wmemset): Likewise.
14823 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
14825         * scripts/config.guess: Update to version 2013-05-16.
14826         * scripts/config.sub: Update to version 2013-04-24.
14827         * scripts/install-sh: Update to version 2011-11-20.07.
14828         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14829         * scripts/move-if-change: Update to version 2012-01-06 07:23.
14831 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
14833         * debug/fgetws_u_chk.c: Fix leading whitespaces.
14834         * elf/sln.c: Likewise.
14835         * hurd/hurd/ioctl.h: Likewise.
14836         * hurd/hurdmalloc.c: Likewise.
14837         * hurd/xattr.c: Likewise.
14838         * include/shlib-compat.h: Likewise.
14839         * inet/ruserpass.c: Likewise.
14840         * libio/iofgets_u.c: Likewise.
14841         * libio/iofgetws_u.c: Likewise.
14842         * locale/programs/ld-identification.c: Likewise.
14843         * locale/programs/ld-time.c: Likewise.
14844         * mach/msg-destroy.c: Likewise.
14845         * nss/nss_files/files-netgrp.c: Likewise.
14846         * resolv/res_data.c: Likewise.
14847         * soft-fp/op-1.h: Likewise.
14848         * soft-fp/op-2.h: Likewise.
14849         * soft-fp/op-4.h: Likewise.
14850         * soft-fp/op-common.h: Likewise.
14851         * stdio-common/printf_fphex.c: Likewise.
14852         * stdlib/strtod_l.c: Likewise.
14853         * sunrpc/rpc/clnt.h: Likewise.
14854         * sysdeps/generic/framestate.c: Likewise.
14855         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14856         * sysdeps/i386/bsd-setjmp.S: Likewise.
14857         * sysdeps/i386/__longjmp.S: Likewise.
14858         * sysdeps/i386/setjmp.S: Likewise.
14859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14860         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14862         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14864         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14865         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14866         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14867         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14868         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14869         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14870         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14871         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14872         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14873         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14874         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14875         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14876         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14877         * sysdeps/ieee754/support.c: Likewise.
14878         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14879         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14880         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14881         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14882         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14883         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14884         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14885         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14886         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14887         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14888         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14889         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14890         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14891         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14893         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14894         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14897 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
14899         * posix/transbug.c: Remove executable mode.
14901 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
14903         * crypt/speeds.c: Remove trailing whitespace.
14904         * dlfcn/default.c: Likewise.
14905         * elf/ifuncdep2.c: Likewise.
14906         * elf/ifuncmain1.c: Likewise.
14907         * elf/ifuncmain1vis.c: Likewise.
14908         * elf/testobj.h: Likewise.
14909         * elf/tst-stackguard1.c: Likewise.
14910         * gmon/sys/gmon.h: Likewise.
14911         * hurd/hurdmsg.c: Likewise.
14912         * hurd/new-fd.c: Likewise.
14913         * hurd/ports-get.c: Likewise.
14914         * iconvdata/ibm1008_420.c: Likewise.
14915         * inet/tst-getni1.c: Likewise.
14916         * inet/tst-getni2.c: Likewise.
14917         * libio/ioungetc.c: Likewise.
14918         * libio/wfiledoalloc.c: Likewise.
14919         * manual/libm-err-tab.pl: Likewise.
14920         * math/w_dremf.c: Likewise.
14921         * misc/ftruncate.c: Likewise.
14922         * posix/bug-glob2.c: Likewise.
14923         * posix/tst-pcre.c: Likewise.
14924         * posix/wait4.c: Likewise.
14925         * resolv/README: Likewise.
14926         * resolv/res_debug.h: Likewise.
14927         * resolv/tst-inet_ntop.c: Likewise.
14928         * setjmp/bug269-setjmp.c: Likewise.
14929         * soft-fp/extended.h: Likewise.
14930         * soft-fp/op-1.h: Likewise.
14931         * soft-fp/op-2.h: Likewise.
14932         * soft-fp/op-4.h: Likewise.
14933         * soft-fp/op-8.h: Likewise.
14934         * soft-fp/testit.c: Likewise.
14935         * stdio-common/bug16.c: Likewise.
14936         * stdlib/random.c: Likewise.
14937         * sunrpc/rpcsvc/rquota.x: Likewise.
14938         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14939         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14940         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14941         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14942         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14943         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14944         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14945         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14946         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14947         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14948         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14949         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14950         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14951         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14952         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14953         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14954         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14955         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14956         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14959         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14960         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14961         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14966         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14967         * sysdeps/ieee754/s_lib_version.c: Likewise.
14968         * sysdeps/mach/hurd/check_fds.c: Likewise.
14969         * sysdeps/mach/hurd/getsockname.c: Likewise.
14970         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14971         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14972         * sysdeps/powerpc/bits/link.h: Likewise.
14973         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14974         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14975         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14976         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14977         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14978         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14979         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14980         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14981         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14982         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14983         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14984         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14985         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14986         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14987         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14988         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14989         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14990         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14993         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14994         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14995         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14996         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14997         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14998         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14999         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15000         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15001         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15002         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15003         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15005         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15006         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15007         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15008         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15009         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15010         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15011         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15012         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15013         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15014         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15015         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15016         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15017         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15018         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15019         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15020         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15021         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15022         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15023         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15025         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15026         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15027         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15028         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15029         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15030         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15031         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15032         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15033         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15035         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15036         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15037         * sysdeps/powerpc/sysdep.h: Likewise.
15038         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15039         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15040         * sysdeps/sh/dl-trampoline.S: Likewise.
15041         * sysdeps/sh/memset.S: Likewise.
15042         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15043         * sysdeps/sh/strlen.S: Likewise.
15044         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15045         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15046         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15047         * sysdeps/sparc/sparc32/rem.S: Likewise.
15048         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15049         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15050         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15051         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15052         * sysdeps/sparc/sparc32/urem.S: Likewise.
15053         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15054         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15055         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15056         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15057         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15058         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15059         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15060         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15061         * sysdeps/unix/bsd/times.c: Likewise.
15062         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15063         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15067         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15068         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15069         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15070         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15071         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15073         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15074         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15075         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15076         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15077         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15078         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15079         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15080         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15081         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15082         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15083         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15084         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15085         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15086         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15087         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15088         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15089         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15090         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15091         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15092         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15093         * sysdeps/x86_64/strcspn.S: Likewise.
15095 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15097         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15098         generated file.  Regenerate properly from gen-translit.pl.
15099         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15100         locale/C-translit.h.
15102 2013-06-05  Andreas Schwab  <schwab@suse.de>
15104         [BZ #15100]
15105         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15106         week as 6 instead of -1.
15107         * time/tst-strptime.c (day_tests): Add test case.
15109 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15111         * sysdeps/generic/math_private.h
15112         (libc_feholdexcept_setround_53bit): Replace with
15113         libc_feholdsetround_53bit.
15114         (libc_feupdateenv_53bit): Replace with
15115         libc_feresetround_53bit.
15116         (SET_RESTORE_ROUND_53BIT): Adjust.
15118 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15120         * string/test-strchrnul.c: Add copyright header.
15122         * posix/tst-getaddrinfo4.c: Increase test timeout.
15124 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15126         [BZ #15536]
15127         * math/libm-test.inc (MAX_EXP): Remove
15128         (MIN_EXP): Define.
15129         (ulp): Use MIN_EXP - MANT_DIG.
15130         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15132 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15134         * po/be.po: Revert last change.
15135         * po/zh_CN.po: Likewise.
15136         * po/header.pot: Likewise.
15138 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15140         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15141         link-libc-deps to empty as target-specific variable.
15142         * Makerules (link-libc-args): New variable.
15143         (libc-for-link): Likewise.
15144         (link-libc-deps): Likewise.
15145         (lib%.so): Depend on $(link-libc-deps).  Link with
15146         $(link-libc-args).
15147         (build-module): Link with $(link-libc-args).
15148         (build-module-asneeded): Likewise.
15149         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15150         list of objects.
15151         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15152         target-specific variable.
15153         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15154         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15155         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15156         libc.
15157         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15158         libc and ld.so.
15159         ($(objpfx)libpcprofile.so): Likewise.
15160         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15161         libc_nonshared.a.
15162         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15163         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15164         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15165         $(link-libc-deps).
15166         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15167         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15168         * login/Makefile ($(objpfx)libutil.so): Likewise.
15169         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15170         * math/Makefile ($(objpfx)libm.so): Likewise.
15171         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15172         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15173         variable instead of depending directly on libc.
15174         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15175         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15176         $(link-libc-deps).
15177         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15178         libc.
15179         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15180         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15181         ($(objpfx)libanl.so): Likewise.
15182         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15183         ld.so.
15184         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15185         $(link-libc-deps).
15186         * sysdeps/i386/fpu/Makefile: Remove file.
15187         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15188         ($(objpfx)libm.so): Remove dependency on ld.so.
15190 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15192         [BZ # 15553]
15193         * nis/yp_xdr.c (XDRMAXNAME): Define.
15194         (XDRMAXRECORD): Define.
15195         (xdr_domainname): Use XDRMAXNAME.
15196         (xdr_mapname): Likewise.
15197         (xdr_peername): Likewise.
15198         (xdr_keydat): Use XDRMAXRECORD.
15199         (xdr_valdat): Likewise.
15201 2013-05-30  Jeff Law  <law@redhat.com>
15203         [BZ #14256]
15204         * manual/errno.texi (ESTALE): Update to account for more than
15205         just NFS file systems.
15206         * sysdeps/gnu/errlist.c: Regenerated.
15208 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15210         [BZ #15465]
15211         * elf/Makefile (tests): Add tst-null-argv.
15212         (modules-names):  Add tst-null-argv-lib.
15213         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15214         (tst-null-argv-ENV): Set environment for tst-null-argv.
15215         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15216         (RTLD_PROGNAME): New macro.
15217         * elf/tst-null-argv.c: New test case.
15218         * elf/tst-null-argv-lib.c: Library for test case.
15219         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15220         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15221         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15222         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15223         * elf/dl-init.c (call_init): Likewise.
15224         (_dl_init): Likewise.
15225         * elf/dl-load.c (print_search_path): Likewise.
15226         (_dl_map_object): Likewise.
15227         * elf/dl-lookup.c (do_lookup_x): Likewise.
15228         (add_dependency): Likewise.
15229         (_dl_lookup_symbol_x): Likewise.
15230         (_dl_debug_bindings): Likewise.
15231         * elf/dl-open.c (_dl_show_scope): Likewise.
15232         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15233         * elf/dl-version.c (match_symbol): Likewise.
15234         (_dl_check_map_versions): Likewise.
15235         * elf/rtld.c (dl_main): Likewise.
15236         (print_unresolved): Use RTLD_PROGNAME.
15237         (print_missing_version): Likewise.
15238         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15239         (elf_machine_rela): Likewise.
15240         * sysdeps/powerpc/powerpc32/dl-machine.c
15241         (__process_machine_rela): Likewise.
15242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15243         Likewise.
15244         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15245         Likewise.
15246         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15247         Likewise.
15248         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15250         Likewise.
15251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15252         Likewise.
15253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15255 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15257         * po/be.po: Add descriptive title.
15258         * po/zh_CN.po: Likewise.
15259         * po/header.pot: Likewise.
15261 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15263         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15264         error message.
15265         (enlarge_archive): Likewise.
15267 2013-05-28  Ben North  <ben@redfrontdoor.org>
15269         * manual/arith.texi (frexp): It is the magnitude of the return
15270         value which lies in [0.5, 1), not the return value itself.
15272 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15276 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15278         * stdio-common/bug26.c (main): Correct fscanf template.
15280         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15281         declare _dl_skip_args.
15283         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15284         Don't declare.
15286         * manual/platform.texi: Add missing @end deftypefun.
15288 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15290         [BZ #15529]
15291         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15292         bit of mantissa of 2^16382.
15293         * math/libm-test.inc (hypot_test_data): Add more tests.
15295         * math/libm-test.inc: Add drem and pow10 to list of tested
15296         functions.
15297         (pow10_test): New function.
15298         (drem_test): Likewise.
15299         (drem_test_tonearest): Likewise.
15300         (drem_test_towardzero): Likewise.
15301         (drem_test_downward): Likewise.
15302         (drem_test_upward): Likewise.
15303         (main): Call the new functions.
15305         * math/libm-test.inc (finite_test_data): Remove.
15306         (finite_test): Run tests from isfinite_test_data.
15307         (gamma_test_data): Remove.
15308         (gamma_test): Run tests from lgamma_test_data.
15309         * sysdeps/i386/fpu/libm-test-ulps: Update.
15310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15312 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15314         * manual/platform.texi: Add PowerPC PPR function set documentation.
15315         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15316         implementation.
15318 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15320         * math/libm-test.inc (MAX_EXP): Define.
15321         (ULPDIFF): Define.
15322         (ulp): New function.
15323         (check_float_internal): Use ULPDIFF.
15324         (cpow_test): Disable failing test.
15325         (check_ulp): Test ulp() implemetnation.
15326         (main): Call check_ulp before starting tests.
15328 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15330         * math/gen-libm-test.pl (generate_testfile): Do not handle
15331         START_DATA and END_DATA.
15332         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15333         END_DATA.
15334         (acos_tonearest_test_data): Likewise.
15335         (acos_towardzero_test_data): Likewise.
15336         (acos_downward_test_data): Likewise.
15337         (acos_upward_test_data): Likewise.
15338         (acosh_test_data): Likewise.
15339         (asin_test_data): Likewise.
15340         (asin_tonearest_test_data): Likewise.
15341         (asin_towardzero_test_data): Likewise.
15342         (asin_downward_test_data): Likewise.
15343         (asin_upward_test_data): Likewise.
15344         (asinh_test_data): Likewise.
15345         (atan_test_data): Likewise.
15346         (atanh_test_data): Likewise.
15347         (atan2_test_data): Likewise.
15348         (cabs_test_data): Likewise.
15349         (cacos_test_data): Likewise.
15350         (cacosh_test_data): Likewise.
15351         (carg_test_data): Likewise.
15352         (casin_test_data): Likewise.
15353         (casinh_test_data): Likewise.
15354         (catan_test_data): Likewise.
15355         (catanh_test_data): Likewise.
15356         (cbrt_test_data): Likewise.
15357         (ccos_test_data): Likewise.
15358         (ccosh_test_data): Likewise.
15359         (ceil_test_data): Likewise.
15360         (cexp_test_data): Likewise.
15361         (cimag_test_data): Likewise.
15362         (clog_test_data): Likewise.
15363         (clog10_test_data): Likewise.
15364         (conj_test_data): Likewise.
15365         (copysign_test_data): Likewise.
15366         (cos_test_data): Likewise.
15367         (cos_tonearest_test_data): Likewise.
15368         (cos_towardzero_test_data): Likewise.
15369         (cos_downward_test_data): Likewise.
15370         (cos_upward_test_data): Likewise.
15371         (cosh_test_data): Likewise.
15372         (cosh_tonearest_test_data): Likewise.
15373         (cosh_towardzero_test_data): Likewise.
15374         (cosh_downward_test_data): Likewise.
15375         (cosh_upward_test_data): Likewise.
15376         (cpow_test_data): Likewise.
15377         (cproj_test_data): Likewise.
15378         (creal_test_data): Likewise.
15379         (csin_test_data): Likewise.
15380         (csinh_test_data): Likewise.
15381         (csqrt_test_data): Likewise.
15382         (ctan_test_data): Likewise.
15383         (ctan_tonearest_test_data): Likewise.
15384         (ctan_towardzero_test_data): Likewise.
15385         (ctan_downward_test_data): Likewise.
15386         (ctan_upward_test_data): Likewise.
15387         (ctanh_test_data): Likewise.
15388         (ctanh_tonearest_test_data): Likewise.
15389         (ctanh_towardzero_test_data): Likewise.
15390         (ctanh_downward_test_data): Likewise.
15391         (ctanh_upward_test_data): Likewise.
15392         (erf_test_data): Likewise.
15393         (erfc_test_data): Likewise.
15394         (exp_test_data): Likewise.
15395         (exp_tonearest_test_data): Likewise.
15396         (exp_towardzero_test_data): Likewise.
15397         (exp_downward_test_data): Likewise.
15398         (exp_upward_test_data): Likewise.
15399         (exp10_test_data): Likewise.
15400         (exp2_test_data): Likewise.
15401         (expm1_test_data): Likewise.
15402         (fabs_test_data): Likewise.
15403         (fdim_test_data): Likewise.
15404         (finite_test_data): Likewise.
15405         (floor_test_data): Likewise.
15406         (fma_test_data): Likewise.
15407         (fma_towardzero_test_data): Likewise.
15408         (fma_downward_test_data): Likewise.
15409         (fma_upward_test_data): Likewise.
15410         (fmax_test_data): Likewise.
15411         (fmin_test_data): Likewise.
15412         (fmod_test_data): Likewise.
15413         (fpclassify_test_data): Likewise.
15414         (frexp_test_data): Likewise.
15415         (gamma_test_data): Likewise.
15416         (hypot_test_data): Likewise.
15417         (ilogb_test_data): Likewise.
15418         (isfinite_test_data): Likewise.
15419         (isgreater_test_data): Likewise.
15420         (isgreaterequal_test_data): Likewise.
15421         (isinf_test_data): Likewise.
15422         (isless_test_data): Likewise.
15423         (islessequal_test_data): Likewise.
15424         (islessgreater_test_data): Likewise.
15425         (isnan_test_data): Likewise.
15426         (isnormal_test_data): Likewise.
15427         (issignaling_test_data): Likewise.
15428         (isunordered_test_data): Likewise.
15429         (j0_test_data): Likewise.
15430         (j1_test_data): Likewise.
15431         (jn_test_data): Likewise.
15432         (ldexp_test_data): Likewise.
15433         (lgamma_test_data): Likewise.
15434         (lrint_test_data): Likewise.
15435         (lrint_tonearest_test_data): Likewise.
15436         (lrint_towardzero_test_data): Likewise.
15437         (lrint_downward_test_data): Likewise.
15438         (lrint_upward_test_data): Likewise.
15439         (llrint_test_data): Likewise.
15440         (llrint_tonearest_test_data): Likewise.
15441         (llrint_towardzero_test_data): Likewise.
15442         (llrint_downward_test_data): Likewise.
15443         (llrint_upward_test_data): Likewise.
15444         (log_test_data): Likewise.
15445         (log10_test_data): Likewise.
15446         (log1p_test_data): Likewise.
15447         (log2_test_data): Likewise.
15448         (logb_test_data): Likewise.
15449         (logb_downward_test_data): Likewise.
15450         (lround_test_data): Likewise.
15451         (llround_test_data): Likewise.
15452         (modf_test_data): Likewise.
15453         (nearbyint_test_data): Likewise.
15454         (nextafter_test_data): Likewise.
15455         (nexttoward_test_data): Likewise.
15456         (pow_test_data): Likewise.
15457         (pow_tonearest_test_data): Likewise.
15458         (pow_towardzero_test_data): Likewise.
15459         (pow_downward_test_data): Likewise.
15460         (pow_upward_test_data): Likewise.
15461         (remainder_test_data): Likewise.
15462         (remainder_tonearest_test_data): Likewise.
15463         (remainder_towardzero_test_data): Likewise.
15464         (remainder_downward_test_data): Likewise.
15465         (remainder_upward_test_data): Likewise.
15466         (remquo_test_data): Likewise.
15467         (rint_test_data): Likewise.
15468         (rint_tonearest_test_data): Likewise.
15469         (rint_towardzero_test_data): Likewise.
15470         (rint_downward_test_data): Likewise.
15471         (rint_upward_test_data): Likewise.
15472         (round_test_data): Likewise.
15473         (scalb_test_data): Likewise.
15474         (scalbn_test_data): Likewise.
15475         (scalbln_test_data): Likewise.
15476         (signbit_test_data): Likewise.
15477         (sin_test_data): Likewise.
15478         (sin_tonearest_test_data): Likewise.
15479         (sin_towardzero_test_data): Likewise.
15480         (sin_downward_test_data): Likewise.
15481         (sin_upward_test_data): Likewise.
15482         (sincos_test_data): Likewise.
15483         (sinh_test_data): Likewise.
15484         (sinh_tonearest_test_data): Likewise.
15485         (sinh_towardzero_test_data): Likewise.
15486         (sinh_downward_test_data): Likewise.
15487         (sinh_upward_test_data): Likewise.
15488         (sqrt_test_data): Likewise.
15489         (tan_test_data): Likewise.
15490         (tan_tonearest_test_data): Likewise.
15491         (tan_towardzero_test_data): Likewise.
15492         (tan_downward_test_data): Likewise.
15493         (tan_upward_test_data): Likewise.
15494         (tanh_test_data): Likewise.
15495         (tgamma_test_data): Likewise.
15496         (trunc_test_data): Likewise.
15497         (y0_test_data): Likewise.
15498         (y1_test_data): Likewise.
15499         (yn_test_data): Likewise.
15500         (significand_test_data): Likewise.
15502         * math/gen-libm-test.pl (@functions): Remove variable.
15503         (generate_testfile): Don't handle START and END lines.
15504         * math/libm-test.inc (START): New macro.
15505         (END): Likewise.
15506         (END_COMPLEX): Likewise.
15507         (acos_test): Use END macro without arguments.
15508         (acos_test_tonearest): Likewise.
15509         (acos_test_towardzero): Likewise.
15510         (acos_test_downward): Likewise.
15511         (acos_test_upward): Likewise.
15512         (acosh_test): Likewise.
15513         (asin_test): Likewise.
15514         (asin_test_tonearest): Likewise.
15515         (asin_test_towardzero): Likewise.
15516         (asin_test_downward): Likewise.
15517         (asin_test_upward): Likewise.
15518         (asinh_test): Likewise.
15519         (atan_test): Likewise.
15520         (atanh_test): Likewise.
15521         (atan2_test): Likewise.
15522         (cabs_test): Likewise.
15523         (cacos_test): Use END_COMPLEX macro without arguments.
15524         (cacosh_test): Likewise.
15525         (carg_test): Use END macro without arguments.
15526         (casin_test): Use END_COMPLEX macro without arguments.
15527         (casinh_test): Likewise.
15528         (catan_test): Likewise.
15529         (catanh_test): Likewise.
15530         (cbrt_test): Use END macro without arguments.
15531         (ccos_test): Use END_COMPLEX macro without arguments.
15532         (ccosh_test): Likewise.
15533         (ceil_test): Use END macro without arguments.
15534         (cexp_test): Use END_COMPLEX macro without arguments.
15535         (cimag_test): Use END macro without arguments.
15536         (clog_test): Use END_COMPLEX macro without arguments.
15537         (clog10_test): Likewise.
15538         (conj_test): Likewise.
15539         (copysign_test): Use END macro without arguments.
15540         (cos_test): Likewise.
15541         (cos_test_tonearest): Likewise.
15542         (cos_test_towardzero): Likewise.
15543         (cos_test_downward): Likewise.
15544         (cos_test_upward): Likewise.
15545         (cosh_test): Likewise.
15546         (cosh_test_tonearest): Likewise.
15547         (cosh_test_towardzero): Likewise.
15548         (cosh_test_downward): Likewise.
15549         (cosh_test_upward): Likewise.
15550         (cpow_test): Use END_COMPLEX macro without arguments.
15551         (cproj_test): Likewise.
15552         (creal_test): Use END macro without arguments.
15553         (csin_test): Use END_COMPLEX macro without arguments.
15554         (csinh_test): Likewise.
15555         (csqrt_test): Likewise.
15556         (ctan_test): Likewise.
15557         (ctan_test_tonearest): Likewise.
15558         (ctan_test_towardzero): Likewise.
15559         (ctan_test_downward): Likewise.
15560         (ctan_test_upward): Likewise.
15561         (ctanh_test): Likewise.
15562         (ctanh_test_tonearest): Likewise.
15563         (ctanh_test_towardzero): Likewise.
15564         (ctanh_test_downward): Likewise.
15565         (ctanh_test_upward): Likewise.
15566         (erf_test): Use END macro without arguments.
15567         (erfc_test): Likewise.
15568         (exp_test): Likewise.
15569         (exp_test_tonearest): Likewise.
15570         (exp_test_towardzero): Likewise.
15571         (exp_test_downward): Likewise.
15572         (exp_test_upward): Likewise.
15573         (exp10_test): Likewise.
15574         (exp2_test): Likewise.
15575         (expm1_test): Likewise.
15576         (fabs_test): Likewise.
15577         (fdim_test): Likewise.
15578         (finite_test): Likewise.
15579         (floor_test): Likewise.
15580         (fma_test): Likewise.
15581         (fma_test_towardzero): Likewise.
15582         (fma_test_downward): Likewise.
15583         (fma_test_upward): Likewise.
15584         (fmax_test): Likewise.
15585         (fmin_test): Likewise.
15586         (fmod_test): Likewise.
15587         (fpclassify_test): Likewise.
15588         (frexp_test): Likewise.
15589         (gamma_test): Likewise.
15590         (hypot_test): Likewise.
15591         (ilogb_test): Likewise.
15592         (isfinite_test): Likewise.
15593         (isgreater_test): Likewise.
15594         (isgreaterequal_test): Likewise.
15595         (isinf_test): Likewise.
15596         (isless_test): Likewise.
15597         (islessequal_test): Likewise.
15598         (islessgreater_test): Likewise.
15599         (isnan_test): Likewise.
15600         (isnormal_test): Likewise.
15601         (issignaling_test): Likewise.
15602         (isunordered_test): Likewise.
15603         (j0_test): Likewise.
15604         (j1_test): Likewise.
15605         (jn_test): Likewise.
15606         (ldexp_test): Likewise.
15607         (lgamma_test): Likewise.
15608         (lrint_test): Likewise.
15609         (lrint_test_tonearest): Likewise.
15610         (lrint_test_towardzero): Likewise.
15611         (lrint_test_downward): Likewise.
15612         (lrint_test_upward): Likewise.
15613         (llrint_test): Likewise.
15614         (llrint_test_tonearest): Likewise.
15615         (llrint_test_towardzero): Likewise.
15616         (llrint_test_downward): Likewise.
15617         (llrint_test_upward): Likewise.
15618         (log_test): Likewise.
15619         (log10_test): Likewise.
15620         (log1p_test): Likewise.
15621         (log2_test): Likewise.
15622         (logb_test): Likewise.
15623         (logb_test_downward): Likewise.
15624         (lround_test): Likewise.
15625         (llround_test): Likewise.
15626         (modf_test): Likewise.
15627         (nearbyint_test): Likewise.
15628         (nextafter_test): Likewise.
15629         (nexttoward_test): Likewise.
15630         (pow_test): Likewise.
15631         (pow_test_tonearest): Likewise.
15632         (pow_test_towardzero): Likewise.
15633         (pow_test_downward): Likewise.
15634         (pow_test_upward): Likewise.
15635         (remainder_test): Likewise.
15636         (remainder_test_tonearest): Likewise.
15637         (remainder_test_towardzero): Likewise.
15638         (remainder_test_downward): Likewise.
15639         (remainder_test_upward): Likewise.
15640         (remquo_test): Likewise.
15641         (rint_test): Likewise.
15642         (rint_test_tonearest): Likewise.
15643         (rint_test_towardzero): Likewise.
15644         (rint_test_downward): Likewise.
15645         (rint_test_upward): Likewise.
15646         (round_test): Likewise.
15647         (scalb_test): Likewise.
15648         (scalbn_test): Likewise.
15649         (scalbln_test): Likewise.
15650         (signbit_test): Likewise.
15651         (sin_test): Likewise.
15652         (sin_test_tonearest): Likewise.
15653         (sin_test_towardzero): Likewise.
15654         (sin_test_downward): Likewise.
15655         (sin_test_upward): Likewise.
15656         (sincos_test): Likewise.
15657         (sinh_test): Likewise.
15658         (sinh_test_tonearest): Likewise.
15659         (sinh_test_towardzero): Likewise.
15660         (sinh_test_downward): Likewise.
15661         (sinh_test_upward): Likewise.
15662         (sqrt_test): Likewise.
15663         (tan_test): Likewise.
15664         (tan_test_tonearest): Likewise.
15665         (tan_test_towardzero): Likewise.
15666         (tan_test_downward): Likewise.
15667         (tan_test_upward): Likewise.
15668         (tanh_test): Likewise.
15669         (tgamma_test): Likewise.
15670         (trunc_test): Likewise.
15671         (y0_test): Likewise.
15672         (y1_test): Likewise.
15673         (yn_test): Likewise.
15674         (significand_test): Likewise.
15676 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15678         [BZ #15381]
15679         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15681 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15683         [BZ #14894]
15684         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15685         __ppc_mdoio and __ppc_mdoom.
15686         * manual/platform.texi: Document new functions __ppc_yield,
15687         __ppc_mdoio and __ppc_mdoom.
15689 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15691         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15692         (main): Mention "tls" pseudo-hwcap is legacy.
15693         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15695 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15697         * math/gen-libm-test.pl (parse_args): Output only string of
15698         arguments as text for test name, not full call or descriptions of
15699         tests for extra outputs.
15700         (generate_testfile): Do not pass function name to parse_args.
15701         Generate this_func variable from START.
15702         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15703         field to arg_str.
15704         (struct test_ff_f_data): Likewise.
15705         (test_ff_f_data_nexttoward): Likewise.
15706         (struct test_fi_f_data): Likewise.
15707         (struct test_fl_f_data): Likewise.
15708         (struct test_if_f_data): Likewise.
15709         (struct test_fff_f_data): Likewise.
15710         (struct test_c_f_data): Likewise.
15711         (struct test_f_f1_data): Likewise.  Remove field extra_name.
15712         (struct test_fF_f1_data): Likewise.
15713         (struct test_ffI_f1_data): Likewise.
15714         (struct test_c_c_data): Rename test_name field to arg_str.
15715         (struct test_cc_c_data): Likewise.
15716         (struct test_f_i_data): Likewise.
15717         (struct test_ff_i_data): Likewise.
15718         (struct test_f_l_data): Likewise.
15719         (struct test_f_L_data): Likewise.
15720         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
15721         and extra2_name.
15722         (COMMON_TEST_SETUP): New macro.
15723         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15724         (COMMON_TEST_CLEANUP): Likewise.
15725         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15726         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
15727         macros.
15728         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15729         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
15730         macros.
15731         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15732         (RUN_TEST_fff_f): Take argument string.  Call new setup and
15733         cleanup macros.
15734         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15735         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
15736         macros.
15737         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15738         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
15739         macros.
15740         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15741         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
15742         cleanup macros.
15743         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15744         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
15745         cleanup macros.
15746         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15747         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
15748         cleanup macros.
15749         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15750         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
15751         macros.
15752         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15753         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
15754         macros.
15755         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15756         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
15757         macros.
15758         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15759         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
15760         cleanup macros.
15761         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15762         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
15763         cleanup macros.
15764         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15765         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
15766         macros.
15767         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15768         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
15769         cleanup macros.
15770         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15771         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
15772         macros.
15773         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15774         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
15775         macros.
15776         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15777         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
15778         cleanup macros.
15779         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15781 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15783         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15784         to _sifields.sigfault.
15785         (si_addr_lsb): Define new macro.
15786         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15788         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15790 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
15792         [BZ #15441]
15793         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15794         returns -1.
15795         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15796         null return -1.
15797         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15798         loading the domain.
15800 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15802         * math/gen-libm-test.pl (parse_args): Do not include expected
15803         result in test name.
15804         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15806         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15807         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15808         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15811 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15813         * benchtests/Makefile: Sort function entries.
15815         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15816         tanh, asinh, acosh, atanh.
15817         * benchtests/acos-inputs: New file.
15818         * benchtests/acosh-inputs: New file.
15819         * benchtests/asin-inputs: New file.
15820         * benchtests/asinh-inputs: New file.
15821         * benchtests/atanh-inputs: New file.
15822         * benchtests/cosh-inputs: New file.
15823         * benchtests/log-inputs: New file.
15824         * benchtests/sinh-inputs: New file.
15825         * benchtests/tanh-inputs: New file.
15827 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
15829         [BZ #15339]
15830         * posix/tst-getaddrinfo4.c: New test.
15831         * posix/Makefile (tests): Add it.
15833 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15835         [BZ #15339]
15836         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15837         when no services were used.
15838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15839         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15841 2013-05-21  Andreas Schwab  <schwab@suse.de>
15843         [BZ #15014]
15844         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15845         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15846         successful.
15847         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15848         redundant variable declarations and reallocation of buffer when
15849         parsing as IPv6 address.  Always set NSS status when called from
15850         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
15851         buffer too small.  Correct computation of needed size.
15852         * nss/Makefile (tests): Add test-digits-dots.
15853         * nss/test-digits-dots.c: New test.
15855 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15857         * benchtests/Makefile: Remove instructions for adding
15858         benchmark tests.
15859         * benchtests/README: New file to explain how to execute and
15860         enhance the benchmark tests.
15862 2013-05-21  Andreas Schwab  <schwab@suse.de>
15864         [BZ #15493]
15865         * setjmp/Makefile (tests): Add tst-sigsetjmp.
15866         * setjmp/tst-sigsetjmp.c: New test.
15868 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15870         * sysdeps/x86_64/memset.S (memset): New implementation.
15871         (__bzero): Likewise.
15872         (__memset_tail): New function.
15874 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15876         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15877         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15878         __memcpy_sse2_unaligned ifunc selection.
15879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15880         Add memcpy-sse2-unaligned.S.
15881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15882         Add: __memcpy_sse2_unaligned.
15884 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
15886         [BZ #15490]
15887         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15888         math_force_eval before restoring floating-point envrionment.
15889         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15890         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15891         Likewise.
15892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15893         <math_private.h>.
15894         (__nearbyintl): Use math_force_eval before restoring
15895         floating-point environment.
15896         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15898         * math/gen-libm-test.pl (special_functions): Remove.
15899         (parse_args): Don't handle TEST_extra.  Handle functions with no
15900         return value.
15901         * math/libm-test.inc (struct test_sincos_data): Replace with
15902         struct test_fFF_11_data.
15903         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15904         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15905         (sincos_test_data): Change element type to struct
15906         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
15907         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15908         RUN_TEST_LOOP_sincos.
15909         * math/README.libm-test: Don't mention special handling of
15910         individual functions.
15911         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15913         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15914         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15915         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15918         * math/gen-libm-test.pl (get_variable): Remove function.
15919         (parse_args): Don't show pointer parameters to call in test
15920         names.  Use "extra output N" in test names for extra outputs
15921         rather than naming variables.
15923 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15925         [BZ #15488]
15926         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15927         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15928         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15929         double tests.
15930         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15931         disable.
15932         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15933         check_long_double.
15935         * math/gen-libm-test.pl (@tests): Remove variable.
15936         ($count): Likewise.
15937         (new_test): Remove function.
15938         (show_exceptions): New function.
15939         (special_functions): Use show_exceptions instead of new_test.
15940         (parse_args): Likewise.
15941         (generate_testfile): Pass only function name in generated call to
15942         print_max_error or print_complex_max_error.
15943         (get_ulps): Do not handle complex tests specially.
15944         (output_test): Rename to ...
15945         (get_all_ulps_for_test): ... this.  Return a string rather than
15946         printing to a file.  Require ulps to be present.
15947         (output_ulps): Generate arrays rather than #defines.
15948         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15949         (struct ulp_data): New type.
15950         (BUILD_COMPLEX_ULP): Remove macro.
15951         (compare_ulp_data): New function.
15952         (find_ulps): Likewise.
15953         (find_test_ulps): Likewise.
15954         (find_function_ulps): Likewise.
15955         (find_complex_function_ulps): Likewise.
15956         (print_max_error): Determine allowed ulps using
15957         find_function_ulps.
15958         (print_complex_max_error): Determine allowed ulps using
15959         find_complex_function_ulps.
15960         (check_float_internal): Determine max ulps using find_test_ulps.
15961         (check_float): Do not take max_ulp parameter.  Update call to
15962         check_float_internal.
15963         (check_complex): Likewise.
15964         (check_int): Do not take max_ulp parameter.
15965         (check_long): Likewise.
15966         (check_bool): Likewise.
15967         (check_longlong): Likewise.
15968         (struct test_f_f_data): Remove max_ulp field.
15969         (struct test_ff_f_data): Likewise.
15970         (struct test_ff_f_data_nexttoward): Likewise.
15971         (struct test_fi_f_data): Likewise.
15972         (struct test_fl_f_data): Likewise.
15973         (struct test_if_f_data): Likewise.
15974         (struct test_fff_f_data): Likewise.
15975         (struct test_c_f_data): Likewise.
15976         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15977         (struct test_fF_f1_data): Likewise.
15978         (struct test_ffI_f1_data): Likewise.
15979         (struct test_c_c_data): Remove max_ulp field.
15980         (struct test_cc_c_data): Likewise.
15981         (struct test_f_i_data): Likewise.
15982         (struct test_ff_i_data): Likewise.
15983         (struct test_f_l_data): Likewise.
15984         (struct test_f_L_data): Likewise.
15985         (struct test_sincos_data): Likewise.
15986         (RUN_TEST_f_f): Do not handle ulps.
15987         (RUN_TEST_LOOP_f_f): Likewise.
15988         (RUN_TEST_2_f): Likewise.
15989         (RUN_TEST_LOOP_2_f): Likewise.
15990         (RUN_TEST_fff_f): Likewise.
15991         (RUN_TEST_LOOP_fff_f): Likewise.
15992         (RUN_TEST_c_f): Likewise.
15993         (RUN_TEST_LOOP_c_f): Likewise.
15994         (RUN_TEST_f_f1): Likewise.
15995         (RUN_TEST_LOOP_f_f1): Likewise.
15996         (RUN_TEST_fF_f1): Likewise.
15997         (RUN_TEST_LOOP_fF_f1): Likewise.
15998         (RUN_TEST_fI_f1): Likewise.
15999         (RUN_TEST_LOOP_fI_f1): Likewise.
16000         (RUN_TEST_ffI_f1): Likewise.
16001         (RUN_TEST_LOOP_ffI_f1): Likewise.
16002         (RUN_TEST_c_c): Likewise.
16003         (RUN_TEST_LOOP_c_c): Likewise.
16004         (RUN_TEST_cc_c): Likewise.
16005         (RUN_TEST_LOOP_cc_c): Likewise.
16006         (RUN_TEST_f_i): Likewise.
16007         (RUN_TEST_LOOP_f_i): Likewise.
16008         (RUN_TEST_f_i_tg): Likewise.
16009         (RUN_TEST_LOOP_f_i_tg): Likewise.
16010         (RUN_TEST_ff_i_tg): Likewise.
16011         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16012         (RUN_TEST_f_b): Likewise.
16013         (RUN_TEST_LOOP_f_b): Likewise.
16014         (RUN_TEST_f_b_tg): Likewise.
16015         (RUN_TEST_LOOP_f_b_tg): Likewise.
16016         (RUN_TEST_f_l): Likewise.
16017         (RUN_TEST_LOOP_f_l): Likewise.
16018         (RUN_TEST_f_L): Likewise.
16019         (RUN_TEST_LOOP_f_L): Likewise.
16020         (RUN_TEST_sincos): Likewise.
16021         (RUN_TEST_LOOP_sincos): Likewise.
16023 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16025         [BZ #15480]
16026         [BZ #15485]
16027         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16028         main case of finite arguments, set rounding mode to FE_TONEAREST
16029         and discard exceptions.
16030         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16031         exceptions.
16032         (remainder_tonearest_test_data): New variable.
16033         (remainder_test_tonearest): New function.
16034         (remainder_towardzero_test_data): New variable.
16035         (remainder_test_towardzero): New function.
16036         (remainder_downward_test_data): New variable.
16037         (remainder_test_downward): New function.
16038         (remainder_upward_test_data): New variable.
16039         (remainder_test_upward): New function.
16040         (main): Call the new test functions.
16042         * math/libm-test.inc (struct test_f_f1_data): Remove field
16043         extra_init.
16044         (struct test_fF_f1_data): Likewise.
16045         (struct test_ffI_f1_data): Likewise.
16046         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16047         based on value of EXTRA_EXPECTED.
16048         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16049         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16050         EXTRA_VAR based on value of EXTRA_EXPECTED.
16051         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16052         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16053         EXTRA_VAR based on value of EXTRA_EXPECTED.
16054         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16055         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16056         EXTRA_VAR based on value of EXTRA_EXPECTED.
16057         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16058         * math/gen-libm-test.pl (parse_args): Don't output initializers
16059         for extra output values.
16061         * math/libm-test.inc (check_int): Expect result to be exactly
16062         equal to expected value and do not handle ulps.
16063         (check_long): Likewise.
16064         (check_longlong): Likewise.
16066         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16067         exceptions.
16068         (cimag_test_data): Likewise.
16069         (conj_test_data): Likewise.
16070         (copysign_test_data): Likewise.
16071         (cproj_test_data): Likewise.
16072         (creal_test_data): Likewise.
16073         (fabs_test_data): Likewise.
16074         (fdim_test_data): Likewise.
16075         (finite_test_data): Likewise.
16076         (floor_test_data): Likewise.
16077         (fmax_test_data): Likewise.
16078         (fmin_test_data): Likewise.
16079         (fmod_test_data): Likewise.
16080         (fpclassify_test_data): Likewise.
16081         (frexp_test_data): Likewise.
16082         (ilogb_test_data): Likewise.
16083         (isfinite_test_data): Likewise.
16084         (isgreater_test_data): Likewise.
16085         (isgreaterequal_test_data): Likewise.
16086         (isinf_test_data): Likewise.
16087         (isless_test_data): Likewise.
16088         (islessequal_test_data): Likewise.
16089         (islessgreater_test_data): Likewise.
16090         (isnan_test_data): Likewise.
16091         (isnormal_test_data): Likewise.
16092         (issignaling_test_data): Likewise.
16093         (isunordered_test_data): Likewise.
16094         (ldexp_test_data): Likewise.
16095         (lrint_test_data): Likewise.
16096         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16097         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16098         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16099         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16100         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16101         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16102         test input.
16103         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16104         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16105         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16106         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16107         that test input.
16108         (lrint_downward_test_data): Test for "inexact" exceptions.
16109         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16110         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16111         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16112         test input.
16113         (lrint_upward_test_data): Test for "inexact" exceptions.
16114         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16115         test input.
16116         (llrint_test_data): Test for "inexact" exceptions.
16117         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16118         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16119         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16120         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16121         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16122         (llrint_downward_test_data): Test for "inexact" exceptions.
16123         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16124         (llrint_upward_test_data): Test for "inexact" exceptions.
16125         (logb_test_data): Likewise.
16126         (logb_downward_test_data): Likewise.
16127         (nextafter_test_data): Likewise.
16128         (nexttoward_test_data): Likewise.
16129         (remainder_test_data): Likewise.
16130         (remquo_test_data): Likewise.
16131         (scalbn_test_data): Likewise.
16132         (scalbln_test_data): Likewise.
16133         (signbit_test_data): Likewise.
16134         (sqrt_test_data): Likewise.
16135         (significand_test_data): Likewise.
16137 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16139         [BZ #15424]
16140         * benchtests/bench-modf.c (struct args): Mark arg0 as
16141         volatile.
16142         * scripts/bench.pl: Mark members of struct args as volatile.
16144 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16146         [BZ # 15497]
16147         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16148         negative infinity on POWER6 or lower.
16149         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16151 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16153         [BZ #15442]
16154         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16155         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16156         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16157         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16158         (_FP_SETQNAN): New macro.
16159         (_FP_SETQNAN_SEMIRAW): Likewise.
16160         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16161         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16162         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16163         (FP_EXTEND): Use _FP_FRAC_SNANP.
16164         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16165         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16166         into account.
16167         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16168         New macro.
16169         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16170         Likewise.
16172 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16174         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16175         with DIVIDE_BY_ZERO_EXCEPTION.
16176         (gamma_test_data): Likewise.
16177         (lgamma_test_data): Likewise.
16178         (log_test_data): Likewise.
16179         (log10_test_data): Likewise.
16180         (log2_test_data): Likewise.
16181         (tgamma_test_data): Likewise.
16183         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16184         (acos_test_tonearest): Likewise.
16185         (acos_test_towardzero): Likewise.
16186         (acos_test_downward): Likewise.
16187         (acos_test_upward): Likewise.
16188         (acosh_test): Likewise.
16189         (asin_test): Likewise.
16190         (asin_test_tonearest): Likewise.
16191         (asin_test_towardzero): Likewise.
16192         (asin_test_downward): Likewise.
16193         (asin_test_upward): Likewise.
16194         (asinh_test): Likewise.
16195         (atan_test): Likewise.
16196         (atanh_test): Likewise.
16197         (atan2_test): Likewise.
16198         (cabs_test): Likewise.
16199         (cacos_test): Likewise.
16200         (cacosh_test): Likewise.
16201         (casin_test): Likewise.
16202         (casinh_test): Likewise.
16203         (catan_test): Likewise.
16204         (catanh_test): Likewise.
16205         (cbrt_test): Likewise.
16206         (ccos_test): Likewise.
16207         (ccosh_test): Likewise.
16208         (cexp_test): Likewise.
16209         (clog_test): Likewise.
16210         (clog10_test): Likewise.
16211         (cos_test): Likewise.
16212         (cos_test_tonearest): Likewise.
16213         (cos_test_towardzero): Likewise.
16214         (cos_test_downward): Likewise.
16215         (cos_test_upward): Likewise.
16216         (cosh_test): Likewise.
16217         (cosh_test_tonearest): Likewise.
16218         (cosh_test_towardzero): Likewise.
16219         (cosh_test_downward): Likewise.
16220         (cosh_test_upward): Likewise.
16221         (cpow_test): Likewise.
16222         (csin_test): Likewise.
16223         (csinh_test): Likewise.
16224         (csqrt_test): Likewise.
16225         (ctan_test): Likewise.
16226         (ctan_test_tonearest): Likewise.
16227         (ctan_test_towardzero): Likewise.
16228         (ctan_test_downward): Likewise.
16229         (ctan_test_upward): Likewise.
16230         (ctanh_test): Likewise.
16231         (ctanh_test_tonearest): Likewise.
16232         (ctanh_test_towardzero): Likewise.
16233         (ctanh_test_downward): Likewise.
16234         (ctanh_test_upward): Likewise.
16235         (erf_test): Likewise.
16236         (erfc_test): Likewise.
16237         (exp_test): Likewise.
16238         (exp_test_tonearest): Likewise.
16239         (exp_test_towardzero): Likewise.
16240         (exp_test_downward): Likewise.
16241         (exp_test_upward): Likewise.
16242         (exp10_test): Likewise.
16243         (exp2_test): Likewise.
16244         (expm1_test): Likewise.
16245         (fmod_test): Likewise.
16246         (gamma_test): Likewise.
16247         (hypot_test): Likewise.
16248         (j0_test): Likewise.
16249         (j1_test): Likewise.
16250         (jn_test): Likewise.
16251         (lgamma_test): Likewise.
16252         (log_test): Likewise.
16253         (log10_test): Likewise.
16254         (log1p_test): Likewise.
16255         (log2_test): Likewise.
16256         (logb_test_downward): Likewise.
16257         (pow_test): Likewise.
16258         (pow_test_tonearest): Likewise.
16259         (pow_test_towardzero): Likewise.
16260         (pow_test_downward): Likewise.
16261         (pow_test_upward): Likewise.
16262         (remainder_test): Likewise.
16263         (remquo_test): Likewise.
16264         (sin_test): Likewise.
16265         (sin_test_tonearest): Likewise.
16266         (sin_test_towardzero): Likewise.
16267         (sin_test_downward): Likewise.
16268         (sin_test_upward): Likewise.
16269         (sincos_test): Likewise.
16270         (sinh_test): Likewise.
16271         (sinh_test_tonearest): Likewise.
16272         (sinh_test_towardzero): Likewise.
16273         (sinh_test_downward): Likewise.
16274         (sinh_test_upward): Likewise.
16275         (sqrt_test): Likewise.
16276         (tan_test): Likewise.
16277         (tan_test_tonearest): Likewise.
16278         (tan_test_towardzero): Likewise.
16279         (tan_test_downward): Likewise.
16280         (tan_test_upward): Likewise.
16281         (tanh_test): Likewise.
16282         (tgamma_test): Likewise.
16283         (y0_test): Likewise.
16284         (y1_test): Likewise.
16285         (yn_test): Likewise.
16287         * math/gen-libm-test.pl (adjust_arg): Remove function.
16288         (special_function): Remove argument $in_func.  Only handle
16289         generating output for tables of tests, not inside functions.
16290         (parse_args): Likewise.
16291         (generate_testfile): Remove variable $in_func.  Update call to
16292         parse_args.
16293         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16294         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16295         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16296         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16297         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16298         (MAX_VALUE_INIT): Rename macro to max_value.
16299         (MIN_VALUE_INIT): Rename macro to min_value.
16300         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16301         (plus_zero): Remove variable.
16302         (minus_zero): Likewise.
16303         (plus_infty): Likewise.
16304         (minus_infty): Likewise.
16305         (qnan_value): Likewise.
16306         (max_value): Likewise.
16307         (min_value): Likewise.
16308         (min_subnorm_value): Likewise.
16310 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16312         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16313         uint64_t or uint32_t usage.
16314         * crypt/sha256-block.c: Likewise.
16315         * crypt/sha256-crypt.c: Likewise.
16316         * crypt/sha256.c: Likewise.
16317         * crypt/sha512-block.c: Likewise.
16318         * crypt/sha512-crypt.c: Likewise.
16319         * crypt/sha512.c: Likewise.
16320         * debug/backtrace-tst.c: Likewise.
16321         * debug/pcprofiledump.c: Likewise.
16322         * elf/cache.c: Likewise.
16323         * elf/dl-cache.c: Likewise.
16324         * elf/dl-misc.c: Likewise.
16325         * elf/dl-profile.c: Likewise.
16326         * elf/dl-support.c: Likewise.
16327         * elf/ldconfig.c: Likewise.
16328         * elf/sprof.c: Likewise.
16329         * iconv/dummy-repertoire.c: Likewise.
16330         * iconv/iconv_charmap.c: Likewise.
16331         * iconv/skeleton.c: Likewise.
16332         * iconvdata/8bit-generic.c: Likewise.
16333         * iconvdata/cp737.h: Likewise.
16334         * iconvdata/cp775.h: Likewise.
16335         * iconvdata/ibm1008.h: Likewise.
16336         * iconvdata/ibm1025.h: Likewise.
16337         * iconvdata/ibm1046.h: Likewise.
16338         * iconvdata/ibm1097.h: Likewise.
16339         * iconvdata/ibm1112.h: Likewise.
16340         * iconvdata/ibm1122.h: Likewise.
16341         * iconvdata/ibm1123.h: Likewise.
16342         * iconvdata/ibm1124.h: Likewise.
16343         * iconvdata/ibm1129.h: Likewise.
16344         * iconvdata/ibm1130.h: Likewise.
16345         * iconvdata/ibm1132.h: Likewise.
16346         * iconvdata/ibm1133.h: Likewise.
16347         * iconvdata/ibm1137.h: Likewise.
16348         * iconvdata/ibm1140.h: Likewise.
16349         * iconvdata/ibm1141.h: Likewise.
16350         * iconvdata/ibm1142.h: Likewise.
16351         * iconvdata/ibm1143.h: Likewise.
16352         * iconvdata/ibm1144.h: Likewise.
16353         * iconvdata/ibm1145.h: Likewise.
16354         * iconvdata/ibm1146.h: Likewise.
16355         * iconvdata/ibm1147.h: Likewise.
16356         * iconvdata/ibm1148.h: Likewise.
16357         * iconvdata/ibm1149.h: Likewise.
16358         * iconvdata/ibm1153.h: Likewise.
16359         * iconvdata/ibm1154.h: Likewise.
16360         * iconvdata/ibm1155.h: Likewise.
16361         * iconvdata/ibm1156.h: Likewise.
16362         * iconvdata/ibm1157.h: Likewise.
16363         * iconvdata/ibm1158.h: Likewise.
16364         * iconvdata/ibm1160.h: Likewise.
16365         * iconvdata/ibm1161.h: Likewise.
16366         * iconvdata/ibm1162.h: Likewise.
16367         * iconvdata/ibm1163.h: Likewise.
16368         * iconvdata/ibm1164.h: Likewise.
16369         * iconvdata/ibm1166.h: Likewise.
16370         * iconvdata/ibm1167.h: Likewise.
16371         * iconvdata/ibm12712.h: Likewise.
16372         * iconvdata/ibm1390.h: Likewise.
16373         * iconvdata/ibm1399.h: Likewise.
16374         * iconvdata/ibm16804.h: Likewise.
16375         * iconvdata/ibm4517.h: Likewise.
16376         * iconvdata/ibm4899.h: Likewise.
16377         * iconvdata/ibm4909.h: Likewise.
16378         * iconvdata/ibm4971.h: Likewise.
16379         * iconvdata/ibm5347.h: Likewise.
16380         * iconvdata/ibm803.h: Likewise.
16381         * iconvdata/ibm856.h: Likewise.
16382         * iconvdata/ibm901.h: Likewise.
16383         * iconvdata/ibm902.h: Likewise.
16384         * iconvdata/ibm9030.h: Likewise.
16385         * iconvdata/ibm9066.h: Likewise.
16386         * iconvdata/ibm921.h: Likewise.
16387         * iconvdata/ibm922.h: Likewise.
16388         * iconvdata/ibm9448.h: Likewise.
16389         * iconvdata/isiri-3342.h: Likewise.
16390         * iconvdata/jis0201.h: Likewise.
16391         * include/link.h: Likewise.
16392         * include/netdb.h: Likewise.
16393         * inet/check_native.c: Likewise.
16394         * inet/check_pf.c: Likewise.
16395         * inet/getipv4sourcefilter.c: Likewise.
16396         * inet/getnameinfo.c: Likewise.
16397         * inet/getsourcefilter.c: Likewise.
16398         * inet/htonl.c: Likewise.
16399         * inet/setipv4sourcefilter.c: Likewise.
16400         * inet/setsourcefilter.c: Likewise.
16401         * inet/test-inet6_opt.c: Likewise.
16402         * inet/tst-network.c: Likewise.
16403         * locale/C-collate.c: Likewise.
16404         * locale/C-ctype.c: Likewise.
16405         * locale/C-time.c: Likewise.
16406         * locale/C-translit.h: Likewise.
16407         * locale/loadarchive.c: Likewise.
16408         * locale/programs/3level.h: Likewise.
16409         * locale/programs/charmap.c: Likewise.
16410         * locale/programs/charmap.h: Likewise.
16411         * locale/programs/ld-address.c: Likewise.
16412         * locale/programs/ld-collate.c: Likewise.
16413         * locale/programs/ld-ctype.c: Likewise.
16414         * locale/programs/ld-identification.c: Likewise.
16415         * locale/programs/ld-measurement.c: Likewise.
16416         * locale/programs/ld-messages.c: Likewise.
16417         * locale/programs/ld-monetary.c: Likewise.
16418         * locale/programs/ld-name.c: Likewise.
16419         * locale/programs/ld-numeric.c: Likewise.
16420         * locale/programs/ld-paper.c: Likewise.
16421         * locale/programs/ld-telephone.c: Likewise.
16422         * locale/programs/ld-time.c: Likewise.
16423         * locale/programs/linereader.c: Likewise.
16424         * locale/programs/locale.c: Likewise.
16425         * locale/programs/locarchive.c: Likewise.
16426         * locale/programs/locfile.h: Likewise.
16427         * locale/programs/repertoire.c: Likewise.
16428         * locale/programs/simple-hash.c: Likewise.
16429         * locale/programs/simple-hash.h: Likewise.
16430         * malloc/memusage.c: Likewise.
16431         * malloc/memusagestat.c: Likewise.
16432         * nis/nis_defaults.c: Likewise.
16433         * nis/nis_hash.c: Likewise.
16434         * nis/nis_print.c: Likewise.
16435         * nis/nis_xdr.c: Likewise.
16436         * nscd/connections.c: Likewise.
16437         * nscd/hstcache.c: Likewise.
16438         * nscd/nscd_gethst_r.c: Likewise.
16439         * nscd/nscd_getserv_r.c: Likewise.
16440         * nscd/nscd_helper.c: Likewise.
16441         * nscd/servicescache.c: Likewise.
16442         * nss/makedb.c: Likewise.
16443         * nss/nss_db/db-XXX.c: Likewise.
16444         * nss/nss_db/db-initgroups.c: Likewise.
16445         * nss/nss_db/db-netgrp.c: Likewise.
16446         * nss/nss_files/files-network.c: Likewise.
16447         * nss/nss_files/files-parse.c: Likewise.
16448         * posix/bug-regex5.c: Likewise.
16449         * posix/fnmatch_loop.c: Likewise.
16450         * posix/regcomp.c: Likewise.
16451         * posix/regexec.c: Likewise.
16452         * posix/tst-rfc3484-2.c: Likewise.
16453         * posix/tst-rfc3484-3.c: Likewise.
16454         * posix/tst-rfc3484.c: Likewise.
16455         * resolv/nss_dns/dns-canon.c: Likewise.
16456         * resolv/nss_dns/dns-network.c: Likewise.
16457         * resolv/res_init.c: Likewise.
16458         * resolv/res_mkquery.c: Likewise.
16459         * resolv/tst-aton.c: Likewise.
16460         * stdlib/cxa_atexit.c: Likewise.
16461         * stdlib/cxa_finalize.c: Likewise.
16462         * stdlib/gen-fpioconst.c: Likewise.
16463         * stdlib/strtol_l.c: Likewise.
16464         * string/tst-endian.c: Likewise.
16465         * sunrpc/auth_des.c: Likewise.
16466         * sunrpc/clnt_udp.c: Likewise.
16467         * sunrpc/rtime.c: Likewise.
16468         * sunrpc/svcauth_des.c: Likewise.
16469         * sunrpc/xdr.c: Likewise.
16470         * sunrpc/xdr_intXX_t.c: Likewise.
16471         * sunrpc/xdr_rec.c: Likewise.
16472         * sysdeps/generic/ldconfig.h: Likewise.
16473         * sysdeps/generic/ldsodefs.h: Likewise.
16474         * sysdeps/generic/memusage.h: Likewise.
16475         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16476         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16477         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16478         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16479         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16481         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16482         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16483         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16485         * sysdeps/posix/getaddrinfo.c: Likewise.
16486         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16487         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16488         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16489         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16490         * sysdeps/powerpc/test-gettimebase.c: Likewise.
16491         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16492         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16493         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16494         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16495         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16496         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16497         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16498         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16499         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16500         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16501         * sysdeps/x86_64/dl-tls.h: Likewise.
16502         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16503         * time/alt_digit.c: Likewise.
16504         * time/era.c: Likewise.
16505         * wcsmbs/tst-c16c32-1.c: Likewise.
16507 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16509         * math/libm-test.inc (struct test_sincos_data): New type.
16510         (RUN_TEST_LOOP_sincos): New macro.
16511         (sincos_test_data): New variable.
16512         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16514 2013-05-16  Richard Henderson  <rth@redhat.com>
16516         * math/atest-exp2.c (LIMB64): New macro.
16517         (CONSTSZ): New macro.
16518         (mp_exp1, mp_exp_m1, mp_log2): New variables.
16519         (hexdig): Move ...
16520         (print_mpn_fp): ... to function scope.
16521         (read_mpn_hex): Remove.
16522         (get_log2): Remove.
16523         (exp2_mpn): Use mp_log2.
16524         (main): Use mp_exp1.
16526 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16528         * math/libm-test.inc: Remove comment about not testing "inexact"
16529         exceptions.
16530         (INEXACT_EXCEPTION): New macro.
16531         (NO_INEXACT_EXCEPTION): Likewise.
16532         (INVALID_EXCEPTION_OK): Update value.
16533         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16534         (OVERFLOW_EXCEPTION_OK): Likewise.
16535         (UNDERFLOW_EXCEPTION_OK): Likewise.
16536         (IGNORE_ZERO_INF_SIGN): Likewise.
16537         (ERRNO_UNCHANGED): Likewise.
16538         (ERRNO_EDOM): Likewise.
16539         (ERRNO_ERANGE): Likewise.
16540         (test_exceptions): Handle testing "inexact" exceptions.
16541         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16542         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16543         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16544         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16545         INEXACT_EXCEPTION.
16546         (rint_towardzero_test_data): Likewise.
16547         (rint_downward_test_data): Likewise.
16548         (rint_upward_test_data): Likewise.
16550         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16551         with OVERFLOW_EXCEPTION.
16552         (exp10_test_data): Likewise.
16553         (exp2_test_data): Likewise.
16554         (expm1_test_data): Likewise.
16555         (lgamma_test_data): Likewise.
16556         (pow_test_data): Likewise.
16557         (tgamma_test_data): Likewise.
16558         (yn_test_data): Remove duplicate test of overflow.
16560         * math/libm-test.inc (struct test_cc_c_data): New type.
16561         (RUN_TEST_LOOP_cc_c): New macro.
16562         (cpow_test_data): New variable.
16563         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16565         * math/libm-test.inc (struct test_f_L_data): New type.
16566         (RUN_TEST_LOOP_f_L): New macro.
16567         (llrint_test_data): New variable.
16568         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16569         (llrint_tonearest_test_data): New variable.
16570         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16571         (llrint_towardzero_test_data): New variable.
16572         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16573         (llrint_downward_test_data): New variable.
16574         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16575         (llrint_upward_test_data): New variable.
16576         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16577         (llround_test_data): New variable.
16578         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16580 2013-05-13  Peter Collingbourne  <pcc@google.com>
16582         * math/atest-exp2.c (get_log2): Remove const attribute.
16584 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16586         * math/libm-test.inc (struct test_f_l_data): New type.
16587         (RUN_TEST_LOOP_f_l): New macro.
16588         (lrint_test_data): New variable.
16589         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16590         (lrint_tonearest_test_data): New variable.
16591         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16592         (lrint_towardzero_test_data): New variable.
16593         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16594         (lrint_downward_test_data): New variable.
16595         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16596         (lrint_upward_test_data): New variable.
16597         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16598         (lround_test_data): New variable.
16599         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16601 2013-05-15  Peter Collingbourne  <pcc@google.com>
16603         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16604         (EXTRACT_WORDS64) Use where appropriate.
16605         (INSERT_WORDS64) Likewise.
16607         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16608         constraints with x constraints.
16609         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16611         * malloc/obstack.c (_obstack_compat): Add initializer.
16613 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16615         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16616         si_trapno and add si_addr_lsb to _sifields.sigfault.
16617         (si_trapno): Remove macro.
16618         (si_addr_lsb): Define new macro.
16619         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16621 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16623         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16624         instead of TEST_f_l.
16625         (llrint_test_tonearest): Likewise.
16626         (llrint_test_towardzero): Likewise.
16627         (llrint_test_downward): Likewise.
16628         (llrint_test_upward): Likewise.
16629         (llround_test): Likewise.
16631         * math/libm-test.inc (struct test_f_i_data): Add comment.
16632         (RUN_TEST_LOOP_f_b): New macro.
16633         (RUN_TEST_LOOP_f_b_tg): Likewise.
16634         (finite_test_data): New variable.
16635         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16636         (isfinite_test_data): New variable.
16637         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16638         (isinf_test_data): New variable.
16639         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16640         (isnan_test_data): New variable.
16641         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16642         (isnormal_test_data): New variable.
16643         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16644         (issignaling_test_data): New variable.
16645         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16646         (signbit_test_data): New variable.
16647         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16649         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16650         with INVALID_EXCEPTION.
16651         (acosh_test_data): Likewise.
16652         (asin_test_data): Likewise.
16653         (atanh_test_data): Likewise.
16654         (fmod_test_data): Likewise.
16655         (log_test_data): Likewise.
16656         (log10_test_data): Likewise.
16657         (log2_test_data): Likewise.
16658         (pow_test_data): Likewise.
16659         (sqrt_test_data): Likewise.
16660         (y0_test_data): Likewise.
16661         (y1_test_data): Likewise.
16662         (yn_test_data): Likewise.
16664         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16665         function contents.
16667         * math/libm-test.inc (struct test_ff_i_data): New type.
16668         (RUN_TEST_LOOP_ff_i_tg): New macro.
16669         (isgreater_test_data): New variable.
16670         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16671         (isgreaterequal_test_data): New variable.
16672         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16673         (isless_test_data): New variable.
16674         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16675         (islessequal_test_data): New variable.
16676         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16677         (islessgreater_test_data): New variable.
16678         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16679         (isunordered_test_data): New variable.
16680         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16682 2013-05-14  David S. Miller  <davem@davemloft.net>
16684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16686 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16688         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16690         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16691         extra_test to int.
16692         (struct test_f_i_data): Change type of max_ulp to int.
16694         * math/libm-test.inc (test_ffI_f1_data): New type.
16695         (RUN_TEST_LOOP_ffI_f1): New macro.
16696         (remquo_test_data): New variable.
16697         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16699         * setjmp/tst-setjmp-fp.c: New file.
16700         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16701         (link-libm): New variable.
16702         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16704         * math/libm-test.inc (struct test_f_i_data): New type.
16705         (RUN_TEST_LOOP_f_i): New macro.
16706         (RUN_TEST_LOOP_f_i_tg): Likewise.
16707         (fpclassify_test_data): New variable.
16708         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16709         (ilogb_test_data): New variable.
16710         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16712         * math/libm-test.inc (scalbln_test): Correct function name in END
16713         call.
16715         * math/libm-test.inc (struct test_f_f1_data): Add comment.
16716         (RUN_TEST_LOOP_fI_f1): New macro.
16717         (frexp_test_data): New variable.
16718         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16720         * math/libm-test.inc (struct test_fF_f1_data): New type.
16721         (RUN_TEST_LOOP_fF_f1): New macro.
16722         (modf_test_data): New variable.
16723         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16725         * math/libm-test.inc (struct test_f_f1_data): New type.
16726         (RUN_TEST_LOOP_f_f1): New macro.
16727         (gamma_test_data): New variable.
16728         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16729         (lgamma_test_data): New variable.
16730         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16732 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
16734         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16735         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16736         (main): Comment "tls" pseudo-hwcap.
16738 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
16740         * math/libm-test.inc (struct test_fl_f_data): New type.
16741         (RUN_TEST_LOOP_fl_f): New variable.
16742         (scalbln_test_data): New variable.
16743         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16745         * math/libm-test.inc (struct test_fi_f_data): New type.
16746         (RUN_TEST_LOOP_fi_f): New macro.
16747         (ldexp_test_data): New variable.
16748         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16749         (scalbn_test_data): New variable.
16750         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16752         * math/libm-test.inc (struct test_c_f_data): New type.
16753         (RUN_TEST_LOOP_c_f): New macro.
16754         (cabs_test_data): New variable.
16755         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16756         (carg_test_data): New variable.
16757         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16758         (cimag_test_data): New variable.
16759         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16760         (creal_test_data): New variable.
16761         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16763         * math/libm-test.inc (struct test_if_f_data): New type.
16764         (RUN_TEST_LOOP_if_f): New macro.
16765         (jn_test_data): New variable.
16766         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16767         (yn_test_data): New variable.
16768         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16770         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16772 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16774         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16775         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16777 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16779         * benchtests/Makefile (CPPFLAGS-nonlib): Add
16780         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16781         (bench-deps): Add bench-timing.h.
16782         * benchtests-bench-skeleton.c: Include bench-timing.h.
16783         (main): Use TIMING_* macros instead of clock_gettime.
16784         * benchtests/bench-timing.h: New file.
16786         [BZ #14582]
16787         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16788         Renamed from _LIB_VERSION.
16789         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16791 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
16793         * math/libm-test.inc (struct test_fff_f_data): New type.
16794         (RUN_TEST_LOOP_fff_f): New macro.
16795         (fma_test_data): New variable.
16796         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16797         (fma_towardzero_test_data): New variable.
16798         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16799         (fma_downward_test_data): New variable.
16800         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16801         (fma_upward_test_data): New variable.
16802         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16804         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16805         (struct test_c_c_data): New type.
16806         (RUN_TEST_LOOP_c_c): New macro.
16807         (cacos_test_data): New variable.
16808         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16809         (cacosh_test_data): New variable.
16810         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16811         (casin_test_data): New variable.
16812         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16813         (casinh_test_data): New variable.
16814         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16815         (catan_test_data): New variable.
16816         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16817         (catanh_test_data): New variable.
16818         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16819         (ccos_test_data): New variable.
16820         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16821         (ccosh_test_data): New variable.
16822         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16823         (cexp_test_data): New variable.
16824         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16825         (clog_test_data): New variable.
16826         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16827         (clog10_test_data): New variable.
16828         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16829         (conj_test_data): New variable.
16830         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16831         (cproj_test_data): New variable.
16832         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16833         (csin_test_data): New variable.
16834         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16835         (csinh_test_data): New variable.
16836         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16837         (csqrt_test_data): New variable.
16838         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16839         (ctan_test_data): New variable.
16840         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16841         (ctan_tonearest_test_data): New variable.
16842         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16843         (ctan_towardzero_test_data): New variable.
16844         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16845         (ctan_downward_test_data): New variable.
16846         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16847         (ctan_upward_test_data): New variable.
16848         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16849         (ctanh_test_data): New variable.
16850         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16851         (ctanh_tonearest_test_data): New variable.
16852         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16853         (ctanh_towardzero_test_data): New variable.
16854         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16855         (ctanh_downward_test_data): New variable.
16856         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16857         (ctanh_upward_test_data): New variable.
16858         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16859         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16860         of BUILD_COMPLEX.
16862         * math/libm-test.inc (struct test_ff_f_data): New type.
16863         (struct test_ff_f_data_nexttoward): Likewise.
16864         (RUN_TEST_LOOP_2_f): New macro.
16865         (RUN_TEST_LOOP_ff_f): Likewise.
16866         (atan2_test_data): New variable.
16867         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16868         (copysign_test_data): New variable.
16869         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16870         (fdim_test_data): New variable.
16871         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16872         (fmax_test_data): New variable.
16873         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16874         (fmin_test_data): New variable.
16875         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16876         (fmod_test_data): New variable.
16877         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16878         (hypot_test_data): New variable.
16879         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16880         (nextafter_test_data): New variable.
16881         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16882         (nexttoward_test_data): New variable.
16883         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16884         (pow_test_data): New variable.
16885         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16886         (pow_tonearest_test_data): New variable.
16887         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16888         (pow_towardzero_test_data): New variable.
16889         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16890         (pow_downward_test_data): New variable.
16891         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16892         (pow_upward_test_data): New variable.
16893         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16894         (remainder_test_data): New variable.
16895         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16896         (scalb_test_data): New variable.
16897         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16898         * sysdeps/i386/fpu/libm-test-ulps: Update.
16900 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
16902         * math/libm-test.inc (fma_test): Use max_value instead of local
16903         variable fltmax.
16904         (nextafter_test): Likewise.
16906         * math/libm-test.inc (acos_towardzero_test_data): New variable.
16907         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16908         (acos_downward_test_data): New variable.
16909         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16910         (acos_upward_test_data): New variable.
16911         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16912         (acosh_test_data): New variable.
16913         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16914         (asin_test_data): New variable.
16915         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16916         (asin_tonearest_test_data): New variable.
16917         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16918         (asin_towardzero_test_data): New variable.
16919         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16920         (asin_downward_test_data): New variable.
16921         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16922         (asin_upward_test_data): New variable.
16923         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16924         (asinh_test_data): New variable.
16925         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16926         (atan_test_data): New variable.
16927         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16928         (atanh_test_data): New variable.
16929         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16930         (cbrt_test_data): New variable.
16931         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16932         (ceil_test_data): New variable.
16933         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16934         (cos_test_data): New variable.
16935         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16936         (cos_tonearest_test_data): New variable.
16937         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16938         (cos_towardzero_test_data): New variable.
16939         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16940         (cos_downward_test_data): New variable.
16941         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16942         (cos_upward_test_data): New variable.
16943         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16944         (cosh_test_data): New variable.
16945         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16946         (cosh_tonearest_test_data): New variable.
16947         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16948         (cosh_towardzero_test_data): New variable.
16949         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16950         (cosh_downward_test_data): New variable.
16951         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16952         (cosh_upward_test_data): New variable.
16953         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16954         (erf_test_data): New variable.
16955         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16956         (erfc_test_data): New variable.
16957         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16958         (exp_test_data): New variable.
16959         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16960         (exp_tonearest_test_data): New variable.
16961         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16962         (exp_towardzero_test_data): New variable.
16963         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16964         (exp_downward_test_data): New variable.
16965         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16966         (exp_upward_test_data): New variable.
16967         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16968         (exp10_test_data): New variable.
16969         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16970         (exp2_test_data): New variable.
16971         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16972         (expm1_test_data): New variable.
16973         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16974         (fabs_test_data): New variable.
16975         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16976         (floor_test_data): New variable.
16977         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16978         (j0_test_data): New variable.
16979         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16980         (j1_test_data): New variable.
16981         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16982         (log_test_data): New variable.
16983         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16984         (log10_test_data): New variable.
16985         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16986         (log1p_test_data): New variable.
16987         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16988         (log2_test_data): New variable.
16989         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16990         (logb_test_data): New variable.
16991         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16992         (logb_downward_test_data): New variable.
16993         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16994         (nearbyint_test_data): New variable.
16995         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16996         (rint_test_data): New variable.
16997         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16998         (rint_tonearest_test_data): New variable.
16999         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17000         (rint_towardzero_test_data): New variable.
17001         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17002         (rint_downward_test_data): New variable.
17003         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17004         (rint_upward_test_data): New variable.
17005         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17006         (round_test_data): New variable.
17007         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17008         (sin_test_data): New variable.
17009         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17010         (sin_tonearest_test_data): New variable.
17011         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17012         (sin_towardzero_test_data): New variable.
17013         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17014         (sin_downward_test_data): New variable.
17015         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17016         (sin_upward_test_data): New variable.
17017         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17018         (sinh_test_data): New variable.
17019         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17020         (sinh_tonearest_test_data): New variable.
17021         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17022         (sinh_towardzero_test_data): New variable.
17023         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17024         (sinh_downward_test_data): New variable.
17025         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17026         (sinh_upward_test_data): New variable.
17027         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17028         (sqrt_test_data): New variable.
17029         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17030         (tan_test_data): New variable.
17031         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17032         (tan_tonearest_test_data): New variable.
17033         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17034         (tan_towardzero_test_data): New variable.
17035         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17036         (tan_downward_test_data): New variable.
17037         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17038         (tan_upward_test_data): New variable.
17039         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17040         (tanh_test_data): New variable.
17041         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17042         (tgamma_test_data): New variable.
17043         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17044         (trunc_test_data): New variable.
17045         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17046         (y0_test_data): New variable.
17047         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17048         (y1_test_data): New variable.
17049         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17050         (significand_test_data): New variable.
17051         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17053 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17055         [BZ #12387]
17056         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17058 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17060         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17062 2013-05-10  Andreas Jaeger  <aj@suse.de>
17064         [BZ #15448]
17065         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17066         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17068 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17070         * math/gen-libm-test.pl (adjust_arg): New function.
17071         (special_functions): Handle generating output in both functions
17072         and arrays.
17073         (parse_args): Likewise.
17074         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17075         $in_func argument to parse_args.
17076         * math/libm-test.inc (struct test_f_f_data): New type.
17077         (IF_ROUND_INIT_): New macro.
17078         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17079         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17080         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17081         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17082         (ROUND_RESTORE_): Likewise.
17083         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17084         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17085         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17086         (ROUND_RESTORE_FE_UPWARD): Likewise.
17087         (RUN_TEST_LOOP_f_f): New macro.
17088         (acos_test_data): New variable.
17089         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17090         (acos_tonearest_test_data): New variable.
17091         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17093 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17095         * benchtests/bench-skeleton.c (startup): Fix coding style.
17097 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17099         [BZ #6809]
17100         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17101         negative infinity argument.
17102         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17103         negative infinity argument.
17104         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17105         negative infinity argument.
17106         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17107         domain errors.
17109 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17111         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17112         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17113         * iconv/iconv_prog.c (main): Likewise.
17114         * locale/programs/charmap-dir.c (charmap_readdir)
17115         (fopen_uncompressed): Likewise.
17116         * locale/programs/locfile.c (siblings_uncached)
17117         (write_locale_data): Use lstat64 instead of lstat.
17118         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17119         stat.
17121 2013-05-10  Andreas Jaeger  <aj@suse.de>
17123         [BZ #15395]
17124         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17125         localization.
17126         Include <locale.h>.
17128 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17130         * elf/dl-close.c (_dl_close_worker): Add comments.
17132 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17134         [BZ #15359]
17135         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17136         high part of pi/2.
17137         (__ieee754_rem_pio2l): Update comments.
17139         [BZ #15429]
17140         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17141         high part of pi/2.
17142         (__ieee754_rem_pio2l): Update comments.
17144         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17145         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17147         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17148         M_PI_4l.
17150         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17151         (M_PI_34_LOG10El): Likewise.
17152         (M_PI2_LOG10El): Likewise.
17153         (M_PI4_LOG10El): Likewise.
17154         (M_PI_LOG10El): Likewise.
17156 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17160 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17162         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17163         (MINUS_ZERO_INIT): Likewise.
17164         (PLUS_INFTY_INIT): Likewise.
17165         (MINUS_INFTY_INIT): Likewise.
17166         (QNAN_VALUE_INIT): Likewise.
17167         (MAX_VALUE_INIT): Likewise.
17168         (MIN_VALUE_INIT): Likewise.
17169         (MIN_SUBNORM_VALUE_INIT): Likewise.
17170         (plus_zero): Initialize with PLUS_ZERO_INIT.
17171         (minus_zero): Initialize with MINUS_ZERO_INIT.
17172         (plus_infty): Initialize with PLUS_INFTY_INIT.
17173         (minus_infty): Initialize with MINUS_INFTY_INIT.
17174         (qnan_value): Initialize with QNAN_VALUE_INIT.
17175         (max_value): Initialize with MAX_VALUE_INIT.
17176         (min_value): Initialize with MIN_VALUE_INIT.
17177         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17179         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17180         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17181         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17182         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17184         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17185         (RUN_TEST_2_f): Likewise.
17186         (RUN_TEST_ff_f): Likewise.
17187         (RUN_TEST_fi_f): Likewise.
17188         (RUN_TEST_fl_f): Likewise.
17189         (RUN_TEST_fff_f): Likewise.
17190         (RUN_TEST_c_f): Likewise.
17191         (RUN_TEST_f_f1): Likewise.
17192         (RUN_TEST_fF_f1): Likewise.
17193         (RUN_TEST_fI_f1): Likewise.
17194         (RUN_TEST_ffI_f1): Likewise.
17195         (RUN_TEST_c_c): Likewise.
17196         (RUN_TEST_cc_c): Likewise.
17197         (RUN_TEST_f_i): Likewise.
17198         (RUN_TEST_f_i_tg): Likewise.
17199         (RUN_TEST_ff_i_tg): Likewise.
17200         (RUN_TEST_f_b): Likewise.
17201         (RUN_TEST_f_b_tg): Likewise.
17202         (RUN_TEST_f_l): Likewise.
17203         (RUN_TEST_f_L): Likewise.
17204         (RUN_TEST_sincos): Likewise.
17205         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17206         whether to show exceptions.  Do not include ");\n" in return
17207         value.
17208         (special_functions): Output call to RUN_TEST_sincos instead of
17209         check_float calls.  Update calls to new_test.
17210         (parse_args): Output call to single RUN_TEST_* macro instead of
17211         check_* calls and other assignments.  Update calls to new_test.
17213         [BZ #2546]
17214         [BZ #2560]
17215         [BZ #5159]
17216         [BZ #15426]
17217         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17218         input to result for tgamma overflow.
17219         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17220         (gamma_coeff): New variable.
17221         (NCOEFF): New macro.
17222         (gamma_positive): New function.
17223         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17224         underflow here.  Use gamma_positive instead of exp (lgamma) for
17225         other arguments.
17226         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17227         (gamma_coeff): New variable.
17228         (NCOEFF): New macro.
17229         (gammaf_positive): New function.
17230         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17231         underflow here.  Use gamma_positive instead of exp (lgamma) for
17232         other arguments.
17233         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17234         (gamma_coeff): New variable.
17235         (NCOEFF): New macro.
17236         (gammal_positive): New function.
17237         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17238         underflow here.  Use gamma_positive instead of exp (lgamma) for
17239         other arguments.
17240         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17241         (gamma_coeff): New variable.
17242         (NCOEFF): New macro.
17243         (gammal_positive): New function.
17244         (__ieee754_gammal_r): Handle positive infinity, overflow and
17245         underflow here.  Handle NaN the same as positive infinity.  Remove
17246         check x < 0xffffffff for negative integers.  Use gamma_positive
17247         instead of exp (lgamma) for other arguments.
17248         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17249         (gamma_coeff): New variable.
17250         (NCOEFF): New macro.
17251         (gammal_positive): New function.
17252         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17253         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17254         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17255         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17256         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17257         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17258         * sysdeps/generic/math_private.h (__gamma_productf): New
17259         prototype.
17260         (__gamma_product): Likewise.
17261         (__gamma_productl): Likewise.
17262         * math/Makefile (libm-calls): Add gamma_product.
17263         * math/libm-test.inc (tgamma_test): Add more tests.
17264         * sysdeps/i386/fpu/libm-test-ulps: Update.
17265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17267 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17269         * benchtests/bench-skeleton.c (main): Preheat CPU.
17271 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17273         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17275 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17277         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17278         and _dl_skip_args_internal.
17280 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17282         * manual/message.texi (Message Translation): Talk about users.
17283         Message to key mapping impacts design.
17285 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17287         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17289         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17291         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17292         * sysdeps/wordsize-64/glob64.c: ... here.
17294         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17295         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17296         New macros.
17298         * debug/getlogin_r_chk.c: Moved to ...
17299         * login/getlogin_r_chk.c: ... here.
17300         * debug/Makefile (routines): Move getlogin_r_chk to ...
17301         * login/Makefile (routines): ... here.
17302         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17303         * login/Versions (libc: GLIBC_2.4): ... here.
17305         * io/poll.c (__poll): Renamed from poll.
17306         Add libc_hidden_def.
17307         (poll): Define as weak alias.
17309         * debug/ptsname_r_chk.c: Moved to ...
17310         * login/ptsname_r_chk.c: ... here.
17311         * debug/Makefile (routines): Move ptsname_r_chk to ...
17312         * login/Makefile (routines): ... here.
17313         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17314         * login/Versions (libc: GLIBC_2.4): ... here.
17316         * posix/getlogin.c: Moved to ...
17317         * login/getlogin.c: ... here.
17318         * posix/getlogin_r.c: Moved to ...
17319         * login/getlogin_r.c: ... here.
17320         * posix/getlogin_r.c: Moved to ...
17321         * login/getlogin_r.c: ... here.
17322         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17323         * login/Makefile (routines): ... here.
17324         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17325         * login/Versions (libc: GLIBC_2.0): ... here.
17327         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17328         (setrlimit): Define as weak alias.
17330         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17331         Call __ names for open, ftruncate, and close.
17332         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17333         (truncate): Define as weak alias.
17335 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17337         * math/gen-libm-test.pl (parse_args): Initialize x before each
17338         test of frexp, modf and remquo.
17340         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17341         test signgam value.
17343 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17345         [BZ #15418]
17346         [BZ #15419]
17347         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17348         internal tests.
17349         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17351 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17353         * elf/dl-writev.h: New file.
17354         * elf/dl-misc.c: Include it.
17355         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17356         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17358 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17360         * math/libm-test.inc (noXFails): Remove variable.
17361         (noXPasses): Likewise.
17362         (BUILD_COMPLEX_INT): Remove macro.
17363         (print_screen): Remove xfail argument.
17364         (print_screen_max_error): Likewise.
17365         (update_stats): Likewise.
17366         (print_max_error): Likewise.  Update calls to other affected
17367         functions.
17368         (print_complex_max_error): Likewise.
17369         (test_single_exception): Update calls to print_screen.
17370         (test_single_errno): Likewise.
17371         (check_float_internal): Remove xfail argument.  Update calls to
17372         other affected functions.
17373         (check_float): Likewise.
17374         (check_complex): Likewise.
17375         (check_int): Likewise.
17376         (check_long): Likewise.
17377         (check_bool): Likewise.
17378         (check_longlong): Likewise.
17379         (main): Don't print noXFails and noXPasses.
17380         * math/gen-libm-test.pl (top level): Don't mention expected
17381         failure handling in comment.
17382         (new_test): Don't handle expected failures.
17383         (parse_args): Don't mention expected failure handling in comment.
17384         (generate_testfile): Don't handle expected failures.
17385         (parse_ulps): Likewise.
17386         (print_ulps_file): Likewise.
17387         (get_failure): Remove function.
17388         (output_test): Don't handle expected failures.
17389         * make/README.libm-test: Don't mention expected failure handling.
17391         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17392         (minus_zero): Likewise.
17393         (plus_infty): Likewise.
17394         (minus_infty): Likewise.
17395         (qnan_value): Likewise.
17396         (max_value): Likewise.
17397         (min_value): Likewise.
17398         (min_subnorm_value): Likewise.
17399         (initialize): Do not initialize those variables dynamically.
17401 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17403         * io/open.c (__open_2): Moved to ...
17404         * io/open_2.c: ... this new file.
17405         * io/open64.c (__open64_2): Moved to ...
17406         * io/open64_2.c: ... this new file.
17407         * io/openat.c (__openat_2): Moved to ...
17408         * io/openat_2.c: ... this new file.
17409         * io/openat64.c (__openat64_2): Moved to ...
17410         * io/openat64_2.c: ... this new file.
17411         * io/Makefile (routines): Add them.
17412         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17413         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17414         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17415         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17416         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17417         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17418         (__openat64): Add hidden_ver.
17419         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17420         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17422         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17423         Separately conditionalize setting of GLRO(dl_sysinfo) so
17424         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17425         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17427 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17429         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17430         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17431         definition.
17432         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17433         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17434         (_libc_vdso_platform_setup): Add __vdso_time initialization.
17435         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17436         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17438 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
17440         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17441         test signgam value.
17443         * math/libm-test.inc (hypot_test): Do not use
17444         IGNORE_ZERO_INF_SIGN.
17446 2013-05-03  Andreas Jaeger  <aj@suse.de>
17448         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17449         Linux 3.9.
17450         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17451         (PF_MAX): Adjust for VSOCK change.
17453 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17457 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
17459         [BZ #15264]
17460         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17461         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17462         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17464 2013-05-02  David S. Miller  <davem@davemloft.net>
17466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17468 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17470         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17472 2013-05-01  Roland McGrath  <roland@hack.frob.com>
17474         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17476 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17478         [BZ #14952]
17479         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17480         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17481         Use __attribute__ ((__gnu_inline__)).
17482         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17483         Don't use __attribute__ ((__gnu_inline__)).
17485 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
17487         [BZ #15423]
17488         * math/s_catan.c (__catan): Handle small real or imaginary part of
17489         input specially to avoid spurious underflow.
17490         * math/s_catanf.c (__catanf): Likewise.
17491         * math/s_catanh.c (__catanh): Likewise.
17492         * math/s_catanhf.c (__catanhf): Likewise.
17493         * math/s_catanhl.c (__catanhl): Likewise.
17494         * math/s_catanl.c (__catanl): Likewise.
17495         * math/libm-test.inc (catan_test): Add more tests.
17496         (catanh_test): Likewise.
17497         * sysdeps/i386/fpu/libm-test-ulps: Update.
17498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17500 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17504 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
17506         [BZ #15416]
17507         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17508         accurately for denominator in atan2.
17509         * math/s_catanf.c (__catanf): Likewise.
17510         * math/s_catanh.c (__catanh): Likewise.
17511         * math/s_catanhf.c (__catanhf): Likewise.
17512         * math/s_catanhl.c (__catanhl): Likewise.
17513         * math/s_catanl.c (__catanl): Likewise.
17514         * math/libm-test.inc (catan_test): Add more tests.
17515         (catanh_test): Likewise.
17516         * sysdeps/i386/fpu/libm-test-ulps: Update.
17517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17519 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17523         * benchtests/Makefile (bench): Remove slow benchmarks.
17524         * benchtests/atan-inputs: Add slow benchmark inputs.
17525         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17526         (BENCH_FUNC): Accept variant offset.
17527         (VARIANT): Define.
17528         * benchtests/bench-skeleton.c (main): Run benchmark for each
17529         variant.
17530         * benchtests/cos-inputs: Add slow benchmark inputs.
17531         * benchtests/exp-inputs: Likewise.
17532         * benchtests/pow-inputs: Likewise.
17533         * benchtests/sin-inputs: Likewise.
17534         * benchtests/slowatan-inputs: Remove.
17535         * benchtests/slowatan.c: Remove.
17536         * benchtests/slowcos-inputs: Remove.
17537         * benchtests/slowcos.c: Remove.
17538         * benchtests/slowexp-inputs: Remove.
17539         * benchtests/slowexp.c: Remove.
17540         * benchtests/slowpow-inputs: Remove.
17541         * benchtests/slowpow.c: Remove.
17542         * benchtests/slowsin-inputs: Remove.
17543         * benchtests/slowsin.c: Remove.
17544         * benchtests/slowtan-inputs: Remove.
17545         * benchtests/slowtan.c: Remove.
17546         * benchtests/tan-inputs: Add slow benchmark inputs.
17547         * scripts/bench.pl: Parse comments and directives.
17549         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
17550         in CPPFLAGS.
17551         ($(objpfx)bench-%.c): Remove *-ITER.
17552         * benchtests/bench-modf.c: Remove definition of ITER.
17553         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17554         (main): Loop for DURATION seconds instead of fixed number of
17555         iterations.
17556         * scripts/bench.pl: Don't expect iterations in parameters.
17558 2013-04-29  Roland McGrath  <roland@hack.frob.com>
17560         * io/fchdir.c (__fchdir): Renamed from fchdir.
17561         (fchdir): Define as weak alias.
17563 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17565         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17566         (ERRNO_EDOM): Likewise.
17567         (ERRNO_ERANGE): Likewise.
17568         (noErrnoTests): New variable.
17569         (init_max_error): Set errno to 0.
17570         (test_single_errno): New function.
17571         (test_errno): Likewise.
17572         (check_float_internal): Call test_errno.  Set errno to 0.
17573         (check_complex): Refer to errno tests in comment.
17574         (check_int): Call test_errno.  Set errno to 0.
17575         (check_long): Likewise.
17576         (check_bool): Likewise.
17577         (check_longlong): Likewise.
17578         (cos_test): Use ERRNO_* flags for errno tests instead of
17579         check_int.
17580         (expm1_test): Likewise.
17581         (fmod_test): Likewise.
17582         (ilogb_test): Likewise.
17583         (lgamma_test): Likewise.
17584         (pow_test): Likewise.
17585         (remainder_test): Likewise.
17586         (sin_test): Likewise.
17587         (tan_test): Likewise.
17588         (yn_test): Likewise.
17589         (initialize): Set errno to 0.
17590         (main): Print number of errno tests.
17591         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17593 2013-04-29  Andreas Jaeger  <aj@suse.de>
17595         [BZ #15084]
17596         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17597         and RES_USEVC.
17599         [BZ #15085]
17600         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17601         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17602         unimplemented.
17604         [BZ #15380]
17605         * stdlib/random.c (__initstate): Return NULL if
17606         __initstate fails.
17608         [BZ #15086]
17609         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17610         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17611         RES_SNGLKUPREOP.
17613 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17617 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17619         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17620         of individual tests.
17621         (casin_test): Likewise.
17622         (casinh_test): Likewise.
17624 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17626         [BZ #15409]
17627         * math/s_catan.c (__catan): Handle arguments with large real or
17628         imaginary part separately without squaring.
17629         * math/s_catanf.c (__catanf): Likewise.
17630         * math/s_catanh.c (__catanh): Likewise.
17631         * math/s_catanhf.c (__catanhf): Likewise.
17632         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17633         and redefine.
17634         (__catanhl): Handle arguments with large real or imaginary part
17635         separately without squaring.
17636         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17637         and redefine.
17638         (__catanl): Handle arguments with large real or imaginary part
17639         separately without squaring.
17640         * math/libm-test.inc (catan_test): Add more tests.
17641         (catanh_test): Likewise.
17642         * sysdeps/i386/fpu/libm-test-ulps: Update.
17643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17645 2013-04-27  Andreas Jaeger  <aj@suse.de>
17647         [BZ #15007]
17648         * stdlib/stdlib.h: Update guards for qecvt.
17649         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17650         <stdlib.h>.
17652 2013-04-27  Allan McRae  <allan@archlinux.org>
17654         * sysdeps/i386/fpu/libm-test-ulps: Update.
17656 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17658         [BZ #15406]
17659         * math/s_catan.c: Include <float.h>.
17660         (__catan): Ensure underflow exception occurs for underflowed
17661         result.
17662         * math/s_catanf.c: Include <float.h>.
17663         (__catanf): Ensure underflow exception occurs for underflowed
17664         result.
17665         * math/s_catanh.c: Include <float.h>.
17666         (__catanh): Ensure underflow exception occurs for underflowed
17667         result.
17668         * math/s_catanhf.c: Include <float.h>.
17669         (__catanhf): Ensure underflow exception occurs for underflowed
17670         result.
17671         * math/s_catanhl.c: Include <float.h>.
17672         (__catanhl): Ensure underflow exception occurs for underflowed
17673         result.
17674         * math/s_catanl.c: Include <float.h>.
17675         (__catanl): Ensure underflow exception occurs for underflowed
17676         result.
17677         * math/libm-test.inc (catan_test): Add more tests.
17678         (catanh_test): Likewise.
17680         [BZ #15405]
17681         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17682         underflowed result.
17683         * math/s_ccoshf.c (__ccoshf): Likewise.
17684         * math/s_ccoshl.c (__ccoshl): Likewise.
17685         * math/s_csin.c (__csin): Likewise.
17686         * math/s_csinf.c (__csinf): Likewise.
17687         * math/s_csinh.c (__csinh): Likewise.
17688         * math/s_csinhf.c (__csinhf): Likewise.
17689         * math/s_csinhl.c (__csinhl): Likewise.
17690         * math/s_csinl.c (__csinl): Likewise.
17691         * math/libm-test.inc (ccos_test): Add more tests.
17692         (ccosh_test): Likewise.
17693         (csin_test): Likewise.
17694         (csinh_test): Likewise.
17696 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17698         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17699         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17700         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17701         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17702         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17703         powerpc/power5+/fpu folders.
17704         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17707 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17711 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
17713         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17714         additions to variable.
17715         [$(config-machine) = x86_64] (modules-names): Likewise.
17716         ($(objpfx)tst-audit3): Remove dependency.
17717         ($(objpfx)tst-audit3.out): Likewise.
17718         ($(objpfx)tst-audit4): Likewise.
17719         ($(objpfx)tst-audit4.out): Likewise.
17720         ($(objpfx)tst-audit5): Likewise.
17721         ($(objpfx)tst-audit5.out): Likewise.
17722         ($(objpfx)tst-audit6): Likewise.
17723         ($(objpfx)tst-audit6.out): Likewise.
17724         ($(objpfx)tst-audit7): Likewise.
17725         ($(objpfx)tst-audit7.out): Likewise.
17726         (tst-audit3-ENV): Remove variable.
17727         (tst-audit4-ENV): Likewise.
17728         (tst-audit5-ENV): Likewise.
17729         (tst-audit6-ENV): Likewise.
17730         (tst-audit7-ENV): Likewise.
17731         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17732         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17733         addition to variable.
17734         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17735         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17739         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17740         tst-audit3, tst-audit4 and tst-audit5.
17741         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17742         tst-audit6 and tst-audit7.
17743         [$(subdir) = elf] (modules-names): Add audit modules for those
17744         tests.
17745         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17746         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17747         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17748         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17749         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17750         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17751         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17752         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17753         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17754         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17755         [$(subdir) = elf] (tst-audit3-ENV): New variable.
17756         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17757         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17758         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17759         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17760         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17761         Likewise.
17762         [$(subdir) = elf && $(config-cflags-avx) = yes]
17763         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17764         [$(subdir) = elf && $(config-cflags-avx) = yes]
17765         (CFLAGS-tst-auditmod4a.c): Likewise.
17766         [$(subdir) = elf && $(config-cflags-avx) = yes]
17767         (CFLAGS-tst-auditmod4b.c): Likewise.
17768         [$(subdir) = elf && $(config-cflags-avx) = yes]
17769         (CFLAGS-tst-auditmod6b.c): Likewise.
17770         [$(subdir) = elf && $(config-cflags-avx) = yes]
17771         (CFLAGS-tst-auditmod6c.c): Likewise.
17772         [$(subdir) = elf && $(config-cflags-avx) = yes]
17773         (CFLAGS-tst-auditmod7b.c): Likewise.
17774         * elf/tst-audit3.c: Move to ...
17775         * sysdeps/x86_64/tst-audit3.c: ... here.
17776         * elf/tst-audit4.c: Move to ...
17777         * sysdeps/x86_64/tst-audit4.c: ... here.
17778         * elf/tst-audit5.c: Move to ...
17779         * sysdeps/x86_64/tst-audit5.c: ... here.
17780         * elf/tst-audit6.c: Move to ...
17781         * sysdeps/x86_64/tst-audit6.c: ... here.
17782         * elf/tst-audit7.c: Move to ...
17783         * sysdeps/x86_64/tst-audit7.c: ... here.
17784         * elf/tst-auditmod3a.c: Move to ...
17785         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17786         * elf/tst-auditmod3b.c: Move to ...
17787         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17788         * elf/tst-auditmod4a.c: Move to ...
17789         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17790         * elf/tst-auditmod4b.c: Move to ...
17791         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17792         * elf/tst-auditmod5a.c: Move to ...
17793         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17794         * elf/tst-auditmod5b.c: Move to ...
17795         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17796         * elf/tst-auditmod6a.c: Move to ...
17797         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17798         * elf/tst-auditmod6b.c: Move to ...
17799         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17800         * elf/tst-auditmod6c.c: Move to ...
17801         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17802         * elf/tst-auditmod7a.c: Move to ...
17803         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17804         * elf/tst-auditmod7b.c: Move to ...
17805         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17807 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
17809         [BZ #15366]
17810         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17811         define unconditionally.
17812         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17813         define unconditionally.
17814         (INT8_C, INT16_C, etc.): Likewise.
17816 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
17818         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17819         __ehdr_start with hidden visibility.
17821         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17823 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
17825         * math/libm-test.inc (cos_test): Use accurate hex constants.
17826         (sincost_test): Likewise.
17828 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
17830         * math/libm-test.inc (catan_test): Add more tests.
17831         (catanh_test): Likewise.
17833         * math/s_catanf.c (__catanf): Use suffixed floating-point
17834         constants.
17835         * math/s_catanhf.c (__catanhf): Likewise.
17836         * math/s_catanhl.c (__catanhl): Likewise.
17837         * math/s_catanl.c (__catanl): Likewise.
17839         [BZ #15394]
17840         * math/s_catan.c (__catan): Calculate imaginary part of result
17841         with log1p not log unless computing log of number close to 0.
17842         * math/s_catanf.c (__catanf): Likewise.
17843         * math/s_catanl.c (__catanl): Likewise.
17844         * math/s_catanh.c (__catanh): Calculate real part of result with
17845         log1p not log unless computing log of number close to 0.
17846         * math/s_catanhf.c (__catanhf): Likewise.
17847         * math/s_catanhl.c (__catanhl): Likewise.
17848         * math/libm-test.inc (catan_test): Add more tests.
17849         (catanh_test): Likewise.
17850         * sysdeps/i386/fpu/libm-test-ulps: Update.
17851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17853 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17855         * benchtests/Makefile: Mention files in which fast and slow
17856         paths of math functions are implemented.
17858 2013-04-23  Roland McGrath  <roland@hack.frob.com>
17860         * sysdeps/posix/timespec_get.c: New file.
17862 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17864         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17865         POWER.
17866         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17867         for POWER.
17868         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17869         powerpc/power5/fpu folders.
17870         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17871         * benchtests/Makefile: Add modf testcase.
17872         * benchtests/bench-modf.c: New file: Benchmark test for mo
17874 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17876         [BZ #14888]
17877         * time/Makefile (tests): Add tst-strptime-whitespace.
17878         * time/strptime_l.c (get_number): Use ISSPACE.
17879         (__strptime_internal): Likewise.
17880         * time/tst-strptime-whitespace.c: New test case.
17882 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
17884         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17885         member.
17886         (_nss_files_init): Set it here.
17888 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17890         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17891         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17892         unsigned.
17894 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
17896         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17898 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17901         size just once.
17903 2013-04-21  David S. Miller  <davem@davemloft.net>
17905         * po/ru.po: Update Russion translation from translation project.
17907 2013-04-17  Adam Conrad  <adconrad@0c3.net>
17909         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17910         and setfsgid.
17912 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17914         * configure.in: Remove i386 configure warning. Remove i386 case.
17915         * configure: Regenerate.
17916         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17917         Add example to error message.
17918         * sysdeps/i386/configure: Regenerate.
17920 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17922         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17923         slowtan.
17924         * benchtests/cos-inputs: New file.
17925         * benchtests/slowcos-inputs: New file.
17926         * benchtests/slowcos.c: New file.
17927         * benchtests/slowtan-inputs: New file.
17928         * benchtests/slowtan.c: New file.
17929         * benchtests/tan-inputs: New file.
17931 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17933         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17934         considered kosher.
17936 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17938         * benchtests/Makefile: Include cppflags-iterator.mk to add
17939         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17941         * Makefile.in (bench-clean): New target.
17942         * benchtests/Makefile (bench-clean): Likewise.
17944 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17946         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17948 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17950         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17952 2013-04-15  Andreas Schwab  <schwab@suse.de>
17954         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17956         * nscd/pwdcache.c (cache_addpw): Likewise.
17957         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17958         more than recsize.
17960 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17962         * benchtests/Makefile (bench): Write all output to
17963         bench-out.tmp together.
17965 2013-04-15  Andreas Schwab  <schwab@suse.de>
17967         * nscd/nscd.c (main): Don't fork again after closing files.
17969 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17971         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17973         * benchtests/Rules (bench-deps): Collect dependencies into a
17974         single variable.  Add Makefile to dependencies.
17975         ($(objpfx)bench-%.c): Depend on bench-deps.
17977 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17978             Xavier Roche  <roche+kml2@exalead.com>
17980         [BZ #15361]
17981         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17982         just that it's a file descriptor.
17983         * manual/llio.texi (Synchronizing AIO Operations): Update description
17984         for EBADF error from aio_fsync.
17986 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17988         * Rules (bench): Move target definition...
17989         * benchtests/Makefile: ... here.
17991 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17993         * math/libm-test.inc (cos_test): Fix PI/2 test.
17994         (sincos_test): Likewise.
17995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17996         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17998 2013-04-11  Andreas Schwab  <schwab@suse.de>
18000         [BZ #13988]
18001         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18002         accept exponent character only when digits were seen.
18003         * stdio-common/Makefile (tests): Add bug26.
18004         * stdio-common/bug26.c: New file.
18006         [BZ #14293]
18007         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18008         non-freeable.
18010 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18012         * Makeconfig (rtld-prefix): Define built linker prefix.
18013         * Rules (run-bench): Use it.
18014         * math/Makefile (run-regen-ulps): Likewise.
18016         * Rules (bench): Remove eval.
18018 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18019             Roland McGrath  <roland@hack.frob.com>
18020             Ondrej Bilka  <neleai@seznam.cz>
18022         [BZ #15346]
18023         * time/getdate.c: Include ctype.h and alloca.h.
18024         (__getdate_r): Trim leading and trailing spaces of input.
18025         * time/tst-getdate.c (tests): Add tests with leading and
18026         trailing spaces.
18028 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18030         [BZ #14280]
18031         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18032         when computing value.
18034 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18036         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18037         Use testrun.sh to run libm tests.
18039         [BZ #15309]
18040         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18042 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18044         [BZ #15264]
18045         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18047 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18049         * Makefile.in (regen-ulps): New target.
18050         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18051         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18052         [ifneq (no,$(PERL)] (regen-ulps): New target.
18053         [ifeq (no,$(PERL)] (regen-ulps): New target.
18054         * math/libm-test.inc (ulps_file_name): Define.
18055         (output_dir): New variable.
18056         (options): Add "output-dir" option.
18057         (parse_opt): Handle 'o' case.
18058         (main): If output_dir is non-NULL use it as a prefix
18059         otherwise use "".
18060         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18062 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18064         [BZ #10060, #10062]
18065         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18066         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18067         fail configure if __sync_val_compare_and_swap is not inlined.
18068         * sysdeps/i386/configure: Regenerate.
18069         * configure.in: Build for i686 when configured for i386.
18070         * configure: Regenerate.
18071         * README: Remove i386 reference.
18073 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18075         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18078 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18080         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18081         (lmsnanval): New variables.
18082         (F): Add conversion tests.
18083         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18084         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18086         * stdio-common/tstdiomisc.c (F): Properly collect individual
18087         tests' results.
18089         [BZ #14686, #15336]
18090         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18091         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18092         Instead, use input NaN values or generate a qNaN by arithmetic
18093         operation.  Also fix bugs to comply with the standard.
18094         * math/libm-test.inc (remainder_test): Add more tests.
18096         [BZ #15335, #15342]
18097         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18098         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18099         input NaN values or generate a qNaN by arithmetic operation.
18101         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18102         unreachable code.
18104         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18105         definitions.
18107 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18109         [BZ #14478]
18110         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18111         underflowed result.
18112         * math/s_cexpf.c (__cexpf): Likewise.
18113         * math/s_cexpl.c (__cexpl): Likewise.
18114         * math/libm-test.inc (cexp_test): Add more tests.
18116 2013-04-03  Andreas Schwab  <schwab@suse.de>
18118         [BZ #15330]
18119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18120         order arrays from heap if bigger than alloca cutoff.
18122 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18124         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18125         (SNAN_TESTS_double): Refer to GCC PR56831.
18126         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18127         GCC PR56828.
18129 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18131         * Rules (bench): Move bench.out after the run is complete.
18133         * Rules (bench): Echo currently running benchmark.
18135         * benchtests/Makefile (bench): Add atan and slowatan.
18136         * benchtests/atan-inputs: New file.
18137         * benchtests/slowatan-inputs: New file.
18138         * benchtests/slowatan.c: New file.
18140         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18141         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18142         its value.
18144         [BZ #15305]
18145         * sysdeps/unix/sysv/linux/kernel-features.h
18146         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18147         __ASSUME_XFS_RESTRICTED_CHOWN.
18148         * sysdeps/unix/sysv/linux/pathconf.c
18149         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18150         Save and restore errno.
18152 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18154         [BZ #15327]
18155         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18156         arguments using __kernel_casinh.
18157         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18158         arguments using __kernel_casinhf.
18159         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18160         arguments using __kernel_casinhl.
18161         * math/libm-test.inc (cacosh_test): Add more tests.
18162         * sysdeps/i386/fpu/libm-test-ulps: Update.
18163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18165 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18167         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18170         * bench/Makefile (bench): Add sin and slowsin.
18171         * benchtests/sin-inputs: New file.
18172         * benchtests/slowsin-inputs: New file.
18173         * benchtests/slowsin.c: New file.
18175         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18176         (bench): Add slowexp and slowpow.
18177         (exp-ITER): Increase iterations.
18178         (pow-ITER): Likewise.
18179         * benchtests/exp-inputs: Change input.
18180         * benchtests/pow-inputs: Likewise.
18181         * benchtests/slowexp-inputs: New file.
18182         * benchtests/slowexp.c: New file.
18183         * benchtests/slowpow-inputs: New file.
18184         * benchtests/slowpow.c: New file.
18186 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18188         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18189         instructions.
18190         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18191         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18192         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18193         * benchtests/Makefile: Add rint benchtest.
18194         * benchtests/rint-inputs: Input for rint benchtest.
18196 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18198         * Versions.def (libm): Add GLIBC_2.18.
18199         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18200         hidden libm prototypes.
18201         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18202         * math/Makefile (libm-calls): Add s_issignaling.
18203         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18204         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18205         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18206         declaration.
18207         * math/math.h [__USE_GNU] (issignaling): New macro.
18208         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18209         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18210         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18211         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18212         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18213         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18214         * manual/arith.texi (issignaling): New section.
18215         * manual/libm-err-tab.pl (@all_functions): Update comment.
18216         * math/gen-libm-test.pl (parse_args): Apply special handling for
18217         issignaling.
18218         * math/libm-test.inc (print_float, issignaling_test): New
18219         functions.
18220         (check_float_internal): Add issignaling checks.
18221         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18222         default definition.
18223         * sysdeps/powerpc/math-tests.h: New file.
18224         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18225         tests.
18226         * math/test-snan.c (TEST_FUNC): Likewise.
18228 2013-03-30  David S. Miller  <davem@davemloft.net>
18230         * po/de.po: Update from translation team.
18232 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18234         [BZ #10357]
18235         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18236         imaginary part less than 1.0 and real part less than 0.5
18237         specially.
18238         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18239         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18240         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18241         (cacos_test): Add more tests.
18242         (casin_test): Likewise.
18243         (casinh_test): Likewise.
18244         * sysdeps/i386/fpu/libm-test-ulps: Update.
18245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18247 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18249         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18250         ONE with its value.
18252         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18253         (__pow_mp): Replace ONE and MONE with their values.
18254         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18255         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18256         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18257         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18258         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18259         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18261         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18263         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18264         (__pow_mp): Replace ZERO and MZERO with their values.
18265         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18266         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18267         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18268         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18269         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18270         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18271         (__sqr): Likewise.
18273         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18275         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18277 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18279         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18280         Declare with __attribute__ ((weak)).
18281         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18282         Call __call_tls_dtors only if it's not NULL.
18284 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18286         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18287         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18288         magic __ehdr_start linker symbol if it's defined.
18289         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18290         them up here if it was already done.
18292         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18293         (_dl_aux_init): Use const in cast when setting it.
18294         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18295         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18296         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18298         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18299         Declare them here.
18300         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18301         * csu/libc-tls.c: Nor here.
18302         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18304         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18305         (__libc_message): Never call vsyslog.
18307 2013-03-28  Alan Modra  <amodra@gmail.com>
18309         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18310         Define as empty.
18311         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18312         Likewise.
18314 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18316         [BZ #15214]
18317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18318         underflow.
18319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18321 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18323         [BZ #15304]
18324         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18325         Don't add gid passed as argument.
18327         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18329 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18331         [BZ #15307]
18332         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18333         imaginary part between 1.0 and 1.5 and real part less than 0.5
18334         specially.
18335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18337         * math/libm-test.inc (cacos_test): Add more tests.
18338         (casin_test): Likewise.
18339         (casinh_test): Likewise.
18340         * sysdeps/i386/fpu/libm-test-ulps: Update.
18341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18343 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18345         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18346         constants.
18347         (norm): Likewise.
18348         (denorm): Likewise.
18349         (__dbl_mp): Likewise.
18350         (add_magnitudes): Likewise.
18351         (sub_magnitudes): Likewise.
18352         (__add): Likewise.
18353         (__sub): Likewise.
18354         (__mul): Likewise.
18355         (__sqr): Likewise.
18356         (__inv): Likewise.
18357         (__dvd): Likewise.
18359         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18360         commented code.
18361         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18362         (__dubcos): Likewise.
18363         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18364         (__ieee754_acos): Likewise.
18365         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18366         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18367         (__exp1): Likewise.
18368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18370         (log1): Likewise.
18371         (my_log2): Likewise.
18372         (checkint): Likewise.
18373         * sysdeps/ieee754/dbl-64/e_remainder.c
18374         (__ieee754_remainder): Likewise.
18375         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18377         (bsloww): Likewise.
18378         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18380         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18381         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18382         MANTISSA_STORE_T to store computations on mantissa.  Use
18383         macros for rounding and division.
18384         (denorm): Likewise.
18385         (__dbl_mp): Likewise.
18386         (add_magnitudes): Likewise.
18387         (sub_magnitudes): Likewise.
18388         (__mul): Likewise.
18389         (__sqr): Likewise.
18390         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18391         powers of two in terms of TWOPOW macro.
18392         (mp_no): Make type of mantissa as MANTISSA_T.
18393         [!RADIXI]: Define RADIXI.
18394         [!TWO52]: Define TWO52.
18395         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18397 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18399         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18400         llroundl symbol when building for PPC32.
18402 2013-03-24  Mark H Weaver  <mhw@netris.org>
18404         * manual/arith.texi (Normalization Functions): Fix prototypes for
18405         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18407 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18409         [BZ #13889]
18410         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18411         high value to check if expl overflow.
18412         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18413         to check for underflow and overflow.
18414         * math/libm-test.inc: Add exp test.
18416 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18418         [BZ #11120]
18419         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18420         with NOT_IN_libc.
18422 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18424         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18425         symbol.
18427 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18429         * math/gen-libm-test.pl (parse_args, special_functions): Properly
18430         wrap blocks consisting of several statements.
18432         * sysdeps/generic/math-tests.h: New file.
18433         * sysdeps/i386/fpu/math-tests.h: Likewise.
18434         * math/test-snan.c: Include it.
18435         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18437 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18439         [BZ #15285]
18440         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18441         (__ieee754_j0l): Do not improve calculations using cos of twice
18442         input for inputs above LDBL_MAX / 2.0L.
18443         (__ieee754_y0l): Likewise.
18444         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18445         (__ieee754_j1l): Do not improve calculations using cos of twice
18446         input for inputs above LDBL_MAX / 2.0L.
18447         (__ieee754_y1l): Likewise.
18448         * math/libm-test.inc (j0_test): Add another test.
18449         (j1_test): Likewise.
18450         (y0_test): Likewise.
18451         (y1_test): Likewise.
18452         * sysdeps/i386/fpu/libm-test-ulps: Update.
18454 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18456         * Rules ($(objpfx)bench-%.c): Include code from a C source
18457         file.
18459 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18461         [BZ #15287]
18462         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18463         imaginary part 1.0 and real part less than 0.5 specially.
18464         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18465         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18466         * math/libm-test.inc (cacos_test): Add more tests.
18467         (casin_test): Likewise.
18468         (casinh_test): Likewise.
18469         * sysdeps/i386/fpu/libm-test-ulps: Update.
18470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18472 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18474         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18475         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18477 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18479         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18480         * config.make.in (config-cflags-sse4): Remove variable.
18481         (config-cflags-avx): Likewise.
18482         (config-cflags-sse2avx): Likewise.
18483         (config-cflags-novzeroupper): Likewise.
18484         (config-asflags-i686): Likewise.
18485         (have-mfma4): Likewise.
18486         (have-as-vis3): Likewise.
18487         (MIG): Likewise.
18488         * configure.in (MIG): Do not AC_SUBST.
18489         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18490         (libc_cv_cc_sse4): Do not AC_SUBST.
18491         (libc_cv_cc_avx): Likewise.
18492         (libc_cv_cc_sse2avx): Likewise.
18493         (libc_cv_cc_novzeroupper): Likewise.
18494         (libc_cv_cc_fma4): Likewise.
18495         (libc_cv_as_i686): Likewise.
18496         (libc_cv_sparc_as_vis3): Likewise.
18497         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18498         LIBC_CONFIG_VAR.
18499         (config-asflags-i686): Likewise.
18500         (config-cflags-avx): Likewise.
18501         (config-cflags-sse2avx): Likewise.
18502         (have-mfma4): Likewise.
18503         (config-cflags-novzeroupper): Likewise.
18504         * sysdeps/mach/configure.in (MIG): Likewise.
18505         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18506         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18507         LIBC_CONFIG_VAR.
18508         (config-cflags-avx): Likewise.
18509         (config-cflags-sse2avx): Likewise.
18510         (have-mfma4): Likewise.
18511         (config-cflags-novzeroupper): Likewise.
18512         * configure: Regenerated.
18513         * sysdeps/i386/configure: Likewise.
18514         * sysdeps/mach/configure: Likewise.
18515         * sysdeps/sparc/configure: Likewise.
18516         * sysdeps/x86_64/configure: Likewise.
18518 2013-03-20  Roland McGrath  <roland@hack.frob.com>
18520         [BZ #14812]
18521         * locale/programs/localedef.c (options): Put N_ translation marker
18522         on argument names, not just descriptions.
18524 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18526         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18528 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
18530         [BZ #14176]
18531         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18533 2013-03-19  Roland McGrath  <roland@hack.frob.com>
18535         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18536         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18537         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18538         [!BEFORE_ABORT] (before_abort): New function.
18539         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18540         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18541         (writev_for_fatal): New function.
18542         (WRITEV_FOR_FATAL): New macro; call that.
18543         (backtrace_and_maps): New function.
18544         (BEFORE_ABORT): New macro; call that.
18545         (struct str_list): Type removed.
18546         (__libc_message, __libc_fatal): Functions removed.
18547         Include <sysdeps/posix/libc_fatal.c> instead.
18549 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
18551         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18552         constants.
18553         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18554         double constants.
18556 2013-03-19  Andreas Schwab  <schwab@suse.de>
18558         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18559         * sysdeps/gnu/configure: Regenerate.
18561         * configure.in: Substitute libc_cv_rtlddir.
18562         * configure: Regenerate.
18563         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18564         * Makeconfig (rtlddir, inst_rtlddir): New variables.
18565         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18566         * elf/Makefile (install-others, CFLAGS-interp.c)
18567         (ldso_install, common-ldd-rewrite): Likewise.
18568         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18569         $(inst_slibdir)/$(rtld-installed-name).
18570         * scripts/rellns-sh: Add -p option.
18571         * Makerules (make-shlib-link): Use rellns-sh to get relative name
18572         for source.
18574 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18576         * manual/nptl.texi: Renamed to ...
18577         * manual/threads.texi: ... this.
18578         * manual/Makefile (chapters): Update.
18580 2013-03-18  Roland McGrath  <roland@hack.frob.com>
18582         [BZ #14812]
18583         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18584         on argument names, not just descriptions.
18585         * malloc/memusagestat.c (options): Likewise.
18586         * nss/getent.c (options): Likewise.
18588 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18590         [BZ #14812]
18591         * iconv/iconv_prog.c (options): Put N_ translation marker
18592         on argument names, not just descriptions.
18593         * iconv/iconvconfig.c (options): Likewise.
18595 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18597         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18598         implementation which is faster on all x86_64 architectures.
18599         Tested on AMD, Intel Nehalem, SNB, IVB.
18600         * sysdeps/x86_64/strnlen.S: Likewise.
18602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18603         Remove all multiarch strlen and strnlen versions.
18604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18605         Remove strlen and strnlen related parts.
18607         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18608         Inline strlen part.
18609         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18611         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18612         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18613         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18614         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18615         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18616         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18618 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18620         * manual/memory.texi (Malloc Tunable Parameters):
18621         Sort parameters alphabetically. Add comments for missing entries.
18623 2013-03-17  David S. Miller  <davem@davemloft.net>
18625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18627 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18629         [BZ #15283]
18630         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18631         for arguments at most half maximum finite value.
18632         * math/libm-test.inc (j0_test): Add more tests.
18633         (j1_test): Likewise.
18634         (y0_test): Likewise.
18635         (y1_test): Likewise.
18636         * sysdeps/i386/fpu/libm-test-ulps: Update.
18637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18639         [BZ #14155]
18640         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18641         1 / x and functions P and Q for arguments above 0x1p256L.
18642         (__ieee754_y0l): Likewise.
18643         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18644         (__ieee754_y1l): Likewise.
18645         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18646         (j1_test): Likewise.
18647         (y0_test): Likewise.
18648         (y1_test): Likewise.
18650 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18652         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18653         variable.
18655 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18657         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18658         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18659         zero since it's initialized to EXEC_PAGESIZE.
18661         * sysdeps/unix/sysv/linux/ldsodefs.h
18662         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18663         * sysdeps/generic/ldsodefs.h: ... here.
18665 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18667         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18669         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18670         math/test-snan.c.
18671         * math/test-snan.c: Renamed from
18672         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18673         * math/Makefile (tests): Add test-snan.
18674         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18675         test-powerpc-snan.
18677         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18678         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18679         functions.
18680         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18681         __builtin_nan family of functions.
18682         * math/libm-test.inc (initialize): Initialize qnan_value with
18683         __builtin_nan family of functions.
18684         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18685         Remove variables.
18686         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18687         Remove functions.
18688         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18689         storage class.  Initialize qNaN_var and sNaN_var with
18690         __builtin_nan and __builtin_nans families of functions,
18691         respectively.
18693         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18694         (sqrt_test): Remove duplicate test with qNaN input.
18695         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18696         (round_test, signbit_test, significand_test): Note missing +/-Inf
18697         as well as qNaN tests.
18699         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18700         qNaN_var.  Fix a few strings, too.
18701         * math/libm-test.inc (nan_value): Rename to qnan_value.
18702         * math/gen-libm-test.pl (%beautify): Adjust to that.
18703         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18704         * math/test-misc.c (main): Likewise.
18705         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18706         to __qnan_bytes, and __qnan_union, respectively.
18707         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18708         Likewise.
18709         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18710         and lqnanval, respectively.
18711         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18712         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18713         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18714         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18716         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18717         * math/test-misc.c (main) [__x86_64__]: Enable test for long
18718         doubles.
18720         * math/test-misc.c (main): Fix copy'n'pastos.
18721         * misc/tst-efgcvt.c (special): Likewise.
18723         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18724         Remove declarations.
18726 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18728         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18729         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18730         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18731         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18733 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18735         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18736         macro to return vdso values correctly in IFUNC implementations.
18737         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18738         Optimization by using IFUNC.
18740 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18741             Richard Henderson  <rth@redhat.com>
18742             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18744         * Makefile.in (bench): New target.
18745         * NEWS: Mention the benchmark framework.
18746         * Rules (bench): Likewise.
18747         (binaries-bench): Generate binaries for functions to
18748         benchmark.
18749         * benchtests/Makefile: New makefile for benchmark tests.
18750         * benchtests/bench-skeleton.c: New skeleton file for benchmark
18751         programs.
18752         * benchtests/exp-inputs: New input file for EXP function.
18753         * benchtests/pow-inputs: New input file for POW function.
18754         * scripts/bench.pl: New script to generate source files for
18755         benchmark programs.
18757 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18759         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18760         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18761         computations on mantissa.  Use macros for rounding and
18762         division.
18763         (denorm): Likewise.
18764         (__dbl_mp): Likewise.
18765         (add_magnitudes): Likewise.
18766         (sub_magnitudes): Likewise.
18767         (__mul): Likewise.
18768         (__sqr): Likewise.
18769         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18770         powers of two in terms of TWOPOW macro.
18771         (mp_no): Make type of mantissa as MANTISSA_T.
18772         [!RADIXI]: Define RADIXI.
18773         [!TWO52]: Define TWO52.
18774         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18776         * manual/nptl.texi (cindex): Modify threads to pthreads.
18778 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
18780         * sysdeps/x86_64/preconfigure: Regenerated.
18782 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
18784         [BZ #14155]
18785         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18786         0x1p28 and above.
18787         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18788         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18789         0x1p28 and above.
18790         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18791         * math/libm-test.inc (j0_test): Do not allow one spurious
18792         underflow exception.
18793         (y1_test): Likewise.
18795 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18797         * manual/Makefile (chapters): Add nptl.
18798         * manual/debug.texi (Debugging Support): Add link to Threads
18799         chapter.
18800         * manual/nptl.texi: New file.
18802         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18804 2013-03-14  Petr Baudis  <pasky@ucw.cz>
18806         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18807         for non-NULL pointer before the memory validity test. Pointed
18808         out by Holger Brunck <holger.brunck@keymile.com>.
18810 2013-03-13  Andreas Schwab  <schwab@suse.de>
18812         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18813         instead of .os.
18815 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
18817         * timezone/zic.c: Update from tzcode 2013b.
18819 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
18821         * manual/install.texi (Configuring and compiling):
18822         Mention i686 and i586.
18823         * INSTALL: Regenerate.
18825 2013-03-12  Roland McGrath  <roland@hack.frob.com>
18827         * sysdeps/init_array/elf-init.c: New file.
18828         * csu/elf-init.c
18829         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18830         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18832         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18833         __gmon_start__ as global, but as static with a .preinit_array pointer.
18834         * sysdeps/init_array/gmon-start.c: New file.  Use that.
18835         * sysdeps/init_array/crti.S: New file, empty except for comments.
18836         * sysdeps/init_array/crtn.S: Likewise.
18838 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
18840         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18841         definining bcopy.
18842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18843         Remove Prefer_SSE_for_memop.
18844         * sysdeps/x86_64/multiarch/init-arch.h: Remove
18845         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18846         HAS_PREFER_SSE_FOR_MEMOP.
18847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18848         memset-x86-64.
18849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18850         Remove bzero, memset ifunc support.
18851         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18852         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18853         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18854         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18856 2013-03-11  Andreas Schwab  <schwab@suse.de>
18858         [BZ #15234]
18859         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18860         by SHLIB_COMPAT.
18861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18862         (GLIBC_2.16): Remove pthread_atfork.
18864 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18866         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18867         (ptestcases.h): Likewise.
18869 2013-03-08  Roland McGrath  <roland@hack.frob.com>
18871         * Makeconfig ($(common-objpfx)config.status): Depend on
18872         sysdeps/*/preconfigure{,.in} too.
18874 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
18876         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18877         (__free_hook): Use void * instead of __malloc_ptr_t.
18878         (__malloc_hook): Likewise.
18879         (__realloc_hook): Likewise.
18880         (__memalign_hook): Likewise.
18881         (__after_morecore_hook): Likewise.
18882         * malloc/arena.c (save_malloc_hook): Likewise.
18883         (save_free_hook): Likewise.
18884         * malloc/hooks.c (malloc_hook_ini): Likewise.
18885         (realloc_hook_ini): Likewise.
18886         (memalign_hook_ini): Likewise.
18887         * malloc/malloc.c (malloc_hook_ini): Likewise.
18888         (realloc_hook_ini): Likewise.
18889         (memalign_hook_ini): Likewise.
18890         (__free_hook): Likewise.
18891         (__malloc_hook): Likewise.
18892         (__realloc_hook): Likewise.
18893         (__memalign_hook): Likewise.
18894         (__libc_malloc): Likewise.
18895         (__libc_free): Likewise.
18896         (__libc_realloc): Likewise.
18897         (__libc_memalign): Likewise.
18898         (__libc_valloc): Likewise.
18899         (__libc_pvalloc): Likewise.
18900         (__libc_calloc): Likewise.
18901         (__posix_memalign): Likewise.
18902         * malloc/morecore.c (__sbrk): Likewise.
18903         (__default_morecore): Likewise.
18905         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18907         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18908         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18909         __malloc_ptrdiff_t.
18911         * malloc/malloc.h (__malloc_size_t): Remove macro.
18912         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18913         __malloc_size_t.
18914         (old_memalign_hook): Likewise.
18915         (old_realloc_hook): Likewise.
18916         (struct hdr): Likewise.
18917         (flood): Likewise.
18918         (mallochook): Likewise.
18919         (memalignhook): Likewise.
18920         (reallochook): Likewise.
18921         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18922         (tr_old_realloc_hook): Likewise.
18923         (tr_old_memalign_hook): Likewise.
18924         (tr_mallochook): Likewise.
18925         (tr_reallochook): Likewise.
18926         (tr_memalignhook): Likewise.
18928 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18931         default_ldbl_pack and using as default implementation.
18932         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18933         implementation.
18934         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18935         redundant definition.
18936         (ldbl_insert_mantissa): Likewise.
18937         (ldbl_canonicalize): Likewise.
18938         (ldbl_nearbyint): Likewise.
18939         (ldbl_pack): Rename to ldbl_pack_ppc.
18940         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18941         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18942         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18944 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18947         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18948         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18949         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18951         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18952         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18953         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18955 2013-03-07  Andreas Jaeger  <aj@suse.de>
18957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18958         bits/mman-linux.h.
18960 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18962         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18963         Include mpa.h and declare __MPEXP.
18964         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18965         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18966         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18967         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18968         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18969         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18970         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18972         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18973         (__slowpow): Use long double EXPL and LOGL functions to
18974         compute POW.
18975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18976         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18977         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18979         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18980         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18983         intermediate variable to calculate exponent.
18984         (__sqr): Likewise.
18985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18986         Likewise.
18987         (__sqr): Likewise.
18989         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18990         [!NO__SQR]: Define __sqr.
18991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18992         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18993         sysdeps/ieee754/dbl-64/mpa.c.
18994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18996         [BZ #12723]
18997         * posix/Makefile (tests): Add tst-pathconf.
18998         * posix/tst-pathconf.c: New test case.
18999         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19000         _PC_PIPE_BUF.
19001         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19003 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19005         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19007 2013-03-06  Andreas Jaeger  <aj@suse.de>
19009         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19010         definition via __MAP_ANONYMOUS.
19012         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19013         it's not part of Linux headers.
19015         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19016         (MAP_HUGE_MASK): Define.
19018         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19019         Define.
19020         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19021         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19022         Define.
19023         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19024         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19025         Define.
19026         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19027         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19028         Define.
19029         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19031         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19032         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19033         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19034         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19035         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19036         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19038         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19039         Handle f2fs.
19041         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19042         Handle f2fs and efivarfs.
19044         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19045         f2fs.
19047         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19048         (EFIVARFS_MAGIC): Add.
19049         (F2FS_LINK_MAX): Add.
19051 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19053         * stdio-common/vfprintf.c: Replace __builtin_expect with
19054         __glibc_unlikely.
19056 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19058         [BZ #13550]
19059         * sysdeps/generic/bp-sym.h: Remove file.
19060         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19061         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19062         <bp-sym.h> and <bp-asm.h>.
19063         (__longjmp): Don't use BP_SYM.
19064         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19065         and <bp-asm.h>.
19066         (memcpy): Don't use BP_SYM.
19067         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19068         <bp-sym.h> and <bp-asm.h>.
19069         (memcpy): Don't use BP_SYM.
19070         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19071         <bp-asm.h>.
19072         (memcpy): Don't use BP_SYM.
19073         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19074         <bp-asm.h>.
19075         (memset): Don't use BP_SYM.
19076         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19077         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19078         (__bzero): Don't use BP_SYM.
19079         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19080         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19081         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19082         <bp-sym.h> and <bp-asm.h>.
19083         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19084         pointers.
19085         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19086         <bp-sym.h> and <bp-asm.h>.
19087         (memcpy): Don't use BP_SYM.
19088         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19089         <bp-sym.h> and <bp-asm.h>.
19090         (memset): Don't use BP_SYM.
19091         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19092         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19093         (__bzero): Don't use BP_SYM.
19094         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19095         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19096         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19097         <bp-sym.h> and <bp-asm.h>.
19098         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19099         pointers.
19100         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19101         <bp-sym.h> and <bp-asm.h>.
19102         (memcpy): Don't use BP_SYM.
19103         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19104         <bp-sym.h> and <bp-asm.h>.
19105         (memset): Don't use BP_SYM.
19106         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19107         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19108         (__bzero): Don't use BP_SYM.
19109         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19110         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19111         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19112         <bp-sym.h> and <bp-asm.h>.
19113         (__memchr): Don't use BP_SYM.
19114         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19115         <bp-sym.h> and <bp-asm.h>.
19116         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19117         pointers.
19118         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19119         <bp-sym.h> and <bp-asm.h>.
19120         (memcpy): Don't use BP_SYM.
19121         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19122         <bp-sym.h> and <bp-asm.h>.
19123         (__mempcpy): Don't use BP_SYM.
19124         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19125         <bp-sym.h> and <bp-asm.h>.
19126         (__memrchr): Don't use BP_SYM.
19127         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19128         <bp-sym.h> and <bp-asm.h>.
19129         (memset): Don't use BP_SYM.
19130         (__bzero): Likewise.
19131         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19132         <bp-sym.h> and <bp-asm.h>.
19133         (__rawmemchr): Don't use BP_SYM.
19134         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19135         <bp-sym.h> and <bp-asm.h>.
19136         (__STRCMP): Don't use BP_SYM.
19137         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19138         <bp-sym.h> and <bp-asm.h>.
19139         (strchr): Don't use BP_SYM.
19140         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19141         <bp-sym.h> and <bp-asm.h>.
19142         (__strchrnul): Don't use BP_SYM.
19143         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19144         <bp-sym.h> and <bp-asm.h>.
19145         (strlen): Don't use BP_SYM.
19146         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19147         <bp-sym.h> and <bp-asm.h>.
19148         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19149         pointers.
19150         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19151         <bp-sym.h> and <bp-asm.h>.
19152         (__strnlen): Don't use BP_SYM.
19153         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19154         <bp-sym.h> and <bp-asm.h>.
19155         (__GI__setjmp): Don't use BP_SYM.
19156         (_setjmp): Likewise.
19157         (__sigsetjmp): Likewise.
19158         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19159         (L(start_addresses)): Don't use BP_SYM.
19160         (_start): Likewise.
19161         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19162         <bp-asm.h>.
19163         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19164         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19165         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19166         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19167         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19168         <bp-asm.h>.
19169         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19170         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19171         about bounded pointers.
19172         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19173         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19174         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19175         <bp-asm.h>.
19176         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19177         about bounded pointers.  Remove GKM FIXME comments.
19178         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19179         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19180         <bp-asm.h>.
19181         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19182         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19183         Remove GKM FIXME comments.
19184         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19185         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19186         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19187         <bp-asm.h>.
19188         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19189         about bounded pointers.  Remove GKM FIXME comment.
19190         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19191         and <bp-asm.h>.
19192         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19193         pointers.
19194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19195         <bp-sym.h> and <bp-asm.h>.
19196         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19198         <bp-sym.h> and <bp-asm.h>.
19199         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19200         comment.
19202 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19204         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19205         call free(NULL).
19207 2013-03-05  David S. Miller  <davem@davemloft.net>
19209         * po/es.po: Update from translation team.
19211 2013-03-05  Andreas Jaeger  <aj@suse.de>
19213         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19214         <bits/mman-linux.h>.
19215         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19216         is fine.
19217         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19218         <bits/mman-linux.h> to end of file.
19219         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19220         is fine.
19221         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19222         <bits/mman-linux.h> to end of file.
19223         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19224         is fine.
19225         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19226         <bits/mman-linux.h> to end of file.
19228         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19229         (MCL_CURRENT, MCL_FUTURE): Define here.
19231 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19233         [BZ #15232]
19234         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19235         attribute_hidden.
19236         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19238 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19241         fourth parameter needed for rt_sigprocmask syscall.
19242         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19243         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19244         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19245         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19246         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19247         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19249 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19251         [BZ #13550]
19252         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19253         comment about bounded pointers.
19254         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19255         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19257 2013-03-04  Andreas Jaeger  <aj@suse.de>
19259         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19260         common definitions.
19262         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19263         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19264         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19265         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19266         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19269 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19271         [BZ #15055]
19272         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19273         __ieee754_sqrl instead of __sqrl.
19275 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19277         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19278         * sysdeps/powerpc/fpu_control.h: ... here.
19279         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19280         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19281         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19282         * sysdeps/powerpc/bits/mathinline.h: ... here.
19284 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19286         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19287         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19288         to just [NEED_DL_SYSINFO_DSO].
19289         * elf/dl-support.c: Likewise.
19290         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19291         * elf/rtld.c (dl_main): Likewise.
19292         * elf/setup-vdso.h (setup_vdso): Likewise.
19293         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19294         * sysdeps/unix/sysv/linux/dl-sysdep.c
19295         (_dl_discover_osversion): Likewise.
19297 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19299         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19300         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19302 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19304         * NEWS: Mention libm performance improvements and non-x86 PI
19305         futex support.
19307         * csu/libc-start.c (__pthread_initialize_minimal): Change
19308         function arguments.
19309         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19311 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19313         [BZ #13550]
19314         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19315         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19316         <bp-sym.h> and <bp-asm.h>.
19317         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19318         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19319         and <bp-asm.h>.
19320         (memcpy): Don't use BP_SYM.
19321         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19322         <bp-asm.h>.
19323         (__mpn_add_n): Don't use BP_SYM.
19324         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19325         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19326         and <bp-asm.h>.
19327         (__mpn_addmul_1): Don't use BP_SYM.
19328         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19329         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19330         <bp-sym.h>.
19331         (_setjmp): Don't use BP_SYM.
19332         (__novmx_setjmp): Likewise.
19333         (__GI__setjmp): Likewise.
19334         (__vmx_setjmp): Likewise.
19335         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19336         <bp-sym.h>.
19337         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19338         (__bzero): Don't use BP_SYM.
19339         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19340         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19341         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19342         <bp-sym.h> and <bp-asm.h>.
19343         (memcpy): Don't use BP_SYM.
19344         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19345         <bp-sym.h> and <bp-asm.h>.
19346         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19348         <bp-sym.h> and <bp-asm.h>.
19349         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19350         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19351         <bp-asm.h>.
19352         (__mpn_lshift): Don't use BP_SYM.
19353         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19354         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19355         <bp-asm.h>.
19356         (memset): Don't use BP_SYM.
19357         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19358         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19359         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19360         <bp-asm.h>.
19361         (__mpn_mul_1): Don't use BP_SYM.
19362         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19364         <bp-sym.h> and <bp-asm.h>.
19365         (memcmp): Don't use BP_SYM.
19366         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19367         <bp-sym.h> and <bp-asm.h>.
19368         (memcpy): Don't use BP_SYM.
19369         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19370         <bp-sym.h> and <bp-asm.h>.
19371         (memset): Don't use BP_SYM.
19372         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19373         <bp-sym.h> and <bp-asm.h>.
19374         (strncmp): Don't use BP_SYM.
19375         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19376         <bp-sym.h> and <bp-asm.h>.
19377         (memcpy): Don't use BP_SYM.
19378         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19379         <bp-sym.h> and <bp-asm.h>.
19380         (memset): Don't use BP_SYM.
19381         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19382         <bp-sym.h> and <bp-asm.h>.
19383         (__memchr): Don't use BP_SYM.
19384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19385         <bp-sym.h> and <bp-asm.h>.
19386         (memcmp): Don't use BP_SYM.
19387         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19388         <bp-sym.h> and <bp-asm.h>.
19389         (memcpy): Don't use BP_SYM.
19390         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19391         <bp-sym.h> and <bp-asm.h>.
19392         (__mempcpy): Don't use BP_SYM.
19393         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19394         <bp-sym.h> and <bp-asm.h>.
19395         (__memrchr): Don't use BP_SYM.
19396         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19397         <bp-sym.h> and <bp-asm.h>.
19398         (memset): Don't use BP_SYM.
19399         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19400         <bp-sym.h> and <bp-asm.h>.
19401         (__rawmemchr): Don't use BP_SYM.
19402         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19403         <bp-sym.h> and <bp-asm.h>.
19404         (__STRCMP): Don't use BP_SYM.
19405         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19406         <bp-sym.h> and <bp-asm.h>.
19407         (strchr): Don't use BP_SYM.
19408         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19409         <bp-sym.h> and <bp-asm.h>.
19410         (__strchrnul): Don't use BP_SYM.
19411         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19412         <bp-sym.h> and <bp-asm.h>.
19413         (strlen): Don't use BP_SYM.
19414         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19415         <bp-sym.h> and <bp-asm.h>.
19416         (strncmp): Don't use BP_SYM.
19417         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19418         <bp-sym.h> and <bp-asm.h>.
19419         (__strnlen): Don't use BP_SYM.
19420         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19421         <bp-asm.h>.
19422         (__mpn_rshift): Don't use BP_SYM.
19423         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19424         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19425         <bp-sym.h> and <bp-asm.h>.
19426         (__sigsetjmp): Don't use BP_SYM.
19427         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19428         (L(start_addresses)): Don't use BP_SYM.
19429         (_start): Likewise.
19430         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19431         <bp-asm.h>.
19432         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19433         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19434         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19435         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19436         <bp-asm.h>.
19437         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19438         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19439         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19440         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19441         <bp-asm.h>.
19442         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19443         comments.
19444         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19445         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19446         <bp-asm.h>.
19447         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
19448         FIXME comments.
19449         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19450         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19451         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19452         <bp-asm.h>.
19453         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19454         comment.
19455         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19456         and <bp-asm.h>.
19457         (strncmp): Don't use BP_SYM,
19458         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19459         <bp-asm.h>.
19460         (__mpn_sub_n): Don't use BP_SYM.
19461         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19462         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19463         and <bp-asm.h>.
19464         (__mpn_submul_1): Don't use BP_SYM.
19465         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19467         <bp-sym.h> and <bp-asm.h>.
19468         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19470         <bp-sym.h> and <bp-asm.h>.
19471         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19472         comment.
19474 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19476         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19477         Use ZK to minimize writes to Z.
19478         (sub_magnitudes): Simplify code a bit.
19479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19480         Use ZK to minimize writes to Z.
19481         (sub_magnitudes): Simplify code a bit.
19483 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19485         * csu/gmon-start.c: Add special exception to license text.
19487 2013-02-27  Richard Henderson  <rth@redhat.com>
19489         * scripts/config.guess: Update from config.git.
19490         * scripts/config.sub: Likewise.
19492 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19494         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19496         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19498         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19500         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19502         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19504 2013-02-26  Roland McGrath  <roland@hack.frob.com>
19506         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19507         [$(build-shared = yes].
19509 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19511         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19512         (__mul): Reduce iterations for calculating mantissa.
19514         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19515         MPTWO.
19516         (__mpranred): Likewise.
19518         [BZ #15160]
19519         * malloc/memusagestat.c (main): Draw graphs for heap and stack
19520         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19522 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
19524         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19525         Define __attribute__.
19527 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19529         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19530         unused.
19531         * posix/regex_internal.h (__attribute): Remove.
19532         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19533         (re_string_context_at): Likewise.
19534         (bitset_not): Use __attribute__ and mark function as possibly
19535         unused.
19536         (bitset_merge): Likewise.
19537         (bitset_mask): Likewise.
19538         (re_string_char_size_at): Likewise.
19539         (re_string_wchar_at): Likewise.
19540         (re_string_elem_size_at): Likewise.
19542 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19544         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19545         code.
19546         (cc32): Likewise.
19548         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19549         (__acr): Likewise.
19550         (__cpy): Likewise.
19551         (norm): Likewise.
19552         (denorm): Likewise.
19553         (__dbl_mp): Likewise.
19554         (add_magnitudes): Likewise.
19555         (sub_magnitudes): Likewise.
19556         (__mul): Likewise.
19557         (__inv): Likewise.
19559         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19560         style.
19562         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19563         style.
19565         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19566         code.
19568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19569         up changes with default code.
19570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19571         Likewise.
19573 2013-02-24  Allan McRae  <allan@archlinux.org>
19575         * manual/socket.texi (The Internet Namespace): Order menu items
19576         to match that in the file.
19578         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19579         node listing of the info page menu.
19581 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
19583         [BZ #13550]
19584         * sysdeps/i386/bp-asm.h: Remove file.
19585         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19586         (PARMS): Do not use macros from bp-asm.h.
19587         (S1): Likewise.
19588         (S2): Likewise.
19589         (SIZE): Likewise.
19590         (__mpn_add_n): Do not use BP_SYM
19591         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19592         "bp-asm.h".
19593         (PARMS): Do not use macros from bp-asm.h.
19594         (S1): Likewise.
19595         (SIZE): Likewise.
19596         (__mpn_addmul_1): Do not use BP_SYM
19597         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19598         "bp-asm.h".
19599         (PARMS): Do not use macros from bp-asm.h.
19600         (SIGMSK): Likewise.
19601         (_setjmp): Likewise.  Do not use BP_SYM.
19602         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19603         "bp-asm.h".
19604         (PARMS): Do not use macros from bp-asm.h.
19605         (SIGMSK): Likewise.
19606         (setjmp): Likewise.  Do not use BP_SYM.
19607         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19608         "bp-asm.h".
19609         (PARMS): Do not use macros from bp-asm.h.
19610         (__frexp): Do not use BP_SYM.
19611         (frexp): Likewise.
19612         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19613         "bp-asm.h".
19614         (PARMS): Do not use macros from bp-asm.h.
19615         (__frexpf): Do not use BP_SYM.
19616         (frexpf): Likewise.
19617         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19618         "bp-asm.h".
19619         (PARMS): Do not use macros from bp-asm.h.
19620         (__frexpl): Do not use BP_SYM.
19621         (frexpl): Likewise.
19622         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19623         "bp-asm.h".
19624         (PARMS): Do not use macros from bp-asm.h.
19625         (__remquo): Do not use BP_SYM.
19626         (remquo): Likewise.
19627         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19628         "bp-asm.h".
19629         (PARMS): Do not use macros from bp-asm.h.
19630         (__remquof): Do not use BP_SYM.
19631         (remquof): Likewise.
19632         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19633         "bp-asm.h".
19634         (PARMS): Do not use macros from bp-asm.h.
19635         (__remquol): Do not use BP_SYM.
19636         (remquol): Likewise.
19637         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19638         "bp-asm.h".
19639         (PARMS): Do not use macros from bp-asm.h.
19640         (DEST): Likewise.
19641         (SRC): Likewise.
19642         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19643         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19644         "bp-asm.h".
19645         (PARMS): Do not use macros from bp-asm.h.
19646         (strlen): Do not use BP_SYM.
19647         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19648         "bp-asm.h".
19649         (PARMS): Do not use macros from bp-asm.h.
19650         (S1): Likewise.
19651         (S2): Likewise.
19652         (SIZE): Likewise.
19653         (__mpn_add_n): Do not use BP_SYM.
19654         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19655         "bp-asm.h".
19656         (PARMS): Do not use macros from bp-asm.h.
19657         (S1): Likewise.
19658         (SIZE): Likewise.
19659         (__mpn_addmul_1): Do not use BP_SYM.
19660         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19661         weak_alias.
19662         (bzero): Likewise.
19663         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19664         "bp-asm.h".
19665         (PARMS): Do not use macros from bp-asm.h.
19666         (S): Likewise.
19667         (SIZE): Likewise.
19668         (__mpn_lshift): Do not use BP_SYM.
19669         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19670         "bp-asm.h".
19671         (PARMS): Do not use macros from bp-asm.h.
19672         (DEST): Likewise.
19673         (SRC): Likewise.
19674         (LEN): Likewise.
19675         (memcpy): Likewise.  Do not use BP_SYM.
19676         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19677         libc_hidden_def and weak_alias.
19678         (mempcpy): Do not use BP_SYM in weak_alias.
19679         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19680         "bp-asm.h".
19681         (PARMS): Do not use macros from bp-asm.h.
19682         (DEST): Likewise.
19683         (LEN): Likewise.
19684         [!BZERO_P] (CHR): Likewise.
19685         (memset): Likewise.  Do not use BP_SYM.
19686         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19687         "bp-asm.h".
19688         (PARMS): Do not use macros from bp-asm.h.
19689         (S1): Likewise.
19690         (SIZE): Likewise.
19691         (__mpn_mul_1): Do not use BP_SYM.
19692         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19693         "bp-asm.h".
19694         (PARMS): Do not use macros from bp-asm.h.
19695         (S): Likewise.
19696         (SIZE): Likewise.
19697         (__mpn_rshift): Do not use BP_SYM.
19698         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19699         "bp-asm.h".
19700         (PARMS): Do not use macros from bp-asm.h.
19701         (STR): Likewise.
19702         (CHR): Likewise.
19703         (strchr): Likewise.  Do not use BP_SYM.
19704         (index): Do not use BP_SYM in weak_alias.
19705         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19706         "bp-asm.h".
19707         (PARMS): Do not use macros from bp-asm.h.
19708         (DEST): Likewise.
19709         (SRC): Likewise.
19710         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
19711         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19712         "bp-asm.h".
19713         (PARMS): Do not use macros from bp-asm.h.
19714         (strlen): Do not use BP_SYM.
19715         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19716         "bp-asm.h".
19717         (PARMS): Do not use macros from bp-asm.h.
19718         (S1): Likewise.
19719         (S2): Likewise.
19720         (SIZE): Likewise.
19721         (__mpn_sub_n): Do not use BP_SYM.
19722         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19723         "bp-asm.h".
19724         (PARMS): Do not use macros from bp-asm.h.
19725         (S1): Likewise.
19726         (SIZE): Likewise.
19727         (__mpn_submul_1): Do not use BP_SYM.
19728         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19729         "bp-asm.h".
19730         (PARMS): Do not use macros from bp-asm.h.
19731         (S1): Likewise.
19732         (S2): Likewise.
19733         (SIZE): Likewise.
19734         (__mpn_add_n): Do not use BP_SYM.
19735         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19736         weak_alias.
19737         (bzero): Likewise.
19738         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19739         "bp-asm.h".
19740         (PARMS): Do not use macros from bp-asm.h.
19741         (BLK2): Likewise.
19742         (LEN): Likewise.
19743         (memcmp): Do not use BP_SYM.
19744         (bcmp): Do not use BP_SYM in weak_alias.
19745         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19746         "bp-asm.h".
19747         (PARMS): Do not use macros from bp-asm.h.
19748         (DEST): Likewise.
19749         (SRC): Likewise.
19750         (LEN): Likewise.
19751         (memcpy): Likewise.  Do not use BP_SYM.
19752         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19753         "bp-asm.h".
19754         (PARMS): Do not use macros from bp-asm.h.
19755         (DEST): Likewise.
19756         (SRC): Likewise.
19757         (LEN): Likewise.
19758         (memmove): Likewise.  Do not use BP_SYM.
19759         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19760         "bp-asm.h".
19761         (PARMS): Do not use macros from bp-asm.h.
19762         (DEST): Likewise.
19763         (SRC): Likewise.
19764         (LEN): Likewise.
19765         (__mempcpy): Likewise.  Do not use BP_SYM.
19766         (mempcpy): Do not use BP_SYM in weak_alias.
19767         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19768         "bp-asm.h".
19769         (PARMS): Do not use macros from bp-asm.h.
19770         (DEST): Likewise.
19771         (LEN): Likewise.
19772         [!BZERO_P] (CHR): Likewise.
19773         (memset): Likewise.  Do not use BP_SYM.
19774         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19775         "bp-asm.h".
19776         (PARMS): Do not use macros from bp-asm.h.
19777         (STR2): Likewise.
19778         (strcmp): Do not use BP_SYM.
19779         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19780         "bp-asm.h".
19781         (PARMS): Do not use macros from bp-asm.h.
19782         (STR): Likewise.
19783         (DELIM): Likewise.
19784         [USE_AS_STRTOK_R] (SAVE): Likewise.
19785         (FUNCTION): Likewise.  Do not use BP_SYM.
19786         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19787         aliases.
19788         (strtok_r): Likewise.
19789         (__GI___strtok_r): Likewise.
19790         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19791         (PARMS): Do not use macros from bp-asm.h.
19792         (S): Likewise.
19793         (SIZE): Likewise.
19794         (__mpn_lshift): Do not use BP_SYM.
19795         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19796         (PARMS): Do not use macros from bp-asm.h.
19797         (STR): Likewise.
19798         (CHR): Likewise.
19799         (__memchr): Do not use BP_SYM.
19800         (memchr): Do not use BP_SYM in weak_alias.
19801         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19802         (PARMS): Do not use macros from bp-asm.h.
19803         (BLK2): Likewise.
19804         (LEN): Likewise.
19805         (memcmp): Do not use BP_SYM.
19806         (bcmp): Do not use BP_SYM in weak_alias.
19807         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19808         (PARMS): Do not use macros from bp-asm.h.
19809         (S1): Likewise.
19810         (SIZE): Likewise.
19811         (__mpn_mul_1): Do not use BP_SYM.
19812         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19813         "bp-asm.h".
19814         (PARMS): Do not use macros from bp-asm.h.
19815         (STR): Likewise.
19816         (CHR): Likewise.
19817         (__rawmemchr): Do not use BP_SYM.
19818         (rawmemchr): Do not use BP_SYM in weak_alias.
19819         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19820         (PARMS): Do not use macros from bp-asm.h.
19821         (S): Likewise.
19822         (SIZE): Likewise.
19823         (__mpn_rshift): Do not use BP_SYM.
19824         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19825         (PARMS): Do not use macros from bp-asm.h.
19826         (SIGMSK): Likewise.
19827         (__sigsetjmp): Likewise.  Do not use BP_SYM.
19828         * sysdeps/i386/start.S: Do not include "bp-sym.h".
19829         (_start): Do not use BP_SYM.
19830         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19831         (PARMS): Do not use macros from bp-asm.h.
19832         (DEST): Likewise.
19833         (SRC): Likewise.
19834         (__stpcpy): Likewise.  Do not use BP_SYM.
19835         (stpcpy): Do not use BP_SYM in weak_alias.
19836         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19837         "bp-asm.h".
19838         (PARMS): Do not use macros from bp-asm.h.
19839         (DEST): Likewise.
19840         (SRC): Likewise.
19841         (LEN): Likewise.
19842         (__stpncpy): Likewise.  Do not use BP_SYM.
19843         (stpncpy): Do not use BP_SYM in weak_alias.
19844         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19845         (PARMS): Do not use macros from bp-asm.h.
19846         (STR): Likewise.
19847         (CHR): Likewise.
19848         (strchr): Likewise.  Do not use BP_SYM.
19849         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19850         "bp-asm.h".
19851         (PARMS): Do not use macros from bp-asm.h.
19852         (STR): Likewise.
19853         (CHR): Likewise.
19854         (__strchrnul): Likewise.  Do not use BP_SYM.
19855         (strchrnul): Do not use BP_SYM in weak_alias.
19856         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19857         "bp-asm.h".
19858         (PARMS): Do not use macros from bp-asm.h.
19859         (STOP): Likewise.
19860         (strcspn): Do not use BP_SYM.
19861         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19862         "bp-asm.h".
19863         (PARMS): Do not use macros from bp-asm.h.
19864         (STR): Likewise.
19865         (STOP): Likewise.
19866         (strpbrk): Likewise.  Do not use BP_SYM.
19867         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19868         "bp-asm.h".
19869         (PARMS): Do not use macros from bp-asm.h.
19870         (STR): Likewise.
19871         (CHR): Likewise.
19872         (strrchr): Likewise.  Do not use BP_SYM.
19873         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19874         (PARMS): Do not use macros from bp-asm.h.
19875         (SKIP): Likewise.
19876         (strspn): Do not use BP_SYM.
19877         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19878         (PARMS): Do not use macros from bp-asm.h.
19879         (STR): Likewise.
19880         (DELIM): Likewise.
19881         (SAVE): Likewise.
19882         (FUNCTION): Likewise.  Do not use BP_SYM.
19883         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19884         aliases.
19885         (strtok_r): Likewise.
19886         (__GI___strtok_r): Likewise.
19887         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19888         (PARMS): Do not use macros from bp-asm.h.
19889         (S1): Likewise.
19890         (S2): Likewise.
19891         (SIZE): Likewise.
19892         (__mpn_sub_n): Do not use BP_SYM.
19893         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19894         "bp-asm.h".
19895         (PARMS): Do not use macros from bp-asm.h.
19896         (S1): Likewise.
19897         (SIZE): Likewise.
19898         (__mpn_submul_1): Do not use BP_SYM.
19899         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19900         <bp-sym.h>.
19901         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19902         and <bp-asm.h>.
19903         (PARMS): Do not use macros from bp-asm.h.
19904         (FLAGS): Likewise.
19905         (PTID): Likewise.
19906         (TLS): Likewise.
19907         (CTID): Likewise.
19908         (__clone): Do not use BP_SYM.
19909         (clone): Do not use BP_SYM in weak_alias.
19910         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19911         and <bp-asm.h>.
19912         (PARMS): Do not use macros from bp-asm.h.
19913         (LEN): Likewise.
19914         (__mmap64): Do not use BP_SYM.
19915         (mmap64): Do not use BP_SYM in weak_alias.
19916         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19917         <bp-sym.h> and <bp-asm.h>.
19918         (PARMS): Do not use macros from bp-asm.h.
19919         (__posix_fadvise64_l64): Do not use BP_SYM.
19920         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19921         (PARMS): Do not use macros from bp-asm.h.
19922         (NSOPS): Likewise.
19923         (semtimedop): Do not use BP_SYM.
19924         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19925         and <bp-asm.h>.
19927 2013-02-21  Allan McRae  <allan@archlinux.org>
19929         * manual/message.texi (Charset conversion in gettext):
19930         Move @end statement to beginning of line.
19932 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19935         static.
19936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19937         Likewise.
19939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19940         (denorm): Likewise.
19941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19944 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19946         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19947         tail-call to the resolved function if pltexit isn't needed.
19949 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19952         or Y being zero as being unlikely.
19953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19954         Likewise.
19956 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19958         * manual/nss.texi (System Databases and Name Service Switch):
19959         Remove frobnicate @pxref.
19961 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19963         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19964         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19966 2013-02-20  Petr Machata  <pmachata@redhat.com>
19968         * elf/elf.h (R_ARM_TARGET1): New macro.
19969         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19970         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19971         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19972         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19973         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19974         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19975         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19976         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19977         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19978         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19979         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19980         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19981         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19982         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19983         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19984         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19985         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19986         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19987         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19988         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19989         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19990         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19991         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19992         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19993         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19994         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19995         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19996         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19997         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19998         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19999         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20000         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20001         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20002         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20003         (R_ARM_THM_GOT_BREL12): Likewise.
20004         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20005         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20006         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20007         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20008         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20009         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20010         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20011         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20012         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20014 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20016         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20017         __attribute_used__ to __attribute__ ((unused)).
20019 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20021         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20022         powerpc mpa.c.
20023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20024         comment formatting.
20025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20027 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20029         [BZ #13550]
20030         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20031         Remove macro.
20032         (ENTER): Remove both macro definitions.
20033         (LEAVE): Likewise.
20034         (CHECK_BOUNDS_LOW): Likewise.
20035         (CHECK_BOUNDS_HIGH): Likewise.
20036         (CHECK_BOUNDS_BOTH): Likewise.
20037         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20038         (RETURN_BOUNDED_POINTER): Likewise.
20039         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20040         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20041         (POP_ERRNO_LOCATION_RETURN): Likewise.
20042         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20043         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20044         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20045         macros.
20046         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20047         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20048         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20049         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20050         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20051         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20052         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20053         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20054         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20055         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20056         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20057         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20058         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20059         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20060         removed macros.
20061         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20062         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20063         macros.
20064         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20065         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20066         * sysdeps/i386/i586/memset.S (memset): Likewise.
20067         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20068         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20069         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20070         macros.
20071         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20072         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20073         Change uses of L(2) to L(out).
20074         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20075         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20076         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20077         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20078         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20079         removed macros.
20080         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20081         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20082         macros.
20083         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20084         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20085         (RETURN): Do not use macro LEAVE.
20086         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20087         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20088         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20089         * sysdeps/i386/i686/memset.S (memset): Likewise.
20090         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20091         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20092         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20093         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20094         Likewise.
20095         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20096         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20097         L(1_2) and L(1_3) into L(1).
20098         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20099         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20100         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20101         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20102         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20103         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20104         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20105         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20106         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20107         macros.
20108         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20109         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20110         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20111         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20112         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20113         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20114         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20115         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20116         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20117         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20118         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20119         * sysdeps/i386/strspn.S (strspn): Likewise.
20120         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20121         conditional code.
20122         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20123         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20124         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20125         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20126         L(1_3) into L(1_1).
20127         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20128         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20129         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20130         macros.
20131         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20133 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20135         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20136         macro.
20138 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20140         * math/atest-exp.c (exp_mpn): Remove ROUND.
20141         * math/atest-exp2.c (exp_mpn): Likewise.
20142         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20144         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20145         * stdlib/tst-tls-atexit-lib.c: Likewise.
20146         * stdlib/tst-tls-atexit.c: Likewise.
20148 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20150         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20151         and __attribute_alloc_size__.
20153 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20155         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20156         __attribute_alloc_size__.
20157         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20158         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20160 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20162         * include/programs/xmalloc.h: New file.
20163         * catgets/gencat.c: Include it.
20164         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20165         * elf/pldd.c: Likewise.
20166         * iconv/iconv_charmap.c: Likewise.
20167         * iconv/iconvconfig.c: Likewise.
20168         * iconv/strtab.c: Likewise.
20169         * locale/programs/locale.c: Likewise.
20170         * locale/programs/localedef.h: Likewise.
20171         * locale/programs/simple-hash.c: Likewise.
20172         * nscd/nscd.h: Likewise.
20173         * nss/makedb.c: Likewise.
20174         * sysdeps/generic/ldconfig.h: Likewise.
20176 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20178         * Versions.def: Add GLIBC_2.18.
20179         * include/link.h (struct link_map): New member l_tls_dtor_count.
20180         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20181         (__call_tls_dtors): Likewise.
20182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20183         __cxa_thread_atexit_impl.
20184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20185         Likewise.
20186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20187         Likewise.
20188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20189         Likewise.
20190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20191         Likewise.
20192         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20194         Likewise.
20195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20196         Likewise.
20197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20199         Likewise.
20200         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20201         (tests): Add test case tst-tls-atexit.
20202         (modules-names): Add shared library for tst-tls-atexit.
20203         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20204         (GLIBC_PRIVATE): Add __call_tls_dtors.
20205         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20206         for libstdc++.
20207         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20208         * stdlib/tst-tls-atexit.c: New test case.
20209         * stdlib/tst-tls-atexit-lib.c: New test case.
20211         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20213         * elf/Versions (ld): Add _dl_find_dso_for_object.
20214         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20215         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20216         (dl_open_worker): Use _dl_find_dso_for_object.
20217         * elf/dl-sym.c (do_sym): Likewise.
20218         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20220 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20222         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20223         Syntactic changes only.
20224         (_dl_runtime_profile): Do a tail-call to the resolved function.
20226 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20228         [BZ #13550]
20229         * sysdeps/x86_64/bp-asm.h: Remove file.
20230         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20231         <bp-sym.h> and <bp-asm.h>.
20232         (__clone): Do not use BP_SYM.
20233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20234         <bp-sym.h> and <bp-asm.h>.
20235         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20236         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20237         "bp-asm.h".
20238         (_setjmp): Do not use BP_SYM.
20239         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20240         "bp-asm.h".
20241         (setjmp): Do not use BP_SYM.
20242         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20243         libc_hidden_def.
20244         (mempcpy): Do not use BP_SYM in weak_alias.
20245         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20246         "bp-asm.h".
20247         (strchr): Do not use BP_SYM.
20248         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20249         "bp-asm.h".
20250         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20251         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20252         (_start): Do not use BP_SYM.
20253         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20254         "bp-asm.h".
20255         (strcat): Do not use BP_SYM.
20256         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20257         "bp-asm.h".
20258         (STRCMP): Do not use BP_SYM.
20259         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20260         "bp-asm.h".
20261         (STRCPY): Do not use BP_SYM.
20262         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20263         "bp-asm.h".
20264         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20265         "bp-asm.h".
20266         (FUNCTION): Do not use BP_SYM.
20267         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20268         weak_alias.
20269         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20271 2013-02-17  Andreas Jaeger  <aj@suse.de>
20273         * time/Versions: Sort entries.
20274         * string/Versions: Likewise.
20275         * resolv/Versions: Likewise.
20276         * posix/Versions: Likewise.
20277         * iconv/Versions: Likewise.
20278         * elf/Versions: Likewise.
20279         * wcsmbs/Versions: Likewise.
20281 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20283         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20284         loop termination condition.
20286         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20287         variable to calculate EZ.
20288         (__sqr): Likewise.
20290         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20291         the lower precision input.
20293 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20295         [BZ #13550]
20296         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20297         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20298         (run-via-rtld-prefix): Do not handle %-bp tests.
20299         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20300         (all-object-suffixes): Remove .ob.
20301         (bppfx): Remove variable.
20302         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20303         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20304         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20305         [$(build-bounded) = yes] (libtype.ob): Likewise.
20306         * Makerules (elide-routines.ob): Remove variable.
20307         (do-tests-clean): Do not handle *-bp.out.
20308         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20309         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20310         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20311         (tests): Do not include $(tests-bp.out).
20312         (xtests): Do not include $(xtests-bp.out).
20313         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20314         [$(build-bounded) = yes] ($(addprefix
20315         $(objpfx),$(binaries-bounded))): Remove rule.
20316         ($(objpfx)%-bp.out): Remove rule.
20317         * config.make.in (build-bounded): Remove variable.
20318         * crypt/Makefile [$(build-bounded) = yes]
20319         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20320         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20321         append to variable.
20322         [$(build-bounded) = yes] (install-lib): Likewise.
20323         [$(build-bounded) = yes] (generated): Likewise.
20324         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20325         Remove rule.
20326         * intl/Makefile [$(build-bounded) = yes]
20327         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20328         * math/Makefile [$(build-bounded) = yes]
20329         ($(tests:%=$(objpfx)%-bp): Likewise.
20330         * misc/Makefile [$(build-bounded) = yes]
20331         ($(objpfx)tst-tsearch-bp): Likewise.
20332         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20333         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20334         Remove dependency.
20335         * string/Makefile (o-objects.ob): Remove variable.
20336         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20337         (CFLAGS-.ob): Remove variable.
20338         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20339         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20340         both definitions of variable.
20341         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20342         (ASFLAGS-.ob): Remove variable.
20344 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20346         [BZ #13550]
20347         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20348         Remove __BOUNDED_POINTERS__ from condition.
20349         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20350         * string/bits/string2.h [!__NO_STRING_INLINES &&
20351         !__BOUNDED_POINTERS__]: Likewise.
20352         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20353         Likewise.
20354         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20355         Remove conditional code.
20356         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20357         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20358         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20359         condition.
20361         [BZ #13550]
20362         * csu/libc-start.c: Do not include <bp-sym.h>.
20363         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20364         * elf/dl-open.c: Do not include <bp-sym.h>.
20365         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20366         * math/fegetenv.c: Do not include <bp-sym.h>.
20367         (fegetenv): Do not use BP_SYM in versioned symbols.
20368         * nptl/sysdeps/pthread/bits/libc-lockP.h
20369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20370         <bp-sym.h>.
20371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20372         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20374         (__pthread_mutex_destroy): Likewise.
20375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20376         (__pthread_mutex_lock): Likewise.
20377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20378         (__pthread_mutex_trylock): Likewise.
20379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20380         (__pthread_mutex_unlock): Likewise.
20381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20382         (__pthread_mutexattr_init): Likewise.
20383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20384         (__pthread_mutexattr_destroy): Likewise.
20385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20386         (__pthread_mutexattr_settype): Likewise.
20387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20388         (__pthread_rwlock_init): Likewise.
20389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20390         (__pthread_rwlock_destroy): Likewise.
20391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20392         (__pthread_rwlock_rdlock): Likewise.
20393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20394         (__pthread_rwlock_tryrdlock): Likewise.
20395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20396         (__pthread_rwlock_wrlock): Likewise.
20397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20398         (__pthread_rwlock_trywrlock): Likewise.
20399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20400         (__pthread_rwlock_unlock): Likewise.
20401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20402         (__pthread_key_create): Likewise.
20403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20404         (__pthread_setspecific): Likewise.
20405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20406         (__pthread_getspecific): Likewise.
20407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20408         Likewise.
20409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20410         (_pthread_cleanup_push_defer): Likewise.
20411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20412         (_pthread_cleanup_pop_restore): Likewise.
20413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20414         (pthread_setcancelstate): Likewise.
20415         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20416         <bp-sym.h>.
20417         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20418         (memchr): Do not use BP_SYM in weak_alias.
20419         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20420         (fegetenv): Do not use BP_SYM in versioned symbols.
20421         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20422         (fesetenv): Do not use BP_SYM in versioned symbols.
20423         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20424         (feupdateenv): Do not use BP_SYM in versioned symbols.
20425         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20426         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20427         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20428         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20429         (open64): Do not use BP_SYM in weak_alias.
20430         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20431         (fegetenv): Do not use BP_SYM in versioned symbols.
20432         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20433         (fesetenv): Do not use BP_SYM in versioned symbols.
20434         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20435         (feupdateenv): Do not use BP_SYM in versioned symbols.
20436         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20437         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20438         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20439         (feraiseexcept): Do not use BP_SYM in versioned symbols.
20440         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20441         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20442         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20443         <bp-sym.h>.
20444         (__libc_start_main): Do not use BP_SYM.
20446 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20449         redundant return line.
20450         (norm): Likewise.
20451         (denorm): Likewise.
20452         (dbl_mp): Likewise.
20453         (sub_magnitudes): Likewise.
20454         (__add): Likewise.
20455         (__sub): Likewise.
20456         (__mul): Likewise.
20457         (__inv): Likewise.
20458         (__dvd): Likewise.
20459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20460         (norm): Likewise.
20461         (denorm): Likewise.
20462         (dbl_mp): Likewise.
20463         (sub_magnitudes): Likewise.
20464         (__add): Likewise.
20465         (__sub): Likewise.
20466         (__mul): Likewise.
20467         (__inv): Likewise.
20468         (__dvd): Likewise.
20470         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20471         instead of __mul.
20472         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20473         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20474         (cc32): Likewise.
20476         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20477         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20479         of __mul for squares.
20480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20481         function
20482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20483         Likewise.
20484         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20485         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20487 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
20489         [BZ #13550]
20490         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20491         code.
20492         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20493         prototype or function definition.  Rename ubp_* variables and
20494         parameters.  Remove argv definitions conditional on
20495         [__BOUNDED_POINTERS__].
20496         * debug/backtrace.c (__backtrace): Do not use __unbounded.
20497         * elf/dl-runtime.c (_dl_fixup): Likewise.
20498         * include/set-hooks.h (RUN_HOOK): Likewise.
20499         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20500         definition.
20501         * string/strcpy.c (strcpy): Do not use __unbounded.
20502         * sysdeps/generic/frame.h (struct layout): Likewise.
20503         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20504         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20505         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20506         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20507         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20508         (__backtrace): Likewise.
20509         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20510         use __ptrvalue.
20511         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20512         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20513         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20514         Likewise.
20515         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20516         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20517         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20518         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20519         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20520         Do not use __unbounded.
20521         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20522         Rename __unboundedrlimits parameter to rlimits in prototype.
20523         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20524         Do not use __unbounded.
20525         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20526         not use __ptrvalue.
20527         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20528         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20529         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20530         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20531         __ptrvalue or __unbounded.
20532         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20533         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20534         use __unbounded.
20535         (__new_msgctl): Do not use __ptrvalue.
20536         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20537         __unbounded.
20538         (__libc_msgrcv): Do not use __ptrvalue.
20539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20540         startup_info): Do not use __unbounded.
20541         (__libc_start_main): Likewise.  Rename ubp_* variables and
20542         parameters.  Remove argv definitions conditional on
20543         [__BOUNDED_POINTERS__].
20544         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20545         __ptrvalue.
20546         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20547         use __unbounded.
20548         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20549         or __ptrvalue.
20550         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20551         use __unbounded.
20552         (__new_shmctl): Do not use __ptrvalue.
20553         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20554         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20555         Likewise.
20556         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20557         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20558         (__libc_sigaction): Likewise.
20559         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20560         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20561         Likewise.
20562         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20564 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
20566         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20568         * string/mempcpy.c: Implement by calling memcpy.
20570 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20575         evaluation.
20577         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20578         values in the mantissa.
20580         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20581         minimize writes to Z.
20582         (sub_magnitudes): Simplify code a bit.
20584 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20586         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20587         from the message.  The linker prefixes all warnings with that already.
20589 2013-02-12  Andreas Schwab  <schwab@suse.de>
20591         [BZ #15078]
20592         * posix/regexec.c (extend_buffers): Add parameter min_len.
20593         (check_matching): Pass minimum needed length.
20594         (clean_state_log_if_needed): Likewise.
20595         (get_subexp): Likewise.
20596         * posix/Makefile (tests): Add bug-regex34.
20597         (bug-regex34-ENV): Define.
20598         * posix/bug-regex34.c: New file.
20600         [BZ #11561]
20601         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20602         elements compare against the byte sequence of it, not its name.
20603         * posix/Makefile (tests): Add bug-regex35.
20604         (bug-regex35-ENV): Define.
20605         * posix/bug-regex35.c: New file.
20607 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20609         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20610         comment.
20611         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20612         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20613         (CHECK_EOL): Add undef.
20615 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20617         * bits/stdlib-bsearch.h: New file.
20618         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20619         * stdlib/stdlib.h: Likewise.
20621 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20623         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20624         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20625         declaration.
20626         * manual/search.texi (Array Search Function): Add missing const in
20627         lfind prototype.
20628         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20629         declaration to use rlim_t.
20630         (Basic Scheduling Functions): Remove erroneous const from
20631         sched_getparam prototype.  Remove erroneous * from
20632         sched_get_priority_max and sched_get_priority_min prototypes.
20633         (Resource Usage): Fix summary @comment on vtimes to refer to
20634         sys/vtimes.h rather than vtimes.h.
20635         Add missing *s in vtimes prototype.
20636         (Limits on Resources): Fix ulimit prototype to return long int.
20637         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20638         prototypes to use long int rather than double.
20639         (BSD Random): Fix initstate and setstate to use char *, not void *.
20640         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20641         prototype to make second argument 'struct aiocb64 *const[]'.
20642         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20643         (Status of AIO Operations): Remove erroneous const in aio_return and
20644         aio_return64 prototypes.
20645         (Synchronizing I/O): Fix sync prototype to return void.
20646         * manual/startup.texi (Suboptions): Remove an erroneous const in
20647         getsubopt prototype.
20648         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20649         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20650         use size_t rather than int.
20651         (Scanning All Users): Likewise for getpwent_r.
20652         (Setting Groups): Add missing const to setgroups prototype.
20653         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20654         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20655         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20656         'const void *' rather than 'const char *'.
20657         (Host Address Functions): Likewise for inet_ntop.
20658         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20659         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20660         ssize_t for return value.
20661         (Sending Data): Likewise for send, sendto, sendmsg.
20662         (Socket Option Functions): Add a missing const in setsockopt prototype.
20663         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20664         use wchar_t for the argument.
20665         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20666         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20667         take no arguments.
20668         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20669         double/float/long double for second argument.
20670         Fix return types of significand, significandf, significandl.
20671         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20672         argument in fchmod prototype.
20673         (File Owner): Use uid_t and gid_t in fchown prototype.
20674         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20675         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20676         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20677         use 'const struct dirent **' as argument types to CMP function pointer
20678         argument.
20679         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20680         (File Times): Fix summary magic @comment for struct utimbuf and utime
20681         to refer to utime.h, not time.h.
20682         * manual/string.texi (Argz Functions): Add missing const in
20683         argz_extract and argz_next prototypes.
20684         (Finding Tokens in a String): Likewise for basename.
20685         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20686         (Copying and Concatenation): Fix typo in wmemmove prototype.
20687         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20688         (Signal Stack): Remove erroneous const in sigstack prototype.
20689         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20690         prototype.
20691         (Simple Calendar Time): Likewise for stime.
20692         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20693         prototype.
20694         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20695         say sys/sysctl.h instead.
20696         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20697         and vsyslog prototypes.
20699 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20701         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20702         Remove.
20704 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20706         * misc/sys/mman.h: Fix typo in mremap comment.
20708 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20710         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20711         the '\0' terminator.
20713 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20715         [BZ #13550]
20716         * debug/segfault.c: Don't include <bp-checks.h>.
20717         * sysdeps/generic/bp-checks.h: Remove file.
20718         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20719         (__GETDENTS): Don't use CHECK_N.
20720         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20721         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20722         (__getgroups): Don't use CHECK_N.
20723         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20724         (setgroups): Don't use CHECK_N.
20725         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20726         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20727         (__libc_msgrcv): Don't use CHECK_N.
20728         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20729         (__libc_msgsnd): Don't use CHECK_N.
20730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20731         <bp-checks.h>.
20732         (__libc_pread): Don't use CHECK_N.
20733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20734         include <bp-checks.h>.
20735         (__libc_pread64): Don't use CHECK_N.
20736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20737         include <bp-checks.h>.
20738         (__libc_pwrite): Don't use CHECK_N.
20739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20740         include <bp-checks.h>.
20741         (__libc_pwrite64): Don't use CHECK_N.
20742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20743         <bp-checks.h>.
20744         (__libc_pread): Don't use CHECK_N.
20745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20746         include <bp-checks.h>.
20747         (__libc_pread64): Don't use CHECK_N.
20748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20749         include <bp-checks.h>.
20750         (__libc_pwrite): Don't use CHECK_N.
20751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20752         include <bp-checks.h>.
20753         (__libc_pwrite64): Don't use CHECK_N.
20754         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20755         (do_pread): Don't use CHECK_N.
20756         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20757         (do_pread64): Don't use CHECK_N.
20758         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20759         (do_pwrite): Don't use CHECK_N.
20760         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20761         (do_pwrite64): Don't use CHECK_N.
20762         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20763         (__libc_readv): Don't use CHECK_N.
20764         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20765         (semop): Don't use CHECK_N.
20766         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20767         <bp-checks.h>.
20768         (semtimedop): Don't use CHECK_N.
20769         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20770         (__libc_pread): Don't use CHECK_N.
20771         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20772         <bp-checks.h>.
20773         (__libc_pread64): Don't use CHECK_N.
20774         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20775         <bp-checks.h>.
20776         (__libc_pwrite): Don't use CHECK_N.
20777         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20778         <bp-checks.h>.
20779         (__libc_pwrite64): Don't use CHECK_N.
20780         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20781         <bp-checks.h>.
20782         (__libc_msgrcv): Don't use CHECK_N.
20783         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20784         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
20785         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20786         (__libc_writev): Don't use CHECK_N.
20788 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20790         * string/strcpy.c: Removed unused variable.
20792         * Makeconfig (+sysdep-includes): Define with := rather than =.
20793         Use an existing include/ subdir of each sysdeps dir before it.
20795 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20797         * nscd/connection.c (register_traced_file): Comment function.
20798         [HAVE_INOTIFY] (union __inev): Define.
20799         [HAVE_INOTIFY] (inotify_check_files): New function.
20800         [HAVE_INOTIFY] (clear_db_cache): Likewise.
20801         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20802         clear_db_cache.
20803         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20805 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20807         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20808         loaded if not already and that a failure is permanent.
20810 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20812         [BZ #15006]
20813         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20814         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20816 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20818         [BZ #13550]
20819         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20820         (CHECK_1_NULL_OK): Likewise.
20821         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20822         (__fxstat): Do not use CHECK_1.
20823         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20824         <bp-checks.h>.
20825         (___fxstat64): Do not use CHECK_1.
20826         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20827         <bp-checks.h>.
20828         (__fxstatat): Do not use CHECK_1.
20829         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20830         <bp-checks.h>.
20831         (__fxstatat64): Do not use CHECK_1.
20832         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20833         <bp-checks.h>.
20834         (__fxstat): Do not use CHECK_1.
20835         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20836         <bp-checks.h>.
20837         (__fxstatat): Do not use CHECK_1.
20838         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20839         <bp-checks.h>.
20840         (__getresgid): Do not use CHECK_1.
20841         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20842         <bp-checks.h>.
20843         (__getresuid): Do not use CHECK_1.
20844         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20845         <bp-checks.h>.
20846         (__lxstat): Do not use CHECK_1.
20847         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20848         <bp-checks.h>.
20849         (__old_msgctl): Do not use CHECK_1.
20850         (__new_msgctl): Likewise.
20851         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20852         <bp-checks.h>.
20853         (__new_setrlimit): Do not use CHECK_1.
20854         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20855         <bp-checks.h>.
20856         (__old_shmctl): Do not use CHECK_1.
20857         (__new_shmctl): Likewise.
20858         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20859         <bp-checks.h>.
20860         (__xstat): Do not use CHECK_1.
20861         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20862         (__lxstat): Do not use CHECK_1.
20863         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20864         <bp-checks.h>.
20865         (___lxstat64): Do not use CHECK_1.
20866         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20867         (__old_msgctl): Do not use CHECK_1.
20868         (__new_msgctl): Likewise.
20869         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20870         <bp-checks.h>.
20871         (__gettimeofday): Do not use CHECK_1.
20872         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20873         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20874         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20875         <bp-checks.h>.
20876         (__gettimeofday): Do not use CHECK_1.
20877         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20878         (__old_shmctl): Do not use CHECK_1_NULL_OK.
20879         (__new_shmctl): Do not use CHECK_1.
20880         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20881         <bp-checks.h>.
20882         (do_sigtimedwait): Do not use CHECK_1.
20883         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20884         <bp-checks.h>.
20885         (do_sigwaitinfo): Do not use CHECK_1.
20886         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20887         <bp-checks.h>.
20888         (msgctl): Do not use CHECK_1.
20889         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20890         <bp-checks.h>.
20891         (shmctl): Do not use CHECK_1.
20892         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20893         (ustat): Do not use CHECK_1.
20894         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20895         <bp-checks.h>.
20896         (__fxstat): Do not use CHECK_1.
20897         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20898         <bp-checks.h>.
20899         (__fxstatat): Do not use CHECK_1.
20900         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20901         <bp-checks.h>.
20902         (__lxstat): Do not use CHECK_1.
20903         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20904         <bp-checks.h>.
20905         (__xstat): Do not use CHECK_1.
20906         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20907         (__xstat): Do not use CHECK_1.
20908         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20909         (___xstat64): Do not use CHECK_1.
20911         [BZ #13550]
20912         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20913         definitions.
20914         (CHECK_BOUNDS_HIGH): Likewise.
20915         * string/strcpy.c: Do not include <bp-checks.h>.
20916         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20918 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20920         * nscd/nscd-client.h (__nscd_drop_map_ref):
20921         Add __attribute__ ((unused)).
20922         * nis/nss-nisplus.h (niserr2nss): Likewise.
20924         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20925         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20927         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20928         Remove inline keyword.
20929         * include/rounding-mode.h (round_away): Likewise.
20930         * libio/wfileops.c (adjust_wide_data): Likewise.
20931         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20932         (__m128i_strloadu_tolower): Likewise.
20933         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20934         (__m128i_strloadu_tolower): Likewise.
20935         * time/mktime.c (ydhms_diff): Likewise.
20936         * locale/elem-hash.h (elem_hash): Likewise.
20937         * locale/setlocale.c (setdata): Likewise.
20938         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20939         (re_string_wchar_at): Likewise.
20940         (bitset_not, bitset_merge, bitset_mask): Likewise.
20941         [!(__GNUC__ > 3)] (inline): Remove macro.
20942         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20943         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20944         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20945         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20946         * string/memcmp.c (memcmp_bytes): Likewise.
20947         * locale/programs/locarchive.c (compute_hashval): Likewise.
20948         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20949         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20950         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20951         * nss/getent.c (print_rpc, print_protocols): Likewise.
20952         (print_passwd, print_group, print_aliases): Likewise.
20953         * nis/nss-nisplus.h (niserr2nss): Likewise.
20954         * nscd/connections.c (restart_p): Likewise.
20955         Change return type to bool.
20957 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20959         * Makeconfig (all-Depend-files): Add existing
20960         $(sorted-subdirs:=/Depend) files.
20961         (all-subdirs): Remove nss.
20962         * sysdeps/unix/inet/Subdirs: Add it here instead.
20963         * hesiod/Depend: New file.
20965         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20966         instead of calling alloca.
20968         * io/lseek.c (__lseek): Rename to __libc_lseek.
20969         Define __lseek as an alias.
20971         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20973 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20975         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20976         else clause and remove check for non-standard endianness.
20978 2013-02-04  David S. Miller  <davem@davemloft.net>
20980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20982 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20984         [BZ #13550]
20985         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20986         (__ubp_memchr): Remove prototype.
20987         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20988         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20989         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20990         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20991         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20992         Remove alias.
20993         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20994         (__ubp_memchr): Likewise.
20995         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20996         (__ubp_memchr): Likewise.
20997         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20998         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20999         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21000         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21001         CHECK_STRING.
21002         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21003         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21004         (__getcwd): Do not use CHECK_STRING.
21005         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21006         <bp-checks.h>.
21007         (__real_chown): Do not use CHECK_STRING.
21008         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21009         <bp-checks.h>.
21010         (fchownat): Do not use CHECK_STRING.
21011         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21012         CHECK_STRING.
21013         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21014         <bp-checks.h>.
21015         (__lchown): Do not use CHECK_STRING.
21016         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21017         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21018         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21019         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21021         include <bp-checks.h>.
21022         (truncate64): Do not use CHECK_STRING.
21023         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21024         <bp-checks.h>.
21025         (__real_chown): Do not use CHECK_STRING.
21026         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21027         <bp-checks.h>.
21028         (__lchown): Do not use CHECK_STRING.
21029         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21030         <bp-checks.h>.
21031         (__chown): Do not use CHECK_STRING.
21032         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21033         <bp-checks.h>.
21034         (truncate64): Do not use CHECK_STRING.
21035         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21036         Likewise.
21037         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21038         (__xmknod): Do not use CHECK_STRING.
21039         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21040         <bp-checks.h>.
21041         (__xmknodat): Do not use CHECK_STRING.
21042         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21043         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21045 2013-02-04  Andreas Schwab  <schwab@suse.de>
21047         [BZ #14142]
21048         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21049         * include/netdb.h: Likewise for h_errno.
21050         * elf/tst-stackguard1.c: Include <tls.h>.
21052 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21054         * elf/link.h (struct link_map): Extend the l_addr comment.
21055         * include/link.h (struct link_map): Likewise.
21057 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21059         [BZ #13550]
21060         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21061         (BOUNDED_1): Remove macro.
21062         * debug/backtrace.c: Don't include <bp-checks.h>.
21063         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21064         (__backtrace): Likewise.
21065         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21066         <bp-checks.h>.
21067         (__backtrace): Don't use BOUNDED_1.
21068         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21069         <bp-checks.h>.
21070         (__backtrace): Don't use BOUNDED_1.
21071         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21072         (__backtrace): Don't use BOUNDED_1.
21073         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21074         (shmat): Don't use BOUNDED_N.
21076 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21078         [BZ #13550]
21079         * sysdeps/generic/bp-start.h: Remove file.
21080         * csu/libc-start.c: Don't include <bp-start.h>.
21081         (LIBC_START_MAIN): Set up __environ directly instead of using
21082         INIT_ARGV_and_ENVIRON.
21083         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21084         <bp-start.h>.
21086         [BZ #13550]
21087         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21088         definitions.
21089         (CHECK_FCNTL): Likewise.
21090         (CHECK_N_PAGES): Likewise.
21092         [BZ #13550]
21093         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21094         definitions.
21095         (CHECK_SIGSET_NULL_OK): Likewise.
21096         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21097         <bp-checks.h>.
21098         (sigpending): Don't use CHECK_SIGSET.
21099         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21100         <bp-checks.h>.
21101         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21102         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21103         <bp-checks.h>.
21104         (do_sigsuspend): Don't use CHECK_SIGSET.
21105         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21106         use CHECK_SIGSET.
21107         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21108         (do_sigwait): Don't use CHECK_SIGSET.
21109         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21110         use CHECK_SIGSET.
21111         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21112         include <bp-checks.h>.
21113         (sigpending): Don't use CHECK_SIGSET.
21114         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21115         include <bp-checks.h>.
21116         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21117         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21118         <bp-checks.h>.
21119         (sigpending): Don't use CHECK_SIGSET.
21120         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21121         <bp-checks.h>.
21122         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21124         [BZ #13550]
21125         * sysdeps/generic/bp-semctl.h: Remove file.
21126         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21127         <bp-checks.h> and <bp-semctl.h>.
21128         (__old_semctl): Don't use CHECK_SEMCTL.
21129         (__new_semctl): Likewise.
21130         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21131         and <bp-semctl.h>.
21132         (__old_semctl): Don't use CHECK_SEMCTL.
21133         (__new_semctl): Likewise.
21134         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21135         <bp-checks.h> and <bp-semctl.h>.
21136         (__old_semctl): Don't use CHECK_SEMCTL.
21137         (__new_semctl): Likewise.
21138         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21139         <bp-checks.h> and <bp-semctl.h>.
21140         (semctl): Don't use CHECK_SEMCTL.
21142         [BZ #13550]
21143         * Makerules (elide-bp-thunks): Remove variable.
21144         (elide-routines.oS): Don't use $(elide-bp-thunks).
21145         (elide-routines.os): Likewise.
21146         (elide-routines.o): Likewise.
21147         (elide-routines.op): Likewise.
21148         (elide-routines.og): Likewise.
21149         (objects): Don't use $(bp-thunks).
21150         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21151         include.
21152         (common-generated): Do not add s-proto-bp.d.
21153         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21154         (int): Likewise.
21155         (typ): Likewise.
21156         Do not generate makefile rules for bounded-pointer thunks.
21157         * sysdeps/generic/bp-thunks.h: Remove file.
21158         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21159         * sysdeps/unix/s-proto-bp.S: Likewise.
21161         [BZ #15062]
21162         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21163         parts of result separately when argument is not close to line from
21164         -i to i and one part of argument is small.
21165         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21166         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21167         * math/libm-test.inc (cacos_test): Add more tests.
21168         (casin_test): Likewise.
21169         (casinh_test): Likewise.
21170         * sysdeps/i386/fpu/libm-test-ulps: Update.
21171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21173 2013-01-31  David S. Miller  <davem@davemloft.net>
21175         * po/de.po: Update from translation team.
21177 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21179         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21181 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21183         * configure.in (_AC_PROG_CC_C89): New definition.
21184         * configure: Regenerate.
21186         * configure.in (AC_PROG_CPP): New definition.
21187         * configure: Regenerate.
21189 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21191         * debug/tst-backtrace.h: New file.
21192         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21193         (ret): Remove variable.
21194         (x): Likewise.
21195         (FAIL): Remove macro.
21196         (NO_INLINE): Likewise.
21197         (fn1): Use match function instead of strstr.
21198         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21199         (ret): Remove variable.
21200         (x): Likewise.
21201         (FAIL): Remove macro.
21202         (NO_INLINE): Likewise.
21203         (fn): Use match function instead of strstr.
21204         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21205         (ret): Remove variable.
21206         (x): Likewise.
21207         (FAIL): Remove macro.
21208         (NO_INLINE): Likewise.
21209         (handle_signal): Use match function instead of strstr.
21210         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21211         (ret): Remove variable.
21212         (x): Likewise.
21213         (FAIL): Remove macro.
21214         (NO_INLINE): Likewise.
21215         (handle_signal): Use match function instead of strstr.
21217 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21219         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21221 2013-01-23  David S. Miller  <davem@davemloft.net>
21223         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21224         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21225         argument of CAS if possible.
21226         * sysdeps/sparc/sparc64/bits/atomic.h
21227         (__arch_compare_and_exchange_val_32_acq): Likewise.
21228         (__arch_compare_and_exchange_val_64_acq): Likewise.
21230 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21232         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21233         * sysdeps/posix/ulimit.c: ... this.
21234         Include <limits.h>.
21235         * sysdeps/unix/bsd/ulimit.c: Remove file.
21237 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21239         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21240         (LDFLAGS-tst-array5): Likewise.
21242 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21244         [BZ #15036]
21245         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21246         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21247         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21248         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21250 2013-01-21  David S. Miller  <davem@davemloft.net>
21252         * sysdeps/sparc/backtrace.c: New file.
21253         * sysdeps/sparc/sparc32/backtrace.h: New file.
21254         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21255         * sysdeps/sparc/sparc64/backtrace.h: New file.
21256         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21257         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21258         -funwind-tables.
21260 2013-01-21  Andreas Schwab  <schwab@suse.de>
21262         [BZ #15020]
21263         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21264         closed its stdout.
21266 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21269         "mpa2.h".
21270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21272 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21273             Mark Mitchell  <mark@codesourcery.com>
21274             Tom de Vries  <tom@codesourcery.com>
21275             Paul Pluzhnikov  <ppluzhnikov@google.com>
21277         * debug/tst-backtrace2.c: New file.
21278         * debug/tst-backtrace3.c: Likewise.
21279         * debug/tst-backtrace4.c: Likewise.
21280         * debug/tst-backtrace5.c: Likewise.
21281         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21282         (CFLAGS-tst-backtrace3.c): Likewise.
21283         (CFLAGS-tst-backtrace4.c): Likewise.
21284         (CFLAGS-tst-backtrace5.c): Likewise.
21285         (LDFLAGS-tst-backtrace2): Likewise.
21286         (LDFLAGS-tst-backtrace3): Likewise.
21287         (LDFLAGS-tst-backtrace4): Likewise.
21288         (LDFLAGS-tst-backtrace5): Likewise.
21289         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21290         tst-backtrace4 and tst-backtrace5.
21292 2013-01-18  Anton Blanchard  <anton@samba.org>
21293             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21295         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21296         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21298         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21300         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21301         "+r" and remove output regs list as redundant.  Add explicit inline
21302         asm to specify register of return val to work around compiler codegen
21303         bug.  Remove (int) cast on return value.  Add return type parameter to
21304         use in macro so that this macro does not truncate return value for
21305         64-bit values.
21306         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21307         pass to INTERNAL_VSYSCALL_NCS.
21308         (INLINE_VSYSCALL): Add 'long int' as return type to
21309         INTERNAL_VSYSCALL_NCS macro invocation.
21310         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21311         INTERNAL_VSYSCALL_NCS macro invocation.
21312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21314 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21316         [BZ #14496]
21317         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21318         Fix application of SIMD FP exception mask.
21320         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21321         mp_no from a power of two.
21322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21323         __mpexp_twomm1.  Use __pow_mp.
21325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21326         multiplication.
21328 2013-01-17  David S. Miller  <davem@davemloft.net>
21330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21332 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21334         [BZ #15023]
21335         * include/complex.h: Condition contents on [!_COMPLEX_H].
21336         (__kernel_casinhf): New prototype.
21337         (__kernel_casinh): Likewise.
21338         (__kernel_casinhl): Likewise.
21339         * math/Makefile (libm_calls): Add k_casinh.
21340         * math/k_casinh.c: New file.
21341         * math/k_casinhf.c: Likewise.
21342         * math/k_casinhl.c: Likewise.
21343         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21344         finite nonzero arguments.
21345         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21346         finite nonzero arguments.
21347         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21348         finite nonzero arguments.
21349         * math/s_casinh.c: Do not include <float.h>.
21350         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21351         * math/s_casinhf.c: Do not include <float.h>.
21352         (__casinhf): Move code for finite nonzero arguments to
21353         k_casinhf.c.
21354         * math/s_casinhl.c: Do not include <float.h>.
21355         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21356         redefine.
21357         (__casinhl): Move code for finite nonzero arguments to
21358         k_casinhl.c.
21359         * math/libm-test.inc (cacos_test): Add more tests.
21360         * sysdeps/i386/fpu/libm-test-ulps: Update.
21361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21363 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21365         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21366         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21367         [!HAVE_MREMAP]: Remove [defined linux] case.
21368         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21370 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21372         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21374 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21376         * elf/elf.h (R_386_SIZE32): New relocation.
21377         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21378         R_386_SIZE32.
21379         (elf_machine_rela): Likewise.
21380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21381         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21383 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21385         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21386         (FP_FAST_FMA): Do not define.
21387         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21388         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21389         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21390         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21391         !_SOFT_FLOAT]: Likewise.
21392         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21393         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21394         value.
21395         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21396         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21397         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21398         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21399         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21400         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21401         file.
21403 2013-01-16  Andreas Schwab  <schwab@suse.de>
21405         [BZ #14327]
21406         * include/stdlib.h (__mktemp): Add declaration.
21407         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21408         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21410 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21412         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21413         definitions.
21414         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21415         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21416         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21417         definitions here.
21418         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21419         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21420         definitions.
21421         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21422         and ONE.
21423         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21424         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21425         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21426         definitions.
21427         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21428         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21429         definitions.
21430         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21432         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21434 2013-01-15  David S. Miller  <davem@davemloft.net>
21436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21437         trunc{,f} to libm-sysdep_routes.
21438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21440         file.
21441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21443         file.
21444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21445         file.
21446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21448         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21449         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21450         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21451         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21452         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21453         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21456         nearbyint{,f} to libm-sysdep_routes.
21457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21459         New file.
21460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21461         file.
21462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21463         New file.
21464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21465         file.
21466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21468         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21469         file.
21470         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21471         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21472         file.
21473         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21474         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21475         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21477         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21478         libc_feholdexcept and libc_fesetenv.
21480 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21482         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21484 2013-01-14  David S. Miller  <davem@davemloft.net>
21486         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21487         (SPARC_ASM_VIS2_IFUNC): Likewise.
21488         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21490         use of 'siam' instruction.
21491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21492         Likewise.
21493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21494         Likewise.
21495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21496         Likewise.
21497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21502         file.
21503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21504         file.
21505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21506         file.
21507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21508         file.
21509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21514         new VIS2 routines.
21515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21518         Likewise.
21519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21524         routines to libm-sysdep_routines.
21525         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21528         fdim/fdimf to libm-sysdep_routines.
21529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21530         file.
21531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21533         file.
21534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21537         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21538         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21539         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21540         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21542 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21544         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21545         to optimize copies.
21547         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21552         local variable MPTWO.
21553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21554         Likewise.
21556 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21558         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21559         GLOB_NOESCAPE.
21561 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21563         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21565 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21567         * manual/pattern.texi (glob_t): Document gl_flags.
21568         (glob64_t): Likewise.
21570 2013-01-11  David S. Miller  <davem@davemloft.net>
21572         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21573         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21574         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
21575         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21576         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21577         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21578         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21579         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21580         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21581         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21582         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21583         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21584         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21586         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21587         sparc V9 rather than using V8 code.
21588         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21589         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21591         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21592         Move to...
21593         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21594         Here.
21596 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21598         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21599         not in the main loop.
21600         * configure: Regenerated.
21602 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21604         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21605         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21606         to just #else.
21607         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21608         [!__GLIBC_HAVE_LONG_LONG] case.
21609         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21610         condition to just #else.
21611         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21612         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21613         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21614         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21615         unconditional.
21616         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21617         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21618         #elif condition to just #else.
21619         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21620         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21621         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21622         #elif condition to just #else.
21624 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21626         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21627         (EF_MIPS_ARCH_64): Fix value.
21628         (EF_MIPS_ARCH_32R2): New.
21629         (EF_MIPS_ARCH_64R2): New.
21631 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21633         * Makeconfig (+link-pie-before-libc): New.
21634         (+link-pie-after-libc): Likewise.
21635         (+link-pie-tests): Likewise.
21636         (+link-pie): Rewritten.
21637         (link-before-libc): Remove $(config-LDFLAGS).
21638         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21639         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21640         (config-LDFLAGS): Renamed to ...
21641         (rtld-LDFLAGS): This.
21642         (rtld-tests-LDFLAGS): New macro.
21643         (link-libc-rpath-link): Likewise.
21644         (link-libc-tests-rpath-link): Likewise.
21645         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21646         (link-libc): Prepand $(link-libc-rpath-link).
21647         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21648         (test-program-prefix): New macro.
21649         (test-via-rtld-prefix): Likewise.
21650         (test-program-cmd): Likewise.
21651         (host-test-program-cmd): Likewise.
21652         * Makefile ($(common-objpfx)testrun.sh): Replace
21653         $(run-program-prefix) with $(test-program-prefix).
21654         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21655         $(rtld-LDFLAGS).
21656         ($(common-objpfx)shlib.lds): Likewise.
21657         (build-module-helper): Likewise.
21658         ($(common-objpfx)format.lds): Likewise.
21659         * Rules (binaries-pie-tests): New.
21660         (binaries-pie-notests): Likewise.
21661         (binaries-pie): Rewritten.
21662         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21663         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21664         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21665         (make-test-out): Replace $(host-built-program-cmd) with
21666         $(host-test-program-cmd).
21667         * config.make.in (build-hardcoded-path-in-tests): New variable.
21668         * configure.in (--enable-hardcoded-path-in-tests): New configure
21669         option.
21670         (hardcoded_path_in_tests): New AC_SUBST.
21671         * configure: Regenerated.
21672         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21673         $(built-program-cmd) with $(test-program-cmd).
21674         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21675         (test_program_cmd): This.
21676         * elf/Makefile ($(objpfx)order.out): Run test with
21677         $(test-program-prefix).
21678         ($(objpfx)order2.out): Likewise.
21679         ($(objpfx)tst-initorder.out): Likewise.
21680         ($(objpfx)tst-initorder2.out): Likewise.
21681         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21682         $(test-program-cmd).
21683         ($(objpfx)tst-array1-static.out): Likewise.
21684         ($(objpfx)tst-array2.out): Likewise.
21685         ($(objpfx)tst-array3.out): Likewise.
21686         ($(objpfx)tst-array4.out): Likewise.
21687         ($(objpfx)tst-array5.out): Likewise.
21688         ($(objpfx)tst-array5-static.out): Likewise.
21689         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21690         $(test-program-cmd).
21691         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21692         $(run-program-prefix) with $(test-program-prefix).
21693         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21694         (test_program_prefix): This.
21695         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21696         $(run-program-prefix) with $(test-program-prefix).
21697         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21698         (test_program_prefix): This.
21699         * iconvdata/tst-tables.sh: Likewise.
21700         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21701         $(run-program-prefix) with $(test-program-prefix).
21702         ($(objpfx)tst-translit.out): Likewise.
21703         ($(objpfx)tst-gettext2.out): Likewise.
21704         ($(objpfx)tst-gettext4.out): Likewise.
21705         ($(objpfx)tst-gettext6.out): Likewise.
21706         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21707         (test_program_prefix): This.
21708         * intl/tst-gettext2.sh: Likewise.
21709         * intl/tst-gettext4.sh  Likewise.
21710         * intl/tst-gettext6.sh: Likewise.
21711         * intl/tst-translit.sh: Likewise.
21712         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21713         with $(test-program-cmd).
21714         * libio/Makefile ($(objpfx)test-freopen.out): Replace
21715         $(run-program-prefix) with $(test-program-prefix).
21716         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21717         (test_program_prefix): This.
21718         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21719         $(run-program-prefix) with $(test-program-prefix).
21720         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21721         (test_program_prefix): This.
21722         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21723         * posix/Makefile ($(objpfx)globtest.out): Replace
21724         $(run-via-rtld-prefix) and $(test-wrapper) with
21725         $(test-program-prefix) and $(test-via-rtld-prefix).
21726         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21727         $(test-program-prefix).
21728         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21729         $(host-test-program-cmd).
21730         (tst-spawn-ARGS): Likewise.
21731         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21732         $(test-program-prefix).
21733         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21734         (test_via_rtld_prefix): This.
21735         (test_wrapper): Renamed to ...
21736         (test_program_prefix): This.
21737         (run_program_prefix): Replaced by test_program_prefix.
21738         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21739         (test_program_prefix): This.
21740         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21741         with $(host-test-program-cmd).
21742         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21743         $(run-program-prefix) with $(test-program-prefix).
21744         ($(objpfx)tst-printf.out): Likewise.
21745         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21746         $(test-program-cmd).
21747         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21748         (test_program_prefix): This.
21749         * stdio-common/tst-unbputc.sh: Likewise.
21750         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21751         $(run-program-prefix) with $(test-program-prefix).
21752         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21753         (test_program_prefix): This.
21754         * string/Makefile ($(objpfx)tst-svc.out):  Replace
21755         $(built-program-cmd) with $(test-program-cmd).
21757 2013-01-11  Andreas Jaeger  <aj@suse.de>
21759         [BZ #15003]
21760         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21761         value. Sync with Linux 3.7.
21763 2013-01-10  David S. Miller  <davem@davemloft.net>
21765         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21766         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21767         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21769 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21771         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21772         never set.
21773         * configure: Regenerated.
21775 2013-01-10  David S. Miller  <davem@davemloft.net>
21777         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21778         sparc V9 rather than using V8 code.
21779         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21780         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21782 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21784         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21785         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21786         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21787         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21788         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21789         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21790         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21791         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21792         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21793         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21794         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21795         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21796         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21797         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21798         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21799         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21800         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21801         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21802         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21803         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21804         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21805         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21806         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21807         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21808         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21809         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21810         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21812 2013-01-10  David S. Miller  <davem@davemloft.net>
21814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21816 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21818         * posix/Makefile (tests-static): New variable.
21819         (tests): Add $(tests-static).
21820         (tst-exec-static-ARGS): New variable.
21821         (tst-spawn-static-ARGS): Likewise.
21822         * posix/tst-exec-static.c: New file.
21823         * posix/tst-spawn-static.c: Likewise.
21824         * posix/tst-exec.c: Support run directly.
21825         * posix/tst-spawn.c: Likewise.
21827 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
21829         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21830         long.
21831         * math/bits/mathcalls.h (llrint): Likewise.
21832         (llround): Likewise.
21833         * stdlib/stdlib.h (struct drand48_data): Likewise.
21834         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21835         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21836         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21837         Likewise.
21838         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21839         Likewise.
21840         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21841         (elf_greg_t): Likewise.
21842         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21843         (__jmp_buf): Likewise.
21844         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21845         definitions.
21846         (llrint): Likewise, for all definitions.
21847         (llrintl): Likewise.
21849         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21850         Remove [__GNUC__] condition.
21851         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21852         condition to just [__USE_ISOC99].
21853         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21855 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21857         [BZ #14200]
21858         * sysdeps/unix/sysv/linux/x86/bits/environments.h
21859         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21860         defined.
21861         (_POSIX_V6_ILP32_OFF32): Likewise.
21862         (_XBS5_ILP32_OFF32): Likewise.
21863         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21864         (__ILP32_OFFBIG_LDFLAGS): Likewise.
21866 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21868         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21871         doubles __mpexp_twomm1.  Adjust usage.
21872         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21873         Remove.
21875 2013-01-10  Andreas Schwab  <schwab@suse.de>
21877         [BZ #14964]
21878         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21879         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21881 2013-01-09  David S. Miller  <davem@davemloft.net>
21883         [BZ #15003]
21884         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21885         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21886         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21887         (TCP_FASTOPEN): Define.
21888         (tcp_repair_opt): New structure.
21889         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21890         enum values.
21891         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21892         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21893         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21894         (tcp_cookie_transactions): New structure.
21896 2013-01-09  Anton Blanchard  <anton@samba.org>
21898         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21899         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21900         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21901         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21903 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
21905         * include/features.h (__USE_ANSI): Remove.
21907 2013-01-09  Roland McGrath  <roland@hack.frob.com>
21909         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21911         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21913 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21915         * sysdeps/s390/fpu/libm-test-ulps: Update.
21917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21919         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21920         (__acr): Likewise.
21921         (__cpy): Likewise.
21922         (norm): Likewise.
21923         (denorm): Likewise.
21924         (__mp_dbl): Likewise.
21925         (__dbl_mp): Likewise.
21926         (add_magnitudes): Likewise.
21927         (sub_magnitudes): Likewise.
21928         (__add): Likewise.
21929         (__sub): Likewise.
21930         (__mul): Likewise.
21931         (__inv): Likewise.
21932         (__dvd): Likewise.
21933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21934         (__acr): Likewise.
21935         (__cpy): Likewise.
21936         (norm): Likewise.
21937         (denorm): Likewise.
21938         (__mp_dbl): Likewise.
21939         (__dbl_mp): Likewise.
21940         (add_magnitudes): Likewise.
21941         (sub_magnitudes): Likewise.
21942         (__add): Likewise.
21943         (__sub): Likewise.
21944         (__mul): Likewise.
21945         (__inv): Likewise.
21946         (__dvd): Likewise.
21947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21948         (__acr): Likewise.
21949         (__cpy): Likewise.
21950         (norm): Likewise.
21951         (denorm): Likewise.
21952         (__mp_dbl): Likewise.
21953         (__dbl_mp): Likewise.
21954         (add_magnitudes): Likewise.
21955         (sub_magnitudes): Likewise.
21956         (__add): Likewise.
21957         (__sub): Likewise.
21958         (__mul): Likewise.
21959         (__inv): Likewise.
21960         (__dvd): Likewise.
21962 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21964         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21965         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21966         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21967         2 && __USE_EXTERN_INLINES]: Likewise.
21969 2013-01-08  Andreas Jaeger  <aj@suse.de>
21971         [BZ# 14985]
21972         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21973         Remove.
21974         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21975         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21977 2013-01-07  Anton Blanchard  <anton@samba.org>
21979         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21980         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21981         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21982         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21983         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21984         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21985         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21986         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21988         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21989         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21990         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21991         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21992         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21993         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21994         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21995         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21996         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21997         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21998         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21999         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22000         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22001         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22002         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22003         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22004         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22005         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22006         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22007         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22008         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22009         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22011         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22012         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22013         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22014         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22015         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22016         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22017         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22018         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22019         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22021         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22023 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22025         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22026         (__MALLOC_PMT): Likewise.
22027         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22028         [__GNUC__], only on [_LIBC].
22029         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22030         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22031         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22032         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22033         forward declaration.
22034         (realloc_hook_ini): Likewise.
22035         (memalign_hook_ini): Likewise.
22036         (__libc_memalign): Do not use __MALLOC_PMT in variable
22037         declaration.
22038         (__libc_valloc): Likewise.
22039         (__libc_pvalloc): Likewise.
22040         (__libc_calloc): Likewise.
22041         (__posix_memalign): Likewise.
22043         [BZ #14996]
22044         * math/s_casinh.c: Include <float.h>.
22045         (__casinh): Do not do computation with squaring and square root
22046         for large arguments.
22047         * math/s_casinhf.c: Include <float.h>.
22048         (__casinhf): Do not do computation with squaring and square root
22049         for large arguments.
22050         * math/s_casinhl.c: Include <float.h>.
22051         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22052         (__casinhl): Do not do computation with squaring and square root
22053         for large arguments.
22054         * math/libm-test.inc (casin_test): Add more tests.
22055         (casinh_test): Likewise.
22056         * sysdeps/i386/fpu/libm-test-ulps: Update.
22057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22059 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22061         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22062         (__x86_64_raw_data_cache_size): Likewise.
22063         (__x86_64_data_cache_size_half): Likewise.
22064         (__x86_64_raw_data_cache_size_half): Likewise.
22065         (__x86_64_shared_cache_size): Likewise.
22066         (__x86_64_raw_shared_cache_size): Likewise.
22067         (__x86_64_shared_cache_size_half): Likewise.
22068         (__x86_64_raw_shared_cache_size_half): Likewise.
22069         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22070         to ...
22071         (__x86_data_cache_size): This.
22072         (__x86_64_raw_data_cache_size): Renamed to ...
22073         (__x86_raw_data_cache_size): This.
22074         (__x86_64_data_cache_size_half): Renamed to ...
22075         (__x86_data_cache_size_half): This.
22076         (__x86_64_raw_data_cache_size_half): Renamed to ...
22077         (__x86_raw_data_cache_size_half): This.
22078         (__x86_64_shared_cache_size): Renamed to ...
22079         (__x86_shared_cache_size): This.
22080         (__x86_64_raw_shared_cache_size): Renamed to ...
22081         (__x86_raw_shared_cache_size): This.
22082         (__x86_64_shared_cache_size_half): Renamed to ...
22083         (__x86_shared_cache_size_half): This.
22084         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22085         (__x86_raw_shared_cache_size_half): This.
22086         * sysdeps/x86_64/memcpy.S: Updated.
22087         * sysdeps/x86_64/memset.S: Likewise.
22088         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22089         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22092 2013-01-04  David S. Miller  <davem@davemloft.net>
22094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22096 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22098         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22099         1 to avoid redefinition warning.
22100         (__USE_GNU): Don't define.
22101         (init_signaling_nan): Protoize.
22103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22105 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22107         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22109         (__cpymn): Likewise.
22110         (norm): Remove commented code.
22111         (denorm): Likewise.
22112         (__mp_dbl): Likewise.
22113         (__inv): Likewise.
22114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22115         (__cpymn): Likewise.
22116         (norm): Remove commented code.
22117         (denorm): Likewise.
22118         (__mp_dbl): Likewise.
22119         (__inv): Likewise.
22121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22122         mp_no value for 1.0 and 2.0.
22123         (norm): Use RADIXI instead of radixi.d.
22124         (denorm): Likewise.
22125         (__mul): Use 0.0 instead of zero.d.
22126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22127         mp_no value for 1.0 and 2.0.
22128         (norm): Use RADIXI instead of radixi.d.
22129         (denorm): Likewise.
22130         (__mul): Use 0.0 instead of zero.d.
22132 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22134         [BZ #14994]
22135         * math/s_casinh.c (__casinh): Reduce finite argument to first
22136         quadrant then set signs of results at the end.
22137         * math/s_casinhf.c (__casinhf): Likewise.
22138         * math/s_casinhl.c (__casinhl): Likewise.
22139         * math/libm-test.inc (casin_test): Add more tests.
22140         (casinh_test): Likewise.
22141         * sysdeps/i386/fpu/libm-test-ulps: Update.
22142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22144 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22146         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22148         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22150         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22151         declarations.
22152         (denorm): Likewise.
22153         (__mp_dbl): Likewise.
22154         (__inv): Likewise.
22156         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22157         and adjust the header comment.
22159         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22160         variable name from declaration.
22162 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22165         Initialize COMMON_CPUID_INDEX_7 element.
22166         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22167         (CPUID_RTM): Likewise.
22168         (HAS_RTM): Likewise.
22169         (COMMON_CPUID_INDEX_7): New enum.
22171 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22173         [BZ #14981]
22174         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22175         size is zero, record memory as freed.
22177 2013-01-03  Andreas Jaeger  <aj@suse.de>
22179         * po/ia.po: Add new Interlingua translation.
22181 2012-01-03  Allan McRae  <allan@archlinux.org>
22183         * locale/programs/localedef.c: Fix description of '--posix' flag.
22185 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22187         * NEWS: Update dates in second copyright notice.
22188         * README: Update copyright dates in example.
22189         * manual/libc.texinfo: Update copyright dates.
22190         * scripts/test-installation.pl: Update copyright date in --version
22191         output.
22193         * hurd/ctty-input.c: Fix copyright notice formatting.
22194         * hurd/ctty-output.c: Likewise.
22195         * hurd/dtable.c: Likewise.
22196         * hurd/hurd-raise.c: Likewise.
22197         * hurd/hurdprio.c: Likewise.
22198         * hurd/msgportdemux.c: Likewise.
22199         * misc/sys/file.h: Likewise.
22200         * misc/sys/ioctl.h: Likewise.
22201         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22202         * sysdeps/mach/hurd/chdir.c: Likewise.
22203         * sysdeps/mach/hurd/fchdir.c: Likewise.
22204         * sysdeps/mach/hurd/rename.c: Likewise.
22205         * sysdeps/mach/hurd/rmdir.c: Likewise.
22206         * sysdeps/mach/hurd/seekdir.c: Likewise.
22207         * sysdeps/mach/hurd/setsid.c: Likewise.
22208         * sysdeps/posix/wait3.c: Likewise.
22210         * All files with FSF copyright notices: Update copyright dates
22211         using scripts/update-copyrights.
22212         * intl/plural.c: Regenerated.
22213         * locale/programs/charmap-kw.h: Likewise.
22214         * locale/programs/locfile-kw.h: Likewise.
22216 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22218         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22219         four values.
22221         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22222         calculation loop and add branch prediction.
22224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22225         check access beyond bounds of m1np.
22227         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22228         MPTWO.
22229         (__inv): Remove local variable MPTWO to use the global
22230         constant.
22231         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22232         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22233         variable MPTWO.
22234         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22235         MP3HALFS static const.
22237 2013-01-01  David S. Miller  <davem@davemloft.net>
22239         * po/ca.po: Update from translation team.
22241 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22243         * scripts/update-copyrights: New file.
22244         * Makeconfig: Reformat copyright notice.
22245         * ctype/ctype.h: Likewise.
22246         * debug/swprintf_chk.c: Likewise.
22247         * elf/dl-cache.c: Likewise.
22248         * elf/dl-debug.c: Likewise.
22249         * elf/dl-object.c: Likewise.
22250         * grp/initgroups.c: Likewise.
22251         * hurd/Makefile: Likewise.
22252         * hurd/hurd/signal.h: Likewise.
22253         * hurd/hurdfault.c: Likewise.
22254         * hurd/hurdioctl.c: Likewise.
22255         * hurd/hurdlookup.c: Likewise.
22256         * hurd/intr-msg.c: Likewise.
22257         * iconv/gconv_open.c: Likewise.
22258         * libio/swprintf.c: Likewise.
22259         * locale/lc-ctype.c: Likewise.
22260         * locale/nl_langinfo.c: Likewise.
22261         * mach/Machrules: Likewise.
22262         * mach/Makefile: Likewise.
22263         * malloc/obstack.h: Likewise.
22264         * manual/Makefile: Likewise.
22265         * manual/tsort.awk: Likewise.
22266         * misc/bits/stab.def: Likewise.
22267         * nis/nis_print_group_entry.c: Likewise.
22268         * nis/nis_table.c: Likewise.
22269         * nis/nss_compat/compat-pwd.c: Likewise.
22270         * nis/nss_compat/compat-spwd.c: Likewise.
22271         * po/Makefile: Likewise.
22272         * posix/fnmatch.c: Likewise.
22273         * posix/regex.h: Likewise.
22274         * resolv/Makefile: Likewise.
22275         * resolv/nss_dns/dns-network.c: Likewise.
22276         * resolv/res_hconf.c: Likewise.
22277         * scripts/gen-sorted.awk: Likewise.
22278         * soft-fp/soft-fp.h: Likewise.
22279         * stdio-common/printf.h: Likewise.
22280         * stdlib/monetary.h: Likewise.
22281         * stdlib/random.c: Likewise.
22282         * stdlib/random_r.c: Likewise.
22283         * sysdeps/generic/Makefile: Likewise.
22284         * sysdeps/gnu/Makefile: Likewise.
22285         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22286         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22287         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22288         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22289         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22292         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22293         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22294         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22295         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22296         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22297         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22298         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22299         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22300         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22301         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22303         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22304         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22305         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22306         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22307         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22308         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22309         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22311         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22312         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22313         * sysdeps/mach/hurd/errnos.awk: Likewise.
22314         * sysdeps/mach/hurd/fork.c: Likewise.
22315         * sysdeps/mach/hurd/getcwd.c: Likewise.
22316         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22317         * sysdeps/mach/hurd/mmap.c: Likewise.
22318         * sysdeps/mach/hurd/utimes.c: Likewise.
22319         * sysdeps/mach/hurd/xmknod.c: Likewise.
22320         * sysdeps/posix/profil.c: Likewise.
22321         * sysdeps/posix/readdir_r.c: Likewise.
22322         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22323         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22324         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22325         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22327         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22328         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22329         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22331         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22332         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22333         * sysdeps/pthread/lio_listio.c: Likewise.
22334         * sysdeps/sparc/dl-procinfo.h: Likewise.
22335         * sysdeps/unix/i386/sysdep.S: Likewise.
22336         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22337         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22338         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22339         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22341         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22342         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22343         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22344         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22345         * sysdeps/wordsize-32/divdi3.c: Likewise.
22346         * time/sys/time.h: Likewise.
22347         * wcsmbs/Makefile: Likewise.
22349 2013-01-01  David S. Miller  <davem@davemloft.net>
22351         * po/fr.po: Update from translation team.
22353         * catgets/gencat.c: Update copyright year.
22354         * csu/version.c: Likewise.
22355         * debug/catchsegv.sh: Likewise.
22356         * debug/pcprofiledump.c: Likewise.
22357         * debug/xtrace.sh: Likewise.
22358         * elf/ldconfig.c: Likewise.
22359         * elf/ldd.bash.in: Likewise.
22360         * elf/pldd.c: Likewise.
22361         * elf/sotruss.ksh: Likewise.
22362         * elf/sprof.c: Likewise.
22363         * iconv/iconv_prog.c: Likewise.
22364         * iconv/iconvconfig.c: Likewise.
22365         * locale/programs/locale.c: Likewise.
22366         * locale/programs/localedef.c: Likewise.
22367         * login/programs/pt_chown.c: Likewise.
22368         * malloc/memusage.sh: Likewise.
22369         * malloc/memusagestat.c: Likewise.
22370         * malloc/mtrace.pl: Likewise.
22371         * nscd/nscd.c: Likewise.
22372         * nss/getent.c: Likewise.
22373         * nss/makedb.c: Likewise.
22374         * posix/getconf.c: Likewise.
22376 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22378         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22379         numbers.
22381 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22383         * math/bits/mathcalls.h (modf): Use __nonnull.
22385 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22387         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22388         (split): Use macro CN instead of the bare value.
22389         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22390         could be used.
22391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22392         instead of the bare value.
22393         (power1): Likewise.
22395 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22398         __ATAN_TWOM.
22399         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22401         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22402         their values.
22403         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22404         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22405         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22406         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22408 2012-12-28  Andreas Jaeger  <aj@suse.de>
22410         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22411         values are from Linux 3.7.
22413         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22414         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22416 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22418         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22419         TRUE case.
22421         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22422         (norm): Likewise.
22423         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22424         variables with preprocessor constants.
22425         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22426         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22429 2012-12-27  Bruno Haible  <bruno@clisp.org>
22431         [BZ #14317]
22432         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22433         only if needed.
22435 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22438         and use variable directly.
22439         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22441         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22442         MPONE.
22443         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22444         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22445         variable MPONE.
22446         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22448         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22449         include directive.  Remove local variable MPONE.
22450         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22451         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22452         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22454 2012-12-25  David S. Miller  <davem@davemloft.net>
22456         * version.h (RELEASE): Set to "development".
22457         (VERSION): Set to "2.17.90".
22458         * NEWS: Add 2.18 section.
22460 2012-12-21  David S. Miller  <davem@davemloft.net>
22462         * po/hr.po: Update from translation team.
22464 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22466         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22468 2012-12-19  Steve Ellcey  <sellcey@mips.com>
22470         * NEWS:  Mention new memcpy for MIPS.
22472 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22474         * manual/contrib.texi (Contributors): Spelling correction.
22476 2012-12-15  David S. Miller  <davem@davemloft.net>
22478         * po/ru.po: Update from translation team.
22480 2012-12-13  David S. Miller  <davem@davemloft.net>
22482         * NEWS: Mention IFUNC testsuite enhancements.
22484         * po/pl.po: Update from translation team.
22485         * po/bg.po: Likewise.
22487         * manual/contrib.texi (Contributors): Update entries for Hongjiu
22488         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
22490 2012-12-11  David S. Miller  <davem@davemloft.net>
22492         * po/sv.po: Update from translation team.
22494         * po/vi.po: Update from translation team.
22496         * po/cs.po: Update from translation team.
22498         * po/de.po: Update from translation team.
22499         * po/eo.po: Likewise.
22500         * po/nl.po: Likewise.
22502 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22504         [BZ #14246]
22505         * manual/argp.texi (Argp Helper Functions): Move node to follow
22506         Argp Parsing State.
22508         [BZ #14872]
22509         * manual/conf.texi (Limits on File System Capacity): Mention if
22510         terminating null is included in the max size.
22512 2012-12-10  Andreas Jaeger  <aj@suse.de>
22514         * po/cs.po: Update from translation team.
22516 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22518         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22519         void pointer and cast to uintptr_t.
22520         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22521         path.
22522         * sysdeps/s390/s390-64/memcpy.S: Likewise.
22523         * sysdeps/s390/s390-64/memset.S: Likewise.
22525 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
22527         [BZ #14833]
22528         * menual/message.texi (Message Translation): Fix typos.
22529         (Helper programs for gettext): Likewise.
22531 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
22533         [BZ #14898]
22534         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22535         Change to -1.
22537 2012-12-07  David S. Miller  <davem@davemloft.net>
22539         * po/libc.pot: Update.
22541 2012-12-07  Richard Henderson  <rth@redhat.com>
22543         [BZ #10114]
22544         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22545         normal/normal case to before the switch.
22546         (_FP_DIV): Likewise.
22548 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
22549             Mike Frysinger  <vapier@gentoo.org>
22551         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22552         check for __NR_fadvise64_64.
22554 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
22556         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22557         0, not just to plain "0" as a statement.
22558         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22559         with cw.
22561 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
22563         * NEWS: Use sourceware.org in Bugzilla URL.
22565 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22568         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22570         * stdio-common/tst-put-error.c (do_test): Add newline to the
22571         padded test to ensure flush.
22573 2012-12-05  Jeff Law  <law@redhat.com>
22575         * sunrpc/etc.rpc (fedfs_admin): Add entry.
22577 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
22579         * README: Don't refer to ports add-on as distributed separately.
22580         Mention AArch64 in list of systems supported in the ports add-on.
22582         * LICENSES: Add more non-FSF copyright and license notices.
22584         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22585         ((unused)).
22587         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22589         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22590         10000 as width of padded output.
22592 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22594         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22596         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22597         variable LX with __attribute__ ((unused)).
22598         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22599         Likewise.
22600         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22601         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22602         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22603         with __attribute__ ((unused)).
22605 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22607         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22609 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22611         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22612         (CFLAGS-nldbl-acos.c): New variable.
22613         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22614         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22615         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22616         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22617         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22618         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22619         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22620         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22621         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22622         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22623         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22624         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22625         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22626         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22627         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22628         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22629         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22630         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22631         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22632         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22633         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22634         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22635         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22636         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22637         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22638         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22639         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22640         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22641         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22642         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22643         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22644         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22645         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22646         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22647         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22648         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22649         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22650         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22651         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22652         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22653         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22654         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22655         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22656         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22657         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22658         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22659         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22660         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22661         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22662         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22663         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22664         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22665         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22666         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22667         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22668         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22669         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22670         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22671         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22672         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22673         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22674         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22675         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22676         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22677         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22678         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22679         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22680         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22681         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22682         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22683         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22684         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22685         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22686         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22687         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22688         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22689         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22690         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22691         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22692         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22693         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22694         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22695         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22696         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22697         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22698         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22699         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22700         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22701         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22702         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22703         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22704         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22705         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22706         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22707         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22708         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22709         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22712         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22714         [BZ #14914]
22715         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22716         whole low double instead of just low 47 bits when splitting values
22717         into two parts.
22719 2012-12-03  Allan McRae  <allan@archlinux.org>
22721         * manual/stdio.texi (Predefined Printf Handlers): Remove
22722         @hsep and @vsep usage.
22724 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
22726         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22727         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22729 2012-12-03  Jeff Law  <law@redhat.com>
22731         * time/sys/time.h (settimeofday): Do not mark TV argument
22732         as __nonnull.
22734 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
22736         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22737         when currently writing and seek to current position when not.
22738         * libio/Makefile (tests): Remove bug-fclose1.
22739         * libio/bug-fclose1.c: Delete.
22741 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
22743         * manual/arith.texi (feenableexcept): Fix typo.
22744         (fedisableexcept): Likewise.
22746 2012-11-30  Roland McGrath  <roland@hack.frob.com>
22748         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22749         second, differently-typed declaration, rather than a cast.
22751 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22753         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22754         * include/rpc/svc.h: ... here.
22756 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
22758         [BZ #13013]
22759         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22760         depending n and resplen2 to catch cases where answer
22761         equals answerp2.
22763 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
22765         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22766         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22768 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
22770         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22772 2012-11-29  Roland McGrath  <roland@hack.frob.com>
22774         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22776 2012-11-28  Jeff Law  <law@redhat.com>
22778         [BZ #13761]
22779         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22780         dataset_temporary.  Track alloca usage into alloca_used.
22781         If dataset is large allocate and release it via malloc/free.
22783 2012-06-04  Florian Weimer  <fweimer@redhat.com>
22785         [BZ #14197]
22786         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22788 2012-11-28  David S. Miller  <davem@davemloft.net>
22790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22792 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22794         [BZ #14803]
22795         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22796         of pi/2 rounded to nearest to 64 bits.
22797         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22798         nearest to 64 bits.
22799         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22800         bits.
22802 2012-11-28  Jeff Law <law@redhat.com>
22803             Martin Osvald <mosvald@redhat.com>
22805         [BZ #14889]
22806         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22807         * sunrpc/svc.c: Include time.h.
22808         (__svc_accept_failed): New function.
22809         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22810         any reason other than EINTR, call __svc_accept_failed.
22811         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22812         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22814 2012-11-28  Andreas Schwab  <schwab@suse.de>
22816         * scripts/abilist.awk: Also handle indirect functions in .opd
22817         section.
22819 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22821         [BZ #13881]
22822         * sysdeps/x86/fpu/powl_helper.c: New file.
22823         * sysdeps/x86/fpu/Makefile: Likewise.
22824         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22825         (p3): New object.
22826         (__ieee754_powl): Use __powl_helper for finite arguments except
22827         integer exponents below 8.
22828         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22829         (p3): New object.
22830         (__ieee754_powl): Use __powl_helper for finite arguments except
22831         integer exponents below 8.
22832         * math/libm-test.inc (pow_test): Add more tests and enable some
22833         previously disabled tests.
22834         * sysdeps/i386/fpu/libm-test-ulps: Update.
22835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22838             Carlos O'Donell  <carlos_odonell@mentor.com>
22840         * nss/makedb.c (is_prime): Assert that input is odd and greater
22841         than 4.  Note that fact in a comment too.
22842         (next_prime): Add 4 to input.
22844 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22846         [BZ #11741]
22847         * libio/Makefile (tests): Add test case tst-fwrite-error.
22848         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22849         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22850         * libio/tst-fwrite-error.c: New test case.
22852 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
22854         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22855         before casting to void *.
22856         * include/libc-internal.h (__pointer_type): New macro.
22857         (__integer_if_pointer_type_sub): Likewise.
22858         (__integer_if_pointer_type): Likewise.
22859         (cast_to_integer): Likewise.
22860         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22861         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22862         before casting to atomic64_t.
22863         (atomic_exchange_acq): Likewise.
22864         (__arch_exchange_and_add_body): Likewise.
22865         (__arch_add_body): Likewise.
22866         (atomic_add_negative): Likewise.
22867         (atomic_add_zero): Likewise.
22869 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
22871         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22872         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22873         (add_fdes): Likewise.
22874         (linear_search_fdes): Likewise.
22875         (binary_search_unencoded_fdes): Likewise.
22877 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
22879         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22881 2012-11-24  Adam Conrad  <adconrad@0c3.net>
22883         * configure.in: Autodetect C++ header directories.
22884         * configure: Regenerated.
22886 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
22888         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22890 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
22892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22894 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
22896         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22897         LDBL_MANT_DIG == 106]: Disable some tests.
22898         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22899         Likewise.
22900         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22901         Likewise.
22903         [BZ #14871]
22904         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22905         input for small inputs.  Return +/- pi/2 for large inputs.
22906         * math/libm-test.inc (atan_test): Add more tests.
22908         * sysdeps/generic/unwind-dw2-fde-glibc.c
22909         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22910         __attribute__ ((unused)).
22912         [BZ #14645]
22913         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22914         x * y if x and y are nonzero and z is zero.
22916         [BZ #14811]
22917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22918         nonzero exponents with absolute value below 0x1p-117 to +/-
22919         0x1p-117.
22921         [BZ #14869]
22922         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22923         up arguments below 2**-450, not just those below 2**-500.
22924         * math/libm-test.inc (hypot_test): Add another test.
22926         [BZ #14868]
22927         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22928         Return a+b for ratio over 2**120, not 2**60.
22929         * math/libm-test.inc (hypot_test): Add another test.
22931         * math/libm-test.inc (clog_test): Use
22932         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22933         (clog10_test): Likewise.
22935         [BZ #6778]
22936         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22938 2012-11-22  Andreas Schwab  <schwab@suse.de>
22940         * sysdeps/i386/fpu/libm-test-ulps: Update.
22942 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22944         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22945         printf output with newline.
22947 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22949         [BZ #14865]
22950         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22951         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22952         -z nodlopen, -z initfirst and -z execstack support.
22953         * configure: Regenerated.
22955         * elf/elf.h (DF_1_NODIRECT): New macro.
22956         (DF_1_IGNMULDEF): Likewise.
22957         (DF_1_NOKSYMS): Likewise.
22958         (DF_1_NOHDR): Likewise.
22959         (DF_1_EDITED): Likewise.
22960         (DF_1_NORELOC): Likewise.
22961         (DF_1_SYMINTPOSE): Likewise.
22962         (DF_1_GLOBAUDIT): Likewise.
22963         (DF_1_SINGLETON): Likewise.
22964         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22965         DT_1_SUPPORTED_MASK bits.
22966         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22968 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22970         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22972 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22974         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22975         macro.
22977         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22978         (sendmmsg): Move declarations...
22979         * socket/sys/socket.h: ... here.
22980         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22981         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22982         include it from...
22983         * socket/recvmmsg.c: ... this new file.
22984         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22985         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22986         definition of __sendmmsg hidden.
22987         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22988         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22989         Move ENOSYS stub into and include it from...
22990         * socket/sendmmsg.c: ... this new file.
22991         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22992         (sysdep_routines): Move recvmmsg and sendmmsg...
22993         * socket/Makefile (routines): ... here.
22994         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22995         (GLIBC_PRIVATE): Add __sendmmsg.
22996         * include/sys/socket.h (__sendmmsg): Add declarations.
22997         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22998         sendmmsg.
23000 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23002         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23003         variable I1 with __attribute__ ((unused)).
23004         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23006 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23008         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23009         DUMMY variables with __attribute__ ((unused)).
23011         * bits/byteswap.h: Include <bits/types.h>.
23012         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23014 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23016         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23017         string_t.  Do not manually set errno.
23018         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23019         length with __strnlen.  Make sure to both set errno and return it on
23020         failure.
23022 2012-11-19  David S. Miller  <davem@davemloft.net>
23024         With help from Joseph Myers.
23025         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23026         very large arguments properly.
23027         * math/libm-test.inc (atan_test): New tests.
23028         (atan2_test): New tests.
23029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23032 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23034         [BZ #14856]
23035         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23036         Define to 3.
23038         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23039         [POSIX] (EADDRNOTAVAIL): Likewise.
23040         [POSIX] (EAFNOSUPPORT): Likewise.
23041         [POSIX] (EALREADY): Likewise.
23042         [POSIX] (ECONNABORTED): Likewise.
23043         [POSIX] (ECONNREFUSED): Likewise.
23044         [POSIX] (ECONNRESET): Likewise.
23045         [POSIX] (EDESTADDRREQ): Likewise.
23046         [POSIX] (EDQUOT): Likewise.
23047         [POSIX] (EHOSTUNREACH): Likewise.
23048         [POSIX] (EIDRM): Likewise.
23049         [POSIX] (EISCONN): Likewise.
23050         [POSIX] (ELOOP): Likewise.
23051         [POSIX] (EMULTIHOP): Likewise.
23052         [POSIX] (ENETDOWN): Likewise.
23053         [POSIX] (ENETUNREACH): Likewise.
23054         [POSIX] (ENOBUFS): Likewise.
23055         [POSIX] (ENODATA): Likewise.
23056         [POSIX] (ENOLINK): Likewise.
23057         [POSIX] (ENOMSG): Likewise.
23058         [POSIX] (ENOPROTOOPT): Likewise.
23059         [POSIX] (ENOSR): Likewise.
23060         [POSIX] (ENOSTR): Likewise.
23061         [POSIX] (ENOTCONN): Likewise.
23062         [POSIX] (ENOTSOCK): Likewise.
23063         [POSIX] (EOPNOTSUPP): Likewise.
23064         [POSIX] (EOVERFLOW): Likewise.
23065         [POSIX] (EPROTO): Likewise.
23066         [POSIX] (EPROTONOSUPPORT): Likewise.
23067         [POSIX] (EPROTOTYPE): Likewise.
23068         [POSIX] (ESTALE): Likewise.
23069         [POSIX] (ETIME): Likewise.
23070         [POSIX] (ETXTBSY): Likewise.
23071         [POSIX] (EWOULDBLOCK): Likewise.
23072         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23073         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23074         [POSIX] (SEEK_CUR): Likewise.
23075         [POSIX] (SEEK_END): Likewise.
23076         [POSIX || UNIX98] (mode_t): Do not require.
23077         [POSIX] (off_t): Likewise.
23078         [POSIX] (pid_t): Likewise.
23079         [POSIX] (sys/stat.h): Do not allow header.
23080         [POSIX] (unistd.h): Likewise.
23081         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23082         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23083         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23084         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23085         require.
23086         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23087         sigevent): Specify elements.
23088         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23089         entry.
23090         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23091         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23093         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23094         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23095         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23096         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23097         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23098         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23099         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23100         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23101         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23102         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23103         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23104         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23105         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23106         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23107         Likewise.
23108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23109         Likewise.
23110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23111         Likewise.
23112         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23113         Likewise.
23114         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23115         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23116         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23117         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23118         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23119         Specify lower bound on value.
23120         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23121         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23122         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23123         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23124         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23125         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23126         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23127         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23128         value.
23129         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23130         as optional.
23131         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23132         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23133         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23134         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23135         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23136         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23137         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23138         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23139         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23140         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23141         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23142         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23143         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23144         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23145         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23146         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23147         entry.
23148         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23149         optional.
23150         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23151         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23152         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23153         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23154         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23155         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23156         Likewise.
23157         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23158         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23159         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23160         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23161         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23162         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23163         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23164         as optional.
23165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23166         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23167         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23168         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23169         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23170         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23171         specify as optional.
23172         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23173         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23174         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23175         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23176         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23177         [XPG3] (NL_LANGMAX): Likewise.
23178         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23179         [POSIX || XPG3] (NL_NMAX): Likewise.
23180         [POSIX || XPG3] (NL_SETMAX): Likewise.
23181         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23182         [XPG3] (NZERO): Likewise.
23183         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23184         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23185         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23186         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23187         (REG_ERANGE): Expect.
23188         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23189         optional-constant.
23190         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23191         Use (void) in prototype.
23192         [POSIX] (*_t): Allow.
23193         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23194         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23195         (WRDE_BADVAL): Expect.
23197         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23198         expect.
23199         [XPG3 || XPG4] (O_RSYNC): Likewise.
23200         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23201         Likewise.
23202         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23203         [XPG3 || XPG4] (sigqueue): Likewise.
23204         [XPG3 || XPG4] (sigtimedwait): Likewise.
23205         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23206         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23207         [XPG3 || XPG4] (vsnprintf): Likewise.
23208         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23209         Likewise.
23210         [XPG3 || XPG4] (blksize_t): Likewise.
23211         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23212         Likewise.
23213         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23214         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23215         [XPG3 || XPG4] (struct itimerspec): Likewise.
23216         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23217         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23218         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23219         [XPG3 || XPG4] (clockid_t): Likewise.
23220         [XPG3 || XPG4] (timer_t): Likewise.
23221         [XPG3 || XPG4] (clock_getres): Likewise.
23222         [XPG3 || XPG4] (clock_gettime): Likewise.
23223         [XPG3 || XPG4] (clock_settime): Likewise.
23224         [XPG3 || XPG4] (nanosleep): Likewise.
23225         [XPG3 || XPG4] (timer_create): Likewise.
23226         [XPG3 || XPG4] (timer_delete): Likewise.
23227         [XPG3 || XPG4] (timer_gettime): Likewise.
23228         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23229         [XPG3 || XPG4] (timer_settime): Likewise.
23230         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23231         [XPG3 || XPG4] (getlogin_r): Likewise.
23232         [XPG3 || XPG4] (pread): Likewise.
23233         [XPG3 || XPG4] (pthread_atfork): Likewise.
23234         [XPG3 || XPG4] (pwrite): Likewise.
23236         [BZ #14835]
23237         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23238         <bits/siginfo.h>.
23240 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23242         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23243         finalizing MALLSTREAM.
23245         * sysdeps/mach/hurd/syncfs.c: New file.
23247 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23249         [BZ #14719]
23250         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23251         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23252         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23253         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23254         (_nss_dns_gethostbyname4_r): Likewise.
23255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23256         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23258 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23260         [BZ #13763]
23261         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23263 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23265         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23266         * elf/cache.c (print_entry): Print ",AArch64" for
23267         FLAG_AARCH64_LIB64
23269         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23270         * elf/cache.c (print_entry): Print ",hard-float" for
23271         FLAG_ARM_LIBHF.
23273 2012-11-18  David S. Miller  <davem@davemloft.net>
23275         With help from Joseph Myers.
23276         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23277         cutoff to 2**-13.
23278         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23279         cutoff to 2**-25.
23280         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23281         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23282         small.
23283         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23284         * math/libm-test.inc (y0_test): New tests.
23285         (y1_test): New tests.
23286         * sysdeps/i386/fpu/libm-test-ulps: Update.
23287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23290 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23292         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23293         64-bit targets.
23294         * configure: Regenerated.
23296 2012-11-17  David S. Miller  <davem@davemloft.net>
23298         [BZ #14811]
23299         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23300         nonzero exponents with absolute value below 0x1p-128 to +/-
23301         0x1p-128.
23303 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23305         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23307         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23309         * posix/getconf-speclist.c: New file.
23310         * posix/posix-envs.def: Likewise.
23311         * posix/confstr.c (START_ENV_GROUP): New macro.
23312         (END_ENV_GROUP): Likewise.
23313         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23314         (KNOWN_PRESENT_ENV_STRING): Likewise.
23315         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23316         (UNKNOWN_ENVIRONMENT): Likewise.
23317         (confstr): Include posix-envs.def instead of handling
23318         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23319         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23320         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23321         (END_ENV_GROUP): Likewise.
23322         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23323         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23324         (UNKNOWN_ENVIRONMENT): Likewise.
23325         (__sysconf): Include posix-envs.def instead of handling associated
23326         cases directly here.
23327         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23328         preprocessing getconf-speclist.c rather than running getconf or
23329         generating empty file.
23331 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23333         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23335 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23337         [BZ #14672]
23338         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23340 2012-11-16  David S. Miller  <davem@davemloft.net>
23342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23343         smaller than LDBL_EPSILON/2.0L, just return xm1.
23345 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23347         * elf/tst-array1.c (init): Set constructor priority to 1000.
23348         (fini): Set destructor priority to 1000.
23349         * elf/tst-array2dep.c: Likewise.
23351 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23353         [BZ #11741]
23354         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23355         (_IO_new_file_xsputn): Also return EOF if none of the input
23356         data was written when overflow failed.
23357         * libio/iopadn.c (_IO_padn): Likewise.
23358         * libio/iowpadn.c (_IO_wpadn): Likewise.
23359         * stdio-common/tst-put-error.c: Add copyright notice.
23360         (do_test): Add case for printing padded string.
23361         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23362         _IO_padn returned error.
23363         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23364         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23365         return EOF.
23367 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23369         * libio/libioP.h: Add comment note that the references to C++
23370         bits are now obsolete.
23372 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23374         * math/libm-test.inc (check_complex): Use asprintf.
23376 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23378         * debug/pcprofiledump.c (print_version): Update copyright year.
23379         * malloc/memusagestat.c (print_version): Likewise.
23381 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23383         [BZ #14831]
23384         * elf/Makefile (tests): Add tst-audit8.
23385         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23386         ($(objpfx)tst-audit8.out): New target.
23387         (tst-audit8-ENV): New variable.
23388         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23389         audit if l_reloc_result is NULL.
23390         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23391         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23392         * elf/tst-audit8.c: New file.
23394 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23396         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23397         * misc/Makefile (CFLAGS-select.c): Define.
23398         * posix/Makefile (CFLAGS-pause.c): Define.
23400 2012-11-13  David S. Miller  <davem@davemloft.net>
23402         * crypt/Makefile: Move test targets after toplevel Rules
23403         inclusion.  Grab any necessary sysdep routines when linking.
23404         * crypt/md5.c (md5_process_block): Remove define, we will always
23405         name it __md5_process_block.
23406         (md5_finish_ctx): Update md5_process_block call.
23407         (md5_stream): Likewise.
23408         (md5_process_bytes): Likewise.
23409         (md5_process_block): Rename to __md5_process_block and move to ...
23410         * crypt/md5-block.c: ... here.
23411         * crypt/sha256.c (sha256_process_block): Move to ...
23412         * crypt/sha256-block.c: ... here.
23413         * crypt/sha512.c (sha512_process_block): Move to ...
23414         * crypt/sha512-block.c: ... here.
23415         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23416         path.
23417         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23418         * sysdeps/sparc/sparc64/multiarch/Makefile
23419         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23420         crypt subdir.
23421         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23422         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23423         multiarch changes.
23424         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23425         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23426         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23427         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23428         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23429         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23430         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23431         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23432         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23433         file.
23434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23435         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23436         file.
23437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23439 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
23441         * timezone/tzselect.ksh: Update from tzcode git revision
23442         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23443         * timezone/zdump.c: Likewise.
23444         * timezone/zic.c: Likewise.
23445         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23446         in TZVERSION setting, not $(PKGVERSION).
23447         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
23448         REPORT_BUGS_TO settings.
23450         [BZ #14838]
23451         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23452         macro.
23454 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23456         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23457         detection to immediately after _FP_ROUND().
23458         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23459         bits are 0.
23461 2012-11-11  David S. Miller  <davem@davemloft.net>
23463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23464         inttypes.h
23465         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23466         __close rather than their public counterparts.
23468 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
23470         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23471         file.
23472         [UNIX98] (sem_timedwait): Do not expect.
23473         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23474         [XPG4 || UNIX98] (sockatmark): Do not expect.
23475         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23476         (clock_getcpuclockid): Do not expect.
23477         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23478         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23479         Do not expect.
23480         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23481         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23482         [UNIX98] (vwscanf): Likewise.
23483         [UNIX98] (vswscanf): Likewise.
23485 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
23487         * timezone/version.h: Remove file.
23488         * timezone/README: Do not refer to version.h.
23489         * timezone/Makefile ($(objpfx)zic.o): New dependency on
23490         $(objpfx)version.h.
23491         ($(objpfx)zdump.o): Likewise.
23492         ($(objpfx)version.h): New target.
23494         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23495         2012i.
23496         * timezone/README: Don't mention modification to tzselect.ksh.
23497         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23498         work on unmodified tzselect.ksh.  Substitute version numbers in
23499         tzselect.ksh.
23501         * Makefile (format-me): Remove.
23502         (INSTALL): Adjust indentation.  Use commands directly instead of
23503         using $(format-me).
23505         * aclocal.m4 (ACX_PKGVERSION): New macro.
23506         (ACX_BUGURL): Likewise.
23507         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23508         (PKGVERSION): New AC_DEFINE_UNQUOTED.
23509         (REPORT_BUGS_TO): Likewise.
23510         * configure: Regenerated.
23511         * config.h.in (PKGVERSION): New macro.
23512         (REPORT_BUGS_TO): Likewise.
23513         * config.make.in (PKGVERSION): New variable.
23514         (PKGVERSION_TEXI): Likewise.
23515         (REPORT_BUGS_TO): Likewise.
23516         (REPORT_BUGS_TEXI): Likewise.
23517         * Makefile (format-me): Use -I$(common-objpfx)manual.
23518         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23519         ($(common-objpfx)manual/%): New target.
23520         (manual/%): Remove target.
23521         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23522         (print_version): Use PKGVERSION.
23523         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23524         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23525         and REPORT_BUGS_TO.
23526         ($(objpfx)xtrace): Likewise.
23527         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23528         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23529         (print_version): Use PKGVERSION.
23530         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23531         (do_version): Use PKGVERSION.
23532         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23533         REPORT_BUGS_TO.
23534         (common-ldd-rewrite): Likewise.
23535         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23536         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23537         (print_version): Use PKGVERSION.
23538         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23539         * elf/pldd.c (argp_program_bug_address): Remove variable.
23540         (more_help): New function.
23541         (argp): Use more_help.
23542         (print_version): Use PKGVERSION.
23543         * elf/sln.c (main): Use PKGVERSION.
23544         (usage): Use REPORT_BUGS_TO.
23545         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23546         (top level): Use PKGVERSION.
23547         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23548         (print_version): Use PKGVERSION.
23549         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23550         (print_version): Use PKGVERSION.
23551         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23552         (print_version): Use PKGVERSION.
23553         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23554         (print_version): Use PKGVERSION.
23555         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23556         (print_version): Use PKGVERSION.
23557         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23558         (print_version): Use PKGVERSION.
23559         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23560         and BUGURL.
23561         ($(objpfx)memusage): Likewise.
23562         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23563         (do_version): Use PKGVERSION.
23564         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23565         (print_version): Use PKGVERSION.
23566         * malloc/mtrace.pl ($PACKAGE): Remove variable.
23567         ($PKGVERSION): New variable.
23568         ($REPORT_BUGS_TO): Likewise.
23569         (usage): Use $REPORT_BUGS_TO.
23570         (top level): Use $PKGVERSION.
23571         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23572         ($(objpfx)pkgvers.texi): New rule.
23573         ($(objpfx)stamp-pkgvers): Likewise.
23574         * manual/install.texi: Include pkgvers.texi.
23575         (--with-pkgversion): Document new configure option.
23576         (--with-bugurl): Likewise.
23577         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23578         than necessarily for this particular distribution.  Use
23579         REPORT_BUGS_TO for where to report bugs.
23580         * INSTALL: Regenerated.
23581         * manual/libc.texinfo: Include pkgvers.texi.
23582         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23583         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23584         (print_version): Use PKGVERSION.
23585         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23586         (print_version): Use PKGVERSION.
23587         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23588         (print_version): Use PKGVERSION.
23589         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23590         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23591         macro.
23592         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23593         (print_version): Use PKGVERSION.
23594         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23595         (print_version): Use PKGVERSION.
23596         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23597         and PKGVERSION.
23599         * timezone/checktab.awk: Update from tzcode 2012i.
23600         * timezone/ialloc.c: Likewise.
23601         * timezone/private.h: Likewise.
23602         * timezone/scheck.c: Likewise.
23603         * timezone/tzfile.h: Likewise.
23604         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23605         (TZVERSION): Hardcode tzcode version number.
23606         * timezone/zdump.c: Update from tzcode 2012i.
23607         * timezone/zic.c: Likewise.
23608         * timezone/version.h: New file.
23609         * timezone/README: Describe version.h.  Update upstream location.
23611         [BZ #14824]
23612         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23613         (mktemp): Enable declaration.
23614         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23615         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23618         Likewise.
23619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23620         Likewise.
23621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23622         Likewise.
23623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23624         Likewise.
23625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23626         Likewise.
23627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23628         Likewise.
23630         [BZ #14821]
23631         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23632         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23633         for copies of such integer values.
23634         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23635         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23637 2012-11-09  Andreas Jaeger  <aj@suse.de>
23639         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23640         definitions and declarations that are provided by
23641         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23643 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23645         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23646         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23647         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23648         definition.
23650 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23652         * elf/elf.h: Update comment before AArch64 relocations.
23654 2012-11-07  David S. Miller  <davem@davemloft.net>
23656         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23657         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23658         (__start_context): Declare.
23659         (__makecontext_ret): Delete.
23660         (__makecontext): Hook up __start_context instead of
23661         __makecontext_ret.
23662         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23663         (sysdep_routines): Add __start_context when in stdlib.
23665 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23667         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23668         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23669         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23670         hardcoded "nm".
23671         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23672         (READELF): New variable.  Use it instead of hardcoded "readelf".
23674 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23676         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23677         * sysdeps/x86/Makefile: Here.
23678         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23679         * sysdeps/x86/tst-xmmymm.sh: This.
23681 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23683         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23684         expectations.
23685         [UNIX98] (pthread_barrier_t): Do not expect.
23686         [UNIX98] (pthread_barrierattr_t): Likewise.
23687         [UNIX98] (pthread_spinlock_t): Likewise.
23688         [UNIX98] (pthread_barrier_destroy): Likewise.
23689         [UNIX98] (pthread_barrier_init): Likewise.
23690         [UNIX98] (pthread_barrier_wait): Likewise.
23691         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23692         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23693         [UNIX98] (pthread_barrierattr_init): Likewise.
23694         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23695         [UNIX98] (pthread_getcpuclockid): Likewise.
23696         [UNIX98] (pthread_mutex_timedlock): Likewise.
23697         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23698         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23699         [UNIX98] (pthread_sigmask): Likewise.
23700         [UNIX98] (pthread_spin_destroy): Likewise.
23701         [UNIX98] (pthread_spin_init): Likewise.
23702         [UNIX98] (pthread_spin_lock): Likewise.
23703         [UNIX98] (pthread_spin_trylock): Likewise.
23704         [UNIX98] (pthread_spin_unlock): Likewise.
23705         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23706         Do not expect.
23707         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23708         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23709         [XPG3 || XPG4] (pthread_cond_t): Likewise.
23710         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23711         [XPG3 || XPG4] (pthread_key_t): Likewise.
23712         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23713         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23714         [XPG3 || XPG4] (pthread_once_t): Likewise.
23715         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23716         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23717         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23718         [XPG3 || XPG4] (pthread_t): Likewise.
23720         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23721         not expect.
23722         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23724         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23725         Change function return type to int.
23727         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23728         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23729         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23730         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23731         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23732         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23733         [!POSIX] (posix_madvise): Likewise.
23734         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23735         && !UNIX98].
23736         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23737         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23738         (mode_t): Likewise.
23739         (posix_mem_offset): Likewise.
23740         (posix_typed_mem_get_info): Likewise.
23741         (posix_typed_mem_open): Likewise.
23743         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23744         Change condition to [XOPEN2K8].
23746         * conform/conformtest.pl: Preprocess allow-header data with -x c
23747         instead of from stdin.
23748         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23749         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23750         [C99-based standards] (cerfc): Likewise.
23751         [C99-based standards] (cexp2): Likewise.
23752         [C99-based standards] (cexpm1): Likewise.
23753         [C99-based standards] (clog10): Likewise.
23754         [C99-based standards] (clog1p): Likewise.
23755         [C99-based standards] (clog2): Likewise.
23756         [C99-based standards] (clgamma): Likewise.
23757         [C99-based standards] (ctgamma): Likewise.
23758         [C99-based standards] (cerff): Likewise.
23759         [C99-based standards] (cerfcf): Likewise.
23760         [C99-based standards] (cexp2f): Likewise.
23761         [C99-based standards] (cexpm1f): Likewise.
23762         [C99-based standards] (clog10f): Likewise.
23763         [C99-based standards] (clog1pf): Likewise.
23764         [C99-based standards] (clog2f): Likewise.
23765         [C99-based standards] (clgammaf): Likewise.
23766         [C99-based standards] (ctgammaf): Likewise.
23767         [C99-based standards] (cerfl): Likewise.
23768         [C99-based standards] (cerfcl): Likewise.
23769         [C99-based standards] (cexp2l): Likewise.
23770         [C99-based standards] (cexpm1l): Likewise.
23771         [C99-based standards] (clog10l): Likewise.
23772         [C99-based standards] (clog1pl): Likewise.
23773         [C99-based standards] (clog2l): Likewise.
23774         [C99-based standards] (clgammal): Likewise.
23775         [C99-based standards] (ctgammal): Likewise.
23776         * conform/data/inttypes.h-data [C99-based standards]: Include
23777         stdint.h-data.  Remove all expectations for stdint.h contents.
23778         [C99-based standards] (PRI*): Do not allow.
23779         [C99-based standards] (SCN*): Likewise.
23780         [C99-based standards] (*_t): Likewise.
23781         [C99-based-standards] (PRId8): Expect macro.
23782         [C99-based-standards] (PRIi8): Likewise.
23783         [C99-based-standards] (PRIo8): Likewise.
23784         [C99-based-standards] (PRIu8): Likewise.
23785         [C99-based-standards] (PRIx8): Likewise.
23786         [C99-based-standards] (PRIX8): Likewise.
23787         [C99-based-standards] (SCNd8): Likewise.
23788         [C99-based-standards] (SCNi8): Likewise.
23789         [C99-based-standards] (SCNo8): Likewise.
23790         [C99-based-standards] (SCNu8): Likewise.
23791         [C99-based-standards] (SCNx8): Likewise.
23792         [C99-based-standards] (PRIdLEAST8): Likewise.
23793         [C99-based-standards] (PRIiLEAST8): Likewise.
23794         [C99-based-standards] (PRIoLEAST8): Likewise.
23795         [C99-based-standards] (PRIuLEAST8): Likewise.
23796         [C99-based-standards] (PRIxLEAST8): Likewise.
23797         [C99-based-standards] (PRIXLEAST8): Likewise.
23798         [C99-based-standards] (SCNdLEAST8): Likewise.
23799         [C99-based-standards] (SCNiLEAST8): Likewise.
23800         [C99-based-standards] (SCNoLEAST8): Likewise.
23801         [C99-based-standards] (SCNuLEAST8): Likewise.
23802         [C99-based-standards] (SCNxLEAST8): Likewise.
23803         [C99-based-standards] (PRIdFAST8): Likewise.
23804         [C99-based-standards] (PRIiFAST8): Likewise.
23805         [C99-based-standards] (PRIoFAST8): Likewise.
23806         [C99-based-standards] (PRIuFAST8): Likewise.
23807         [C99-based-standards] (PRIxFAST8): Likewise.
23808         [C99-based-standards] (PRIXFAST8): Likewise.
23809         [C99-based-standards] (SCNdFAST8): Likewise.
23810         [C99-based-standards] (SCNiFAST8): Likewise.
23811         [C99-based-standards] (SCNoFAST8): Likewise.
23812         [C99-based-standards] (SCNuFAST8): Likewise.
23813         [C99-based-standards] (SCNxFAST8): Likewise.
23814         [C99-based-standards] (PRId16): Likewise.
23815         [C99-based-standards] (PRIi16): Likewise.
23816         [C99-based-standards] (PRIo16): Likewise.
23817         [C99-based-standards] (PRIu16): Likewise.
23818         [C99-based-standards] (PRIx16): Likewise.
23819         [C99-based-standards] (PRIX16): Likewise.
23820         [C99-based-standards] (SCNd16): Likewise.
23821         [C99-based-standards] (SCNi16): Likewise.
23822         [C99-based-standards] (SCNo16): Likewise.
23823         [C99-based-standards] (SCNu16): Likewise.
23824         [C99-based-standards] (SCNx16): Likewise.
23825         [C99-based-standards] (PRIdLEAST16): Likewise.
23826         [C99-based-standards] (PRIiLEAST16): Likewise.
23827         [C99-based-standards] (PRIoLEAST16): Likewise.
23828         [C99-based-standards] (PRIuLEAST16): Likewise.
23829         [C99-based-standards] (PRIxLEAST16): Likewise.
23830         [C99-based-standards] (PRIXLEAST16): Likewise.
23831         [C99-based-standards] (SCNdLEAST16): Likewise.
23832         [C99-based-standards] (SCNiLEAST16): Likewise.
23833         [C99-based-standards] (SCNoLEAST16): Likewise.
23834         [C99-based-standards] (SCNuLEAST16): Likewise.
23835         [C99-based-standards] (SCNxLEAST16): Likewise.
23836         [C99-based-standards] (PRIdFAST16): Likewise.
23837         [C99-based-standards] (PRIiFAST16): Likewise.
23838         [C99-based-standards] (PRIoFAST16): Likewise.
23839         [C99-based-standards] (PRIuFAST16): Likewise.
23840         [C99-based-standards] (PRIxFAST16): Likewise.
23841         [C99-based-standards] (PRIXFAST16): Likewise.
23842         [C99-based-standards] (SCNdFAST16): Likewise.
23843         [C99-based-standards] (SCNiFAST16): Likewise.
23844         [C99-based-standards] (SCNoFAST16): Likewise.
23845         [C99-based-standards] (SCNuFAST16): Likewise.
23846         [C99-based-standards] (SCNxFAST16): Likewise.
23847         [C99-based-standards] (PRId32): Likewise.
23848         [C99-based-standards] (PRIi32): Likewise.
23849         [C99-based-standards] (PRIo32): Likewise.
23850         [C99-based-standards] (PRIu32): Likewise.
23851         [C99-based-standards] (PRIx32): Likewise.
23852         [C99-based-standards] (PRIX32): Likewise.
23853         [C99-based-standards] (SCNd32): Likewise.
23854         [C99-based-standards] (SCNi32): Likewise.
23855         [C99-based-standards] (SCNo32): Likewise.
23856         [C99-based-standards] (SCNu32): Likewise.
23857         [C99-based-standards] (SCNx32): Likewise.
23858         [C99-based-standards] (PRIdLEAST32): Likewise.
23859         [C99-based-standards] (PRIiLEAST32): Likewise.
23860         [C99-based-standards] (PRIoLEAST32): Likewise.
23861         [C99-based-standards] (PRIuLEAST32): Likewise.
23862         [C99-based-standards] (PRIxLEAST32): Likewise.
23863         [C99-based-standards] (PRIXLEAST32): Likewise.
23864         [C99-based-standards] (SCNdLEAST32): Likewise.
23865         [C99-based-standards] (SCNiLEAST32): Likewise.
23866         [C99-based-standards] (SCNoLEAST32): Likewise.
23867         [C99-based-standards] (SCNuLEAST32): Likewise.
23868         [C99-based-standards] (SCNxLEAST32): Likewise.
23869         [C99-based-standards] (PRIdFAST32): Likewise.
23870         [C99-based-standards] (PRIiFAST32): Likewise.
23871         [C99-based-standards] (PRIoFAST32): Likewise.
23872         [C99-based-standards] (PRIuFAST32): Likewise.
23873         [C99-based-standards] (PRIxFAST32): Likewise.
23874         [C99-based-standards] (PRIXFAST32): Likewise.
23875         [C99-based-standards] (SCNdFAST32): Likewise.
23876         [C99-based-standards] (SCNiFAST32): Likewise.
23877         [C99-based-standards] (SCNoFAST32): Likewise.
23878         [C99-based-standards] (SCNuFAST32): Likewise.
23879         [C99-based-standards] (SCNxFAST32): Likewise.
23880         [C99-based-standards] (PRId64): Likewise.
23881         [C99-based-standards] (PRIi64): Likewise.
23882         [C99-based-standards] (PRIo64): Likewise.
23883         [C99-based-standards] (PRIu64): Likewise.
23884         [C99-based-standards] (PRIx64): Likewise.
23885         [C99-based-standards] (PRIX64): Likewise.
23886         [C99-based-standards] (SCNd64): Likewise.
23887         [C99-based-standards] (SCNi64): Likewise.
23888         [C99-based-standards] (SCNo64): Likewise.
23889         [C99-based-standards] (SCNu64): Likewise.
23890         [C99-based-standards] (SCNx64): Likewise.
23891         [C99-based-standards] (PRIdLEAST64): Likewise.
23892         [C99-based-standards] (PRIiLEAST64): Likewise.
23893         [C99-based-standards] (PRIoLEAST64): Likewise.
23894         [C99-based-standards] (PRIuLEAST64): Likewise.
23895         [C99-based-standards] (PRIxLEAST64): Likewise.
23896         [C99-based-standards] (PRIXLEAST64): Likewise.
23897         [C99-based-standards] (SCNdLEAST64): Likewise.
23898         [C99-based-standards] (SCNiLEAST64): Likewise.
23899         [C99-based-standards] (SCNoLEAST64): Likewise.
23900         [C99-based-standards] (SCNuLEAST64): Likewise.
23901         [C99-based-standards] (SCNxLEAST64): Likewise.
23902         [C99-based-standards] (PRIdFAST64): Likewise.
23903         [C99-based-standards] (PRIiFAST64): Likewise.
23904         [C99-based-standards] (PRIoFAST64): Likewise.
23905         [C99-based-standards] (PRIuFAST64): Likewise.
23906         [C99-based-standards] (PRIxFAST64): Likewise.
23907         [C99-based-standards] (PRIXFAST64): Likewise.
23908         [C99-based-standards] (SCNdFAST64): Likewise.
23909         [C99-based-standards] (SCNiFAST64): Likewise.
23910         [C99-based-standards] (SCNoFAST64): Likewise.
23911         [C99-based-standards] (SCNuFAST64): Likewise.
23912         [C99-based-standards] (SCNxFAST64): Likewise.
23913         [C99-based-standards] (PRIdMAX): Likewise.
23914         [C99-based-standards] (PRIiMAX): Likewise.
23915         [C99-based-standards] (PRIoMAX): Likewise.
23916         [C99-based-standards] (PRIuMAX): Likewise.
23917         [C99-based-standards] (PRIxMAX): Likewise.
23918         [C99-based-standards] (PRIXMAX): Likewise.
23919         [C99-based-standards] (SCNdMAX): Likewise.
23920         [C99-based-standards] (SCNiMAX): Likewise.
23921         [C99-based-standards] (SCNoMAX): Likewise.
23922         [C99-based-standards] (SCNuMAX): Likewise.
23923         [C99-based-standards] (SCNxMAX): Likewise.
23924         [C99-based-standards] (PRIdPTR): Likewise.
23925         [C99-based-standards] (PRIiPTR): Likewise.
23926         [C99-based-standards] (PRIoPTR): Likewise.
23927         [C99-based-standards] (PRIuPTR): Likewise.
23928         [C99-based-standards] (PRIxPTR): Likewise.
23929         [C99-based-standards] (PRIXPTR): Likewise.
23930         [C99-based-standards] (SCNdPTR): Likewise.
23931         [C99-based-standards] (SCNiPTR): Likewise.
23932         [C99-based-standards] (SCNoPTR): Likewise.
23933         [C99-based-standards] (SCNuPTR): Likewise.
23934         [C99-based-standards] (SCNxPTR): Likewise.
23935         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23936         allow.
23937         * conform/data/stdint.h-data: Update comments to clarify
23938         requirements.
23939         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23940         type.
23941         [C99-based standards] (INT8_MAX): Likewise.
23942         [C99-based standards] (INT16_MIN): Likewise.
23943         [C99-based standards] (INT16_MAX): Likewise.
23944         [C99-based standards] (INT32_MIN): Likewise.
23945         [C99-based standards] (INT32_MAX): Likewise.
23946         [C99-based standards] (INT64_MIN): Likewise.
23947         [C99-based standards] (INT64_MAX): Likewise.
23948         [C99-based standards] (UINT8_MAX): Likewise.
23949         [C99-based standards] (UINT16_MAX): Likewise.
23950         [C99-based standards] (UINT32_MAX): Likewise.
23951         [C99-based standards] (UINT64_MAX): Likewise.
23952         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23953         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23954         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23955         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23956         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23957         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23958         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23959         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23960         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23961         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23962         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23963         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23964         [C99-based standards] (INT_FAST8_MIN): Likewise.
23965         [C99-based standards] (INT_FAST8_MAX): Likewise.
23966         [C99-based standards] (INT_FAST16_MIN): Likewise.
23967         [C99-based standards] (INT_FAST16_MAX): Likewise.
23968         [C99-based standards] (INT_FAST32_MIN): Likewise.
23969         [C99-based standards] (INT_FAST32_MAX): Likewise.
23970         [C99-based standards] (INT_FAST64_MIN): Likewise.
23971         [C99-based standards] (INT_FAST64_MAX): Likewise.
23972         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23973         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23974         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23975         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23976         [C99-based standards] (INTPTR_MIN): Likewise.
23977         [C99-based standards] (INTPTR_MAX): Likewise.
23978         [C99-based standards] (UINTPTR_MAX): Likewise.
23979         [C99-based standards] (INTMAX_MIN): Likewise.
23980         [C99-based standards] (INTMAX_MAX): Likewise.
23981         [C99-based standards] (UINTMAX_MAX): Likewise.
23982         [C99-based standards] (PTRDIFF_MIN): Likewise.
23983         [C99-based standards] (PTRDIFF_MAX): Likewise.
23984         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23985         [C99-based standards] (SIZE_MAX): Likewise.
23986         [C99-based standards] (WCHAR_MAX): Likewise.
23987         [C99-based standards] (WINT_MAX): Likewise.
23988         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23989         constraint on value.
23990         [C99-based standards] (WCHAR_MIN): Likewise.
23991         [C99-based standards] (WINT_MIN): Likewise.
23992         [C99-based standards] (*_t): Allow.
23993         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23994         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23995         Include math.h-data and complex.h-data.  Remove all expectations
23996         of math.h and complex.h contents.
23997         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23998         at end of line.
23999         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24000         (struct tm): Expect tag.
24001         [C99-based-standards] (wcstof): Expect function.
24002         [C99-based-standards] (wcstold): Likewise.
24003         [C99-based-standards] (wcstoll): Likewise.
24004         [C99-based-standards] (wcstoull): Likewise.
24005         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24006         macro-int-constant.  Specify type.
24007         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24008         constraint on value.
24009         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24010         Specify type.
24011         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24012         Specify value.
24013         [ISO C standards]: Do not allow headers.
24014         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24015         wcs[abcdefghijklmnopqrstuvwxyz]*.
24016         [ISO C standards] (*_t): Do not allow.
24017         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24018         Expect function.
24019         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24020         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24021         Specify type.
24022         [ISO C standards]: Do not allow headers.
24023         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24024         is[abcdefghijklmnopqrstuvwxyz]*.
24025         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24026         to[abcdefghijklmnopqrstuvwxyz]*.
24027         [ISO C standards] (*_t): Do not allow.
24028         * conform/data/stdalign.h-data: New file.
24029         * conform/data/stdbool.h-data: Likewise.
24030         * conform/data/stdnoreturn.h-data: Likewise.
24032 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24034         [BZ #14815]
24035         * manual/filesys.texi (Directory Entries): Typo fix.
24036         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24038 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24040         * elf/elf.h (EM_AARCH64): New macro.
24041         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24042         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24043         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24044         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24045         (R_AARCH64_TLSDESC): Likewise.
24046         (NT_ARM_TLS): Likewise.
24047         (NT_ARM_HW_BREAK): Likewise.
24048         (NT_ARM_HW_WATCH): Likewise.
24050 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24052         [BZ #14811]
24053         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24054         (__ieee754_powl): Saturate nonzero exponents with absolute value
24055         below 0x1p-79 to +/- 0x1p-79.
24056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24057         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24058         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24059         nonzero exponents with absolute value below 0x1p-32 to +/-
24060         0x1p-32.
24061         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24062         (__ieee754_powl): Saturate nonzero exponents with absolute value
24063         below 0x1p-79 to +/- 0x1p-79.
24064         * math/libm-test.inc (pow_test): Add more tests.
24066 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24068         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24069         _dl_s390_cap_flags with kernel. Increase string length.
24070         (_dl_s390_platforms): Add z196 and zEC12.
24072 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24074         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24075         Change XOPEN21K to XOPEN2K.
24077 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24079         * string/memmove.c: Use memcpy when possible.
24081 2012-11-06  Andreas Jaeger  <aj@suse.de>
24083         * po/eo.po: Update from translation team.
24085 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24087         [BZ #14793]
24088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24089         exponent and small x and y exponents, scale x or y up.  Increase
24090         by 2 the exponent used in scaling up.
24091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24093         * math/libm-test.inc (fma_test): Add more tests.
24094         (fma_test_towardzero): Likewise.
24095         (fma_test_downward): Likewise.
24096         (fma_test_upward): Likewise.
24098 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24100         [BZ #14805]
24101         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24102         fenv_t *.
24104         [BZ #14801]
24105         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24106         namespace for names of struct fields.
24107         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24108         fenv_t fields.
24109         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24110         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24112 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24114         [BZ #3665]
24115         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24117 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24119         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24120         PTR_DEMANGLE.
24122         [BZ #5246]
24123         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24124         PTR_DEMANGLE.
24126 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24128         [BZ #14797]
24129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24130         definitely overflow as x * y not x * y + z.
24131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24133         * math/libm-test.inc (fma_test): Add more tests.
24134         (fma_test_towardzero): Likewise.
24135         (fma_test_downward): Likewise.
24136         (fma_test_upward): Likewise.
24138 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24140         [BZ #157]
24142         * include/stub-tag.h: Remove file.
24143         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24144         '#include' of it.
24145         * manual/maint.texi (Porting): Don't reference it.
24146         * Makerules ($(objpfx)stubs): Likewise.
24147         * dirent/closedir.c: Don't include <stub-tag.h>.
24148         * dirent/dirfd.c: Likewise.
24149         * dirent/fdopendir.c: Likewise.
24150         * dirent/getdents.c: Likewise.
24151         * dirent/getdents64.c: Likewise.
24152         * dirent/opendir.c: Likewise.
24153         * dirent/readdir.c: Likewise.
24154         * dirent/readdir64.c: Likewise.
24155         * dirent/readdir64_r.c: Likewise.
24156         * dirent/readdir_r.c: Likewise.
24157         * dirent/rewinddir.c: Likewise.
24158         * dirent/seekdir.c: Likewise.
24159         * dirent/telldir.c: Likewise.
24160         * gmon/profil.c: Likewise.
24161         * grp/setgroups.c: Likewise.
24162         * inet/if_index.c: Likewise.
24163         * io/access.c: Likewise.
24164         * io/chdir.c: Likewise.
24165         * io/chmod.c: Likewise.
24166         * io/chown.c: Likewise.
24167         * io/close.c: Likewise.
24168         * io/dup.c: Likewise.
24169         * io/dup2.c: Likewise.
24170         * io/dup3.c: Likewise.
24171         * io/euidaccess.c: Likewise.
24172         * io/faccessat.c: Likewise.
24173         * io/fchdir.c: Likewise.
24174         * io/fchmod.c: Likewise.
24175         * io/fchmodat.c: Likewise.
24176         * io/fchown.c: Likewise.
24177         * io/fchownat.c: Likewise.
24178         * io/fcntl.c: Likewise.
24179         * io/flock.c: Likewise.
24180         * io/fstatfs.c: Likewise.
24181         * io/fstatfs64.c: Likewise.
24182         * io/fstatvfs.c: Likewise.
24183         * io/fstatvfs64.c: Likewise.
24184         * io/futimens.c: Likewise.
24185         * io/fxstat.c: Likewise.
24186         * io/fxstat64.c: Likewise.
24187         * io/fxstatat.c: Likewise.
24188         * io/fxstatat64.c: Likewise.
24189         * io/getcwd.c: Likewise.
24190         * io/isatty.c: Likewise.
24191         * io/lchmod.c: Likewise.
24192         * io/lchown.c: Likewise.
24193         * io/link.c: Likewise.
24194         * io/linkat.c: Likewise.
24195         * io/lseek.c: Likewise.
24196         * io/lseek64.c: Likewise.
24197         * io/lxstat64.c: Likewise.
24198         * io/mkdir.c: Likewise.
24199         * io/mkdirat.c: Likewise.
24200         * io/mkfifo.c: Likewise.
24201         * io/mkfifoat.c: Likewise.
24202         * io/open.c: Likewise.
24203         * io/open64.c: Likewise.
24204         * io/openat.c: Likewise.
24205         * io/openat64.c: Likewise.
24206         * io/pipe.c: Likewise.
24207         * io/pipe2.c: Likewise.
24208         * io/poll.c: Likewise.
24209         * io/posix_fadvise.c: Likewise.
24210         * io/posix_fadvise64.c: Likewise.
24211         * io/posix_fallocate.c: Likewise.
24212         * io/posix_fallocate64.c: Likewise.
24213         * io/read.c: Likewise.
24214         * io/readlink.c: Likewise.
24215         * io/readlinkat.c: Likewise.
24216         * io/rmdir.c: Likewise.
24217         * io/sendfile.c: Likewise.
24218         * io/sendfile64.c: Likewise.
24219         * io/statfs.c: Likewise.
24220         * io/statfs64.c: Likewise.
24221         * io/statvfs.c: Likewise.
24222         * io/statvfs64.c: Likewise.
24223         * io/symlink.c: Likewise.
24224         * io/symlinkat.c: Likewise.
24225         * io/ttyname.c: Likewise.
24226         * io/ttyname_r.c: Likewise.
24227         * io/umask.c: Likewise.
24228         * io/unlink.c: Likewise.
24229         * io/unlinkat.c: Likewise.
24230         * io/utime.c: Likewise.
24231         * io/utimensat.c: Likewise.
24232         * io/write.c: Likewise.
24233         * io/xmknod.c: Likewise.
24234         * io/xmknodat.c: Likewise.
24235         * io/xstat.c: Likewise.
24236         * io/xstat64.c: Likewise.
24237         * login/getpt.c: Likewise.
24238         * login/grantpt.c: Likewise.
24239         * login/unlockpt.c: Likewise.
24240         * math/e_acoshl.c: Likewise.
24241         * math/e_acosl.c: Likewise.
24242         * math/e_asinl.c: Likewise.
24243         * math/e_atan2l.c: Likewise.
24244         * math/e_atanhl.c: Likewise.
24245         * math/e_coshl.c: Likewise.
24246         * math/e_expl.c: Likewise.
24247         * math/e_fmodl.c: Likewise.
24248         * math/e_gammal_r.c: Likewise.
24249         * math/e_hypotl.c: Likewise.
24250         * math/e_j0l.c: Likewise.
24251         * math/e_j1l.c: Likewise.
24252         * math/e_jnl.c: Likewise.
24253         * math/e_lgammal_r.c: Likewise.
24254         * math/e_log10l.c: Likewise.
24255         * math/e_log2l.c: Likewise.
24256         * math/e_logl.c: Likewise.
24257         * math/e_powl.c: Likewise.
24258         * math/e_rem_pio2l.c: Likewise.
24259         * math/e_sinhl.c: Likewise.
24260         * math/e_sqrtl.c: Likewise.
24261         * math/fclrexcpt.c: Likewise.
24262         * math/fedisblxcpt.c: Likewise.
24263         * math/feenablxcpt.c: Likewise.
24264         * math/fegetenv.c: Likewise.
24265         * math/fegetexcept.c: Likewise.
24266         * math/fegetround.c: Likewise.
24267         * math/feholdexcpt.c: Likewise.
24268         * math/fesetenv.c: Likewise.
24269         * math/fesetround.c: Likewise.
24270         * math/feupdateenv.c: Likewise.
24271         * math/fgetexcptflg.c: Likewise.
24272         * math/fraiseexcpt.c: Likewise.
24273         * math/fsetexcptflg.c: Likewise.
24274         * math/ftestexcept.c: Likewise.
24275         * math/k_cosl.c: Likewise.
24276         * math/k_rem_pio2l.c: Likewise.
24277         * math/k_sinl.c: Likewise.
24278         * math/k_tanl.c: Likewise.
24279         * math/s_asinhl.c: Likewise.
24280         * math/s_atanl.c: Likewise.
24281         * math/s_cbrtl.c: Likewise.
24282         * math/s_erfl.c: Likewise.
24283         * math/s_expm1l.c: Likewise.
24284         * math/s_log1pl.c: Likewise.
24285         * math/s_tanhl.c: Likewise.
24286         * misc/acct.c: Likewise.
24287         * misc/brk.c: Likewise.
24288         * misc/chflags.c: Likewise.
24289         * misc/chroot.c: Likewise.
24290         * misc/fchflags.c: Likewise.
24291         * misc/fgetxattr.c: Likewise.
24292         * misc/flistxattr.c: Likewise.
24293         * misc/fremovexattr.c: Likewise.
24294         * misc/fsetxattr.c: Likewise.
24295         * misc/fsync.c: Likewise.
24296         * misc/ftruncate.c: Likewise.
24297         * misc/futimes.c: Likewise.
24298         * misc/futimesat.c: Likewise.
24299         * misc/getdomain.c: Likewise.
24300         * misc/getdtsz.c: Likewise.
24301         * misc/gethostid.c: Likewise.
24302         * misc/gethostname.c: Likewise.
24303         * misc/getloadavg.c: Likewise.
24304         * misc/getpagesize.c: Likewise.
24305         * misc/getsysstats.c: Likewise.
24306         * misc/getxattr.c: Likewise.
24307         * misc/gtty.c: Likewise.
24308         * misc/ioctl.c: Likewise.
24309         * misc/lgetxattr.c: Likewise.
24310         * misc/listxattr.c: Likewise.
24311         * misc/llistxattr.c: Likewise.
24312         * misc/lremovexattr.c: Likewise.
24313         * misc/lsetxattr.c: Likewise.
24314         * misc/lutimes.c: Likewise.
24315         * misc/madvise.c: Likewise.
24316         * misc/mincore.c: Likewise.
24317         * misc/mlock.c: Likewise.
24318         * misc/mlockall.c: Likewise.
24319         * misc/mmap.c: Likewise.
24320         * misc/mprotect.c: Likewise.
24321         * misc/msync.c: Likewise.
24322         * misc/munlock.c: Likewise.
24323         * misc/munlockall.c: Likewise.
24324         * misc/munmap.c: Likewise.
24325         * misc/preadv.c: Likewise.
24326         * misc/preadv64.c: Likewise.
24327         * misc/ptrace.c: Likewise.
24328         * misc/pwritev.c: Likewise.
24329         * misc/pwritev64.c: Likewise.
24330         * misc/readv.c: Likewise.
24331         * misc/reboot.c: Likewise.
24332         * misc/remap_file_pages.c: Likewise.
24333         * misc/removexattr.c: Likewise.
24334         * misc/revoke.c: Likewise.
24335         * misc/select.c: Likewise.
24336         * misc/setdomain.c: Likewise.
24337         * misc/setegid.c: Likewise.
24338         * misc/seteuid.c: Likewise.
24339         * misc/sethostid.c: Likewise.
24340         * misc/sethostname.c: Likewise.
24341         * misc/setregid.c: Likewise.
24342         * misc/setreuid.c: Likewise.
24343         * misc/setxattr.c: Likewise.
24344         * misc/sstk.c: Likewise.
24345         * misc/stty.c: Likewise.
24346         * misc/swapoff.c: Likewise.
24347         * misc/swapon.c: Likewise.
24348         * misc/sync.c: Likewise.
24349         * misc/syncfs.c: Likewise.
24350         * misc/syscall.c: Likewise.
24351         * misc/truncate.c: Likewise.
24352         * misc/ualarm.c: Likewise.
24353         * misc/usleep.c: Likewise.
24354         * misc/ustat.c: Likewise.
24355         * misc/utimes.c: Likewise.
24356         * misc/vhangup.c: Likewise.
24357         * misc/writev.c: Likewise.
24358         * posix/_exit.c: Likewise.
24359         * posix/alarm.c: Likewise.
24360         * posix/execve.c: Likewise.
24361         * posix/fexecve.c: Likewise.
24362         * posix/fork.c: Likewise.
24363         * posix/fpathconf.c: Likewise.
24364         * posix/getaddrinfo.c: Likewise.
24365         * posix/getegid.c: Likewise.
24366         * posix/geteuid.c: Likewise.
24367         * posix/getgid.c: Likewise.
24368         * posix/getgroups.c: Likewise.
24369         * posix/getlogin.c: Likewise.
24370         * posix/getlogin_r.c: Likewise.
24371         * posix/getpgid.c: Likewise.
24372         * posix/getpid.c: Likewise.
24373         * posix/getppid.c: Likewise.
24374         * posix/getresgid.c: Likewise.
24375         * posix/getresuid.c: Likewise.
24376         * posix/getsid.c: Likewise.
24377         * posix/getuid.c: Likewise.
24378         * posix/glob64.c: Likewise.
24379         * posix/nanosleep.c: Likewise.
24380         * posix/pathconf.c: Likewise.
24381         * posix/pause.c: Likewise.
24382         * posix/posix_madvise.c: Likewise.
24383         * posix/pread.c: Likewise.
24384         * posix/pread64.c: Likewise.
24385         * posix/pwrite.c: Likewise.
24386         * posix/pwrite64.c: Likewise.
24387         * posix/sched_getaffinity.c: Likewise.
24388         * posix/sched_getp.c: Likewise.
24389         * posix/sched_gets.c: Likewise.
24390         * posix/sched_primax.c: Likewise.
24391         * posix/sched_primin.c: Likewise.
24392         * posix/sched_rr_gi.c: Likewise.
24393         * posix/sched_setaffinity.c: Likewise.
24394         * posix/sched_setp.c: Likewise.
24395         * posix/sched_sets.c: Likewise.
24396         * posix/sched_yield.c: Likewise.
24397         * posix/setgid.c: Likewise.
24398         * posix/setlogin.c: Likewise.
24399         * posix/setpgid.c: Likewise.
24400         * posix/setresgid.c: Likewise.
24401         * posix/setresuid.c: Likewise.
24402         * posix/setsid.c: Likewise.
24403         * posix/setuid.c: Likewise.
24404         * posix/sleep.c: Likewise.
24405         * posix/spawni.c: Likewise.
24406         * posix/sysconf.c: Likewise.
24407         * posix/times.c: Likewise.
24408         * posix/wait.c: Likewise.
24409         * posix/wait3.c: Likewise.
24410         * posix/wait4.c: Likewise.
24411         * posix/waitpid.c: Likewise.
24412         * resolv/gai_sigqueue.c: Likewise.
24413         * resource/getpriority.c: Likewise.
24414         * resource/getrlimit.c: Likewise.
24415         * resource/getrusage.c: Likewise.
24416         * resource/nice.c: Likewise.
24417         * resource/setpriority.c: Likewise.
24418         * resource/setrlimit.c: Likewise.
24419         * resource/ulimit.c: Likewise.
24420         * rt/aio_cancel.c: Likewise.
24421         * rt/aio_fsync.c: Likewise.
24422         * rt/aio_read.c: Likewise.
24423         * rt/aio_sigqueue.c: Likewise.
24424         * rt/aio_suspend.c: Likewise.
24425         * rt/aio_write.c: Likewise.
24426         * rt/clock_getres.c: Likewise.
24427         * rt/clock_gettime.c: Likewise.
24428         * rt/clock_nanosleep.c: Likewise.
24429         * rt/clock_settime.c: Likewise.
24430         * rt/lio_listio.c: Likewise.
24431         * rt/mq_close.c: Likewise.
24432         * rt/mq_getattr.c: Likewise.
24433         * rt/mq_notify.c: Likewise.
24434         * rt/mq_open.c: Likewise.
24435         * rt/mq_receive.c: Likewise.
24436         * rt/mq_send.c: Likewise.
24437         * rt/mq_setattr.c: Likewise.
24438         * rt/mq_timedreceive.c: Likewise.
24439         * rt/mq_timedsend.c: Likewise.
24440         * rt/mq_unlink.c: Likewise.
24441         * rt/shm_open.c: Likewise.
24442         * rt/shm_unlink.c: Likewise.
24443         * rt/timer_create.c: Likewise.
24444         * rt/timer_delete.c: Likewise.
24445         * rt/timer_getoverr.c: Likewise.
24446         * rt/timer_gettime.c: Likewise.
24447         * rt/timer_settime.c: Likewise.
24448         * setjmp/__longjmp.c: Likewise.
24449         * setjmp/setjmp.c: Likewise.
24450         * signal/kill.c: Likewise.
24451         * signal/killpg.c: Likewise.
24452         * signal/raise.c: Likewise.
24453         * signal/sigaction.c: Likewise.
24454         * signal/sigaltstack.c: Likewise.
24455         * signal/sigblock.c: Likewise.
24456         * signal/sigignore.c: Likewise.
24457         * signal/sigintr.c: Likewise.
24458         * signal/signal.c: Likewise.
24459         * signal/sigpause.c: Likewise.
24460         * signal/sigpending.c: Likewise.
24461         * signal/sigqueue.c: Likewise.
24462         * signal/sigreturn.c: Likewise.
24463         * signal/sigset.c: Likewise.
24464         * signal/sigsetmask.c: Likewise.
24465         * signal/sigstack.c: Likewise.
24466         * signal/sigsuspend.c: Likewise.
24467         * signal/sigtimedwait.c: Likewise.
24468         * signal/sigvec.c: Likewise.
24469         * signal/sigwait.c: Likewise.
24470         * signal/sigwaitinfo.c: Likewise.
24471         * signal/sysv_signal.c: Likewise.
24472         * socket/accept.c: Likewise.
24473         * socket/accept4.c: Likewise.
24474         * socket/bind.c: Likewise.
24475         * socket/connect.c: Likewise.
24476         * socket/getpeername.c: Likewise.
24477         * socket/getsockname.c: Likewise.
24478         * socket/getsockopt.c: Likewise.
24479         * socket/isfdtype.c: Likewise.
24480         * socket/listen.c: Likewise.
24481         * socket/recv.c: Likewise.
24482         * socket/recvfrom.c: Likewise.
24483         * socket/recvmsg.c: Likewise.
24484         * socket/send.c: Likewise.
24485         * socket/sendmsg.c: Likewise.
24486         * socket/sendto.c: Likewise.
24487         * socket/setsockopt.c: Likewise.
24488         * socket/shutdown.c: Likewise.
24489         * socket/sockatmark.c: Likewise.
24490         * socket/socket.c: Likewise.
24491         * socket/socketpair.c: Likewise.
24492         * stdio-common/ctermid.c: Likewise.
24493         * stdio-common/cuserid.c: Likewise.
24494         * stdio-common/remove.c: Likewise.
24495         * stdio-common/rename.c: Likewise.
24496         * stdio-common/renameat.c: Likewise.
24497         * stdio-common/tempname.c: Likewise.
24498         * stdlib/getcontext.c: Likewise.
24499         * stdlib/makecontext.c: Likewise.
24500         * stdlib/setcontext.c: Likewise.
24501         * stdlib/swapcontext.c: Likewise.
24502         * stdlib/system.c: Likewise.
24503         * streams/fattach.c: Likewise.
24504         * streams/fdetach.c: Likewise.
24505         * streams/getmsg.c: Likewise.
24506         * streams/getpmsg.c: Likewise.
24507         * streams/putmsg.c: Likewise.
24508         * streams/putpmsg.c: Likewise.
24509         * sysdeps/unix/bsd/getpt.c: Likewise.
24510         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24511         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24512         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24514         Likewise.
24515         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24516         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24517         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24518         * sysvipc/msgctl.c: Likewise.
24519         * sysvipc/msgget.c: Likewise.
24520         * sysvipc/msgrcv.c: Likewise.
24521         * sysvipc/msgsnd.c: Likewise.
24522         * sysvipc/semctl.c: Likewise.
24523         * sysvipc/semget.c: Likewise.
24524         * sysvipc/semop.c: Likewise.
24525         * sysvipc/semtimedop.c: Likewise.
24526         * sysvipc/shmat.c: Likewise.
24527         * sysvipc/shmctl.c: Likewise.
24528         * sysvipc/shmdt.c: Likewise.
24529         * sysvipc/shmget.c: Likewise.
24530         * termios/tcdrain.c: Likewise.
24531         * termios/tcflow.c: Likewise.
24532         * termios/tcflush.c: Likewise.
24533         * termios/tcgetattr.c: Likewise.
24534         * termios/tcgetpgrp.c: Likewise.
24535         * termios/tcsendbrk.c: Likewise.
24536         * termios/tcsetattr.c: Likewise.
24537         * termios/tcsetpgrp.c: Likewise.
24538         * time/adjtime.c: Likewise.
24539         * time/clock.c: Likewise.
24540         * time/getitimer.c: Likewise.
24541         * time/gettimeofday.c: Likewise.
24542         * time/setitimer.c: Likewise.
24543         * time/settimeofday.c: Likewise.
24544         * time/stime.c: Likewise.
24545         * time/time.c: Likewise.
24547 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
24549         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24550         /usr/old/bin.
24552         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24553         instead of spaces.
24554         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24556 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
24558         [BZ #14796]
24559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24560         FE_TONEAREST before applying Dekker multiplication and Knuth
24561         addition.  Clear inexact exceptions and check for exact zero
24562         results afterwards.
24563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24564         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24566         * math/libm-test.inc (fma_test): Add more tests.
24567         (fma_test_towardzero): Likewise.
24568         (fma_test_downward): Likewise.
24569         (fma_test_upward): Likewise.
24570         * sysdeps/generic/math_private.h (default_libc_fesetround): New
24571         function.
24572         (libc_fesetround): New macro.
24573         (libc_fesetroundf): Likewise.
24574         (libc_fesetroundl): Likewise.
24575         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24576         function.
24577         (libc_fesetround_387): Likewise.
24578         (libc_fesetroundf): New macro.
24579         (libc_fesetround): Likewise.
24580         (libc_fesetroundl): Likewise.
24581         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24582         function.
24583         (libc_fesetroundf): New macro.
24584         (libc_fesetround): Likewise.
24585         (libc_fesetroundl): Likewise.
24586         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24587         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24588         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24589         libm_hidden_ver.
24590         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24591         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24592         libm_hidden_def.
24593         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24594         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24595         libm_hidden_ver.
24596         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24597         libm_hidden_def.
24599         [BZ #3439]
24600         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24601         integer constant usable in #if and use that to give value to enum
24602         constant.
24603         (FE_DIVBYZERO): Likewise.
24604         (FE_UNDERFLOW): Likewise.
24605         (FE_OVERFLOW): Likewise.
24606         (FE_INVALID): Likewise.
24607         (FE_INVALID_SNAN): Likewise.
24608         (FE_INVALID_ISI): Likewise.
24609         (FE_INVALID_IDI): Likewise.
24610         (FE_INVALID_ZDZ): Likewise.
24611         (FE_INVALID_IMZ): Likewise.
24612         (FE_INVALID_COMPARE): Likewise.
24613         (FE_INVALID_SOFTWARE): Likewise.
24614         (FE_INVALID_SQRT): Likewise.
24615         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24616         (FE_TONEAREST): Likewise.
24617         (FE_TOWARDZERO): Likewise.
24618         (FE_UPWARD): Likewise.
24619         (FE_DOWNWARD): Likewise.
24620         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24621         (FE_DIVBYZERO): Likewise.
24622         (FE_OVERFLOW): Likewise.
24623         (FE_UNDERFLOW): Likewise.
24624         (FE_INEXACT): Likewise.
24625         (FE_TONEAREST): Likewise.
24626         (FE_DOWNWARD): Likewise.
24627         (FE_UPWARD): Likewise.
24628         (FE_TOWARDZERO): Likewise.
24629         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24630         (FE_UNDERFLOW): Likewise.
24631         (FE_OVERFLOW): Likewise.
24632         (FE_DIVBYZERO): Likewise.
24633         (FE_INVALID): Likewise.
24634         (FE_TONEAREST): Likewise.
24635         (FE_TOWARDZERO): Likewise.
24636         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24637         (FE_OVERFLOW): Likewise.
24638         (FE_UNDERFLOW): Likewise.
24639         (FE_DIVBYZERO): Likewise.
24640         (FE_INEXACT): Likewise.
24641         (FE_TONEAREST): Likewise.
24642         (FE_TOWARDZERO): Likewise.
24643         (FE_UPWARD): Likewise.
24644         (FE_DOWNWARD): Likewise.
24645         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24646         (FE_DIVBYZERO): Likewise.
24647         (FE_OVERFLOW): Likewise.
24648         (FE_UNDERFLOW): Likewise.
24649         (FE_INEXACT): Likewise.
24650         (FE_TONEAREST): Likewise.
24651         (FE_DOWNWARD): Likewise.
24652         (FE_UPWARD): Likewise.
24653         (FE_TOWARDZERO): Likewise.
24655 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24657         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24659 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24661         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24662         commands.  Quote $PWD.
24663         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24664         -x" by "export".
24665         (remove_newlines): Remove.
24667 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24669         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24670         * stdlib/stdlib.h (atof): Moved to ...
24671         * include/bits/stdlib-float.h: Here.  New file.
24672         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24673         * stdlib/bits/stdlib-float.h: New file.
24674         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24675         -mno-sse -mno-mmx.
24676         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24677         <xmmintrin.h>.
24679 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24681         * conform/conformtest.pl (@headers): Add fenv.h.
24682         * conform/data/fenv.h-data: New file.
24683         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24684         include of <math/fenv.h>.
24686         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24687         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24688         && !UNIX98].  Enables tests for XOPEN2K8.
24689         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24690         POSIX2008]: Likewise.
24692         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24693         (struct rusage): Do not expect type or its members.
24695         [BZ #3439]
24696         * math/math.h (FP_NAN): Define macro to integer constant usable in
24697         #if and use that to give value to enum constant.
24698         (FP_INFINITE): Likewise.
24699         (FP_ZERO): Likewise.
24700         (FP_SUBNORMAL): Likewise.
24701         (FP_NORMAL): Likewise.
24703 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
24705         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24706         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24707         arguments.
24709 2012-11-02  Roland McGrath  <roland@hack.frob.com>
24711         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24712         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24713         autoconf-time if not.
24714         * configure.in: Remove AC_PREREQ.
24716 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24718         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24719         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24720         of the internal implementation.
24722 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24724         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24725         except include of <misc/sys/syslog.h>.
24727 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24730         function returns with a NULL context exit with zero.
24732 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24734         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24736 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
24738         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24739         (run_program_cmd): This.
24740         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24741         (tst_langinfo): New variable.  Use it.
24743 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
24745         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24746         floating point opcodes.
24748 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24750         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24751         variable.
24753         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24755         * sysdeps/mach/hurd/powerpc: Remove directory.
24756         * sysdeps/mach/powerpc: Likewise.
24758 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24760         * scripts/check-local-headers.sh: Ignore c++ headers.
24762 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24764         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24765         __libc_cleanup_region_start argument.
24767 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
24769         [BZ #14784]
24770         [BZ #14785]
24771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24772         x * y using scaling, not as x * y + z.
24773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24775         * math/libm-test.inc (fma_test): Add more tests.
24776         (fma_test_towardzero): Likewise.
24777         (fma_test_downward): Likewise.
24778         (fma_test_upward): Likewise.
24780 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24782         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24784 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24786         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24787         New variable.
24789 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
24791         * rt/tst-shm.c (worker): Correct checking for mmap failure.
24793 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24796         Fix sort order.
24797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24798         Likewise.
24800 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24803         Fix the order of the list for glibc 2.17.
24804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24805         Likewise.
24807 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24811 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24813         [BZ #14610]
24814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24815         for low part of x being zero before using __atanl (y).
24816         * math/libm-test.inc (atan2_test): Add another test.
24818         * manual/install.texi (Configuring and compiling): Document
24819         general use of test-wrapper and test-wrapper-env.
24820         * INSTALL: Regenerated.
24822         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24823         (__fma): Do not extract and scale down low bits on after-rounding
24824         systems when result rounded to normal precision would have normal
24825         exponent.
24826         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24827         (__fmal): Do not extract and scale down low bits on after-rounding
24828         systems when result rounded to normal precision would have normal
24829         exponent.
24830         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24831         (__fmal): Do not extract and scale down low bits on after-rounding
24832         systems when result rounded to normal precision would have normal
24833         exponent.
24834         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24835         macro.
24836         (fma_test): Add more tests.
24837         (fma_test_towardzero): Likewise.
24838         (fma_test_downward): Likewise.
24839         (fma_test_upward): Likewise.
24841 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
24843         * sysdeps/i386/tininess.h: Renamed to ...
24844         * sysdeps/x86/tininess.h: This.
24845         * sysdeps/x86_64/tininess.h: Removed.
24847 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24849         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24850         input.  Use $(build-program-cmd).
24851         ($(objpfx)tst-array1-static.out): Likewise.
24852         ($(objpfx)tst-array2.out): Likewise.
24853         ($(objpfx)tst-array3.out): Likewise.
24854         ($(objpfx)tst-array4.out): Likewise.
24855         ($(objpfx)tst-array5.out): Likewise.
24856         ($(objpfx)tst-array5-static.out): Likewise.
24858 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
24860         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24861         if defined.
24863         * nss/nsswitch.h (nss_interface_function): Provide new
24864         macro for use with NSS functions.
24865         * grp/initgroups.c: Use new macro.
24866         * nss/getXXbyYY.c: Likewise.
24867         * nss/getXXbyYY_r.c: Likewise.
24868         * nss/getXXent.c: Likewise.
24869         * nss/getXXent_r.c: Likewise.
24870         * sysdeps/posix/getaddrinfo.c: Likewise.
24872 2012-10-30  Andreas Jaeger  <aj@suse.de>
24874         * po/ru.po: Update Russion translation from translation project.
24876 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24878         [BZ #14152]
24879         [BZ #14783]
24880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24881         result and shift together with sticky bit instead of replicating
24882         round-to-nearest rounding.
24883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24885         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
24886         missing underflow exceptions.
24887         (fma_test_towardzero): Add more tests.
24888         (fma_test_downward): Likewise.
24889         (fma_test_upward): Likewise.
24891         [BZ #14047]
24892         * sysdeps/generic/tininess.h: New file.
24893         * sysdeps/i386/tininess.h: Likewise.
24894         * sysdeps/sh/tininess.h: Likewise.
24895         * sysdeps/x86_64/tininess.h: Likewise.
24896         * stdlib/tst-strtod-underflow.c: Likewise.
24897         * stdlib/tst-tininess.c: Likewise.
24898         * stdlib/strtod_l.c: Include <tininess.h>.
24899         (round_and_return): Do not set errno for exact underflow cases.
24900         Force an underflow exception when setting errno for underflow.
24901         Determine underflow based on rounding to normal precision if
24902         TININESS_AFTER_ROUNDING.
24903         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24904         ERANGE for exact underflow cases.
24905         * stdlib/Makefile (tests): Add tst-tininess and
24906         tst-strtod-underflow.
24907         ($(objpfx)tst-tininess): Use $(link-libm).
24908         ($(objpfx)tst-strtod-underflow): Likewise.
24910 2012-10-30  Andreas Jaeger  <aj@suse.de>
24912         [BZ#14767]
24913         * elf/Makefile (tests): Remove conditional for have-initfini-array
24914         since this is now always required and the variable does not exist
24915         anymore.
24916         (tests-static): Likewise.
24917         (modules-names): Likewise.
24919         * po/eo.po: Add Esperanto translation from translation project.
24921         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24922         merged with constructor/destructor.
24923         (init_array): Likewise.
24924         * elf/tst-array2dep.c (fini_array): Likewise.
24925         (init_array): Likewise.
24927 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24929         * manual/message.texi: Delete @cartouche tags.
24931 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24933         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24934         EOPNOTSUPP.
24935         * sysdeps/mach/hurd/fsync.c: Likewise.
24937         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24938         [_POSIX_REALTIME_SIGNALS]: Change condition to
24939         [_POSIX_REALTIME_SIGNALS > 0].
24941 2012-10-27  Andreas Jaeger  <aj@suse.de>
24943         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24944         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24946         [__WORDSIZE != 64]: Likewise.
24948 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24950         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24951         *  iconvdata/tst-tables.sh: Likewise.
24953 2012-10-25  David S. Miller  <davem@davemloft.net>
24955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24956         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24957         of strtoull.
24959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24960         ifunc-impl-list.c
24961         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24962         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24963         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24964         file.
24966 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24969         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24970         __getdirentries.
24972 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24973             Jim Blandy  <jimb@codesourcery.com>
24975         * scripts/cross-test-ssh.sh: New file.
24976         * manual/install.texi (Configuring and compiling): Document use of
24977         cross-test-ssh.sh.
24978         * INSTALL: Regenerated.
24980 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24982         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24983         EOPNOTSUPP.
24985 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24987         * Makeconfig (run-program-prefix): Fix comment.
24989 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24990             Jim Blandy  <jimb@codesourcery.com>
24992         * Makeconfig (test-wrapper): New variable,
24993         (test-wrapper-env): Likewise.
24994         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24995         (run-built-tests): Define to yes.
24996         (run-program-prefix): Use $(test-wrapper).
24997         (built-program-cmd): Likewise.
24998         * Rules (make-test-out): Use $(test-wrapper-env) and
24999         $(host-built-program-cmd).
25000         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25001         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25002         tst-pathopt.sh.
25003         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25004         $(test-wrapper-env) to tst-rtld-load-self.sh.
25005         ($(objpfx)order2.out): Use $(test-wrapper).
25006         ($(objpfx)tst-initorder.out): Likewise.
25007         ($(objpfx)tst-initorder2.out): Likewise.
25008         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25009         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25010         (test_wrapper_env): New variable.  Use it to run ld.so.
25011         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25012         Use it to run ld.so.
25013         (test_wrapper_env): Likewise.
25014         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25015         $(test-wrapper) to run-iconv-test.sh.
25016         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25017         (ICONV): Use $test_wrapper.
25018         * posix/Makefile ($(objpfx)globtest.out): Pass
25019         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25020         globtest.sh, not $(run-program-prefix).
25021         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25022         (test_wrapper): Likewise.
25023         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25024         set together with run_via_rtld_prefix.
25025         (run_program_prefix): Define in terms of test_wrapper and
25026         run_via_rtld_prefix.
25028 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25030         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25031         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25032         Targets removed.
25034         [BZ #14743]
25035         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25036         Declare __clock_getres, __clock_gettime, __clock_settime,
25037         __clock_nanosleep, and __clock_getcpuclockid.
25038         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25039         Remove librt_hidden_def (clock_gettime).
25040         * sysdeps/unix/clock_gettime.c: Likewise.
25041         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25043         * rt/clock_getres.c: Define __clock_getres as an alias.
25044         * sysdeps/posix/clock_getres.c: Likewise.
25045         * rt/clock_settime.c: Define __clock_settime as an alias.
25046         * sysdeps/unix/clock_settime.c: Likewise.
25047         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25048         * sysdeps/unix/clock_nanosleep.c: Likewise.
25049         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25050         * rt/clock-compat.c: New file.
25051         * rt/Makefile (librt-routines): Add clock-compat and move
25052         $(clock-routines) to ...
25053         (routines): ... here, new variable.
25054         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25055         Don't add get_clockfreq here.
25056         * rt/Versions (libc: GLIBC_2.17): New version set.
25057         Add clock_* symbols here.
25058         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25059         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25060         (GLIBC_2.17): Add clock_* symbols.
25061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25065         Likewise.
25066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25067         Likewise.
25068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25072         * NEWS: Mention the move.
25074         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25075         Use __open, __read, __close rather than their public counterparts.
25076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25077         (__get_clockfreq_via_cpuinfo): Likewise.
25078         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25079         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25081         * config.h.in (HAVE_IFUNC): New #undef.
25082         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25083         was successful.
25084         * configure: Regenerated.
25086 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25088         * configure.in: Move READELF check to start of file.
25089         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25090         libc_cv_asm_gnu_indirect_function in the process.
25091         * configure: Regenerated.
25093 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25095         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25096         send the output to /dev/null.
25097         (libc_cv_cc_with_libunwind): Likewise.
25098         (libc_cv_as_noexecstack): Likewise.
25099         * configure: Regenerate.
25101 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25103         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25105         * posix/globtest.sh (TMPDIR): Do not set.
25106         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25107         (testout): Likewise.
25109 2012-10-24  Andreas Jaeger  <aj@suse.de>
25111         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25112         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25113         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25114         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25115         posix_fadvise64, posix_fallocate64.
25117         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25118         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25119         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25120         Likewise.
25121         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25122         Likewise.
25123         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25125         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25126         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25127         <bits/fcntl-linux.h>.
25128         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25131         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25132         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25133         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25134         [__WORDSIZE != 64]: Likewise.
25136 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25138         * Makeconfig (run-built-tests): New variable.
25139         * Rules [$(cross-compiling) = yes]: Change condition to
25140         [$(run-built-tests) = no].
25141         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25142         to [$(run-built-tests) = yes].
25143         * elf/Makefile [$(cross-compiling) = no]: Likewise
25144         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25145         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25146         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25147         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25148         * io/Makefile [$(cross-compiling) = no]: Likewise.
25149         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25150         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25151         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25152         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25153         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25154         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25155         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25156         * string/Makefile [$(cross-compiling) = no]: Likewise.
25158         * posix/Makefile ($(objpfx)globtest.out): Pass
25159         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25160         $(rtld-installed-name).
25161         * posix/globtest.sh (elf_objpfx): Remove variable.
25162         (rtld_installed_name): Likewise.
25163         (library_path): Likewise.
25164         (run_program_prefix): New variable.  Use for running globtest
25165         binary.
25167 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25168             Joseph Myers  <joseph@codesourcery.com>
25170         * Makeconfig (host-built-program-cmd): New variable.
25171         * elf/Makefile (tst-stackguard1-ARGS): Use
25172         $(host-built-program-cmd).
25173         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25174         (tst-spawn-ARGS): Likewise.
25175         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25177 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25178             Jim Blandy  <jimb@codesourcery.com>
25180         * Makeconfig (run-via-rtld-prefix): New variable.
25181         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25182         (built-program-cmd): Likewise.
25184 2012-10-22  Andreas Jaeger  <aj@suse.de>
25186         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25187         __O_RSYNC if it exists, otherwise to O_SYNC.
25189 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25190             Joseph Myers  <joseph@codesourcery.com>
25192         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25193         /dev/null.
25194         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25195         from /dev/null
25196         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25197         /dev/null.
25199 2012-10-22  Andreas Jaeger  <aj@suse.de>
25201         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25202         Define always.
25203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25206         bits/fcntl-linux.h.
25208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25209         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25211         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25212         to __O_LARGEFILE.
25213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25214         to __O_LARGEFILE.
25216 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25217             Joseph Myers  <joseph@codesourcery.com>
25219         * config.make.in (NM): New variable.
25221 2012-10-21  Andreas Jaeger  <aj@suse.de>
25223         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25224         definitions and declarations that are provided by
25225         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25227 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25229         [BZ #14683]
25230         * elf/Makefile (tests-static): Add tst-leaks1-static.
25231         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25232         ($(objpfx)tst-leaks1-static): New rule.
25233         ($(objpfx)tst-leaks1-static-mem): Likewise.
25234         (tst-leaks1-static-ENV): New macro.
25235         * elf/dl-open.c (dl_open_worker): Check the main application
25236         only if SHARED is defined.
25237         * elf/tst-leaks1-static.c: New file.
25239 2012-10-20  Andreas Jaeger  <aj@suse.de>
25241         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25242         generic values for Linux.
25243         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25244         and declarations that are provided by <bits/fcntl-linux.h> and
25245         include <bits/fcntl-linux.h>.
25246         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25249 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25251         * io/fcntl.h: Move include of <bits/types.h> to the top and
25252         include it unconditionally.
25254 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25256         * wcsmbs/Makefile (tests-ifunc): New variable.
25257         (tests): Add $(tests-ifunc).
25258         * wcsmbs/test-wcschr-ifunc.c: New file.
25259         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25260         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25261         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25262         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25263         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25265         * string/Makefile (tests-ifunc): New variable.
25266         (tests): Add $(tests-ifunc).
25267         * string/test-memccpy.c (TEST_NAME): New macro.
25268         * string/test-memchr.c (TEST_NAME): Likewise.
25269         * string/test-memcmp.c (TEST_NAME): Likewise.
25270         * string/test-memcpy.c (TEST_NAME): Likewise.
25271         * string/test-memmem.c (TEST_NAME): Likewise.
25272         * string/test-memmove.c (TEST_NAME): Likewise.
25273         * string/test-memset.c (TEST_NAME): Likewise.
25274         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25275         * string/test-stpcpy.c (TEST_NAME): Likewise.
25276         * string/test-stpncpy.c (TEST_NAME): Likewise.
25277         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25278         * string/test-strcasestr.c (TEST_NAME): Likewise.
25279         * string/test-strcat.c (TEST_NAME): Likewise.
25280         * string/test-strchr.c (TEST_NAME): Likewise.
25281         * string/test-strcmp.c(TEST_NAME): Likewise.
25282         * string/test-strcpy.c (TEST_NAME): Likewise.
25283         * string/test-strcspn.c (TEST_NAME): Likewise.
25284         * string/test-strlen.c (TEST_NAME): Likewise.
25285         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25286         * string/test-strncmp.c (TEST_NAME): Likewise.
25287         * string/test-strncpy.c (TEST_NAME): Likewise.
25288         * string/test-strnlen.c (TEST_NAME): Likewise.
25289         * string/test-strpbrk.c (TEST_NAME): Likewise.
25290         * string/test-strrchr.c (TEST_NAME): Likewise.
25291         * string/test-strspn.c (TEST_NAME): Likewise.
25292         * string/test-strstr.c (TEST_NAME): Likewise.
25293         * string/test-bcopy-ifunc.c: New file.
25294         * string/test-bzero-ifunc.c: Likewise.
25295         * string/test-memccpy-ifunc.c: Likewise.
25296         * string/test-memchr-ifunc.c: Likewise.
25297         * string/test-memcmp-ifunc.c: Likewise.
25298         * string/test-memcpy-ifunc.c: Likewise.
25299         * string/test-memmem-ifunc.c: Likewise.
25300         * string/test-memmove-ifunc.c: Likewise.
25301         * string/test-mempcpy-ifunc.c: Likewise.
25302         * string/test-memset-ifunc.c: Likewise.
25303         * string/test-rawmemchr-ifunc.c: Likewise.
25304         * string/test-stpcpy-ifunc.c: Likewise.
25305         * string/test-stpncpy-ifunc.c: Likewise.
25306         * string/test-strcasecmp-ifunc.c: Likewise.
25307         * string/test-strcasestr-ifunc.c: Likewise.
25308         * string/test-strcat-ifunc.c: Likewise.
25309         * string/test-strchr-ifunc.c: Likewise.
25310         * string/test-strchrnul-ifunc.c: Likewise.
25311         * string/test-strcmp-ifunc.c: Likewise.
25312         * string/test-strcpy-ifunc.c: Likewise.
25313         * string/test-strcspn-ifunc.c: Likewise.
25314         * string/test-strlen-ifunc.c: Likewise.
25315         * string/test-strncasecmp-ifunc.c: Likewise.
25316         * string/test-strncat-ifunc.c: Likewise.
25317         * string/test-strncmp-ifunc.c: Likewise.
25318         * string/test-strncpy-ifunc.c: Likewise.
25319         * string/test-strnlen-ifunc.c: Likewise.
25320         * string/test-strpbrk-ifunc.c: Likewise.
25321         * string/test-strrchr-ifunc.c: Likewise.
25322         * string/test-strspn-ifunc.c: Likewise.
25323         * string/test-strstr-ifunc.c: Likewise.
25325         * debug/Makefile (tests-ifunc): New variable.
25326         (tests): Add $(tests-ifunc).
25327         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25328         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25329         * debug/test-stpcpy_chk-ifunc.c: New file.
25330         * debug/test-strcpy_chk-ifunc.c: Likewise.
25332 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25334         [BZ #13601]
25335         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25336         header is not read in.
25338 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25340         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25341         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25342         directly.  Pass built executable to script as
25343         $(built-program-cmd).
25344         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25345         $testprogram without using LD_LIBRARY_PATH and $ldso.
25347         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25348         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25349         $(rtld-installed-name).
25350         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25351         (rtld_installed_name): Likewise.
25352         (library_path): Likewise.
25353         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25354         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25355         $(run-program-prefix) to tst-tables.sh.
25356         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25357         it to run tst-table-from and tst-table-to.
25358         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25359         Pass it to tst-table.sh.
25360         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25361         $(run-program-prefix) to tst-gettext.sh.
25362         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25363         tst-translit.sh.
25364         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25365         tst-gettext2.sh.
25366         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25367         to run tst-gettext.
25368         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25369         to run tst-gettext2.
25370         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25371         to run tst-translit.
25372         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25373         $(run-program-prefix) to tst-mtrace.sh.
25374         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25375         to run tst-mtrace.
25376         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25377         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25378         $(rtld-installed-name).
25379         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25380         (rtld_installed_name): Likewise.
25381         (run_program_prefix): New variable.  Use it to run wordexp-test.
25383         * Makeconfig (ARCH): Remove all definitions.
25384         (machine): Likewise.
25385         [ARCH]: Remove conditional code.
25386         [!objdir]: Give error.
25387         [!objdir] (objpfx): Remove.
25388         [!objdir] (common-objpfx): Likewise.
25389         [!objdir] (common-objdir): Likewise.
25390         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25391         AC_CONFIG_FILES call.
25392         * configure: Regenerated.
25394         [BZ #13888]
25395         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25396         or TMPDIR.
25397         (testout): Likewise.
25399         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25400         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25401         $(rtld-installed-name).
25402         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25403         (rtld_installed_name): Likwise.
25404         (runit): Remove function.
25405         (run_getconf): New variable,  Use it for running getconf binary.
25407 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25409         [BZ #14716]
25410         * string/test-memmem.c (check_result): New function.
25411         (do_one_test): Use it.
25412         (check1): New function.
25413         (test_main): Use it.
25415 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25417         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25419 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25421         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25422         (_G_LSEEK64): Likewise.
25423         (_G_MMAP64): Likewise.
25424         (_G_FSTAT64): Likewise.
25425         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25426         (_G_LSEEK64): Likewise.
25427         (_G_MMAP64): Likewise.
25428         (_G_FSTAT64): Likewise.
25429         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25430         unconditional.  Call __mmap64 directly.
25431         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25432         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
25433         __lseek64 directly.
25434         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25435         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
25436         __mmap64 directly.
25437         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25438         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25439         __lseek64 directly.
25440         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25441         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25442         __lseek64 directly.
25443         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25444         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
25445         __lseek64 directly.
25446         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25447         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
25448         __fxstat64 directly.
25449         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25450         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25451         unconditional.
25452         (freopen64) [!_G_OPEN64]: Remove conditional code.
25453         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25454         unconditional.
25455         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25456         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25457         unconditional.
25458         (ftello64) [!_G_LSEEK64]: Remove conditional code.
25459         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25460         unconditional.
25461         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25462         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25463         unconditional.
25464         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25465         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25466         unconditional.
25467         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25468         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25469         unconditional.
25470         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25471         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25472         unconditional.
25473         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25475 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25477         [BZ #12140]
25478         * manual/memory.texi (Malloc Tunable Parameters): Add note
25479         about free list pointers overwriting some perturb bytes.
25480         Wording suggested by Roland McGrath.
25482 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25484         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25485         (lgamma_test): Likewise.
25486         (tgamma_test): Likewise.
25488 2012-10-16  Florian Weimer  <fweimer@redhat.com>
25490         [BZ #14700]
25491         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25492         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25494 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
25496         * NEWS: Mention BZ #14716.
25497         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25498         when removing AVAILABLE1_USES_J macro.
25500 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
25502         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25503         (__bswap_64): __uint64_t for unsigned 64-bit int.
25505 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
25507         * include/string.h (memmem): Declare libc hidden alias.
25508         * string/memmem.c (memmem): Define libc hidden alias.
25509         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25510         __read, __close instead of open, read, close.
25512 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
25514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25515         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25516         global and hidden.
25517         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25518         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25519         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25520         Likewise.
25521         (__rawmemchr_sse2): Likewise.
25522         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25523         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25524         (__strchr_sse2): Likewise.
25525         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25526         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25527         (__strcasecmp_sse2): Likewise.
25528         (__strncasecmp_sse2): Likewise.
25529         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25530         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25531         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25532         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25533         (__strrchr_sse2): Likewise.
25534         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25535         ifunc-impl-list.c.
25536         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25537         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25538         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25539         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25540         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25541         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25542         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25543         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25544         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25545         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25546         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25547         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25548         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25549         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25550         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25551         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25552         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25553         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25554         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25555         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25556         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25557         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25558         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25559         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25560         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25561         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25562         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25563         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25564         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25565         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25567         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25568         global and hidden.
25569         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25570         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25571         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25572         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25573         Likewise.
25574         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25575         Likewise.
25576         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25577         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25578         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25579         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25580         ifunc-impl-list.c.
25581         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25582         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25583         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25584         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25585         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25586         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25587         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25588         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25589         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25590         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25591         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25592         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25593         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25594         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25595         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25596         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25597         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25598         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25599         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25600         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25601         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25602         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25603         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25604         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25605         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25606         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25607         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25608         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25609         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25610         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25611         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25612         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25613         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25614         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25615         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25616         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25617         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25618         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25619         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25620         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25621         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25623         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25624         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25625         * include/ifunc-impl-list.h: New file.
25626         * misc/ifunc-impl-list.c: Likewise.
25627         * misc/Makefile (routines): Add ifunc-impl-list.
25628         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25629         * string/test-string.h: Include <ifunc-impl-list.h>.
25630         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25631         TEST_NAME]: New variables.
25632         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25633         are defined.
25634         (test_init): Call __libc_ifunc_impl_list to initialize
25635         func_list if TEST_IFUNC and TEST_NAME are defined.
25637         * string/Makefile (strop-tests): Add bcopy and bzero.
25638         * string/test-bcopy.c: New file.
25639         * string/test-bzero.c: Likewise.
25640         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25641         defined.
25642         * string/test-memset.c: Support bzero test if TEST_BZERO is
25643         defined.
25644         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25645         __libc_memmove.
25646         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25647         __libc_memset.
25648         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25649         of memset.
25651 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25653         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25654         * configure: Regenerated.
25656         * Makeconfig (+link-static-before-libc): Don't include
25657         $(link-static-libc).
25659         * libio/libio.h (_IO_pos_t): Remove.
25661 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25663         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25664         McGrath.
25666 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25668         * crypt/crypt-entry.c: Include fips-private.h.
25669         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25670         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25671         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25672         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25674 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25676         * crypt/crypt-private.h: Include stdbool.h.
25677         (_ufc_setup_salt_r): Return bool.
25678         * crypt/crypt-entry.c: Include errno.h.
25679         (__crypt_r): Return NULL with EINVAL for bad salt.
25680         * crypt/crypt_util.c (bad_for_salt): New.
25681         (_ufc_setup_salt_r): Check that salt is long enough and within
25682         the specified alphabet.
25683         * crypt/badsalttest.c: New file.
25684         * crypt/Makefile (tests): Add it.
25685         ($(objpfx)badsalttest): New.
25687 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25689         * NEWS: Add entry for BZ #14602.
25691 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25693         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25694         type-generic.
25695         * math/libm-test.inc: Update comment listing what functions and
25696         macros are tested.
25697         (isgreater_test): New function.
25698         (isgreaterequal_test): Likewise.
25699         (isless_test): Likewise.
25700         (islessequal_test): Likewise.
25701         (islessgreater_test): Likewise.
25702         (isunordered_test): Likewise.
25703         (main): Call the new functions.
25705 2012-10-09  Roland McGrath  <roland@hack.frob.com>
25707         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25708         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25709         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25710         * sysdeps/i386/configure: Regenerated.
25711         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25712         * sysdeps/mach/configure: Regenerated.
25713         * sysdeps/mach/hurd/configure: Regenerated.
25714         * sysdeps/powerpc/configure: Regenerated.
25715         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25716         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25717         * sysdeps/s390/s390-32/configure: Regenerated.
25718         * sysdeps/s390/s390-64/configure: Regenerated.
25719         * sysdeps/sh/configure: Regenerated.
25720         * sysdeps/sparc/configure: Regenerated.
25721         * sysdeps/unix/sysv/linux/configure: Regenerated.
25722         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25723         * sysdeps/x86_64/configure: Regenerated.
25725         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25726         defined.  Don't check if MAP is NULL.
25728 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25730         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25731         (_G_stat64): Likewise.
25732         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25733         (_G_stat64): Likewise.
25734         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25735         instead of struct _G_stat64.
25736         * libio/fileops.c (mmap_remap_check): Likewise.
25737         (decide_maybe_mmap): Likewise.
25738         (_IO_new_file_seekoff): Likewise.
25739         (_IO_file_stat): Likewise.
25740         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25741         _G_off64_t.
25742         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25743         instead of struct _G_stat64.
25744         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25746 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
25748         [BZ #14602]
25749         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25750         Replace with ...
25751         (CHECK_EOL): New macro.
25752         (two_way_short_needle): Check beginning of haystack for EOL.  Use
25753         CHECK_EOL.
25754         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25755         Replace with CHECK_EOL.
25756         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25757         Replace with CHECK_EOL.
25759 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
25761         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25762         type-generic.
25763         * math/libm-test.inc: Update comment listing what functions and
25764         macros are tested.
25765         (finite_test): New function.
25766         (isinf_test): Likewise.
25767         (isnan_test): Likewise.
25768         (fpclassify_test): Test subnormal input.
25769         (isfinite_test): Likewise.
25770         (isnormal_test): Likewise.
25771         (main): Call the new functions.
25773 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
25775         [BZ #14660]
25776         * Makerules (%.dynsym): Force C locale when running
25777         $(OBJDUMP) --dynamic-syms.
25779 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
25781         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25782         <stdint.h>.
25784 2012-10-06  David S. Miller  <davem@davemloft.net>
25786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25787         upper 32-bits of the length value in %o2 since we use branch-on-register
25788         tests which consider the entire 64-bit register.
25790 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
25792         * string/test-strstr.c (check2): Add a test for page boundary.
25794 2012-10-05  David S. Miller  <davem@davemloft.net>
25796         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25797         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25798         file.
25799         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25800         sysdep_routines.
25801         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25802         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25803         and bzero when HWCAP_SPARC_CRYPTO is present.
25805 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
25807         [BZ #14602]
25808         * string/test-strstr.c (check2): New function.
25809         (test_main): Call check2.
25811         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25812         and bug-strchr1.
25813         * string/bug-strcasestr1.c (do_test): Moved to ...
25814         * string/test-strcasestr.c (check1): Here.  New function.
25815         (do_one_test): Break out result checking code into ...
25816         (check_result): This.  New function.
25817         (do_one_test): Call check_result.
25818         (test_main): Call check1.
25819         * string/bug-strchr1.c (do_test): Moved to ...
25820         * string/test-strchr.c (check1): Here.  New function.
25821         (do_one_test): Break out result checking code into ...
25822         (check_result): This.  New function.
25823         (do_one_test): Call check_result.
25824         (test_main): Call check1.
25825         * string/bug-strstr1.c (main): Moved to ...
25826         * string/test-strstr.c (check1): Here.  New function.
25827         (do_one_test): Break out result checking code into ...
25828         (check_result): This.  New function.
25829         (do_one_test): Call check_result.
25830         (test_main): Call check1.
25831         * string/bug-strcasestr1.c: Removed.
25832         * string/bug-strchr1.c: Likewise.
25833         * string/bug-strstr1.c: Likewise.
25835         * elf/Makefile (dl-routines): Add hwcaps.
25836         * elf/dl-support.c (_dl_important_hwcaps): Removed.
25837         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25838         (_dl_important_hwcaps): Moved to ...
25839         * elf/dl-hwcaps.c: Here.  New file.
25840         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25842         [BZ #14557]
25843         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25844         if IS_IN_rtld isn't defined.
25846         * elf/dl-support.c (_dl_sysinfo_map): New.
25847         Include "get-dynamic-info.h" and "setup-vdso.h".
25848         (_dl_non_dynamic_init): Call setup_vdso.
25849         * elf/dynamic-link.h: Don't include <assert.h>.
25850         (elf_get_dynamic_info): Moved to ...
25851         * elf/get-dynamic-info.h: Here.  New file.
25852         * elf/dynamic-link.h: Include "get-dynamic-info.h".
25853         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25854         * elf/setup-vdso.h: Here.  New file.
25855         * elf/rtld.c: Include "setup-vdso.h".
25856         (dl_main): Call setup_vdso.
25858 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
25860         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25861         creal in comment listing functions tested.  List finite, isinf,
25862         isnan, isless, islessequal, isgreater, isgreaterequal,
25863         islessgreater, isunordered, lgamma_r and pow10 as functions and
25864         macros not tested.  Mention which functions not tested are aliases
25865         for other functions.  Fix typo.  Note that signs of NaNs are not
25866         tested.
25868         * scripts/config.guess: Update from config.git.
25869         * scripts/config.sub: Likewise.
25871 2012-10-04  Roland McGrath  <roland@hack.frob.com>
25873         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25874         * misc/madvise.c (madvise): Renamed to __madvise.
25875         Make madvise a weak alias.
25876         * include/sys/mman.h: Declare __madvise.
25877         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25878         * sysdeps/unix/syscalls.list
25879         (madvise): Make __madvise the strong name, and madvise a weak alias.
25880         * sysdeps/unix/sysv/linux/syscalls.list
25881         (madvise, mmap): Remove redundant entries.
25882         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25883         * malloc/malloc.c (mtrim): Likewise.
25884         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25886 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25888         * sysdeps/mach/hurd/dl-cache.c: File removed.
25889         * config.h.in (USE_LDCONFIG): New #undef.
25890         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25891         * configure: Regenerated.
25892         * elf/Makefile (dl-routines): Add dl-cache only under
25893         [$(use-ldconfig) = yes].
25894         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25895         cache on [USE_LDCONFIG].
25896         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25897         [USE_LDCONFIG].
25898         * elf/rtld.c (dl_main): Likewise.
25900 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
25902         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25903         _SC_LEVEL4_CACHE_LINESIZE.
25905 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25907         * sysdeps/unix/bsd/confstr.h: File removed.
25909 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
25911         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25912         sys/sdt-config.h.
25914 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25916         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25917         Make 'mapoff' field ElfW(Off) rather than off_t.
25919 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25921         * nscd/Makefile: Remove nscd-cflags and all its users.
25922         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25923         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25925         [BZ #10631]
25926         * malloc.c (malloc_printerr): Clarify error message.
25928 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25930         [BZ #14648]
25931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25932         Set bit_FMA_Usable if FMA is supported.
25933         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25934         macro.
25935         (bit_FMA4_Usable): Updated.
25936         (index_FMA_Usable): New macro.
25937         (CPUID_FMA): Likewise
25938         (HAS_FMA): Defined with bit_FMA_Usable.
25940 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25942         * bits/types.h (__swblk_t): Type removed.
25943         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25944         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25946         (__SWBLK_T_TYPE): Likewise.
25947         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25948         (__SWBLK_T_TYPE): Likewise.
25949         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25950         (__SWBLK_T_TYPE): Likewise.
25951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25952         (__SWBLK_T_TYPE): Likewise.
25954 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25955             Honza Horak <hhorak@redhat.com>
25957         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25958         (xdr_mapname): Use YPMAXMAP as maxsize.
25959         (xdr_peername): Use YPMAXPEER as maxsize.
25960         (xdr_keydat): Use YPAXRECORD as maxsize.
25961         (xdr_valdat): Use YPMAXRECORD as maxsize.
25963 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25965         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25967         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25968         * csu/init-first.c: ... here.
25969         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25970         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25971         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25972         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25973         * sysdeps/i386/init-first.c: File removed.
25974         * sysdeps/sh/init-first.c: File removed.
25976 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25978         [BZ #14645]
25979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25980         if x * y might underflow to zero and z is zero.
25981         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25982         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25983         * math/libm-test.inc (min_subnorm_value): New variable.
25984         (fma_test): Add more tests.
25985         (fma_test_towardzero): Likewise.
25986         (fma_test_downward): Likewise
25987         (fma_test_upward): Likewise.
25988         (initialize): Set min_subnorm_value.
25990 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25992         [BZ #14638]
25993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25994         0 + 0.
25995         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25996         mode for addition resulting in exact zero.
25997         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25999         exact 0 + 0.
26000         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26002         * math/libm-test.inc (fma_test): Add more tests.
26003         (fma_test_towardzero): New function.
26004         (fma_test_downward): Likewise.
26005         (fma_test_upward): Likewise.
26006         (main): Call the new functions.
26008 2012-09-28  David S. Miller  <davem@davemloft.net>
26010         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26012 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26014         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26015         instead of SIGALRM.
26017         * sysdeps/gnu/_G_config.h: Moved to ...
26018         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26019         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26020         * sysdeps/generic/_G_config.h: ... here.
26022         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26024         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26026         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26027         Conditionalize target on [libnss_test1.so-version].
26029         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26031         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26032         (elfobjdir): Move out of conditionals.
26034         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26035         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26036         (__nss_lookup_function): Conditionalize label remove_from_tree on
26037         [!DO_STATIC_NSS || SHARED], matching its only use.
26039 2012-09-28  David S. Miller  <davem@davemloft.net>
26041         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26042         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26043         file.
26044         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26045         sysdep_routines.
26046         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26047         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26048         when HWCAP_SPARC_CRYPTO is present.
26050 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26052         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26054 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26056         [BZ #6530]
26057         * stdio-common/vfprintf.c (process_string_arg): Revert
26058         2000-07-22 change.
26060 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26062         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26063         for testcase.
26064         * stdio-common/tst-sprintf.c: Include <locale.h>
26065         (main): Test sprintf's handling of incomplete multibyte
26066         characters.
26068 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26070         * elf/dl-runtime.c (VERSYMIDX): Removed.
26071         * elf/dl-version.c (VERSYMIDX): Likewise.
26072         * elf/do-rel.h (VERSYMIDX): Likewise.
26073         (VALIDX): Likewise.
26074         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26075         * elf/rtld.c (VALIDX): Likewise.
26076         (ADDRIDX): Likewise.
26077         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26078         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26079         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26080         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26081         (VALIDX): Likewise.
26082         (ADDRIDX): Likewise.
26084 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26086         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26088 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26090         [BZ #11438]
26091         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26092         to global scope.
26093         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26094         addresses are in the same scope as 192.0.2/24.
26095         * posix/gai.conf: Document new scope table defaults.
26097 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26099         [BZ #5298]
26100         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26101         for ftell.  Compute offsets from write pointers instead.
26102         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26104 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26106         [BZ #14543]
26107         * libio/Makefile (tests): New test case tst-fseek.
26108         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26109         combination works in wide mode.
26110         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26111         state when the external buffer state changes.
26113 2012-09-27  David S. Miller  <davem@davemloft.net>
26115         [BZ #14376]
26116         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26117         pass reloc->r_addend in as the 'high' argument to
26118         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26122 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26124         * rt/tst-aio2.c: Include <pthread.h>.
26125         * rt/tst-aio3.c: Likewise.
26127 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26129         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26131 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26133         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26134         contents on [SHARED].
26136 2012-09-26  Marek Polacek  <polacek@redhat.com>
26138         [BZ #14530]
26139         [BZ #13741]
26140         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26141         for C++ and GCC <4.3 as well as for non GCC compilers.
26143 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26147 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26149         * Makefile.in (all, install): Declare with .PHONY.
26150         Reported by Michael Hope <michael.hope@linaro.org>.
26152 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26154         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26155         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26156         system header.
26157         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26158         Likewise.
26159         (sydep_routines): Add the new and the internal functions.
26160         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26161         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26163         (GLIBC_2.17): Add the new function.
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26165         (GLIBC_2.17): Likewise.
26166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26167         (GLIBC_2.17): Likewise.
26168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26169         (GLIBC_2.17): Likewise.
26170         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26172 2012-09-25  Alan Modra  <amodra@gmail.com>
26174         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26175         Add release barrier before setting once_control to say
26176         initialisation is done.  Add hints on lwarx.  Use macro in
26177         place of isync.
26178         (clear_once_control): Add release barrier.
26180 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26182         [BZ #13629]
26183         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26184         specially.
26185         * math/s_clog10.c (__clog10): Likewise.
26186         * math/s_clog10f.c (__clog10f): Likewise.
26187         * math/s_clog10l.c (__clog10l): Likewise.
26188         * math/s_clogf.c (__clogf): Likewise.
26189         * math/s_clogl.c (__clogl): Likewise.
26190         * math/Makefile (libm-calls): Add x2y2m1.
26191         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26192         (__x2y2m1): Likewise.
26193         (__x2y2m1l): Likewise.
26194         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26195         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26196         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26197         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26198         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26199         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26200         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26201         * sysdeps/i386/fpu/libm-test-ulps: Update.
26202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26204         [BZ #14621]
26205         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26206         int as type of variable DEPTH.
26207         (glob): Use size_t instead of int as type of variables NEWCOUNT
26208         and OLD_PATHC.
26210 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26212         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26213         Add s_sincosf-sse2.
26214         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26215         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26216         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26217         macros for using routine as __sincosf_ia32.
26218         Use macro for function declaration and weak_alias.
26219         * sysdeps/i386/fpu/libm-test-ulps: Update.
26221         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26224         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26225         subnormal argument.
26226         * math/s_cexpf.c (__cexpf): Likewise.
26227         * math/s_csinf.c (__csinf): Likewise.
26228         * math/s_csinhf.c (__csinhf): Likewise.
26229         * math/s_ctanf.c (__ctanf): Likewise.
26230         * math/s_ctanhf.c (__ctanhf): Likewise.
26231         * math/s_ccosh.c (__ccoshf): Likewise.
26232         * math/s_cexp.c (__cexpl): Likewise.
26233         * math/s_csin.c (__csin): Likewise.
26234         * math/s_csinh.c (__csinh): Likewise.
26235         * math/s_ctan.c (__ctan): Likewise.
26236         * math/s_ctanh.c (ctanh): Likewise.
26237         * math/s_ccoshl.c (__ccoshl): Likewise.
26238         * math/s_cexpl.c (__cexpl): Likewise.
26239         * math/s_csinl.c (__csinl): Likewise.
26240         * math/s_csinhl.c (__csinhl): Likewise.
26241         * math/s_ctanl.c (__ctanl): Likewise.
26242         * math/s_ctanhl.c (__ctanhl): Likewise.
26244 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26246         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26247         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26248         (_IO_off_t): Define to __off_t, not _G_off_t.
26249         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26250         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26251         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26252         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26253         type of __dummy and __dummy2 fields.
26254         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26255         (_G_ssize_t): Likewise.
26256         (_G_off_t): Likewise.
26257         (_G_pid_t): Likewise.
26258         (_G_uid_t): Likewise.
26259         (_G_wchar_t): Likewise.
26260         (_G_wint_t): Likewise.
26261         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26262         (_G_ssize_t): Likewise.
26263         (_G_off_t): Likewise.
26264         (_G_pid_t): Likewise.
26265         (_G_uid_t): Likewise.
26266         (_G_wchar_t): Likewise.
26267         (_G_wint_t): Likewise.
26268         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26269         (_G_ssize_t): Likewise.
26270         (_G_off_t): Likewise.
26271         (_G_pid_t): Likewise.
26272         (_G_uid_t): Likewise.
26273         (_G_wchar_t): Likewise.
26274         (_G_wint_t): Likewise.
26276 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26278         * malloc/arena.c: Include malloc-sysdep.h.
26279         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26280         is sufficient to shrink the heap or an unmap is needed.
26281         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26282         new function check_may_shrink_heap.
26283         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26284         new function check_may_shrink_heap.
26286 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26288         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26289         comments.
26291 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26293         * catgets/test-gencat.sh: Add "set -e".
26294         * elf/tst-pathopt.sh: Likewise.
26295         * grp/tst_fgetgrent.sh: Likewise.
26296         * iconvdata/run-iconv-test.sh: Likewise.
26297         * intl/tst-gettext.sh: Likewise.
26298         * intl/tst-gettext2.sh: Likewise.
26299         * intl/tst-gettext4.sh: Likewise.
26300         * intl/tst-gettext6.sh: Likewise.
26301         * intl/tst-translit.sh: Likewise.
26302         * io/ftwtest-sh: Likewise.
26303         * libio/test-freopen.sh: Likewise.
26304         * malloc/tst-mtrace.sh: Likewise.
26305         * posix/globtest.sh: Likewise.
26306         * posix/tst-getconf.sh: Likewise.
26307         * posix/wordexp-tst.sh: Likewise.
26308         * stdio-common/tst-printf.sh: Likewise.
26309         * stdio-common/tst-unbputc.sh: Likewise.
26310         * stdlib/tst-fmtmsg.sh: Likewise.
26311         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26312         * catgets/Makefile: Do not specify -e option when running
26313         testsuite shell scripts.
26314         * elf/Makefile: Likewise.
26315         * grp/Makefile: Likewise.
26316         * iconvdata/Makefile: Likewise.
26317         * intl/Makefile: Likewise.
26318         * io/Makefile: Likewise.
26319         * libio/Makefile: Likewise.
26320         * malloc/Makefile: Likewise.
26321         * posix/Makefile: Likewise.
26322         * stdio-common/Makefile: Likewise.
26323         * stdlib/Makefile: Likewise.
26324         * sysdeps/x86_64/Makefile: Likewise.
26326         * io/ftwtest-sh: Add copyright header.
26327         * posix/globtest.sh: Likewise.
26328         * posix/tst-getconf.sh: Likewise.
26329         * posix/wordexp-tst.sh: Likewise.
26330         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26332 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26334         [BZ #13679]
26335         * Makeconfig (+link): Defined as $(+link-static) if
26336         $(build-shared) isn't yes.
26337         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26338         isn't yes.
26339         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26341         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26343         [BZ #14562]
26344         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26345         new chunk size with MALLOC_ALIGN_MASK.
26347 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26349         [BZ #5044]
26350         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26351         <rounding-mode.h>.
26352         (__printf_fphex): Determine rounding using get_rounding_mode and
26353         round_away.
26354         * stdio-common/tst-printf-round.c (struct hex_test): New
26355         structure.
26356         (hex_tests): New variable.
26357         (test_hex_in_one_mode): New function.
26358         (do_test): Also run tests for hex float output.
26360 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26362         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26363         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26364         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26365         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26366         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26367         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26368         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26369         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26371 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26373         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26374         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26375         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26376         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26378 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26380         [BZ #14579]
26381         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26382         mode only.
26383         * elf/tst-rtld-load-self.sh: New test.
26384         * elf/Makefile: Run it.
26386 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26388         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26389         (tst-writev-ENV): Remove.
26390         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26392 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26394         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26396 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26398         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26399         unconditional.
26400         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26401         Likewise.
26402         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26403         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26404         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26405         Likewise.
26407 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26409         [BZ #14587]
26410         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26411         * config.make.in (have-cpp-asm-debuginfo): Removed.
26412         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26413         * configure: Regenerated.
26415 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26417         [BZ #5044]
26418         * stdio-common/printf_fp.c: Include <stdbool.h> and
26419         <rounding-mode.h>.
26420         (___printf_fp): Determine rounding using get_rounding_mode and
26421         round_away.
26422         * stdio-common/tst-printf-round.c: New file.
26423         * stdio-common/Makefile (tests): Add tst-printf-round.
26424         (link-libm): New variable.
26425         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26427 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26429         [BZ #14576]
26430         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26431         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26432         Likewise.
26433         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26434         Likewise.
26436 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
26438         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26439         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26440         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26441         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26443 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
26445         [BZ #14518]
26446         * include/rounding-mode.h: New file.
26447         * sysdeps/generic/get-rounding-mode.h: Likewise.
26448         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26449         * stdlib/strtod_l.c: Include <rounding-mode.h>.
26450         (MAX_VALUE): New macro.
26451         (MIN_VALUE): Likewise.
26452         (overflow_value): New function.
26453         (underflow_value): Likewise.
26454         (round_and_return): Use overflow_value and underflow_value to
26455         determine return values in overflow and underflow cases.  Use
26456         round_away to determine rounding depending on rounding mode.
26457         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26458         determine return values in overflow and underflow cases.
26459         * stdlib/tst-strtod-round.c: Include <fenv.h>.
26460         (struct test_results): New structure.
26461         (struct test): Use struct test_results to store expected results
26462         for all rounding modes.
26463         (TEST): Include expected results for all rounding modes.
26464         (test_in_one_mode): New function.
26465         (do_test): Use test_in_one_mode to compute and check results.
26466         Check results for all rounding modes.
26467         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26468         $(link-libm).
26470 2012-12-09  Allan McRae  <allan@archlinux.org>
26472         * sysdeps/i386/fpu/libm-test-ulps: Update
26474 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26476         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26477         (_G_int32_t): Likewise.
26478         (_G_uint16_t): Likewise.
26479         (_G_uint32_t): Likewise.
26480         (_G_HAVE_BOOL): Likewise.
26481         (_G_HAVE_ATEXIT): Likewise.
26482         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26483         (_G_HAVE_IO_FILE_OPEN): Likewise.
26484         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26485         (_G_int32_t): Likewise.
26486         (_G_uint16_t): Likewise.
26487         (_G_uint32_t): Likewise.
26488         (_G_HAVE_BOOL): Likewise.
26489         (_G_HAVE_ATEXIT): Likewise.
26490         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26491         (_G_HAVE_IO_FILE_OPEN): Likewise.
26492         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26493         (_G_int32_t): Likewise.
26494         (_G_uint16_t): Likewise.
26495         (_G_uint32_t): Likewise.
26496         (_G_HAVE_BOOL): Likewise.
26497         (_G_HAVE_ATEXIT): Likewise.
26498         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26499         (_G_HAVE_IO_FILE_OPEN): Likewise.
26501 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
26503         * csu/libc-tls.c: Update copyright years.
26505 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
26507         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26508         [!_G_USING_THUNKS]: Remove conditional code.
26509         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26510         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26512         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26513         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26514         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26515         (_G_VTABLE_LABEL_PREFIX): Likewise.
26516         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26517         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26518         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26519         (_G_VTABLE_LABEL_PREFIX): Likewise.
26520         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26521         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26522         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26523         (_G_VTABLE_LABEL_PREFIX): Likewise.
26524         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26526 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
26528         * libio/Makefile: Include ../Makeconfig before tests.
26529         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26530         only if $(build-shared) is yes.
26532         * iconv/gconv_db.c: Update copyright years.
26534 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26536         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26537         unwind info if defined PIC. Fix special cases description.
26538         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26540         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26541         DP_HI_MASK entry.
26542         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26544 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
26546         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26548         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26549         is NULL.
26551         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26552         (LDLIBS-tst-chk4): This.
26553         (LDFLAGS-tst-chk5): Renamed to ...
26554         (LDLIBS-tst-chk5): This.
26555         (LDFLAGS-tst-chk6): Renamed to ...
26556         (LDLIBS-tst-chk6): This.
26557         (LDFLAGS-tst-lfschk4): Renamed to ...
26558         (LDLIBS-tst-lfschk4): This.
26559         (LDFLAGS-tst-lfschk5): Renamed to ...
26560         (LDLIBS-tst-lfschk5): This.
26561         (LDFLAGS-tst-lfschk6): Renamed to ...
26562         (LDLIBS-tst-lfschk6): This.
26564         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26565         on $(common-objpfx)soversions.mk.
26567 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
26569         [BZ #10014]
26570         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26571         example host name.
26573 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26575         * malloc/arena.c (arena_get_retry): New function that gets
26576         another arena for the caller to try its request on.
26577         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26578         current arena cannot fulfill the request.
26579         (__libc_memalign): Likewise.
26580         (__libc_memalign): Likewise.
26581         (__libc_pvalloc): Likewise.
26582         (__libc_calloc): Likewise.
26584 2012-09-05  John Tobey  <john.tobey@gmail.com>
26586         [BZ #13542]
26587         * manual/arith.texi (Operations on Complex): Fix description
26588         of carg branch cut.
26590 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26592         [BZ #10014]
26593         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26594         host name.
26596         [BZ #10038]
26597         * manual/memory.texi (Memory): Make order of menu items match
26598         order of sections.
26600 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26602         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26603         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26604         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26606 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26608         * csu/libc-tls.c (static_dtv): Renamed to ...
26609         (_dl_static_dtv): This.  Make it global.
26610         (_dl_initial_dtv): Removed.
26611         (__libc_setup_tls): Updated.
26612         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26613         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26614         DL_INITIAL_DTV.
26616 2012-09-06  Petr Machata  <pmachata@redhat.com>
26618         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26619         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26620         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26621         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26623 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26625         [BZ #14545]
26626         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26627         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26628         freeing dtv[-1].
26630 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26632         [BZ #14544]
26633         * Makeconfig (link-static-before-libc): Replace $(+prector)
26634         with $(+prectorT).
26635         (link-static-after-libc): Replace $(+postctor) with
26636         $(+postctorT).
26637         (link-bounded): Replace $(+prector)/$(+postctor) with
26638         $(+prectorT)/$(+postctorT).
26639         (+prectorT): New macro.
26640         (+postctorT): Likewise.
26642 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26644         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26645         (round_str): Handle values above the maximum for IBM long double
26646         as inexact.
26647         * stdlib/tst-strtod-round.c (tests): Regenerated.
26649 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26651         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26652         assembler flag.
26653         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26654         zarch_nohighgprs around the zarch optimized routines.
26655         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26656         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26658         for zarch.
26660 2012-09-05  David S. Miller  <davem@davemloft.net>
26662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26664         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26665         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26666         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26667         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26668         entries.
26670 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26672         * malloc/arena.c: Fold copyright years.
26673         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26675 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26677         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26679 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26681         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26683 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26685         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26686         change internal state upon failure.
26688 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26690         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26691         * malloc/memusage.c (mmap): Likewise.
26692         (mmap64, mremap): Likewise.  Adjust name in comment.
26694 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26696         * libio/fileops.c: Fix typos in comments.
26697         * libio/oldfileops.c: Likewise.
26698         * libio/wfileops.c: Likewise.
26700 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26702         [BZ #1349]
26703         * malloc/Makefile (tests): Add tst-malloc-usable test case.
26704         (tst-malloc-usable-ENV): Set environment for test case.
26705         * malloc/hooks.c (malloc_check_get_size): New function to get
26706         requested size.
26707         * malloc/malloc.c (musable): Use malloc_check_get_size.
26708         * malloc/tst-malloc-usable.c: New test case.
26710 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26712         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26714 2012-09-05  Allan McRae  <allan@archlinux.org>
26716         [BZ #13966]
26717         * configure.in (CXX_SYSINCLUDES): Use compiler output to
26718         determine header location.
26719         * configure: Regenerated.
26721 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26723         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26724         float format.
26725         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26726         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26727         format.
26728         (test): Regenerate.
26730 2012-09-04  David S. Miller  <davem@davemloft.net>
26732         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26733         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26736 2012-09-04  Florian Weimer  <fweimer@redhat.com>
26738         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26739         failures.
26741         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26743 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
26745         [BZ #9914]
26746         * libio/iogetdelim.c: Include <limits.h>.
26747         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26748         + len + 1 would overflow.
26750 2012-09-03  Andreas Jaeger  <aj@suse.de>
26752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26753         * sysdeps/i386/fpu/libm-test-ulps: Update.
26755 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26757         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26758         Add s_sinf-sse2, s_conf-sse2.
26760         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26761         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26762         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26763         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26765         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26766         for using routine as __sinf_ia32.
26767         Use macro for function declaration and weak_alias.
26768         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26769         for using routine as __cosf_ia32.
26770         Use macro for function declaration and weak_alias.
26772         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26773         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26775         * sysdeps/x86_64/fpu/s_sinf.S: New file.
26776         * sysdeps/x86_64/fpu/s_cosf.S: New file.
26777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26779         * math/libm-test.inc (cos_test): Add more test cases.
26780         (sin_test): Likewise.
26781         (sincos_test): Likewise.
26783 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26785         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26786         (IFUNC_RESOLVE): Make pointers to the specialized implementations
26787         hidden.
26788         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26790 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
26792         [BZ #14538]
26793         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26794         first element of the GOT.
26795         (elf_machine_load_address): Return the difference between
26796         the runtime address of _DYNAMIC and elf_machine_dynamic ().
26798 2012-09-01  Allan McRae  <allan@archlinux.org>
26800         [BZ #13412]
26801         * configure.in (AWK): Require gawk version 3.0 or later.
26802         * configure: Regenerated.
26804 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
26806         * sysdeps/unix/sysv/linux/kernel-features.h
26807         (__ASSUME_POSIX_CPU_TIMERS): Remove.
26808         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26809         [__NR_clock_getres]: Make code unconditional.
26810         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26811         (clock_getcpuclockid): Remove code left unreachable by removal of
26812         conditionals.
26813         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26814         code unconditional.
26815         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26816         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26817         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26818         Make code unconditional.
26819         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26820         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26821         * sysdeps/unix/sysv/linux/clock_settime.c
26822         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26823         conditional code.
26824         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26825         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26827 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
26829         [BZ #14476]
26830         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26831         scripts/test-installation.pl.
26833         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26834         and $ld_so_version if it is set.
26836 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26838         [BZ #14516]
26839         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26840         failure if reading from procfs failed.
26841         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26843 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26845         * sysdeps/unix/sysv/linux/kernel-features.h
26846         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26847         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26848         Remove conditional code.
26849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26850         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26851         Remove conditional code.
26852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26853         * sysdeps/unix/sysv/linux/i386/fxstat.c
26854         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26856         * sysdeps/unix/sysv/linux/i386/fxstatat.c
26857         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26859         * sysdeps/unix/sysv/linux/i386/lxstat.c
26860         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26861         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26862         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26863         Remove conditional code.
26864         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26865         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26866         Remove conditional code.
26867         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26868         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26869         <kernel-features.h>.
26870         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26871         Remove.
26872         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26873         Remove conditional code.
26874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26875         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26876         Remove conditional.
26878 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
26880         [BZ #5400]
26881         * NEWS: Add fixed bug number.
26883 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26885         [BZ #14519]
26886         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26887         underflowing exponent in case of negative sign.
26888         * stdlib/tst-strtod-round-data: Add more tests.
26889         * stdlib/tst-strtod-round.c (tests): Regenerated.
26891         [BZ #3479]
26892         * stdlib/strtod_l.c (NDIG): Remove.
26893         (HEXNDIG): Likewise.
26894         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26895         smallest representable value.
26896         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26897         lie within an exact representation of 1/2 ulp of the result.
26898         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26899         unconditionally.
26900         (TENS_P9_IDX): Define unconditionally.
26901         (TENS_P9_SIZE): Likewise.
26902         (TENS_P10_IDX): Likewise.
26903         (TENS_P10_SIZE): Likewise.
26904         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26905         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26906         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26907         entries for 10^2^13 and 10^2^14.
26908         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26909         (TENS_P13_IDX): Define.
26910         (TENS_P13_SIZE): Likewise.
26911         (TENS_P14_IDX): Likewise.
26912         (TENS_P14_SIZE): Likewise.
26913         (_fpioconst_pow10): Change array size to
26914         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26915         unconditional.
26916         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26917         1024]: Add entries for 10^2^13 and 10^2^14.
26918         [LAST_POW10 > _LAST_POW10]: Remove #error.
26919         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26920         (_fpioconst_pow10): Change array size to
26921         FPIOCONST_POW10_ARRAY_SIZE.
26922         * stdlib/gen-fpioconst.c: New file.
26923         * stdlib/gen-tst-strtod-round.c: Likewise.
26924         * stdlib/tst-strtod-round-data: Likewise.
26925         * stdlib/tst-strtod-round.c: Likewise.
26926         * stdlib/Makefile (tests): Add tst-strtod-round.
26928         [BZ #14459]
26929         * stdlib/strtod_l.c: Include <stdint.h>.
26930         (NDEBUG): Do not define.
26931         (round_and_return): Change EXPONENT parameter to type intmax_t.
26932         Rearrange calculations to avoid internal overflow possibilities.
26933         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26934         Rearrange calculations to avoid internal overflow possibilities.
26935         Assert that number fits inside MPNSIZE limbs.
26936         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26937         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26938         calculations and add assertions to avoid internal overflow
26939         possibilities.  Add casts to avoid signed/unsigned operations.
26940         * stdlib/tst-strtod-overflow.c: New file.
26941         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26943 2012-08-25  Marek Polacek  <polacek@redhat.com>
26945         * time/time.h: Fix some typos in comments.
26947 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26949         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26950         * posix/tst-rfc3484-2.c: Likewise.
26951         * posix/tst-rfc3484-3.c: Likewise.
26953 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26955         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26956         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26958 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26960         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26961         #include of fxstatat64.c.
26963 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26965         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26966         * shadow/getspent_r.c: Likewise.
26967         * shadow/getspnam.c: Likewise.
26968         * shadow/getspnam_r.c: Likewise.
26969         * gshadow/getsgent.c: Likewise.
26970         * gshadow/getsgent_r.c: Likewise.
26971         * gshadow/getsgnam.c: Likewise.
26972         * gshadow/getsgnam_r.c: Likewise.
26973         * inet/getnetbyad.c: Likewise.
26974         * inet/getnetbyad_r.c: Likewise.
26975         * inet/getnetbynm.c: Likewise.
26976         * inet/getnetbynm_r.c: Likewise.
26977         * inet/getnetent.c: Likewise.
26978         * inet/getnetent_r.c: Likewise.
26979         * inet/getproto.c: Likewise.
26980         * inet/getproto_r.c: Likewise.
26981         * inet/getprtent.c: Likewise.
26982         * inet/getprtent_r.c: Likewise.
26983         * inet/getprtname.c: Likewise.
26984         * inet/getprtname_r.c: Likewise.
26985         * inet/getrpcbyname.c: Likewise.
26986         * inet/getrpcbyname_r.c: Likewise.
26987         * inet/getrpcbynumber.c: Likewise.
26988         * inet/getrpcbynumber_r.c: Likewise.
26989         * inet/getrpcent.c: Likewise.
26990         * inet/getrpcent_r.c: Likewise.
26991         * inet/getaliasent.c: Likewise.
26992         * inet/getaliasent_r.c: Likewise.
26993         * inet/getaliasname.c: Likewise.
26994         * inet/getaliasname_r.c: Likewise.
26995         * nscd/getgrgid_r.c: Likewise.
26996         * nscd/getgrnam_r.c: Likewise.
26997         * nscd/gethstbyad_r.c: Likewise.
26998         * nscd/gethstbynm3_r.c: Likewise.
26999         * nscd/getpwnam_r.c: Likewise.
27000         * nscd/getpwuid_r.c: Likewise.
27001         * nscd/getsrvbynm_r.c: Likewise.
27002         * nscd/getsrvbypt_r.c: Likewise.
27003         * nscd/gai.c: Likewise.
27005         * configure.in (build_nscd): New substituted variable, set
27006         by --disable-build-nscd and defaults to $use_nscd.
27007         * configure: Regenerated.
27008         * config.make.in (build-nscd): New substituted variable.
27009         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27010         Change conditional to require [$(build-nscd) = yes] as well.
27011         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27013         [BZ# 13696]
27014         * configure.in (use_nscd): New substituted variable, set by
27015         --disable-nscd.  If enabled, define USE_NSCD.
27016         * configure: Regenerated.
27017         * config.h.in: Add USE_NSCD.
27018         * config.make.in (use-nscd): New substituted variable.
27019         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27020         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27021         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27022         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27023         (CFLAGS-getgrnam_r.c): Likewise.
27024         (CFLAGS-initgroups.c): Likewise.
27025         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27026         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27027         Variables removed.
27028         * inet/getnetgrent_r.c
27029         (nscd_setnetgrent): New function, broken out of ...
27030         (setnetgrent): ... here.  Call it.
27031         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27032         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27033         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27034         * nscd/Makefile (routines, aux): Move definitions after include of
27035         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27036         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27037         Conditionalize on [USE_NSCD].
27038         (is_nscd, nscd_init_cb): Likewise.
27039         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27040         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27041         * nss/nss_db/db-init.c: Likewise.
27042         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27043         [USE_NSCD].
27044         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27045         (make_request): Use it.
27046         (cache_valid_p): New function.
27047         (__check_pf): Use it.
27048         * NEWS: Add item for --disable-nscd.
27050 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27052         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27053         to support sed >= 4.2.1-20-ga9bf076.
27054         * configure: Regenerated.
27056 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27058         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27059         Conditionalize whole body on [IREL].
27061 2012-08-22  Jeff Law <law@redhat.com>
27063         [BZ #14505]
27064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27065         if the family is PF_UNSPEC.
27067 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27069         * Makerules (lib-version): Rename from V.
27070         (install-lib-nosubdir): Change V to lib-version.
27072 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27074         [BZ #14252]
27075         * powerpc32/power6/wcschr.c: New file.
27076         * powerpc32/power6/wcscpy.c: New file.
27077         * powerpc32/power6/wcsrchr.c: New file.
27078         * powerpc64/power6/wcschr.c: New file.
27079         * powerpc64/power6/wcscpy.c: New file.
27080         * powerpc64/power6/wcsrchr.c: New file.
27082 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27084         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27085         (two_way_short_needle): Use it.
27086         * string/strstr.c (AVAILABLE1_USES_J): Define.
27087         * string/strcasestr.c: Likewise.
27089         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27090         array references.
27091         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27093         [BZ #11607]
27094         * NEWS: Add an entry.
27095         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27096         define their defaults.
27097         (two_way_short_needle): Detect end-of-string on-the-fly.
27098         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27099         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27100         * string/bug-strcasestr1.c: New test.
27101         * string/Makefile: Run it.
27103 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27105         [BZ #11607]
27106         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27107         the first character.
27109 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27111         * csu/elf-init.c (__libc_csu_irel): Function removed.
27112         * csu/libc-start.c (apply_irel): New function.
27113         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27115 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27117         * sysdeps/unix/sysv/linux/kernel-features.h
27118         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27119         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27120         <kernel-features.h>.
27121         [__NR_fadvise64_64]: Make code unconditional.
27122         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27123         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27124         !__NR_fadvise64_64)]: Likewise.
27125         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27126         !__NR_fadvise64_64))]: Likewise.
27127         [__NR_fadvise64]: Make code unconditional.
27128         [!__NR_fadvise64]: Remove conditional code.
27129         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27130         <kernel-features.h>.
27131         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27132         unconditional.
27133         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27134         conditional code.
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27136         not include <kernel-features.h>.
27137         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27138         unconditional.
27139         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27140         conditional code.
27141         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27142         include <kernel-features.h>.
27143         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27144         unconditional.
27145         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27146         conditional code.
27148 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27150         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27151         slight instruction rearrangements per scrollpipe analysis.
27152         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27154 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27156         * manual/syslog.texi (syslog; vsyslog, closelog):
27157         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27158         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27160         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27161         DSOCAPS to match condition on defining it.
27163 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27165         * sysdeps/unix/sysv/linux/kernel-features.h
27166         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27168         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27169         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27171         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27172         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27174         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27175         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27177         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27178         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27180         * sysdeps/unix/sysv/linux/kernel-features.h
27181         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27182         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27183         unconditional.
27184         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27185         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27186         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27187         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27188         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27189         Make code unconditional.
27190         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27191         (__mmap64) [!__NR_mmap2]: Likewise.
27192         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27193         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27194         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27195         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27196         [__NR_mmap2]: Make code unconditional.
27197         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27198         (__mmap64) [!__NR_mmap2]: Likewise.
27200 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27202         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27204 2012-08-18  Andreas Jaeger  <aj@suse.de>
27206         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27208 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27210         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27211         * include/unistd.h (__have_sock_cloexec): Likewise.
27212         (__have_pipe2): Likewise.
27213         (__have_dup3): Likewise.
27215 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27217         [BZ #9685]
27218         * include/unistd.h (__have_pipe2): Change define into an extern int.
27219         (__have_dup3): Likewise.
27220         * socket/have_sock_cloexec.c: Include fcntl.h.
27221         (__have_pipe2): New variable.
27222         (__have_dup3): Likewise.
27224 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27226         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27228 2012-08-17  Marek Polacek  <polacek@redhat.com>
27230         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27231         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27233 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27235         * configure.in: Add AC_SUBST for sysheaders.
27236         * configure: Regenerated.
27237         * config.make.in (sysheaders): New substituted variable.
27239         * sysdeps/unix/mkfifo.c: Moved ...
27240         * sysdeps/posix/mkfifo.c: ... here.
27241         * sysdeps/unix/mkfifoat.c: Moved ...
27242         * sysdeps/posix/mkfifoat.c: ... here.
27244         * sysdeps/unix/utime.c: Moved ...
27245         * sysdeps/posix/utime.c: ... here.
27247         * sysdeps/unix/time.c: Moved ...
27248         * sysdeps/posix/time.c: ... here.
27249         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27250         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27252         * sysdeps/unix/nice.c: Moved ...
27253         * sysdeps/posix/nice.c: ... here.
27255         * sysdeps/unix/alarm.c: Moved ...
27256         * sysdeps/posix/alarm.c: ... here.
27258         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27260 2012-08-17  Jeff Law <law@redhat.com>
27262         * intl/Makefile (codeset_mo): New variable.
27263         ($(codeset_mo)): New target.
27264         (tst-codeset.out): Depend on that.  Remove explicit rule.
27265         (tst-gettext3.out, tst-gettext5.out): Likewise.
27266         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27267         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27268         * intl/tst-codeset.sh: Remove.
27269         * intl/tst-gettext3.sh: Likewise.
27270         * intl/tst-gettext5.sh: Likewise.
27272 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27274         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27275         * sysdeps/unix/syscalls.list: ... here.
27277         * sysdeps/posix/getaddrinfo.c
27278         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27279         (gaiconf_init, gaiconf_reload): Use them.
27280         [!_STATBUF_ST_NSEC]
27281         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27282         Define using time_t rather than struct timespec.
27284         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27285         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27286         Macros removed.
27287         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27288         [!NO_THREADS].
27289         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27290         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27291         Likewise.
27293         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27294         __libc_cleanup_push argument.
27296         * bits/param.h: New file.
27297         * misc/sys/param.h: New file.
27298         * include/sys/param.h: New file.
27299         * misc/Makefile (headers): Add bits/param.h.
27300         * sysdeps/generic/sys/param.h: File removed.
27301         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27302         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27303         * sysdeps/mach/hurd/bits/param.h: New file.
27304         * sysdeps/mach/hurd/sys/param.h: File removed.
27306         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27307         last change.
27309         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27310         [_IO_MTSAFE_IO].
27311         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27312         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27313         New macros.
27315         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27316         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27317         rather than -D_IO_MTSAFE_IO conditionally.
27318         * stdio-common/Makefile (CPPFLAGS): Likewise.
27319         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27320         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27321         Use $(libio-mtsafe).
27322         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27323         of -D_IO_MTSAFE_IO.
27324         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27325         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27326         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27327         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27328         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27329         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27330         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27331         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27332         (CFLAGS-fread_u_chk.c): Likewise.
27333         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27334         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27335         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27336         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27337         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27338         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27339         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27340         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27341         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27343         * libio/Makefile: Test [$(libc-reentrant) = yes]
27344         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27346         * Makeconfig
27347         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27348         * sysdeps/pthread/configure: File removed.
27349         * sysdeps/pthread/Makeconfig: New file.
27350         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27351         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27353 2012-08-16  Gary Benson  <gbenson@redhat.com>
27355         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27356         unmapping the first object in a namespace.
27358 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27360         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27361         (__internal_setnetgrent): ... this.  Add internal_function to
27362         definition.  Add libc_hidden_def.
27363         (setnetgrent): Update caller.
27364         (internal_endnetgrent): Renamed to ...
27365         (__internal_endnetgrent): ... this.  Add internal_function to
27366         definition.  Add libc_hidden_def.
27367         (endnetgrent): Update caller.
27368         (internal_getnetgrent_r): Renamed to ...
27369         (__internal_getnetgrent_r): ... this.  Add internal_function to
27370         definition.  Add libc_hidden_def.
27371         (__getnetgrent_r): Update caller.
27372         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27374 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27376         * stdlib/longlong.h: Update from GCC.
27378 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27380         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27381         on _QL, which is set by umul_ppmm but never used.
27382         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27383         variables, which are set by GMP macros but never used.
27384         * stdio-common/_itowa.c (_itowa): Likewise.
27385         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27386         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27388 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27390         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27391         struct La_sh_regs is not constant.
27392         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27393         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27394         and struct La_sparc64_regs are not constant.
27396 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27398         * sysdeps/unix/sysv/linux/kernel-features.h
27399         (__ASSUME_POSIX_TIMERS): Remove.
27400         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27401         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27402         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27403         Make code unconditional.
27404         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27405         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27406         Make code unconditional.
27407         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27408         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27409         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27410         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27411         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27412         Make code unconditional.
27413         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27414         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27415         (__libc_missing_posix_timers): Remove.
27417 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27419         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27420         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27422         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27424         * elf/dl-sym.c: Include <stdlib.h>.
27426         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27427         constants, which avoids warnings in 32-bit builds.
27429         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27430         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27432         * misc/lseek.c: File moved to ...
27433         * io/lseek.c: ... here.
27435         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27437         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27438         shifting LEN more than 31 bits at once.
27440 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27442         [BZ #14195]
27443         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27444         segmentation fault for a case of two empty input strings.
27445         * string/test-strncasecmp.c (check1): Renamed to...
27446         (bz12205): ...this.
27447         (bz14195): Add new testcase for two empty input strings and N > 0.
27448         (test_main): Call new testcase, adapt for renamed function.
27450 2012-08-15  Andreas Jaeger  <aj@suse.de>
27452         [BZ #14090]
27453         * crypt/md5test2.c: New test, based on test supplied by Serge
27454         Belyshev <belyshev@depni.sinp.msu.ru>.
27455         * crypt/Makefile (xtests): Add md5test-giant..
27456         * crypt/Makefile ($(objpfx)md5test-giant): Add.
27458 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
27460         [BZ #14090]
27461         * crypt/md5.c (md5_process_block): Don't assume the buffer
27462         length is less than 2**32.
27463         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27464         length is less than 2**64.
27466 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27468         * string/str-two-way.h: Include <sys/param.h>.
27469         (MAX): Macro removed.
27471         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27472         Move #define and #undef of memmove to just before and after
27473         including <string.h>.
27475         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27476         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27477         and after including <string.h>.  Move declarations of
27478         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27479         to before #include "string/memmove.c".
27481         * include/dirent.h: Declare __getdirentries.
27483         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27484         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27486 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
27488         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27489         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27490         * sysdeps/i386/configure: Regenerated.
27491         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27492         STABS_CURRENT_FILE, and STABS_FUN.
27493         (END): Remove call to STABS_FUN_END.
27494         (STABS_CURRENT_FILE1): Delete.
27495         (STABS_CURRENT_FILE): Likewise.
27496         (STABS_FUN): Likewise.
27497         (STABS_FUN_END): Likewise.
27498         (STABS_FUN2): Likewise.
27499         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27500         * sysdeps/x86_64/configure: Regenerated.
27502 2012-08-14  Roland McGrath  <roland@hack.frob.com>
27504         * elf/dl-open.c: Include <atomic.h>.
27505         * elf/dl-lookup.c: Likewise.
27507 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
27509         * sysdeps/unix/sysv/linux/kernel-features.h
27510         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27511         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27512         unconditionally.
27513         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27514         unconditionally.
27515         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27516         condition on __ASSUME_CLONE_THREAD_FLAGS.
27518 2012-08-14  Andreas Jaeger  <aj@suse.de>
27520         * sysdeps/i386/fpu/libm-test-ulps: Update.
27522 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
27524         * include/atomic.h (atomic_exchange_and_add): Split into ...
27525         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27526         New atomic macros.
27528 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
27530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27532 2012-08-13  Jeff Law <law@redhat.com>
27534         * manual/stdio.texi (snprintf): Clarify handling of the trailing
27535         null byte in the output string.
27537 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
27539         * sysdeps/unix/sysv/linux/kernel-features.h
27540         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27541         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27542         (__ASSUME_ARG_MAX_STACK_BASED): Define.
27543         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27544         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27545         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
27546         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27548 2012-08-09  Jeff Law <law@redhat.com>
27550         [BZ #13939]
27551         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27552         When avoid_arena is set, don't retry in the that arena.  Pick the
27553         next one, whatever it might be.
27554         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27555         (arena_lock): Pass in new parameter to arena_get2.
27556         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27557         arena_get2.
27558         (__libc_malloc): Unify retrying after main arena failure with
27559         __libc_memalign version.
27560         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27562 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27564         [BZ #14166]
27565         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27566         to __redirect_strstr.
27567         (__strstr_sse42): Use typeof __redirect_strstr.
27568         (__strstr_ia32): Likewise.
27569         (__libc_strstr): New prototype.
27570         (strstr): Renamed to ...
27571         (__libc_strstr): This.
27572         (strstr): New strong alias of __libc_strstr.
27573         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27574         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27575         __redirect_time.
27576         Include <time.h>.
27577         (__libc_time): New prototype.
27578         (time_ifunc): Replace time with __libc_time.
27579         (time): New strong alias and hidden definition of __libc_time.
27580         (__GI_time): Remove strong alias.
27581         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27582         Include <stddef.h>.
27583         (memmove): Redefined to __redirect_memmove.
27584         (__memmove_sse2): Use typeof __redirect_memmove.
27585         (__memmove_ssse3): Likewise.
27586         (__memmove_ssse3_back): Likewise.
27587         (__libc_memmove): New prototype.
27588         (memmove): Renamed to ...
27589         (__libc_memmove): This.
27590         (memmove): New strong alias of __libc_memmove.
27592 2012-08-08  Mark Salter  <msalter@redhat.com>
27594         * elf/elf.h
27595         (R_MN10300_TLS_GD): Define.
27596         (R_MN10300_TLS_LD): Likewise.
27597         (R_MN10300_TLS_LDO): Likewise.
27598         (R_MN10300_TLS_GOTIE): Likewise.
27599         (R_MN10300_TLS_IE): Likewise.
27600         (R_MN10300_TLS_LE): Likewise.
27601         (R_MN10300_TLS_DTPMOD): Likewise.
27602         (R_MN10300_TLS_DTPOFF): Likewise.
27603         (R_MN10300_TLS_TPOFF): Likewise.
27604         (R_MN10300_SYM_DIFF): Likewise.
27605         (R_MN10300_ALIGN): Likewise.
27606         (R_MN10300_NUM): Update.
27608 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27611         Remove.
27613 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27615         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27617         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27618         sysdeps/unix -> sysdeps/posix move.
27619         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27621 2012-08-07      Allan McRae     <allan@archlinux.org>
27623         [BZ #14303]
27624         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27625         (SUNOS_CPP): Likewise.
27626         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27627         not found.
27628         (open_input): Call CPP using execvp.
27630 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27632         * sysdeps/unix/sysv/linux/kernel-features.h
27633         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27634         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27635         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27636         (__ASSUME_WAITID_SYSCALL): Likewise.
27637         * sysdeps/unix/sysv/linux/dl-execstack.c
27638         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27639         code unconditional.
27640         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27641         conditional code.
27642         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27643         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27644         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27645         code.
27646         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27647         unconditional.
27648         [__ASSUME_WAITID_SYSCALL]: Likewise.
27649         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27651 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27653         * sysdeps/unix/closedir.c: Renamed to ...
27654         * sysdeps/posix/closedir.c: ... here.
27655         * sysdeps/unix/dirfd.c: Renamed to ...
27656         * sysdeps/posix/dirfd.c: ... here.
27657         * sysdeps/unix/dirstream.h: Renamed to ...
27658         * sysdeps/posix/dirstream.h: ... here.
27659         * sysdeps/unix/fdopendir.c: Renamed to ...
27660         * sysdeps/posix/fdopendir.c: ... here.
27661         * sysdeps/unix/opendir.c: Renamed to ...
27662         * sysdeps/posix/opendir.c: ... here.
27663         * sysdeps/unix/readdir.c: Renamed to ...
27664         * sysdeps/posix/readdir.c: ... here.
27665         * sysdeps/unix/readdir_r.c: Renamed to ...
27666         * sysdeps/posix/readdir_r.c: ... here.
27667         * sysdeps/unix/rewinddir.c: Renamed to ...
27668         * sysdeps/posix/rewinddir.c: ... here.
27669         * sysdeps/unix/seekdir.c: Renamed to ...
27670         * sysdeps/posix/seekdir.c: ... here.
27671         * sysdeps/unix/telldir.c: Renamed to ...
27672         * sysdeps/posix/telldir.c: ... here.
27673         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27674         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27675         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27676         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27678         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27679         * bits/fcntl.h: ... here.
27681         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27682         not 0.
27683         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27684         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27685         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27686         (struct flock): Move l_start, l_len to the beginning.
27687         Use __pid_t for l_pid.
27688         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27689         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27690         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27691         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27692         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27693         [__USE_LARGEFILE64] (struct flock64): New type.
27694         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27696         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27697         * bits/dirent.h: ... here.
27699         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27700         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27702 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27705         Change from 2.6.0 to 2.6.16.
27706         * sysdeps/unix/sysv/linux/configure: Regenerated.
27707         * sysdeps/unix/sysv/linux/kernel-features.h
27708         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27709         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27710         version.
27711         (__ASSUME_UTIMES): Likewise.
27712         (__ASSUME_CLONE_STOPPED): Remove.
27713         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27714         architectures, not kernel version.
27715         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27716         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27717         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27718         (__ASSUME_WAITID_SYSCALL): Likewise.
27719         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27720         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27721         * README: State 2.6.16 as minimum Linux kernel version.  Do not
27722         refer to older versions.
27724 2012-08-06  Roland McGrath  <roland@hack.frob.com>
27726         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27727         Define alphasort64 as an alias.
27728         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27729         Define versionsort64 as an alias.
27730         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27731         Define scandir64 as an alias.
27732         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27733         Define scandirat64 as an alias.
27734         * dirent/alphasort64.c (alphasort64):
27735         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27736         * dirent/versionsort64.c: Likewise.
27737         * dirent/scandir64.c: Likewise.
27738         * dirent/scandirat64.c: Likewise.
27739         * sysdeps/wordsize-64/alphasort.c: File removed.
27740         * sysdeps/wordsize-64/alphasort64.c: File removed.
27741         * sysdeps/wordsize-64/scandir.c: File removed.
27742         * sysdeps/wordsize-64/scandir64.c: File removed.
27743         * sysdeps/wordsize-64/scandirat.c: File removed.
27744         * sysdeps/wordsize-64/scandirat64.c: File removed.
27745         * sysdeps/wordsize-64/versionsort.c: File removed.
27746         * sysdeps/wordsize-64/versionsort64.c: File removed.
27747         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27748         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27749         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27750         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27751         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27752         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27753         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27754         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27756         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27758         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27759         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27760         [defined __arch64__ || defined __sparcv9]
27761         (__INO_T_MATCHES_INO64_T): New macro.
27762         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27763         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27764         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27765         * sysdeps/unix/sysv/linux/bits/dirent.h
27766         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27767         (_DIRENT_MATCHES_DIRENT64): New macro.
27769         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27770         Define lockf64 as an alias.
27771         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27772         Define fseeko64 as an alias.
27773         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27774         Define ftello64 as an alias.
27775         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27776         Define _IO_fgetpos64 and fgetpos64 as aliases.
27777         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27778         Define _IO_fsetpos64 and fsetpos64 as aliases.
27779         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27780         Conditionalize body on this.
27781         * libio/fseeko64.c: Likewise.
27782         * libio/ftello64.c: Likewise.
27783         * libio/iofgetpos64.c: Likewise.
27784         * libio/iofsetpos64.c: Likewise.
27785         * sysdeps/wordsize-64/lockf.c: File removed.
27786         * sysdeps/wordsize-64/lockf64.c: File removed.
27787         * sysdeps/wordsize-64/fseeko.c: File removed.
27788         * sysdeps/wordsize-64/fseeko64.c: File removed.
27789         * sysdeps/wordsize-64/ftello.c: File removed.
27790         * sysdeps/wordsize-64/ftello64.c: File removed.
27791         * sysdeps/wordsize-64/iofgetpos.c: File removed.
27792         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27793         * sysdeps/wordsize-64/iofsetpos.c: File removed.
27794         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27795         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27796         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27797         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27798         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27799         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27800         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27801         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27802         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27806         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27807         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27808         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27809         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27810         [defined __arch64__ || defined __sparcv9]
27811         (__OFF_T_MATCHES_OFF64_T): New macro.
27812         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27813         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27815         (__OFF_T_MATCHES_OFF64_T): New macro.
27817 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27819         * stdlib/secure-getenv.c (__secure_getenv): Replace
27820         GLIBC_2_16 with GLIBC_2_17.
27822 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27824         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27825         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27827 2012-08-03  David S. Miller  <davem@davemloft.net>
27829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27831 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27833         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27834         Remove.
27835         (__ASSUME_CORRECT_SI_PID): Likewise.
27836         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27837         (__ASSUME_TMPFS_NAME): Likewise.
27838         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27839         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27840         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27841         (HAVE_AUX_SECURE): Make definition unconditional.
27842         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27843         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27845 2012-08-03  Roland McGrath  <roland@hack.frob.com>
27847         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27848         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27849         * sysdeps/mach/hurd/eloop-threshold.h: New file.
27850         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27851         __eloop_threshold instead of SYMLOOP_MAX.
27853         * sysdeps/generic/eloop-threshold.h: New file.
27854         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27855         of MAXSYMLINKS.
27856         * elf/chroot_canon.c (chroot_canon): Likewise.
27858 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27860         [BZ #13717]
27861         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27862         Change to 2.6.0 everywhere.
27863         * sysdeps/unix/sysv/linux/configure: Regenerated.
27864         * sysdeps/unix/sysv/linux/kernel-features.h
27865         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27866         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27867         kernel versions.
27868         (__ASSUME_POSIX_TIMERS): Define unconditionally.
27869         (__ASSUME_FUTEX_REQUEUE): Remove.
27870         (__ASSUME_STATFS64): Define unconditionally.
27871         (__ASSUME_AT_SECURE): Likewise.
27872         (__ASSUME_CORRECT_SI_PID): Likewise.
27873         (__ASSUME_TGKILL): Define without depending on kernel version for
27874         i386.
27875         (__ASSUME_UTIMES): Likewise.
27876         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27877         kernel version.
27878         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27879         (__ASSUME_TMPFS_NAME): Likewise.
27880         * README: Update reference to Linux kernel versions.
27882 2012-08-02  Marek Polacek  <polacek@redhat.com>
27884         [BZ# 14150]
27885         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
27886         libc_cv_asm_type_prefix with %.
27887         * configure: Regenerated.
27888         * include/libc-symbols.h: Remove comment about
27889         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27890         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27891         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27892         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27893         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27894         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27895         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27896         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27897         * elf/tst-unique2mod1.c: Likewise.
27898         * elf/tst-unique1mod2.c: Likewise.
27899         * elf/tst-unique1mod1.c: Likewise.
27900         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27901         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27902         Replace ASM_TYPE_DIRECTIVE with .type.
27903         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27904         * sysdeps/i386/sysdep.h: Likewise.
27905         * sysdeps/x86_64/sysdep.h: Likewise.
27906         * sysdeps/sh/sysdep.h: Likewise.
27907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27908         Do not define ASM_TYPE_DIRECTIVE.
27909         * sysdeps/powerpc/sysdep.h: Likewise.
27910         * sysdeps/powerpc/powerpc32/sysdep.h:
27911         Replace ASM_TYPE_DIRECTIVE with .type.
27912         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27913         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27914         * sysdeps/i386/fpu/e_powf.S: Likewise.
27915         * sysdeps/i386/fpu/e_expl.S: Likewise.
27916         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27917         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27918         * sysdeps/i386/fpu/e_pow.S: Likewise.
27919         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27920         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27921         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27922         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27923         * sysdeps/i386/fpu/e_log2.S: Likewise.
27924         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27925         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27926         * sysdeps/i386/fpu/e_powl.S: Likewise.
27927         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27928         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27929         * sysdeps/i386/fpu/e_logl.S: Likewise.
27930         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27931         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27932         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27933         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27934         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27935         * sysdeps/i386/fpu/e_log.S: Likewise.
27936         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27937         * sysdeps/i386/fpu/e_logf.S: Likewise.
27938         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27939         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27940         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27941         * sysdeps/i386/fpu/e_log10.S: Likewise.
27942         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27943         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27944         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27945         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27946         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27947         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27948         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27949         * sysdeps/i386/i686/strtok.S: Likewise.
27950         * sysdeps/i386/i386-mcount.S: Likewise.
27951         * sysdeps/i386/strtok.S: Likewise.
27952         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27953         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27954         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27955         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27956         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27957         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27958         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27959         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27960         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27961         * sysdeps/x86_64/_mcount.S: Likewise.
27962         * sysdeps/x86_64/strtok.S: Likewise.
27963         * sysdeps/sh/_mcount.S: Likewise.
27965 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27967         * libio/iofopen.c: Include <fcntl.h>.
27968         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27969         (_IO_fopen64, fopen64): Define as aliases.
27970         * libio/iofopen64.c: Include <fcntl.h>.
27971         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27972         Conditionalize body on this.
27973         * sysdeps/wordsize-64/iofopen.c: File removed.
27974         * sysdeps/wordsize-64/iofopen64.c: File removed.
27976 2012-08-01  Marek Polacek  <polacek@redhat.com>
27978         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27979         Use dlfcn directly instead of a variable.
27980         (binfmt-subdir): Do not define.
27981         (dlfcn): Likewise.
27983 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27986         Remove all definitions.
27987         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27988         <kernel-features.h>.
27989         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27990         (miss_F_GETOWN_EX): Remove all definitions.
27991         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27992         macro definition.
27993         [!__ASSUME_FCNTL64]: Remove conditional code.
27994         [__ASSUME_FCNTL64]: Make code unconditional.
27995         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27996         <kernel-features.h>.
27997         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27998         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27999         (lockf64) [__NR_fcntl64]: Make code unconditional.
28000         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28002         * sysdeps/unix/sysv/linux/kernel-features.h
28003         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28004         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28005         Make code unconditional.
28006         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28007         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28009         [__NR_vfork]: Make code unconditional.
28010         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28011         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28013         [__NR_vfork]: Make code unconditional.
28014         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28015         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28017 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28019         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28020         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28022         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28023         Define mkstemp64 as an alias.
28024         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28025         Define mkstemps64 as an alias.
28026         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28027         Define mkostemp64 as an alias.
28028         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28029         Define mkostemps64 as an alias.
28030         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28031         Conditionalize body on this.
28032         * misc/mkostemp64.c: Likewise.
28033         * misc/mkostemps64.c: Likewise.
28034         * misc/mkstemps64.c: Likewise.
28035         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28036         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28037         * sysdeps/wordsize-64/mkostemp.c: File removed.
28038         * sysdeps/wordsize-64/mkstemp.c: File removed.
28039         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28040         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28041         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28042         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28044         [BZ #14138]
28045         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28046         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28047         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28048         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28050         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28051         compat_symbol macros from <shlib-compat.h> rather than the underlying
28052         default_symbol_version and symbol_version macros, so that DEFAULT
28053         lines in shlib-versions are respected.
28054         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28056 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28058         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28059         Declare with warn_unused_result.
28060         (setgid, setregid, setegid, setresgid): Likewise.
28061         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28062         Likewise.
28063         * WUR-REPORT: Remove set*id functions.
28065 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28067         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28069 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28071         [BZ #10191]
28072         * include/sys/socket.h (__libc_accept, __libc_accept4):
28073         Add attribute_hidden.
28074         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28076         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28077         use of PTR_MANGLE.
28078         * inet/getnetgrent_r.c (setup): Likewise.
28080         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28082 2012-07-31  David S. Miller  <davem@davemloft.net>
28084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28086 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28088         [BZ #13629]
28089         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28090         value between 1.0 and 2.0 and smaller part has absolute value less
28091         than 1.0.
28092         * math/s_clog10.c (__clog10): Likewise.
28093         * math/s_clog10f.c (__clog10f): Likewise.
28094         * math/s_clog10l.c (__clog10l): Likewise.
28095         * math/s_clogf.c (__clogf): Likewise.
28096         * math/s_clogl.c (__clogl): Likewise.
28097         * math/libm-test.inc (clog_test): Add more tests.
28098         (clog10_test): Likewise.
28099         * sysdeps/i386/fpu/libm-test-ulps: Update.
28100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28102 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28104         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28105         Exit with zero in case no suitable GID is found, and write a
28106         message to standard error.
28108 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28110         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28111         rather than to 1.
28112         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28113         (MAXPATHLEN): Removed.
28114         (NOGROUP, NODEV): New macros.
28115         (setbit, clrbit, isset, isclr): New macros.
28116         (howmany, roundup, powerof2): New macros.
28117         (DEV_BSIZE): New macro.
28119         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28120         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28122         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28123         definition on [!__NO_LONG_DOUBLE_MATH].
28125         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28126         PTR_MANGLE and PTR_DEMANGLE.
28128         * socket/accept4.c (accept4): Rename to __libc_accept4.
28129         Define accept4 as a weak alias.
28131         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28132         on [_DIRENT_HAVE_D_TYPE].
28133         * io/ftw.c (ftw_dir): Likewise.
28135         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28137         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28139         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28140         Use the BSD numbers rather than the arbitrary ones we had.
28141         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28142         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28143         (SIGXCPU, SIGXFSZ): New macros.
28144         (_NSIG): Now 32.
28146         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28147         initializer on [_LIBC_REENTRANT].
28149         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28150         definitions inside [_POSIX_MAPPED_FILES].
28152         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28154         * dirent/opendir.c: Include <fcntl.h>.
28156         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28157         (__libc_getspecific): Likewise.
28158         (__libc_key_create): Likewise.
28160         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28161         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28162         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28163         (tmpfile64): Define as alias.
28164         * sysdeps/wordsize-64/tmpfile.c: File removed.
28165         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28166         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28167         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28169         * stdio-common/vfscanf.c: Include <stdbool.h>.
28170         * nss/makedb.c: Likewise.
28171         * stdio-common/_i18n_number.h: Likewise.
28172         * argp/argp-help.c: Likewise.
28173         * posix/wordexp.c: Likewise.
28174         * sysdeps/posix/spawni.c: Likewise.
28175         * nss/nss_files/files-initgroups.c: Likewise.
28176         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28177         * nss/nss_files/files-initgroups.c: Likewise.
28178         * nss/nss_db/db-netgrp.c: Likewise.
28179         * nss/nss_db/db-initgroups.c: Likewise.
28180         * io/fchmodat.c: Include <sys/stat.h>.
28182         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28183         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28185         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28186         [HAVE_MMAP].
28188         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28189         Add multiple inclusion protection.
28191 2012-07-27  David S. Miller  <davem@davemloft.net>
28193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28195 2012-07-27  Gary Benson  <gbenson@redhat.com>
28197         [BZ #14298]
28198         * elf/rtld.c: Include <stap-probe.h>.
28199         (dl_main): Added static probes "init_start" and "init_complete".
28200         * elf/dl-load.c: Include <stap-probe.h>.
28201         (lose): Take new parameter "nsid".
28202         Added static probe "map_failed".
28203         (_dl_map_object_from_fd): Pass namespace id to lose.
28204         Added static probe "map_start".
28205         (open_verify): Pass namespace id to lose.
28206         * elf/dl-open.c: Include <stap-probe.h>.
28207         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28208         and "reloc_complete".
28209         * elf/dl-close.c: Include <stap-probe.h>.
28210         (_dl_close_worker): Added static probes "unmap_start" and
28211         "unmap_complete".
28212         * elf/rtld-debugger-interface.txt: New file documenting the above.
28214 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28216         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28217         rather than a string variable.
28218         * sunrpc/rpc_main.c (h_output): Likewise.
28219         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28221 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28223         * inet/check_native.c: New file.
28225 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28227         [BZ #13629]
28228         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28229         if larger part has absolute value 1.0.
28230         * math/s_clog10.c (__clog10): Likewise.
28231         * math/s_clog10f.c (__clog10f): Likewise.
28232         * math/s_clog10l.c (__clog10l): Likewise.
28233         * math/s_clogf.c (__clogf): Likewise.
28234         * math/s_clogl.c (__clogl): Likewise.
28235         * math/libm-test.inc (clog_test): Add more tests.
28236         (clog10_test): Likewise.
28237         * sysdeps/i386/fpu/libm-test-ulps: Update.
28238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28240         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28241         (pltexit): Likewise.
28242         (La_regs): Likewise.
28243         (La_retval): Likewise.
28244         (int_retval): Likewise.
28245         Update #error for removed macros to refer only to definitions in
28246         tst-audit.h.
28247         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28248         macro.
28249         (pltexit): Likewise.
28250         (La_regs): Likewise.
28251         (La_retval): Likewise.
28252         (int_retval): Likewise.
28253         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28254         macro.
28255         (pltexit): Likewise.
28256         (La_regs): Likewise.
28257         (La_retval): Likewise.
28258         (int_retval): Likewise.
28259         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28260         macro.
28261         (pltexit): Likewise.
28262         (La_regs): Likewise.
28263         (La_retval): Likewise.
28264         (int_retval): Likewise.
28265         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28266         macro.
28267         (pltexit): Likewise.
28268         (La_regs): Likewise.
28269         (La_retval): Likewise.
28270         (int_retval): Likewise.
28271         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28272         macro.
28273         (pltexit): Likewise.
28274         (La_regs): Likewise.
28275         (La_retval): Likewise.
28276         (int_retval): Likewise.
28277         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28278         macro.
28279         (pltexit): Likewise.
28280         (La_regs): Likewise.
28281         (La_retval): Likewise.
28282         (int_retval): Likewise.
28283         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28284         macro definitions in tst-audit.h.
28285         * sysdeps/i386/tst-audit.h: New file.
28286         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28287         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28288         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28289         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28290         * sysdeps/sh/tst-audit.h: Likewise.
28291         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28292         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28293         * sysdeps/x86_64/tst-audit.h: Likewise.
28295 2012-07-26  Andreas Jaeger  <aj@suse.de>
28297         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28298         ptrace.
28300         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28301         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28302         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28303         PTRACE_O_MASK.
28304         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28305         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28306         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28308         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28309         value.
28311         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28312         _sigsys.
28313         (si_call_addr, si_syscall, si_arch): Define new macro.
28314         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28315         _sigsys.
28316         (si_call_addr, si_syscall, si_arch): Define new marcro.
28317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28318         _sigsys.
28319         (si_call_addr, si_syscall, si_arch): Define new macro.
28320         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28321         _sigsys.
28322         (si_call_addr, si_syscall, si_arch): Define new macro.
28324 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28326         [BZ #13717]
28327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28328         Change to 2.4.21 where previously 2.4.1.
28329         * sysdeps/unix/sysv/linux/configure: Regenerated.
28330         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28331         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28332         Linux kernel version.
28333         (__ASSUME_STD_AUXV): Remove.
28334         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28335         kernel version.
28336         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28337         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28338         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28339         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28340         (__ASSUME_NETLINK_SUPPORT): Likewise.
28341         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28342         (__no_netlink_support): Remove conditional definition.
28343         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28344         Remove.
28345         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28346         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28347         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28348         (if_nameindex_ioctl): Remove.
28349         (if_nameindex_netlink): Do not handle __no_netlink_support.
28350         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28351         code.
28352         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28353         Remove conditional code.
28354         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28355         code.
28356         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28357         unconditional.
28358         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28359         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28360         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28361         Remove.
28362         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28363         [!__ASSUME_STD_AUXV]: Remove conditional code.
28364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28365         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28366         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28368         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28369         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28370         code.
28371         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28373         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28374         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28375         conditional code.
28376         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28378         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28379         code.
28380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28381         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28382         conditional code.
28383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28384         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28385         code unconditional.
28386         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28387         conditional code.
28388         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28389         unconditional.
28390         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28391         conditional code.
28392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28393         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28394         unconditional.
28395         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28396         conditional code.
28397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28398         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28399         code unconditional.
28400         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28401         conditional code.
28402         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28403         unconditional.
28404         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28405         conditional code.
28406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28407         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28408         code unconditional.
28409         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28410         conditional code.
28411         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28412         unconditional.
28413         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28414         conditional code.
28416 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28418         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28419         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28420         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28421         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28422         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28423         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28425         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28426         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28427         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28428         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28429         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28430         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28431         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28432         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28433         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28434         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28435         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28436         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28438         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28439         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28440         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28442 2012-07-25  Florian Weimer  <fweimer@redhat.com>
28444         * Versions.def: Add GLIBC_2.17.
28445         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28446         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28447         Introduce __libc_secure_getenv.
28448         * stdlib/Versions (2.17): Add secure_getenv
28449         (GLIBC_PRIVATE): Add __libc_secure_getenv.
28450         * stdlib/secure-getenv.c: Rename __secure_getenv to
28451         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
28452         symbol __secure_getenv for GLIBC_2.0.
28453         * stdlib/tst-secure-getenv.c: New.
28454         * stdlib/Makefile (tests): Add testcase.
28455         * manual/startup.texi (Environment Access): Document
28456         secure_getenv.
28457         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28458         __libc_secure_getenv.
28459         * inet/ruserpass.c (ruserpass): Likewise.
28460         * malloc/mtrace.c (mtrace): Likewise.
28461         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28462         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28463         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28464         * sysdeps/posix/tempname.c: Likewise.  Evaluate
28465         HAVE_SECURE_GETENV.
28466         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28467         __secure_getenv to __libc_secure_getenv.
28468         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28470         Likewise.
28471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28472         Likewise.
28473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28475         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28481 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28483         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28484         (struct La_i86_retval): Likewise.
28485         (struct La_x86_64_regs): Likewise.
28486         (struct La_x86_64_retval): Likewise.
28487         (struct La_x32_regs): Likewise.
28488         (struct La_x32_retval): Likewise.
28489         (struct La_ppc32_regs): Likewise.
28490         (struct La_ppc32_retval): Likewise.
28491         (struct La_ppc64_regs): Likewise.
28492         (struct La_ppc64_retval): Likewise.
28493         (struct La_sh_regs): Likewise.
28494         (struct La_sh_retval): Likewise.
28495         (struct La_s390_32_regs): Likewise.
28496         (struct La_s390_32_retval): Likewise.
28497         (struct La_s390_64_regs): Likewise.
28498         (struct La_s390_64_retval): Likewise.
28499         (struct La_sparc32_regs): Likewise.
28500         (struct La_sparc32_retval): Likewise.
28501         (struct La_sparc64_regs): Likewise.
28502         (struct La_sparc64_retval): Likewise.
28503         (struct audit_ifaces): Remove architecture-specific pltenter and
28504         pltexit members.
28505         * sysdeps/i386/ldsodefs.h: New file.
28506         * sysdeps/powerpc/ldsodefs.h: Likewise.
28507         * sysdeps/s390/ldsodefs.h: Likewise.
28508         * sysdeps/sh/ldsodefs.h: Likewise.
28509         * sysdeps/sparc/ldsodefs.h: Likewise.
28510         * sysdeps/x86_64/ldsodefs.h: Likewise.
28512 2012-07-25  Marek Polacek  <polacek@redhat.com>
28514         [BZ #6808]
28515         * math/libm-test.inc (yn_test): Add another test.
28516         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28517         to ERANGE when the result is +-Inf.
28518         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28519         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28520         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28521         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28523 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
28525         * conform/data/time.h-data (NULL): Use macro-constant.  Require
28526         equal to 0.
28527         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
28528         clock_t.
28529         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
28531 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
28533         * configure.in <sysdeps resolving>: Correct printing
28534         Implies_before.
28535         * configure: Regenerate.
28537 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
28539         * math/w_ilogb.c: Include <limits.h>.
28540         * math/w_ilogbl.c: Likewise.
28542 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28544         * manual/lang.texi (__va_copy): Document primarily as ISO C99
28545         va_copy.  Document allowing for unavailable va_copy only as
28546         pre-C99 compatibility.
28547         * manual/string.texi (Copying and Concatenation): Use va_copy
28548         instead of __va_copy in concat example.
28550 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
28552         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28553         (__sendto): Use create_address_port.  Initialize APORT and deallocate
28554         it if not null.
28556         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28557         with O_NOLINK passed to __file_name_lookup.
28559         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28560         with O_NOLINK passed to __file_name_lookup.
28562         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28563         negative N or less than NGIDS.
28565         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28566         type to string_t.  Set ERANGE as errno and return it if NAME is not big
28567         enough.  Use memcpy instead of strncpy.
28569 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28571         * elf/Makefile (check-data): Remove.
28572         (localplt.data): New vpath directive.
28573         ($(objpfx)check-localplt.out): Use localplt.data from vpath
28574         instead of $(check-data).
28575         * scripts/data/localplt-generic.data: Move to ...
28576         * sysdeps/generic/localplt.data: ... here.
28577         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28578         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28579         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28581         ... here.
28582         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28584         ... here.
28585         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28587         ... here.
28588         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28590         ... here.
28591         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28593         ... here.
28594         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28596         ... here.
28598 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28600         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28601         PPC32 and PPC64 files.
28602         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28603         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28605 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28607         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28608         __makecontext_ret to ...
28609         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28610         ... here and call exit if uc_link is NULL.  New file.
28611         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28612         __makecontext_ret.S.
28613         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28614         __makecontext_ret to ...
28615         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28616         ... here and call exit if uc_link is NULL.  New file.
28617         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28618         __makecontext_ret.S.
28620 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28622         * elf/elf.h (R_390_IRELATIVE): New definition.
28623         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28624         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28625         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28627         (elf_machine_lazy_rel): Likewise.
28628         * sysdeps/s390/dl-irel.h: New file.
28629         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28630         * sysdeps/s390/s390-64/memset.S: New asm code.
28631         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28632         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28633         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28634         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28635         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28636         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28637         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28638         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28639         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28640         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28641         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28642         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28643         * sysdeps/s390/s390-32/memset.S: New asm code.
28644         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28646 2012-07-17  Marek Polacek  <polacek@redhat.com>
28648         [BZ #14349]
28649         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28650         * sysdeps/s390/s390-64/configure.in: Likewise.
28651         * sysdeps/sparc/configure.in: Likewise.
28652         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28653         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28654         * sysdeps/i386/configure.in: Likewise.
28655         * sysdeps/x86_64/configure.in: Likewise.
28656         * sysdeps/sh/configure.in: Likewise.
28657         * sysdeps/s390/s390-32/configure: Regenerated.
28658         * sysdeps/s390/s390-64/configure: Likewise.
28659         * sysdeps/x86_64/configure: Likewise.
28660         * sysdeps/sh/configure: Likewise.
28661         * sysdeps/powerpc/powerpc64/configure: Likewise.
28662         * sysdeps/powerpc/powerpc32/configure: Likewise.
28663         * sysdeps/sparc/configure: Likwise.
28664         * sysdeps/i386/configure: Likewise.
28666         * elf/dl-open.c: Comment fixes.
28668 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28670         * Makefile [CXX] (check-data): Remove.
28671         [CXX] (c++-types.data): New vpath directive.
28672         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28673         vpath.  Do not allow for C++ type data being missing.
28674         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28675         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28676         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28677         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28678         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28679         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28680         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28682         ... here.
28683         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28685         ... here.
28686         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28688         ... here.
28689         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28691         ... here.
28692         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28694         ... here.
28695         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28697         ... here.
28698         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28700         ... here.
28701         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28704         * elf/tls-macros.h (TLS_LE): Move architecture-specific
28705         definitions to architecture-specific files.
28706         (TLS_IE): Likewise.
28707         (TLS_LD): Likewise.
28708         (TLS_GD): Likewise.
28709         * sysdeps/i386/tls-macros.h: New file.
28710         * sysdeps/powerpc/tls-macros.h: Likewise.
28711         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28712         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28713         * sysdeps/sh/tls-macros.h: Likewise.
28714         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28715         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28716         * sysdeps/x86_64/tls-macros.h: Likewise.
28718 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28720         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28721         zero value for regular exit case.
28723         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28724         (__start_context): Preserve zero value for regular exit case.
28726 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28727             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28729         * manual/setjmp.texi (setcontext): Clarify normal process
28730         termination when uc_link is the null pointer.
28731         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28732         exit call.
28734 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
28736         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28737         preprocessor.  Test for each exception mask separately.
28739 2012-07-16  Andreas Jaeger  <aj@suse.de>
28741         * po/ru.po: Update from translation team.
28743 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
28745         * conform/data/string.h-data (NULL): Use macro-constant.  Require
28746         equal to 0.
28747         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28748         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28749         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28750         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28751         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28753 2012-07-13  Andreas Jaeger  <aj@suse.de>
28755         * po/fr.po: Update from translation team.
28757 2012-07-12  Marek Polacek  <polacek@redhat.com>
28759         [BZ #14173]
28760         * math/libm-test.inc (yn_test): Add test for BZ #14173.
28761         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28762         loop condition.
28764 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
28766         [BZ #13717]
28767         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28768         Change to 2.4.1 where previously 2.4.0.
28769         * sysdeps/unix/sysv/linux/configure: Regenerated.
28770         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28771         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28772         version.
28773         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28774         (__ASSUME_AT_CLKTCK): Remove.
28775         (__ASSUME_AT_PAGESIZE): Likewise.
28776         (__ASSUME_AT_XID): Likewise.
28777         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28778         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28779         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28780         unconditionally.
28781         (HAVE_AUX_PAGESIZE): Likewise.
28782         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28783         [__ASSUME_AT_CLKTCK]: Make code unconditional.
28784         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28786 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
28788         [BZ #14307]
28789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28790         the temporary buffer used to invoke __gethostbyname2_r,
28791         __gethostbyaddr_r and gethostbyname4_r to make room for struct
28792         host_data / struct gaih_addrtuple.
28793         * resolv/nss_dns/dns-host.c (global scope): Move definition of
28794         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28795         header file nss/nsswitch.h.
28796         * nss/nsswitch.h (global scope): Add definition of implementation
28797         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28798         resolv/nss_dns/dns-host.c).
28800 2012-07-11  Andreas Jaeger  <aj@suse.de>
28802         * po/fr.po: Update from translation team.
28804         * po/sv.po: Update from translation team
28805         * po/fr.po: Another update from translation team.
28807 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28809         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28810         for subnormals or multiply small sinh result by itself.
28811         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28814 2012-07-11  David S. Miller  <davem@davemloft.net>
28816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28818 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
28820         [BZ #14347]
28821         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28822         (INTERNAL_MARK): Shift it here.
28824 2012-07-10  Marek Polacek  <polacek@redhat.com>
28826         [BZ #14151]
28827         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
28828         libc_cv_asm_global_directive with .globl.
28829         * configure: Regenerated.
28830         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28831         with .globl.
28832         * sysdeps/i386/configure: Regenerated.
28833         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28834         with .globl.
28835         * sysdeps/x86_64/configure: Regenerated.
28836         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28837         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28838         * elf/tst-unique2mod2.c: Likewise.
28839         * elf/tst-unique2mod1.c: Likewise.
28840         * elf/tst-unique1mod2.c: Likewise.
28841         * elf/tst-unique1mod1.c: Likewise.
28842         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28843         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28844         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28845         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28846         * sysdeps/mach/sysdep.h: Likewise.
28847         * sysdeps/i386/sysdep.h: Likewise.
28848         * sysdeps/i386/i386-mcount.S: Likewise.
28849         * sysdeps/x86_64/_mcount.S: Likewise.
28850         * sysdeps/x86_64/sysdep.h: Likewise.
28851         * sysdeps/sh/_mcount.S: Likewise.
28852         * sysdeps/sh/sysdep.h: Likewise.
28853         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28854         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28855         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28856         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28857         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28858         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28859         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28860         * locale/localeinfo.h: Likewise.
28861         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28862         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28864 2012-07-09  Roland McGrath  <roland@hack.frob.com>
28866         [BZ #14336]
28867         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28868         system".
28869         * manual/message.texi (The Uniforum approach): Likewise.
28870         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28871         (glibc iconv Implementation): Likewise.
28873 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
28875         [BZ #14337]
28876         * math/s_clog.c (__clog): Avoid scaling a value down where that
28877         could result in underflow.
28878         * math/s_clog10.c (__clog10): Likewise.
28879         * math/s_clog10f.c (__clog10f): Likewise.
28880         * math/s_clog10l.c (__clog10l): Likewise.
28881         * math/s_clogf.c (__clogf): Likewise.
28882         * math/s_clogl.c (__clogl): Likewise.
28883         * math/libm-test.inc (clog_test): Add more tests.
28884         (clog10_test): Likewise.
28885         * sysdeps/i386/fpu/libm-test-ulps: Update.
28886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28888 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
28890         [BZ #14283]
28891         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28892         by 7 not 8 to examine high bit of fractional part.
28894         [BZ #14042]
28895         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28896         for call to __mcount_internal.
28897         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28898         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28899         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28901 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
28903         [BZ #14154]
28904         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28905         approximation for values within 0x1p-13f of an odd multiple of
28906         pi/4.
28907         * math/libm-test.inc (tan_test): Do not allow spurious underflow
28908         exception.  Add more tests.
28909         * sysdeps/i386/fpu/libm-test-ulps: Update.
28911         [BZ #6778]
28912         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28913         inputs and return -1 for them.  Do not check for +Inf in case not
28914         reachable for +Inf.
28915         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28916         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28917         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28918         and return -1 for them.  Do not check for +Inf in case not
28919         reachable for +Inf.
28920         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28921         define.
28922         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28923         and return -1 for them.  Do not check for +Inf in case not
28924         reachable for +Inf.
28925         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28926         spurious underflow.
28927         * sysdeps/i386/fpu/libm-test-ulps: Update.
28928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28930 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28932         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28934 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28936         [BZ #14157]
28937         [BZ #14331]
28938         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28939         could result in spurious underflow.  Scale down values above
28940         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28941         * math/s_csqrtf.c (__csqrtf): Likewise.
28942         * math/s_csqrtl.c (__csqrtl): Likewise.
28943         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28944         spurious underflow.
28945         * sysdeps/i386/fpu/libm-test-ulps: Update.
28946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28948 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28950         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28951         xopen-msg.sed.
28952         * catgets/xopen-msg.awk: New file.
28953         * catgets/xopen-msg.sed: Removed.
28955         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28956         po2text.sed.
28957         * intl/po2test.awk: New file.
28958         * intl/po2test.sed: Removed.
28960 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28962         [BZ #14328]
28963         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28964         or multiply small sinh result by itself.
28965         * math/s_ctanf.c (__ctanf): Likewise.
28966         * math/s_ctanh.c (__ctanh): Likewise.
28967         * math/s_ctanhf.c (__ctanhf): Likewise.
28968         * math/s_ctanhl.c (__ctanhl): Likewise.
28969         * math/s_ctanl.c (__ctanl): Likewise.
28970         * math/libm-test.inc (ctan_test_tonearest): New function.
28971         (ctan_test_towardzero): Likewise.
28972         (ctan_test_downward): Likewise.
28973         (ctan_test_upward): Likewise.
28974         (ctanh_test_tonearest): Likewise.
28975         (ctanh_test_towardzero): Likewise.
28976         (ctanh_test_downward): Likewise.
28977         (ctanh_test_upward): Likewise.
28978         (main): Call these new functions.
28979         * sysdeps/i386/fpu/libm-test-ulps: Update.
28980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28982 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28984         * .gitignore: Delete /ports entry.
28986 2012-07-03  Andreas Jaeger  <aj@suse.de>
28988         * po/bg.po: Update from translation team.
28989         * po/cs.po: Likewise.
28990         * po/de.po: Likewise.
28991         * po/hr.po: Likewise.
28992         * po/nl.pl: Likewise.
28993         * po/pl.po: Likewise.
28994         * po/vi.po: Likewise.
28996 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28998         * Makeconfig [!+link] (+link-before-libc): New variable.
28999         [!+link] (+link-after-libc): Likewise.
29000         [!+link] (+link-tests): Likewise.
29001         [!+link] (+link): Define in terms of $(+link-before-libc) and
29002         $(+link-after-libc).
29003         [!+link-static] (+link-static-before-libc): New variable.
29004         [!+link-static] (+link-static-after-libc): Likewise.
29005         [!+link-static] (+link-static-tests): Likewise.
29006         [!+link-static] (+link-static): Define in terms of
29007         $(+link-static-before-libc) and $(+link-static-after-libc).
29008         [build-shared] (link-libc-before-gnulib): New variable.
29009         [build-shared] (link-libc-tests): Likewise.
29010         [build-shared] (link-libc): Define in terms of
29011         $(link-libc-before-gnulib).
29012         [!build-shared] (link-libc-tests): New variable.
29013         (link-libc-static-tests): New variable.
29014         [!gnulib] (gnulib-arch): New variable.
29015         [!gnulib] (gnulib-tests): Likewise.
29016         [!gnulib] (static-gnulib-arch): Likewise.
29017         [!gnulib] (static-gnulib-tests): Likewise.
29018         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29019         Define with "=" instead of ":=".
29020         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29021         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29022         * Rules (binaries-all-notests): New variable.
29023         (binaries-all-tests): Likewise.
29024         (binaries-static-notests): Likewise.
29025         (binaries-static-tests): Likewise.
29026         (binaries-all): Define using $(binaries-all-notests) and
29027         $(binaries-all-tests).
29028         (binaries-static): Define using $(binaries-static-notests) and
29029         $(binaries-static-tests).
29030         (binaries-shared-tests): New variable.
29031         (binaries-shared-notests): Likewise.
29032         (binaries-shared): Remove variable.
29033         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29034         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29035         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29036         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29037         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29038         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29039         * elf/Makefile (sln-modules): New variable.
29040         (extra-objs): Add $(sln-modules:=.o).
29041         (ldconfig-modules): Add static-stubs.
29042         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29043         * elf/static-stubs.c: New file.
29045         [BZ #14283]
29046         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29047         by 7 not 8 to examine high bit of fractional part.  Use volatile
29048         variables when splitting into final array of floats if
29049         __FLT_EVAL_METHOD__ != 0.
29050         * math/libm-test.inc (cos_test): Add another test.
29051         (sin_test): Likewise.
29052         * sysdeps/i386/fpu/libm-test-ulps: Update.
29054         [BZ #14273]
29055         * math/libm-test.inc (cosh_test): Add more tests.
29057         * version.h (RELEASE): Set to "development".
29058         (VERSION): Set to "2.16.90".
29060 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29062         * NEWS: Update copyright. Remove last-updated date.
29063         Mention math library bug fixes and timezone data changes.
29064         * README: Mention GNU/Hurd, x32, and HPPA support status.
29066 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29068         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29070 2012-06-27  Andreas Jaeger  <aj@suse.de>
29072         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29074 2012-06-25  Andreas Jaeger  <aj@suse.de>
29076         * sysdeps/s390/fpu/libm-test-ulps: Update.
29078 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29079             Thomas Schwinge  <thomas@codesourcery.com>
29081         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29082         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29084         fanotify_mark.
29086 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29088         * sysdeps/mach/start.c: Remove file.
29089         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29090         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29091         * sysdeps/sh/init-first.c: Likewise.
29093         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29094         registers for frame unwinding purposes, add CFI directives.
29095         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29096         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29097         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29098         Likewise.
29100         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29101         __fortify_fail returning.
29102         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29104         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29105         sysdeps/sh/____longjmp_chk.S.
29106         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29107         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29108         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29109         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29111         * sysdeps/sh/abort-instr.h: New file.
29112         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29113         process in case exit returns.
29115         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29116         initialize the GOT register before use.
29118         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29119         calculation of ARGC > 4.
29121         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29122         meaningful names to some local labels.
29124 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29125             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29127         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29128         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29129         (__arch_compare_and_exchange_val_16_acq): Likewise.
29130         (__arch_compare_and_exchange_val_32_acq): Likewise.
29131         (atomic_exchange_and_add): Fix gUSA sequence.
29132         (atomic_add): Likewise.
29133         (atomic_add_negative): Likewise.
29134         (atomic_add_zero): Likewise.
29135         (atomic_bit_test_set): Likewise.
29137 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29139         [BZ #13579]
29140         * include/link.h (struct link_map): Add l_free_initfini.
29141         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29142         l_initfini.
29143         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29144         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29145         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29146         set.
29148 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29150         * configure.in: Use AC_LANG_SOURCE.
29151         * configure: Regenerate.
29153 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29155         * configure.in (libc_cv_localstatedir): New substituted variable.
29156         * configure: Regenerated.
29157         * config.make.in (localstatedir): New variable, substituted from
29158         libc_cv_localstatedir.
29159         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29160         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29161         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29162         * sysdeps/gnu/configure: Regenerated.
29164 2012-06-21  Jeff Law  <law@redhat.com>
29166         [BZ #14277]
29167         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29168         free.  Simplify list management for _LIBC case.
29170 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29172         [BZ #14273]
29173         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29174         Clear sign bit of 64-bit integer value before comparing against
29175         overflow value.
29177         * sysdeps/mach/configure: Regenerated.
29179 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29181         [BZ #14278]
29182         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29184 2012-06-21  Jeff Law  <law@redhat.com>
29186         [BZ #13882]
29187         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29188         uint16_t for elements in the "seen" array to avoid char overflows.
29189         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29190         * elf/dl-open.c (dl_open_worker): Likewise.
29192 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29194         * scripts/list-sources.sh: Scan PORTS for translations.
29195         * po/libc.pot: Regenerated.
29197 2012-06-21  Andreas Jaeger  <aj@suse.de>
29199         [BZ #12194]
29200         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29201         warning.
29202         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29203         * bits/byteswap-16.h (__bswap_16): Likewise.
29204         * bits/byteswap.h (__bswap_constant_16): Likewise.
29206 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29208         [BZ #14117]
29209         * sysdeps/i386/fpu_control.h: Removed.
29210         * sysdeps/x86_64/fpu_control.h: Moved to ...
29211         * sysdeps/x86/fpu_control.h: Here.
29213         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29214         (_FPU_SETCW): Likewise.
29216 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29218         [BZ #14117]
29219         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29220         * sysdeps/x86/fpu/bits/mathinline.h: This.
29221         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29223         [BZ #14050]
29224         [BZ #14117]
29225         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29226         functions if __x86_64__ is defined.
29228 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29230         * string/endian.h: Add !__ASSEMBLER__ condition for including
29231         conversion interfaces.
29233 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29235         [BZ #14241]
29236         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29237         of ABS(x) in calculating zero to negative powers other than odd
29238         integers.
29239         * math/libm-test.inc (pow_test): Add more tests.
29241 2012-06-15  Andreas Jaeger  <aj@suse.de>
29243         * manual/contrib.texi (Contributors): Update entry of Liubov
29244         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29245         Machado Filho.
29247 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29249         * string/string.h: Add __wur to GNU version of strerror_r.
29251 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29253         [BZ #14229]
29254         * string/Makefile (tests): Add tst-strtok_r.
29255         * string/tst-strtok_r.c: New file.
29256         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29257         RAX_LP/RDX_LP on SAVE_PTR.
29259 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29261         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29263 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29265         * libm_test.inc (csqrt_test): Allow more spurious underflow
29266         exceptions.
29267         (j0_test): Likewise.
29268         (j1_test): Likewise.
29269         (y0_test): Likewise.
29270         (y1_test): Likewise.
29272 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29274         * po/Makefile (libc.pot): Use UTF-8 charset.
29276 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29278         [BZ #14210]
29279         Suppress sign-conversion warning from FD_SET.
29280         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29281         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29282         not unsigned long int.
29283         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29285 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29287         [BZ #14050]
29288         [BZ #14117]
29289         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29290         __extern_always_inline instead of __extern_inline.
29291         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29292         (__signbit): Likewise.
29293         (__signbitl): Support C++ namespace.
29294         (lrintf): New inline function.
29295         (lrint): Likewise.
29296         (llrintf): Likewise.
29297         (llrint): Likewise.
29298         (fmaxf): Likewise.
29299         (fmax): Likewise.
29300         (fminf): Likewise.
29301         (fmin): Likewise.
29302         (rint): Likewise.
29303         (rintf): Likewise.
29304         (ceil): Likewise.
29305         (ceilf): Likewise.
29306         (floor): Likewise.
29307         (floorf): Likewise.
29308         (nearbyint): Likewise.
29309         (nearbyintf): Likewise.
29311 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29313         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29314         non-default versions.
29316 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29318         [BZ #14218]
29319         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29321 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29323         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29324         (FE_UPWARD, FE_DOWNWARD): Don't define.
29325         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29326         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29328         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29329         reading it.
29330         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29331         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29333 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29335         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29337         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29338         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29340 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29342         [BZ #14117]
29343         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29344         * sysdeps/i386/fpu/Implies: New file.
29345         * sysdeps/x86_64/fpu/Implies: Likewise.
29346         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29347         * sysdeps/x86/fpu/bits/fenv.h: This.
29349         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29350         __SSE_MATH__.
29352 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29354         [BZ #14134]
29355         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29356         character 0xffff that matches the last element of the
29357         conversion table.
29359 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29362         fmodl commit.
29364 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29366         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29367         values higher than 25.6283.
29369 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29371         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29372         subnormal exponent extraction and add some __builtin_expect.
29373         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29374         Fix for subnormal mantissa calculation.
29376 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29378         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29379         cpu2 is -1 and errno is not ENOSYS.
29381 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29383         [BZ #14117]
29384         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29385         * sysdeps/x86/bits/string.h: This.
29386         * sysdeps/x86_64/bits/string.h: Removed.
29388         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29389         if not compiling for x86-64, but compiling for >= i486.
29391         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29392         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29394         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29395         New macro from Linux kernel 3.4.0.
29396         (FP_XSTATE_MAGIC2): Likewise.
29397         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29398         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29399         (struct _fpx_sw_bytes): New struct.
29400         (struct _xsave_hdr): Likewise.
29401         (struct _ymmh_state): Likewise.
29402         (struct _xstate): Likewise.
29404         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29405         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29406         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29407         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29408         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29409         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29411         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29412         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29413         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29414         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29415         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29416         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29418 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29420         [BZ #13743]
29421         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29422         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29423         (sysdep_headers): Include sys/platform/ppc.h.
29424         * sysdeps/powerpc/test-gettimebase.c: Test for
29425         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29426         * manual/Makefile (appendices): Include platform.texi.
29427         * manual/contrib.texi (Contributors): Update @node pointers.
29428         * manual/maint.texi (Maintenance): Likewise.
29429         (Platform): New node.
29430         * manual/platform.texi: New file.  Document the new features.
29432 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29433             Jakub Jelinek  <jakub@redhat.com>
29435         [BZ #14188]
29436         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29437         where __builtin_expect is unavailable.
29439 2012-06-03  David S. Miller  <davem@davemloft.net>
29441         * stdlib/longlong.h: Updated from GCC.
29443 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
29445         [BZ #14042]
29446         * sysdeps/powerpc/powerpc32/mcount.c: New file.
29447         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29448         __mcount_internal.
29449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29450         (GLIBC_2.16): Likewise.
29452 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29454         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29456 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29459         (default-abi): New variable.
29460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29461         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29462         variable.
29463         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29464         Likewise.
29465         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29466         Likewise.
29467         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29468         Likewise.
29470         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29471         definition.  Document in comment.
29473 2012-06-01  David S. Miller  <davem@davemloft.net>
29475         * stdlib/longlong.h: Updated from GCC.
29477 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29479         [BZ #14117]
29480         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29481         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29482         sys/debugreg.h sys/io.h here.
29483         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29484         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29485         sys/io.h.
29486         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29487         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29488         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29489         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29490         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29491         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29493         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29494         Define only if __x86_64__ is defined.
29496 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29498         [BZ #14048]
29499         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29500         Use int64_t for variable i.
29501         * math/libm-test.inc (fmod_test): Add more tests.
29503         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29504         z computation is not scheduled after fetestexcept.
29505         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29506         Use math_force_eval instead of asm to ensure calculation scheduled
29507         before exception test.
29508         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29509         Ensure a1 + u.d computation is not scheduled after fetestexcept.
29511 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
29513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29514         computation is not scheduled after fetestexcept.
29516 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29518         [BZ #14117]
29519         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29520         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29522 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29524         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29525         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29527 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29529         [BZ #14117]
29530         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29531         <bits/wordsize.h>.
29532         (__WCHAR_MIN): Support __WORDSIZE == 64.
29533         (__WCHAR_MAX): Likewise.
29535         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29538         [BZ #14183]
29539         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29540         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29542         [BZ #14117]
29543         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29544         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29546         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29547         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29549         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29550         Defined to 1 if __x86_64__ isn't defined.
29551         (_STAT_VER_LINUX_OLD): New.
29552         (st_atime): Remove duplicate.
29553         (st_mtime): Likewise.
29554         (st_ctime): Likewise.
29556 2012-05-31  David S. Miller  <davem@davemloft.net>
29558         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29559         entries.
29561 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
29563         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29564         gen-libm-test.pl.
29566         [BZ #14132]
29567         * elf/dl-reloc.c: Include <_itoa.h>.
29568         (_dl_reloc_bad_type): Remove use of INTUSE.
29569         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29570         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29571         * stdio-common/psiginfo.c (psiginfo): Likewise.
29572         * stdio-common/psignal.c (psignal): Likewise.
29573         * string/strsignal.c (strsignal): Likewise.
29574         * include/signal.h (_sys_siglist): Declare hidden proto.
29575         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
29576         INTVARDEF with libc_hidden_data_def.
29577         * stdio-common/itoa-udigits.c: Likewise.
29578         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29579         (_itoa_lower_digits_internal): Remove declaration.
29580         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29581         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29582         (_sys_sigabbrev_internal): Remove aliases.
29583         (_sys_siglist): Define hidden alias.
29585 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29588         bits/sysctl.h.
29590 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29592         [BZ #14117]
29593         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29594         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29596         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29597         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29598         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29599         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29600         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29601         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29603         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29604         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29605         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29607         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29608         with __addr.
29609         (insw): Likewise.
29610         (insl): Likewise.
29611         (outsb): Likewise.
29612         (outsw): Likewise.
29613         (outsl): Likewise.
29615         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29616         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29617         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29619         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29620         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29621         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29622         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29623         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29624         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29626         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29627         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29629         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29630         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29632         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29634         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29636         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29637         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29638         to ...
29639         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29641         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29642         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29643         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29645         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29646         for x86-64.
29647         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29649 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29651         * math/math.h (M_El): Use two more decimal places.
29652         (M_LOG2El): Likewise.
29653         (M_LOG10El): Likewise.
29654         (M_LN2l): Likewise.
29655         (M_LN10l): Likewise.
29656         (M_PIl): Likewise.
29657         (M_PI_2l): Likewise.
29658         (M_PI_4l): Likewise.
29659         (M_1_PIl): Likewise.
29660         (M_2_PIl): Likewise.
29661         (M_2_SQRTPIl): Likewise.
29662         (M_SQRT2l): Likewise.
29663         (M_SQRT1_2l): Likewise.
29665 2012-05-31  David S. Miller  <davem@davemloft.net>
29667         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29668         values between float registers.
29669         * sysdeps/sparc/sparc64/memset.S: Likewise.
29670         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29672 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29674         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29675         -D_FORTIFY_SOURCE=1.
29676         (CPPFLAGS-tst-longjmp_chk.c): Define.
29677         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29678         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29679         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29680         CFLAGS-tst-wchar-h.c.
29682 2012-05-31  Marek Polacek  <polacek@redhat.com>
29684         [BZ #14132]
29685         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29686         __endmntent_internal): Remove declaration.
29687         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29688         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29689         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29691 2012-05-30  David S. Miller  <davem@davemloft.net>
29693         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29694         (___Q_simulate_exceptions): Use real FP ops rather than writing
29695         into the %fsr.
29696         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29697         Likewise.
29699 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29701         [BZ #14117]
29702         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29703         * sysdeps/x86/bits/xtitypes.h: This.
29705         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29706         * sysdeps/x86/bits/wordsize.h: This.
29708         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29709         * sysdeps/x86/bits/huge_vall.h: This.
29711         * sysdeps/i386/bits/select.h: Removed.
29712         * sysdeps/x86_64/bits/select.h: Renamed to ...
29713         * sysdeps/x86/bits/select.h: This.
29715         * sysdeps/i386/bits/setjmp.h: Removed.
29716         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29717         * sysdeps/x86/bits/setjmp.h: This.
29719         * sysdeps/i386/bits/mathdef.h: Removed.
29720         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29721         * sysdeps/x86/bits/mathdef.h: This.
29723 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
29725         [BZ #14132]
29726         * include/sys/socket.h (__connect_internal)
29727         (__libc_sa_len_internal): Remove declaration.
29728         (__connect, __libc_sa_len): Declare hidden_proto.
29729         (SA_LEN): Remove use of INTUSE.
29730         * socket/connect.c: Add libc_hidden_def.
29731         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29732         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29733         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29734         alias.
29735         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29736         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29737         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29738         of adding _internal alias.
29740 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29742         [BZ #14117]
29743         * sysdeps/i386/bits/link.h: Removed.
29744         * sysdeps/i386/bits/linkmap.h: Likewise.
29745         * sysdeps/x86_64/bits/link.h: Renamed to ...
29746         * sysdeps/x86/bits/link.h: This.
29747         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29748         * sysdeps/x86/bits/linkmap.h: This.
29750         * sysdeps/i386/bits/endian.h: Removed.
29751         * sysdeps/x86_64/bits/endian.h: Renamed to ...
29752         * sysdeps/x86/bits/endian.h: This.
29754         * sysdeps/i386/bits/byteswap.h: Removed.
29755         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29756         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29757         * sysdeps/x86/bits/byteswap.h: This.
29758         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29759         * sysdeps/x86/bits/byteswap-16.h: This.
29760         * sysdeps/i386/Implies: Add x86.
29761         * sysdeps/x86_64/Implies: Likewise.
29763 2012-05-30  David S. Miller  <davem@davemloft.net>
29765         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29766         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29767         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29768         (FP_TRAPPING_EXCEPTIONS): Define.
29769         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29770         (FP_TRAPPING_EXCEPTIONS): Define.
29771         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29772         subnormals only when inexact has been signalled or underflow
29773         exceptions are enabled.
29774         (_FP_PACK_CANONICAL): Likewise.
29776 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29778         [BZ #14183]
29779         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29780         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29782 2012-05-30  Richard Henderson  <rth@twiddle.net>
29784         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29785         with #ifndef NOT_IN_libc.
29787         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
29788         marked to avoid plt entry.
29790 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29792         [BZ #14112]
29793         * Makeconfig (default-abi): New macro.
29794         (abi-includes): Likewise.
29795         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
29796         $(abi-$(default-abi)-lib-soname) for soname if defined.
29797         ($(common-objpfx)gnu/lib-names.stmp): Generate from
29798         abi-variants.
29799         * Makefile (installed-stubs): Likewise.
29800         * include/stubs-biarch.h: Removed.
29801         * scripts/lib-names.awk: Only handle one library at a time.
29802         * scripts/soversions.awk: Remove WORDSIZE support.
29803         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29804         entries.
29805         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29806         Removed.
29807         (syscall-list-default-condition): Likewise.
29808         (syscall-list-default-condition): Likewise.
29809         (syscall-list-includes): Likewise.
29810         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29811         syscall-list-* with abi-*.  Handle undefined abi-variants.
29812         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29813         * sysdeps/unix/sysv/linux/i386/Implies: New file.
29814         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29815         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29816         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29817         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29818         Removed.
29819         (syscall-list-32-options): Likewise.
29820         (syscall-list-32-condition): Likewise.
29821         (syscall-list-64-options): Likewise.
29822         (syscall-list-64-condition): Likewise.
29823         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29824         macro.
29825         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29826         Renamed to ...
29827         (abi-*): This.
29828         (abi-64-ld-soname): New macro.
29829         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29830         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29831         Renamed to ...
29832         (abi-*): This.
29833         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29834         * sysdeps/x86_64/x32/shlib-versions: Likewise.
29836 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
29838         * sysdeps/unix/sysv/linux/kernel-features.h
29839         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29840         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29841         include <kernel-features.h>.
29842         [!__NR_ftruncate64]: Remove conditional code.
29843         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29844         [__NR_ftruncate64]: Make code unconditional.
29845         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29846         * sysdeps/unix/sysv/linux/truncate64.c: Do not
29847         include <kernel-features.h>.
29848         [!__NR_ftruncate64]: Remove conditional code.
29849         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29850         [__NR_ftruncate64]: Make code unconditional.
29851         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29853         include <kernel-features.h>.
29854         [!__NR_ftruncate64]: Remove conditional code.
29855         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29856         [__NR_ftruncate64]: Make code unconditional.
29857         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29859         include <kernel-features.h>.
29860         [!__NR_ftruncate64]: Remove conditional code.
29861         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29862         [__NR_ftruncate64]: Make code unconditional.
29863         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29865         * configure.in (libc_cv_fpie): Weaken to a compile test using
29866         LIBC_TRY_CC_OPTION.
29867         * configure: Regenerated.
29869 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29875         Refreshed.
29876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29882         Refreshed.
29884 2012-05-27  David S. Miller  <davem@davemloft.net>
29886         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29887         (___Q_zero): New.
29888         (__Q_simulate_exceptions): Return void.  Change to simulate
29889         exceptions by writing into the %fsr.
29890         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29891         (__Qp_handle_exceptions): Likewise.
29892         (numbers): Delete.
29893         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29894         __Qp_handle_exceptions.
29895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29896         __Qp_handle_exceptions.
29897         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29898         as unused and give dummy FP_RND_NEAREST initializer.
29899         (FP_INHIBIT_RESULTS): Define.
29900         (___Q_simulate_exceptions): Update declaration.
29901         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29902         formatting.
29903         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29904         as unused and give dummy FP_RND_NEAREST initializer.
29905         (__Qp_handle_exceptions): Update declaration.
29906         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29907         formatting.
29909 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
29911         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29912         the temporary FPU control word.
29913         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29914         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29915         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29916         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29917         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29918         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29919         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29920         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29921         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29922         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29923         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29925 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29927         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29928         fields.
29930 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29932         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29933         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29934         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29935         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29936         Likewise.
29937         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29938         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29939         Likewise.
29941 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29943         * po/h.po: Update from translation team.
29945 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29947         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29949         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29950         handling of denormals.
29951         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29952         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29953         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29954         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29956         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29958         Likewise.
29960 2012-05-26  Marek Polacek  <polacek@redhat.com>
29962         [BZ #14152]
29963         * math/libm-test.inc (fma_test): Don't always expect underflow
29964         exception.
29966 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29968         [BZ #12416]
29969         * elf/tst-execstack.c: Include stackinfo.h.
29970         (do_test): Adjust test case to ensure that pthread_getattr_np
29971         behaviour remains the same after marking stack executable.
29973 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29975         * sysdeps/unix/sysv/linux/kernel-features.h
29976         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29977         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29978         kernel-features.h.
29979         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29980         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29981         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29982         kernel-features.h.
29983         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29984         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29986 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29988         * configure.in: Define the default includes to being none.
29989         * configure: Regenerated.
29991 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29993         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29994         * sysdeps/x86_64/setjmp.S: Likewise.
29995         * sysdeps/i386/bsd-setjmp.S: Likewise.
29996         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29997         * sysdeps/i386/setjmp.S: Likewise.
29998         * sysdeps/i386/__longjmp.S: Likewise.
29999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30000         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30002         * include/stap-probe.h: New file.
30003         * configure.in: Handle --enable-systemtap.
30004         * configure: Regenerated.
30005         * config.h.in (USE_STAP_PROBE): New #undef.
30006         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30007         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30008         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30010 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30012         [BZ #13717]
30013         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30014         to 2.4.0 where earlier.
30015         * sysdeps/unix/sysv/linux/configure: Regenerated.
30016         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30017         <kernel-features.h>.
30018         [__ASSUME_32BITUIDS]: Make code unconditional.
30019         [!__ASSUME_32BITUIDS]: Remove conditional code.
30020         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30021         <kernel-features.h>.
30022         [__ASSUME_32BITUIDS]: Make code unconditional.
30023         [!__ASSUME_32BITUIDS]: Remove conditional code.
30024         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30025         [__ASSUME_32BITUIDS]: Make code unconditional.
30026         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30027         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30028         <kernel-features.h>.
30029         [__ASSUME_32BITUIDS]: Make code unconditional.
30030         [!__ASSUME_32BITUIDS]: Remove conditional code.
30031         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30032         <kernel-features.h>.
30033         [__ASSUME_32BITUIDS]: Make code unconditional.
30034         [!__ASSUME_32BITUIDS]: Remove conditional code.
30035         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30036         <kernel-features.h>.
30037         [__ASSUME_32BITUIDS]: Make code unconditional.
30038         [!__ASSUME_32BITUIDS]: Remove conditional code.
30039         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30040         <kernel-features.h>.
30041         [__ASSUME_32BITUIDS]: Make code unconditional.
30042         [!__ASSUME_32BITUIDS]: Remove conditional code.
30043         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30044         <kernel-features.h>.
30045         [__ASSUME_32BITUIDS]: Make code unconditional.
30046         [!__ASSUME_32BITUIDS]: Remove conditional code.
30047         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30048         <kernel-features.h>.
30049         [__ASSUME_32BITUIDS]: Make code unconditional.
30050         [!__ASSUME_32BITUIDS]: Remove conditional code.
30051         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30052         <kernel-features.h>.
30053         [__ASSUME_32BITUIDS]: Make code unconditional.
30054         [!__ASSUME_32BITUIDS]: Remove conditional code.
30055         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30056         <kernel-features.h>.
30057         [__ASSUME_32BITUIDS]: Make code unconditional.
30058         [!__ASSUME_32BITUIDS]: Remove conditional code.
30059         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30060         <kernel-features.h>.
30061         [__ASSUME_32BITUIDS]: Make code unconditional.
30062         [!__ASSUME_32BITUIDS]: Remove conditional code.
30063         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30064         <kernel-features.h>.
30065         [__ASSUME_32BITUIDS]: Make code unconditional.
30066         [!__ASSUME_32BITUIDS]: Remove conditional code.
30067         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30068         <kernel-features.h>.
30069         [__NR_setresgid] (__setresgid): Do not declare.
30070         [__ASSUME_32BITUIDS]: Make code unconditional.
30071         [!__ASSUME_32BITUIDS]: Remove conditional code.
30072         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30073         <kernel-features.h>.
30074         [__NR_setresuid] (__setresuid): Do not declare.
30075         [__ASSUME_32BITUIDS]: Make code unconditional.
30076         [!__ASSUME_32BITUIDS]: Remove conditional code.
30077         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30078         <kernel-features.h>.
30079         [__ASSUME_32BITUIDS]: Make code unconditional.
30080         [!__ASSUME_32BITUIDS]: Remove conditional code.
30081         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30082         <kernel-features.h>.
30083         [__ASSUME_32BITUIDS]: Make code unconditional.
30084         [!__ASSUME_32BITUIDS]: Remove conditional code.
30085         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30086         <kernel-features.h>.
30087         [__ASSUME_32BITUIDS]: Make code unconditional.
30088         [!__ASSUME_32BITUIDS]: Remove conditional code.
30089         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30090         <kernel-features.h>.
30091         [__ASSUME_32BITUIDS]: Make code unconditional.
30092         [!__ASSUME_32BITUIDS]: Remove conditional code.
30093         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30094         <kernel-features.h>.
30095         [__ASSUME_32BITUIDS]: Make code unconditional.
30096         [!__ASSUME_32BITUIDS]: Remove conditional code.
30097         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30098         <kernel-features.h>.
30099         [__ASSUME_32BITUIDS]: Make code unconditional.
30100         [!__ASSUME_32BITUIDS]: Remove conditional code.
30101         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30102         <kernel-features.h>.
30103         [__ASSUME_32BITUIDS]: Make code unconditional.
30104         [!__ASSUME_32BITUIDS]: Remove conditional code.
30105         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30106         <kernel-features.h>.
30107         [__ASSUME_32BITUIDS]: Make code unconditional.
30108         [!__ASSUME_32BITUIDS]: Remove conditional code.
30109         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30110         <kernel-features.h>.
30111         [__ASSUME_32BITUIDS]: Make code unconditional.
30112         [!__ASSUME_32BITUIDS]: Remove conditional code.
30113         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30114         <kernel-features.h>.
30115         [__ASSUME_32BITUIDS]: Make code unconditional.
30116         [!__ASSUME_32BITUIDS]: Remove conditional code.
30117         * sysdeps/unix/sysv/linux/kernel-features.h
30118         (__ASSUME_SETRESUID_SYSCALL): Remove.
30119         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30120         (__ASSUME_32BITUIDS): Likewise.
30121         (__ASSUME_LDT_WORKS): Likewise.
30122         (__ASSUME_O_DIRECTORY): Likewise.
30123         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30124         architecture but not kernel version.
30125         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30126         (__ASSUME_MMAP2_SYSCALL): Likewise.
30127         (__ASSUME_STAT64_SYSCALL): Likewise.
30128         (__ASSUME_IPC64): Likewise.
30129         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30130         <kernel-features.h>.
30131         [__ASSUME_32BITUIDS]: Make code unconditional.
30132         [!__ASSUME_32BITUIDS]: Remove conditional code.
30133         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30134         <kernel-features.h>.
30135         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30136         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30137         132096]: Remove conditional code.
30138         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30139         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30140         <kernel-features.h>.
30141         [__ASSUME_32BITUIDS]: Make code unconditional.
30142         [!__ASSUME_32BITUIDS]: Remove conditional code.
30143         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30144         <kernel-features.h>.
30145         [__ASSUME_32BITUIDS]: Make code unconditional.
30146         [!__ASSUME_32BITUIDS]: Remove conditional code.
30147         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30148         <kernel-features.h>.
30149         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30150         unconditional.
30151         (__setresgid): Do not declare.
30152         [__ASSUME_32BITUIDS]: Make code unconditional.
30153         [!__ASSUME_32BITUIDS]: Remove conditional code.
30154         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30155         <kernel-features.h>.
30156         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30157         unconditional.
30158         (__setresuid): Do not declare.
30159         [__ASSUME_32BITUIDS]: Make code unconditional.
30160         [!__ASSUME_32BITUIDS]: Remove conditional code.
30161         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30162         <kernel-features.h>.
30163         [__ASSUME_32BITUIDS]: Make code unconditional.
30164         [!__ASSUME_32BITUIDS]: Remove conditional code.
30165         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30166         <kernel-features.h>.
30167         [__ASSUME_32BITUIDS]: Make code unconditional.
30168         [!__ASSUME_32BITUIDS]: Remove conditional code.
30170 2012-05-25  Richard Henderson  <rth@twiddle.net>
30172         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30173         dl_hwcap to ifunc resolver.
30174         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30175         elf_ifunc_invoke.
30176         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30177         dl_hwcap to ifunc resolver.
30178         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30180 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30182         [BZ #14153]
30183         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30184         for |x| <= 2**-26, not 2**-57.
30185         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30186         exception.
30188 2012-05-24  Jeff Law  <law@redhat.com>
30190         * stdio-common/Makefile (tests): Add bug25.
30191         * stdio-common/bug25.c: New test.
30193 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30195         [BZ #13576]
30196         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30197         multiple of MALLOC_ALIGNMENT in size.
30198         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30200 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30202         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30203         Require >= 256.
30204         (FILENAME_MAX): Use macro-int-constant.
30205         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30206         (_IOFBF): Use macro-int-constant.
30207         (_IOLBF): Likewise.
30208         (_IONBF): Likewise.
30209         (SEEK_CUR): Likewise.
30210         (SEEK_END): Likewise.
30211         (SEEK_SET): Likewise.
30212         (TMP_MAX): Likewise.
30213         (EOF): Use macro-int-constant.  Require < 0.
30214         (NULL): Use macro-constant.  Require == 0.
30215         (stdin): Require type to be FILE *.
30216         (stdout): Likewise.
30217         (stderr): Likewise.
30218         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30219         macro-int-constant.
30220         (EXIT_SUCCESS): Likewise.
30221         (NULL): Use macro-constant.  Require == 0.
30222         (RAND_MAX): Use macro-int-constant.
30223         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30224         [C99-based standards] (strtof): Require function.
30225         [C99-based standards] (strtold): Likewise.
30226         [C99-based standards] (strtoll): Likewise.
30227         [C99-based standards] (strtoull): Likewise.
30228         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30229         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30230         [ISO || ISO99 || ISO11] (math.h): Likewise.
30231         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30232         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30235 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30237         [BZ #14132]
30238         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30239         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30240         * intl/dgettext.c (DCGETTEXT): Likewise.
30241         * intl/gettext.c (DCGETTEXT): Likewise.
30242         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30243         * posix/regex_internal.h (gettext): Likewise.
30244         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30245         Remove declaration.
30246         * include/argz.h (__argz_count_internal)
30247         (__argz_stringify_internal): Remove declaration.
30248         (__argz_count, __argz_stringify): Declare hidden proto.
30249         * intl/dcgettext.c: Remove use of INTDEF.
30250         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30251         * string/argz-stringify.c: Likewise.
30252         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30253         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30254         Declare hidden proto.
30255         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30256         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30257         Declare hidden proto.
30258         * include/stdio.h (__asprintf_internal): Don't declare.
30259         (__asprintf): Don't define as macro.  Declare hidden proto.
30260         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30261         (__fsetlocking): Declare hidden proto.
30262         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30263         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30264         hidden proto.
30265         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30266         (_IO_setlinebuf): Remove use of INTUSE.
30267         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30268         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30269         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30270         Remove declaration.
30271         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30272         (_IO_do_flush): Remove use of INTUSE.
30273         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30274         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30275         (_IO_adjust_column, _IO_least_wmarker)
30276         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30277         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30278         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30279         (_IO_default_doallocate, _IO_wdefault_doallocate)
30280         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30281         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30282         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30283         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30284         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30285         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30286         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30287         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30288         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30289         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30290         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30291         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30292         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30293         proto.
30294         (_IO_flush_all_internal, _IO_adjust_column_internal)
30295         (_IO_default_uflow_internal, _IO_default_finish_internal)
30296         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30297         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30298         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30299         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30300         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30301         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30302         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30303         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30304         (_IO_file_close_internal, _IO_file_close_it_internal)
30305         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30306         (_IO_file_init_internal, _IO_file_attach_internal)
30307         (_IO_file_fopen_internal, _IO_file_read_internal)
30308         (_IO_file_sync_internal, _IO_file_seek_internal)
30309         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30310         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30311         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30312         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30313         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30314         (_IO_list_all_internal, _IO_link_in_internal)
30315         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30316         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30317         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30318         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30319         (_IO_do_write_internal, _IO_padn_internal)
30320         (_IO_getline_info_internal, _IO_getline_internal)
30321         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30322         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30323         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30324         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30325         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30326         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30327         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30328         with libc_hidden_ver, remove use of INTUSE.
30329         * libio/genops.c: Likewise.
30330         * libio/freopen.c: Likewise.
30331         * libio/freopen64.c: Likewise.
30332         * libio/iofclose.c: Likewise.
30333         * libio/iofdopen.c: Likewise.
30334         * libio/iofflush.c: Likewise.
30335         * libio/iofflush_u.c: Likewise.
30336         * libio/iofgets.c: Likewise.
30337         * libio/iofgets_u.c: Likewise.
30338         * libio/iofopen.c: Likewise.
30339         * libio/iofopncook.c: Likewise.
30340         * libio/iofread.c: Likewise.
30341         * libio/iofread_u.c: Likewise.
30342         * libio/ioftell.c: Likewise.
30343         * libio/iofwrite.c: Likewise.
30344         * libio/iogetline.c: Likewise.
30345         * libio/iogets.c: Likewise.
30346         * libio/iogetwline.c: Likewise.
30347         * libio/iopadn.c: Likewise.
30348         * libio/iopopen.c: Likewise.
30349         * libio/ioseekoff.c: Likewise.
30350         * libio/ioseekpos.c: Likewise.
30351         * libio/iosetbuffer.c: Likewise.
30352         * libio/iosetvbuf.c: Likewise.
30353         * libio/ioungetc.c: Likewise.
30354         * libio/ioungetwc.c: Likewise.
30355         * libio/iovdprintf.c: Likewise.
30356         * libio/iovsprintf.c: Likewise.
30357         * libio/iovsscanf.c: Likewise.
30358         * libio/memstream.c: Likewise.
30359         * libio/obprintf.c: Likewise.
30360         * libio/oldfileops.c: Likewise.
30361         * libio/oldiofclose.c: Likewise.
30362         * libio/oldiofdopen.c: Likewise.
30363         * libio/oldiofopen.c: Likewise.
30364         * libio/oldiopopen.c: Likewise.
30365         * libio/oldstdfiles.c: Likewise.
30366         * libio/putc.c: Likewise.
30367         * libio/setbuf.c: Likewise.
30368         * libio/setlinebuf.c: Likewise.
30369         * libio/stdfiles.c: Likewise.
30370         * libio/strops.c: Likewise.
30371         * libio/vasprintf.c: Likewise.
30372         * libio/vscanf.c: Likewise.
30373         * libio/vsnprintf.c: Likewise.
30374         * libio/vswprintf.c: Likewise.
30375         * libio/wfiledoalloc.c: Likewise.
30376         * libio/wfileops.c: Likewise.
30377         * libio/wgenops.c: Likewise.
30378         * libio/wmemstream.c: Likewise.
30379         * libio/wstrops.c: Likewise.
30380         * libio/__fpurge.c: Likewise.
30381         * libio/__fsetlocking.c: Likewise.
30382         * assert/assert.c: Likewise.
30383         * debug/fgets_chk.c: Likewise.
30384         * debug/fgets_u_chk.c: Likewise.
30385         * debug/fread_chk.c: Likewise.
30386         * debug/fread_u_chk.c: Likewise.
30387         * debug/gets_chk.c: Likewise.
30388         * debug/obprintf_chk.c: Likewise.
30389         * debug/vasprintf_chk.c: Likewise.
30390         * debug/vdprintf_chk.c: Likewise.
30391         * debug/vsnprintf_chk.c: Likewise.
30392         * debug/vsprintf_chk.c: Likewise.
30393         * malloc/mtrace.c: Likewise.
30394         * misc/error.c: Likewise.
30395         * misc/syslog.c: Likewise.
30396         * stdio-common/asprintf.c: Likewise.
30397         * stdio-common/fxprintf.c: Likewise.
30398         * stdio-common/getw.c: Likewise.
30399         * stdio-common/isoc99_fscanf.c: Likewise.
30400         * stdio-common/isoc99_scanf.c: Likewise.
30401         * stdio-common/isoc99_vfscanf.c: Likewise.
30402         * stdio-common/isoc99_vscanf.c: Likewise.
30403         * stdio-common/isoc99_vsscanf.c: Likewise.
30404         * stdio-common/printf-prs.c: Likewise.
30405         * stdio-common/printf_fp.c: Likewise.
30406         * stdio-common/printf_fphex.c: Likewise.
30407         * stdio-common/printf_size.c: Likewise.
30408         * stdio-common/putw.c: Likewise.
30409         * stdio-common/scanf.c: Likewise.
30410         * stdio-common/sprintf.c: Likewise.
30411         * stdio-common/tmpfile.c: Likewise.
30412         * stdio-common/vfprintf.c: Likewise.
30413         * stdio-common/vfscanf.c: Likewise.
30414         * stdlib/strfmon_l.c: Likewise.
30415         * sunrpc/openchild.c: Likewise.
30416         * sunrpc/xdr_stdio.c: Likewise.
30417         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30418         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30420 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30422         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30424         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30425         in the third column, to generate for the shared library an IFUNC
30426         that uses _dl_vdso_vsym.
30427         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30428         * Makeconfig (object-suffixes-noshared): New variable.
30430         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30431         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30432         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30433         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30435         [BZ #14132]
30436         * include/sys/time.h (__gettimeofday): Remove macro.
30437         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30438         * time/gettimeofday.c (__gettimeofday): Remove #undef.
30439         Remove INTDEF.
30440         (__gettimeofday): Add libc_hidden_def.
30441         (gettimeofday): Add libc_hidden_weak.
30442         * sysdeps/mach/gettimeofday.c: Likewise.
30443         * sysdeps/posix/gettimeofday.c: Likewise.
30444         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30445         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30446         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30447         (__gettimeofday_internal): Remove strong_alias.
30448         (__gettimeofday): Add libc_hidden_def.
30449         (gettimeofday): Add libc_hidden_weak.
30450         * sysdeps/unix/syscalls.list (gettimeofday):
30451         Remove __gettimeofday_internal alias.
30453 2012-05-24  Daniel Jacobowitz  <drow@false.org>
30454             H.J. Lu  <hongjiu.lu@intel.com>
30456         [BZ #12495]
30457         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30458         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30459         (largebin_index_32_big): New.
30460         (largebin_index): Use it for 16-byte alignment.
30461         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
30462         correction with front_misalign.
30464 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30468         Likewise.
30469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30470         Likewise.
30471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30472         Likewise.
30473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30474         Likewise.
30475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30476         Likewise.
30477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30478         Likewise.
30479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30480         Likewise.
30481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30482         Likewise.
30483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30484         Likewise.
30485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30486         Likewise.
30487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30488         Likewise.
30489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30490         Likewise.
30492         * scripts/data/c++-types-x32-linux-gnu.data: New file.
30493         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30495 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30497         [BZ #10846]
30498         [BZ #14036]
30499         * math/libm-test.inc (exp_test): Add test from bug 14036.
30500         (pow_test): Add test from bug 10846.
30502         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30503         and other flags.
30504         (special_function): Do not include flags in test name.
30505         (parse_args): Likewise.
30506         * sysdeps/i386/fpu/libm-test-ulps: Update.
30507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30508         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30509         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30512         * math/gen-libm-test.pl (%beautify): Add entries for underflow
30513         exceptions.
30514         * math/libm-test.inc ("Philosophy"): Update comment about
30515         exception testing.
30516         (UNDERFLOW_EXCEPTION): New macro.
30517         (UNDERFLOW_EXCEPTION_OK): Likewise.
30518         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30519         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30520         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30521         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30522         (INVALID_EXCEPTION_OK): Update value.
30523         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30524         (OVERFLOW_EXCEPTION_OK): Likewise.
30525         (IGNORE_ZERO_INF_SIGN): Likewise.
30526         (test_exceptions): Handle underflow exceptions.
30527         (acos_test): Update for underflow exception expectations.
30528         (cexp_test): Likewise.
30529         (clog_test): Likewise.
30530         (clog10_test): Likewise.
30531         (csqrt_test): Likewise.
30532         (ctan_test): Likewise.
30533         (ctanh_test): Likewise.
30534         (exp_test): Likewise.
30535         (exp10_test): Likewise.
30536         (exp2_test): Likewise.
30537         (expm1_test): Likewise.
30538         (fma_test): Likewise.
30539         (j0_test): Likewise.
30540         (jn_test): Likewise.
30541         (nexttoward_test): Likewise.
30542         (pow_test): Likewise.
30543         (scalbn_test): Likewise.
30544         (scalbln_test): Likewise.
30545         (tan_test): Likewise.
30546         (y1_test): Likewise.
30547         * sysdeps/i386/fpu/libm-test-ulps: Update.
30548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30550 2012-05-23  David S. Miller  <davem@davemloft.net>
30552         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30553         (__libc_sigaction): Remove unused local variables.
30555 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30557         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30559 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
30561         mktime: avoid signed integer overflow
30562         * time/mktime.c (__mktime_internal): Do not mishandle the case
30563         where diff == INT_MIN.
30565         mktime: simplify computation of average
30566         * time/mktime.c (ranged_convert): Use new time_t_avg function
30567         instead of rolling our own (probably-slower) code.
30569         mktime: do not assume signed right shift propagates sign bit
30570         * time/mktime.c (isdst_differ): New static function.
30571         (__mktime_internal): No need to normalize tm_isdst now.
30572         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30573         tm_isdst values.
30575         mktime: merge another wrapv change from gnulib
30576         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30577         from some compilers.
30579         mktime: remove incorrect attempt at unusual arithmetics
30580         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30581         The code didn't really work on such machines anyway.
30582         (TYPE_MINIMUM): Assume two's complement.
30583         (twos_complement_arithmetic): Verify that long_int and time_t
30584         are two's complement (or unsigned, in the latter case).
30586         mktime: check signed shifts on long_int and time_t, too
30587         * time/mktime.c (SHR): Check that shifts work as desired
30588         on the types long_int and time_t too, as SHR is used on
30589         such types.
30591         mktime: do not assume 'long' is wide enough
30592         * time/mktime.c (verify): Move decl up.
30593         (long_int): New type.
30594         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30595         to remove assumption in the code that 'long' is wide enough to
30596         store year values.  This assumption is not true on x32 and on
30597         some non-glibc platforms.
30599         mktime: merge wrapv change from gnulib
30600         * time/mktime.c (WRAPV): New macro.
30601         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30602         (guess_time_tm, __mktime_internal): Do not assume that signed
30603         integer overflow wraps around; modern compilers generate code
30604         where this assumption is no longer valid.
30606 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30608         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30609         Replace "jmp L(pseudo_end)" with "ret".
30610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30611         Likewise.
30613 2012-05-23  Andreas Jaeger  <aj@suse.de>
30615         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30616         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30618 2012-05-23  Andreas Jaeger  <aj@suse.de>
30619             Maximilian Attems  <max@stro.at>
30621         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30622         New macros.
30624 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30626         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30627         code so that pseudo_end is just ret and the stack pointer is
30628         correct also for static library in error case.
30630 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30632         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30633         move to syscalls.list.
30634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30639         * manual/install.texi (Running make install): Do not mention Linux
30640         kernel version for which pt_chown is not needed.
30641         (Linux): Do not mention problems with nscd with 2.0 kernels.
30642         * INSTALL: Regenerated.
30644 2012-05-23  Andreas Jaeger  <aj@suse.de>
30646         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30647         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30648         macro.
30649         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30650         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30651         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30653         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30655         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30657         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30658         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30659         * sysdeps/unix/sysv/linux/bits/in.h
30660         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30662 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30664         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30665         (PREPARE_VERSION): Just use assert instead, it will be elided
30666         under [NDEBUG] anyway.
30668 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30670         * sysdeps/unix/sysv/linux/Makefile: Include
30671         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30672         (sysdep_routines): Remove sysctl.
30673         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30674         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30675         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30676         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30677         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30679 2012-05-22  Andreas Jaeger  <aj@suse.de>
30681         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30682         that pseudo_end is just ret and the stack pointer is correct also
30683         for static library in error case.
30685 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30687         [BZ #14122]
30688         * nss/nsswitch.c (defconfig_entries): New variable.
30689         (__nss_database_lookup): Don't leak defconfig entries.
30690         (nss_parse_service_list): Don't leak on error paths.
30691         (free_database_entries): New function.
30692         (free_defconfig): New function.
30693         (free_mem): Move common code to free_database_entries.
30695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30697         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30698         Add arch_prctl.
30699         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30701         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30702         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30704         New macro.
30705         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30706         (INTERNAL_SYSCALL_TYPES): Likewise.
30707         (LOAD_ARGS_TYPES_[1-6]): Likewise.
30708         (LOAD_REGS_TYPES_[1-6]): Likewise.
30709         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30710         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30712 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30714         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30715         copysignl for GLIBC_2_0.
30716         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30717         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30719         logbl for GLIBC_2_0.
30720         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30721         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30723 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30725         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30726         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30728         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30729         Use "neg %eax".
30731         * time/mktime.c: Update copyright years.
30733 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30735         mktime: merge comment-quoting-style change from gnulib
30736         * time/mktime.c: Quote 'like this' in comments.
30737         The GNU coding standards suggest that we no longer quote `like this',
30738         as "`" and "'" are typically rendered asymmetrically nowadays.
30739         The typical gnulib style is to quote 'like this' when quoting
30740         code, and "like this" when quoting English.
30742         * time/mktime.c (compile-command): Add "-I.".
30744         mktime: merge mktime-internal.h change from gnulib
30745         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30747         mktime: merge time_r change from gnulib
30748         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30750         mktime: merge DEBUG change from gnulib
30751         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30752         case system <time.h> has a #define.
30754         mktime: merge <sys/types.h> change from gnulib
30755         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30756         since <time.t> is now guaranteed to define time_t.
30758         mktime: merge HAVE_CONFIG_H change from gnulib
30759         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30761 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30764         Use "neg %eax".
30766         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30767         __rlim_t cast.
30768         (struct rusage): Use anonymous union to pad each field to
30769         __syscall_slong_t.
30771 2012-05-21  David S. Miller  <davem@davemloft.net>
30773         * Makefules (o-iterator): Remove .s cases.
30774         (compile-command.s): Delete.
30775         (COMPILE.s): Delete.
30776         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30778 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
30780         * configure.in (libc_cv_predef_stack_protector): Only consider
30781         "foobar" and "__stack_chk_fail" lines in libc_undefs.
30782         * configure: Regenerated.
30784 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30787         New macro.  Use R*LP on int and pointer.
30788         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30789         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30790         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30791         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30793         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30794         [__WORDSIZE_TIME64_COMPAT32] instead of
30795         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30796         (struct utmp): Likewise.
30797         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30798         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30799         Renamed to ...
30800         (__WORDSIZE_TIME64_COMPAT32): This.
30801         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30802         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30803         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30804         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30805         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30806         (__WORDSIZE_TIME64_COMPAT32): New macro.
30808 2012-05-21  Andreas Jaeger  <aj@suse.de>
30810         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30811         only if [SHARED]. Add prototype for __wcschr_ia32.
30813 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30815         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30816         of %rbp unmolested in the jmp_buf while mangling the low bits.
30817         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30818         unmolested high bits of %rbp while demangling the low bits.
30819         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30821 2012-05-21  Andreas Jaeger  <aj@suse.de>
30823         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30824         * sunrpc/svc_simple.c: Use it for registerrpc.
30825         * sunrpc/xcrypt.c: Use it for passwd2des.
30827         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30829 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30831         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30832         Don't define if [__SYSCALL_WORDSIZE != 32].
30833         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30834         New macro.
30836 2012-05-21  Bruno Haible  <bruno@clisp.org>
30837             Andreas Jaeger  <aj@suse.de>
30839         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30840         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30841         inptr and inend for must_buffer_ch.
30842         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30843         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30844         * stdio-common/Makefile (tests): Remove bug15.
30845         (bug15-ENV): Remove macro.
30846         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30847         anymore.
30849 2012-05-19  Andreas Jaeger  <aj@suse.de>
30850             Roland McGrath  <roland@hack.frob.com>
30852         * manual/contrib.texi: Completely rewritten. It contains now an
30853         alphabetical list of contributors and their contributions.
30855 2012-05-21  Richard Henderson  <rth@twiddle.net>
30857         * misc/getauxval.c (__getauxval): Use unsigned long int.
30858         * misc/sys/auxv.h: Include <sys/cdefs.h>.
30859         (getauxval): Use unsigned long int.
30861 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30863         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30865 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30867         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30868         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30869         __alignof__ (long double).
30871 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30875 2012-05-20  Richard Henderson  <rth@twiddle.net>
30877         * misc/getauxval.c: New file.
30878         * misc/sys/auxv.h: New file.
30879         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30880         (routines): Add getauxval.
30881         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30882         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30883         * elf/dl-sysdep.c (_dl_auxv): Remove.
30884         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30885         * elf/dl-support.c (_dl_auxv): New variable.
30886         (_dl_aux_init): Initialize it.
30887         * manual/startup.texi (Auxiliary Vector): New node.
30888         * sysdeps/generic/bits/hwcap.h: New file.
30889         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30890         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
30891         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30892         * sysdeps/sparc/sysdep.h: ... here.  Include it.
30893         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30894         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30896         Update.
30897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30900         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30906 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30910 2012-05-19  David S. Miller  <davem@davemloft.net>
30912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30914 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30916         [BZ #14123]
30917         * math/s_ccosh.c: Include <float.h>
30918         (__ccosh): Avoid internal overflow calculating sinh and cosh
30919         values before multiplying by sin and cos values.
30920         * math/s_ccoshf.c: Likewise.
30921         * math/s_ccoshl.c: Likewise.
30922         * math/s_csin.c: Likewise.
30923         * math/s_csinf.c: Likewise.
30924         * math/s_csinl.c: Likewise.
30925         * math/s_csinh.c: Likewise.
30926         * math/s_csinhf.c: Likewise.
30927         * math/s_csinhl.c: Likewise.
30928         * math/libm-test.inc (ccos_test): Add more tests.
30929         (ccosh_test): Likewise.
30930         (csin_test): Likewise.
30931         (csinh_test): Likewise.
30932         * sysdeps/i386/fpu/libm-test-ulps: Update.
30933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30935 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30937         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30938         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30940         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30942 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30944         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30945         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30946         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30947         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30948         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30949         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30950         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30951         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30952         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30953         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30954         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30955         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30956         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30957         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30958         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30959         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30960         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30961         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30962         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30963         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30964         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30965         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30966         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30967         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30968         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30969         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30970         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30971         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30972         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30973         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30974         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30976 2012-05-18  Andreas Jaeger  <aj@suse.de>
30978         * csu/.gitignore: Delete.
30980 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30982         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30983         (timex): Use __syscall_slong_t.
30985 2012-05-18  Andreas Jaeger  <aj@suse.de>
30986             Carlos O'Donell  <carlos_odonell@mentor.com>
30988         * manual/install.texi (Configuring and compiling): Update
30989         description about files modified in the source directory.
30990         * INSTALL: Regenerated.
30992 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30994         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30995         value.  Use "or" to set return value to -1.
30996         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30997         negate return value.
30999 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31001         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31002         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31003         failure if the compiler has Graphite support disabled.
31004         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31005         Likewise.
31006         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31007         (CFLAGS-memmove.c): Likewise.
31008         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31009         Likewise.
31011 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31013         * sysdeps/x86_64/x32/_itoa.h: New file.
31015         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31016         getdents system call only if kernel and user dirents have the
31017         same d_ino and d_off.
31019         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31020         LLONG_MAX != LONG_MAX.
31021         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31022         (_fitoa_word): Likewise.
31024         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31025         years.
31026         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31027         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31028         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31030         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31031         include <bits/wordsize.h>.  Check __x86_64__ instead of
31032         __WORDSIZE.
31033         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31034         if __x86_64__ is defined.  Use anonymous union on fpstate.
31036         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31037         anonymous union.
31039 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31041         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31042         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31043         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31044         Refer to _rtld_local_ro instead of _rtld_global_ro.
31045         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31046         Likewise.
31047         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31048         Likewise.
31049         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31050         Likewise.
31051         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31052         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31053         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31055         * sysdeps/powerpc/powerpc32/dl-machine.c
31056         (__elf_machine_runtime_setup) [PROF]: Don't reference
31057         _dl_prof_resolve.
31059 2012-05-18  Andreas Jaeger  <aj@suse.de>
31061         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31062         function only available for GCCs before 3.4 since GCC 3.4
31063         introduced a builtin.
31064         (lrint): Likewise.
31065         (llrintf): Likewise.
31066         (llrint): Likewise.
31067         (fmaxf): Likewise.
31068         (fmax): Likewise.
31069         (fminf): Likewise.
31070         (fmin): Likewise.
31071         (rint): Likewise.
31072         (rintf): Likewise.
31073         (nearbyint): Likewise.
31074         (nearbyintf): Likewise.
31075         (ceil): Likewise.
31076         (ceilf): Likewise.
31077         (floor): Likewise.
31078         (floorf): Likewise.
31080 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31082         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31083         on both fields and cast pointer to __syscall_ulong_t.
31085         * bits/types.h (__fsword_t): New type.
31086         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31087         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31089         (__FSWORD_T_TYPE): Likewise.
31090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31091         (__FSWORD_T_TYPE): Likewise.
31092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31093         (__FSWORD_T_TYPE): Likewise.
31094         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31095         (__FSWORD_T_TYPE): Likewise.
31096         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31097         __SWORD_TYPE with __fsword_t.
31098         (statfs64): Likewise.
31100 2012-05-17  David S. Miller  <davem@davemloft.net>
31102         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31104 2012-05-17  Andreas Jaeger  <aj@suse.de>
31106         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31107         warning.
31109 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31111         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31113 2012-05-17  Andreas Jaeger  <aj@suse.de>
31115         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31116         when it is used.
31118 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31120         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31122 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31124         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31125         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31127 2012-05-17  Andreas Jaeger  <aj@suse.de>
31128             Carlos O'Donell  <carlos_odonell@mentor.com>
31130         [BZ #14059]
31131         * sysdeps/x86_64/multiarch/init-arch.h
31132         (bit_YMM_Usable): Rename to...
31133         (bit_AVX_Usable): ... this.
31134         (bit_FMA4_Usable): New macro.
31135         (bit_XMM_state): New macro.
31136         (bit_YMM_state): New macro.
31137         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31138         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31139         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31140         (CPUID_OSXSAVE): New macro.
31141         (CPUID_AVX): New macro.
31142         (CPUID_FMA4): New macro.
31143         (index_YMM_Usable): Rename to...
31144         (index_AVX_Usable): ... this.
31145         (HAS_AVX): Use HAS_ARCH_FEATURE.
31146         (HAS_FMA4): Likewise.
31147         (HAS_YMM_USABLE): Remove.
31148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31149         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31150         are present.
31151         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31152         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31153         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31154         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31155         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31157 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31159         * math/libm-test.c: Support platforms without multiple rounding modes.
31160         * math/bug-nextafter.c: Support platforms without FP exceptions.
31161         * math/bug-nexttoward.c: Likewise.
31162         * math/test-fenv.c: Likewise.
31163         * math/test-misc.c: Likewise.
31164         * stdlib/bug-getcontext.c: Likewise.
31166 2012-05-17  Andreas Jaeger  <aj@suse.de>
31168         * manual/examples/search.c (critter_cmp): Change signature to
31169         avoid warnings.
31170         * manual/string.texi (Collation Functions): Likewise.
31172 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31174         * bits/types.h: Fold copyright years.
31175         * bits/typesizes.h: Likewise.
31176         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31180         * time/time.h: Likewise.
31182 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31184         [BZ #208]
31185         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31186         in instead of returning them.  Return void.
31187         (__libc_mallinfo): Accumulate over all arenas.
31188         (__malloc_stats): Adjust for change in int_mallinfo interface.
31190 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31192         [BZ #10375]
31193         * configure.in (NM): Add AC_CHECK_TOOL for it.
31194         (libc_extra_cflags): New substituted variable.
31195         Check for -fstack-protector being used implicitly.
31196         * configure: Regenerated.
31197         * config.make.in (config-extra-cflags): New variable,
31198         gets @libc_extra_cflags@.
31199         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31201         [BZ #10375]
31202         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31203         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31204         * configure: Regenerated.
31205         * config.make.in (CPPUNDEFS): New substituted variable.
31206         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31207         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31208         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31210 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31212         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31213         (mq_attr): Use __syscall_slong_t.
31215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31217         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31218         Check __x86_64__ instead of __WORDSIZE.
31219         (_STAT_VER_LINUX): Likewise.
31220         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31221         __syscall_ulong_t and __syscall_slong_t.
31222         (stat64): Likewise.
31224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31226         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31230         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31232 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31234         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31235         __syscall_ulong_t.
31237         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31238         include <bits/wordsize.h>.  Check __x86_64__ instead of
31239         __WORDSIZE.
31240         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31241         defined.
31242         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31244         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31245         include <bits/wordsize.h>.  Check __x86_64__ instead of
31246         __WORDSIZE.
31247         (user_regs_struct): Use "__extension__ unsigned long long"
31248         instead of "unsigned long" if __x86_64__ is defined.
31249         (user): Likewise.  Pad after pointer field if __ILP32__ is
31250         defined.
31252 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31254         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31255         versions 5 to 9.
31256         * configure: Regenerated.
31257         * manual/install.texi (texinfo): Increase version requirement to
31258         4.5 or later.
31259         * INSTALL: Regenerated.
31261         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31263 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31265         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31267         * sysdeps/x86_64/x32/ffs.c: New file.
31269         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31270         __syscall_ulong_t.
31271         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31272         defined.  Use __syscall_ulong_t.
31273         (shminfo): Use __syscall_ulong_t.
31274         (shm_info): Likewise.
31276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31277         __syscall_ulong_t.
31279         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31280         <bits/wordsize.h>.
31281         (msgqnum_t): Use __syscall_ulong_t.
31282         (msglen_t): Likewise.
31283         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31284         __syscall_ulong_t.
31286         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31287         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31289         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31291         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31292         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31294         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31295         __syscall_slong_t.
31297         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31298         include <bits/wordsize.h>.  Check __x86_64__ instead of
31299         __WORDSIZE.
31301         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31302         "unsigned long long int" if __x86_64__ is defined.
31303         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31305         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31306         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31307         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31309         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31310         <stdint.h>.
31311         (GET_PC): Cast to uintptr_t first.
31312         (GET_FRAME): Likewise.
31313         (GET_STACK): Likewise.
31315         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31316         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31317         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31318         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31319         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31320         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31321         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31322         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31323         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31324         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31325         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31326         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31327         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31328         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31329         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31330         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31331         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31332         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31333         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31334         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31335         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31336         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31337         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31338         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31339         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31340         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31341         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31342         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31343         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31345 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31347         * Makerules (+depfiles): Also collect depfiles from .oS in
31348         $(extra-objs).
31349         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31350         .oS, $(libnldbl-routines)).
31352         * Makerules (native-compile-mkdep-flags): Define.
31353         * sunrpc/Makefile (extra-objs): Add $(addprefix
31354         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31355         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31356         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31357         calling $(make-target-directory).
31359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31361         * bits/types.h (__snseconds_t): Removed.
31362         * time/time.h (struct timespec): Replace __snseconds_t with
31363         __syscall_slong_t.
31364         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31365         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31366         Likewise.
31367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31368         (__SNSECONDS_T_TYPE): Likewise.
31369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31370         (__SNSECONDS_T_TYPE): Likewise.
31371         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31372         (__SNSECONDS_T_TYPE): Likewise.
31374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31376         * sysdeps/mach/hurd/bits/typesizes.h
31377         (__SYSCALL_SLONG_TYPE): New macro.
31378         (__SYSCALL_ULONG_TYPE): Likewise.
31380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31382         * bits/types.h (__syscall_slong_t): New type.
31383         (__syscall_ulong_t): Likewise.
31385         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31386         (__SYSCALL_ULONG_TYPE): Likewise.
31387         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31388         (__SYSCALL_SLONG_TYPE): Likewise.
31389         (__SYSCALL_ULONG_TYPE): Likewise.
31390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31391         (__SYSCALL_SLONG_TYPE): Likewise.
31392         (__SYSCALL_ULONG_TYPE): Likewise.
31393         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31394         (__SYSCALL_SLONG_TYPE): Likewise.
31395         (__SYSCALL_ULONG_TYPE): Likewise.
31397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31399         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31400         Add sigaltstack-offsets.sym.
31401         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31402         <sigaltstack-offsets.h>.
31403         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31404         longjmp_msg pointer.
31405         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31406         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31407         signal stack.
31408         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31410 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31412         * elf/stackguard-macros.h: Remove file.
31413         * sysdeps/generic/stackguard-macros.h: New file.
31414         * sysdeps/i386/stackguard-macros.h: Likewise.
31415         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31416         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31417         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31418         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31419         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31420         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31421         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31422         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31423         <elf/stackguard-macros.h>.
31425         [BZ #14109]
31426         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31427         __aligned__ in attribute.
31428         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31429         (gregset_t): Likewise.
31431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31433         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31434         * sysdeps/x86_64/64/Implies-after: Here.  New file.
31435         * sysdeps/x86_64/x32/Implies-after: New file.
31437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31439         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31440         and access return value for _dl_profile_fixup.  Use R10_LP to
31441         load frame size.
31443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31445         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31449         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31450         * sysdeps/x86_64/x32/sysdep.h: New file.
31452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31454         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31455         * sysdeps/x86_64/setjmp.S: Likewise.
31457 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31459         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31460         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31461         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31462         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31463         remove unused global constant.
31465 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31467         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31468         include of <not-cancel.h>.
31470 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31472         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31474 2012-05-15  Jeff Law  <law@redhat.com>
31475             Andreas Jaeger  <aj@suse.de>
31477         [BZ #13594]
31478         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31479         out from...
31480         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31481         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31482         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31483         code changing __hst_map_handle.map.
31485 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31487         * configure.in (sysnames): Look for Implies-before and Implies-after
31488         files.
31489         * configure: Regenerated.
31491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31493         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31494         8-byte data alignment with LP_SIZE alignment.
31496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31498         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31499         into R10_LP.
31501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31503         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31508         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31509         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31510         Likewise.
31511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31515         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31516         (stackinfo_sub_sp): Likewise.
31518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31520         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31521         RAX_LP.
31523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31525         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31526         into R*_LP.
31528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31530         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31531         sizes into R*_LP.
31533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31535         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31539         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31540         into R11_LP and load __x86_64_shared_cache_size_half into
31541         R8_LP.
31543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31545         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31546         R8_LP.
31548 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31551         logb for POWER7.
31552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31553         logbf for POWER7.
31554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31555         logbl for POWER7.
31556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31557         powerpc32/power7/fpu/s_logb.c via #include.
31558         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31559         powerpc32/power7/fpu/s_logbf.c via #include.
31560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31561         powerpc32/power7/fpu/s_logbl.c via #include.
31563 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31565         * README.libm: Remove file.
31567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31569         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31570         count for x32.  Use R*_LP and omit operand-size suffix.
31572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31574         * shlib-versions: Move x86_64-.*-linux.* entries to ...
31575         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
31576         * sysdeps/x86_64/x32/shlib-versions: New file.
31578 2012-05-14  Roland McGrath  <roland@hack.frob.com>
31580         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31581         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31582         Use _dl_fatal_printf instead.
31584 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31586         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31587         set if not set by the user.  Do not allow for being unset.
31588         * sysdeps/unix/sysv/linux/configure: Regenerated.
31590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31592         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31593         the `q' suffix from lea and replace .quad with ASM_ADDR.
31595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31598         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31599         instead of $17.
31600         (PTR_DEMANGLE): Likewise.
31602 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31604         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31605         (LP_OP): Likewise.
31606         (ASM_ADDR): Likewise.
31607         (RAX_LP): Likewise.
31608         (RBP_LP): Likewise.
31609         (RBX_LP): Likewise.
31610         (RCX_LP): Likewise.
31611         (RDI_LP): Likewise.
31612         (RSI_LP): Likewise.
31613         (RSP_LP): Likewise.
31614         (R8_LP): Likewise.
31615         (R9_LP): Likewise.
31616         (R10_LP): Likewise.
31617         (R10_LP): Likewise.
31618         (R11_LP): Likewise.
31619         (R12_LP): Likewise.
31620         (R13_LP): Likewise.
31621         (R14_LP): Likewise.
31622         (R15_LP): Likewise.
31624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31626         * sysdeps/x86_64/x32/dl-machine.h: New file.
31628 2012-05-14  Andreas Jaeger  <aj@suse.de>
31630         * manual/Makefile (subdir): Remove export of subdir.
31631         (all): Remove target.
31632         (.PHONY): Remove all from list.
31633         (mkinstalldirs): Remove.
31634         (.PHONY): Remove installdirs from list.
31635         ($(inst_infodir)/libc.info): Use make-target-directory.
31636         (installdirs): Remove.
31637         (subdir_%): Remove.
31638         (glibc-targets): Remove.
31639         (lib): Remove.
31640         (stubs): Remove.
31641         ($(objpfx)stubs ../po/manual.pot): Remove.
31642         ($(objpfx)stamp%): Remove.
31643         (make-target-directory): Remove.
31644         (subdir_install): Remove.
31645         (routines): Remove.
31646         (aux): Remove.
31647         (sources): Remove.
31648         (objects): Remove.
31649         (headers): Remove.
31651         [BZ #13750]
31652         * manual/.gitignore: Remove, it's not needed anymore.
31653         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31654         all files in it.
31655         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31656         directory.
31657         (texis): Renamed to $(objpfx)texis.
31658         (texis-path): New, contains path to generated files.
31659         (chapters.%): Use texis-path for complete path, add extra argument
31660         libc-texinfo.sh.
31661         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31662         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31663         (summary,texi, stamp-summary): Use complete path of
31664         files. Generate files in build dir.
31665         (dir-add.texi): Build in build dir.
31666         (libm-err.texi,stamp-libm-err): Likewise.
31667         (version.texi, stamp-version): Likewise.
31668         (.%c.texi): Likewise.
31669         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31670         (mostlyclean): Remove target.
31671         (realclean): Remove target.
31672         (generated): Add new variable with contents from mostlyclean and
31673         realclean, remove entries duplicated in common-mostlyclean, add
31674         stamp-libm-err and stamp-version.
31675         (generated-dirs): Add libc directory.
31676         ($(inst_infodir)/libc.info): Install files from build dir.
31678         * manual/install.texi (Configuring and compiling): Adjust since
31679         the info files are not part of the tar ball anymore.
31681 2012-05-14  Andreas Jaeger  <aj@suse.de>
31683         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31684         variable.
31686 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31688         [BZ #13717]
31689         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31690         to 2.2.0 where earlier.
31691         * sysdeps/unix/sysv/linux/configure: Regenerated.
31692         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31693         Remove conditional code.
31694         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31695         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31696         Remove conditional code.
31697         [!__NR_lchown]: Likewise.
31698         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31699         [__NR_lchown]: Likewise.
31700         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31701         comment referencing __ASSUME_LCHOWN_SYSCALL.
31702         * sysdeps/unix/sysv/linux/i386/sigaction.c
31703         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31704         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31705         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31706         Remove conditional code.
31707         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31708         (__protocol_available): Remove #if 0 code.
31709         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31710         conditional code.
31711         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31712         * sysdeps/unix/sysv/linux/kernel-features.h
31713         (__ASSUME_GETCWD_SYSCALL): Don't define.
31714         (__ASSUME_REALTIME_SIGNALS): Likewise.
31715         (__ASSUME_PREAD_SYSCALL): Likewise.
31716         (__ASSUME_PWRITE_SYSCALL): Likewise.
31717         (__ASSUME_POLL_SYSCALL): Likewise.
31718         (__ASSUME_LCHOWN_SYSCALL): Likewise.
31719         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31720         non-SPARC.
31721         (__ASSUME_SIOCGIFNAME): Don't define.
31722         (__ASSUME_MSG_NOSIGNAL): Likewise.
31723         (__ASSUME_SENDFILE): Define unconditionally.
31724         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31725         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31726         conditional code.
31727         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31728         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31729         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31730         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31731         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31732         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31733         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31735         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31736         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31741         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31742         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31747         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31748         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31750         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31753         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31756         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31758         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31759         Remove conditional code.
31760         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31761         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31762         Remove conditional code.
31763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31764         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31765         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31766         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31767         Remove conditional code.
31768         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31769         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31770         Remove conditional code.
31771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31772         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31773         Remove conditional code.
31774         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31775         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31776         Remove conditional code.
31777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31778         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31779         Remove conditional code.
31780         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31781         * sysdeps/unix/sysv/linux/sh/pwrite64.c
31782         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31783         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31784         * sysdeps/unix/sysv/linux/sigaction.c
31785         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31786         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31787         * sysdeps/unix/sysv/linux/sigpending.c
31788         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31789         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31790         * sysdeps/unix/sysv/linux/sigprocmask.c
31791         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31792         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31793         * sysdeps/unix/sysv/linux/sigsuspend.c
31794         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31795         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31796         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31797         (__libc_missing_rt_sigs): Remove.
31798         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31799         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31800         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31801         Remove conditional code.
31802         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31803         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31804         return 1.
31805         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31806         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31807         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31808         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31810 2012-05-14  Andreas Jaeger  <aj@suse.de>
31812         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31813         it's not used in glibc.
31814         (__coshm1): Likewise.
31815         (__acosh1p): Likewise.
31816         (__sgn): Likewise.
31818         * manual/string.texi (Copying and Concatenation): Add missing
31819         variable in concat example.
31820         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31824         [BZ #14103]
31825         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31826         __builtin_clzl with __builtin_clzll.
31828 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31830         [BZ #14104]
31831         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31832         libc_freeres_ptr.
31834 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31836         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31837         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31838         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31839         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31841 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
31843         * NEWS: Update ia64 info.
31845 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
31847         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31848         used as bcopy.
31850 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
31852         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31853         * sysdeps/unix/syscalls.list (dup3): Likewise.
31854         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31855         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31857 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31859         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31860         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31862 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31864         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31865         thread pointer.
31866         (TLS_IE): Use mov/add instead of movq/addq to load thread
31867         pointer.
31868         (TLS_GD_PREFIX): New.
31869         (TLS_GD): Use it.
31871 2012-05-11  David S. Miller  <davem@davemloft.net>
31873         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31874         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31875         (_FPU_SETCW): Likewise.
31877 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31879         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31880         is 32-byte aligned.
31882 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
31884         [BZ #11837]
31885         * iconvdata/gb18030.c: Update tables.
31886         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
31887         characters specially.
31888         (BODY for TO_LOOP): Add encoding of missing ranges.
31890 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
31892         [BZ #13673]
31893         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31894         * sysdeps/mach/hurd/dup3.c: Likewise.
31895         * sysdeps/mach/hurd/readlinkat.c: Likewise.
31896         * sysdeps/powerpc/memmove.c:: Likewise.
31898 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31900         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31901         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31903 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31905         * elf/elf.h (R_X86_64_RELATIVE64): New.
31906         (R_X86_64_NUM): Updated.
31907         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31908         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
31909         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31910         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31911         tst-quad1pie tst-quad2pie
31912         (modules-names): Add tst-quadmod1 tst-quadmod2.
31913         ($(objpfx)tst-quad1): New dependency.
31914         ($(objpfx)tst-quad2): Likewise.
31915         ($(objpfx)tst-quad1pie): Likewise.
31916         ($(objpfx)tst-quad2pie): Likewise.
31917         * sysdeps/x86_64/tst-quad1.c: New file.
31918         * sysdeps/x86_64/tst-quad1pie.c: New file.
31919         * sysdeps/x86_64/tst-quad2.c: Likewise.
31920         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31921         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31922         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31923         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31924         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31926 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31928         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31929         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31930         * streams/stropts.h (t_scalar_t): Define type.
31932         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31933         (_PATH_PRESERVE): Set to "/var/lib".
31934         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31936         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31937         instead of int.
31939         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31940         if __dir_mkfile succeeded.
31942         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31943         checking for _hurd_dtablesize.  Unlock it right after having
31944         finished _hurd_dtable allocation.
31946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31948         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31949         * sysdeps/mach/hurd/configure: Regenerated.
31950         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31951         special-casing to...
31952         * sysdeps/gnu/configure.in: ... this new file.
31953         * sysdeps/unix/sysv/linux/configure: Regenerated.
31954         * sysdeps/gnu/configure: New generated file.
31956         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31957         for Linux: use nsec instead of usec, as well as:
31958         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31959         members of type struct timespec.
31960         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31961         New macros.
31962         (struct stat64): Likewise.
31963         (_STATBUF_ST_NSEC): New macro.
31964         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31966         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31967         __strtoul_internal rather than strtoul.
31969 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31971         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31972         and reject them.
31974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31976         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31977         which preserves existing values.
31978         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31980 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31982         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31983         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31984         greater than FD_SETSIZE.
31986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31988         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31989         allocated, call __vm_protect to finish enabling the existing space, and
31990         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31991         allocate the remainder.
31993 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31995         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31996         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32000         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32001         sysdeps/mach/hurd/readlink.c.
32003         * posix/tst-sysconf.c (posix_options): Only use
32004         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32005         _POSIX_SYNCHRONIZED_IO when they are defined
32006         * sysdeps/mach/hurd/bits/posix_opt.h:
32007         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32008         (_XOPEN_REALTIME): Undefine macro.
32009         (_XOPEN_REALTIME_THREADS): Undefine macro.
32010         (_XOPEN_SHM): Undefine macro.
32011         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32012         macro to -1.
32013         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32014         macro to -1.
32015         (_POSIX_ASYNC_IO): Undefine macro.
32016         (_POSIX_PRIORITIZED_IO): Undefine macro.
32017         (_POSIX_SPIN_LOCKS): Define macro to -1.
32019         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32020         SA_NODEFER, SA_RESETHAND.
32021         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32022         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32023         F_DUPFD_CLOEXEC.
32025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32027         * elf/Makefile (pldd-modules): Define unconditionally.
32029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32031         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32035         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32036         Return ENOENT when name is empty.
32037         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32041         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32043         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32047         Fix mlock in all cases except non-readable pages.
32048         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32049         instead of VM_PROT_ALL as parameter to __vm_wire function.
32051         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32052         (__mkdir): When path is `/', just fail with EEXIST.
32053         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32057         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32058         <sys/uio.h> (for writev).
32059         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32060         and <sys/param.h> (for MIN).
32062 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32064         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32065         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32066         if interrupted.
32068 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32070         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32071         Depend on against $(link-rpcuserlibs).
32073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32075         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32076         (__libc_stack_end): Do not use attribute_relro.
32077         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32078         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32079         to libthread-provided value.
32080         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32081         attribute_relro.
32083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32085         [BZ #3748]
32086         * bits/libc-lock.h (__libc_once_get): New macro.
32087         * sysdeps/mach/bits/libc-lock.h: Likewise.
32088         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32090         instead of using implementation details.
32092         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32093         * libio/freopen.c: Likewise.
32094         * libio/freopen64.c: Likewise.
32095         * misc/syslog.c: Likewise.
32096         * nscd/connections.c: Likewise.
32097         * nscd/netgroupcache.c: Likewise.
32098         * sysdeps/posix/getcwd.c: Likewise.
32100 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32102         * math/w_ilogbf.c: Add #include <limits.h>.
32104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32106         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32107         path instead of returning without unlocking.
32109         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32110         immediate-write ioctls.
32111         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32115         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32116         __builtin_frame_address instead of making assumptions about the
32117         location of the return address relative to DATA.  Force early load of
32118         the return address.
32119         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32120         __builtin_frame_address.
32122         dup3 for GNU Hurd.
32123         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32124         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32125         implement dup3 and do some further code clean-ups.
32126         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32127         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32131         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32133         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32134         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32135         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32136         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32137         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32138         d->port.lock.
32140         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32141         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32142         when handler == SIG_ERR, not when handler != SIG_ERR.
32144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32146         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32147         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32148         definitions.
32150         accept4 for GNU Hurd.
32151         * include/sys/socket.h (__libc_accept4): New prototype.
32152         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32153         to implement __libc_accept4.
32154         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32155         __libc_accept4.
32156         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32158         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32159         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32160         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32161         signal-defines.sym.
32163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32165         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32169         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32170         assertion on O_CLOEXEC flag.
32171         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32172         * hurd/intern-fd.c: Likewise.
32173         * hurd/port2fd.c: Likewise.
32175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32177         [BZ #3906]
32178         * bits/in.h (IPV6_PKTINFO): Define new macro.
32179         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32181 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32183         [BZ #13954]
32184         [BZ #13955]
32185         [BZ #13956]
32186         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32188         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32189         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32191         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32192         * math/libm-test.inc (logb_test) : Additional logb tests.
32194 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32195             Andreas Jaeger  <aj@suse.de>
32197         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32198         * configure: Regenerated.
32199         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32200         * config.make.in (link-obsolete-rpc): New substituted variable.
32201         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32202         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32203         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32204         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32205         so that libc.a contains the symbols.
32206         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32207         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32208         * sunrpc/auth_none.c: Likewise.
32209         * sunrpc/auth_unix.c: Likewise.
32210         * sunrpc/authdes_prot.c: Likewise.
32211         * sunrpc/authuxprot.c: Likewise.
32212         * sunrpc/clnt_gen.c: Likewise.
32213         * sunrpc/clnt_perr.c: Likewise.
32214         * sunrpc/clnt_raw.c: Likewise.
32215         * sunrpc/clnt_simp.c: Likewise.
32216         * sunrpc/clnt_tcp.c: Likewise.
32217         * sunrpc/clnt_udp.c: Likewise.
32218         * sunrpc/clnt_unix.c: Likewise.
32219         * sunrpc/des_crypt.c: Likewise.
32220         * sunrpc/des_soft.c: Likewise.
32221         * sunrpc/get_myaddr.c: Likewise.
32222         * sunrpc/key_call.c: Likewise.
32223         * sunrpc/key_prot.c: Likewise.
32224         * sunrpc/netname.c: Likewise.
32225         * sunrpc/pm_getmaps.c: Likewise.
32226         * sunrpc/pm_getport.c: Likewise.
32227         * sunrpc/pmap_clnt.c: Likewise.
32228         * sunrpc/pmap_prot.c: Likewise.
32229         * sunrpc/pmap_prot2.c: Likewise.
32230         * sunrpc/pmap_rmt.c: Likewise.
32231         * sunrpc/publickey.c: Likewise.
32232         * sunrpc/rpc_cmsg.c: Likewise.
32233         * sunrpc/rpc_common.c: Likewise.
32234         * sunrpc/rpc_dtable.c: Likewise.
32235         * sunrpc/rpc_prot.c: Likewise.
32236         * sunrpc/rpc_thread.c: Likewise.
32237         * sunrpc/rtime.c: Likewise.
32238         * sunrpc/svc.c: Likewise.
32239         * sunrpc/svc_auth.c: Likewise.
32240         * sunrpc/svc_raw.c: Likewise.
32241         * sunrpc/svc_run.c: Likewise.
32242         * sunrpc/svc_tcp.c: Likewise.
32243         * sunrpc/svc_udp.c: Likewise.
32244         * sunrpc/svc_unix.c: Likewise.
32245         * sunrpc/svcauth_des.c: Likewise.
32246         * sunrpc/xcrypt.c: Likewise.
32247         * sunrpc/xdr.c: Likewise.
32248         * sunrpc/xdr_array.c: Likewise.
32249         * sunrpc/xdr_float.c: Likewise.
32250         * sunrpc/xdr_intXX_t.c: Likewise.
32251         * sunrpc/xdr_mem.c: Likewise.
32252         * sunrpc/xdr_rec.c: Likewise.
32253         * sunrpc/xdr_ref.c: Likewise.
32254         * sunrpc/xdr_sizeof.c: Likewise.
32255         * sunrpc/xdr_stdio.c: Likewise.
32257 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32260         change.  Update copyright years.
32262 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32264         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32266 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32267             Joseph Myers  <joseph@codesourcery.com>
32268             Paul Pluzhnikov  <ppluzhnikov@google.com>
32270         [BZ #14012]
32271         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32272         requiring rpcgen.
32273         [cross-compiling] (extra-libs): Likewise.
32274         [cross-compiling] (extra-libs-others): Likewise.
32275         [cross-compiling] (librpcsvc-routines): Likewise.
32276         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32277         [cross-compiling] (omit-deps): Likewise.
32278         (sunrpc-CPPFLAGS): New variable.
32279         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32280         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32281         (cross-rpcgen-objs): New variable.
32282         (extra-objs): Append $(cross-rpcgen-objs).
32283         ($(cross-rpcgen-objs)): New rule.
32284         ($(objpfx)cross-rpcgen): Likewise.
32285         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32286         comment.
32287         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32288         ($(objpfx)x%.stmp): Likewise.
32289         * sunrpc/proto.h [IS_IN_build] (_): Define.
32290         [IS_IN_build] (_libc_intl_domainname): Likewise.
32292 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32294         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32295         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32296         and R_X86_64_TPOFF64.
32298 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32300         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32301         sysdeps/unix/sysv/syscalls.list.
32302         (stime): Likewise.
32303         (utime): Likewise.
32304         * sysdeps/unix/sysv/syscalls.list: Remove file.
32306 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32308         [BZ #3440]
32309         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32310         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32311         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32312         (__LC_IDENTIFICATION): Make these macros useful in #if
32313         expressions, as required by C99.
32315 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32317         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32318         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32319         after this.
32321 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32323         * stdlib/longlong.h: Updated from GCC.
32325 2012-05-09  Andreas Jaeger  <aj@suse.de>
32327         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32328         default is first entry.
32329         (run_mode): Set type.
32330         (main): Remove informal message about syslog.
32331         (options): Fix typo.
32333         [BZ #14053]
32334         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32335         to asm.
32336         (lrint): Likewise.
32337         (llrintf): Likewise.
32338         (llrint): Likewise.
32339         (rint): Likewise.
32340         (rintf): Likewise.
32341         (nearbyint): Likewise.
32342         (nearbyintf): Likewise.
32344 2012-05-09  Andreas Jaeger  <aj@suse.de>
32345             Pedro Alves  <palves@redhat.com>
32347         * nscd/nscd.c (run_mode): Use enum.
32348         (main): Cleanup coding style issue.
32350 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32351             Andreas Jaeger  <aj@suse.de>
32353         * nscd/nscd.c (go_background): Replaced with...
32354         (run_mode): ... this.
32355         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32356         (options): Add -F --foreground.
32357         (main): Implement it.
32358         (parse_opt): Parse it.
32360 2012-05-09  Andreas Jaeger  <aj@suse.de>
32362         [BZ #14083]
32363         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32364         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32365         -Wconversion warning.
32366         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32367         Likewise.
32369 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32371         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32372         == 0.
32373         (LC_ALL): Use macro-int-constant.
32374         (LC_COLLATE): Likewise.
32375         (LC_CTYPE): Likewise.
32376         (LC_MESSAGES): Likewise.
32377         (LC_MONETARY): Likewise.
32378         (LC_NUMERIC): Likewise.
32379         (LC_TIME): Likewise.
32380         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32381         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32382         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32383         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32384         Specify type.
32385         [C99-based standards] (float_t): Expect type.
32386         [C99-based standards] (double_t): Expect type.
32387         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32388         type.
32389         [C99-based standards] (HUGE_VALL): Likewise.
32390         [C99-based standards] (INFINITY): Likewise.
32391         [C99-based standards] (NAN): Likewise.
32392         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32393         [C99-based standards] (FP_NAN): Likewise.
32394         [C99-based standards] (FP_NORMAL): Likewise.
32395         [C99-based standards] (FP_SUBNORMAL): Likewise.
32396         [C99-based standards] (FP_ZERO): Likewise.
32397         [C99-based standards] (FP_FAST_FMA): Use
32398         optional-macro-int-constant.  Specify type.  Require == 1.
32399         [C99-based standards] (FP_FAST_FMAF): Likewise.
32400         [C99-based standards] (FP_FAST_FMAL): Likewise.
32401         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32402         [C99-based standards] (FP_ILOGBNAN): Likewise.
32403         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32404         Specify type.
32405         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32406         [C99-based standards] (math_errhandling): Specify type.
32407         [ISO99 || ISO11] (signgam): Do not allow.
32408         [non-C99-based standards] (copysignf): Do not allow.
32409         [non-C99-based standards] (exp2f): Likewise.
32410         [non-C99-based standards] (log2f): Likewise.
32411         [non-C99-based standards] (modff): Allow.
32412         [non-C99-based standards] (erff): Do not allow.
32413         [non-C99-based standards] (erfcf): Likewise.
32414         [non-C99-based standards] (gammaf): Likewise.
32415         [non-C99-based standards] (hypotf): Likewise.
32416         [non-C99-based standards] (j0f): Likewise.
32417         [non-C99-based standards] (j1f): Likewise.
32418         [non-C99-based standards] (jnf): Likewise.
32419         [non-C99-based standards] (lgammaf): Likewise.
32420         [non-C99-based standards] (tgammaf): Likewise.
32421         [non-C99-based standards] (y0f): Likewise.
32422         [non-C99-based standards] (y1f): Likewise.
32423         [non-C99-based standards] (ynf): Likewise.
32424         [non-C99-based standards] (isnanf): Likewise.
32425         [non-C99-based standards] (acoshf): Likewise.
32426         [non-C99-based standards] (asinhf): Likewise.
32427         [non-C99-based standards] (atanhf): Likewise.
32428         [non-C99-based standards] (cbrtf): Likewise.
32429         [non-C99-based standards] (expm1f): Likewise.
32430         [non-C99-based standards] (ilogbf): Likewise.
32431         [non-C99-based standards] (log1pf): Likewise.
32432         [non-C99-based standards] (logbf): Likewise.
32433         [non-C99-based standards] (nextafterf): Likewise.
32434         [non-C99-based standards] (remainderf): Likewise.
32435         [non-C99-based standards] (rintf): Likewise.
32436         [non-C99-based standards] (scalbf): Likewise.
32437         [non-C99-based standards] (copysignl): Likewise.
32438         [non-C99-based standards] (exp2l): Likewise.
32439         [non-C99-based standards] (log2l): Likewise.
32440         [non-C99-based standards] (modfl): Allow.
32441         [non-C99-based standards] (erfl): Do not allow.
32442         [non-C99-based standards] (erfcl): Likewise.
32443         [non-C99-based standards] (gammal): Likewise.
32444         [non-C99-based standards] (hypotl): Likewise.
32445         [non-C99-based standards] (j0l): Likewise.
32446         [non-C99-based standards] (j1l): Likewise.
32447         [non-C99-based standards] (jnl): Likewise.
32448         [non-C99-based standards] (lgammal): Likewise.
32449         [non-C99-based standards] (tgammal): Likewise.
32450         [non-C99-based standards] (y0l): Likewise.
32451         [non-C99-based standards] (y1l): Likewise.
32452         [non-C99-based standards] (ynl): Likewise.
32453         [non-C99-based standards] (isnanl): Likewise.
32454         [non-C99-based standards] (acoshl): Likewise.
32455         [non-C99-based standards] (asinhl): Likewise.
32456         [non-C99-based standards] (atanhl): Likewise.
32457         [non-C99-based standards] (cbrtl): Likewise.
32458         [non-C99-based standards] (expm1l): Likewise.
32459         [non-C99-based standards] (ilogbl): Likewise.
32460         [non-C99-based standards] (log1pl): Likewise.
32461         [non-C99-based standards] (logbl): Likewise.
32462         [non-C99-based standards] (nextafterl): Likewise.
32463         [non-C99-based standards] (remainderl): Likewise.
32464         [non-C99-based standards] (rintl): Likewise.
32465         [non-C99-based standards] (scalbl): Likewise.
32466         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32467         [non-C99-based standards] (FP_*): Do not allow.
32468         [C99-based standards] (FP_*): Change to
32469         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32470         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32471         allow.
32472         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32473         (SIG_ERR): Likewise.
32474         [X/Open-based standards] (SIG_HOLD): Likewise.
32475         (SIG_IGN): Likewise.
32476         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32477         positive value.
32478         (SIGFPE): Likewise.
32479         (SIGILL): Likewise.
32480         (SIGINT): Likewise.
32481         (SIGSEGV): Likewise.
32482         (SIGTER): Likewise.
32483         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32484         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32485         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32486         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32487         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32488         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32489         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32490         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32491         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32492         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32493         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32494         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32495         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32496         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32497         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32498         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32499         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32500         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32501         [X/Open-based standards] (SIGTRAP): Likewise.
32502         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32503         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32504         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32505         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32506         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32507         allow.
32509 2012-05-08  Ian Wienand  <ianw@vmware.com>
32511         [BZ #14080]
32512         * time/tzset.c (__tzset_parse_tz): Update default rules for
32513         daylight time changes in the Energy Policy Act of 2005.
32515 2012-05-09  Andreas Jaeger  <aj@suse.de>
32517         [BZ #13983]
32518         * elf/ldconfig.c (parse_conf): Change string to make clear that
32519         ldconfig only issued a warning if ld.so.conf does not exist.
32521 2012-05-08  David S. Miller  <davem@davemloft.net>
32523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32524         movxtod instead of popping the value on the stack.
32526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32528 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
32530         * config.h.in: Add HAVE_ARM_PCS_VFP.
32532 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
32534         [BZ #13979]
32535         * include/features.h: Warn if user requests __FORTIFY_SOURCE
32536         checking but the checks are disabled for any reason.
32538 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
32540         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32541         and ELF64_R_TYPE with ELFW(R_TYPE).
32543 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
32545         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32546         (ulimit): Likewise.
32548         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32549         (settimeofday): Likewise.
32551 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
32553         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
32554         a struct th_u2 inside the union, and move tu_block/tu_code into
32555         a new th_u3 union of tu_block/tu_code inside of that.  Move
32556         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
32557         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
32558         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32559         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32560         (th_stuff): Change to th_u1.tu_stuff.
32561         (th_data): Define.
32562         (th_msg): Change to th_u1.th_u2.tu_data.
32564 2012-05-07  David S. Miller  <davem@davemloft.net>
32566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32568         [BZ #14074]
32569         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32570         (SETUP_PIC_REG): Use it.
32571         (SETUP_PIC_REG_LEAF): Use it.
32573 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
32575         [BZ #13885]
32576         [BZ #13923]
32577         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32578         USE_AS_EXPM1L.
32579         (EXPL_FINITE): Likewise.
32580         (FLDLOG): Likewise.
32581         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32582         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32583         e_expl.S.
32584         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32585         USE_AS_EXPM1L.
32586         (EXPL_FINITE): Likewise.
32587         (FLDLOG): Likewise.
32588         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32589         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32590         e_expl.S.
32591         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32592         test of -max_value argument for long double.
32593         * sysdeps/i386/fpu/libm-test-ulps: Update.
32594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32596 2012-05-06  David S. Miller  <davem@davemloft.net>
32598         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32599         quad soft-float symbols whose references which are compiler
32600         generated.
32601         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32603 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32605         [BZ #13884]
32606         [BZ #13914]
32607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32608         USE_AS_EXP10L.
32609         (EXPL_FINITE): Likewise.
32610         (FLDLOG): Likewise.
32611         (c0): Likewise.
32612         (c1): Likewise.
32613         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32614         Adjust comments for base varying.
32615         (__expl_finite): Change alias to EXPL_FINITE.
32616         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32617         e_expl.S.
32618         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32619         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32620         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32621         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32622         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32623         USE_AS_EXP10L.
32624         (EXPL_FINITE): Likewise.
32625         (FLDLOG): Likewise.
32626         (c0): Likewise.
32627         (c1): Likewise.
32628         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32629         Adjust comments for base varying.
32630         (__expl_finite): Change alias to EXPL_FINITE.
32631         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32632         tests for bugs.
32633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32635         [BZ #14064]
32636         * math/libm-test.inc (check_float_internal): Correct ulp
32637         calculation for subnormal expected results.
32639 2012-05-06  Andreas Jaeger  <aj@suse.de>
32641         * Makeconfig (+math-flags): New, set to -frounding-math.
32642         (+cflags): Add +math-flags so that all of glibc gets compiled with
32643         it.
32645         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32647 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32649         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32650         Disable one test.
32652         [BZ #13787]
32653         [BZ #13922]
32654         [BZ #14036]
32655         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32656         (__ieee754_expl): Allow for and saturate large arguments.
32657         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32658         (u_threshold): Likewise.
32659         (__exp): Call __ieee754_exp before checking for overflow and
32660         underflow.
32661         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32662         (u_threshold): Likewise.
32663         (__expf): Call __ieee754_expf before checking for overflow and
32664         underflow.
32665         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32666         (u_threshold): Likewise.
32667         (__expl): Call __ieee754_expl before checking for overflow and
32668         underflow.
32669         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32670         (__ieee754_expl): Allow for and saturate large arguments.
32671         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32672         missing overflow exception on overflow.
32673         (expm1_test): Do not allow missing overflow exception on overflow.
32675         * sysdeps/i386/fpu/e_expl.c: Move to ...
32676         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32677         rather than using inline asm.
32678         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32679         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32680         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32682         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32683         (nice): Likewise.
32684         (poll): Likewise.
32685         (signal): Likewise.
32686         (time): Likewise.
32687         (times): Likewise.
32689 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32691         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32692         sysdeps/unix/common/syscalls.list.
32693         (fchmod): Likewise.
32694         (fchown): Likewise.
32695         (ftruncate): Likewise.
32696         (getrusage): Likewise.
32697         (gettimeofday): Likewise.
32698         (setpgid): Likewise.
32699         (setregid): Likewise.
32700         (setreuid): Likewise.
32701         (sigaction): Likewise.
32702         (truncate): Likewise.
32703         (vhangup): Likewise.
32704         * sysdeps/unix/common/syscalls.list: Remove file.
32705         * sysdeps/unix/bsd/Implies: Don't include unix/common.
32706         * sysdeps/unix/sysv/linux/Implies: Likewise.
32708 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
32710         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32712         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32713         Moved to ...
32714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32715         Here.
32716         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32717         to ...
32718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32719         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32720         to ...
32721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32722         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32723         to ...
32724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32725         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32726         to ...
32727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32728         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32729         to ...
32730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32731         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32732         to ...
32733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32734         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32735         to ...
32736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32737         Here.
32738         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32739         to ...
32740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32741         Here.
32742         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32743         to ...
32744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32745         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32746         Moved to ...
32747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32748         Here.
32749         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32750         to ...
32751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32753 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32755         * sysdeps/unix/common/bits/dirent.h: Remove file.
32756         * sysdeps/unix/common/bits/fcntl.h: Likewise.
32758         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32759         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32760         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32761         * sysdeps/unix/bsd/isatty.c: Likewise.
32762         * sysdeps/unix/bsd/tcdrain.c: Likewise.
32763         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32764         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32766 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32768         [BZ #13563]
32769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32770         long double comparison inaccuracies.
32771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32774 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
32776         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32777         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32779 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32781         [BZ #14049]
32782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32783         nonzero digits before rounding a hex value.
32784         * stdlib/tst-strtod.c (tests): Add another test.
32786 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32788         * sysdeps/s390/fpu/libm-test-ulps: Update.
32790 2012-05-03  Andreas Jaeger  <aj@suse.de>
32792         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32793         does not get optimized out.
32794         (malloc_opt_barrier): New.
32796 2012-05-03  Andreas Jaeger  <aj@suse.de>
32797             Roland McGrath  <roland@hack.frob.com>
32799         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32800         intermediate file deletion.
32801         (generated): Add .symlist files.
32803 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
32805         [BZ #13775]
32806         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32807         Redirect under this condition.
32808         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32809         [__USE_GNU] (__dprintf_chk): Not under this condition.
32810         [__USE_GNU] (__vdprintf_chk): Likewise.
32811         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32812         under this condition.
32813         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32814         [__USE_XOPEN2K8] (dprintf): Define under this condition.
32815         [__USE_XOPEN2K8] (vdprintf): Likewise.
32816         [__USE_GNU] (__dprintf_chk): Not under this condition.
32817         [__USE_GNU] (__vdprintf_chk): Likewise.
32818         [__USE_GNU] (dprintf): Likewise.
32819         [__USE_GNU] (vdprintf): Likewise.
32821 2012-05-03  Roland McGrath  <roland@hack.frob.com>
32823         * elf/Makefile (common-generated): Set this instead of generated for
32824         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
32825         $(all-built-dso)-derived lists.
32827 2012-05-03  Andreas Jaeger  <aj@suse.de>
32829         * sysdeps/i386/fpu/libm-test-ulps: Update.
32831         * FAQ: Removed.
32832         * FAQ.in: Likewise.
32833         * scripts/gen-FAQ.pl: Likewise.
32834         * manual/install.texi (Installation): Point to online location of
32835         FAQ.
32836         * Makefile (files-for-dist): Remove FAQ.
32837         (FAQ): Remove.
32839 2012-05-02  Allan McRae  <allan@archlinux.org>
32841         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32842         (LDFLAGS-reldepmod5.so): Likewise.
32843         (LDFLAGS-reldep6mod1.so): Likewise.
32844         (LDFLAGS-reldep6mod4.so): Likewise.
32845         (LDFLAGS-reldep8mod3.so): Likewise.
32846         (LDFLAGS-unload4mod1.so): Likewise.
32847         (LDFLAGS-unload4mod2.so): Likewise.
32848         (LDFLAGS-tst-initorder): Likewise.
32849         (LDFLAGS-tst-initordera2.so): Likewise.
32850         (LDFLAGS-tst-initordera3.so): Likewise.
32851         (LDFLAGS-tst-initordera4.so): Likewise.
32852         (LDFLAGS-tst-initorderb2.so): Likewise.
32853         (LDFLAGS-noload): Likewise.
32854         (LDFLAGS-next): Likewise.
32855         (LDFLAGS-order2mod1.so): Likewise.
32856         (LDFLAGS-order2mod2.so): Likewise.
32857         (LDFLAGS-tst-initorder2): Likewise.
32858         (LDFLAGS-tst-initorder2a.so): Likewise.
32859         (LDFLAGS-tst-initorder2b.so): Likewise.
32860         (LDFLAGS-tst-initorder2c.so): Likewise.
32861         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32863 2012-05-02  David S. Miller  <davem@davemloft.net>
32865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32867 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32869         [BZ #14055]
32870         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32872 2012-05-02  Andreas Jaeger  <aj@suse.de>
32874         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32875         since we manipulate rounding mode.
32876         (CPPFLAGS-test-idouble.c): Likewise.
32877         (CPPFLAGS-test-ifloat.c): Likewise.
32878         (CFLAGS-test-ldouble.c): Likewise.
32879         (CFLAGS-test-double.c): Likewise.
32880         (CFLAGS-test-float.c): Likewise.
32881         (CFLAGS-test-misc.c): Likewise.
32882         (CFLAGS-test-test-fenv.c): Likewise.
32884 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32886         [BZ #2550]
32887         [BZ #2570]
32888         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32889         comparisons to determine direction to adjust input.
32891 2012-05-01  Roland McGrath  <roland@hack.frob.com>
32893         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32894         output to the target.
32896         * scripts/localplt.awk: New file.
32897         * elf/Makefile ($(objpfx)check-localplt): Target removed.
32898         (check-localplt-CFLAGS): Variable removed.
32899         ($(all-built-dso:=.jmprel)): New static pattern rule.
32900         (generated): Add those targets.
32901         (localplt-built-dso): New variable.
32902         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32904         * elf/check-localplt.c: File removed.
32906         * scripts/check-execstack.awk: New file.
32907         * elf/Makefile ($(objpfx)check-execstack): Target removed.
32908         (check-execstack-CFLAGS): Variable removed.
32909         ($(objpfx)check-execstack.h): Target removed.
32910         ($(objpfx)execstack-default): New target.
32911         (generated): Add that instead of check-execstack.h.
32912         ($(all-built-dso:=.phdr)): New static pattern rule.
32913         (generated): Add those targets.
32914         * elf/check-execstack.c: File removed.
32916         * scripts/check-textrel.awk: New file.
32917         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32918         (check-textrel-CFLAGS): Variable removed.
32919         (all-built-dso): Use := to define.o
32920         ($(all-built-dso:=.dyn)): New static pattern rule.
32921         (generated): Add those targets.
32922         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32923         * config.make.in (READELF): New substituted variable.
32924         * elf/check-textrel.c: File removed.
32926 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32928         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32929         allow.
32930         * conform/data/ctype.h-data [C99-based standards] (isblank):
32931         Expect function.
32932         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32933         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32935         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32936         Specify type.  Require positive value.
32937         (EILSEQ): Likewise.
32938         (ERANGE): Likewise.
32939         [ISO || POSIX] (EILSEQ): Do not expect.
32940         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32941         Specify type.  Require positive value.
32942         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32943         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32944         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32945         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32946         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32947         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32948         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32949         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32950         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32951         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32952         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32953         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32954         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32955         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32956         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32957         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32958         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32959         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32960         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32961         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32962         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32963         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32964         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32965         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32966         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32967         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32968         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32969         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32970         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32971         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32972         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32973         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32974         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32975         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32976         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32977         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32978         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32979         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32980         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32981         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32982         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32983         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32984         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32985         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32986         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32987         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32988         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32989         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32990         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32991         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32992         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32993         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32994         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32995         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32996         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32997         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32998         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32999         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33000         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33001         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33002         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33003         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33004         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33005         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33006         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33007         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33008         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33009         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33010         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33011         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33012         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33013         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33014         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33015         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33016         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33017         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33018         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33019         Require >= 2.
33020         (FLT_ROUNDS): Expect as macro, not constant.
33021         (FLT_MANT_DIG): Use macro-int-constant.
33022         (DBL_MANT_DIG): Likewise.
33023         (LDBL_MANT_DIG): Likewise.
33024         (FLT_DIG): Likewise.
33025         (DBL_DIG): Likewise.
33026         (LDBL_DIG): Likewise.
33027         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33028         (DBL_MIN_EXP): Likewise.
33029         (LDBL_MIN_EXP): Likewise.
33030         (FLT_MAX_EXP): Use macro-int-constant.
33031         (DBL_MAX_EXP): Likewise.
33032         (LDBL_MAX_EXP): Likewise.
33033         (FLT_MAX_10_EXP): Likewise.
33034         (DBL_MAX_10_EXP): Likewise.
33035         (LDBL_MAX_10_EXP): Likewise.
33036         (FLT_MAX): Use macro-constant.
33037         (DBL_MAX): Likewise.
33038         (LDBL_MAX): Likewise.
33039         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33040         (DBL_EPSILON): Likewise.
33041         (LDBL_EPSILON): Likewise.
33042         (FLT_MIN): Likewise.
33043         (DBL_MIN): Likewise.
33044         (LDBL_MIN): Likewise.
33045         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33046         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33047         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33048         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33049         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33050         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33051         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33052         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33053         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33054         [ISO11] (FLT_TRUE_MIN): Likewise.
33055         [ISO11] (LDBL_TRUE_MIN): Likewise.
33056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33057         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33058         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33059         (SCHAR_MAX): Likewise.
33060         (UCHAR_MAX): Likewise.
33061         (CHAR_MIN): Likewise.
33062         (CHAR_MAX): Likewise.
33063         (MB_LEN_MAX): Use macro-int-constant.
33064         (SHRT_MIN): Use macro-int-constant.  Specify type.
33065         (SHRT_MAX): Likewise.
33066         (USHRT_MAX): Likewise.
33067         (INT_MAX): Likewise.
33068         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33069         bound negative.
33070         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33071         bound with "U".
33072         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33073         bound with "L".
33074         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33075         bound negative.  Suffix upper bound with "L".
33076         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33077         bound with "UL".
33078         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33079         Specify type.
33080         [C99-based standards] (LLONG_MAX): Likewise.
33081         [C99-based standards] (ULLONG_MAX): Likewise.
33082         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33083         == 0.
33084         [ISO11] (max_align_t): Require type.
33085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33087         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33088         from $CFLAGS, without defining away __attribute__ calls.
33089         (checknamespace): Use $CFLAGS_namespace.
33091         * conform/conformtest.pl (@keywords): Only include C99 keywords
33092         for standards based on C99 or C11.
33094         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33095         Disable tests.
33096         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33097         UNIX98]: Likewise.
33099         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33100         usability of symbols in #if.
33102         * conform/conformtest.pl: If macro or constant types start
33103         "promoted:", expect the symbol to be of the following type
33104         promoted by the integer promotions.
33106         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33107         in one place.  Also handle "macro-constant".
33109         * conform/conformtest.pl: Only accept expected macro values with
33110         "==".  Parse all "macro" lines in one place.
33111         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33113         * conform/conformtest.pl: Handle braced types on "constant" lines
33114         instead of handling "typed-constant".
33115         * conform/data/signal.h-data: Use "constant" instead of
33116         "typed-constant".
33118         * conform/conformtest.pl: Handle "optional-" at start of lines in
33119         one place rather than duplicating several cases.  Handle each
33120         format of "macro" line with initial "optional-".
33122         * conform/conformtest.pl: Only accept expected constant or
33123         optional-constant values with "==".  Parse all "constant" lines in
33124         one place.  Parse all "optional-constant" lines in one place.
33125         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33126         * conform/data/fmtmsg.h-data: Likewise.
33127         * conform/data/netinet/in.h-data: Likewise.
33128         * conform/data/tar.h-data: Likewise.
33129         * conform/data/limits.h-data: Use "==" form on "constant" and
33130         "optional-constant" lines.
33132         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33133         Use -std=c99 for XOPEN2K.
33134         (@knownproblems): Remove.
33135         (newtoken): Don't check %isknown.
33137         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33138         Do not expect macro.
33139         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33140         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33141         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33142         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33143         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33144         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33145         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33146         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33147         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33148         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33149         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33150         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33151         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33152         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33153         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33154         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33155         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33156         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33157         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33158         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33159         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33160         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33161         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33162         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33163         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33164         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33165         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33166         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33167         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33168         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33169         [XPG3] (acosh): Likewise.
33170         [XPG3] (asinh): Likewise.
33171         [XPG3] (atanh): Likewise.
33172         [XPG3] (cbrt): Likewise.
33173         [XPG3] (expm1): Likewise.
33174         [XPG3] (ilogb): Likewise.
33175         [XPG3] (log1p): Likewise.
33176         [XPG3] (logb): Likewise.
33177         [XPG3] (nextafter): Likewise.
33178         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33179         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33180         [XPG3] (remainder): Likewise.
33181         [XPG3] (rint): Likewise.
33182         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33183         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33184         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33185         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33186         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33187         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33188         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33189         [UNIX98 || XOPEN2K] (scalb): Expect.
33190         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33191         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33192         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33193         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33194         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33195         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33196         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33197         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33198         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33199         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33200         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33201         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33202         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33203         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33204         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33205         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33206         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33207         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33208         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33209         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33210         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33211         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33212         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33213         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33214         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33215         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33216         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33217         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33218         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33219         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33220         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33221         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33222         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33223         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33224         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33225         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33226         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33227         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33228         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33229         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33230         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33231         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33232         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33233         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33234         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33235         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33236         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33237         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33238         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33239         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33240         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33241         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33242         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33243         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33244         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33245         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33246         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33247         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33248         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33249         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33250         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33251         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33252         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33253         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33254         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33255         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33256         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33257         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33258         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33259         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33260         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33261         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33262         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33263         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33264         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33265         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33266         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33267         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33268         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33269         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33270         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33271         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33272         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33273         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33274         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33275         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33276         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33277         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33278         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33279         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33280         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33281         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33282         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33283         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33284         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33285         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33286         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33287         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33288         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33289         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33290         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33291         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33292         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33293         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33294         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33295         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33296         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33297         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33298         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33299         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33300         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33301         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33302         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33303         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33304         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33305         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33306         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33307         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33308         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33309         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33310         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33311         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33312         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33313         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33314         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33315         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33316         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33317         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33318         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33319         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33320         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33321         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33322         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33323         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33324         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33325         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33326         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33328         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33329         _XOPEN_SOURCE_EXTENDED for XPG4.
33331         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33333         * Makeconfig (localtime): Remove variable.
33334         (inst_localtime-file): Likewise.
33336 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33339         Update.
33340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33341         Update.
33342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33343         Update.
33344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33345         Update.
33346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33347         Update.
33348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33349         Update.
33350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33351         Update.
33352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33353         Update.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33355         Update.
33357 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33359         [BZ #2550]
33360         [BZ #2570]
33361         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33362         comparisons to determine direction to adjust input.
33363         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33364         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33365         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33366         Likewise.
33367         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33368         Likewise.
33369         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33370         Likewise.
33371         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33372         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33373         Likewise.
33374         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33375         Likewise.
33376         * math/libm-test.inc (nexttoward_test): Add more tests.
33378 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33380         [BZ #14040]
33381         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33382         in version GLIBC_2.1, not GLIBC_2.0.
33383         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33384         Likewise.
33386 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33388         [BZ #13942]
33389         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33390         (1 - x) * (1 + x).
33391         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33392         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33393         * math/libm-test.inc (acos_test): Add more tests.
33394         (asin_test): Likewise.
33395         * sysdeps/i386/fpu/libm-test-ulps: Update.
33396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33398         [BZ #14034]
33399         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33400         of square root.
33401         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33402         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33403         * math/libm-test.inc (acos_test_tonearest): New function.
33404         (acos_test_towardzero): Likewise.
33405         (acos_test_downward): Likewise.
33406         (acos_test_upward): Likewise.
33407         (asin_test_tonearest): Likewise.
33408         (asin_test_towardzero): Likewise.
33409         (asin_test_downward): Likewise.
33410         (asin_test_upward): Likewise.
33411         (main): Call the new functions.
33412         * sysdeps/i386/fpu/libm-test-ulps: Update.
33413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33415         [BZ #13884]
33416         [BZ #13924]
33417         * math/e_exp10.c: Include <float.h>.
33418         (__ieee754_exp10): Handle underflow here rather than multiplying
33419         large negative argument by M_LN10.
33420         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33421         of __ieee754_expf.
33422         * math/e_exp10l.c: Include <float.h>.
33423         (__ieee754_exp10l): Handle underflow here rather than multiplying
33424         large negative argument by M_LN10l.
33425         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33426         spurious overflow exception on underflow.
33428 2012-04-29  Marek Polacek  <polacek@redhat.com>
33430         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33431         (__fortify_function): New macro.
33432         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33433         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33434         __extern_always_inline.
33435         * libio/bits/stdio2.h: Likewise.
33436         * libio/bits/stdio.h: Likewise.
33437         * string/string.h: Likewise.
33438         * string/bits/string3.h: Likewise.
33439         * include/stdio.h: Likewise.
33440         * stdlib/bits/stdlib.h: Likewise.
33441         * stdlib/stdlib.h: Likewise.
33442         * rt/bits/mqueue2.h: Likewise.
33443         * rt/mqueue.h: Likewise.
33444         * posix/bits/unistd.h: Likewise.
33445         * posix/unistd.h: Likewise.
33446         * io/bits/poll2.h: Likewise.
33447         * io/bits/fcntl2.h: Likewise.
33448         * io/fcntl.h: Likewise.
33449         * io/sys/poll.h: Likewise.
33450         * misc/bits/syslog.h: Likewise.
33451         * misc/bits/syslog-ldbl.h: Likewise.
33452         * misc/sys/syslog.h: Likewise.
33453         * socket/bits/socket2.h: Likewise.
33454         * socket/sys/socket.h: Likewise.
33455         * debug/tst-chk1.c: Likewise.
33456         * wcsmbs/bits/wchar2.h: Likewise.
33457         * wcsmbs/bits/wchar-ldbl.h: Likewise.
33458         * wcsmbs/wchar.h: Likewise.
33460 2012-04-29  Andreas Jaeger  <aj@suse.de>
33462         * Makerules (tests): Remove enable-check-abi protection.
33463         (check-abi-warn): Remove.
33464         (check-abi-%): Remove check-abi-warn usage.
33466         * configure.in: Remove check-abi configure option.
33467         * configure: Regenerated.
33468         * config.make.in (enable-check-abi): Remove.
33470 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
33472         [BZ #14033]
33473         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33474         double functions to double *_finite functions.
33476         [BZ #13941]
33477         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33478         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33479         LDBL_MIN_EXP.
33480         * stdio-common/Makefile (tests): Add tst-sprintf3.
33481         * stdio-common/tst-sprintf3.c: New file.
33483         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33484         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33486 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33488         * conform/conformtest.pl: Remove duplicate typed-constant
33489         handling.
33491 2012-04-28  David S. Miller  <davem@davemloft.net>
33493         * Makerules (%.abilist): Add vpath on sysdep_dirs.
33494         (check-abi-%): Remove AWK script prerequisite and explicit
33495         abilist directory.
33496         (check-abi): Rewrite to just diff the symlist with the abilist.
33497         (config-tls, config-abi-config): Delete, no longer used.
33498         (update-abi-%): Remove AWK script and explicit abilist directory.
33499         (update-abi): Rewrite to simply compare and conditionally copy the
33500         symlist and the sysdep abilist file.  Remove update-abi-config
33501         checks.
33502         * abilist/ld.abilist: Remove.
33503         * abilist/libBrokenLocale.abilist: Remove.
33504         * abilist/libanl.abilist: Remove.
33505         * abilist/libcrypt.abilist: Remove.
33506         * abilist/libdl.abilist: Remove.
33507         * abilist/librt.abilist: Remove.
33508         * abilist/libthread_db.abilist: Remove.
33509         * abilist/libutil.abilist: Remove.
33510         * scripts/extract-abilist.awk: Remove.
33511         * scripts/merge-abilist.awk: Remove.
33512         * sysdeps/generic/libcidn.abilist: New file.
33513         * sysdeps/generic/libnss_compat.abilist: New file.
33514         * sysdeps/generic/libnss_db.abilist: New file.
33515         * sysdeps/generic/libnss_dns.abilist: New file.
33516         * sysdeps/generic/libnss_files.abilist: New file.
33517         * sysdeps/generic/libnss_hesiod.abilist: New file.
33518         * sysdeps/generic/libnss_nis.abilist: New file.
33519         * sysdeps/generic/libnss_nisplus.abilist: New file.
33520         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33521         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33522         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33523         file.
33524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33525         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33526         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33527         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33528         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33529         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33530         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33531         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33532         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33533         file.
33534         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33535         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33536         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33537         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33538         file.
33539         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33540         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33541         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33542         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33543         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33544         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33545         file.
33546         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33547         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33548         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33549         file.
33550         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33552         New file.
33553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33554         New file.
33555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33556         New file.
33557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33558         New file.
33559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33560         New file.
33561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33562         New file.
33563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33564         New file.
33565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33566         New file.
33567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33568         New file.
33569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33570         New file.
33571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33572         New file.
33573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33574         New file.
33575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33576         New file.
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33578         file.
33579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33580         New file.
33581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33582         New file.
33583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33584         file.
33585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33586         New file.
33587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33588         New file.
33589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33590         file.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33592         New file.
33593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33594         New file.
33595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33596         New file.
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33598         New file.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33600         New file.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33602         New file.
33603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33605         file.
33606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33607         New file.
33608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33609         file.
33610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33611         file.
33612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33613         file.
33614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33615         file.
33616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33617         file.
33618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33619         New file.
33620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33621         file.
33622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33623         file.
33624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33625         New file.
33626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33627         file.
33628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33630         file.
33631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33632         New file.
33633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33634         file.
33635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33636         file.
33637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33638         file.
33639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33640         file.
33641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33642         file.
33643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33644         New file.
33645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33646         file.
33647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33648         file.
33649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33650         New file.
33651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33652         file.
33653         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33654         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33655         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33656         file.
33657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33658         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33659         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33660         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33661         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33662         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33663         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33664         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33665         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33666         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33669         file.
33670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33671         New file.
33672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33673         file.
33674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33675         file.
33676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33677         file.
33678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33679         file.
33680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33681         file.
33682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33683         New file.
33684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33685         New file.
33686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33687         file.
33688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33689         New file.
33690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33691         file.
33692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33694         file.
33695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33696         New file.
33697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33698         file.
33699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33700         file.
33701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33702         file.
33703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33704         file.
33705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33706         file.
33707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33708         New file.
33709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33710         New file.
33711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33712         file.
33713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33714         New file.
33715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33716         file.
33718 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33720         * conform/conformtest.pl: Fix typo in handling typed-constant from
33721         allow-header.
33723 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33725         * README: Cut down references to pre-2.6 Linux kernels and
33726         Linuxthreads.  Update lists of configurations in libc and ports
33727         and sort alphabetically.  Say "or newer" with Linux kernel version
33728         requirements.
33730         * config.h.in [IS_IN_build]: Allow compiling without optimization.
33732 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33734         [BZ #887]
33735         * math/libm-test.inc (logb_test_downward): New test to expose
33736         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33737         rounding mode.
33739 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33741         [BZ #14027]
33742         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33743         to be done.
33744         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33745         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33747 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
33749         * sysdeps/unix/i386/brk.S: Remove file.
33750         * sysdeps/unix/i386/dl-brk.S: Likewise.
33751         * sysdeps/unix/i386/pipe.S: Likewise.
33752         * sysdeps/unix/i386/sigreturn.S: Likewise.
33753         * sysdeps/unix/i386/syscall.S: Likewise.
33754         * sysdeps/unix/i386/vfork.S: Likewise.
33755         * sysdeps/unix/i386/wait.S: Likewise.
33757         * sysdeps/unix/common/tcsendbrk.c: Move to ...
33758         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33760         * configure.in (arm*-none*): Do not allow without
33761         --enable-hacker-mode.
33762         (netbsd*): Remove case setting base_os.
33763         (386bsd*): Likewise.
33764         (freebsd*): Likewise.
33765         (bsdi*): Likewise.
33766         (osf*): Likewise.
33767         (sunos*): Likewise.
33768         (ultrix*): Likewise.
33769         (newsos*): Likewise.
33770         (dynix*): Likewise.
33771         (*bsd*): Likewise.
33772         (sysv*): Likewise.
33773         (isc*): Likewise.
33774         (esix*): Likewise.
33775         (sco*): Likewise.
33776         (minix*): Likewise.
33777         (irix4*): Likewise.
33778         (irix6*): Likewise.
33779         (solaris[2-9]*): Likewise.
33780         (none): Likewise.
33781         * configure: Regenerated.
33783 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33785         [BZ #11521]
33786         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33787         overflow or cancellation in calculating denominator.
33788         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33789         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33790         down expression to avoid unexpected rounding in newer GCCs.
33791         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33793 2012-04-26  David S. Miller  <davem@davemloft.net>
33795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33796         long-double compat symbols.
33797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33811 2012-04-25  David S. Miller  <davem@davemloft.net>
33813         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33814         HWCAP_* values only after the memory barriers have been defined.
33815         (atomic_full_barrier): Define.
33816         (atomic_read_barrier): Define.
33817         (atomic_write_barrier): Define.
33819 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33821         * shlib-versions: Add libgcc_s version information.
33822         * sysdeps/generic/libgcc_s.h: Remove.
33823         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33824         libgcc_s.h.
33825         * sysdeps/gnu/unwind-resume.c: Likewise.
33826         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33828 2012-04-25  David S. Miller  <davem@davemloft.net>
33830         * sysdeps/unix/sparc/brk.S: Delete.
33831         * sysdeps/unix/sparc/dl-brk.S: Delete.
33832         * sysdeps/unix/sparc/pipe.S: Delete.
33833         * sysdeps/unix/sparc/sysdep.S: Delete.
33834         * sysdeps/unix/sparc/sysdep.h: Delete.
33835         * sysdeps/unix/sparc/vfork.S: Delete.
33836         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33837         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33838         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33839         (ret_ERRVAL, r0, r1, MOVE): Define.
33840         (JUMPTARGET): Remove.
33841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33842         sysdeps/unix/sparc/sysdep.h
33843         (ENTRY, END): Remove.
33844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33846 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
33848         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33849         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33850         -DIS_IN_build.
33852         * timezone/README: Update upstream location and email address for
33853         tzcode and tzdata.
33854         * timezone/zdump.c: Update from tzcode 2012b.
33855         * timezone/zic.c: Likewise.
33857         * configure.in (libc_cv_as_needed): Remove test.
33858         * configure: Regenerated.
33859         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33860         conditional definition.
33861         [$(have-as-needed) != yes] (no-as-needed): Likewise.
33862         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33863         * config.make.in (have-as-needed): Remove variable.
33865 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33866             Paul Pluzhnikov  <ppluzhnikov@google.com>
33868         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33869         strings correctly.
33871 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
33873         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33874         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33875         * sysdeps/sh/strlen.S: Likewise.
33877 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33879         * sysdeps/unix/fork.S: Remove file.
33880         * sysdeps/unix/i386/fork.S: Likewise.
33881         * sysdeps/unix/sparc/fork.S: Likewise.
33883         * sysdeps/unix/system.c: Remove file.
33884         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33886         * sysdeps/unix/getegid.S: Remove file.
33887         * sysdeps/unix/geteuid.S: Likewise.
33889 2012-04-24  Roland McGrath  <roland@hack.frob.com>
33891         * scripts/check-localplt.awk: New file.
33892         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33893         of diff.
33894         * scripts/data/localplt-generic.data: Add a comment.
33896         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33897         NODE when __dir_mkfile failed.
33898         * sysdeps/mach/hurd/symlinkat.c: Likewise.
33899         Reported by Ludovic Courtès <ludo@gnu.org>.
33901 2012-04-24  Andreas Jaeger  <aj@suse.de>
33903         * Makerules (common-clean): Also remove gen-as-const-headers
33904         files.
33906 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33908         * Makerules (native-compile): Do not change working directory for
33909         build.  Use $(OUTPUT_OPTION) in command.
33910         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33912 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33914         [BZ #13886]
33915         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33916         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33917         * math/libm-test.inc (floor_test): Add more tests.
33918         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33920 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33922         * sysdeps/unix/getdents.c: Remove file.
33923         * sysdeps/unix/sysv/getdents.c: Likewise.
33924         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33926         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33927         sysdeps/unix/mman/syscalls.list.
33928         (mmap): Likewise.
33929         (mprotect): Likewise.
33930         (msync): Likewise.
33931         (munmap): Likewise.
33932         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33933         * sysdeps/unix/mman/syscalls.list: Remove.
33934         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33936         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33937         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33938         * configure: Regenerated.
33939         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33940         $(libgcc_s_suffix).
33941         * config.make.in (libgcc_s_suffix): Remove variable.
33943 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33945         * sysdeps/unix/sysv/gethostname.c: Move to ...
33946         * sysdeps/posix/gethostname.c: ... here.
33948         * sysdeps/unix/execve.S: Remove file.
33950         * sysdeps/unix/_exit.S: Remove file.
33952 2012-04-23  Andreas Jaeger  <aj@suse.de>
33954         [BZ #13739]
33955         * manual/Makefile: Remove make dist support, there's no
33956         need for a stand-alone documentation tar ball.
33957         (TEXI2DVI): Define always, it's not in Makeconfig.
33958         (dist): Removed.
33959         (tar-it): Removed.
33960         (edition): Removed.
33961         (glibc-doc-$(edition).tar): Removed
33962         (%.Z): Removed.
33963         (%.gz): Removed.
33964         (%.uu): Removed.
33965         (ETAGS): Remove, it's in Makeconfig.
33966         (move-if-change): Remove, it's in Makeconfig.
33968 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33970         [BZ #13970]
33971         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33972         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33973         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33974         (strtod_l, strtof_l, strtold_l): Remove __wur.
33975         It is not necessarily an error to ignore strtol's return value.
33976         One can reliably look at the stored endptr to decide whether
33977         the number had valid syntax.
33979 2012-04-21  Andreas Jaeger  <aj@suse.de>
33981         [BZ #13739]
33982         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33984 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33986         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33987         * sysdeps/unix/sysv/Versions: Remove file.
33989 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33991         [BZ #13927]
33992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33994 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33996         [BZ #7064]
33997         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33998         version from __vm86.
34000 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34002         * sysdeps/unix/common/lxstat.c: Remove file.
34003         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34005         * sysdeps/unix/sysv/Makefile: Remove file.
34007         * sysdeps/unix/sysv/direct.h: Remove file.
34009         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34010         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34011         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34012         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34013         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34014         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34015         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34017         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34019         * sysdeps/unix/xmknod.c: Remove file.
34020         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34022         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34024         * sysdeps/unix/sysv/i386/time.S: Remove file.
34026         * sysdeps/unix/fxstat.c: Remove file.
34027         * sysdeps/unix/xstat.c: Likewise.
34028         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34030         * sysdeps/unix/sysv/sigaction.c: Remove file.
34032         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34033         (sysdep_headers): Remove variable.
34034         [termio.h not in sysdep_headers] (generated): Likewise.
34035         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34036         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34037         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34038         * sysdeps/unix/sysv/tcflow.c: Likewise.
34039         * sysdeps/unix/sysv/tcflush.c: Likewise.
34040         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34041         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34042         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34043         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34044         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34046         * sysdeps/unix/siglist.c: Remove file.
34048         * sysdeps/unix/getppid.S: Remove file.
34050         * sysdeps/unix/mkdir.c: Remove file.
34051         * sysdeps/unix/rmdir.c: Likewise.
34053 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34055         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34056         ERR_MAX value.
34057         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34058         errlist-compat value.
34060 2012-04-18  David S. Miller  <davem@davemloft.net>
34062         * sysdeps/generic/memcopy.h (reg_char): Delete.
34063         * debug/strcat_chk.c: Use char, not reg_char.
34064         * debug/strcpy_chk.c: Likewise.
34065         * debug/strncat_chk.c: Likewise.
34066         * debug/strncpy_chk.c: Likewise.
34067         * string/memchr.c: Likewise.
34068         * string/memrchr.c: Likewise.
34069         * string/rawmemchr.c: Likewise.
34070         * string/strcat.c: Likewise.
34071         * string/strchr.c: Likewise.
34072         * string/strchrnul.c: Likewise.
34073         * string/strcmp.c: Likewise.
34074         * string/strcpy.c: Likewise.
34075         * string/strncat.c: Likewise.
34076         * string/strncmp.c: Likewise.
34077         * string/strncpy.c: Likewise.
34079 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34081         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34082         __builtin_memcopy is called when src and dest ranges are known to not
34083         overlap.
34085 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34087         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34088         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34089         fwd_align_merge macro call.
34090         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34091         bwd_align_merge macro call.
34092         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34094 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34096         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34097         bwd_align_merge macros.
34098         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34099         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34100         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34102 2012-04-18  David S. Miller  <davem@davemloft.net>
34104         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34106 2012-04-18  Andreas Jaeger  <aj@suse.de>
34108         [BZ# 6794]
34109         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34110         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34111         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34113         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34114         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34115         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34117         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34118         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34119         Adjust for changed ldbl-128 files.
34121         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34122         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34123         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34125 2012-04-17  David S. Miller  <davem@davemloft.net>
34127         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34129 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34131         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34132         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34133         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34134         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34135         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34136         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34138 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34140         [BZ #6794]
34141         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34142         * math/libm-test.inc: Add ilogb errno and exception tests.
34143         * math/w_ilogb.c: New file: ilogb wrapper.
34144         * math/w_ilogbf.c: New file: ilogbf wrapper.
34145         * math/w_ilogbl.c: New file: ilogbl wrapper.
34146         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34147         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34148         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34149         exception being thrown with 0.0 as argument.
34150         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34151         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34152         exception being thrown with 0.0 as argument.
34153         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34154         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34155         exception being thrown with 0.0 as argument.
34156         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34157         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34158         exception being thrown with 0.0 as argument.
34159         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34160         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34161         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34162         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34163         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34164         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34165         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34166         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34167         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34169 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34171         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34172         with altivec.
34174 2012-04-16  Marek Polacek  <polacek@redhat.com>
34176         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34178 2012-04-16  Marek Polacek  <polacek@redhat.com>
34180         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34181         operands of fdivp instruction.
34183 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34185         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34186         * elf/tst-auditmod3b.c: Likewise.
34187         * elf/tst-auditmod4b.c: Likewise.
34188         * elf/tst-auditmod5b.c: Likewise.
34189         * elf/tst-auditmod6b.c: Likewise.
34190         * elf/tst-auditmod6c.c: Likewise.
34191         * elf/tst-auditmod7b.c: Likewise.
34192         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34193         * sysdeps/x86_64/preconfigure.in: Likewise.
34194         * sysdeps/x86_64/preconfigure: Regenerated.
34196 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34198         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34199         __ILP32__.
34201 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34204         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34206 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34208         [BZ #13973]
34209         * locale/iso-639.def: Fix gl language name. Spotted by
34210         Yaron Shahrabani.
34212 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34214         [BZ #2074]
34215         * libio/libio.h (__io_write_fn): Update comment.
34217 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34219         [BZ #2074]
34220         * stdio.texi (Hook Functions): The user provided writer function
34221         is not allowed to return -1.
34223 2012-04-11  David S. Miller  <davem@davemloft.net>
34225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34227 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34229         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34230         Add a leading slash to rtkaio.
34232 2012-04-11  Jim Meyering  <meyering@redhat.com>
34234         [BZ #11959]
34235         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34236         It is not necessarily an error to ignore fwrite's return
34237         value.  One can reliably use ferror to test for errors after
34238         the fact.
34240 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34242         * bits/types.h (__snseconds_t): New type.
34243         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34245         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34247         (__SNSECONDS_T_TYPE): Likewise.
34248         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34249         (__SNSECONDS_T_TYPE): Likewise.
34250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34251         (__SNSECONDS_T_TYPE): Likewise.
34253 2012-04-10  Andreas Jaeger  <aj@suse.de>
34255         [BZ #2636]
34256         * manual/time.texi (Processor Time): Return type of times is
34257         elapsed real time since an arbitrary point in the past.
34258         (CPU Time): Move CLK_TCK from here...
34259         (Processor Time): ...to here.  Correct description.
34260         * manual/conf.texi (Constants for Sysconf): Correct description of
34261         _SC_CLK_TCK.
34263 2012-04-10  David S. Miller  <davem@davemloft.net>
34265         [BZ #13967]
34266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34267         where the is a gap between DT_REL(A) and DT_JMPREL.
34269 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34271         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34272         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34273         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34275 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34277         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34278         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34279         (dl_main): Handle --inhibit-cache.
34280         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34281         _dl_inhibit_cache.
34282         * elf/dl-load.c (_dl_map_object): Use it.
34283         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34285 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34287         [BZ #13872]
34288         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34289         (__ieee754_powl): Saturate large exponents rather than testing for
34290         overflow of y*log2(x).
34291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34292         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34293         exceptions.
34295         [BZ #11521]
34296         * math/s_ctan.c: Include <float.h>.
34297         (__ctan): Avoid internal overflow or cancellation in calculating
34298         denominator.
34299         * math/s_ctanf.c: Likewise.
34300         * math/s_ctanl.c: Likewise.
34301         * math/s_ctanh.c: Likewise.
34302         * math/s_ctanhf.c: Likewise.
34303         * math/s_ctanhl.c: Likewise.
34304         * math/libm-test.inc (ctan_test): Add more tests.
34305         (ctanh_test): Likewise.
34306         * sysdeps/i386/fpu/libm-test-ulps: Update.
34307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34309 2012-04-09  Andreas Jaeger  <aj@suse.de>
34311         [BZ #6894]
34312         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34313         is an optional BSD extension.
34315         [BZ #10254]
34316         * manual/stdio.texi (Opening Streams): Document additional fopen
34317         parameters.
34319 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34321         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34322         %eax without telling the compiler.
34324 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34326         [BZ # 13963]
34327         * manual/install.texi: Use sourceware.org.
34329 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34331         [BZ #13873]
34332         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34333         (__ieee754_pow): Generate overflow and underflow using huge*huge
34334         and tiny*tiny rather than just returning constant infinity or zero
34335         for large exponents.
34336         * math/libm-test.inc (pow_test): Require overflow exceptions for
34337         applicable cases of large exponents.
34339         [BZ #706]
34340         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34341         (__ieee754_pow): Use iterative multiplication algorithm only for
34342         integer exponents with absolute value below 1024.  Check for odd
34343         integer exponents when using algorithm for real exponents.
34344         * math/libm-test.inc (pow_test): Add more tests.
34345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34347 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34349         [BZ #13705]
34350         * math/libm-test.inc (exp_test): Do not allow overflow exception
34351         on underflow test.
34353 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34355         [BZ #13705]
34356         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34357         instead of __kernel_standard_f.
34359 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34361         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34362         * sysdeps/x86_64/memset_chk.S: Likewise.
34364 2012-04-08  Andreas Jaeger  <aj@suse.de>
34366         [BZ #10153]
34367         * manual/startup.texi (Environment Access): Describe return value
34368         for putenv and setenv.
34370         [BZ #6895]
34371         * manual/filesys.texi (Directory Entries): Add description for
34372         DT_LNK.
34374         [BZ #6890]
34375         * manual/filesys.texi (Directory Entries): Clarify that it's file
34376         system not operating system in the description of DT_UNKNOWN.
34378         [BZ #6578]
34379         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34381 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34383         [BZ #6649]
34384         * manual/llio.texi (Opening and Closing Files): Add cross
34385         reference to explain mode argument.
34387 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34389         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34390         * sysdeps/x86_64/memset_chk.S: Likewise.
34392 2012-04-07  David S. Miller  <davem@davemloft.net>
34394         * elf/elf.h (R_SPARC_WDISP10): Define.
34395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34396         R_SPARC_SIZE32.
34397         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34398         R_SPARC_SIZE64 and R_SPARC_H34.
34400 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34402         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34403         conditions and remove no longer applicable assertion.
34405 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34407         * bits/byteswap.h: Include <features.h>.
34408         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34409         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34411 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34413         * bits/byteswap.h (__bswap_16): Removed.
34414         Include <bits/byteswap-16.h> to get __bswap_16.
34415         * sysdeps/i386/bits/byteswap.h: Likewise.
34416         * sysdeps/s390/bits/byteswap.h: Likewise.
34417         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34418         * bits/byteswap-16.h: New file.
34419         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34420         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34421         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34422         * string/Makefile (headers): Add bits/byteswap-16.h.
34424 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34426         [BZ #13895]
34427         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34428         extra indirection.
34429         * nss/Makefile (tests-static, tests): Add tst-nss-static.
34430         * nss/tst-nss-static.c: New.
34432 2012-04-06  Robert Millan  <rmh@gnu.org>
34434         [BZ #6486]
34435         * manual/llio.texi (File Position Primitive): lseek
34436         refers to WHENCE when it really means OFFSET.
34438 2012-04-06  Andreas Jaeger  <aj@suse.de>
34440         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34441         strncmp declarations.
34443         * abilist/libc.abilist: Add __poll and __ppoll.
34445 2012-04-05  David S. Miller  <davem@davemloft.net>
34447         * scripts/check-local-headers.sh: Accept a host triplet in the
34448         path matched by the exclude regexp.
34450         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34451         definition.
34452         * sysdeps/powerpc/powerpc32/dl-machine.h
34453         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34454         * sysdeps/s390/s390-32/dl-machine.h
34455         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34456         * sysdeps/sparc/sparc32/dl-machine.h
34457         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34458         * sysdeps/sparc/sparc64/dl-machine.h
34459         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34461         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34462         lazy binding.
34463         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34464         undefined symbol errors.
34466         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34467         DT_NEEDED entries.
34469 2012-04-05  Michael Matz  <matz@suse.de>
34471         [BZ #13592]
34472         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34474 2012-04-05  Andreas Jaeger  <aj@suse.de>
34476         [BZ #13908]
34477         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34478         comment.
34480 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34482         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34483         which ROUND is no valid rounding mode.
34485 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34487         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34488         read again.
34489         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34491 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34493         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34494         an exception using FPU order intentionally.
34496 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34498         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34499         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34500         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34501         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34503 2012-04-05  Simon Josefsson  <simon@josefsson.org>
34505         [BZ #12340]
34506         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34507         EINVAL when BUFLEN is too smal.
34509 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34511         [BZ #13553]
34512         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34513         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34515 2012-04-03  Andreas Jaeger  <aj@suse.de>
34517         [BZ #13938]
34518         * manual/setjmp.texi (System V contexts): Fix sentence.
34520         [BZ #13926]
34521         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34522         New macro for this case.
34523         [!__GNUC__] (__bswap_64): New inline function for this case.
34524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34525         * bits/byteswap.h: Likewise.
34526         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34527         ull, guard with __GLIBC_HAVE_LONG_LONG.
34529         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34530         __GLIBC_HAVE_LONG_LONG.
34532         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34533         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34535 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34537         [BZ #13691]
34538         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34539         inptr and inend, rather than using last_ch.
34541 2012-04-02  David S. Miller  <davem@davemloft.net>
34543         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34544         * stdio-common/printf-parse.h (read_int): Change return type to
34545         'int', return -1 on INT_MAX overflow.
34546         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34547         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
34548         overflows INT_MAX.  Check for overflow of in-format-string precision
34549         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
34550         SIZE_MAX not INT_MAX for integer overflow test.
34551         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34552         skip the construct in the format string but do not record anything.
34553         * stdio-common/bug22.c: Adjust to test both width/prevision
34554         INT_MAX overflow as well as total length INT_MAX overflow.  Check
34555         explicitly for proper errno values.
34557 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34559         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34560         CHAR_MAX.
34561         * string/test-strcmp.c [! WIDE]: Likewise.
34562         * time/tst-mktime2.c: Likewise for INT_MAX.
34563         * string/test-string.h: #include <sys/param.h> for MIN.
34565         * csu/init-first.c (__libc_init_first): Call __ctype_init.
34566         * sysdeps/i386/init-first.c (init): Likewise.
34567         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34568         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34569         * sysdeps/sh/init-first.c (init): Likewise.
34571 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
34573         * po/ru.po: Update from translation team.
34574         * po/vi.po: Likewise.
34576 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34578         * resolv/nss_dns/dns-host.c: Merge copyright years.
34580 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34582         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34583         Optimize memcpy with prefetch if
34584         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34585         src, dst pointers have unequal 16 byte alignments.
34587 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34589         [BZ #13928]
34590         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34591         from a CNAME entry and return the minimum ttl for the query.
34592         (gaih_getanswer_slice): Likewise.
34594 2012-03-30  Jeff Law  <law@redhat.com>
34596         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34597         due to long keys.
34598         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34599         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34601         * resolv/nss_dns/dns-host.c: Update copyright year.
34603 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34605         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34606         requests to save a system call.  Fix check that all bytes are sent.
34608         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34609         comments for sendmmsg.
34611 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34613         [BZ #13691]
34614         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34615         with only 1 character between 0x0041 and 0x01b0.
34616         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34617         * wcsmbs/tst-mbsnrtowcs.c: New file.
34619 2012-03-29  David S. Miller  <davem@davemloft.net>
34621         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34622         small copies by hand.
34624 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34626         [BZ #13761]
34627         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34628         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34629         group memberships.
34631 2012-03-28  David S. Miller  <davem@davemloft.net>
34633         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34634         that branches into memcpy.
34635         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34638         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34640         bits.
34641         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34642         implementation too.
34643         * sysdeps/sparc/mempcpy.S: New file.
34645         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34646         the IFUNC routine in the libc case.
34647         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34649         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34650         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34651         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34652         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34653         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34654         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34655         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34656         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34658         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34659         loop to 256 bytes instead of 64 bytes and fix test signedness.
34661         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34662         * sysdeps/sparc/sparc32/Makefile: rather than here...
34663         * sysdeps/sparc/sparc64/Makefile: and here.
34665 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34667         * malloc/mallocbug.c: Avoid warnings about unused variables.
34669 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34671         [BZ #13760]
34672         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34673         in the right place. Discard and retry query if response is
34674         larger than input buffer size.
34676 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #369]
34679         [BZ #2678]
34680         [BZ #3866]
34681         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34682         x for large integer exponent.
34683         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34684         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34685         sign of result as needed afterwards.
34686         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34687         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34688         result for underflowing pow the same as for overflow.
34689         (__kernel_standard_l): Handle powl overflow and underflow here
34690         rather than calling __kernel_standard.
34691         * math/libm-test.inc (pow_test): Add more tests.
34693         [BZ #3868]
34694         [BZ #13879]
34695         [BZ #13910]
34696         [BZ #13911]
34697         [BZ #13912]
34698         [BZ #13913]
34699         [BZ #13915]
34700         [BZ #13916]
34701         [BZ #13917]
34702         [BZ #13918]
34703         [BZ #13919]
34704         [BZ #13920]
34705         [BZ #13921]
34706         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34707         * sysdeps/ieee754/k_standard.c: Include <float.h>.
34708         (__kernel_standard_l): New function.
34709         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34710         __kernel_standard.
34711         * math/w_acosl.c (__acosl): Likewise.
34712         * math/w_asinl.c (__asinl): Likewise.
34713         * math/w_atan2l.c (__atan2l): Likewise.
34714         * math/w_atanhl.c (__atanhl): Likewise.
34715         * math/w_coshl.c (__coshl): Likewise.
34716         * math/w_exp10l.c (__exp10l): Likewise.
34717         * math/w_exp2l.c (__exp2l): Likewise.
34718         * math/w_fmodl.c (__fmodl): Likewise.
34719         * math/w_hypotl.c (__hypotl): Likewise.
34720         * math/w_j0l.c (__j0l, __y0l): Likewise.
34721         * math/w_j1l.c (__j1l, __y1l): Likewise.
34722         * math/w_jnl.c (__jnl, __ynl): Likewise.
34723         * math/w_lgammal.c (__lgammal): Likewise.
34724         * math/w_log10l.c (__log10l): Likewise.
34725         * math/w_log2l.c (__log2l): Likewise.
34726         * math/w_logl.c (__logl): Likewise.
34727         * math/w_powl.c (__powl): Likewise.
34728         * math/w_remainderl.c (__remainderl): Likewise.
34729         * math/w_scalbl.c (sysv_scalbl): Likewise.
34730         * math/w_sinhl.c (__sinhl): Likewise.
34731         * math/w_sqrtl.c (__sqrtl): Likewise.
34732         * math/w_tgammal.c (__tgammal): Likewise.
34733         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34734         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34735         * math/libm-test.inc (acos_test): Add more tests.
34736         (acosh_test): Likewise.
34737         (asin_test): Likewise.
34738         (atanh_test): Likewise.
34739         (exp_test): Likewise.
34740         (exp10_test): Likewise.
34741         (exp2_test): Likewise.
34742         (expm1_test): Likewise.
34743         (lgamma_test): Likewise.
34744         (log_test): Likewise.
34745         (log10_test): Likewise.
34746         (log1p_test): Likewise.
34747         (log2_test): Likewise.
34748         (pow_test): Do not allow some spurious overflow exceptions.
34749         (sqrt_test): Add more tests.
34750         (tgamma_test): Likewise.
34751         (y0_test): Likewise.
34752         (y1_test): Likewise.
34753         (yn_test): Likewise.
34755 2012-03-27  Anton Blanchard  <anton@samba.org>
34757         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34758         MAP_HUGETLB.
34759         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34760         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34761         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34763 2012-03-27  David S. Miller  <davem@davemloft.net>
34765         * conform/Makefile: Run run-conformtest.sh using $(BASH).
34767         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34768         have-as-vis3 check.
34770 2012-03-27  Andreas Jaeger  <aj@suse.de>
34772         * sysdeps/x86_64/elf/configure.in: Moved to ...
34773         * sysdeps/x86_64/configure.in: ... here.
34774         * sysdeps/x86_64/elf/start.S: Moved to ...
34775         * sysdeps/x86_64/start.S: ... here.
34776         * sysdeps/x86_64/elf/configure: Delete.
34778         * sysdeps/x86_64/configure.in: Merge contents from
34779         sysdeps/i386/configure.in (without i686 check).
34781         * sysdeps/i386/elf/Versions: Merge into ...
34782         * sysdeps/i386/Versions: ... this.
34783         * sysdeps/i386/elf/Versions: Delete file.
34784         * sysdeps/i386/elf/start.S: Moved to ...
34785         * sysdeps/i386/start.S: ...here.
34786         * sysdeps/i386/elf/configure.in: Merge into...
34787         * sysdeps/i386/configure.in: ...here.
34788         * sysdeps/i386/elf/configure.in: Delete file.
34789         * sysdeps/i386/elf/configure: Delete file.
34791         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34792         * debug/backtracesyms.c: ... here.
34793         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34794         * debug/backtracesymsfd.c: ... here.
34795         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34796         * sysdeps/generic/ifunc-sel.h: ... here.
34798         * sysdeps/unix/i386/start.c: Delete file.
34799         * sysdeps/unix/sparc/start.c: Delete file.
34800         * sysdeps/unix/start.c: Delete file.
34802         * sysdeps/sh/elf/configure.in: Moved to ...
34803         * sysdeps/sh/configure.in: ... here.
34804         * sysdeps/sh/elf/start.S: Moved to ...
34805         * sysdeps/sh/start.S: ... here.
34806         * sysdeps/sh/elf/configure: Delete file.
34808         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34809         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34810         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34811         * sysdeps/powerpc/powerpc64/entry.h: ... here.
34812         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34813         * sysdeps/powerpc/powerpc64/start.S: here.
34814         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34815         * sysdeps/powerpc/powerpc64/Makefile: ... this.
34816         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34817         * sysdeps/powerpc/powerpc64/configure.in: ... this.
34818         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34820         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34821         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34822         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34823         * sysdeps/powerpc/powerpc32/start.S: ... here.
34824         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34825         * sysdeps/powerpc/powerpc32/configure.in: ... this.
34826         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34828         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34829         * sysdeps/powerpc/ifunc-sel.h: ... here.
34830         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34831         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34833         * sysdeps/sparc/elf/configure.in: Moved to ...
34834         * sysdeps/sparc/configure.in: ... here.
34835         * sysdeps/sparc/elf/configure: Delete file.
34836         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34837         * sysdeps/sparc/sparc32/start.S: ... here.
34838         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34839         * sysdeps/sparc/sparc64/start.S: ... here.
34840         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34841         * sysdeps/sparc/sparc32/Makefile: ... this.
34842         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34843         * sysdeps/sparc/sparc64/Makefile: ... this.
34845         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34846         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34847         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34848         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34849         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34850         * sysdeps/s390/s390-32/setjmp.S: ... here.
34851         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34852         * sysdeps/s390/s390-32/configure.in: ... here.
34853         * sysdeps/s390/s390-32/elf/configure: Delete file.
34854         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34855         * sysdeps/s390/s390-32/start.S: ... here.
34857         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34858         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34859         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34860         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34861         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34862         * sysdeps/s390/s390-64/setjmp.S: ... here.
34863         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34864         * sysdeps/s390/s390-64/configure.in: ... here
34865         * sysdeps/s390/s390-64/elf/configure: Delete file.
34866         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34867         * sysdeps/s390/s390-64/start.S: ... here.
34868         * sysdeps/s390/s390-64/elf/configure: Delete.
34870         * configure.in: Remove support for elf directories in sysdeps.
34872         * configure: Regenerated.
34873         * sysdeps/i386/configure: Regenerated.
34874         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34875         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34876         * sysdeps/s390/s390-32/configure: Regenerated.
34877         * sysdeps/s390/s390-64/configure: Regenerated.
34878         * sysdeps/sh/configure: Regenerated.
34879         * sysdeps/sparc/configure: Regenerated.
34880         * sysdeps/x86_64/configure: Regenerated.
34882 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
34884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34887         denormal result into account.
34889 2012-03-25  Roland McGrath  <roland@hack.frob.com>
34891         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34892         Reported by Allan McRae <allan@archlinux.org>.
34894 2012-03-23  Jeff Law  <law@redhat.com>
34896         * nss/getnssent.c (__nss_getent): Fix typo.
34898 2012-03-23  David S. Miller  <davem@davemloft.net>
34900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34902 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
34904         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34905         to pad to uint64_t for each field.
34906         (dl_tls_index): Replace unsigned long with uint64_t.
34908 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
34909         Paul Pluzhnikov  <ppluzhnikov@google.com>
34911         [BZ #6528]
34912         * grp/Makefile (otherlibs): Don't set it.
34913         * inet/Makefile (otherlibs): Likewise.
34914         * login/Makefile (otherlibs): Likewise.
34915         * nscd/Makefile (otherlibs): Likewise.
34916         * posix/Makefile (otherlibs): Likewise.
34917         * pwd/Makefile (otherlibs): Likewise.
34918         * rt/Makefile (otherlibs): Likewise.
34919         * sunrpc/Makefile (otherlibs): Likewise.
34920         * nss/Makefile (otherlibs): Likewise.
34921         Add libnss_files to routines and static-only-routines.
34922         ($(objpfx)getent): Remove rule.
34923         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34924         static-only-routines.
34926 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34928         [BZ #13892]
34929         * math/s_cexp.c: Include <float.h>.
34930         (__cexp): Handle exp result overflowing not necessarily
34931         overflowing both real and imaginary parts of result.
34932         * math/s_cexpf.c: Likewise.
34933         * math/s_cexpl.c: Likewise.
34934         * math/libm-test.inc (cexp_test): Add more tests.
34935         * sysdeps/i386/fpu/libm-test-ulps: Update.
34936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34938 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34940         * include/link.h (ELFW): New macro.
34941         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34942         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34944 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34946         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34947         with uint64_t.
34949 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34951         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34952         declaration.
34953         (struct La_x32_retval): Likewise.
34955 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34957         * sysdeps/x86_64/preconfigure.in: New file.
34958         * sysdeps/x86_64/preconfigure: New generated file.
34960 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34962         [BZ #13824]
34963         * math/e_exp2l.c: Include <float.h>.
34964         (__ieee754_exp2l): Handle overflow and underflow cases
34965         separately.  Only pass fractional part of argument to
34966         __ieee754_expl.
34967         * math/libm-test.inc (exp2_test): Add more tests.
34969         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34970         negating x to take absolute value.
34971         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34972         Likewise.
34973         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34974         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34975         Likewise.
34976         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34977         computing low part if x was negated.
34978         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34980 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34982         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34983         la_x32_gnu_pltexit.
34984         (pltexit): Cast int_retval to ptrdiff_t.
34985         * elf/tst-auditmod3b.c: Likewise.
34986         * elf/tst-auditmod4b.c: Likewise.
34987         * elf/tst-auditmod5b.c: Likewise.
34988         * elf/tst-auditmod6b.c: Likewise.
34989         * elf/tst-auditmod6c.c: Likewise.
34990         * elf/tst-auditmod7b.c: Likewise.
34992         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34993         and x32_gnu_pltexit.
34995         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34996         __ELF_NATIVE_CLASS.
34997         (La_x32_regs): New macro.
34998         (La_x32_retval): Likewise.
34999         (la_x32_gnu_pltenter): New function prototype.
35000         (la_x32_gnu_pltexit): Likewise.
35002 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35005         exponent.
35007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35009         * configure.in (libc_cv_cc_nofma): Check for option to disable
35010         generation of FMA instructions.
35011         * configure: Regenerate.
35012         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35013         * sysdeps/ieee754/dbl-64/Makefile: New file.
35014         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35015         Remove brandred-fma4.
35016         (CFLAGS-brandred-fma4.c): Remove.
35017         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35018         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35019         define.
35020         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35021         define.
35023 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35025         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35026         LLONG_MAX != LONG_MAX.
35027         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35028         (_fitoa_word): Likewise.
35029         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35030         LLONG_MAX != LONG_MAX.
35031         * stdio-common/_itowa.h: Include <_itoa.h>.
35032         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35033         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35034         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35035         only if not defined.
35036         (_ITOA_WORD_TYPE): Likewise.
35037         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35038         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35040 2012-03-21  David S. Miller  <davem@davemloft.net>
35042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35044 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35046         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35047         of x86_64 when setting libc_cv_slibdir, libdir and
35048         libc_cv_localedir.
35049         * sysdeps/unix/sysv/linux/configure: Regenerated.
35051 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35053         * manual/lang.texi (Old Varargs): Remove section.
35054         (How Variadic): Update menu.
35055         (va_start): Do not mention varargs.h.
35057 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35058             Joseph Myers  <joseph@codesourcery.com>
35060         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35061         link test.
35062         * configure: Regenerated.
35064 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35066         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35067         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35068         conformtest.pl
35070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35072         * NOTES: Remove.
35073         * Makefile (files-for-dist): Remove NOTES.
35074         (NOTES): Remove rule.
35075         * README: Don't refer to NOTES.
35076         * manual/creature.texi: Don't include macros.texi.
35077         * manual/intro.texi (creature.texi): Remove comment referring to
35078         NOTES.
35080         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35081         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35082         * configure: Regenerated.
35083         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35084         LIBC_TRY_CC_OPTION.
35085         (libc_cv_as_i686): Likewise.
35086         (libc_cv_cc_avx): Likewise.
35087         (libc_cv_cc_sse2avx): Likewise.
35088         (libc_cv_cc_fma4): Likewise.
35089         (libc_cv_cc_novzeroupper): Likewise.
35090         * sysdeps/i386/configure: Regenerated.
35092         [BZ #13883]
35093         * sysdeps/i386/fpu/s_cexp.S: Remove.
35094         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35095         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35096         * math/libm-test.inc (cexp_test): Add more tests.
35097         * sysdeps/i386/fpu/libm-test-ulps: Update.
35098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35100 2012-03-21  Allan McRae  <allan@archlinux.org>
35102         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35104 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35106         [BZ #13871]
35107         * math/w_exp2.c: Do not include <float.h>.
35108         (o_threshold, u_threshold): Remove.
35109         (__exp2): Calculate result before checking finiteness and calling
35110         __kernel_standard.
35111         * math/w_exp2f.c: Likewise.
35112         * math/w_exp2l.c: Likewise.
35113         * math/libm-test.inc (exp2_test): Require overflow exception for
35114         1e6 input.
35116         [BZ #3866]
35117         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35118         range of signed 64-bit integers before using fistpll.  Remove
35119         checks for whether integers fit in mantissa bits.
35120         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35121         the range of signed 32-bit integers before using fistpl.  Remove
35122         checks for whether integers fit in mantissa bits.
35123         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35124         (__ieee754_powl): Test for y outside the range of signed 64-bit
35125         integers before using fistpll.  Reduce 64-bit values to 63-bit
35126         ones as needed.
35127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35128         divide-by-zero is raised for zero to large negative powers.
35129         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35130         (__ieee754_powl): Test for y outside the range of signed 64-bit
35131         integers before using fistpll.  Reduce 64-bit values to 63-bit
35132         ones as needed.
35133         * math/libm-test.inc (pow_test): Add more tests.
35135 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35137         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35138         <stdio-common/_itoa.h>.
35139         * debug/segfault.c: Likewise.
35140         * elf/dl-cache.c: Likewise.
35141         * elf/dl-minimal.c: Likewise.
35142         * elf/dl-misc.c: Likewise.
35143         * elf/dl-sysdep.c: Likewise.
35144         * elf/dl-version.c: Likewise.
35145         * elf/rtld.c: Likewise.
35146         * hurd/hurdsock.c: Likewise.
35147         * hurd/lookup-retry.c: Likewise.
35148         * malloc/malloc.c: Likewise.
35149         * malloc/mtrace.c: Likewise.
35150         * nscd/nscd_getgr_r.c: Likewise.
35151         * nscd/nscd_getpw_r.c: Likewise.
35152         * nscd/nscd_getserv_r.c: Likewise.
35153         * posix/getopt_init.c: Likewise.
35154         * posix/wordexp.c: Likewise.
35155         * stdio-common/_itoa.c: Likewise.
35156         * stdio-common/printf_fphex.c: Likewise.
35157         * stdio-common/vfprintf.c: Likewise.
35158         * string/_strerror.c: Likewise.
35159         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35160         * sysdeps/i386/i686/hp-timing.h: Likewise.
35161         * sysdeps/mach/_strerror.c: Likewise.
35162         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35163         * sysdeps/mach/hurd/sethostid.c: Likewise.
35164         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35165         * sysdeps/mach/xpg-strerror.c: Likewise.
35166         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35167         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35168         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35169         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35170         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35171         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35172         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35173         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35174         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35175         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35176         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35177         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35178         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35179         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35180         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35181         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35182         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35183         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35184         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35185         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35186         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35188         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35190         * stdio-common/_itoa.h: Moved to ...
35191         * sysdeps/generic/_itoa.h: Here.
35193         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35195         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35196         instead of "_itoa.h" and "_itowa.h".
35197         * stdio-common/vfprintf.: Likewise.
35199 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35201         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35202         <bits/wordsize.h>.
35203         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35204         (__signbit): Likwise.
35205         (llrintf): Likwise.
35206         (llrint): Likwise.
35208 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35210         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35211         __WORDSIZE != 64.
35213 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35215         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35216         OVERFLOW_EXCEPTION_OK.
35217         * math/libm-test.inc ("Philosophy"): Update comment about
35218         exception testing.
35219         (OVERFLOW_EXCEPTION): Define.
35220         (OVERFLOW_EXCEPTION_OK): Likewise.
35221         (INVALID_EXCEPTION_OK): Renumber.
35222         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35223         (IGNORE_ZERO_INF_SIGN): Likewise.
35224         (test_exceptions): Handle FE_OVERFLOW.
35225         (exp10_test): Expect overflow exceptions.
35226         (exp2_test): Likewise.
35227         (expm1_test): Likewise.
35228         (nextafter_test): Likewise.
35229         (pow_test): Likewise.
35230         (scalbn_test): Likewise.
35231         (scalbln_test): Likewise.
35233 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35235         * sysdeps/x86_64/bits/atomic.h
35236         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35237         64bit integer.
35238         (atomic_exchange_acq): Likewise.
35239         (__arch_exchange_and_add_body): Likewise.
35240         (__arch_add_body): Likewise.
35241         (atomic_add_negative): Likewise.
35242         (atomic_add_zero): Likewise.
35244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35246         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35247         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35249 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35251         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35252         Check __x86_64__ instead of __WORDSIZE.
35254 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35256         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35258 2012-03-19  David S. Miller  <davem@davemloft.net>
35260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35262         * sysdeps/sparc/fpu/fenv_private.h: New file.
35263         * sysdeps/sparc/fpu/math_private.h: Use it.
35264         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35265         Remove.
35266         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35267         (libc_feholdexcept_setroundl): Remove.
35268         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35269         Remove.
35270         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35271         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35273 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35275         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35276         int64_t instead of long int.
35277         (INSERT_WORDS64): Likwise.
35279 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35281         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35282         _Unwind_GetCFA return to _Unwind_Ptr first.
35284 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35286         [BZ #13629]
35287         * math/s_clog.c: Include <float.h>.
35288         (__clog): Scale large or subnormal inputs.
35289         * math/s_clogf.c: Likewise.
35290         * math/s_clogl.c: Likewise.
35291         * math/s_clog10.c: Include <float.h>.
35292         (M_LOG10_2): Define.
35293         (__clog10): Scale large or subnormal inputs.
35294         * math/s_clog10f.c: Likewise.
35295         * math/s_clog10l.c: Likewise.
35296         * math/libm-test.inc (clog_test): Add more tests.
35297         (clog10_test): Likewise.
35298         * sysdeps/i386/fpu/libm-test-ulps: Update.
35299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35301         [BZ #11451]
35302         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35303         x and y.
35304         * math/libm-test.inc (atan2_test): Add another test.
35306         * Makerules (common-objdir-compile): Remove.
35307         * sysdeps/unix/Makefile (config-generated): Do not add
35308         $(unix-generated) to variable.
35309         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35310         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35311         Remove rule.
35312         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35313         Likewise.
35314         [generic bits/local_lim.h] (before-compile): Do not append to
35315         variable.
35316         [generic bits/local_lim.h] (common-generated): Likewise.
35317         [generic sys/param.h] (before-compile): Do not append to variable.
35318         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35319         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35320         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35321         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35322         include.
35323         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35324         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35325         [generic sys/param.h] ($(addprefix
35326         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35327         [generic sys/param.h] (common-generated): Do not append to
35328         variable.
35329         [generic sys/param.h] (sysdep_headers): Likewise.
35330         [generic bits/errno.h] (before-compile): Do not append to
35331         variable.
35332         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35333         rule.
35334         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35335         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35336         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35337         [generic bits/errno.h] (common-generated): Do not append to
35338         variable.
35339         [generic bits/ioctls.h] (before-compile): Do not append to
35340         variable.
35341         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35342         rule.
35343         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35344         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35345         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35346         rule.
35347         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35348         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35349         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35350         [generic bits/ioctls.h] (common-generated): Do not append to
35351         variable.
35352         [generic sys/syscall.h] (syscall.h): Remove variable.
35353         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35354         rule.
35355         [generic sys/syscall.h] (before-compile): Do not append to
35356         variable.
35357         [generic sys/syscall.h] (common-generated): Likewise.
35358         * sysdeps/unix/errnos-tmpl.c: Remove file.
35359         * sysdeps/unix/errnos.awk: Likewise.
35360         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35361         * sysdeps/unix/ioctls.awk: Likewise.
35362         * sysdeps/unix/mk-local_lim.c: Likewise.
35363         * sysdeps/unix/snarf-ioctls: Likewise.
35365 2012-03-19  Richard Henderson  <rth@twiddle.net>
35367         * sysdeps/i386/fpu/fenv_private.h: New file.
35368         * sysdeps/i386/fpu/math_private.h: Use it.
35369         (math_opt_barrier, math_force_eval): Remove.
35370         (libc_feholdexcept_setround_53bit): Remove.
35371         (libc_feupdateenv_53bit): Remove.
35372         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35373         (math_opt_barrier, math_force_eval): Remove.
35374         (libc_feholdexcept): Remove.
35375         (libc_feholdexcept_setround): Remove.
35376         (libc_fetestexcept, libc_fesetenv): Remove.
35377         (libc_feupdateenv_test): Remove.
35378         (libc_feupdateenv, libc_feholdsetround): Remove.
35379         (libc_feresetround): Remove.
35381         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35382         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35384         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35385         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35386         (libc_feupdateenv_testl): New.
35387         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35388         (libc_feupdateenv_testf): New.
35389         (libc_feupdateenv): Use libc_feupdateenv_test.
35390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35391         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35393         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35394         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35395         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35396         (libc_feresetround_noex): New.
35397         (libc_feresetround_noexf): New.
35398         (libc_feresetround_noexl): New.
35399         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35400         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35401         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35402         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35403         SET_RESTORE_ROUND.
35404         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35406         (__cos): Likewise.
35407         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35409         SET_RESTORE_ROUND_NOEX.
35410         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35411         SET_RESTORE_ROUND_NOEXF.
35412         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35413         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35414         (libc_feholdsetroundf): New.
35415         (libc_feresetround, libc_feresetroundf): New.
35417         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35418         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35419         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35421         * sysdeps/generic/math_private.h: Include <fenv.h>.
35422         (default_libc_feholdexcept): New.
35423         (default_libc_feholdexcept_setround): New.
35424         (default_libc_fesetenv, default_libc_feupdateenv): New.
35425         (libc_feholdexcept): Only define if undefined.
35426         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35427         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35428         (libc_feholdexcept_setroundl): Likewise.
35429         (libc_feholdexcept_setround_53bit): Likewise.
35430         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35431         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35432         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35433         (libc_feupdateenv_53bit): Likewise.
35434         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35435         (libc_feholdexcept): Convert from macro to inline function.
35436         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35437         (libc_fesetenv, libc_feupdateenv): Likewise.
35439         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35440         not previously defined.
35441         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35442         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35443         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35444         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35445         * sysdeps/ieee754/flt-32/math_private.h: New file.
35446         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35447         math_private.h below SET_FLOAT_WORD.
35448         (__isnan, __isinf_ns, __finite): Remove.
35449         (__isnanf, __isinf_nsf, __finitef): Remove.
35451 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
35453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35455 2012-03-17  David S. Miller  <davem@davemloft.net>
35457         [BZ #6471]
35458         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35459         for 2.16.
35461 2012-03-16  David S. Miller  <davem@davemloft.net>
35463         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35464         warnings.
35466         [BZ #6471]
35467         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35468         properly.
35469         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35470         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35471         sysdep_routines when subdir is sysvipc.
35472         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35473         __getshmlba helper.
35475         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35477 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35479         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35480         [__LP64__].
35482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35484         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35485         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35486         (__lround): Renamed to ...
35487         (__llround): This.  Replace long int with long long int.
35488         Define lround functions as aliases of llround functions.
35489         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35491 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35493         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35494         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
35495         adresses to uintptr_t.  Replace "long int" and "unsigned long
35496         int" with "greg_t" on va_arg.
35498 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35500         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35501         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35503         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35504         Move e_machine check before EI_CLASS check.  Handle x32
35505         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35506         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35507         SKIP_EM_IA_64 and include
35508         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35510         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35511         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35512         (add_system_dir): New macro.
35514         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35515         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35517 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35519         [BZ #2551]
35520         [BZ #2552]
35521         [BZ #2553]
35522         [BZ #2554]
35523         [BZ #2562]
35524         [BZ #2563]
35525         [BZ #2565]
35526         [BZ #2566]
35527         [BZ #2576]
35528         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35529         (y0): Likewise.
35530         * math/w_j0f.c (j0f): Likewise.
35531         (y0f): Likewise.
35532         * math/w_j0l.c (__j0l): Likewise.
35533         (__y0l): Likewise.
35534         * math/w_j1.c (j1): Likewise.
35535         (y1): Likewise.
35536         * math/w_j1f.c (j1f): Likewise.
35537         (y1f): Likewise.
35538         * math/w_j1l.c (__j1l): Likewise.
35539         (__y1l): Likewise.
35540         * math/w_jn.c (jn): Likewise.
35541         (yn): Likewise.
35542         * math/w_jnf.c (jnf): Likewise.
35543         (ynf): Likewise.
35544         * math/w_jnl.c (__jnl): Likewise.
35545         (__ynl): Likewise.
35546         * math/libm-test.inc (j0_test): Add more tests.
35547         (j1_test): Likewise.
35548         (jn_test): Likewise.  Add trailing semicolon to existing test.
35549         (y0_test): Likewise.
35550         (y1_test): Likewise.
35551         * sysdeps/i386/fpu/libm-test-ulps: Update.
35552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35554         [BZ #13851]
35555         [BZ #13854]
35556         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35557         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35558         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35559         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35560         (__tanl): Set errno for infinite argument.
35561         * sysdeps/i386/fpu/mptan.c: Remove.
35562         * sysdeps/i386/fpu/s_tan.S: Likewise.
35563         * sysdeps/i386/fpu/s_tanl.S: Likewise.
35564         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35565         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35566         * math/libm-test.inc (tan_test): Add more tests and enable more
35567         tests for double and long double.
35568         * sysdeps/i386/fpu/libm-test-ulps: Update.
35569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35571 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
35573         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35574         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35576 2012-03-16  Roland McGrath  <roland@hack.frob.com>
35578         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35579         * configure.in: Use it for both main tree and add-ons.
35580         * configure: Regenerated.
35582 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35584         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35586 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35588         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35589         in comment.
35591         [BZ #13851]
35592         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35593         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35594         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35595         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35596         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35597         infinite argument.
35598         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35599         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35600         != 0 for prec == 2.
35601         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35602         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35603         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35604         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35605         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35606         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35607         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35608         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35609         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35610         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35611         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35612         * math/libm-test.inc (cos_test): Add more tests and enable more
35613         tests for long double.
35614         (sin_test): Likewise.
35615         (sincos_test): Likewise.
35616         * sysdeps/i386/fpu/libm-test-ulps: Update.
35617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35619 2012-03-16  David S. Miller  <davem@davemloft.net>
35621         * sysdeps/sparc/fpu/math_private.h: New file.
35623 2012-03-15  David S. Miller  <davem@davemloft.net>
35625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35626         file.
35627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35629         file.
35630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35635         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35636         sysdep routines.
35637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35639         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35640         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35642         * sysdeps/sparc/sparc-ifunc.h: New file.
35643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35644         sparc-ifunc.h
35645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35647         Likewise.
35648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35649         Likewise.
35650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35654         Likewise.
35655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35660         Likewise.
35661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35662         Likewise.
35663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35669         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35670         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35681         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35684         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35686         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35688 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35690         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35691         scaling.
35692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35694 2012-03-15  Andreas Jaeger  <aj@suse.de>
35696         [BZ #13852]
35697         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35698         ieee754/flt-32 implementation for sin, cos and sincos.
35699         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35700         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35701         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35702         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35703         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35704         ieee754/flt-32 implementation for tan.
35706         * math/libm-test.inc (cos_test): Enable some large input tests for
35707         float as well
35708         (sin_test): Likewise.
35709         (sincos_test): Likewise.
35710         (tan_test): Add tests for large input.
35712         * sysdeps/i386/fpu/libm-test-ulps: Update.
35714 2012-03-15  Andreas Jaeger  <aj@suse.de>
35716         [BZ #13658]
35717         * math/libm-test.inc (cos_test): Add more test cases.
35718         (sin_test): Likewise.
35719         (sincos_test): Likewise.
35721 2012-03-15  Andreas Jaeger  <aj@suse.de>
35723         [BZ #13837]
35724         * math/libm-test.inc (cos_test): Add a test case for large input
35725         value.
35726         (sin_test): Likewise.
35727         (sincos_test): Likewise.
35729 2012-03-15  Andreas Jaeger  <aj@suse.de>
35730             Joseph Myers  <joseph@codesourcery.com>
35732         [BZ #13658]
35733         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35734         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35735         * sysdeps/i386/fpu/branred.c: Likewise.
35736         * sysdeps/i386/fpu/dosincos.c: Likewise.
35737         * sysdeps/i386/fpu/mpa.c: Likewise.
35738         * sysdeps/i386/fpu/s_cos.S: Likewise.
35739         * sysdeps/i386/fpu/s_sin.S: Likewise.
35740         * sysdeps/i386/fpu/s_sincos.S: Likewise.
35741         * sysdeps/i386/fpu/sincos32.c: Likewise.
35743         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35744         Define.
35745         (libc_feupdateenv_53bit): Define.
35746         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35747         Define.
35748         (libc_feupdateenv_53bit): Define.
35750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35751         53 bit (without extend i386 double precision).
35753         * math/libm-test.inc (sincos_test): Add tests for large input.
35754         (sin): Likewise.
35755         (cos): Likewise.
35757         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35759 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35763 2012-03-15  David S. Miller  <davem@davemloft.net>
35765         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35766         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35767         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35768         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35781         file.
35782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35784         file.
35785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35787         file.
35788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35790         file.
35791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35793         fmin/fmax sysdep routines.
35794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35796 2012-03-14  David S. Miller  <davem@davemloft.net>
35798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35802         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35804         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35818         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35819         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35820         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35822         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35823         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35824         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35826         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35827         routines.
35828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35829         file.
35830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35832         file.
35833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35835         file.
35836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35838         file.
35839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35841         file.
35842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35844         file.
35845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35846         file.
35847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35848         file.
35849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35850         file.
35851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35852         New file.
35853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35854         file.
35855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35856         file.
35857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35859         file.
35860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35862         file.
35863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35865         file.
35866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35868         VIS3 routines.
35870         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35871         New file.
35873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35875         * sysdeps/sparc/configure.in: New file.
35876         * sysdeps/sparc/configure: Generate.
35877         * configure.in (libc_cv_sparc_as_vis3): Substitute.
35878         * configure: Regenerate.
35879         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35880         * config.make.in (have-as-vis3): New.
35881         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35882         available use -Av9d instead of -Av9a.
35883         * sysdeps/sparc/sparc64/Makefile: Likewise.
35884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35886         New file.
35887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35888         file.
35889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35890         New file.
35891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35892         file.
35893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35894         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35895         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35896         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35899         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35900         fzeros/fnegs to load 0x80000000 into a float register instead of
35901         using the stack.
35902         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35904 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35907         bits/syscall.h.
35908         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35909         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35910         ($(inst_includedir)/bits/syscall.h): Remove rule.
35911         ($(objpfx)bits/syscall.d): Include instead of
35912         $(objpfx)syscall-list.d.
35913         (generated): Change syscall-list.h and syscall-list.d to
35914         bits/syscall.h and bits/syscall.d.
35916 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35918         [BZ #13846]
35919         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35921 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35923         [BZ #13841]
35924         * math/s_csqrt.c: Include <float.h>.
35925         (__csqrt): Scale large or subnormal inputs.
35926         * math/s_csqrtf.c: Likewise.
35927         * math/s_csqrtl.c: Likewise.
35928         * math/libm-test.inc (csqrt_test): Add more tests.
35929         * sysdeps/i386/fpu/libm-test-ulps: Update.
35930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35932         [BZ #13840]
35933         * math/libm-test.inc (hypot_test): Add more tests.
35935 2012-03-13  David S. Miller  <davem@davemloft.net>
35937         [BZ #13840]
35938         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35939         double-precision for the calculation instead of scaling.
35941 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35943         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35944         manipulate bits before adding and subtracting TWO52[sx].
35945         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35946         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35947         Likewise.
35948         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35950 2012-03-13  David S. Miller  <davem@davemloft.net>
35952         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35953         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35954         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35955         rtld-global-offsets.h
35956         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35958         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35959         large parameters.
35961         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35963         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35964         'err' in the ifdef scope in which it is actually used.
35966         * nss/nss_db/db-init.c: Include string.h
35968 2012-03-12  David S. Miller  <davem@davemloft.net>
35970         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35971         masking out of the most significant byte of random value used.
35972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35973         Fix coding style in previous change.
35975         * sysdeps/unix/sysv/linux/kernel-features.h
35976         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35977         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35978         expression.
35979         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35980         later.
35982 2012-03-11  David S. Miller  <davem@davemloft.net>
35984         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35985         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35986         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35987         for 'resultvar' otherwise things get truncated on 64-bit.
35989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35990         Fix masking out of the most significant byte of random value used.
35992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35994 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35998 2012-03-09  David S. Miller  <davem@davemloft.net>
36000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36001         variables with appropriate CPP guards.
36002         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36003         from the frame pointer, not the stack pointer.  Correct layout
36004         comments.  Fix test on resulting framesize and the management of
36005         the outregs buffer for pltexit.  Preserve floating point return
36006         values across _dl_call_pltexit call.
36007         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36008         framesize and the management of the outregs buffer for pltexit.
36009         Preserve floating point return values across _dl_call_pltexit
36010         call.
36011         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36012         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36013         (la_sparc64_gnu_pltexit): New functions.
36014         (print_exit): Fix format string for return register value.
36016 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36018         * sunrpc/Makefile (others): Add rpcgen.
36019         ($(objpfx)rpcgen): Remove special build rule and dependency on
36020         libc.
36021         * sunrpc/rpcgen.c: New file.
36023 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36025         [BZ #13673]
36026         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36027         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36028         * sysdeps/i386/crti.S: Likewise.
36029         * sysdeps/i386/crtn.S: Likewise.
36030         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36031         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36032         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36033         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36034         * sysdeps/sh/crti.S: Likewise.
36035         * sysdeps/sh/crtn.S: Likewise.
36036         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36038         [BZ #13673]
36039         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36040         with URL.
36041         * locale/programs/locfile-kw.gperf: Likewise.
36042         * locale/programs/charmap-kw.h: Regenerated.
36043         * locale/programs/locfile-kw.h: Likewise.
36045         [BZ #13673]
36046         * intl/plural.y: Replace FSF snail mail address with URL.
36047         * intl/plural.c: Regenerated.
36049 2012-03-09  Richard Henderson  <rth@twiddle.net>
36051         * include/math_private.h: Remove file.
36052         * math/math_private.h: Move file ...
36053         * sysdeps/generic/math_private.h: ... here.
36055         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36056         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36057         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36059         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36060         and <math_private.h>.
36061         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36062         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36063         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36064         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36065         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36066         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36067         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36068         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36069         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36070         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36072         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36073         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36074         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36075         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36076         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36077         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36078         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36079         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36080         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36081         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36082         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36083         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36084         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36085         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36086         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36087         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36088         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36089         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36090         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36091         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36092         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36093         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36094         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36095         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36096         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36097         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36098         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36099         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36100         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36101         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36102         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36103         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36104         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36105         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36106         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36107         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36108         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36109         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36110         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36111         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36112         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36113         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36114         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36115         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36116         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36117         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36118         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36119         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36120         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36121         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36122         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36123         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36124         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36125         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36126         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36127         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36128         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36129         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36130         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36131         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36132         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36133         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36134         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36135         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36137         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36138         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36140         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36141         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36142         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36143         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36144         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36145         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36147         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36148         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36149         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36150         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36151         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36152         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36153         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36154         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36155         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36156         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36158         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36159         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36161         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36162         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36163         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36164         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36165         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36166         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36167         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36168         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36169         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36170         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36171         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36172         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36173         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36174         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36175         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36176         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36177         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36178         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36179         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36180         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36181         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36182         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36183         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36184         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36185         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36186         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36187         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36188         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36189         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36190         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36191         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36192         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36193         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36194         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36195         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36196         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36197         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36198         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36199         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36200         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36201         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36202         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36203         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36204         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36205         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36206         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36207         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36208         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36209         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36210         * sysdeps/ieee754/k_standard.c: Likewise.
36211         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36212         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36213         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36214         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36215         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36216         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36217         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36218         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36219         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36220         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36221         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36222         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36223         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36224         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36225         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36226         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36227         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36228         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36229         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36230         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36231         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36232         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36233         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36234         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36235         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36236         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36237         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36238         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36239         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36240         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36241         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36242         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36243         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36244         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36245         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36246         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36247         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36248         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36249         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36250         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36251         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36252         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36253         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36254         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36255         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36256         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36257         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36258         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36259         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36260         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36261         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36262         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36263         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36264         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36265         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36266         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36267         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36268         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36269         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36270         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36271         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36272         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36273         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36274         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36275         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36276         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36277         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36278         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36279         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36281         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36283         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36284         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36285         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36286         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36287         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36288         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36290         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36291         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36293         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36294         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36295         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36296         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36297         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36298         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36299         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36300         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36301         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36302         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36303         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36304         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36305         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36306         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36307         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36308         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36309         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36310         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36312         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36313         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36314         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36315         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36316         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36317         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36318         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36319         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36320         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36321         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36322         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36323         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36324         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36325         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36326         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36327         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36328         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36329         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36330         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36331         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36332         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36333         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36334         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36335         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36336         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36337         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36338         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36339         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36340         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36341         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36342         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36343         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36344         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36345         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36346         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36347         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36348         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36349         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36350         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36351         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36352         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36353         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36354         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36355         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36356         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36357         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36358         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36359         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36360         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36361         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36362         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36363         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36364         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36365         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36366         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36367         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36368         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36369         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36370         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36371         * sysdeps/ieee754/s_lib_version.c: Likewise.
36372         * sysdeps/ieee754/s_matherr.c: Likewise.
36373         * sysdeps/ieee754/s_signgam.c: Likewise.
36374         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36375         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36376         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36377         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36378         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36379         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36380         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36381         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36382         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36383         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36384         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36385         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36386         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36387         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36388         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36389         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36390         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36391         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36392         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36393         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36394         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36396 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36398         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36399         * sunrpc/rpc_main.c: Likewise.
36400         * sunrpc/rpc_svcout.c: Likewise.
36402 2012-03-09  David S. Miller  <davem@davemloft.net>
36404         * include/math_private.h: New file.
36406 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36408         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36409         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36410         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36411         from <bits/socket_type.h>.
36412         (enum __socket_type): Don't define here.
36413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36415         bits/socket_type.h.
36417         [BZ #13566]
36418         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36419         checking __USE_GNU.
36421         * Makerules ($(inst_includedir)/%.h): New rule.
36422         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36423         (install-others): Remove variable setting.
36424         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36426 2012-03-08  Richard Henderson  <rth@twiddle.net>
36428         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36429         from macro to inline function; merge with the
36430         !__LIBC_INTERNAL_MATH_INLINES version.
36431         (__ieee754_sqrtf): Likewise.
36433         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36434         to inline function.
36435         (__rintf, __floor, __floorf): Likewise.
36437         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36438         macro to inline function.
36439         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36441         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36442         not <math/math_private.h>.
36444 2012-03-08  David S. Miller  <davem@davemloft.net>
36446         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36447         copyright year.
36448         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36450 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
36452         * resolv/gai_misc.c (handle_requests): Fix struct timespec
36453         normalization.
36454         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36455         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36457 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
36459         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
36460         be defined individually, they must be defined as a block.  Define
36461         S for printing a string instead of hidint the different by using a
36462         macro for adding the 'l'.
36463         * stdio-common/tst-fphex-wide.c: Adjust.
36465 2012-03-07  Marek Polacek  <polacek@redhat.com>
36467         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36469 2012-03-08  Marek Polacek  <polacek@redhat.com>
36471         [BZ #13806]
36472         * stdio-common/Makefile (tests): Add tst-fphex-wide.
36473         * stdio-common/tst-fphex.c: Define a few macros to make the
36474         test reusable.  Use them.
36475         * stdio-common/tst-fphex-wide.c: New file.
36477 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36479         [BZ #6911]
36480         * manual/macros.texi (gnusystems): New macro.
36481         (nongnusystems): Likewise.
36482         (gnulinuxhurdsystems): Likewise.
36483         (gnuhurdsystems): Likewise..
36484         (gnulinuxsystems): Likewise.
36485         * manual/charset.texi: Use new macros or @theglibc{} to refer to
36486         variants of the GNU system, not "GNU system".
36487         * manual/conf.texi: Likewise.
36488         * manual/errno.texi: Likewise.  Update example of errno macro
36489         expansion.
36490         * manual/filesys.texi: Likewise.
36491         (getumask): Document as specific to GNU/Hurd.
36492         * manual/install.texi: Likewise.  Reword some references to
36493         GNU/Linux.
36494         * manual/intro.texi: Likewise.
36495         * manual/io.texi: Likewise.
36496         (File Name Portability): Detail which constraints are inapplicable
36497         to all GNU systems and which are only inapplicable to GNU/Hurd.
36498         * manual/job.texi: Likewise.
36499         * manual/llio.texi: Likewise.
36500         (O_NOCTTY): Document as present on GNU/Linux.
36501         * manual/maint.texi: Likewise.
36502         * manual/memory.texi: Likewise.
36503         * manual/pattern.texi: Likewise.
36504         * manual/pipe.texi: Likewise.
36505         * manual/process.texi: Likewise.
36506         * manual/resource.texi: Likewise.
36507         (RUSAGE_CHILDREN): Remove statement about specifying a particular
36508         child on GNU/Hurd.
36509         * manual/setjmp.texi: Likewise.
36510         * manual/signal.texi: Likewise.
36511         * manual/startup.texi: Likewise.
36512         * manual/stdio.texi: Likewise.
36513         * manual/terminal.texi: Likewise.
36514         (ONLCR): Document as POSIX.
36515         (OXTABS): Document availability on GNU/Linux as XTABS.
36516         (ONOEOT): Document availability separately from other bits.
36517         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36518         * manual/time.texi: Likewise.
36519         * manual/users.texi: Likewise.
36520         * INSTALL: Regenerated.
36521         * sysdeps/gnu/errlist.c: Regenerated.
36523         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36524         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36525         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
36526         puts.
36527         * configure: Regenerated.
36529 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
36531         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36532         default includes instead of AC_HEADER_CHECK.
36533         * sysdeps/i386/configure: Regenerated.
36535         [BZ #10716]
36536         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36537         * math/s_cacoshf.c (__cacoshf): Likewise.
36538         * math/s_cacoshl.c (__cacoshl): Likewise.
36539         * math/s_casinh.c (__casinh): Set signs of result from argument.
36540         * math/s_casinhf.c (__casinhf): Likewise.
36541         * math/s_casinhl.c (__casinhl): Likewise.
36542         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36543         (casinh_test): Add more tests.
36544         * sysdeps/i386/fpu/libm-test-ulps: Update.
36545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36547 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
36549         * po/zh_TW.po: Update from translation team.
36551         * login/Makefile (distribute): Remove variable.
36552         * catgets/Makefile: Likewise.
36553         * mach/Makefile: Likewise.
36554         * malloc/Makefile: Likewise.
36555         * misc/Makefile: Likewise.
36556         * iconv/Makefile: Likewise.
36557         * nscd/Makefile: Likewise.
36558         * hurd/Makefile: Likewise.
36559         * manual/Makefile: Likewise.
36560         * locale/Makefile: Likewise.
36561         * intl/Makefile: Likewise.
36562         * conform/Makefile: Likewise.
36563         * nss/Makefile: Likewise.
36564         * time/Makefile: Likewise.
36565         * soft-fp/Makefile: Likewise.
36566         * dirent/Makefile: Likewise.
36567         * gmon/Makefile: Likewise.
36568         * po/Makefile: Likewise.
36569         * rt/Makefile: Likewise.
36570         * socket/Makefile: Likewise.
36571         * math/Makefile: Likewise.
36572         * signal/Makefile: Likewise.
36573         * debug/Makefile: Likewise.
36574         * elf/Makefile: Likewise.
36575         * timezone/Makefile: Likewise.
36576         * stdlib/Makefile: Likewise.
36577         * iconvdata/Makefile: Likewise.
36578         * sunrpc/Makefile: Likewise.
36579         * io/Makefile: Likewise.
36580         * argp/Makefile: Likewise.
36581         * inet/Makefile: Likewise.
36582         * hesiod/Makefile: Likewise.
36583         * grp/Makefile: Likewise.
36584         * csu/Makefile: Likewise.
36585         * wctype/Makefile: Likewise.
36586         * crypt/Makefile: Likewise.
36587         * libio/Makefile: Likewise.
36588         * string/Makefile: Likewise.
36589         * nis/Makefile: Likewise.
36590         * resolv/Makefile: Likewise.
36591         * stdio-common/Makefile: Likewise.
36592         * wcsmbs/Makefile: Likewise.
36593         * dlfcn/Makefile: Likewise.
36594         * posix/Makefile: Likewise.
36596         [BZ #6959]
36597         * timezone/Makefile: Don't install timezone files, just the programs
36598         and scripts.
36600 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36602         * nss/databases.def: Add missing gshadow entry.
36604         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36606 2012-03-06  Marek Polacek  <polacek@redhat.com>
36608         [BZ #13726]
36609         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36610         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36611         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36612         * stdio-common/tst-long-dbl-fphex.c: New file.
36614 2012-03-06  David S. Miller  <davem@davemloft.net>
36616         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36617         (set_obp_int): New function.
36618         (get_obp_int): New function.
36619         (__get_clockfreq_via_dev_openprom): Likewise.
36620         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36621         Avoid unused variable warnings on 'val' and use builtin_expect.
36622         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36623         __builtin_expect.
36624         (INLINE_CLONE_SYSCALL): Likewise.
36626 2012-03-05  David S. Miller  <davem@davemloft.net>
36628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36630 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36634         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36635         only for |x| >= 40.
36636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36638 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36641         Replace gettimeofday with __vdso_gettimeofday.
36643         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36644         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36645         __vdso_clock_gettime and __vdso_getcpu.
36647         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36648         time with __vdso_time.
36650 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36652         * manual/lang.texi (size_t): Note types to which size_t may be
36653         equivalent with the GNU C Library, but do not describe when
36654         differences between them are significant.
36656 2012-03-05  Andreas Jaeger  <aj@suse.de>
36658         * sysdeps/i386/fpu/libm-test-ulps: Update.
36660 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36662         [BZ #3976]
36663         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36664         (__ieee754_pow): Save and restore rounding mode and use
36665         round-to-nearest for main computations.
36666         * math/libm-test.inc (pow_test_tonearest): New function.
36667         (pow_test_towardzero): Likewise.
36668         (pow_test_downward): Likewise.
36669         (pow_test_upward): Likewise.
36670         (main): Call the new functions.
36671         * sysdeps/i386/fpu/libm-test-ulps: Update.
36672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36674         [BZ #3976]
36675         * math/libm-test.inc (cosh_test_tonearest): New function.
36676         (cosh_test_towardzero): Likewise.
36677         (cosh_test_downward): Likewise.
36678         (cosh_test_upward): Likewise.
36679         (sinh_test_tonearest): Likewise.
36680         (sinh_test_towardzero): Likewise.
36681         (sinh_test_downward): Likewise.
36682         (sinh_test_upward): Likewise.
36683         (main): Call the new functions.
36684         * sysdeps/i386/fpu/libm-test-ulps: Update.
36685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36687 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36689         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36690         default stack guard is set in last bytes.
36691         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36693 2012-03-05  Kees Cook  <keescook@chromium.org>
36695         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36697         [BZ #13656]
36698         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36699         possibly allocate from heap instead of stack.
36700         * stdio-common/bug-vfprintf-nargs.c: New file.
36701         * stdio-common/Makefile (tests): Add nargs overflow test.
36703 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
36705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36707 2012-03-03  Marek Polacek  <polacek@redhat.com>
36709         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36710         * math/math_private.h: Likewise.
36711         * stdlib/tst-strtod.c: Likewise.
36712         * sysdeps/i386/i486/bits/atomic.h: Likewise.
36713         * sysdeps/x86_64/bits/atomic.h: Likewise.
36715 2012-03-02  David S. Miller  <davem@davemloft.net>
36717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36721         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36722         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36723         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36724         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36726 2012-03-02  Roland McGrath  <roland@hack.frob.com>
36728         [BZ #13792]
36729         * manual/examples/README: New file, says the example source files
36730         can be used under GPL>=2.
36731         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36732         line containing just "*/".
36733         * manual/examples/add.c: Add copyright header (GPL>=2).
36734         * manual/examples/argp-ex1.c: Likewise.
36735         * manual/examples/argp-ex2.c: Likewise.
36736         * manual/examples/argp-ex3.c: Likewise.
36737         * manual/examples/argp-ex4.c: Likewise.
36738         * manual/examples/atexit.c: Likewise.
36739         * manual/examples/db.c: Likewise.
36740         * manual/examples/dir.c: Likewise.
36741         * manual/examples/dir2.c: Likewise.
36742         * manual/examples/execinfo.c: Likewise.
36743         * manual/examples/filecli.c: Likewise.
36744         * manual/examples/filesrv.c: Likewise.
36745         * manual/examples/fmtmsgexpl.c: Likewise.
36746         * manual/examples/genpass.c: Likewise.
36747         * manual/examples/inetcli.c: Likewise.
36748         * manual/examples/inetsrv.c: Likewise.
36749         * manual/examples/isockad.c: Likewise.
36750         * manual/examples/longopt.c: Likewise.
36751         * manual/examples/memopen.c: Likewise.
36752         * manual/examples/memstrm.c: Likewise.
36753         * manual/examples/mkfsock.c: Likewise.
36754         * manual/examples/mkisock.c: Likewise.
36755         * manual/examples/mygetpass.c: Likewise.
36756         * manual/examples/pipe.c: Likewise.
36757         * manual/examples/popen.c: Likewise.
36758         * manual/examples/rprintf.c: Likewise.
36759         * manual/examples/search.c: Likewise.
36760         * manual/examples/select.c: Likewise.
36761         * manual/examples/setjmp.c: Likewise.
36762         * manual/examples/sigh1.c: Likewise.
36763         * manual/examples/sigusr.c: Likewise.
36764         * manual/examples/stpcpy.c: Likewise.
36765         * manual/examples/strdupa.c: Likewise.
36766         * manual/examples/strftim.c: Likewise.
36767         * manual/examples/strncat.c: Likewise.
36768         * manual/examples/subopt.c: Likewise.
36769         * manual/examples/swapcontext.c: Likewise.
36770         * manual/examples/termios.c: Likewise.
36771         * manual/examples/testopt.c: Likewise.
36772         * manual/examples/testpass.c: Likewise.
36773         * manual/examples/timeval_subtract.c: Likewise.
36775         [BZ #13792]
36776         * manual/time.texi (Elapsed Time): Move timeval_subtract example
36777         function to ...
36778         * manual/timeval_subtract.c.texi: ... here, new file.
36780 2012-03-02  David S. Miller  <davem@davemloft.net>
36782         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36784 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
36786         [BZ #3976]
36787         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36788         (__sin): Save and restore rounding mode and use round-to-nearest
36789         for all computations.
36790         (__cos): Save and restore rounding mode and use round-to-nearest
36791         for all computations.
36792         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36793         <fenv.h>.
36794         (tan): Save and restore rounding mode and use round-to-nearest for
36795         all computations.
36796         * math/libm-test.inc (cos_test_tonearest): New function.
36797         (cos_test_towardzero): Likewise.
36798         (cos_test_downward): Likewise.
36799         (cos_test_upward): Likewise.
36800         (sin_test_tonearest): Likewise.
36801         (sin_test_towardzero): Likewise.
36802         (sin_test_downward): Likewise.
36803         (sin_test_upward): Likewise.
36804         (tan_test_tonearest): Likewise.
36805         (tan_test_towardzero): Likewise.
36806         (tan_test_downward): Likewise.
36807         (tan_test_upward): Likewise.
36808         (main): Call the new functions.
36809         * sysdeps/i386/fpu/libm-test-ulps: Update.
36810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36812         [BZ #10135]
36813         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36814         small n, then large n, before computing and testing k+n.
36815         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36817         Likewise.
36818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36819         Likewise.
36820         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36821         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36822         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36823         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36824         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36826         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36827         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36828         * math/libm-test.inc (scalbn_test): Add more tests.
36829         (scalbln_test): Likewise.
36831         * manual/filesys.texi (mode_t): Describe constraints on size and
36832         signedness, not exact equivalence to a particular type.
36833         (ino_t): Likewise.
36834         (ino64_t): Likewise.
36835         (dev_t): Likewise.
36836         (nlink_t): Likewise.
36837         (blkcnt_t): Likewise.
36838         (blkcnt64_t): Likewise.
36839         * manual/llio.texi (off_t): Likewise.
36841         [BZ #3976]
36842         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36843         (__ieee754_exp): Save and restore rounding mode and use
36844         round-to-nearest for all computations.
36845         * math/libm-test.inc (exp_test_tonearest): New function.
36846         (exp_test_towardzero): Likewise.
36847         (exp_test_downward): Likewise.
36848         (exp_test_upward): Likewise.
36849         (main): Call the new functions.
36850         * sysdeps/i386/fpu/libm-test-ulps: Update.
36851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36853 2012-03-01  Chris Demetriou  <cgd@google.com>
36855         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36856         have predictable order.
36858 2012-03-01  David S. Miller  <davem@davemloft.net>
36860         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36862         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36863         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36864         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36865         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36867         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36868         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36869         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36871         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36872         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36873         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36874         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36875         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36879         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36880         * sysdeps/sparc/fpu/libm-test-ulps: to here.
36881         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36883         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36884         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36885         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36886         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36887         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36889         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36890         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36891         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36892         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36893         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36894         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36895         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36896         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36897         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36899         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36900         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36901         * sysdeps/sparc/elf/configure: Regenerated.
36903 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
36905         * configure.in (AS, LD): Require binutils 2.20 or later.
36906         * configure: Regenerated.
36907         * manual/install.texi (Tools for Compilation): Give binutils 2.20
36908         as required minimum version.
36909         * INSTALL: Regenerated.
36911         [BZ #2541]
36912         [BZ #4108]
36913         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36914         before squaring exponent.
36915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36916         bottom long double and 27 bits of top long double before squaring
36917         exponent.
36918         * math/libm-test.inc (erfc_test): Add more tests.
36919         * sysdeps/i386/fpu/libm-test-ulps: Update.
36920         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36923 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36925         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36926         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36927         containing bit-fields.
36928         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36929         * soft-fp/single.h (_FP_UNION_S): Likewise.
36930         * soft-fp/double.h (_FP_UNION_D): Likewise.
36932 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36934         [BZ #13786]
36935         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36936         not include ../strcmp.S.
36937         [USE_AS_STRNCASECMP_L]: Likewise.
36938         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36939         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36940         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36941         (__strncasecmp_l_ia32): Define as alias to
36942         __strncasecmp_l_nonascii.
36944         [BZ #5794]
36945         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36946         * sysdeps/i386/fpu/libm-test-ulps: Update.
36947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36949         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36952 2012-02-29  Jeff Law  <law@redhat.com>
36954         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36955         out of bounds read.
36957 2012-02-29  Marek Polacek  <polacek@redhat.com>
36959         [BZ #13706]
36960         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36961         * elf/Makefile: Add rules to run tst-unused-dep.out.
36963 2012-02-28  David S. Miller  <davem@davemloft.net>
36965         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36966         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36967         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36968         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36969         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36970         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36972 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36974         * math/libm-test.inc (llround_test): Move one test from
36975         lround_test.  Use TEST_f_L in moved test.
36976         (lround_test): Move misplaced test to llround_test.  Add testcase
36977         from bug 2561.
36979 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36981         * sysdeps/x86_64/fpu/e_expf.S: New file.
36982         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36984 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36986         [BZ #13637]
36987         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36988         of remain_len that may cause incomplete multi-byte character and
36989         false match.
36990         * posix/bug-regex33.c: New file.
36991         * posix/Makefile (tests): Add bug-regex33.
36993 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36995         * manual/macros.texi: New file.
36996         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36997         * manual/libc.texinfo: Include macros.texi.
36998         * manual/creatute.texi: Likewise.
36999         * manual/install.texi: Likewise.
37000         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37001         @glibcadj{} in references to the GNU C Library.
37002         * manual/charset.texi: Likewise.
37003         * manual/conf.texi: Likewise.
37004         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37005         when not using those macros.
37006         * manual/creature.texi: Likewise.
37007         * manual/crypt.texi: Likewise.
37008         * manual/errno.texi: Likewise.
37009         * manual/filesys.texi: Likewise.
37010         * manual/header.texi: Likewise.
37011         * manual/install.texi: Likewise.
37012         * manual/intro.texi: Likewise.
37013         * manual/io.texi: Likewise.
37014         * manual/job.texi: Likewise.
37015         * manual/lang.texi: Likewise.
37016         * manual/libc.texiinfo: Likewise.
37017         * manual/llio.texi: Likewise.
37018         * manual/locale.texi: Likewise.
37019         * manual/maint.texi: Likewise.
37020         * manual/math.texi: Likewise.
37021         * manual/memory.texi: Likewise.
37022         * manual/message.texi: Likewise.
37023         * manual/nss.texi: Likewise.
37024         * manual/pattern.texi: Likewise.
37025         * manual/process.texi: Likewise.
37026         * manual/resource.texi: Likewise.
37027         * manual/search.texi: Likewise.
37028         * manual/setjmp.texi: Likewise.
37029         * manual/signal.texi: Likewise.
37030         * manual/socket.texi: Likewise.
37031         * manual/startup.texi: Likewise.
37032         * manual/stdio.texi: Likewise.
37033         * manual/string.texi: Likewise.
37034         * manual/sysinfo.texi: Likewise.
37035         * manual/syslog.texi: Likewise.
37036         * manual/terminal.texi: Likewise.
37037         * manual/time.texi: Likewise.
37038         * manual/users.texi: Likewise.
37039         * INSTALL: Regenerated.
37040         * NOTES: Regenerated.
37041         * sysdeps/gnu/errlist.c: Regenerated.
37043 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37045         * include/dirent.h: Include <dirstream.h> before
37046         <dirent/dirent.h>.
37048 2012-02-28  David S. Miller  <davem@davemloft.net>
37050         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37051         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37052         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37053         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37055 2012-02-27  David S. Miller  <davem@davemloft.net>
37057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37059         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37060         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37063         frame pointer instead of stack pointer relative arg slot.
37064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37065         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37066         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37068 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37070         [BZ #3992]
37071         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37073 2012-02-27  David S. Miller  <davem@davemloft.net>
37075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37079         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37080         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37081         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37082         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37084 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37086         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37087         later.  Allow versions 5-9.
37088         * configure: Regenerated.
37089         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37090         required minimum version and 4.6 as recommended version.  Do not
37091         mention bugs in GCC 2.7 and 2.8.
37092         * INSTALL: Regenerated.
37094 2012-02-27  David S. Miller  <davem@davemloft.net>
37096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37100         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37101         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37102         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37103         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37105         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37106         manipulate bits before adding and subtracting TWO112[sx].
37107         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37109 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37111         [BZ #13775]
37112         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37113         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37114         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37115         being in POSIX, because they are in 1003.1-2008.
37117         * rt/tst-aio.c: Include <fcntl.h>.
37118         * rt/tst-aio7.c: Likewise.
37119         * rt/tst-aio64.c: Likewise.
37121         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37123 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37125         * manual/install.texi (--with-headers): Describe headers as
37126         interface headers, not private headers.
37127         (Specific advice for GNU/Linux systems): Describe use of headers
37128         from "make headers_install", not private headers from older
37129         kernels.
37130         * INSTALL: Regenerated.
37131         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37132         Change to 2.6.19.
37133         * sysdeps/unix/sysv/linux/configure: Regenerated.
37135         * manual/llio.texi (fclean): Remove documentation.
37137         * manual/Makefile (libc-texi-generated): New variable.  Include
37138         version.texi.
37139         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37140         $(libc-texi-generated), not duplicated list of files.
37141         (version.texi, stamp-version): New rules.
37142         (realclean): Remove $(libc-texi-generated), not individual files
37143         from that list.  Do not remove dir-add.texinfo.
37144         * manual/libc.texinfo: Comment out uses of edition numbers and
37145         references to printed manual.  Remove last-updated dates.
37146         (EDITION): Comment out.
37147         (ISBN): Likewise.
37148         (VERSION, UPDATED): Remove.
37149         (version.texi): Include.
37151 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37153         * sysdeps/posix/spawni.c: Include <signal.h>.
37154         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37155         * sysdeps/pthread/aio_fsync.c: Likewise.
37157 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37159         * conform/Makefile (tests): Run only when not cross-compiling and
37160         when fast-check is not defined.
37162         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37163         * conform/data/limits.h-data: Fixes for POSIX2008.
37164         * conform/run-conformtest.sh: Run all tests.
37165         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37166         headers.
37167         * include/bits/dlfcn.h: Likewise.
37168         * include/langinfo.h: Likewise.
37169         * include/monetary.h: Likewise.
37170         * include/sys/poll.h: Likewise.
37172         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37173         for __USE_GNU.
37174         * posix/spawn.h: Define __need_sigset_t.
37175         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37176         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37177         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37178         to get sigevent_t only.
37179         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37180         only for __USE_GNU.
37181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37182         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37183         process_vm_writev only for __USE_GNU.
37184         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37186         * conform/Makefile: For now ignore errors from run-conformtest.
37187         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37188         POSIX to avoid namespace pollution.  Don't prepend headers.
37189         * conform/data/aio.h-data: Fixes for POSIX testing.
37190         * conform/data/fcntl.h-data: Likewise.
37191         * conform/data/glob.h-data: Likewise.
37192         * conform/data/grp.h-data: Likewise.
37193         * conform/data/pthread.h-data: Likewise.
37194         * conform/data/pwd.h-data: Likewise.
37195         * conform/data/signal.h-data: Likewise.
37196         * conform/data/spawn.h-data: Likewise.
37197         * conform/data/stdio.h-data: Likewise.
37198         * conform/data/stdlib.h-data: Likewise.
37199         * conform/data/stropts.h-data: Likewise.
37200         * conform/data/sys/mman.h-data: Likewise.
37201         * conform/data/sys/stat.h-data: Likewise.
37202         * conform/data/sys/types.h-data: Likewise.
37203         * conform/data/sys/wait.h-data: Likewise.
37204         * conform/data/time.h-data: Likewise.
37205         * conform/data/unistd.h-data: Likewise.
37206         * conform/data/utime.h-data: Likewise.
37208         * io/sys/stat.h: fchmod was always in POSIX.
37209         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37210         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37211         * rt/aio.h: Define __need_timespec before including <time.h>.
37212         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37213         struct.  Add forward declaration of pthread_attr_t and use it in
37214         sigevent.
37215         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37216         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37217         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37218         always remove CLK_TCK definition.
37220 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37222         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37224 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37226         * conform/run-conformtest.sh: New file.
37227         * conform/Makefile: Run run-conformtest for tests.
37228         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37229         support.
37231         * conform/data/uchar.h-data: New file.
37232         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37233         * conform/data/arpa/inet.h-data: Likewise.
37234         * conform/data/assert.h-data: Likewise.
37235         * conform/data/complex.h-data: Likewise.
37236         * conform/data/cpio.h-data: Likewise.
37237         * conform/data/ctype.h-data: Likewise.
37238         * conform/data/dirent.h-data: Likewise.
37239         * conform/data/dlfcn.h-data: Likewise.
37240         * conform/data/errno.h-data: Likewise.
37241         * conform/data/fcntl.h-data: Likewise.
37242         * conform/data/float.h-data: Likewise.
37243         * conform/data/fmtmsg.h-data: Likewise.
37244         * conform/data/fnmatch.h-data: Likewise.
37245         * conform/data/ftw.h-data: Likewise.
37246         * conform/data/glob.h-data: Likewise.
37247         * conform/data/grp.h-data: Likewise.
37248         * conform/data/iconv.h-data: Likewise.
37249         * conform/data/inttypes.h-data: Likewise.
37250         * conform/data/langinfo.h-data: Likewise.
37251         * conform/data/libgen.h-data: Likewise.
37252         * conform/data/limits.h-data: Likewise.
37253         * conform/data/locale.h-data: Likewise.
37254         * conform/data/math.h-data: Likewise.
37255         * conform/data/monetary.h-data: Likewise.
37256         * conform/data/mqueue.h-data: Likewise.
37257         * conform/data/ndbm.h-data: Likewise.
37258         * conform/data/net/if.h-data: Likewise.
37259         * conform/data/netdb.h-data: Likewise.
37260         * conform/data/netinet/in.h-data: Likewise.
37261         * conform/data/nl_types.h-data: Likewise.
37262         * conform/data/poll.h-data: Likewise.
37263         * conform/data/pthread.h-data: Likewise.
37264         * conform/data/pwd.h-data: Likewise.
37265         * conform/data/regex.h-data: Likewise.
37266         * conform/data/sched.h-data: Likewise.
37267         * conform/data/search.h-data: Likewise.
37268         * conform/data/semaphore.h-data: Likewise.
37269         * conform/data/setjmp.h-data: Likewise.
37270         * conform/data/signal.h-data: Likewise.
37271         * conform/data/spawn.h-data: Likewise.
37272         * conform/data/stdarg.h-data: Likewise.
37273         * conform/data/stdio.h-data: Likewise.
37274         * conform/data/stdlib.h-data: Likewise.
37275         * conform/data/string.h-data: Likewise.
37276         * conform/data/strings.h-data: Likewise.
37277         * conform/data/stropts.h-data: Likewise.
37278         * conform/data/sys/ipc.h-data: Likewise.
37279         * conform/data/sys/mman.h-data: Likewise.
37280         * conform/data/sys/msg.h-data: Likewise.
37281         * conform/data/sys/resource.h-data: Likewise.
37282         * conform/data/sys/select.h-data: Likewise.
37283         * conform/data/sys/sem.h-data: Likewise.
37284         * conform/data/sys/shm.h-data: Likewise.
37285         * conform/data/sys/socket.h-data: Likewise.
37286         * conform/data/sys/stat.h-data: Likewise.
37287         * conform/data/sys/statvfs.h-data: Likewise.
37288         * conform/data/sys/time.h-data: Likewise.
37289         * conform/data/sys/timeb.h-data: Likewise.
37290         * conform/data/sys/times.h-data: Likewise.
37291         * conform/data/sys/types.h-data: Likewise.
37292         * conform/data/sys/uio.h-data: Likewise.
37293         * conform/data/sys/un.h-data: Likewise.
37294         * conform/data/sys/utsname.h-data: Likewise.
37295         * conform/data/sys/wait.h-data: Likewise.
37296         * conform/data/syslog.h-data: Likewise.
37297         * conform/data/tar.h-data: Likewise.
37298         * conform/data/termios.h-data: Likewise.
37299         * conform/data/utime.h-data: Likewise.
37300         * conform/data/utmpx.h-data: Likewise.
37301         * conform/data/varargs.h-data: Likewise.
37302         * conform/data/wchar.h-data: Likewise.
37303         * conform/data/wctype.h-data: Likewise.
37304         * conform/data/wordexp.h-data: Likewise.
37306         * include/stropts.h: New file.
37307         * include/uchar.h: New file.
37308         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37309         * include/assert.h: Likewise.
37310         * include/ctype.h: Likewise.
37311         * include/dirent.h: Likewise.
37312         * include/dlfcn.h: Likewise.
37313         * include/fcntl.h: Likewise.
37314         * include/fnmatch.h: Likewise.
37315         * include/glob.h: Likewise.
37316         * include/grp.h: Likewise.
37317         * include/libio.h: Likewise.
37318         * include/locale.h: Likewise.
37319         * include/math.h: Likewise.
37320         * include/net/if.h: Likewise.
37321         * include/netdb.h: Likewise.
37322         * include/netinet/in.h: Likewise.
37323         * include/pthread.h: Likewise.
37324         * include/pwd.h: Likewise.
37325         * include/regex.h: Likewise.
37326         * include/sched.h: Likewise.
37327         * include/search.h: Likewise.
37328         * include/setjmp.h: Likewise.
37329         * include/signal.h: Likewise.
37330         * include/stdio.h: Likewise.
37331         * include/stdlib.h: Likewise.
37332         * include/string.h: Likewise.
37333         * include/sys/cdefs.h: Likewise.
37334         * include/sys/mman.h: Likewise.
37335         * include/sys/msg.h: Likewise.
37336         * include/sys/resource.h: Likewise.
37337         * include/sys/select.h: Likewise.
37338         * include/sys/socket.h: Likewise.
37339         * include/sys/stat.h: Likewise.
37340         * include/sys/statvfs.h: Likewise.
37341         * include/sys/time.h: Likewise.
37342         * include/sys/times.h: Likewise.
37343         * include/sys/uio.h: Likewise.
37344         * include/sys/utsname.h: Likewise.
37345         * include/sys/wait.h: Likewise.
37346         * include/termios.h: Likewise.
37347         * include/time.h: Likewise.
37348         * include/ulimit.h: Likewise.
37349         * include/unistd.h: Likewise.
37350         * include/utime.h: Likewise.
37351         * include/wchar.h: Likewise.
37352         * include/wctype.h: Likewise.
37353         * include/wordexp.h: Likewise.
37355         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37357         * time/time.h: TIME_UTC must be a macro.
37358         Make timespec_get available for ISO C11 only as well.
37360 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37362         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37363         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37365 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37367         * configure.in: Use -o not -a in test for unsupported multi-arch.
37369 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37371         * manual/texinfo.tex: Update to version 2012-01-19.16.
37373 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37375         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37377 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37379         [BZ #13738]
37380         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37381         * manual/fdl-1.3.texi: New file.
37382         * manual/fdl-1.1.texi: File removed.
37384         [BZ #13738]
37385         * manual/libc.texinfo (FDL_VERSION): New @set.
37386         Use it for mention of FDL in cover text.
37387         (Documentation License): Use it in @include file name.
37389 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37390             Roland McGrath  <roland@hack.frob.com>
37392         [BZ #5461]
37393         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37394         (not LONG_LONG_MAX and LONG_LONG_MIN.
37395         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37396         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37397         name.
37398         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37400 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37402         [BZ #2547]
37403         [BZ #11365]
37404         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37405         manipulate bits before adding and subtracting TWO23[sx].
37406         * math/libm-test.inc (nearbyint_test): Add more tests.
37408 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37410         [BZ #2548]
37411         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37412         bits before adding and subtracting TWO23[sx].
37413         * math/libm-test.inc (rint_test): Add more tests.
37414         (rint_test_tonearest): Likewise.
37415         (rint_test_towardzero): Likewise.
37416         (rint_test_downward): Likewise.
37417         (rint_test_upward: Likewise.
37419 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37421         [BZ #10110]
37422         * include/stdc-predef.h: New file.  Extracted from features.h.
37423         * include/features.h: Include stdc-predef.h.
37424         * Makefile (headers): Add stdc-predef.h.
37425         * CONFORMANCE (Compiler limitations): Update.
37427 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37429         * manual/libc.texinfo (VERSION, UPDATED): Revert.
37431 2012-02-21  David S. Miller  <davem@davemloft.net>
37433         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37434         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37436 2012-02-20  David S. Miller  <davem@davemloft.net>
37438         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37439         using a normal save/restore sequence, rather than allocating a
37440         dummy stack frame just to store a frame pointer and restore.
37441         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37443 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37445         * manual/install.texi: Fix stray word in line-wrapped comment.
37447 2012-02-20  David S. Miller  <davem@davemloft.net>
37449         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37450         both binutils and gcc support GOTDATA.
37452         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37453         "rd %pc" in the PIC register setup sequences.
37455         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37456         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37457         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37458         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37459         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37460         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37461         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37462         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37464         (SYSCALL_ERROR_HANDLER): Likewise.
37465         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37466         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37468         (SYSCALL_ERROR_HANDLER): Likewise.
37470         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37471         (HAVE_GCC_GOTDATA): New.
37472         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37473         relocation support in both binutils and gcc.
37474         * sysdeps/sparc/elf/configure: Regenerate.
37476         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37477         * sysdeps/sparc/sparc32/elf/configure: Delete.
37478         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37479         * sysdeps/sparc/sparc64/elf/configure: Delete.
37480         * sysdeps/sparc/elf/configure.in: New file.
37481         * sysdeps/sparc/elf/configure: Generate.
37483         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37484         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37485         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37486         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37487         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37489 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37491         * manual/install.texi: Do not mention specific glibc version
37492         numbers.
37493         * manual/libc.texinfo (VERSION, UPDATED): Update.
37494         (@copying): Use @copyright{} and range of years.
37496 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37498         [BZ #13695]
37499         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37500         [crti.S not in sysdirs] (generated): Do not append.
37501         [crti.S not in sysdirs] (omit-deps): Likewise.
37502         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37503         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37504         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37505         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37506         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37507         Likewise.
37508         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37509         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37510         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37511         * csu/defs.awk: Remove file.
37512         * sysdeps/generic/initfini.c: Likewise.
37513         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37514         variable.
37515         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37516         Likewise.
37518 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37520         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37521         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37522         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37523         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37524         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37525         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37526         <bits/epoll.h>.
37527         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37528         (__EPOLL_PACKED): Define to empty if not defined by
37529         <bits/epoll.h>.
37530         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37532         bits/epoll.h.
37534 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37536         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37537         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37538         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37539         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37540         <bits/timerfd.h>.
37541         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37543         bits/timerfd.h.
37545 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37547         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37548         in C locale.
37549         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37550         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37551         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37554 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
37556         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37557         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37559 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
37561         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37562         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37563         defined.
37564         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37565         Likewise.
37566         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37567         entry for 2.16.
37569 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
37571         * math/w_acos.c: Use non-signaling floating-point comparisons.
37572         * math/w_acosf.c: Likewise.
37573         * math/w_acosh.c: Likewise.
37574         * math/w_acoshf.c: Likewise.
37575         * math/w_acoshl.c: Likewise.
37576         * math/w_acosl.c: Likewise.
37577         * math/w_asin.c: Likewise.
37578         * math/w_asinf.c: Likewise.
37579         * math/w_asinl.c: Likewise.
37580         * math/w_atanh.c: Likewise.
37581         * math/w_atanhf.c: Likewise.
37582         * math/w_atanhl.c: Likewise.
37583         * math/w_exp2.c: Likewise.
37584         * math/w_exp2f.c: Likewise.
37585         * math/w_exp2l.c: Likewise.
37586         * math/w_j0.c: Likewise.
37587         * math/w_j0f.c: Likewise.
37588         * math/w_j0l.c: Likewise.
37589         * math/w_j1.c: Likewise.
37590         * math/w_j1f.c: Likewise.
37591         * math/w_j1l.c: Likewise.
37592         * math/w_jn.c: Likewise.
37593         * math/w_jnf.c: Likewise.
37594         * math/w_log.c: Likewise.
37595         * math/w_log10.c: Likewise.
37596         * math/w_log10f.c: Likewise.
37597         * math/w_log10l.c: Likewise.
37598         * math/w_log2.c: Likewise.
37599         * math/w_log2f.c: Likewise.
37600         * math/w_log2l.c: Likewise.
37601         * math/w_logf.c: Likewise.
37602         * math/w_logl.c: Likewise.
37603         * math/w_sqrt.c: Likewise.
37604         * math/w_sqrtf.c: Likewise.
37605         * math/w_sqrtl.c: Likewise.
37606         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37607         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37608         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37609         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37610         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37612 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37614         [BZ #9739]
37615         * manual/string.texi (strnlen): Use correct parameter name in
37616         equivalent expression.
37618 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37620         [BZ #11174]
37621         * manual/users.texi (seteuid): Consistently use neweuid for
37622         argument name.
37624 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37626         [BZ #13704]
37627         * manual/nss.texi (Services in the NSS configuration): Correct
37628         list of services in example configuration file.
37630 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37632         [BZ #11322]
37633         * manual/arith.texi: Remove statements about negative zero
37634         behaving identically to zero.
37636 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37638         [BZ #5993]
37639         * manual/install.texi: Do not document upgrading from libc5.
37641 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37643         [BZ #4596]
37644         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37646 2012-02-18  David S. Miller  <davem@davemloft.net>
37648         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37649         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37650         %o7 across the call.
37651         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37652         instead.
37653         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37654         SETUP_PIC_REG_LEAF.
37655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37656         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37657         * sysdeps/sparc/crtn.S: Likewise.
37659 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37661         * aout/Makefile: Remove.
37663 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37665         [BZ #13058]
37666         * manual/examples/argp-ex1.c (main): Format definition in GNU
37667         style.
37668         * manual/examples/argp-ex2.c (main): Likewise.
37669         * manual/examples/argp-ex3.c (main): Likewise.
37670         * manual/examples/argp-ex4.c (main): Likewise.
37671         * manual/examples/longopt.c (main): Use new-style prototype
37672         definition.
37673         * manual/examples/strncat.c (main): Specify return type and use
37674         (void) for arguments.
37675         * manual/examples/subopt.c (main): Use char **argv argument.
37677 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37679         [BZ #5077]
37680         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37681         rounding modes.
37683 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37685         [BZ #6907]
37686         * manual/string.texi (strchr): Change when strchrnul is
37687         recommended.
37689 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37691         [BZ #174]
37692         * manual/locale.texi (setlocale): Document LOCPATH.
37694 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37696         [BZ #10210]
37697         * manual/process.texi (execle): Move @dots{} before last argument.
37699 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37701         [BZ #12047]
37702         * manual/charset.texi (Generic Charset Conversion): Fix typo
37703         (LC_TYPE -> LC_CTYPE).
37705 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
37707         [BZ #5805]
37708         * manual/arith.texi (scalbn): Use @var{} on parameter names.
37709         (scalbnf): Likewise.
37710         (scalbnl): Likewise.
37711         (scalbln): Likewise.
37712         (scalblnf): Likewise.
37713         (scalblnl): Likewise.
37714         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37715         (vwarnx): Likewise.
37716         (verr): Likewise.
37717         (verrx): Likewise.
37718         * manual/filesys.texi (telldir): Use braces around return type.
37719         * manual/llio.texi (mmap): Add space after comma.
37720         (mmap64): Likewise.
37721         * manual/math.texi (jn): Use @var{} on parameter names.
37722         (jnf): Likewise.
37723         (jnl): Likewise.
37724         (yn): Likewise.
37725         (ynf): Likewise.
37726         (ynl): Likewise.
37727         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37728         line.
37729         * manual/resource.texi (ulimit): Use @dots{} instead of literal
37730         "...".
37731         (sched_get_priority_min): Remove semicolon on @deftypefun line.
37732         (sched_get_priority_max): Likewise.
37733         * manual/signal.texi (sigvec): Add space after comma.
37734         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37735         names.
37736         (if_indextoname): Likewise.
37737         (if_freenameindex): Likewise.
37738         (sendto): Use ',' instead of '.' in prototype.
37739         * manual/startup.texi (syscall): Use @dots{} instead of literal
37740         "...".
37741         * manual/stdio.texi (__fpending): Separate initial words of
37742         paragraph from @deftypefun line.
37743         * manual/syslog.texi (syslog): Use @dots{} instead of literal
37744         "...".
37745         (vsyslog): Use @var{} on parameter names.
37746         * manual/terminal.texi (stty): Use @var{} on parameter names.
37747         * manual/users.texi (getutmp): Use @var{} on parameter names.
37748         (getutmpx): Likewise.
37750 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37752         [BZ #6884]
37753         * manual/stdio.texi (fopen): Fix typos in description of
37754         ",ccs=STRING".
37756 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37758         [BZ #4026]
37759         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37760         get clock_id definition.
37762 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
37764         [BZ #4822]
37765         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37766         (madvise): Cast every argument to void on its own.
37768 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37770         [BZ #9902]
37771         * manual/startup.texi (Exit Status): Fix typo.
37773 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37775         [BZ #10140]
37776         * manual/examples/argp-ex1.c: Include <stdlib.h>.
37777         * manual/examples/argp-ex2.c: Likewise.
37778         * manual/examples/argp-ex3.c: Likewise.
37780 2012-02-16  Richard Henderson  <rth@redhat.com>
37782         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37783         * sysdeps/s390/s390-32/initfini.c: Remove.
37784         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37785         * sysdeps/s390/s390-64/initfini.c: Remove.
37787 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37789         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37790         compiler output for sysdeps/generic/initfini.c.
37791         * sysdeps/sh/elf/initfini.c: Remove file.
37793 2012-02-16  David S. Miller  <davem@davemloft.net>
37795         [BZ #11494]
37796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37798         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37799         * sysdeps/sparc/crti.S: New file.
37800         * sysdeps/sparc/crtn.S: New file.
37801         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37802         * sysdeps/sparc/sparc64/Makefile: Likewise.
37804 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
37806         [BZ #3335]
37807         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37809 2012-02-15  Roland McGrath  <roland@hack.frob.com>
37811         [BZ #4822]
37812         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37814         * mach/devstream.c (cookie_io_functions_t): Macro removed.
37815         (write, read, close): Likewise.
37816         Patch by Aurelien Jarno <aurelien@aurel32.net>.
37818 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
37820         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37821         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37822         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37823         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37824         <bits/signalfd.h>.
37825         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37827         bits/signalfd.h.
37829 2012-02-14  Marek Polacek  <polacek@redhat.com>
37831         * sysdeps/x86_64/crti.S: New file.
37832         * sysdeps/x86_64/crtn.S: New file.
37833         * sysdeps/x86_64/elf/initfini.c: Remove file.
37835 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37837         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37838         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37839         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37840         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37841         <bits/inotify.h>.
37842         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37843         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37844         bits/inotify.h.
37846 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37848         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37849         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37850         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37851         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37852         <bits/eventfd.h>.
37853         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37855         bits/eventfd.h.
37857 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
37859         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37860         __feraiseexcept instead of feraiseexcept.
37862         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37863         nanosleep invocations.
37864         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37865         strings, and add error checking for a nanosleep invocations.
37867 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
37869         Replace FSF snail mail address with URLs, as per GNU coding standards.
37870         Most of the snail mail addresses were wrong anyway, and omitting
37871         them makes the source code easier to maintain.  Almost all of the
37872         changes are to license notices and to locale LC_IDENTIFICATION
37873         addresses, except for this one:
37874         * manual/libc.texinfo: In "Published by", give the FSF's URL,
37875         not its snail mail address.
37877 2012-02-09  Richard Henderson  <rth@twiddle.net>
37879         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37880         of kernel-features.h.
37882         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37884 2012-02-08  Marek Polacek  <polacek@redhat.com>
37886         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37887         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37888         * sysdeps/gnu/_G_config.h: Likewise.
37889         * sysdeps/generic/_G_config.h: Likewise.
37891 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
37893         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37894         tests.
37895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37897         * sysdeps/powerpc/powerpc32/crti.S: New file.
37898         * sysdeps/powerpc/powerpc32/crtn.S: New file.
37899         * sysdeps/powerpc/powerpc64/crti.S: New file.
37900         * sysdeps/powerpc/powerpc64/crtn.S: New file.
37902         * Makeconfig (have-initfini): Don't set.
37903         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37904         * configure.in (nopic_initfini): Don't substitute.
37905         * config.h.in (HAVE_INITFINI): Don't #undef.
37906         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37907         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37909 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
37911         Support crti.S and crtn.S provided directly by architectures.
37912         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37913         [crti.S in sysdirs] (omit-deps): Likewise.
37914         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37915         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37916         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37917         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37918         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37919         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37920         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37921         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37922         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37923         compiler output for sysdeps/generic/initfini.c.
37924         * sysdeps/i386/elf/Makefile: Remove file.
37925         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37927 2012-02-07  Marek Polacek  <polacek@redhat.com>
37929         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37930         * sysdeps/gnu/_G_config.h: Likewise.
37931         * sysdeps/mach/hurd/_G_config.h: Likewise.
37933 2012-02-07  Marek Polacek  <polacek@redhat.com>
37935         * math/Makefile (tests): Add tst-CMPLX2.
37936         * math/tst-CMPLX2.c: New file.
37938 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37940         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37942         * math/libm-test.inc (jn_test): Add missing L suffix.
37944 2012-02-06  Marek Polacek  <polacek@redhat.com>
37946         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37947         * sysdeps/i386/fpu/e_powf.S: Likewise.
37948         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37949         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37950         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37951         * sysdeps/i386/fpu/e_pow.S: Likewise.
37952         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37953         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37954         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37955         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37956         * sysdeps/i386/fpu/e_log2.S: Likewise.
37957         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37958         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37959         * sysdeps/i386/fpu/e_powl.S: Likewise.
37960         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37961         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37962         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37963         * sysdeps/i386/fpu/e_logl.S: Likewise.
37964         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37965         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37966         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37967         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37968         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37969         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37970         * sysdeps/i386/fpu/e_log.S: Likewise.
37971         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37972         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37973         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37974         * sysdeps/i386/fpu/e_logf.S: Likewise.
37975         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37976         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37977         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37978         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37979         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37980         * sysdeps/i386/fpu/e_log10.S: Likewise.
37981         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37982         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37983         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37984         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37985         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37986         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37987         * sysdeps/i386/asm-syntax.h: Likewise.
37988         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37989         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37990         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37991         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37992         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37993         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37994         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37995         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37996         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37997         * sysdeps/powerpc/sysdep.h: Likewise.
37998         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37999         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38001 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38003         [BZ #411]
38004         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38006 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38008         * sysdeps/i386/sysdep.h: Include <features.h>.
38009         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38010         version.
38012 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38014         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38015         Define.
38016         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38017         LOAD_PIC_REG_STR.
38019 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38021         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38022         (SETUP_PIC_REG): Use GET_PC_THUNK.
38023         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38024         macro.
38026 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38028         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38029         for non-PIC compilation.
38030         (SETUP_PIC_REG): Add .p2align directive.
38031         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38032         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38033         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38034         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38035         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38036         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38037         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38038         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38039         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38040         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38041         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38042         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38043         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38044         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38045         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38046         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38047         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38048         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38049         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38050         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38051         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38052         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38053         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38054         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38055         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38056         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38057         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38059         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38060         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38061         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38063         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38064         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38065         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38066         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38067         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38068         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38069         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38070         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38071         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38073 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38075         * math/tst-CMPLX.c: Include <stdio.h>.
38077 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38079         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38080         float.
38081         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38082         * sysdeps/sparc/bits/mathdef.h: Likewise.
38084 2012-01-31  Marek Polacek  <polacek@redhat.com>
38086         * libio/libio.h: Don't define _PARAMS.
38087         * locale/programs/config.h: Don't define PARAMS.
38088         * stdlib/strtol_l.c: Likewise.
38089         (__strtol_l): Remove PARAMS from the prototype.
38091 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38093         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38094         names.  Just use the correct names.  Remove unnecessary wrapper
38095         functions.
38096         * malloc/arena.c: Likewise.
38097         * malloc/hooks.c: Likewise.
38099         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38100         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38101         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38103 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38105         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38106         into tail calls.
38107         (update_get_addr): New function.
38108         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38109         GET_ADDR_MODULE parameter.
38111 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38113         * crypt/cert.c: Remove __STDC__ conditionals.
38114         * crypt/crypt-entry.c: Likewise.
38115         * crypt/crypt_util.c: Likewise.
38116         * libio/filedoalloc.c: Likewise.
38117         * libio/fileops.c: Likewise.
38118         * libio/genops.c: Likewise.
38119         * libio/iofclose.c: Likewise.
38120         * libio/iofdopen.c: Likewise.
38121         * libio/iofopen.c: Likewise.
38122         * libio/iofopen64.c: Likewise.
38123         * libio/iogetdelim.c: Likewise.
38124         * libio/iopopen.c: Likewise.
38125         * libio/obprintf.c: Likewise.
38126         * libio/oldfileops.c: Likewise.
38127         * libio/oldiofclose.c: Likewise.
38128         * libio/oldiofdopen.c: Likewise.
38129         * libio/oldiofopen.c: Likewise.
38130         * libio/oldiopopen.c: Likewise.
38131         * libio/wfiledoalloc.c: Likewise.
38132         * libio/wgenops.c: Likewise.
38133         * locale/programs/xmalloc.c: Likewise.
38134         * misc/syslog.c: Likewise.
38135         * stdio-common/xbug.c: Likewise.
38136         * string/memchr.c: Likewise.
38137         * string/memcmp.c: Likewise.
38138         * string/memrchr.c: Likewise.
38139         * string/rawmemchr.c: Likewise.
38140         * sysdeps/posix/getcwd.c: Likewise.
38141         * time/strftime_l.c: Likewise.
38143 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38145         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38146         * config.make.in (config-cflags-sse2avx): Define.
38147         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38148         Fix typo.
38150 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38152         * scripts/config.guess: Update from upstream config git repository.
38153         * scripts/config.sub: Likewise.
38155 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38157         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38158         (EM_NUM): Update.
38159         (R_TILEPRO_*, R_TILEGX_*): New macros.
38161         * scripts/firstversions.awk: Fix bug in version range handling.
38163         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38165         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38167         * include/sys/epoll.h: New file.
38168         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38169         libc_hidden_def.
38171 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38173         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38174         Avoid unnecessary __WORDSIZE == 64 test.
38175         (fmaxf): Use VEX format if possible.
38176         (fmax): Likewise.
38177         (fminf): Likewise.
38178         (fmin): Likewise.
38180         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38181         * math/math_private.h: Remove libc_fegetround* and
38182         libc_fesetround*.
38183         * sysdeps/i386/configure.in: Check for -msse2avx.
38184         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38185         also if SSE2AVX is defined.
38186         Remove libc_fegetround* and libc_fesetround*.
38187         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38188         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38189         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38190         of HAS_YMM_USABLE.
38191         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38192         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38193         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38194         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38195         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38197         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38199 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38201         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38202         size is not set.
38203         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38205 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38207         [BZ #13618]
38208         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38209         relocation.
38210         * Makeconfig (libm): Define.
38211         * elf/Makefile: Add rules to build and run tst-relsort1.
38212         * elf/tst-relsort1.c: New file.
38213         * elf/tst-relsort1mod1.c: New file.
38214         * elf/tst-relsort1mod2.c: New file.
38216 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38218         * math/s_ldexp.c: Remove __STDC__ conditionals.
38219         * math/s_ldexpf.c: Likewise.
38220         * math/s_ldexpl.c: Likewise.
38221         * math/s_nextafter.c: Likewise.
38222         * math/s_nexttowardf.c: Likewise.
38223         * math/s_significand.c: Likewise.
38224         * math/s_significandf.c: Likewise.
38225         * math/s_significandl.c: Likewise.
38226         * math/w_jnl.c: Likewise.
38227         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38228         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38229         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38230         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38231         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38232         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38233         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38234         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38235         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38236         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38237         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38238         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38239         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38240         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38241         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38242         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38243         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38244         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38246         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38247         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38248         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38249         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38250         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38251         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38252         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38253         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38254         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38255         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38256         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38257         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38258         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38259         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38260         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38261         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38262         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38263         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38264         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38265         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38266         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38267         * sysdeps/ieee754/k_standard.c: Likewise.
38268         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38269         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38270         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38271         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38272         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38273         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38274         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38275         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38276         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38277         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38278         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38279         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38280         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38281         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38282         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38283         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38284         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38285         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38286         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38287         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38288         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38289         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38290         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38291         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38292         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38293         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38297         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38298         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38299         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38300         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38301         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38302         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38303         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38304         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38305         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38306         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38307         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38308         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38310         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38311         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38312         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38313         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38314         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38315         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38316         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38318         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38321         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38322         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38323         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38324         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38325         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38326         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38327         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38328         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38329         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38330         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38331         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38332         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38333         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38334         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38335         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38336         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38337         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38338         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38339         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38340         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38341         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38342         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38343         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38344         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38345         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38346         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38347         * sysdeps/ieee754/s_matherr.c: Likewise.
38348         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38349         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38350         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38351         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38353 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38355         * crypt/md5.h: Remove __STDC__ conditionals.
38356         * libio/libioP.h: Likewise.
38357         * locale/programs/config.h: Likewise.
38358         * sysdeps/generic/sysdep.h: Likewise.
38359         * sysdeps/i386/asm-syntax.h: Likewise.
38360         * sysdeps/s390/asm-syntax.h: Likewise.
38361         * sysdeps/unix/sysdep.h: Likewise.
38362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38365 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38367         * libio/libio.h: Remove __STDC__ conditionals.
38368         * malloc/obstack.h: Likewise.
38369         * math/complex.h: Likewise.
38370         * math/math.h: Likewise.
38371         * sysdeps/generic/_G_config.h: Likewise.
38372         * sysdeps/gnu/_G_config.h: Likewise.
38373         * sysdeps/mach/hurd/_G_config.h: Likewise.
38374         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38375         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38376         * sysdeps/sparc/bits/mathdef.h: Likewise.
38378 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38380         [BZ #13583]
38381         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38382         Clean up HAS_* macros.
38383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38384         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38385         possible.
38386         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38387         HAS_AVX.
38388         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38389         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38390         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38391         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38392         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38394 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38396         * elf/tst-unique3.cc (gets): Remove declaration.
38397         * elf/tst-unique3lib.cc (gets): Likewise.
38398         * elf/tst-unique3lib2.cc (gets): Likewise.
38399         * elf/tst-unique4.cc (gets): Likewise.
38401 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38403         * include/stdio.h: Add C++ protection.  Add gets declarations and
38404         definitions.
38405         * debug/tst-chk1.c: Don't declare gets here.
38406         * stdio-common/tst-gets.c: Likewise.
38408 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38410         * posix/glob: Remove directory.
38412 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38414         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38416 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38418         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38419         of the non-standard EPFNOSUPPORT.
38421 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38423         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38424         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38425         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38427 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38429         * wcsmbs/uchar.h: Test __STDC_VERSION__.
38431 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
38433         * nscd/aicache.c (addhstaiX): Do not cache negative results of
38434         transient errors.
38435         * nscd/grpcache.c (cache_addgr): Likewise.
38436         * nscd/hstcache.c (cache_addhst): Likewise.
38437         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38438         * nscd/pwdcache.c (cache_addpw): Likewise.
38439         * nscd/servicescache.c (cache_addserv): Likewise.
38441 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
38443         * malloc/malloc.c: Various cleanups.
38444         * malloc/hooks.c: Likewise.
38446         * stdlib/Makefile (tests): Add bug-fmtmsg1.
38447         * stdlib/bug-fmtmsg1.c: New file.
38449         * stdlib/fmtmsg.c (init): Add missing unlock.
38450         Patch by Peng Haitao <penght@cn.fujitsu.com>.
38452 2012-01-12  Marek Polacek  <polacek@redhat.com>
38454         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38455         and _GNU_SOURCE.
38457 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38459         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38460         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38461         macro to ensure uniqueness of label name.
38462         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38463         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38465 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
38467         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38469         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38470         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38471         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38472         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38474 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38476         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38478         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38479         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38480         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38482         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38484         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38485         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38486         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38489         * math/bits/math-finite.h: Add ldexp support.
38491 2012-01-10  Marek Polacek  <polacek@redhat.com>
38493         * locale/programs/localedef.h (show_archive_content): Add noreturn
38494         attribute.
38496 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
38498         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38500 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38502         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38504         * io/Makefile (headers): Add bits/poll2.h.
38506 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
38508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38509         typo #include statement.
38511 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38513         * include/sys/cdefs.h: Define __attribute_alloc_size.
38514         * catgets/gencat.c: Add alloc_size attribute and apply consistently
38515         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38516         * elf/pldd.c: Likewise.
38517         * iconv/iconv_charmap.c: Likewise.
38518         * iconv/iconvconfig.c: Likewise.
38519         * iconv/strtab.c: Likewise.
38520         * locale/programs/locale.c: Likewise.
38521         * locale/programs/localedef.h: Likewise.
38522         * locale/programs/simple-hash.c: Likewise.
38523         * nscd/nscd.h: Likewise.
38524         * nss/makedb.c: Likewise.
38525         * sysdeps/generic/ldconfig.h: Likewise.
38526         * locale/programs/localedef.c: Remove xmalloc prototype.
38527         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38529 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38531         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38532         appropriate.
38534 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38536         * math/Makefile (tests): Add tst-CMPLX.
38537         * math/tst-CMPLX.c: New file.
38539         * math/complex.h (CMPLXL): Fix typo.
38541         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38542         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38543         GLIBC_2.16.
38544         * debug/tst-chk1.c: Add poll and ppoll tests.
38545         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38546         * include/sys/poll.h: Add hidden proto for ppoll.
38547         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38548         * sysdeps/mach/hurd/ppoll.c: Likewise.
38549         * io/ppoll.c: Likewise.
38550         * debug/poll_chk.c: New file.
38551         * debug/ppoll_chk.c: New file.
38552         * include/bits/poll2.h: New file.
38553         * io/bits/poll2.h: New file.
38555         [BZ #1350]
38556         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38558         * configure.in: static is always set to yes.  Remove.
38559         * config.make.in: Don't set build-static.
38560         * Makeconfig: Remove use of build-static.
38561         * dlfcn/Makefile: Likewise.
38562         * elf/Makefile: Likewise.
38563         * math/Makefile: Likewise.
38564         * misc/Makefile: Likewise.
38565         * nptl/Makefile: Likewise.
38566         * sysdeps/mach/hurd/Makefile: Likewise.
38568         * configure.in: PWD_P is not used anymore.
38569         * config.make.in: Remove PWD_P entry.
38571         * configure.in: Remove last remnants of RANLIB.
38572         No need to check for signed size_t anymore.
38573         Don't set libc_commonpagesize and libc_relro_required here for Alpha
38574         and IA-64.
38575         Remove __builtin_expect test because we require at least gcc 3.4.
38576         * aclocal.m4: Likewise.
38578         * wcsmbs/mbrtoc16.c: Implement using towc function.
38579         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38580         * wcsmbs/wcsmbsload.c: Likewise.
38581         * iconv/gconv_simple.c: Likewise.
38582         * iconv/gconv_int.h: Likewise.
38583         * iconv/gconv_builtin.h: Likewise.
38584         * iconv/iconv_prog.c: Remove CHAR16 handling.
38586         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38588         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38590         * configure.in: Remove --with-elf and --enable-bounded options.
38591         Dont set base_machine for ia64.  More non-ELF conditions removed.
38592         Remove testing and setting of leading underscore information.
38593         * config.make.in (build-bounded): Set to no.
38594         * config.h.in: Remove NO_UNDERSCORES entry.
38595         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38596         them.
38597         * csu/start.c: Remove !NO_UNDERSCORE code.
38598         * locale/localeinfo.h: Likewise.
38599         * sysdeps/generic/machine-gmon.h: Likewise.
38600         * sysdeps/generic/sysdep.h: Likewise.
38601         * sysdeps/i386/sysdep.h: Likewise.
38602         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38603         * sysdeps/mach/sysdep.h: Likewise.
38604         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38605         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38606         * sysdeps/sh/sysdep.h: Likewise.
38607         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38608         * sysdeps/unix/i386/sysdep.S: Likewise.
38609         * sysdeps/unix/sparc/start.c: Likewise.
38610         * sysdeps/unix/sparc/sysdep.S: Likewise.
38611         * sysdeps/unix/sparc/sysdep.h: Likewise.
38612         * sysdeps/unix/start.c: Likewise.
38613         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38614         * sysdeps/x86_64/sysdep.h: Likewise.
38616 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38618         [BZ #13553]
38619         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38620         for non-gcc.
38621         * argp/argp-fmtstream.h: Use const instead __const.
38622         * argp/argp.h: Likewise.
38623         * assert/assert.h: Likewise.
38624         * bits/fenv.h: Likewise.
38625         * bits/sched.h: Likewise.
38626         * bits/sigset.h: Likewise.
38627         * bits/sigthread.h: Likewise.
38628         * catgets/nl_types.h: Likewise.
38629         * conform/data/pthread.h-data: Likewise.
38630         * crypt/crypt-private.h: Likewise.
38631         * crypt/crypt.h: Likewise.
38632         * crypt/crypt_util.c: Likewise.
38633         * ctype/ctype.h: Likewise.
38634         * debug/execinfo.h: Likewise.
38635         * debug/mbsnrtowcs_chk.c: Likewise.
38636         * debug/mbsrtowcs_chk.c: Likewise.
38637         * debug/wcsnrtombs_chk.c: Likewise.
38638         * debug/wcsrtombs_chk.c: Likewise.
38639         * debug/wcstombs_chk.c: Likewise.
38640         * dirent/dirent.h: Likewise.
38641         * dlfcn/dlfcn.h: Likewise.
38642         * elf/neededtest4.c: Likewise.
38643         * grp/grp.h: Likewise.
38644         * gshadow/gshadow.h: Likewise.
38645         * iconv/gconv.h: Likewise.
38646         * iconv/gconv_int.h: Likewise.
38647         * iconv/gconv_simple.c: Likewise.
38648         * iconv/iconv.h: Likewise.
38649         * iconv/loop.c: Likewise.
38650         * iconv/skeleton.c: Likewise.
38651         * include/aio.h: Likewise.
38652         * include/aliases.h: Likewise.
38653         * include/argz.h: Likewise.
38654         * include/arpa/inet.h: Likewise.
38655         * include/assert.h: Likewise.
38656         * include/dirent.h: Likewise.
38657         * include/dlfcn.h: Likewise.
38658         * include/execinfo.h: Likewise.
38659         * include/fcntl.h: Likewise.
38660         * include/fenv.h: Likewise.
38661         * include/glob.h: Likewise.
38662         * include/grp.h: Likewise.
38663         * include/libintl.h: Likewise.
38664         * include/mntent.h: Likewise.
38665         * include/netdb.h: Likewise.
38666         * include/pwd.h: Likewise.
38667         * include/rpc/netdb.h: Likewise.
38668         * include/sched.h: Likewise.
38669         * include/search.h: Likewise.
38670         * include/shadow.h: Likewise.
38671         * include/signal.h: Likewise.
38672         * include/stdio.h: Likewise.
38673         * include/stdlib.h: Likewise.
38674         * include/string.h: Likewise.
38675         * include/sys/socket.h: Likewise.
38676         * include/sys/stat.h: Likewise.
38677         * include/sys/statfs.h: Likewise.
38678         * include/sys/statvfs.h: Likewise.
38679         * include/sys/syslog.h: Likewise.
38680         * include/sys/time.h: Likewise.
38681         * include/sys/uio.h: Likewise.
38682         * include/time.h: Likewise.
38683         * include/unistd.h: Likewise.
38684         * include/utmp.h: Likewise.
38685         * include/wchar.h: Likewise.
38686         * include/wctype.h: Likewise.
38687         * inet/aliases.h: Likewise.
38688         * inet/arpa/inet.h: Likewise.
38689         * inet/netinet/ether.h: Likewise.
38690         * inet/netinet/in.h: Likewise.
38691         * intl/libintl.h: Likewise.
38692         * io/bits/fcntl2.h: Likewise.
38693         * io/fcntl.h: Likewise.
38694         * io/ftw.h: Likewise.
38695         * io/sys/poll.h: Likewise.
38696         * io/sys/stat.h: Likewise.
38697         * io/sys/statfs.h: Likewise.
38698         * io/sys/statvfs.h: Likewise.
38699         * io/utime.h: Likewise.
38700         * libio/bits/stdio.h: Likewise.
38701         * libio/bits/stdio2.h: Likewise.
38702         * libio/libio.h: Likewise.
38703         * libio/libioP.h: Likewise.
38704         * libio/stdio.h: Likewise.
38705         * locale/lc-ctype.c: Likewise.
38706         * locale/locale.h: Likewise.
38707         * login/utmp.h: Likewise.
38708         * malloc/arena.c: Likewise.
38709         * malloc/malloc.c: Likewise.
38710         * malloc/malloc.h: Likewise.
38711         * malloc/mcheck.c: Likewise.
38712         * malloc/mtrace.c: Likewise.
38713         * math/bits/mathcalls.h: Likewise.
38714         * math/fenv.h: Likewise.
38715         * math/math_private.h: Likewise.
38716         * misc/bits/error.h: Likewise.
38717         * misc/bits/syslog.h: Likewise.
38718         * misc/err.h: Likewise.
38719         * misc/error.h: Likewise.
38720         * misc/fstab.h: Likewise.
38721         * misc/mntent.h: Likewise.
38722         * misc/regexp.h: Likewise.
38723         * misc/search.h: Likewise.
38724         * misc/sgtty.h: Likewise.
38725         * misc/sys/mman.h: Likewise.
38726         * misc/sys/syslog.h: Likewise.
38727         * misc/sys/uio.h: Likewise.
38728         * misc/sys/xattr.h: Likewise.
38729         * misc/ttyent.h: Likewise.
38730         * nis/rpcsvc/ypclnt.h: Likewise.
38731         * nss/nss.h: Likewise.
38732         * posix/bits/unistd.h: Likewise.
38733         * posix/fnmatch.h: Likewise.
38734         * posix/glob.h: Likewise.
38735         * posix/sched.h: Likewise.
38736         * posix/spawn.h: Likewise.
38737         * posix/sys/wait.h: Likewise.
38738         * posix/unistd.h: Likewise.
38739         * posix/wordexp.h: Likewise.
38740         * pwd/pwd.h: Likewise.
38741         * resolv/netdb.h: Likewise.
38742         * resource/sys/resource.h: Likewise.
38743         * rt/aio.h: Likewise.
38744         * rt/bits/mqueue2.h: Likewise.
38745         * rt/mqueue.h: Likewise.
38746         * shadow/shadow.h: Likewise.
38747         * signal/signal.h: Likewise.
38748         * socket/send.c: Likewise.
38749         * socket/sendto.c: Likewise.
38750         * socket/sys/socket.h: Likewise.
38751         * stdio-common/printf.h: Likewise.
38752         * stdlib/bits/stdlib.h: Likewise.
38753         * stdlib/fmtmsg.h: Likewise.
38754         * stdlib/monetary.h: Likewise.
38755         * stdlib/stdlib.h: Likewise.
38756         * stdlib/ucontext.h: Likewise.
38757         * streams/stropts.h: Likewise.
38758         * string/argz.h: Likewise.
38759         * string/bits/string2.h: Likewise.
38760         * string/string.h: Likewise.
38761         * string/strings.h: Likewise.
38762         * sunrpc/rpc/auth.h: Likewise.
38763         * sunrpc/rpc/auth_des.h: Likewise.
38764         * sunrpc/rpc/clnt.h: Likewise.
38765         * sunrpc/rpc/netdb.h: Likewise.
38766         * sunrpc/rpc/pmap_clnt.h: Likewise.
38767         * sunrpc/rpc/xdr.h: Likewise.
38768         * sysdeps/generic/inttypes.h: Likewise.
38769         * sysdeps/generic/net/if.h: Likewise.
38770         * sysdeps/generic/sys/swap.h: Likewise.
38771         * sysdeps/gnu/net/if.h: Likewise.
38772         * sysdeps/gnu/utmpx.h: Likewise.
38773         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38774         * sysdeps/i386/i486/bits/string.h: Likewise.
38775         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38776         * sysdeps/s390/bits/string.h: Likewise.
38777         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38778         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38779         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38780         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38781         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38782         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38783         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38784         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38785         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38786         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38787         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38788         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38789         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38790         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38791         * sysdeps/unix/sysv/linux/readv.c: Likewise.
38792         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38793         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38795         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38796         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38797         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38798         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38799         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38800         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38801         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38802         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38803         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38804         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38805         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38806         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38807         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38808         * sysvipc/sys/ipc.h: Likewise.
38809         * sysvipc/sys/msg.h: Likewise.
38810         * sysvipc/sys/sem.h: Likewise.
38811         * sysvipc/sys/shm.h: Likewise.
38812         * termios/termios.h: Likewise.
38813         * time/sys/time.h: Likewise.
38814         * time/time.h: Likewise.
38815         * wcsmbs/bits/wchar2.h: Likewise.
38816         * wcsmbs/uchar.h: Likewise.
38817         * wcsmbs/wchar.h: Likewise.
38818         * wctype/wctype.h: Likewise.
38820         [BZ #13551]
38821         * Makeconfig: Remove all but ELF support including AIX support.
38822         * Makerules: Likewise.
38823         * config.h.in: Likewise.
38824         * config.make.in: Likewise.
38825         * configure: Likewise.
38826         * configure.in: Likewise.
38827         * csu/Makefile: Likewise.
38828         * csu/version.c: Likewise.
38829         * debug/Makefile: Likewise.
38830         * dlfcn/Makefile: Likewise.
38831         * elf/Makefile: Likewise.
38832         * extra-lib.mk: Likewise.
38833         * iconv/Makefile: Likewise.
38834         * include/libc-symbols.h: Likewise.
38835         * include/shlib-compat.h: Likewise.
38836         * resolv/Makefile: Likewise.
38837         * resolv/res_libc.c: Likewise.
38838         * rt/Makefile: Likewise.
38839         * sysdeps/i386/asm-syntax.h: Likewise.
38840         * sysdeps/i386/sysdep.h: Likewise.
38841         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38842         * sysdeps/mach/sysdep.h: Likewise.
38843         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38844         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38845         * sysdeps/s390/asm-syntax.h: Likewise.
38846         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38847         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38848         * sysdeps/sh/sysdep.h: Likewise.
38849         * sysdeps/unix/sparc/sysdep.h: Likewise.
38850         * sysdeps/wordsize-32/divdi3.c: Likewise.
38851         * sysdeps/x86_64/sysdep.h: Likewise.
38853         * argp/Versions: Remove _argp_unlock_xxx.
38855         [BZ #13559]
38856         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
38857         * abilist/libBrokenLocale.abilist: Likewise.
38858         * abilist/libanl.abilist: Likewise.
38859         * abilist/libc.abilist: Likewise.
38860         * abilist/libcrypt.abilist: Likewise.
38861         * abilist/libdl.abilist: Likewise.
38862         * abilist/libm.abilist: Likewise.
38863         * abilist/libnsl.abilist: Likewise.
38864         * abilist/libpthread.abilist: Likewise.
38865         * abilist/libresolv.abilist: Likewise.
38866         * abilist/librt.abilist: Likewise.
38867         * abilist/libthread_db.abilist: Likewise.
38868         * abilist/libutil.abilist: Likewise.
38869         * abilist/libnss_db.abilist: New file.
38871         * scripts/abilist.awk: Add support for indirect functions.
38873         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38875         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38877         * shlib-versions: Remove entries for ports architectures.
38879         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
38880         files in ports.
38881         * elf/stackguard-macros.h: Remove support for IA-64.
38882         * elf/tst-auditmod1.c: Likewise.
38883         * sysdeps/generic/ldsodefs.h: Likewise.
38885         * sysdeps/unix/sysv/linux/configure.in: Ports should define
38886         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38887         configure files.
38889         [BZ #13552]
38890         * configure.in: Remove --enable-omitfp support.
38891         * FAQ.in: Adjust.
38892         * config.make.in: Likewise.
38893         * Makeconfig: Likewise.
38894         * manual/install.texi: Likewise.
38896         In case anyone cares, the IA-64 architecture could move to ports.
38897         * sysdeps/ia64/*: Removed.
38898         * sysdeps/unix/sysv/linux/ia64/*: Removed.
38899         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38901         [BZ #13555]
38902         * configure.in: Remove entries for unsupported architectures.
38904         [BZ #13533]
38905         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38906         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
38907         routines.
38908         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38909         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38910         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
38911         fall back to using wcrtomb.
38912         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38913         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38914         renaming.
38915         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38916         * wcsmbs/tst-c16c32-1.c: New file.
38918         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38919         local variable.
38921         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38923         * elf/tst-unique3.cc: Add explicit declaration of gets.
38924         * elf/tst-unique3lib.cc: Likewise.
38925         * elf/tst-unique3lib2.cc: Likewise.
38926         * elf/tst-unique4.cc: Likewise.
38928         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38930 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38932         [BZ #13566]
38933         * assert/assert.h (static_assert): Don't define for C++.
38934         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38935         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38937 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38939         * iconv/loop.c (single loop): Fix assertion in storing of
38940         remaining bytes.
38942         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38944 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38946         * posix/getconf.c: Update copyright year.
38947         * nss/getent.c: Likewise.
38948         * nss/makedb.c: Likewise.
38949         * iconv/iconvconfig.c: Likewise.
38950         * iconv/iconv_prog.c: Likewise.
38951         * elf/ldconfig.c: Likewise.
38952         * elf/pldd.c: Likewise.
38953         * elf/sotruss.ksh: Likewise.
38954         * catgets/gencat.c: Likewise.
38955         * csu/version.c: Likewise.
38956         * elf/ldd.bash.in: Likewise.
38957         * elf/sprof.c (print_version): Likewise.
38958         * locale/programs/locale.c: Likewise.
38959         * locale/programs/localedef.c: Likewise.
38960         * login/programs/pt_chown.c: Likewise.
38961         * nscd/nscd.c (print_version): Likewise.
38962         * debug/xtrace.sh: Likewise.
38963         * malloc/memusage.sh: Likewise.
38964         * malloc/mtrace.pl: Likewise.
38965         * debug/catchsegv.sh: Likewise.
38967 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38969         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38970         pure attribute.
38972 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38974         [BZ #13533]
38975         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38976         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38977         transformations.
38978         * iconv/gconv_int.h: Likewise.
38979         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38980         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38981         from libc for GLIBC_2.16.
38982         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38983         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38984         * wcsmbs/uchar.h: Really define mbstate_t.
38985         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38986         * wcsmbs/c16rtomb.c: New file.
38987         * wcsmbs/mbrtoc16.c: New file.
38988         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38989         for C/POSIX locale.
38990         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38991         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38993         * wcsmbs/wchar.h: Add missing __restrict.
38995 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38997         [BZ #13532]
38998         * time/Makefile (routines): Add timespec_get.
38999         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39000         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39001         timespec for ISO C11.
39002         * time/timespec_get.c: New file.
39003         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39004         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39006         [BZ #13531]
39007         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39008         * stdlib/stdlib.h: Declare aligned_alloc.
39009         * Versions.def: Add GLIBC_2.16 for libc.
39010         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39012         [BZ 13527]
39013         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39014         ISO C11.
39016         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39017         code.
39019         [BZ #13528]
39020         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39022         [BZ #13529]
39023         * assert/assert.h (static_assert): Define.
39025         * version.h: Update for 2.16 development version.
39027         [BZ #13526]
39028         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39029         _ISOC11_SOURCE.
39031         * version.h (RELEASE): Bump for 2.15 release.
39032         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39034         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39035         Patch by Marek Polacek <mpolacek@redhat.com>.
39037         * bits/byteswap.h: Protect long long constants with __extension__.
39038         * sysdeps/i386/bits/byteswap.h: Likewise.
39039         * sysdeps/ia64/bits/byteswap.h: Likewise.
39040         * sysdeps/s390/bits/byteswap.h: Likewise.
39041         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39043 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39045         [BZ #13540]
39046         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39047         destination buffer.
39048         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39050 2011-12-23  Marek Polacek  <polacek@redhat.com>
39052         * elf/dl-addr.c (determine_info): Add inline keyword.
39053         * elf/tst-auditmod4b.c (check_avx): Likewise.
39054         * elf/tst-auditmod6b.c (check_avx): Likewise.
39055         * elf/tst-auditmod6c.c (check_avx): Likewise.
39056         * elf/tst-auditmod7b.c (check_avx): Likewise.
39058 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39060         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39061         !__SSE_MATH__.
39063 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39065         [BZ #13540]
39066         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39067         processing for last bytes.
39069 2011-08-06  Bruno Haible  <bruno@clisp.org>
39071         [BZ #13061]
39072         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39073         U+0385, not to U+1FEE.
39075         [BZ #13062]
39076         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39077         entry for U+00A5 U+0301.
39079 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39081         [BZ #13166]
39082         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39083         buffer for the output is too small.
39085         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39086         optimization.
39088         [BZ #13185]
39089         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39090         SSE flags if possible.
39092 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39094         [BZ #13540]
39095         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39096         processing for last bytes.
39098 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39100         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39101         (syscall-list-default-options, syscall-list-default-condition)
39102         (syscall-list-includes): Define.
39103         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39104         list of ABIs and options and #if conditions for each ABI.  Do not
39105         handle common syscalls between ABIs specially.
39106         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39107         Remove.
39108         (syscall-list-variants, syscall-list-32bit-options)
39109         (syscall-list-32bit-condition, syscall-list-64bit-options)
39110         (syscall-list-64bit-condition): Define.
39111         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39112         (syscall-list-variants, syscall-list-32bit-options)
39113         (syscall-list-32bit-condition, syscall-list-64bit-options)
39114         (syscall-list-64bit-condition): Define.
39115         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39116         Remove.
39117         (syscall-list-variants, syscall-list-32bit-options)
39118         (syscall-list-32bit-condition, syscall-list-64bit-options)
39119         (syscall-list-64bit-condition): Define.
39120         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39121         Remove.
39122         (syscall-list-variants, syscall-list-32bit-options)
39123         (syscall-list-32bit-condition, syscall-list-64bit-options)
39124         (syscall-list-64bit-condition): Define.
39126 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39128         * locale/iso-639.def: Add brx entry.
39130         [BZ #13328]
39131         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39132         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39134         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39135         __feraiseexcept_renamed.
39137 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39139         [BZ #13538]
39140         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39141         EPOLLET with unsigned values.
39142         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39143         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39145         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39146         to large cancellation.
39147         * math/s_cacoshf.c: Likewise.
39148         * math/s_cacoshl.c: Likewise.
39150 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39152         [BZ #13305]
39153         [BZ #12786]
39154         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39155         * math/s_cacoshf.c: Likewise.
39156         * math/s_cacoshl.c: Likewise.
39158 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39160         [BZ #13439]
39161         * iconv/gconv.h: Define __GCONV_SWAP.
39162         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39163         * iconvdata/utf-16.c: Likewise.
39164         * iconvdata/utf-32.c: Likewise.
39166 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39168         [BZ #13524]
39169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39170         numerator after shifting it by one limb.
39172 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39174         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39175         under [__USE_EXTERN_INLINES].
39177 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39179         [BZ #13446]
39180         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39182 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39184         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39185         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39186         optimized code.
39187         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39188         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39189         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39190         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39191         for strncasecmp/strncasecmp_l compilation.
39192         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39193         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39195 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39197         [BZ #13484]
39198         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39199         of __asm__.
39201 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39203         [BZ #13506]
39204         * time/tzfile.c (__tzfile_read): Check values from file header.
39206 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39208         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39209         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39210         * powerpc/powerpc32/dl-start.S: Likewise.
39211         * powerpc/powerpc32/elf/start.S: Likewise.
39212         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39213         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39214         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39215         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39216         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39217         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39218         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39219         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39220         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39221         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39222         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39223         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39224         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39225         * powerpc/powerpc32/memset.S: Likewise.
39226         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39227         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39228         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39229         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39230         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39231         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39232         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39233         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39234         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39235         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39236         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39237         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39238         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39240 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39242         * math/libm-test.inc: Added more nearbyint tests.
39243         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39244         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39245         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39246         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39248 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39250         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39251         FD_CLOEXEC.
39253 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39255         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39256         Add wcscpy-ssse3 wcscpy-c.
39257         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39258         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39259         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39260         * sysdeps/x86_64/wcschr.S: New file.
39261         * sysdeps/x86_64/wcsrchr.S: New file.
39262         * string/test-strcmp.c: Remove checking of wcscmp function for
39263         wrong alignments.
39264         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39265         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39266         wcsrchr-sse2 wcsrchr-c.
39267         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39268         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39269         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39270         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39271         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39272         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39273         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39274         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39275         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39276         * wcsmbc/wcschr.c (WCSCHR): New macro.
39278 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39280         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39281         * wcsmbs/test-wcsrchr.c: New file.
39282         * string/test-strrchr.c: Add wcsrchr support.
39283         (WIDE): New macro.
39284         * wcsmbs/test-wcscpy.c: New file.
39285         * string/test-strcpy.c: Add wcscpy support.
39286         (WIDE): New macro.
39288 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39290         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39291         the inner loop.
39293 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39295         [BZ #13472]
39296         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39298 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39300         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39301         Minor optimizations.
39303         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39304         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39305         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39307 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39309         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39310         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39311         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39312         for gcc to avoid warnings.
39313         * inet/Makefile (tests): Add tst-checks.
39314         * inet/tst-checks.c: New file.
39316         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39317         warning.
39319         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39320         __wmemcmp_sse2.
39322         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39323         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39325         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39327 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39329         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39330         problem.
39332         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39334 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39336         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39337         conditional on GCC version.
39338         (__arch_compare_and_exchange_val_8_acq)
39339         (__arch_compare_and_exchange_val_16_acq)
39340         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39341         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39342         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39344 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39346         * sysdeps/sh/backtrace.c: New file.
39348 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39350         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39351         parenthesis.
39353 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39355         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39356         falling back to utime.
39358 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39360         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39361         expectations for float.
39363 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39365         * locale/weight.h (findidx): Add parameter len.
39366         * locale/weightwc.h (findidx): Likewise.
39367         * posix/fnmatch_loop.c (FCT): Adjust caller.
39368         * posix/regcomp.c (build_equiv_class): Likewise.
39369         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39370         * posix/regexec.c (check_node_accept_bytes): Likewise.
39371         * string/strcoll_l.c (STRCOLL): Likewise.
39372         * string/strxfrm_l.c (STRXFRM): Likewise.
39374 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39376         * Makefile.in: Remove CVSOPT handling.
39377         * configure.in: Remove use of AC_REVISION.
39378         * iconvdata/Makefile (distribute): No need to filter out CVS.
39379         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39380         handling.
39382 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39384         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39385         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39386         [USE_AS_STRNCASECMP_L]: Likewise.
39387         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39388         NO_TLS_DIRECT_SEG_REFS.
39389         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39390         Fix argument offsets for non-PIC.
39391         [USE_AS_STRNCASECMP_L]: Likewise.
39392         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39393         NO_TLS_DIRECT_SEG_REFS.
39395 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39397         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39398         O_CLOEXEC.
39399         * locale/loadlocale.c (_nl_load_locale): Likewise.
39401 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39403         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39404         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39405         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39406         (SYSCALL_GETTIME): Set errno on error.
39408         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39409         count references to noai6ai_cached.
39411 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39413         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39415         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39416         FD_CLOEXEC for /proc/self/maps.
39418         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39419         FD_CLOEXEC for /proc/meminfo.
39421         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39422         gai.conf.
39424         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39425         FD_CLOEXEC for given file.
39427         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39429         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39430         FD_CLOEXEC for /etc/hosts.
39431         (_gethtent): Likewise.
39433         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39435         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39436         cancellation and set FD_CLOEXEC for /etc/netgroup.
39438         * nss/nss_files/files-key.c (search): Don't allow cancellation when
39439         reading /etc/publickey.
39441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39442         allow cancellation when reading /etc/group.
39444         * nss/nss_files/files-alias.c (internal_setent): Don't allow
39445         cancellation.
39446         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
39448         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39449         when using data file.
39451         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39453         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39454         (write_nis_obj): Use "c" and "e" in fopen.
39456         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39458         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39460         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39462         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39464         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39465         locale.alias.
39467         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39469         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39471         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39473         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39474         file parsing and set FD_CLOEXEC.
39476 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39478         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39480 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39482         * malloc/arena.c (arena_get2): Don't call reused_arena when
39483         _int_new_arena failed.
39485 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39487         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39488         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39489         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39490         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39491         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39492         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39493         to compile strcasecmp and strncasecmp.
39494         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39495         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39497         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39499 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
39501         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39502         locale-defines.sym to gen-as-const-headers.
39503         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39504         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39505         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39506         to compile strcasecmp and strncasecmp.
39507         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39508         strcasecmp_l and strncasecmp_l.
39509         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39510         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39511         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39512         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39513         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39514         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39515         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39516         * sysdeps/i386/i686/multiarch/strncase.S: New file.
39517         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39518         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39519         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39521 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
39523         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39524         result of SYSDEP_GETTIME_CPU to retval.
39525         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39526         parameter list to macro.  Remove trailing semicolon.  Adjust users.
39528         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39529         variable.
39531         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39532         mantissa words.
39533         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39535         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39536         from unused variable.
39538         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39539         DWARF definitions.
39540         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39541         for assembling.
39543         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39544         over namespaces.
39546         * sunrpc/rpc_prot.c (rejected): Fix case value.
39548         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39549         unsigned long long int to avoid warnings in shift.
39551         * posix/regex_internal.c (re_string_reconstruct): Actually use result
39552         of use of trans.
39553         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39554         variable tmp.
39556         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39557         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39558         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39560         * nis/nis_table.c (nis_list): Use variable of correct type for
39561         result of __follow_path call.
39563 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39565         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39566         of math functions ceil, trunc, floor, round, and sqrt, when
39567         avaliable on the platform.
39568         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39569         name clash.
39570         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39571         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39572         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39574 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
39576         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39577         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39579 2011-11-11  Roland McGrath  <roland@hack.frob.com>
39581         * include/unistd.h: Fix __readlink return type.
39582         Reported by Chris Metcalf <cmetcalf@tilera.com>.
39584 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39586         * stdlib/ucontext.h: Undo last change for makecontext.
39588 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39590         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39592         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39593         * setjmp/setjmp.h: Mark functions as non-leaf.
39594         * setjmp/bits/setjmp2.h: Likewise.
39595         * stdlib/ucontext.h: Likewise.
39597 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39599         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39600         (reused_arena): Don't check arena limit.
39601         (arena_get2): Atomically check arena limit.
39603 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39605         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39606         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39609         instructions.
39611 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39613         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39614         handler when locking.
39616         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39617         Fix size of allocated buffer.
39619 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39621         [BZ #10103]
39622         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39623         declarations for long double functions.
39624         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39626         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39628 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39630         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39631         installed.
39633         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39634         is disabled.
39636 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39638         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39640 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39642         * include/alloca.h (stackinfo_alloca_round): Define.
39643         (extend_alloca): Use it.
39644         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39645         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39646         here.
39648         * scripts/check-local-headers.sh: Ignore libaudit.h.
39650         * nscd/Makefile (extra-objs): Make recursively expanded.
39652 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39654         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39655         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39657         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39658         * posix/tst-rfc3484-2.c: Likewise.
39659         * posix/tst-rfc3484-3.c: Likewise.
39661         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39662         process_vm_writev.
39663         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39664         process_vm_writev.
39665         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39666         process_vm_writev from libc using GLIBC_2.15 version.
39668         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39670 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39672         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39673         stack usage.
39675 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39677         [BZ #13367]
39678         * nss/getent.c (initgroups_keys): Show error message in case no group
39679         names are given.
39681         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39682         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39683         __bump_nl_timestamp.
39684         * nscd/connections (nscd_init): When host database is served open
39685         netlink socket and request notification about configuration changes.
39686         (main_loop_poll): Track netlink file descriptor and bump timestamp
39687         in case data becomes available.
39688         (main_loop_epoll): Likewise.
39689         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39690         (database_pers_head): Add extra_data fileds.
39691         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39692         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39693         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39694         Adjust caller.
39695         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39696         in6ai data, call __free_in6ai.
39697         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39698         Add -DHAVE_NETLINK.
39699         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39700         interface information.  Reuse previous data if netlink timestamp
39701         is not changed.
39702         (__bump_nl_timestamp): New function.
39703         (__free_in6ai): New function.
39705 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
39707         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39708         close_not_cancel_no_status here.
39709         (__check_pf): Reorganize code a bit to not call close twice if OOM.
39711 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39713         [BZ #13276]
39714         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39715         return value.
39717         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39718         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39719         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39721 2011-07-03  Andreas Jaeger  <aj@suse.de>
39723         [BZ #10709]
39724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39725         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39726         * math/libm-test.inc (sin_test): Add test case.
39728 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39730         [BZ #13337]
39731         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39732         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39734         * elf/chroot_canon.c (chroot_canon): Cleanups.
39736         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39738         [BZ #13335]
39739         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39740         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39742         * string/test-strchr.c: Make usable for strchrnul testing.
39743         * string/test-strchrnul.c: New file.
39744         * string/Makefile (strop-tests): Add strchrnul.
39746         * po/it.po: Update from translation team.
39747         * po/es.po: Likewise.
39749 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
39751         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39752         the three constants needed as parameters.  Drop the others.
39753         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39754         __m128i_strloadu_tolower.
39755         Create and initialize variable zero and use it in all the places
39756         where _mm_setzero_si128 was used.
39758         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39759         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39760         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39761         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39762         anymore.
39763         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39764         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39765         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39766         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39767         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39768         __mpranred, __mptan.
39769         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39770         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39771         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39772         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39773         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39774         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39775         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39776         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39777         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39779 2011-10-28  Andreas Schwab  <schwab@redhat.com>
39781         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39782         redefine if SHARED.
39783         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39785         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39786         wide char related routines to wcsmbs subdir.
39788 2011-10-27  Andreas Schwab  <schwab@redhat.com>
39790         [BZ #13344]
39791         * misc/sys/cdefs.h (__THROWNL): Define.
39792         * posix/unistd.h: Use __THREADNL instead of __THREAD
39793         for memory synchronization functions.
39795 2011-10-26  Roland McGrath  <roland@hack.frob.com>
39797         [BZ #13349]
39798         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39799         doesn't exist.
39800         * manual/stdio.texi (Obstack Streams): Node removed.
39802 2011-10-26  Andreas Schwab  <schwab@redhat.com>
39804         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39805         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39806         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39808         * math/math_private.h (math_force_eval): Allow non-addressable
39809         arguments.
39810         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39812 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39814         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39815         file is not needed.
39817         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39818         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39819         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39820         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39822         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39823         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39824         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39825         Add AVX variants.
39826         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39827         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39828         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39829         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39830         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39831         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39832         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39833         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39834         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39835         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39836         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39837         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39838         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39839         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39840         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39841         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39842         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39843         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39844         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39846         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39847         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
39849         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39850         place.  Use VEX encoding when compiling for AVX.
39852 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39854         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39855         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39857         * string/test-strchr.c (do_test): Don't generate NUL bytes.
39859 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39861         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39862         useless if() expression.
39863         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39864         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39865         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39866         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39867         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39868         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39869         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39870         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39871         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39872         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39873         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39874         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39875         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39876         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39877         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39878         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39879         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39880         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39881         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39883         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39885 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39887         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39888         condition.
39889         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39891 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39893         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39894         .text section.  Avoid duplicate constants.
39895         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39896         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39897         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39898         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39899         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39903         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39904         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39905         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39906         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39907         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39908         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39909         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39910         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39911         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39912         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39913         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39915         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39916         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39917         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39918         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39919         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39920         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39921         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39922         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39923         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39924         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39925         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39926         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39927         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39928         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39929         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39930         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39931         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39932         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39933         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39934         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39935         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39936         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39937         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39938         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39939         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39941 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39943         * sysdeps/x86_64/dla.h: Move to ...
39944         * sysdeps/x86_64/fpu/dla.h: ...here.
39945         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39946         situations.  Use __builtin_fma only for gcc 4.6 and up.
39948         * config.make.in: Add have-mfma4 entry.
39949         * configure.in: Substitute libc_cv_cc_fma4.
39950         * math/Makefile (dbl-only-routines): Add sincostab.
39951         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39952         Use __sincostab not sincos.
39953         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39954         name is a macro.
39955         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39957         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39959         using __copysign.
39960         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39961         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39962         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39963         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39964         and __inv.
39965         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39966         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39967         __copysign.
39968         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39969         define aliases when function name is a macro.
39970         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39971         sysdeps/ieee754/dbl-64/sincos.tbl.
39972         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39973         fma4-enabled routines.
39974         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39975         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39976         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39977         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39978         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39979         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39980         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39981         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39982         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39983         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39984         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39985         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39986         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39987         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39988         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39989         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39990         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39991         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39992         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39993         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39994         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39995         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39996         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39997         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39998         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39999         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40000         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40001         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40002         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40003         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40005         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40006         rename.
40007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40008         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40011         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40012         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40013         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40014         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40016 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40018         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40020 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40022         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40024         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40025         prediction.
40026         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40028         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40029         Remove unused variable magic_bits.
40030         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40032         * string/strnlen.c: Define and use STRNLEN macro.
40033         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40034         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40035         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40036         * wcsmbs/wcslen.c: Define and use WCSLEN.
40037         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40038         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40039         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40040         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40041         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40042         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40043         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40045 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40048         strnlen-sse2-no-bsf.
40049         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40050         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40051         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40052         Add strnlen support.
40053         (USE_AS_STRNLEN): New macro.
40054         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40055         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40056         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40057         * sysdeps/x86_64/wcslen.S: New file.
40059 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40061         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40062         XMM-moves are used for copying on small sizes.
40064 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40066         * wcsmbs/Makefile (strop-tests): Add wcschr.
40067         * wcsmbs/test-wcschr.c: New file.
40068         * string/test-strchr.c: Update.
40069         Add wcschr support.
40070         (WIDE): New macro.
40072 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40074         * wcsmbs/Makefile (strop-tests): Add wcslen.
40075         * wcsmbs/test-wcslen.c: New file.
40076         * string/test-strlen.c: Update.
40077         Add wcslen support.
40078         (WIDE): New macro.
40080 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40082         * po/it.po: Update from translation team.
40084 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40086         * sysdeps/x86_64/wcscmp.S: Update.
40087         Fix wrong comparison semantics.
40088         wcscmp shall use signed comparison not unsigned.
40089         Don't use substraction to avoid overflow bug.
40090         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40091         * wcsmbc/wcscmp.c: Likewise.
40092         * string/test-strcmp.c: Likewise.
40093         Add new tests to check cases with negative values.
40095 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40097         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40098         * sysdeps/x86_64/dla.h: ...here.  New file.
40099         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40100         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40102         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40104         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40105         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40106         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40107         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40109 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40111         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40112         __ynl_finite aliases.
40114 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40118         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40119         define DLA_FMA.
40120         [DLA_FMA] (EMULV): Use DLA_FMA.
40121         [DLA_FMA] (MUL12): Use EMULV.
40122         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40123         that are not needed.
40124         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40125         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40126         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40127         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40128         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40129         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40130         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40132 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40134         * math/s_nan.c: Undef __nan.
40135         * math/s_nanf.c: Undef __nanf.
40136         * math/s_nanl.c: Undef __nanl.
40137         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40138         "math_private.h".
40140 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40142         * math/s_catan.c: Add branch predictions.
40143         * math/s_catanf.c: Likewise.
40144         * math/s_catanh.c: Likewise.
40145         * math/s_catanhf.c: Likewise.
40146         * math/s_catanhl.c: Likewise.
40147         * math/s_catanl.c: Likewise.
40148         * math/s_cexp.c: Likewise.
40149         * math/s_cexpf.c: Likewise.
40150         * math/s_cexpl.c: Likewise.
40151         * math/s_clog.c: Likewise.
40152         * math/s_clog10.c: Likewise.
40153         * math/s_clog10f.c: Likewise.
40154         * math/s_clog10l.c: Likewise.
40155         * math/s_clogf.c: Likewise.
40156         * math/s_clogl.c: Likewise.
40157         * math/s_csqrt.c: Likewise.
40158         * math/s_csqrtf.c: Likewise.
40159         * math/s_csqrtl.c: Likewise.
40160         * math/s_ctanf.c: Likewise.
40161         * math/s_ctanh.c: Likewise.
40162         * math/s_ctanhf.c: Likewise.
40163         * math/s_ctanhl.c: Likewise.
40164         * math/s_ctanl.c: Likewise.
40166         * math/math_private.h: Define __nan, __nanf, __nanl.
40167         * math/s_cacosh.c: Include <math_private.h>.
40168         * math/s_cacoshl.c: Likewise.
40169         * math/s_casinh.c: Likewise.
40170         * math/s_casinhf.c: Likewise.
40171         * math/s_casinhl.c: Likewise.
40172         * math/s_ccos.c: Rely entire on ccosh.
40173         * math/s_ccosf.c: Rely entire on ccoshf.
40174         * math/s_ccosl.c: Rely entirely on ccoshl.
40175         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40176         Remove tests for FE_INVALID.
40177         * math/s_ccoshf.c: Likewise.
40178         * math/s_ccoshl.c: Likewise.
40179         * math/s_csin.c: Likewise.
40180         * math/s_csinf.c: Likewise.
40181         * math/s_csinh.c Likewise.
40182         * math/s_csinhf.c: Likewise.
40183         * math/s_csinhl.c: Likewise.
40184         * math/s_csinl.c: Likewise.
40185         * math/s_ctan.c: Likewise.
40186         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40187         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40188         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40190 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40193         compilation problems.
40195         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40196         __builtin_expect.
40198 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40200         * sysdeps/i386/configure.in: Test for -mfma4 option.
40201         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40202         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40203         COMMON_CPUID_INDEX_80000001.
40204         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40205         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40206         use it if FMA3 is not supported.
40207         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40209         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40210         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40212 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40214         [BZ #12892]
40215         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40216         it would create a cycle with a link time dependency.
40218 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40220         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40221         instruction.
40222         * string/Makefile (strop-tests): Add rawmemchr.
40223         * string/test-rawmemchr.c: New file.
40225         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40226         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40227         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40228         when compiling str{,n}casecmp and when AVX is available.  Hook up
40229         new optimized code in initializers.
40231 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40233         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40234         __feraiseexcept instead of feraiseexcept.
40236 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40238         * math/math_private.h: Define defaults for libc_fetestexcept and
40239         libc_feupdateenv.
40240         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40241         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40242         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40243         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40244         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40245         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40246         libc_fetestexcept and libc_feupdateenv.
40248         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40249         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40250         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40251         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40252         libc_feholdexcept_setround.
40254         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40255         Add s_nearbyint-c and s_nearbyintf-c.
40256         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40257         nearbyintf inlines.
40258         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40259         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40260         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40261         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40263         * math/math_private.h: Define defaults for libc_fegetround,
40264         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40265         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40266         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40267         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40268         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40269         standard functions.
40270         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40271         Remove comments and hacks for old compiler versions.
40272         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40273         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40274         libc_feholdexceptl.
40276 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40278         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40279         (__feraiseexcept_renamed): Add __NTH.
40280         (feraiseexcept): Add __NTH.  Rename local variables to fix
40281         namespace violations.
40283 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40285         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40287         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40289         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40290         recently added interfaces.
40291         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40293         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40294         about macro parameter expansion.
40296         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40297         __NO_MATH_INLINES is defined.  Cleanups.
40299         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40300         and __floorf is target has SSE4.1.
40301         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40302         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40303         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40304         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40306         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40307         name.
40308         (floorf): Likewise.
40310         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40312 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40314         * misc/sys/cdefs.h: Fix last change.
40316         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40317         database lookup.
40319 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40321         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40323         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40324         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40325         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40326         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40327         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40328         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40329         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40330         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40331         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40332         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40333         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40334         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40335         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40336         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40337         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40338         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40339         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40340         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40341         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40342         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40343         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40344         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40346         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40347         ceil, ceilf, floor, floorf.
40349         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40350         Perform IRELATIVE relocations last.
40352         * elf/do-rel.h: Add another parameter nrelative, replacing the
40353         local variable with the same name.  Change name of the function
40354         to end in Rel or Rela (uppercase).
40355         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40356         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40357         elf_dynamic_do_##reloc function.
40359 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40361         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40362         is sufficient, at least on modern CPUs.
40364         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40366         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40367         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40369         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40370         __expl_finite.
40371         * math/bits/math-finite.h: Add entries for exp.
40372         * math/e_expl.c: Add __*_finite alias.
40373         * sysdeps/i386/fpu/e_exp.S: Likewise.
40374         * sysdeps/i386/fpu/e_expf.S: Likewise.
40375         * sysdeps/i386/fpu/e_expl.c: Likewise.
40376         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40377         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40378         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40381         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40382         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40384         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40385         is sufficient, at least on modern CPUs.
40387         * ctype/ctype-info.c (__ctype_init): Define.
40388         * include/ctype.h (__ctype_init): Declare.
40389         (__ctype_b_loc): The variable is always initialized.
40390         (__ctype_toupper_loc): Likewise.
40391         (__ctype_tolower_loc): Likewise.
40392         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40393         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40395 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40397         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40399         * configure.in: Also look in $cxxmachine/include for C++ system
40400         headers.
40402 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40404         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40405         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40406         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40407         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40408         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40409         (USE_AS_WMEMCMP): New macro.
40410         Fixing indents.
40411         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40412         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40413         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40414         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40416         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40417         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40418         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40419         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40420         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40421         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40422         (USE_AS_WMEMCMP): New macro.
40423         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40424         * sysdeps/string/test-memcmp.c: Update.
40425         Fix simple_wmemcmp.
40426         Add new tests.
40427         * wcsmbs/wmemcmp.c: Update.
40428         (WMEMCMP): New macro.
40429         Fix overflow bug.
40431 2011-10-12  Andreas Jaeger  <aj@suse.de>
40433         [BZ #13268]
40434         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40436 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40438         * libio/iofwide.c (do_length): Avoid warning.
40440         * ctype/ctype.h (__isctype_f): Add missing __THROW.
40442 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
40444         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40446         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40447         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40448         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40449         * sysdeps/i386/i686/fpu/e_log.S: New file.
40450         * sysdeps/i386/i686/fpu/e_logf.S: New file.
40451         * sysdeps/i386/i686/fpu/e_logl.S: New file.
40453         * ctype/ctype.h: Add support for inlined isXXX functions when
40454         compiling C++ code.
40456 2011-10-14  Andreas Schwab  <schwab@redhat.com>
40458         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40460         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40462 2011-10-13  Roland McGrath  <roland@hack.frob.com>
40464         [BZ #13291]
40465         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40467 2011-10-13  Andreas Schwab  <schwab@redhat.com>
40469         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40470         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40471         feraiseexcept.
40473         * sysdeps/x86_64/memrchr.S: Check for zero size.
40475         * string/stratcliff.c: Add memrchr tests.
40477 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40480         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40481         rawmemchr-sse2 rawmemchr-sse2-bsf.
40482         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40483         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40484         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40485         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40486         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40487         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40488         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40489         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40490         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40491         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40492         * string/memrchr.c (MEMRCHR): New macro.
40494 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
40496         Add integration with gcc's -ffinite-math-only and optimize wrapper
40497         functions in libm.
40498         * Versions.def: Define GLIBC_2.15 version for libm.
40499         * math/Makefile (headers): Add bits/math-finite.h.
40500         * math/bits/math-finite.h: New file.
40501         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40502         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40503         * math/e_acoshl.c: Add __*_finite alias.
40504         * math/e_acosl.c: Likewise.
40505         * math/e_asinl.c: Likewise.
40506         * math/e_atan2l.c: Likewise.
40507         * math/e_atanhl.c: Likewise.
40508         * math/e_coshl.c: Likewise.
40509         * math/e_exp10.c: Likewise.
40510         * math/e_exp10f.c: Likewise.
40511         * math/e_exp10l.c: Likewise.
40512         * math/e_exp2l.c: Likewise.
40513         * math/e_fmodl.c: Likewise.
40514         * math/e_gammal_r.c: Likewise.
40515         * math/e_hypotl.c: Likewise.
40516         * math/e_j0l.c: Likewise.
40517         * math/e_j1l.c: Likewise.
40518         * math/e_jnl.c: Likewise.
40519         * math/e_lgammal_r.c: Likewise.
40520         * math/e_log10l.c: Likewise.
40521         * math/e_log2l.c: Likewise.
40522         * math/e_logl.c: Likewise.
40523         * math/e_powl.c: Likewise.
40524         * math/e_sinhl.c: Likewise.
40525         * math/e_sqrtl.c: Likewise.
40526         * math/e_scalb.c: Completely rewritten and optimized.
40527         * math/e_scalbf.c: Likewise.
40528         * math/e_scalbl.c: Likewise.
40529         * math/w_acos.c: Likewise.
40530         * math/w_acosf.c: Likewise.
40531         * math/w_acosl.c: Likewise.
40532         * math/w_acosh.c: Likewise.
40533         * math/w_acoshf.c: Likewise.
40534         * math/w_acoshl.c: Likewise.
40535         * math/w_asin.c: Likewise.
40536         * math/w_asinf.c: Likewise.
40537         * math/w_asinl.c: Likewise.
40538         * math/w_atan2.c: Likewise.
40539         * math/w_atan2f.c: Likewise.
40540         * math/w_atan2l.c: Likewise.
40541         * math/w_atanh.c: Likewise.
40542         * math/w_atanhf.c: Likewise.
40543         * math/w_atanhl.c: Likewise.
40544         * math/w_exp10.c: Likewise.
40545         * math/w_exp10f.c: Likewise.
40546         * math/w_exp10l.c: Likewise.
40547         * math/w_fmod.c: Likewise.
40548         * math/w_fmodf.c: Likewise.
40549         * math/w_fmodl.c: Likewise.
40550         * math/w_j0.c: Likewise.
40551         * math/w_j0f.c: Likewise.
40552         * math/w_j0l.c: Likewise.
40553         * math/w_j1.c: Likewise.
40554         * math/w_j1f.c: Likewise.
40555         * math/w_j1l.c: Likewise.
40556         * math/w_jn.c: Likewise.
40557         * math/w_jnf.c: Likewise.
40558         * math/w_log.c: Likewise.
40559         * math/w_logf.c: Likewise.
40560         * math/w_logl.c: Likewise.
40561         * math/w_log10.c: Likewise.
40562         * math/w_log10f.c: Likewise.
40563         * math/w_log10l.c: Likewise.
40564         * math/w_log2.c: Likewise.
40565         * math/w_log2f.c: Likewise.
40566         * math/w_log2l.c: Likewise.
40567         * math/w_pow.c: Likewise.
40568         * math/w_powf.c: Likewise.
40569         * math/w_powl.c: Likewise.
40570         * math/w_remainder.c: Likewise.
40571         * math/w_remainderf.c: Likewise.
40572         * math/w_remainderl.c: Likewise.
40573         * math/w_scalb.c: Likewise.
40574         * math/w_scalbf.c: Likewise.
40575         * math/w_scalbl.c: Likewise.
40576         * math/w_sqrt.c: Likewise.
40577         * math/w_sqrtf.c: Likewise.
40578         * math/w_sqrtl.c: Likewise.
40579         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40580         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
40581         used.
40582         * math/math_private.h: Declare __kernel_standard_f.
40583         * math/w_cosh.c: Remove cruft and optimize a bit.
40584         * math/w_coshf.c: Likewise.
40585         * math/w_coshl.c: Likewise.
40586         * math/w_exp2.c: Likewise.
40587         * math/w_exp2f.c: Likewise.
40588         * math/w_exp2l.c: Likewise.
40589         * math/w_hypot.c: Likewise.
40590         * math/w_hypotf.c: Likewise.
40591         * math/w_hypotl.c: Likewise.
40592         * math/w_lgamma.c: Likewise.
40593         * math/w_lgamma_r.c: Likewise.
40594         * math/w_lgammaf.c: Likewise.
40595         * math/w_lgammaf_r.c: Likewise.
40596         * math/w_lgammal.c: Likewise.
40597         * math/w_lgammal_r.c: Likewise.
40598         * math/w_sinh.c: Likewise.
40599         * math/w_sinhf.c: Likewise.
40600         * math/w_sinhl.c: Likewise.
40601         * math/w_tgamma.c: Likewise.
40602         * math/w_tgammaf.c: Likewise.
40603         * math/w_tgammal.c: Likewise.
40604         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40605         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40606         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40607         Minor optimizations.  Pretty printing.  Remove cruft.
40608         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40609         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40610         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40611         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40612         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40613         * sysdeps/i386/fpu/e_asin.S: Likewise.
40614         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40615         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40616         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40617         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40618         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40619         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40620         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40621         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40622         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40623         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40624         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40625         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40626         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40627         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40628         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40629         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40630         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40631         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40632         * sysdeps/i386/fpu/e_log.S: Likewise.
40633         * sysdeps/i386/fpu/e_log10.S: Likewise.
40634         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40635         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40636         * sysdeps/i386/fpu/e_log2.S: Likewise.
40637         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40638         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40639         * sysdeps/i386/fpu/e_logf.S: Likewise.
40640         * sysdeps/i386/fpu/e_logl.S: Likewise.
40641         * sysdeps/i386/fpu/e_pow.S: Likewise.
40642         * sysdeps/i386/fpu/e_powf.S: Likewise.
40643         * sysdeps/i386/fpu/e_powl.S: Likewise.
40644         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40645         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40646         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40647         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40648         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40649         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40650         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40651         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40652         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40653         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40654         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40655         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40656         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40657         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40658         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40659         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40660         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40661         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40662         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40663         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40664         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40666         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40667         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40669         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40670         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40671         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40672         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40673         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40674         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40675         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40676         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40677         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40678         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40679         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40680         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40681         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40682         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40683         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40684         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40685         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40687         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40688         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40689         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40690         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40691         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40692         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40693         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40694         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40699         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40702         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40703         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40705         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40706         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40708         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40709         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40710         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40711         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40712         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40717         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40718         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40722         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40723         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40724         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40725         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40733         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40734         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40735         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40736         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40737         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40738         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40739         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40740         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40741         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40744         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40745         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40746         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40747         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40748         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40749         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40750         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40751         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40752         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40753         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40754         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40755         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40756         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40757         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40758         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40759         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40760         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40761         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40762         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40763         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
40764         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40765         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40766         (__isnanf): Likewise.
40767         (__isinf_ns): Likewise.
40768         (__isinf_nsf): Likewise.
40769         (__finite): Likewise.
40770         (__finitef): Likewise.
40771         (__ieee754_sqrt): Define as macro.
40772         (__ieee754_sqrtf): Define as macro.
40773         (__ieee754_sqrtl): Define as macro.
40774         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40775         inlined copy.
40776         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40777         __FINITE_MATH_ONLY__ consistent.
40778         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40780 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
40782         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40783         of rawmemchr.
40785         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40787 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
40789         * po/ja.po: Update from translation team.
40791 2011-10-08  Roland McGrath  <roland@hack.frob.com>
40793         * locale/programs/locarchive.c (prepare_address_space): New function.
40794         (create_archive, enlarge_archive, open_archive): Use it.
40796         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40797         inside [SHARED], where it is used.
40799         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40801         * nss/getent.c (netgroup_keys): Remove unused variable.
40802         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40804 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
40806         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40807         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40809         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40810         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40811         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40812         * math/Makefile (libm-calls): Add s_isinf_ns.
40813         * math/divtc3.c: Use __isinf_nsl instead of isinf.
40814         * math/multc3.c: Likewise.
40815         * math/s_casin.c: Likewise.
40816         * math/s_casinf.c: Likewise.
40817         * math/s_casinl.c: Likewise.
40818         * math/s_ccos.c: Likewise.
40819         * math/s_ccosf.c: Likewise.
40820         * math/s_ccosl.c: Likewise.
40821         * math/s_ctan.c: Likewise.
40822         * math/s_ctanf.c: Likewise.
40823         * math/s_ctanh.c: Likewise.
40824         * math/s_ctanhf.c: Likewise.
40825         * math/s_ctanhl.c: Likewise.
40826         * math/s_ctanl.c: Likewise.
40827         * math/w_fmod.c: Likewise.
40828         * math/w_fmodf.c: Likewise.
40829         * math/w_fmodl.c: Likewise.
40830         * math/w_remainder.c: Likewise.
40831         * math/w_remainderf.c: Likewise.
40832         * math/w_remainderl.c: Likewise.
40833         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40834         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40835         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40837         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40838         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40839         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40840         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40842         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40843         of the number.
40844         * stdio-common/printf_fphex.c: Likewise.
40845         * stdio-common/printf_size.c: Likewise.
40847         * math/e_exp10.c: Include math_private.h using <...> not "...".
40848         * math/e_exp10f.c: Likewise.
40849         * math/e_exp10l.c: Likewise.
40850         * math/e_exp2l.c: Likewise.
40851         * math/e_j0l.c: Likewise.
40852         * math/e_j1l.c: Likewise.
40853         * math/e_jnl.c: Likewise.
40854         * math/e_lgammal_r.c: Likewise.
40855         * math/e_rem_pio2l.c: Likewise.
40856         * math/e_scalb.c: Likewise.
40857         * math/e_scalbf.c: Likewise.
40858         * math/e_scalbl.c: Likewise.
40859         * math/k_cosl.c: Likewise.
40860         * math/k_sinl.c: Likewise.
40861         * math/k_tanl.c: Likewise.
40862         * math/s_cacoshf.c: Likewise.
40863         * math/s_catan.c: Likewise.
40864         * math/s_catanf.c: Likewise.
40865         * math/s_catanh.c: Likewise.
40866         * math/s_catanhf.c: Likewise.
40867         * math/s_catanhl.c: Likewise.
40868         * math/s_catanl.c: Likewise.
40869         * math/s_ccosh.c: Likewise.
40870         * math/s_ccoshf.c: Likewise.
40871         * math/s_ccoshl.c: Likewise.
40872         * math/s_cexp.c: Likewise.
40873         * math/s_cexpf.c: Likewise.
40874         * math/s_cexpl.c: Likewise.
40875         * math/s_clog.c: Likewise.
40876         * math/s_clog10.c: Likewise.
40877         * math/s_clog10f.c: Likewise.
40878         * math/s_clog10l.c: Likewise.
40879         * math/s_clogf.c: Likewise.
40880         * math/s_clogl.c: Likewise.
40881         * math/s_csin.c: Likewise.
40882         * math/s_csinf.c: Likewise.
40883         * math/s_csinh.c: Likewise.
40884         * math/s_csinhf.c: Likewise.
40885         * math/s_csinhl.c: Likewise.
40886         * math/s_csinl.c: Likewise.
40887         * math/s_csqrt.c: Likewise.
40888         * math/s_csqrtf.c: Likewise.
40889         * math/s_csqrtl.c: Likewise.
40890         * math/s_ctan.c: Likewise.
40891         * math/s_ctanf.c: Likewise.
40892         * math/s_ctanh.c: Likewise.
40893         * math/s_ctanhf.c: Likewise.
40894         * math/s_ctanhl.c: Likewise.
40895         * math/s_ctanl.c: Likewise.
40896         * math/s_ldexp.c: Likewise.
40897         * math/s_ldexpf.c: Likewise.
40898         * math/s_ldexpl.c: Likewise.
40899         * math/s_significand.c: Likewise.
40900         * math/s_significandf.c: Likewise.
40901         * math/s_significandl.c: Likewise.
40902         * math/w_acos.c: Likewise.
40903         * math/w_acosf.c: Likewise.
40904         * math/w_acosh.c: Likewise.
40905         * math/w_acoshf.c: Likewise.
40906         * math/w_acoshl.c: Likewise.
40907         * math/w_acosl.c: Likewise.
40908         * math/w_asin.c: Likewise.
40909         * math/w_asinf.c: Likewise.
40910         * math/w_asinl.c: Likewise.
40911         * math/w_atan2.c: Likewise.
40912         * math/w_atan2f.c: Likewise.
40913         * math/w_atan2l.c: Likewise.
40914         * math/w_atanh.c: Likewise.
40915         * math/w_atanhf.c: Likewise.
40916         * math/w_atanhl.c: Likewise.
40917         * math/w_cosh.c: Likewise.
40918         * math/w_coshf.c: Likewise.
40919         * math/w_coshl.c: Likewise.
40920         * math/w_dremf.c: Likewise.
40921         * math/w_exp10.c: Likewise.
40922         * math/w_exp10f.c: Likewise.
40923         * math/w_exp10l.c: Likewise.
40924         * math/w_exp2.c: Likewise.
40925         * math/w_exp2f.c: Likewise.
40926         * math/w_fmod.c: Likewise.
40927         * math/w_fmodf.c: Likewise.
40928         * math/w_fmodl.c: Likewise.
40929         * math/w_hypot.c: Likewise.
40930         * math/w_hypotf.c: Likewise.
40931         * math/w_hypotl.c: Likewise.
40932         * math/w_j0.c: Likewise.
40933         * math/w_j0f.c: Likewise.
40934         * math/w_j0l.c: Likewise.
40935         * math/w_j1.c: Likewise.
40936         * math/w_j1f.c: Likewise.
40937         * math/w_j1l.c: Likewise.
40938         * math/w_jn.c: Likewise.
40939         * math/w_jnf.c: Likewise.
40940         * math/w_jnl.c: Likewise.
40941         * math/w_lgamma.c: Likewise.
40942         * math/w_lgamma_r.c: Likewise.
40943         * math/w_lgammaf.c: Likewise.
40944         * math/w_lgammaf_r.c: Likewise.
40945         * math/w_lgammal.c: Likewise.
40946         * math/w_lgammal_r.c: Likewise.
40947         * math/w_log.c: Likewise.
40948         * math/w_log10.c: Likewise.
40949         * math/w_log10f.c: Likewise.
40950         * math/w_log10l.c: Likewise.
40951         * math/w_log2.c: Likewise.
40952         * math/w_log2f.c: Likewise.
40953         * math/w_log2l.c: Likewise.
40954         * math/w_logf.c: Likewise.
40955         * math/w_logl.c: Likewise.
40956         * math/w_pow.c: Likewise.
40957         * math/w_powf.c: Likewise.
40958         * math/w_powl.c: Likewise.
40959         * math/w_remainder.c: Likewise.
40960         * math/w_remainderf.c: Likewise.
40961         * math/w_remainderl.c: Likewise.
40962         * math/w_scalb.c: Likewise.
40963         * math/w_scalbf.c: Likewise.
40964         * math/w_scalbl.c: Likewise.
40965         * math/w_sinh.c: Likewise.
40966         * math/w_sinhf.c: Likewise.
40967         * math/w_sinhl.c: Likewise.
40968         * math/w_sqrt.c: Likewise.
40969         * math/w_sqrtf.c: Likewise.
40970         * math/w_sqrtl.c: Likewise.
40971         * math/w_tgamma.c: Likewise.
40972         * math/w_tgammaf.c: Likewise.
40973         * math/w_tgammal.c: Likewise.
40975         * po/ja.po: Update from translation team.
40977 2011-09-29  Andreas Jaeger  <aj@suse.de>
40979         [BZ #13179]
40980         * sunrpc/netname.c (netname2host): Fix logic.
40982         [BZ #6779]
40983         [BZ #6783]
40984         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40985         correctly.
40986         * math/w_remainder.c (__remainder): Likewise.
40987         * math/w_remainderf.c (__remainderf): Likewise.
40988         * math/libm-test.inc (remainder_test): Add test cases.
40990 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40992         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40993         sdiv_qrnnd.
40995 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40997         * string/test-memcmp.c: Avoid unncessary #defines.
40998         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41000 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41002         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41003         Use new sse2 version for core i3 - i7 as it's faster
41004         than sse42 version.
41005         (bit_Prefer_PMINUB_for_stringop): New.
41006         * sysdeps/x86_64/rawmemchr.S: Update.
41007         Replace with faster SSE2 version.
41008         * sysdeps/x86_64/memrchr.S: New file.
41009         * sysdeps/x86_64/memchr.S: Update.
41010         Replace with faster SSE2 version.
41012 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41014         * elf/dl-load.c (lose): Add cast to avoid warning.
41016 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41018         * po/ca.po: Update from translation team.
41020         * inet/getnetgrent_r.c: Hook up nscd.
41021         * nscd/Makefile (routines): Add nscd_netgroup.
41022         (nscd-modules): Add netgroupcache.
41023         (CFLAGS-netgroupcache.c): Define.
41024         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41025         (cache_search): Add const to second parameter.
41026         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41027         INNETGR.
41028         (dbs): Add netgrdb entry.
41029         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41030         (verify_persistent_db): Handle netgrdb.
41031         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41032         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41033         GETFDNETGR.
41034         (netgroup_response_header): Define.
41035         (innetgroup_response_header): Define.
41036         (datahead): Add netgroup_response_header and innetgroup_response_header
41037         elements.
41038         * nscd/nscd.conf: Add entries for netgroup cache.
41039         * nscd/nscd.h (dbtype): Add netgrdb.
41040         (_PATH_NSCD_NETGROUP_DB): Define.
41041         (netgroup_iov_disabled): Declare.
41042         (xmalloc, xcalloc, xrealloc): Move declarations here.
41043         (cache_search): Adjust prototype.
41044         Add netgroup-related prototypes.
41045         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41046         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41047         (__nscd_innetgr): Declare.
41048         * nscd/selinux.c (perms): Use access_vector_t as element type and
41049         add netgroup-related initializers.
41050         * nscd/netgroupcache.c: New file.
41051         * nscd/nscd_netgroup.c: New file.
41052         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41053         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41054         For four parameters use innetgr.
41055         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41056         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41057         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41058         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41060         * nscd/connections.c (register_traced_file): Don't register file
41061         for disabled databases.
41063 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41065         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41067         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41068         from tree and freeing node.
41070 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41072         * nss/nsswitch.c (__nss_database_lookup): Handle
41073         nss_parse_service_list out of memory case.
41075 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41077         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41078         out of memory case.
41080 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41082         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41083         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41084         pass it down.
41085         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41086         elf_machine_rela, elf_machine_lazy_rel.
41087         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41088         (ELF_DYNAMIC_DO_REL): Likewise.
41089         (ELF_DYNAMIC_DO_RELA): Likewise.
41090         (ELF_DYNAMIC_RELOCATE): Likewise.
41091         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41092         to ELF_DYNAMIC_DO_REL.
41093         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41094         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41095         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41096         elf_machine_rela.
41097         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41098         skip_ifunc, don't call ifunc function if non-zero.
41099         (elf_machine_rela): Likewise.
41100         (elf_machine_lazy_rel): Likewise.
41101         (elf_machine_lazy_rela): Likewise.
41102         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41103         (elf_machine_lazy_rel): Likewise.
41104         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41105         Likewise.
41106         (elf_machine_lazy_rel): Likewise.
41107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41108         Likewise.
41109         (elf_machine_lazy_rel): Likewise.
41110         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41111         (elf_machine_lazy_rel): Likewise.
41112         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41113         (elf_machine_lazy_rel): Likewise.
41114         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41115         (elf_machine_lazy_rel): Likewise.
41116         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41117         (elf_machine_lazy_rel): Likewise.
41118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41119         (elf_machine_lazy_rel): Likewise.
41120         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41121         (elf_machine_lazy_rel): Likewise.
41123 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41125         * nss/nss_files/files-init.c (_nss_files_init): Use static
41126         initialization for all the *_traced_file variables.
41128 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41130         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41132 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41134         [BZ #13226]
41135         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41137 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41139         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41140         Reread the line before reparsing it.
41142 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41144         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41146 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41147             Maxim Kuvyrkov  <maxim@codesourcery.com>
41148             Joseph Myers  <joseph@codesourcery.com>
41150         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41151         if needed for __stack_chk_guard.
41153 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41155         * sysdeps/posix/spawni.c (script_execute): Always define it.
41156         It will be optimized away if unused.
41157         (maybe_script_execute): New function.
41158         (__spawni): Call it.
41160         * Makerules: Don't include tls.make.
41161         (config-tls): Always set to thread.
41162         * tls.make.c: File removed.
41164 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41166         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41167         * config.make.in (CPPFLAGS-config): New substituted variable.
41169 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41171         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41173         [BZ #13192]
41174         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41175         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41177 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41179         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41180         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41181         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41182         (CALL_FAIL): Likewise.
41183         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41184         (CALL_FAIL): Macro removed.
41185         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41187 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41189         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41190         for __FINITE_MATH_ONLY__ == 1.
41192 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41194         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41195         __ieee754_sqrt instead of sqrt.
41196         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41197         __ieee754_sqrtf instead of sqrtf.
41198         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41199         __floorf instead of floorf.
41200         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41201         __floorf, __truncf instead of floorf, truncf.
41203 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41205         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41207         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41208         __extern_always_inline.
41209         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41210         32-bit.
41212 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41214         * elf/rtld.c (dl_main): Also relocate in dependency order when
41215         doing symbol dependency testing.
41217 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41219         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41220         Always define `refsym'.
41222 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41224         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41225         (__FD_ELT): Renamed from __FDELT.
41226         * misc/bits/select2.h (__FD_ELT): Likewise.
41227         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41228         __FD_MASK instead of __FDELT, __FDMASK.
41229         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41230         Likewise.
41231         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41232         Likewise.
41234         * elf/Makefile (gen-ldd): Fix pattern.
41236         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41237         (init_tls): Likewise.
41239 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41241         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41243 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41245         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41246         `struct cmsghdr *' instead of `void *'.
41247         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41248         Likewise.
41250 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41252         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41253         if non-absolute.
41254         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41255         ldd_rewrite_script.
41257 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41259         * configure.in: Remove --with-tls option.
41260         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41261         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41262         out in case it is missing.
41263         * sysdeps/ia64/elf/configure.in: Likewise.
41264         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41265         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41266         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41267         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41268         * sysdeps/sh/elf/configure.in: Likewise.
41269         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41270         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41271         * sysdeps/x86_64/elf/configure.in: Likewise.
41272         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41273         * sysdeps/mach/hurd/tls.h: Likewise.
41275         [BZ #13067]
41276         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41278         [BZ #13090]
41279         * configure.in: Fix use of AC_INIT.
41281         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41283 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41285         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41286         __set_errno.
41287         * malloc/hooks.c: Likewise.
41289         [BZ #11929]
41290         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41291         variables statically.
41292         (narenas): Initialize.
41293         (list_lock): Initialize.
41294         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41295         initializtion of main_arena and list_lock.  Small cleanups.
41296         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41297         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41298         Add initializers to main_arena and mp_.
41299         (malloc_state): Remove pagesize member.  Change all users to use
41300         GLRO(dl_pagesize).
41302         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41303         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41304         is always initialized.
41306         * malloc/malloc.c: Removed unused configurations and dead code.
41307         * malloc/arena.c: Likewise.
41308         * malloc/hooks.c: Likewise.
41309         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41311         * include/tls.h: Removed.  USE___THREAD must always be defined.
41312         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41313         * elf/dl-libc.c: Likewise.
41314         * elf/dl-tsd.c: Likewise.
41315         * include/errno.h: Likewise.
41316         * include/netdb.h: Likewise.
41317         * include/resolv.h: Likewise.
41318         * inet/herrno-loc.c: Likewise.
41319         * inet/herrno.c: Likewise.
41320         * malloc/arena.c: Likewise.
41321         * malloc/hooks.c: Likewise.
41322         * malloc/malloc.c: Likewise.
41323         * resolv/res-state.c: Likewise.
41324         * resolv/res_libc.c: Likewise.
41325         * sysdeps/i386/dl-machine.h: Likewise.
41326         * sysdeps/ia64/dl-machine.h: Likewise.
41327         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41328         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41329         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41330         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41331         * sysdeps/sh/dl-machine.h: Likewise.
41332         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41333         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41334         * sysdeps/unix/i386/sysdep.S: Likewise.
41335         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41336         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41338         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41341         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41345         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41346         * sysdeps/x86_64/dl-machine.h: Likewise.
41347         * tls.make.c: Likewise.
41349         * configure.in: Remove --with-__thread option.  Make tests for
41350         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41351         tls_model attribute fail if no support is available.  Remove
41352         USE_IN_LIBIO.
41353         * Makeconfig: Adjust for dropped configure option.  All features are
41354         now mandatory.
41355         * Makerules: Likewise.
41356         * Versions.def: Likewise.
41357         * argp/argp-fmtstream.c: Likewise.
41358         * argp/argp-fmtstream.h: Likewise.
41359         * argp/argp-help.c: Likewise.
41360         * assert/assert.c: Likewise.
41361         * config.h.in: Likewise.
41362         * config.make.in: Likewise.
41363         * configure: Likewise.
41364         * configure.in: Likewise.
41365         * csu/Versions: Likewise.
41366         * csu/init.c: Likewise.
41367         * elf/tst-audit2.c: Likewise.
41368         * elf/tst-tls10.c: Likewise.
41369         * elf/tst-tls10.h: Likewise.
41370         * elf/tst-tls11.c: Likewise.
41371         * elf/tst-tls12.c: Likewise.
41372         * elf/tst-tls14.c: Likewise.
41373         * elf/tst-tlsmod11.c: Likewise.
41374         * elf/tst-tlsmod12.c: Likewise.
41375         * elf/tst-tlsmod13.c: Likewise.
41376         * elf/tst-tlsmod13a.c: Likewise.
41377         * elf/tst-tlsmod14a.c: Likewise.
41378         * elf/tst-tlsmod15b.c: Likewise.
41379         * elf/tst-tlsmod16a.c: Likewise.
41380         * elf/tst-tlsmod16b.c: Likewise.
41381         * elf/tst-tlsmod7.c: Likewise.
41382         * elf/tst-tlsmod8.c: Likewise.
41383         * elf/tst-tlsmod9.c: Likewise.
41384         * gmon/gmon.c: Likewise.
41385         * grp/fgetgrent_r.c: Likewise.
41386         * grp/putgrent.c: Likewise.
41387         * hurd/fopenport.c: Likewise.
41388         * include/libc-symbols.h: Likewise.
41389         * include/tls.h: Likewise.
41390         * intl/gettextP.h: Likewise.
41391         * intl/loadinfo.h: Likewise.
41392         * locale/global-locale.c: Likewise.
41393         * locale/localeinfo.h: Likewise.
41394         * mach/devstream.c: Likewise.
41395         * malloc/arena.c: Likewise.
41396         * malloc/set-freeres.c: Likewise.
41397         * misc/err.c: Likewise.
41398         * misc/getttyent.c: Likewise.
41399         * misc/mntent_r.c: Likewise.
41400         * posix/getopt.c: Likewise.
41401         * posix/wordexp.c: Likewise.
41402         * pwd/fgetpwent_r.c: Likewise.
41403         * resolv/Versions: Likewise.
41404         * resolv/res_hconf.c: Likewise.
41405         * shadow/fgetspent_r.c: Likewise.
41406         * shadow/putspent.c: Likewise.
41407         * stdio-common/printf_fphex.c: Likewise.
41408         * stdio-common/tmpfile.c: Likewise.
41409         * stdlib/abort.c: Likewise.
41410         * stdlib/fmtmsg.c: Likewise.
41411         * sunrpc/auth_unix.c: Likewise.
41412         * sunrpc/clnt_perr.c: Likewise.
41413         * sunrpc/clnt_tcp.c: Likewise.
41414         * sunrpc/clnt_udp.c: Likewise.
41415         * sunrpc/clnt_unix.c: Likewise.
41416         * sunrpc/openchild.c: Likewise.
41417         * sunrpc/svc_simple.c: Likewise.
41418         * sunrpc/svc_tcp.c: Likewise.
41419         * sunrpc/svc_udp.c: Likewise.
41420         * sunrpc/svc_unix.c: Likewise.
41421         * sunrpc/xdr.c: Likewise.
41422         * sunrpc/xdr_array.c: Likewise.
41423         * sunrpc/xdr_rec.c: Likewise.
41424         * sunrpc/xdr_ref.c: Likewise.
41425         * sunrpc/xdr_stdio.c: Likewise.
41427 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41429         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41431 2011-07-03  Andreas Jaeger  <aj@suse.de>
41433         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41434         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41435         regenerate with gen-libm-tests.pl.
41437 2010-05-12  Petr Baudis  <pasky@suse.cz>
41439         [BZ #11589]
41440         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41441         around j0() zero points by switching to j1().
41442         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41443         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41444         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41445         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41447 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41449         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41450         instead of 0.
41451         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41452         instead of 0.
41453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41454         Patch in part by Pavel Roskin <proski@gnu.org>.
41456         [BZ #13138]
41457         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41458         realloc.
41459         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
41460         Free memory block if necessary.
41462         [BZ #12847]
41463         * libio/genops.c (INTDEF): For string streams the _lock pointer can
41464         be NULL.  Don't lock in this case.
41466 2011-09-09  Roland McGrath  <roland@hack.frob.com>
41468         * elf/elf.h (ELFOSABI_GNU): New macro.
41469         (ELFOSABI_LINUX): Define to that.
41471 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
41473         * string/strncat.c (strncat): Undef the symbol in case it has been
41474         defined in bits/string.h.
41476 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41478         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41480         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41481         link map.
41483 2011-08-17  Andreas Jaeger  <aj@suse.de>
41485         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41487 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41488             Ian Lance Taylor  <iant@google.com>
41490         * math/libm-test.inc (lround_test): New testcase.
41491         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41493 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
41495         * Makefile: Remove support for automatic cvs check-ins.
41496         * Makerules: Likewise.
41497         * config.make.in: Likewise.
41498         * configure.in: Likewise.
41499         * intl/Makefile: Likewise.
41500         * locale/Makefile: Likewise.
41501         * po/Makefile: Likewise.
41502         * posix/Makefile: Likewise.
41503         * sysdeps/gnu/Makefile: Likewise.
41504         * sysdeps/mach/hurd/Makefile: Likewise.
41505         * sysdeps/sparc/sparc32/Makefile: Likewise.
41507         [BZ #13118]
41508         * posix/Makefile (bug-regex32-ENV): Define.
41509         Patch by John Stanley <jpsinthemix@verizon.net>.
41511         * misc/Makefile (headers): Add bits/select2.h.
41512         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41513         * misc/bits/select2.h: New file.
41514         * include/bits/select2.h: New file.
41515         * debug/Makefile (routines): Add fdelt_chk.
41516         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41517         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41518         FD_ISSET.
41519         * debug/fdelt_chk.c: New file.
41521         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
41522         * wcsmbs/test-wmemcmp.c: Likewise.
41523         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41524         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41526 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41528         * string/Makefile (strop-tests): Add memcmp.
41529         * string/test-wmemcmp.c: New file.
41530         * string/test-memcmp.c: Add wmemcmp support.
41532 2011-09-08  Roland McGrath  <roland@hack.frob.com>
41534         [BZ #13153]
41535         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41536         2011-07-19 change.
41538         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41539         garbage value in a __mach_port_mod_refs call in the cases of the
41540         task-self and thread-self ports.
41542 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41544         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41546 2011-09-08  Andreas Schwab  <schwab@redhat.com>
41548         * elf/dl-load.c (lose): Check for non-null L.
41550 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41552         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41554         * elf/dl-libc.c (dlerror_run): Pass back error code from
41555         dl_catch_error.
41557         [BZ #13123]
41558         * elf/dl-load.c (lose): Free l_origin if it is valid.
41560         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41561         names.
41562         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41563         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41564         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41565         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41566         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41567         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41569 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41571         * sysdeps/powerpc/fpu/e_hypot.c: New file.
41572         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41573         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41574         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41575         * sysdeps/powerpc/fpu/k_cosf.c: New file.
41576         * sysdeps/powerpc/fpu/k_sinf.c: New file.
41577         * sysdeps/powerpc/fpu/s_cosf.c: New file.
41578         * sysdeps/powerpc/fpu/s_sinf.c: New file.
41579         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41580         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41582 2011-08-15  Alan Modra  <amodra@gmail.com>
41584         [BZ #13092]
41585         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41586         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41587         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41588         ppc_mcount to static-only-routines.
41589         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41590         __mcount_internal.
41591         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41592         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41594 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41596         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41597         for finite and infinity parameters.
41599 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41601         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41602         and add nop instructions for throughput optimization.
41603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41605 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41607         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41608         aligned copy for power7 with vector-scalar instructions.
41609         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41611 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41613         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41614         AVX check.
41616 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41618         [BZ #13144]
41619         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41620         last change.
41622 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41624         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41625         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41626         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41627         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41628         clock_gettime.
41630 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41632         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41633         Forgot to demangle the pointer.
41635         * sysdeps/i386/sysdep.h: Define atom_text_section.
41636         * sysdeps/x86_64/sysdep.h: Likewise.
41637         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41638         section with atom_text_section.
41639         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41640         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41641         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41643         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41645         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41646         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41647         already be defined.  Change to take two parameters and don't assign
41648         result to variable.  Adjust all users.
41649         Define INTERNAL_GETTIME if not already defined.
41650         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41651         call.
41652         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41653         HAVE_CLOCK_GETTIME_VSYSCALL.
41654         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41656         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41657         gettimeofday vsyscall, just use time.
41659 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41661         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41662         <errno.h>.
41664 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41666         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41667         syscall on x86-64.
41668         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41669         syscall.
41670         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41671         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41672         syscall if possible.
41674 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41676         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41677         e_ident.  Don't pass to find_mapsXX.
41678         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41680 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41683         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41684         * sysdeps/x86_64/multiarch/strchr.S: Update.
41685         Check bit_slow_BSF bit.
41686         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41687         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41688         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41690 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41692         [BZ #13134]
41693         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41694         before glibc 2.15.
41695         (tryshell): Define.
41696         (__spawni): Change last parameter to be flag.  Test
41697         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41698         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41699         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41700         * posix/spawni.c: Likewise.
41701         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41702         * posix/spawnp.c: Likewise.  Change normal version to use
41703         SPAWN_XFLAGS_USE_PATH.
41704         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41705         SPAWN_XFLAGS_TRY_SHELL.
41707         [BZ #13150]
41708         * posix/glob.h: Remove gcc 1.x support.
41710         [BZ #13068]
41711         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41713 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41716         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41717         strrchr-sse2-bsf
41718         * sysdeps/i386/i686/multiarch/strchr.S: New file.
41719         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41720         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41721         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41722         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41723         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41725 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41727         * sysdeps/x86_64/wcscmp.S: New file.
41729         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41730         wcscmp-c wcscmp-sse2
41731         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41732         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41733         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41734         * wcsmbs/wcscmp.c: Allow renaming.
41736 2011-09-05  David S. Miller  <davem@davemloft.net>
41738         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41739         stack slot, rather than the struct return pointer slot.
41740         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41741         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41743         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41745 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41747         * po/ja.po: Update from translation team.
41749         [BZ #13144]
41750         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41751         kernel in 64-bit binaries.
41753 2011-09-01  David S. Miller  <davem@davemloft.net>
41755         * elf/elf.h (HWCAP_SPARC_*): Move to..
41756         * sysdeps/sparc/sysdep.h: this new file and add new values.
41757         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41758         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41759         _DL_HWCAP_COUNT to 24.
41760         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41761         entries.
41762         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41763         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41764         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41766         instead of magic constants.
41767         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41769 2011-08-31  David S. Miller  <davem@davemloft.net>
41771         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41772         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41773         Reimplement to do errno handling inline.
41774         (SYSCALL_ERROR_HANDLER): New macro.
41775         (__SYSCALL_STRING): Do not do errno handling in asm.
41776         (__CLONE_SYSCALL_STRING): Delete.
41777         (__INTERNAL_SYSCALL_STRING): Delete.
41778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41779         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41780         (PSEUDO): Reimplement to do errno handling inline.
41781         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41782         (SYSCALL_ERROR_HANDLER): New macro.
41783         (__SYSCALL_STRING): Do not do errno handling in asm.
41784         (__CLONE_SYSCALL_STRING): Delete.
41785         (__INTERNAL_SYSCALL_STRING): Delete.
41786         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41787         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41788         i386.
41789         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41790         (inline_syscall*): Add 'err' argument.
41791         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41792         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41793         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41794         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41796         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41797         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41799 2011-08-30  Andreas Schwab  <schwab@redhat.com>
41801         * elf/rtld.c (dl_main): Relocate objects in dependency order.
41803 2011-08-29  Jiri Olsa <jolsa@redhat.com>
41805         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41806         directive.
41808 2011-08-24  David S. Miller  <davem@davemloft.net>
41810         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41812 2011-08-24  Andreas Schwab  <schwab@redhat.com>
41814         * elf/Makefile: Add rules to build and run unload8 test.
41815         * elf/unload8.c: New file.
41816         * elf/unload8mod1.c: New file.
41817         * elf/unload8mod1x.c: New file.
41818         * elf/unload8mod2.c: New file.
41819         * elf/unload8mod3.c: New file.
41821         * elf/dl-close.c (_dl_close_worker): Reset private search list if
41822         it wasn't used.
41824 2011-08-23  David S. Miller  <davem@davemloft.net>
41826         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41827         subtract stack bias.
41828         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41829         %sp not %fp in calculations.
41830         (_JMPBUF_UNWINDS_ADJ): Likewise.
41832         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41833         (aio_suspend): Call it to force an exception region around the
41834         AIO_MISC_WAIT() invocation.
41836 2011-08-23  Andreas Schwab  <schwab@redhat.com>
41838         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41839         backslash.
41841 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
41843         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41844         protection macro.
41845         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41846         and <dl-machine.h>.
41847         (Elf64_FuncDesc): Remove.
41849 2011-08-22  David S. Miller  <davem@davemloft.net>
41851         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41852         sigaltstack check, add missing cfi directives.
41853         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41854         missing cfi directives, and sigaltstack handling.
41856 2011-08-16  Andreas Schwab  <schwab@redhat.com>
41858         [BZ #11724]
41859         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41860         object is seen twice.
41861         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41863         * elf/Makefile (distribute): Add tst-initorder2.c.
41864         (tests): Add tst-initorder2.
41865         (modules-names): Add tst-initorder2a tst-initorder2b
41866         tst-initorder2c tst-initorder2d.  Add rules to build them.
41867         ($(objpfx)tst-initorder2.out): New rule.
41868         * elf/tst-initorder2.c: New file.
41869         * elf/tst-initorder2.exp: New file.
41871 2011-08-22  Andreas Schwab  <schwab@redhat.com>
41873         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41875         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41876         dependencies back to end of function.
41878         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41879         $(elfobjdir)/ld.so.
41881 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
41883         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41884         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41885         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41886         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41887         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41888         of __vdso_gettimeofday.
41889         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41890         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
41891         attribute_hidden.
41892         (_libc_vdso_platform_setup): Remove initialization of
41893         __vdso_gettimeofday and __vdso_time.
41895 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41897         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41898         and fgetc_unlocked.
41899         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41900         getc_unlocked.
41902         * elf/dl-open.c (add_to_global): Report additions to the global scope
41903         for LD_DEBUG=scopes.
41904         (dl_open_worker): Also print scope of newly loaded dependencies.
41905         (_dl_show_scope): Indicate if there is no scope.
41907         [BZ #13114]
41908         * stdio-common/Makefile (tests): Add bug24.
41909         * stdio-common/bug24.c: New file.
41911 2011-08-19  Andreas Jaeger  <aj@suse.de>
41913         [BZ #13114]
41914         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41915         non-existant file when using close-on-exec mode.
41917 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41920         the very first instruction.
41922         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41923         the CFI state in the end.
41924         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41925         inclusion of dl-trampoline.h.
41926         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41928 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41930         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41931         expectations for long double.
41933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41934         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41936 2011-08-14  David S. Miller  <davem@davemloft.net>
41938         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41939         artificual limit depends upon the system page size.
41941 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41943         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41944         * resolv/Makefile: Define CFLAGS-libresolv.
41946 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41948         * nss/makedb.c (compute_tables): Make variables used in nested
41949         function static.
41951 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41953         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41954         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41955         if buffer was too small.
41957         * elf/pldd.c (main): Attach to all threads in the process.
41958         Rewrite /proc handling to use *at functions.
41960 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41962         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41963         specifies first scope to show.
41964         (dl_open_worker): Update callers.  Move printing scope of new
41965         object to before the relocation.
41966         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41967         * sysdeps/generic/ldsodefs.h: Update declaration.
41969         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41970         string for the scope number.
41972 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41974         * nscd/servicescache.c (cache_addserv): Make sure written is always
41975         initialized.
41977 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41979         * sysdeps/i386/i486/bits/atomic.h
41980         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41981         statement expression, so as to suppress "set but not used" warning.
41982         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41984         * string/strncat.c (STRNCAT): Use prototype definition.
41986         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41987         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41988         -Iprograms here.
41989         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41990         (localedef-modules): Add localedef.
41991         (locale-modules): Add locale.
41993         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41994         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41995         to avoid a warning.
41997 2011-08-14  David S. Miller  <davem@davemloft.net>
41999         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42000         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42002 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42004         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42005         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42006         * elf/rtld.c (dl_main): Set l_name of vDSO.
42007         Call _dl_show_scope when DL_DEBUG_SCOPES.
42008         (process_dl_debug): Recognize scopes flag and also set it for all.
42009         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42010         Declare _dl_show_scope.
42012         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42013         (do_dlopen): Pass caller_dlopen to dl_open.
42014         (__libc_dlopen_mode): Initialize caller_dlopen.
42016         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42017         of libc.  Make tolower call locale-independent.  Optimize a bit by
42018         using isdigit instead of isalnum.
42019         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42021 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42023         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42024         was a dependency or dynamically loaded.
42026 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42028         * intl/l10nflist.c: Allow architecture-specific pop function.
42029         * sysdeps/x86_64/l10nflist.c: New file.
42031         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42032         classification.
42034 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42036         * include/dirent.h: Add libc_hidden_proto for scandirat and
42037         scandirat64.  Don't declare __scandirat64.
42038         * dirent/scandirat.c: Add libc_hidden_def.
42039         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42040         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42042 2011-08-10  David S. Miller  <davem@davemloft.net>
42044         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42045         enum.
42046         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42047         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42048         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42050 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42052         * Versions.def [libc]: Add GLIBC_2.15.
42053         * dirent/Makefile (routines): Add scandirat and scandirat64.
42054         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42055         GLIBC_2.15.
42056         * dirent/dirent.h: Declare scandirat and scandirat64.
42057         * dirent/scandirat.c: New file.
42058         * dirent/scandirat64.c: New file.
42059         * sysdeps/wordsize-64/scandirat.c: New file.
42060         * sysdeps/wordsize-64/scandirat64.c: New file.
42061         * dirent/opendir.c: Define opendirat.
42062         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42063         using scandirat.
42064         * dirent/scandir64.c: Adjust for scandir.c change.
42065         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42066         __scandirat64, and __scandir_cancel_handler.
42067         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42068         additional parameter and use openat instead of open (outside of ld.so).
42069         Add new __opendir as wrapper around __opendirat.
42070         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42071         here without requiring old scandirat implementation.
42073 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42075         * dirent/scandir.c (cancel_handler): Renamed to
42076         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42077         defined.  Adjust users.
42078         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42079         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42081 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42083         * string/test-string.h (IMPL): Use __STRING to expand name and then
42084         stringify it.
42086         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42087         of cleanups.
42089 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42091         * string/Makefile: Update.
42092         (strop-tests): Append strncat.
42093         * string/test-wcscmp.c: New file.
42094         New comprehensive test for wcscmp.
42095         * string/test-strcmp.c: Update.
42096         (WIDE): New define.
42098 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42100         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42101         line.
42103 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42106         encoding to ACE if AI_IDN.
42108 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42110         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42111         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42113 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42115         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42116         Fix overflow bug in strncat.
42117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42119         * string/test-strncat.c: Update.
42120         Add new tests for checking overflow bugs.
42122 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42124         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42125         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42126         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42127         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42128         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42129         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42130         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42131         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42132         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42134         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42135         (USE_AS_STRCAT): Define.
42136         Add strcat and strncat support.
42137         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42139 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42141         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42142         __n bigger than INT_MAX+1.
42143         (__strncmp_g): Likewise.
42145 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42147         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42148         * libio/stido.h: Likewise.
42150         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42151         (AF_NFC): Define.
42152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42153         (AF_NFC): Define.
42155         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42156         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42157         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42158         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42159         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42161         [BZ #13021]
42162         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42163         installed.
42165         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42166         typo.
42167         (_dl_x86_64_save_sse): Likewise.
42169 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42172         OSXSAVE.
42173         (_dl_x86_64_save_sse): Likewise.
42175         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42177         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42179 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42182         change.
42183         (_dl_x86_64_save_sse): Use correct AVX check.
42185 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42187         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42188         bug in strncpy/strncat.
42189         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42191 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42193         * string/tester.c (test_strcat): Add tests for different alignments
42194         of source and destination.
42195         (test_strncat): Likewise.
42197 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42199         [BZ #12852]
42200         * posix/glob.c (glob): Check passed in values before using them in
42201         expressions to avoid some overflows.
42202         (glob_in_dir): Likewise.
42204         [BZ #13007]
42205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42206         check for AVX enablement so that we don't crash with old kernels and
42207         new hardware.
42208         * elf/tst-audit4.c: Add same checks here.
42209         * elf/tst-audit6.c: Likewise.
42211         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42213 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42215         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42217 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42219         * po/cs.po: Update from translation team.
42220         * po/bg.po: Likewise.
42222 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42224         * misc/sys/cdefs.h: Add support for const attribute.
42225         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42226         to gnu_dev_{major,minor,makedev} functions.
42228 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42230         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42232 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42234         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42235         strlen results.
42237 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42240         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42241         register in order to avoid conflicts with the soft frame pointer
42242         being held in r11 when necessary.
42243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42244         (INTERNAL_VSYSCALL_NCS): Likewise.
42246 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42248         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42249         * elf/dl-fini.c (_dl_fini): Adjust caller.
42250         * elf/dl-close.c (_dl_close_worker): Likewise.
42251         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42253 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42255         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42256         "aux_cache->nlibs < 0".
42258         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42259         in the reload-count case.
42261 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42264         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42265         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42266         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42267         * sysdeps/x86_64/multiarch/strcat.S: New file.
42268         * sysdeps/x86_64/multiarch/strncat.S: New file.
42269         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42270         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42271         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42272         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42273         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42274         (USE_AS_STRCAT): Define.
42275         Add strcat and strncat support.
42276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42277         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42278         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42279         * string/strncat.c: Update.
42280         (USE_AS_STRNCAT): Define.
42281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42282         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42283         and i7.
42284         * sysdeps/x86_64/multiarch/init-arch.h
42285         (bit_Prefer_PMINUB_for_stringop): New.
42286         (index_Prefer_PMINUB_for_stringop): Likewise.
42287         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42288         bit_Prefer_PMINUB_for_stringop.
42290 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42292         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42293         buffer64.
42294         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42295         of casting of buffer.
42296         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42297         buffer32 and buffer64.
42298         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42299         writes instead of casting of buffer.
42300         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42301         buffer32.
42302         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42303         casting of buffer.
42305 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42307         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42309 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42311         * nscd/nscd.c (termination_handler): Don't do anything for a database
42312         if it has not yet been initialized.
42314 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42316         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42318 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42320         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42322 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42324         * po/nl.po: Update from translation team.
42325         * po/sv.po: Likewise.
42327 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42329         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42330         now disallowed by GCC.
42332         * configure.in (use-default-link): Default to yes if a test -shared
42333         link meets our qualifications.
42334         * configure: Regenerated.
42336         * config.make.in (output-format): New variable.
42337         * configure.in: Check for ld --print-output-format support.
42338         * configure: Regenerated.
42339         * Makerules ($(common-objpfx)format.lds)
42340         [$(output-format) != unknown]: Just use $(output-format),
42341         instead of the linker-script munging.
42343 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42345         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42346         of $(common-objpfx)shlib.lds.
42347         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42349         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42350         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42352         * configure.in (-z relro check): Adjust test code to add a large
42353         writable data section after it.
42354         * configure: Regenerated.
42356 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42358         * configure.in (-z relro check): Fix test code to make the variable
42359         truly const.
42360         * configure: Regenerated.
42362 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42364         * nscd/nscd.h (struct traced_file): Define.
42365         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42366         elements.  Add traced_files.
42367         (inotify_fd): Declare.
42368         (register_traced_file): Declare.
42369         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42370         (inotify_fd): Export.
42371         (resolv_conf_descr): Remove.
42372         (nscd_init): Move inotify descriptor creation to main.
42373         Don't register files for notification here.
42374         (register_traced_file): New function.
42375         (invalidate_cache): Don't use reset_res to determine whether to call
42376         res_init, go through the list of registered files.
42377         (main_loop_poll): The inotify descriptors are now stored in the
42378         structures for the traced files.
42379         (main_loop_epoll): Likewise
42380         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42381         to __nss_disable_nscd.
42382         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42383         for a database anymore.  Check the records for all the registered
42384         files instead.
42385         * nss/Makefile (libnss_files-routines): Add files-init.
42386         (libnss_db-routines): Add db-init.
42387         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42388         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42389         * nss/nss_db/db-init.c: New file.
42390         * nss/nss_files/files-init.c: New file.
42391         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42392         __nss_lookup_function.
42393         (__nss_lookup_function): Call nss_load_library.
42394         (nss_load_all_libraries): New function.
42395         (__nss_disable_nscd): Take parameter with callback function for files
42396         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42397         used for the cached services.
42398         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42399         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42400         options for features to all the files in nscd.
42402         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42404 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42406         * csu/elf-init.c (__libc_csu_init): Comment typo.
42408 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42410         * po/pl.po: Update from translation team.
42411         * po/ja.po: Likewise.
42412         * po/ru.po: Likewise.
42413         * po/ko.po: Likewise.
42414         * po/fr.po: Likewise.
42416 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42418         * configure.in (.ctors/.dtors header and trailer check):
42419         Use an empirical test on a built program.
42420         * configure: Regenerated.
42422         * configure.in (-z relro check): Use an empirical test on a built DSO.
42423         Detect, but do not require, on ia64.
42424         * configure: Regenerated.
42426         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42427         Update tests that use readelf to use $READELF instead.
42428         * configure: Regenerated.
42430 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
42432         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42433         if the result is not used.
42435 2011-07-05  Andreas Jaeger  <aj@suse.de>
42437         [BZ#9696]
42438         * stdlib/tst-strtod.c: Add testcase.
42440 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
42442         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42443         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42444         The latter has a higher limit.  Take additional parameter to pass to
42445         the new function.
42446         (__pathconf): Pass file to __statfs_link_max.
42447         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42448         __statfs_link_max.
42449         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42450         __statfs_link_max.
42452         [BZ #12868]
42453         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42454         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42455         Handle Lustre.
42456         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42457         (__statfs_filesize_max): Likewise.
42458         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42460 2011-07-05  Andreas Jaeger  <aj@suse.de>
42462         * resolv/res_comp.c (dn_skipname): Remove unused variable.
42464 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
42466         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42467         `status' variable.
42468         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42469         Likewise.
42471 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
42473         * Makefile (strop-tests): Add strncat.
42474         * string/test-strncat.c: New file.
42476 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42478         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42480 2011-06-21  Andreas Jaeger  <aj@suse.de>
42482         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42483         Copy rule from iconvdata/Makefile.
42485 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42487         [BZ #12922]
42488         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42489         but no long options are defined, just return 'W'.
42491 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
42493         [BZ #9696]
42494         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42496 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42498         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42499         netgroups to read.
42500         (innetgr): Likewise.
42502 2011-07-05  Roland McGrath  <roland@hack.frob.com>
42504         * config.make.in (install_root): Default to $(DESTDIR).
42506 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
42508         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42510 2011-07-02  Roland McGrath  <roland@hack.frob.com>
42512         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42514         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42515         containing directory rather than embedding absolute directory names.
42517         * scripts/check-local-headers.sh: Rewritten using awk.
42518         Match by word, not by line.  Print error messages for matches.
42519         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42521         * Makerules [shlib-lds-flags empty]:
42522         ($(common-objpfx)libc_pic.opts): New target.
42523         ($(common-objpfx)libc_pic.os.clean): New target.
42524         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42526         * config.make.in (OBJCOPY): New variable.
42527         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42528         * configure: Regenerated.
42530         * config.make.in (use-default-link): New variable.
42531         * configure.in (use_default_link): Grok --with-default-link to set it.
42532         * configure: Regenerated.
42533         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42534         (shlib-lds, shlib-lds-flags): Define to empty.
42536         * Makerules (shlib-lds): New variable.
42537         (shlib-lds-flags): New variable.
42538         (build-shlib, build-moduile, build-module-asneeded): Use it.
42539         ($(common-objpfx)libc.so): Use $(shlib-lds).
42540         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42541         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42543         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42544         DT_FLAGS/DT_FLAGS_1 with zero flags.
42546         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42547         linker script munging.
42549 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
42551         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42552         as 128-bit value.
42553         * crypt/sha512.c (sha512_process_block): Perform total addition using
42554         128-bit if possible.
42555         (__sha512_finish_ctx): Likewise.
42556         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42557         as 64-bit value.
42558         * crypt/sha256.c (SWAP64): Define.
42559         (sha256_process_block): Perform total addition using 64-bit if
42560         possible.
42561         (__sha256_finish_ctx): Likewise.
42563 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
42565         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
42566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42567         * nscd/hstcache.c (cache_addhst): Likewise.
42568         * nscd/grpcache.c (cache_addgr): Likewise.
42569         * nscd/aicache.c (addhstaiX): Likewise
42570         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42572 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
42574         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42575         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42576         * nscd/hstcache.c (cache_addhst): Likewise.
42577         * nscd/grpcache.c (cache_addgr): Likewise.
42578         * nscd/aicache.c (addhstaiX): Likewise
42580 2011-07-01  Andreas Schwab  <schwab@redhat.com>
42582         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42583         domain only when needed.
42585 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42588         is always restored.
42590 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42592         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42593         are re-adding the entry.
42594         * nscd/servicescache.c (cache_addserv): Likewise.
42596 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42598         * sysdeps/generic/dl-irel.h: fix protection against multiple
42599         inclusions.
42600         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42602 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42604         [BZ #12935]
42605         * malloc/memusage.sh: Fix quoting in message.
42606         * debug/xtrace.sh: Likewise.
42608         * configure.in: Remove support for --experimental-malloc option, make
42609         it the default.
42610         * config.make.in: Likewise.
42611         * malloc/Makefile: Likewise.
42613 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42615         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42616         two-byte characters.
42618 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42620         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42621         AC_CACHE_CHECK invocation.
42622         * configure: Regenerated.
42624         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42626 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42628         [BZ #12350]
42629         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42630         bit from old_res_options.
42632         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42634         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42635         value type for setfct.
42637 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42640         __gettimeofday instead of gettimeofday.
42642 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42644         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42646 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42648         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42651         info.
42653 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42656         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42657         strcpy-sse2-unaligned strncpy-sse2-unaligned
42658         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42659         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42660         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42661         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42662         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42663         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42664         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42665         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42666         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42667         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42668         (STRCPY): Support SSE2 and SSSE3 versions.
42670 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42672         [BZ #12874]
42673         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42674         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42675         kernels which artificially limit size of requests.
42677 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42680         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42681         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42682         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42683         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42684         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42685         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42686         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42687         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42688         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42689         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42690         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42691         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42692         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42693         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42695         Enable unaligned load optimization for Intel Core i3, i5 and i7
42696         processors.
42697         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42698         Define.
42699         (index_Fast_Unaligned_Load): Define.
42700         (HAS_FAST_UNALIGNED_LOAD): Define.
42702 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
42704         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42706 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42708         [BZ #12907]
42709         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42710         until it is clear that the information is realy needed.
42711         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42713 2011-06-22  Andreas Schwab  <schwab@redhat.com>
42715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42717 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42719         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42720         /sys/devices/system/cpu/online if it is usable.
42722         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42723         reading the information from the /proc filesystem to once a second.
42725 2011-06-21  Andreas Jaeger  <aj@suse.de>
42727         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42728         NULL after inclusion of kernel headers.
42730 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
42732         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42733         calls to internal_setent.
42735         [BZ #12885]
42736         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42737         addresses using gethostbyname4_r ignore IPv4 addresses.
42739         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42740         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
42742         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42744 2011-06-20  David S. Miller  <davem@davemloft.net>
42746         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42747         inclusions.
42748         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42750         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42751         (elf_irel): Use it.
42752         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42753         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42754         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42755         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42756         * sysdeps/x86_64/dl-irel.h: Likewise.
42758         * elf/dl-runtime.c: Use elf_ifunc_invoke.
42759         * elf/dl-sym.c: Likewise.
42761 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42763         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
42764         need to dereference resplen2.
42766 2011-06-14  Andreas Schwab  <schwab@redhat.com>
42768         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42770 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42772         * Makeconfig: Define vardbdir and inst_vardbdir.
42773         * nss/Makefile: Add rules to install db-Makefile.
42775         * nss/nss_db/db-XXX.c: Cleanup.
42777         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42778         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42779         GLIBC_PRIVATE.
42780         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42781         * nss/makedb.c: Implement -g option to specify that value strings
42782         are generated and should not be added to table iterated over for
42783         get*ent calls.
42784         * nss/nss_db/db-initgroups.c: New file.
42786         * nss/getent.c: Add support for initgroups lookups through getgrouplist
42787         interface.
42789         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42790         (internal_getgrouplist): Adjust to name change.
42791         Update use_initgroups_entry if this is not the first call.
42792         * nss/databases.def: Add initgroups entry.
42794         * nss/makedb.c (compute_tables): Check result of multiple hash table
42795         sizes to minimize maximum chain length.
42797 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
42799         * Versions.def: Add entry for libnss_db.
42800         * shlib-versions: Likewise.
42801         * nss/Makefile: Add rules to build libnss_db.
42802         * nss/Versions: Add libnss_db information.  Organize libnss_files
42803         entries better.
42804         * nss/db-Makefile: Add gshadow support.  Change rules for the new
42805         makedb progra.  Some minor improvements to generate smaller files.
42806         * nss/nss_db/nss_db.h: Move NSS database header data structures to
42807         here from...
42808         * nss/makedb.c: ...here.
42809         Improve database format to be smaller and require less memory at
42810         runtime.
42811         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
42812         db anymore.
42813         * nss/nss_db/db-netgrp.c: Likewise.
42814         * nss/nss_db/db-open.c: Likewise.
42815         * nss/nss_files/flies-XXX.x: Adjust comments.
42816         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42817         * nss/nss_files/files-grp.c: Likewise.
42818         * nss/nss_files/files-hosts.c: Likewise.
42819         * nss/nss_files/files-network.c: Likewise.
42820         * nss/nss_files/files-proto.c: Likewise.
42821         * nss/nss_files/files-pwd.c: Likewise.
42822         * nss/nss_files/files-rpc.c: Likewise.
42823         * nss/nss_files/files-service.c: Likewise.
42824         * nss/nss_files/files-sgrp.c: Likewise.
42825         * nss/nss_files/files-spwd.c: Likewise.
42826         * nss/nss_db/db-alias.c: Removed.
42827         * nss/nss_db/dummy-db.h: Removed.
42829 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
42831         * nss/makedb.c: Rewritten to not use database library.
42832         * nss/Makefile: Update to build new makedb program.
42834 2011-06-14  Andreas Jaeger  <aj@suse.de>
42836         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42837         memset declaration.
42839 2011-06-10  Andreas Schwab  <schwab@redhat.com>
42841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42842         tmpbuf.
42844 2011-06-10  Roland McGrath  <roland@hack.frob.com>
42846         * Makerules (shlib.lds): Fail if the linker script comes out empty.
42847         * elf/Makefile ($(objpfx)ld.so): Likewise.
42849         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42850         Don't list ld.so twice in dependencies.
42852         * posix/bug-regex31.c: Include <stdlib.h>.
42854         * nscd/hstcache.c (cache_addhst): Remove unused variable.
42856         * nis/nss_compat/compat-spwd.c
42857         (getspent_next_nss_netgr): Remove unused variable.
42858         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42860         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42861         nonmembers" output to use the right array.
42863         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42865         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42867         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42868         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42869         * catgets/gencat.c (read_input_file): Likewise.
42870         * locale/programs/locarchive.c (enlarge_archive): Likewise.
42872         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42873         variable definition inside #if's controlling its use.
42875         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42877         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42879         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42881         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42882         unreachable code.
42884         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42886         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42887         * configure: Regenerated.
42889         * Makerules: Revert last change.
42890         * elf/Makefile: Likewise.
42892 2011-06-09  Roland McGrath  <roland@hack.frob.com>
42894         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42895         * elf/Makefile ($(objpfx)librtld.os): Likewise.
42896         (reloc-link): Likewise.
42898 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
42900         * elf/Makefile: Add rules to build pldd.
42901         * elf/pldd.c: New file.
42902         * elf/pldd-xx.c: New file.
42904 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
42906         * version.h: Update for 2.15 development version.
42908 2011-06-07  David S. Miller  <davem@davemloft.net>
42910         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42911         ifuncs.
42912         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42913         elf_machine_lazy_rel): Likewise.
42914         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42916         elf_machine_lazy_rel): Likewise.
42917         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42918         dl_hwcap via passed in argument.
42919         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42920         Likewise.
42922 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42924         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42926 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42928         [BZ #12849]
42929         * manual/fdl-1.1.texi: New file, verbatim from:
42930         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42931         * manual/lgpl-2.1.texi: New file, verbatim from:
42932         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42933         * manual/Makefile (licenses): New variable, list those new file names.
42934         (texis): Use it.
42935         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42937         * manual/fdl.texi: File removed.
42938         * manual/lesser.texi: File removed.
42939         * manual/libc.texinfo (Copying, Documentation License):
42940         Use new @include file names, put @appendix directive before @include.
42942 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42944         [BZ #12841]
42945         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42946         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42947         (mq_open): Add __NTH.
42949 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42952         Assume Intel Core i3/i5/i7 processor if AVX is available.
42954 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42957         typo.
42959 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42961         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42962         memory.  Use alloca_account.  Fix memory leak when retrying.
42964 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42966         * version.h (RELEASE): Bump for 2.14 release.
42967         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42969         * config.make.in (RANLIB): Remove entry.
42971 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42973         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42974         (libc.pot): Work around missing support for .ksh extension in xgettext.
42976         [BZ #12684]
42977         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42978         if both request failed.
42979         (send_dg): In case of server errors clear resplen or *resplen2.
42981         [BZ #12454]
42982         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42983         when there are multiple maps.
42984         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42985         (_dl_fini): Remove test here.
42987         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42989 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42991         [BZ #12350]
42992         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42993         bit from old_res_options.
42994         (gaih_inet): Likewise.
42996         [BZ #11099]
42997         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42998         as signed.
43000         * resolv/res_init.c (res_setoptions): Make the code more compact.
43002         [BZ #11558]
43003         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43004         set RES_USEVC.
43006         [BZ #11634]
43007         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43009         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43011         [BZ #11781]
43012         * malloc/malloc.h: Declare malloc hook variables as volatile.
43014         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43015         in last patch.
43017         [BZ #11799]
43018         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43019         raise in the comment.
43020         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43021         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43022         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43024 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43026         [BZ #12811]
43027         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43028         grow the buffers more if it already has to be sufficient.
43029         (build_wcs_upper_buffer): Likewise.
43030         * posix/regexec.c (check_matching): Likewise.
43031         (clean_state_log_if_needed): Likewise.
43032         (extend_buffers): Don't enlarge buffers beyond size of the input
43033         buffer.
43034         Patches mostly by Emil Wojak <emil@wojak.eu>.
43035         * posix/bug-regex32.c: New file.
43036         * posix/Makefile (tests): Add bug-regex32.
43038         * locale/findlocale.c (_nl_find_locale): Return right away if
43039         _nl_explode_name failed.
43040         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43042         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43044         * debug/xtrace.sh: Unify messages.
43045         * malloc/memusage.sh: Likewise.
43047         [BZ #12813]
43048         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43049         time symbol from vDSO.  Substitute with vsyscall if not available.
43050         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43051         __vdso_time.
43053         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43054         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43055         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43056         Add sendmmsg and internal_sendmmsg.
43057         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43058         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43059         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43061         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43062         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43063         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43065 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43067         [BZ #12813]
43068         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43069         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43070         available.
43071         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43072         __vdso_getcpu.
43074         [BZ #12814]
43075         * iconvdata/Makefile (tests): Add bug-iconv9.
43076         * iconvdata/bug-iconv9.c: New file.
43078 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43080         [BZ #12814]
43081         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43083 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43085         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43086         (struct user_regs_struct): Change intcs field back to cs.
43088 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43090         * po/ja.po: Update from translation team.
43092 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43094         [BZ #12795]
43095         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43096         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43098 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43100         * stdlib/longlong.h: Update from GCC.
43102 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43104         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43105         parameter name.
43106         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43107         Add parameter name.
43108         (__sysconf): Pass it down.
43110 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43112         [BZ #12671]
43113         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43114         some situations.
43115         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43116         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43117         add in in __libc_use_alloca calls.  Adjust callers.
43118         (glob): Use malloc in some situations.
43120         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43121         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43122         pltexit.
43124 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43126         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43127         and CLOCK_BOOTTIME_ALARM.
43129         [BZ #12782]
43130         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43131         is returned.
43133         * string/_strerror.c (__strerror_r): Print negative errors as signed
43134         numbers.
43136         [BZ #12777]
43137         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43138         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43139         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43141         * configure.in: Fix typo in redirection and correct removal of test
43142         files in two cases.
43144         [BZ #12788]
43145         * locale/setlocale.c (new_composite_name): Fix test to check for
43146         identical name of all categories.
43148         [BZ #12792]
43149         * libio/filedoalloc.c (local_isatty): New function.
43150         (_IO_file_doallocate): Use local_isatty.
43151         * stdio-common/perror.c (perror): In case a new stream is used
43152         forward the stream error.
43153         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43154         error flag.
43156 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43158         [BZ #11869]
43159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43160         alloca.
43161         * include/alloca.h (extend_alloca_account): Define.
43163         [BZ #11857]
43164         * posix/regex.h: Fix comments with documentation of user-accessible
43165         fields after compilation and describe correct free'ing of pattern
43166         after re_compile_pattern.
43167         Patch by Reuben Thomas <rrt@sc3d.org>.
43169 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43171         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43172         and -mno-altivec to prevent the compiler from using Altivec and/or
43173         VSX instructions when the corresponding registers are not available.
43175 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43177         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43179 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43181         * libio/freopen.c (freopen): Use __dup2, not dup2.
43182         * libio/freopen64.c (freopen64): Likewise.
43184 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43186         [BZ #12775]
43187         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43188         * math/Makefile (tests): Add test-powl.
43189         (CFLAGS-test-powl.c): Define.
43190         * math/test-powl.c: New file.
43192 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43194         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43196 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43198         [BZ #11837]
43199         * iconvdata/gb18030.c: Update to GB18020-2005.
43201 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43203         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43204         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43205         Patch by Aharon Robbins <arnold@skeeve.com>.
43207         [BZ #11892]
43208         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43209         on the stack.
43211         [BZ #11895]
43212         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43213         through underflows.
43215         [BZ #12766]
43216         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43217         point to strings before performing equality test for error_one_per_line
43218         mode.
43220         [BZ #11697]
43221         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43223         [BZ #11820]
43224         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43225         (struct user_fpregs_struct): Avoid __uint*_t types.
43227         [BZ #6420]
43228         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43229         symbol info.  Use it instead of calling _dl_addr locally.
43230         (lock_and_info): New function.
43231         (tr_freehook): Call lock_and_info and pass symbol info as additional
43232         parameter to tr_where.
43233         (tr_mallochook): Likewise.
43234         (tr_reallochook): Likewise.
43235         (tr_memalignhook): Likewise.
43237         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43238         used and couldn't be at all thread-safe.
43240 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43242         * libio/freopen.c (freopen): Don't close old file descriptor
43243         before the new one is opened.  Instead dup the new file descriptor
43244         to the old one after the new stream is created.
43245         * libio/freopen64.c (freopen64): Likewise.
43246         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43247         * libio/fileops.c (_IO_new_file_close_it): Handle new
43248         _IO_FLAGS2_NOCLOSE flag.
43249         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43250         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43251         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43252         _IO_FLAGS2_NOCLOSE flag.
43253         * include/unistd.h: Add hidden_proto for dup3.
43254         Define __have_dup3.
43255         * io/dup3.c: Define hidden symbol.
43256         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43258         [BZ #7101]
43259         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43260         when an incomplete long option is used.
43261         * posix/tst-getopt_long1.c: New file.
43262         * posix/Makefile (tests): Add tst-getopt_long1.
43264         [BZ #10138]
43265         * scripts/config.guess: Update from autoconf-2.68.
43266         * scripts/config.sub: Likewise.
43268         [BZ #10157]
43269         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43270         tests into ...
43271         (has_cpuclock): ...this.  New function.
43272         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43273         macro here based on has_cpuclock code.
43275         [BZ #10149]
43276         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43277         First byte (not low byte) is now always NUL.
43278         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43280         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43281         Use non-cancelable interfaces.
43283         [BZ #9809]
43284         * locale/iso-639.def: Add entry for Sorani.
43286         [BZ #11901]
43287         * include/stdlib.h: Move include protection to the right place.
43288         Define abort_msg_s.  Declare __abort_msg with it.
43289         * stdlib/abort.c (__abort_msg): Adjust type.
43290         * assert/assert.c (__assert_fail_base): New function.  Majority
43291         of code from __assert_fail.  Allocate memory for __abort_msg with
43292         mmap.
43293         (__assert_fail): Now call __assert_fail_base.
43294         * assert/assert-perr.c: Remove bulk of implementation.  Use
43295         __assert_fail_base.
43296         * include/assert.hL Declare __assert_fail_base.
43297         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43298         mmap.
43299         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43301 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43303         [BZ #11952]
43304         [BZ #12453]
43305         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43306         until all modules are registered in the DTV.
43307         * elf/Makefile: Add rules to build and run tst-tls19.
43308         * elf/tst-tls19.c: New file.
43309         * elf/tst-tls19mod1.c: New file.
43310         * elf/tst-tls19mod2.c: New file.
43311         * elf/tst-tls19mod3.c: New file.
43312         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43314         [BZ #12083]
43315         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43316         correctly.
43318         [BZ #12601]
43319         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43320         two-byte sequence errors.
43321         * iconvdata/Makefile (tests): Add bug-iconv8.
43322         * iconvdata/bug-iconv8.c: New file.
43324         [BZ #12626]
43325         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43326         buf2 definition.
43328         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43330         [BZ #12432]
43331         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43332         (dummy_getcfa): New function.
43333         (init): Get _Unwind_GetCFA address, use dummy if not found.
43334         (backtrace_helper): In recursion check, also check whether CFA changes.
43335         (__backtrace): Completely initialize arg.
43337         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43338         storing incomplete byte sequence in state object.  Avoid testing for
43339         guaranteed too small input if we know there is enough data available.
43341 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43343         * Makeconfig (+link-pie): Indent.
43344         * Rules (binaries-pie): Define if $(have-fpie) and
43345         $(build-shared).
43346         (binaries-shared): Also filter out $(binaries-pie).
43347         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43348         * nscd/Makefile (others-pie): Add nscd.
43349         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43350         ($(objpfx)nscd): Remove command override.
43351         * login/Makefile (others-pie): Add pt_chown.
43352         ($(objpfx)pt_chown): Remove command override.
43353         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43354         remove command overrides.
43356 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43358         * libio/tst_putwc.c: Fix error messages.
43360         [BZ #12724]
43361         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43362         currently writing and seek to current position when not.
43363         * libio/Makefile (tests): Add bug-fclose1.
43364         * libio/bug-fclose1.c: New file.
43366 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43368         [BZ #12511]
43369         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43370         don't set DF_1_NODELETE here.
43371         (do_lookup_x): When entering new entry test for copy relocation
43372         and if necessary set DF_1_NODELETE flag.
43373         * elf/tst-unique4.cc: New file.
43374         * elf/tst-unique4.h: New file.
43375         * elf/tst-unique4lib.cc: New file.
43376         * elf/Makefile: Add rules to build and run tst-unique4.
43377         Patch by Piotr Bury <pbury@goahead.com>.
43379 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43381         [BZ #12052]
43382         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43384         [BZ #12625]
43385         * misc/mntent_r.c (addmntent): Flush the stream after the output
43387         [BZ #12393]
43388         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43389         (is_trusted_path_normalize): Skip initial colon.  Append slash
43390         to empty buffer.  Duplicate is_trusted_path code but allow
43391         constructed patch to be prefix.
43392         (is_dst): Allow $ORIGIN followed by /.
43393         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43394         Correct testing of result of is_trusted_path_normalize
43395         (decompose_rpath): Fix warning.
43397 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43399         [BZ #11257]
43400         * grp/initgroups.c (internal_getgrouplist): When we found the service
43401         list through the initgroups entry in nsswitch.conf do not always
43402         continue on a successful lookup.  Don't always use the
43403         __nss_group_database value if it is set.
43404         * nss/nsswitch.conf (initgroups): Change action for successful db
43405         lookup to continue for compatibility.
43407 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43409         [BZ #11532]
43410         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43411         and CP774 modules.
43412         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43413         and CP774 modules.
43414         * iconvdata/tst-tables.sh: Likewise.
43415         * iconvdata/cp770.c: New file.
43416         * iconvdata/cp771.c: New file.
43417         * iconvdata/cp772.c: New file.
43418         * iconvdata/cp773.c: New file.
43419         * iconvdata/cp774.c: New file.
43420         * iconvdata/testdata/CP770: New file.
43421         * iconvdata/testdata/CP770..UTF8: New file.
43422         * iconvdata/testdata/CP771: New file.
43423         * iconvdata/testdata/CP771..UTF8: New file.
43424         * iconvdata/testdata/CP772: New file.
43425         * iconvdata/testdata/CP772..UTF8: New file.
43426         * iconvdata/testdata/CP773: New file.
43427         * iconvdata/testdata/CP773..UTF8: New file.
43428         * iconvdata/testdata/CP774: New file.
43429         * iconvdata/testdata/CP774..UTF8: New file.
43431         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43432         END CHARMAP line.
43433         * iconvdata/gen-8bit-gap.sh: Likewise.
43434         * iconvdata/gen-8bit.sh: Likewise.
43436         * locale/iso-639.def: Add ary entry.
43438         [BZ #11258]
43439         * locale/C-translit.h.in: Add U20A1 transliteration.
43441         [BZ #12178]
43442         * locale/iso-639.def: Add wae entry.
43443         Patch by Kevin Bortis <bortis@translate-wae.ch>.
43445         [BZ #12545]
43446         * locale/programs/localedef.c (construct_output_path): Use ssize_t
43447         for n.
43449         [BZ #12711]
43450         * locale/C-translit.h.in: Add entry for U20B9.
43451         Patch by pravin.d.s@gmail.com.
43453 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
43455         [BZ #12713]
43456         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43457         ENAMETOOLONG use generic getcwd.
43458         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
43459         in rtld.  Use *stat64.
43460         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43461         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43462         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43463         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43464         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43465         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43466         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43467         __fstatat64 macros.
43468         * include/dirent.h: Add libc_hidden_proto for rewinddir.
43469         * dirent/rewinddir.c: Add libc_hidden_def.
43470         * sysdeps/mach/hurd/rewinddir.c: Likewise.
43471         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
43473         * include/dirent.h (__alloc_dir): Add flags parameter.
43474         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43475         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43476         __alloc_dir.
43477         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43478         from fdopendir if O_CLOEXEC is already set.
43480 2011-03-15  Alan Modra  <amodra@gmail.com>
43482         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43483         l_tls_firstbyte_offset non-zero.  Save padding offset in
43484         l_tls_firstbyte_offset for later use.
43485         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43486         freeing static tls block.
43488 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
43490         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43491         where #ifdef was intended.  The intent is to prevent ARG_MAX from
43492         being defined by the kernel headers.
43494 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
43496         [BZ #12734]
43497         * resolv/resolv.h: Define RES_NOTLDQUERY.
43498         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43499         no-tld-query and set RES_NOTLDQUERY.
43500         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43501         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43502         modern BIND to search name as TLD unless forbidden.
43504 2011-05-07  Petr Baudis  <pasky@suse.cz>
43505             Ulrich Drepper  <drepper@gmail.com>
43507         [BZ #12393]
43508         * elf/dl-load.c (fillin_rpath): Move trusted path check...
43509         (is_trusted_path): ...to here.
43510         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43511         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43512         using is_trusted_path_normalize() in setuid scripts.
43514 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43516         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43517         __BEGIN/__END_DECLS.
43519 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
43521         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43522         NSS_STATUS_NOTFOUND if no record was found.
43524 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43526         * sunrpc/Makefile (headers): Add rpc/netdb.h.
43527         (headers-not-in-tirpc): Remove rpc/netdb.h
43528         * resolv/netdb.h: Revert last change.
43530 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43532         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43533         circular dependency between libgcc.a and libc.a.
43535 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43537         * resolv/netdb.h: Don't include <rpc/netdb.h>.
43538         * nis/Makefile: Don't install rpcsvc/*.
43539         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43540         instead of <rpc/types.h>.
43541         (MAXHOSTNAMELEN): Define.
43543 2011-05-03  Andreas Schwab  <schwab@redhat.com>
43545         * elf/ldconfig.c (add_dir): Don't crash on empty path.
43547 2011-04-28  Maciej Babinski  <mbabinski@google.com>
43549         [BZ #12714]
43550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43551         gethostbyname4_r when IPv6 results are possible.
43553 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
43555         [BZ #12723]
43556         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43557         _PC_PIPE_BUF handling.
43559 2011-04-30  Bruno Haible  <bruno@clisp.org>
43561         [BZ #12717]
43562         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43563         * resolv/netdb.h (getnameinfo): Change type of flags parameter
43564         to 'int'.
43565         * inet/getnameinfo.c (getnameinfo): Likewise.
43567 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
43569         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43570         to groups setting in database lookup.
43571         * nss/nsswitch.conf: Add initgroups entry.
43573 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
43575         [BZ #12685]
43576         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43577         mode string.
43578         Patch by Eric Blake <eblake@redhat.com>.
43580 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
43582         * sunrpc/Makefile (need-export-routines): Add svc_run.
43583         (routines): Remove svc_run.
43584         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43585         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43586         * sunrpc/svc_run.c (svc_run): Likewise.
43587         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43589 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43591         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43592         problem in reallocation in last patch.
43594 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43596         * sunrpc/Makefile: Move inclusion of Rules.
43598 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43600         * nss/nss_files/files-initgroups.c: New file.
43601         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43602         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43603         _nss_files_initgroups_dyn.
43605 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43607         * elf/elf.h (R_ARM_IRELATIVE): Define.
43609 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43611         * po/ru.po: Update from translation team.
43613 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43615         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43616         dependencies.
43618 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43620         [BZ #12653]
43621         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43622         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43623         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43624         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43625         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43627 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43629         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43630         differing bytes.
43631         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43632         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43633         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43635 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43637         [BZ #12420]
43638         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43639         storing it.
43640         * stdlib/bug-getcontext.c: New file.
43641         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43643 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43645         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43646         instructions into .machine "z9-109".
43647         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43648         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43650 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43652         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43653         between environment variables and auxiliary vector.
43655 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43657         * Makefile: Add rules to build linkobj/libc.so.
43658         * include/libc-symbols.h: Define libc_hidden_nolink.
43659         * include/rpc/auth.h: Mark functions which are to be hidden.
43660         * include/rpc/auth_des.h: Likewise.
43661         * include/rpc/auth_unix.h: Likewise.
43662         * include/rpc/clnt.h: Likewise.
43663         * include/rpc/des_crypt.h: Likewise.
43664         * include/rpc/key_prot.h: Likewise.
43665         * include/rpc/pmap_clnt.h: Likewise.
43666         * include/rpc/pmap_prot.h: Likewise.
43667         * include/rpc/pmap_rmt.h: Likewise.
43668         * include/rpc/rpc_msg.h: Likewise.
43669         * include/rpc/svc.h: Likewise.
43670         * include/rpc/svc_auth.h: Likewise.
43671         * include/rpc/xdr.h: Likewise.
43672         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43673         * nss/Makefile: Likewise.
43674         * sunrpc/Makefile: Don't install headers.  Build library with normal
43675         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43676         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43677         for the compat linking library.  Remove use of INTDEF/INTUSE.
43678         * sunrpc/auth_none.c: Likewise.
43679         * sunrpc/auth_unix.c: Likewise.
43680         * sunrpc/authdes_prot.c: Likewise.
43681         * sunrpc/authuxprot.c: Likewise.
43682         * sunrpc/clnt_gen.c: Likewise.
43683         * sunrpc/clnt_perr.c: Likewise.
43684         * sunrpc/clnt_raw.c: Likewise.
43685         * sunrpc/clnt_simp.c: Likewise.
43686         * sunrpc/clnt_tcp.c: Likewise.
43687         * sunrpc/clnt_udp.c: Likewise.
43688         * sunrpc/clnt_unix.c: Likewise.
43689         * sunrpc/des_crypt.c: Likewise.
43690         * sunrpc/des_soft.c: Likewise.
43691         * sunrpc/get_myaddr.c: Likewise.
43692         * sunrpc/key_call.c: Likewise.
43693         * sunrpc/key_prot.c: Likewise.
43694         * sunrpc/netname.c: Likewise.
43695         * sunrpc/pm_getmaps.c: Likewise.
43696         * sunrpc/pm_getport.c: Likewise.
43697         * sunrpc/pmap_clnt.c: Likewise.
43698         * sunrpc/pmap_prot.c: Likewise.
43699         * sunrpc/pmap_prot2.c: Likewise.
43700         * sunrpc/pmap_rmt.c: Likewise.
43701         * sunrpc/publickey.c: Likewise.
43702         * sunrpc/rpc_cmsg.c: Likewise.
43703         * sunrpc/rpc_common.c: Likewise.
43704         * sunrpc/rpc_dtable.c: Likewise.
43705         * sunrpc/rpc_prot.c: Likewise.
43706         * sunrpc/rpc_thread.c: Likewise.
43707         * sunrpc/rtime.c: Likewise.
43708         * sunrpc/svc.c: Likewise.
43709         * sunrpc/svc_auth.c: Likewise.
43710         * sunrpc/svc_authux.c: Likewise.
43711         * sunrpc/svc_raw.c: Likewise.
43712         * sunrpc/svc_run.c: Likewise.
43713         * sunrpc/svc_simple.c: Likewise.
43714         * sunrpc/svc_tcp.c: Likewise.
43715         * sunrpc/svc_udp.c: Likewise.
43716         * sunrpc/svc_unix.c: Likewise.
43717         * sunrpc/svcauth_des.c: Likewise.
43718         * sunrpc/xcrypt.c: Likewise.
43719         * sunrpc/xdr.c: Likewise.
43720         * sunrpc/xdr_array.c: Likewise.
43721         * sunrpc/xdr_float.c: Likewise.
43722         * sunrpc/xdr_intXX_t.c: Likewise.
43723         * sunrpc/xdr_mem.c: Likewise.
43724         * sunrpc/xdr_rec.c: Likewise.
43725         * sunrpc/xdr_ref.c: Likewise.
43726         * sunrpc/xdr_sizeof.c: Likewise.
43727         * sunrpc/xdr_stdio.c: Likewise.
43729 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
43731         [BZ #12650]
43732         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43733         * sysdeps/ia64/dl-tls.h: Likewise.
43734         * sysdeps/powerpc/dl-tls.h: Likewise.
43735         * sysdeps/s390/dl-tls.h: Likewise.
43736         * sysdeps/sh/dl-tls.h: Likewise.
43737         * sysdeps/sparc/dl-tls.h: Likewise.
43738         * sysdeps/x86_64/dl-tls.h: Likewise.
43739         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43741 2011-03-14  Andreas Schwab  <schwab@redhat.com>
43743         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43744         rpath element also skip the following colon.
43745         (expand_dynamic_string_token): Add is_path parameter and pass
43746         down to DL_DST_REQUIRED and _dl_dst_substitute.
43747         (decompose_rpath): Call expand_dynamic_string_token with
43748         non-zero is_path.  Ignore empty rpaths.
43749         (_dl_map_object_from_fd): Call expand_dynamic_string_token
43750         with zero is_path.
43752 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
43754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43755         Make cancelable.
43757 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
43759         [BZ #12655]
43760         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43761         Patch by Filipe David Manana <fdmanana@apache.org>.
43763 2011-04-07  Andreas Schwab  <schwab@redhat.com>
43765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43766         Maintain aligned stack.
43767         (CHECK_RSP): Remove unused macro.
43769 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
43771         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43772         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43774 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
43776         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43778         * include/features.h: Mention __USE_XOPEN2K8 in comment.
43780 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
43782         [BZ #12518]
43783         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43784         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43785         * sysdeps/x86_64/memmove.c: New file.
43786         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43787         (memcpy): Renamed to ...
43788         (__new_memcpy): This.
43789         (memcpy): Provide GLIBC_2_14 memcpy.
43790         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43791         (memcpy): Provide GLIBC_2_2_5 memcpy.
43793 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43795         [BZ #12631]
43796         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43798 2011-03-30  Andreas Schwab  <schwab@redhat.com>
43800         * misc/syncfs.c: New file.
43801         * misc/Makefile (routines): Add syncfs.
43802         * posix/unistd.h: Declare syncfs.
43803         * sysdeps/unix/syscalls.list: Add syncfs.
43805 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43807         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43808         open_by_handle_at.
43809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43810         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43811         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43812         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43814         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43815         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43817 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43819         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43820         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43821         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43823         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43825         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43827         * io/Makefile: Compile fallocate.c, fallocate64.c, and
43828         sync_file_range.c with -fexceptions.
43829         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43830         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43831         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43832         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43833         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43834         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43836         sync_file_range as cancellation point
43837         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
43838         now a wrapper around __call_sync_file_range with cancellation handling.
43839         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43840         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
43841         function name to __call_sync_file_range.
43842         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43843         Add call_sync_file_range.
43845 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43848         bits/timex.h.
43850 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43852         * iconv/iconv.h: Fix typo in comment.
43853         * io/fcntl.h: Likewise.
43854         * libio/stdio.h: Likewise.
43855         * posix/spawn.h: Likewise.
43856         * posix/unistd.h: Likewise.
43857         * stdlib/stdlib.h: Likewise.
43858         * time/time.h: Likewise.
43859         * wcsmbs/wchar.h: Likewise.
43861         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43862         open_by_handle): Add.
43863         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43864         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
43865         Augment a few comments.
43866         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43868         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43870         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43871         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43872         open_by_handle.
43874         * io/fcntl.h (AT_EMPTY_PATH): Define.
43876 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
43878         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43879         * sysdeps/unix/sysv/linux/bits/time.h: New file.
43880         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43881         to...
43882         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
43883         * Versions.def: Add GLIBC_2.14.
43884         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43885         Export.
43887 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
43889         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43890         round counter.
43891         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43893 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43895         [BZ #12597]
43896         * string/test-strncmp.c (do_page_test): New function.
43897         (check2): Likewise.
43898         (test_main): Call check2.
43899         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43901 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
43903         [BZ #12587]
43904         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43905         Handle cache information in CPU leaf 4.
43906         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43908 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
43910         [BZ #12583]
43911         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43912         character representation.
43913         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43915 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43917         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43918         END(__isnan) to END(__isnanf) to match function entry point/label
43919         EALIGN(__isnanf,...).
43921 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43923         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43925 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43927         [BZ #12510]
43928         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43929         copy from the symbol referenced in the relocation to initialize the
43930         used variable.
43931         Patch by Piotr Bury <pbury@goahead.com>.
43932         * elf/Makefile: Add rules to build and tst-unique3.
43933         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43934         * elf/tst-unique3.cc: New file.
43935         * elf/tst-unique3.h: New file.
43936         * elf/tst-unique3lib.cc: New file.
43937         * elf/tst-unique3lib2.cc: New file.
43939         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43941 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43943         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43944         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43945         to _start.
43947 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43949         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43950         to-be-loaded object along a path to loader is ld.so.
43952 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43953             Ulrich Drepper  <drepper@gmail.com>
43955         * sysdeps/x86_64/memset.S: After aligning destination, code
43956         branches to different locations depending on the value of
43957         misalignment, when multiarch is enabled. Fix this.
43959 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43961         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43962         Set _x86_64_preferred_memory_instruction for AMD processsors.
43963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43964         Set bit_Prefer_SSE_for_memop for AMD processors.
43966 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43968         * libio/fmemopen.c (fmemopen): Optimize a bit.
43970 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43972         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43974 2011-03-03  Roland McGrath  <roland@redhat.com>
43976         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43978 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43980         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43981         __bzero_ultra1 instead of __memset_ultra1.
43983 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43984             Ulrich Drepper  <drepper@gmail.com>
43986         [BZ #12509]
43987         * include/link.h (struct link_map): Add l_orig_initfini.
43988         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43989         returning unsuccessfully.
43990         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43991         close of a file loaded at startup, restore the original l_initfini
43992         list.
43993         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43994         list, store the pointer.
43995         * elf/Makefile ($(objpfx)noload-mem): New rule.
43996         (noload-ENV): Define.
43997         (tests): Add $(objpfx)noload-mem.
43998         * elf/noload.c: Include <memcheck.h>.
43999         (main): Call mtrace.  Close all opened handles.
44001 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44003         [BZ #12454]
44004         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44005         dependencies are missing.
44007 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44009         Fix __if_freereq crash: Unlike the generic version which uses free,
44010         Hurd needs munmap.
44011         * sysdeps/mach/hurd/ifreq.h: New file.
44013 2011-01-27  Petr Baudis  <pasky@suse.cz>
44014             Ulrich Drepper  <drepper@gmail.com>
44016         [BZ 12445]#
44017         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44018         to extend_alloca().
44019         * stdio-common/bug23.c: New file.
44020         * stdio-common/Makefile (tests): Add bug23.
44022 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44023             Ulrich Drepper  <drepper@gmail.com>
44025         [BZ #12489]
44026         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44027         before performing relro protection.  At old place add assertion
44028         to make sure nothing changed.
44030 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44031             Glauber de Oliveira Costa  <glommer@gmail.com>
44033         * elf/elf.h: Add new ARM TLS relocs.
44035 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44038         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44039         cast from r3.
44040         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44041         'tests' variable.
44042         * sysdeps/wordsize-64/tst-writev.c: New file.
44044 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44046         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44047         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44048         insns in _dl_start to prevent a TOC reference before relocs are
44049         resolved.
44051 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44053         [BZ #12469]
44054         * Makeconfig: Remove RANLIB definition.
44055         * Makerules: Don't use RANLIB.
44056         * aclocal.m4: Remove ranlib test.
44057         * configure.in: No need to check for ranlib.
44058         * elf/rtld-Rules: Don't use RANLIB.
44060 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44062         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44063         protection macro.
44064         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44065         inclusion protection macro.
44067         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44068         SIGRTMIN and SIGRTMAX and print information in that case only when
44069         SIGRTMIN is defined.
44071 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44073         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44074         arginfo fn returning -1.
44076         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44077         and thousands string is zero terminated.
44079 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44082         sysdeps/unix/sysv/linux/bits/socket.h.
44084 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44086         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44087         (__CPU_COUNT): Remove old macros.
44088         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44089         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44090         (__CPU_ALLOC, __CPU_FREE): Add macros.
44091         (__sched_cpualloc, __sched_cpufree): Add declarations.
44093 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44095         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44096         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44097         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44098         (readdhstai): Return value of addhstaiX call.
44099         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44100         (addgrbyX): Return value returned by cache_addgr.
44101         (readdgrbyname): Return value returned by addgrbyX.
44102         (readdgrbygid): Likewise.
44103         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44104         (addpwbyX): Return value returned by cache_addpw.
44105         (readdpwbyname): Return value returned by addhstbyX.
44106         (readdpwbyuid): Likewise.
44107         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44108         (addservbyX): Return value returned by cache_addserv.
44109         (readdservbyname): Return value returned by addservbyX:
44110         (readdservbyport): Likewise.
44111         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44112         (addhstbyX): Return value returned by cache_addhst.
44113         (readdhstbyname): Return value returned by addhstbyX.
44114         (readdhstbyaddr): Likewise.
44115         (readdhstbynamev6): Likewise.
44116         (readdhstbyaddrv6): Likewise.
44117         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44118         (readdinitgroups): Return value returned by addinitgroupsX.
44119         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44120         (prune_cache): Keep track of timeout value of re-added entries.
44121         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44122         * nscd/nscd.h: Adjust prototypes of readd* functions.
44124 2011-02-04  Roland McGrath  <roland@redhat.com>
44126         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44127         (nis_stats): Likewise.
44128         * nis/nis_modify.c (nis_modify): Likewise.
44129         * nis/nis_remove.c (nis_remove): Likewise.
44130         * nis/nis_add.c (nis_add): Likewise.
44132         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44134         * posix/fnmatch_loop.c: Add some consts.
44136         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44138 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44140         [BZ #12460]
44141         * config.make.in (config-cflags-novzeroupper): Define.
44142         * configure.in: Substitute libc_cv_cc_novzeroupper.
44143         * elf/Makefile (AVX-CFLAGS): Define.
44144         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44145         (CFLAGS-tst-auditmod4a.c): Likewise.
44146         (CFLAGS-tst-auditmod4b.c): Likewise.
44147         (CFLAGS-tst-auditmod6b.c): Likewise.
44148         (CFLAGS-tst-auditmod6c.c): Likewise.
44149         (CFLAGS-tst-auditmod7b.c): Likewise.
44150         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44152 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44154         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44155         function to the callback.
44156         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44158 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44160         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44161         of errno.
44163 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44165         [BZ #11724]
44166         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44167         of constructors.
44168         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44169         of destructors.
44170         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44172         [BZ #11724]
44173         * elf/Makefile: Add rules to build and run new test.
44174         * elf/tst-initorder.c: New file.
44175         * elf/tst-initorder.exp: New file.
44176         * elf/tst-initordera1.c: New file.
44177         * elf/tst-initordera2.c: New file.
44178         * elf/tst-initordera3.c: New file.
44179         * elf/tst-initordera4.c: New file.
44180         * elf/tst-initorderb1.c: New file.
44181         * elf/tst-initorderb2.c: New file.
44182         * elf/tst-order-a1.c: New file.
44183         * elf/tst-order-a2.c: New file.
44184         * elf/tst-order-a3.c: New file.
44185         * elf/tst-order-a4.c: New file.
44186         * elf/tst-order-b1.c: New file.
44187         * elf/tst-order-b2.c: New file.
44188         * elf/tst-order-main.c: New file.
44189         New test case by George Gensure <werkt0@gmail.com>.
44191 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44194         decoding ACE if AI_CANONIDN.
44196 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44198         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44200 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44202         * version.h (RELEASE): Bump for 2.13 release.
44203         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44205         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44207         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44208         MADV_NOHUGEPAGE.
44209         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44210         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44211         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44212         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44214         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44216         * posix/getconf.c: Update copyright year.
44217         * catgets/gencat.c: Likewise.
44218         * csu/version.c: Likewise.
44219         * debug/catchsegv.sh: Likewise.
44220         * debug/xtrace.sh: Likewise.
44221         * elf/ldconfig.c: Likewise.
44222         * elf/ldd.bash.in: Likewise.
44223         * elf/sprof.c (print_version): Likewise.
44224         * iconv/iconv_prog.c: Likewise.
44225         * iconv/iconvconfig.c: Likewise.
44226         * locale/programs/locale.c: Likewise.
44227         * locale/programs/localedef.c: Likewise.
44228         * malloc/memusage.sh: Likewise.
44229         * malloc/mtrace.pl: Likewise.
44230         * nscd/nscd.c (print_version): Likewise.
44231         * nss/getent.c: Likewise.
44233         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44234         PF_CAIF, and PF_ALG.
44235         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44237 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44239         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44240         (modules-names): Use them.
44241         (ifunc-test-modules, ifunc-pie-tests): Define.
44242         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44243         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44244         (test-extras): Likewise.
44245         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44246         $(compile-command.c).
44247         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44248         (all-built-dso): Define.
44249         (check-textrel.out, check-execstack.out): Depend on it.
44251         * configure.in: Don't override --enable-multi-arch.
44253 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44255         [BZ #6812]
44256         * nscd/hstcache.c (tryagain): Define.
44257         (cache_addhst): Return tryagain not notfound for temporary errors.
44258         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44259         failed.
44261 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44263         [BZ #10563]
44264         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44265         to make the syscall.
44266         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44268         [BZ #12378]
44269         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44270         and fall back to matching as normal character if the string ends before
44271         the matching ']' is found.  This is what POSIX requires.
44272         * posix/testfnm.c: Adjust test result.
44273         * posix/globtest.sh: Adjust test result.  Add new test.
44274         * posix/tst-fnmatch.input: Likewise.
44275         * posix/tst-fnmatch2.c: Add new test.
44277 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44279         * elf/Makefile (check-execstack): Revert last change.  Depend on
44280         check-execstack.h.
44281         (check-execstack.h): New target.
44282         (generated): Add check-execstack.h.
44283         * elf/check-execstack.c: Include "check-execstack.h".
44284         (main): Revert last change.
44285         (handle_file): Return zero if GNU_STACK is absent and
44286         DEFAULT_STACK_PERMS doesn't include PF_X.
44288 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44290         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44291         in child fails because the descriptor is already closed.
44292         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44293         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44294         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44296         [BZ #12397]
44297         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44298         syscall.
44300         [BZ #10484]
44301         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44302         temporary buffer used to handle multi lookups locally.
44303         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44305 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44307         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44308         loader is ld.so.
44310 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44312         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44313         alignment for SSE2.
44315 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44317         [BZ #12394]
44318         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44319         characters.  When rounding increased number of integer digits recompute
44320         number of groups.
44321         * stdio-common/tst-grouping.c: New file.
44322         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44324 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44326         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44327         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44329         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44330         void.
44331         * bits/select.h: Likewise.
44333 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44335         * po/ja.po: Update from translation team.
44337 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44339         [BZ #11155]
44340         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44341         implementation just like for lxstat, fxstatat, et al.
44343 2010-12-27  Jim Meyering  <meyering@redhat.com>
44345         [BZ #12348]
44346         * posix/regexec.c (build_trtable): Return failure indication upon
44347         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44349 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44351         [BZ #12201]
44352         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44353         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44354         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44355         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44357         [BZ #12207]
44358         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44360         [BZ #12204]
44361         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44362         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44364 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44366         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44367         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44368         script has SORT_BY_INIT_PRIORITY.
44369         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44370         NO_CTORS_DTORS_SECTIONS is defined.
44371         * elf/soinit.c: Likewise.
44372         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44373         NO_CTORS_DTORS_SECTIONS is defined.
44374         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44375         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44376         * sysdeps/sh/init-first.c: Likewise.
44377         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44379 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44381         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44382         always use the slow path.
44384 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44386         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44387         similar rule which adds the sysdep directories to the header search in
44388         order to pick up the correct platform stackinfo.h.
44389         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44390         perform test if it is, otherwise return successfully without testing.
44391         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44392         DEFAULT_STACK_PERMS define in stackinfo.h.
44393         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44394         defined in stackinfo.h.
44395         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44396         DEFAULT_STACK_PERMS defined in stackinfo.h.
44397         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44398         * sysdeps/ia64/stackinfo.h: Likewise.
44399         * sysdeps/s390/stackinfo.h: Likewise.
44400         * sysdeps/sh/stackinfo.h: Likewise.
44401         * sysdeps/sparc/stackinfo.h: Likewise.
44402         * sysdeps/x86_64/stackinfo.h: Likewise.
44403         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44404         PF_X for powerpc64.  Retain PF_X for powerpc32.
44406 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44408         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44409         accurately.
44410         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44411         GETDENTS_64BIT_ALIGNED.
44413 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44415         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44417 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44419         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44420         _GNU_SOURCE.
44422         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44423         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44424         Remove __restrict.
44425         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44426         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44428 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
44430         [BZ #11655]
44431         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44432         are initialized.
44434 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
44436         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44438 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
44440         * po/it.po: Update from translation team.
44442 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
44444         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44445         unused codes.
44447 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
44449         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44451 2010-11-24  Andreas Schwab  <schwab@redhat.com>
44453         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44454         specially.
44455         (gaih_getanswer_slice): Likewise.
44457 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
44459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44461 2010-05-31  Petr Baudis  <pasky@suse.cz>
44463         [BZ #11149]
44464         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44465         silently even in the chroot mode.
44467 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
44469         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44470         last patch a bit.  Pretty printing
44472 2010-05-31  Petr Baudis <pasky@suse.cz>
44474         [BZ #10085]
44475         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44476         initialization of skip_initgroups_dyn.
44478 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44480         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44481         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44483 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44485         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44487 2010-11-11  Andreas Schwab  <schwab@redhat.com>
44489         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44490         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44491         (tst-fnmatch-ENV): Set MALLOC_TRACE.
44492         ($(objpfx)tst-fnmatch-mem): New rule.
44493         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44494         * posix/tst-fnmatch.c (main): Call mtrace.
44496 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
44498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44499         Support Intel processor model 6 and model 0x2c.
44501 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
44503         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44504           signed comparison.
44506 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
44508         [BZ #12205]
44509         * string/test-strncasecmp.c (check_result): New function.
44510         (do_one_test): Use it.
44511         (check1): New function.
44512         (test_main): Use it.
44513         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44514         Support strcasecmp and strncasecmp.
44516 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
44518         [BZ #12194]
44519         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44520         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44522 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44524         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44525         IFUNC support.
44526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44527         memset-x86-64.
44528         * sysdeps/x86_64/multiarch/bzero.S: New file.
44529         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44530         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44531         * sysdeps/x86_64/multiarch/memset.S: New file.
44532         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44534         Set bit_Prefer_SSE_for_memop for Intel processors.
44535         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44536         Define.
44537         (index_Prefer_SSE_for_memop): Define.
44538         (HAS_PREFER_SSE_FOR_MEMOP): Define.
44540 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
44542         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44543         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44545 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
44547         [BZ #12191]
44548         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44549         (__x86_64_raw_data_cache_size_half): Likewise.
44550         (__x86_64_raw_shared_cache_size): Likewise.
44551         (__x86_64_raw_shared_cache_size_half): Likewise.
44553         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44554         (__x86_64_raw_data_cache_size_half): Likewise.
44555         (__x86_64_raw_shared_cache_size): Likewise.
44556         (__x86_64_raw_shared_cache_size_half): Likewise.
44557         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44558         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44559         and __x86_64_raw_shared_cache_size_half.  Round
44560         __x86_64_data_cache_size_half, __x86_64_data_cache_size
44561         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44562         to multiple of 256 bytes.
44564 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
44566         [BZ #12167]
44567         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44568         of inacessible symlinks.  Verify result of symlink before returning it.
44569         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44570         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44572 2010-10-28  Erich Ritz  <erichritz@gmail.com>
44574         * math/math.h (isinf): Fix typo in comment.
44576 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
44578         * po/da.po: Update from translation team.
44580 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
44582         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44583         is added to the list.
44585 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44586             Ulrich Drepper  <drepper@gmail.com>
44588         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44589         the global list here.  Move code to...
44590         (_dl_add_to_namespace_list): ...here.  New function.
44591         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44592         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44593         * elf/dl-load.c (lose): Don't remove the element from the list.
44594         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44595         (_dl_map_object): Likewise.
44597 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44599         [BZ #12159]
44600         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44601         into all bytes of SSE register.
44602         Patch by Richard Li <richardpku@gmail.com>.
44604 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44606         [BZ #12140]
44607         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44608         perturbing.
44610 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44612         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44613         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44614         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44615         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44617         submachine.
44618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44620 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44622         * include/dlfcn.h (__RTLD_SECURE): Define.
44623         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44624         mode & __RTLD_SECURE instead.
44625         (open_path): Rename preloaded parameter to secure.
44626         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44627         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44628         * elf/dl-deps.c (openaux): Likewise.
44629         * elf/rtld.c (struct map_args): Remove is_preloaded.
44630         (map_doit): Don't use it.
44631         (dl_main): Likewise.
44632         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44633         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44635 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44637         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44638         (sysd-rules-targets): Remove duplicates.
44639         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44640         rtld-%.$o dependency.
44642 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44644         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44645         _dl_map_object do it.
44647 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44649         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44650         fast fma builtins, define the macros in the C99 standard.
44651         (FP_FAST_FMAF): Likewise.
44652         (FP_FAST_FMAL): Likewise.
44653         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44655         * bits/mathdef.h: Update copyright year.
44656         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44658 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44660         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44661         builtins, define the macros in the C99 standard.
44662         (FP_FAST_FMAF): Likewise.
44663         (FP_FAST_FMAL): Likewise.
44664         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44665         multiply/add.
44666         (FP_FAST_FMAF): Likewise.
44668 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44670         [BZ #3268]
44671         * math/libm-test.inc (fma_test): Some new testcases.
44672         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44673         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44674         y and infinite z.  Do multiplication by C already in long double.
44675         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44677         y and infinite z.  Do bitwise or of inexact bit into u.d.
44678         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44679         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44680         * sysdeps/i386/fpu/s_fma.S: Removed.
44681         * sysdeps/i386/fpu/s_fmal.S: Removed.
44683 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44685         [BZ #3268]
44686         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44688         computation is not scheduled after fetestexcept.  Fix value
44689         of minimum denormal long double.
44691 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44693         [BZ #3268]
44694         * math/libm-test.inc (fma_test): Add some more tests.
44695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44696         correctly.
44698 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44700         * scripts/data/localplt-s390-linux-gnu.data: New file.
44701         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44703 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44705         [BZ #3268]
44706         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44707         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44708         instead of dbl-64.
44709         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44710         inlines.
44711         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44713         if one of x and y is very large and the other is subnormal.
44714         * sysdeps/s390/fpu/s_fmaf.c: New file.
44715         * sysdeps/s390/fpu/s_fma.c: New file.
44716         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44717         * sysdeps/powerpc/fpu/s_fma.S: New file.
44718         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44719         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44720         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44722 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
44724         [BZ #3268]
44725         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44726         fma tests.
44727         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44728         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44729         * sysdeps/i386/i686/multiarch/s_fma.c: Include
44730         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44731         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44732         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44733         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44735 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
44737         [BZ #12078]
44738         * posix/regcomp.c (parse_branch): One more memory leak plugged.
44739         * posix/bug-regex31.input: Add test case.
44741 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44743         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44744         * posix/bug-regex31.input: New file.
44746         [BZ #12078]
44747         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44748         (parse_sub_exp): Fix last change, use postorder.
44750         * posix/bug-regex31.c: New file.
44751         * posix/Makefile: Add rules to build and run bug-regex31.
44753         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44755         [BZ #12078]
44756         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44758         [BZ #12108]
44759         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44760         to have entries in sys_siglist.
44762         [BZ #12093]
44763         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44764         be NULL.
44766 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
44768         [BZ #3268]
44769         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44770         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44771         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44772         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44773         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44774         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44775         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44776         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44777         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44778         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44779         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44780         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44781         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44782         * math/ftestexcept.c (fetestexcept): Likewise.
44783         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44784         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44785         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44786         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44787         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44788         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44789         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44791 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44793         [BZ #12107]
44794         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44795         newline.
44797 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
44799         * string/bug-strstr1.c: New file.
44800         * string/Makefile: Add rules to build and run bug-strstr1.
44802 2010-10-05  Eric Blake  <eblake@redhat.com>
44804         [BZ #12092]
44805         * string/str-two-way.h (two_way_long_needle): Always clear memory
44806         when skipping input due to the shift table.
44808 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
44810         [BZ #12005]
44811         * malloc/mcheck.c: Handle large requests.
44813         [BZ #12077]
44814         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44815         for strncmp and strncasecmp.
44816         * string/stratcliff.c: Add tests for strcmp and strncmp.
44817         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44819 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44821         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44822         __set_fpscr.
44824 2010-09-30  Andreas Jaeger  <aj@suse.de>
44826         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44827         (CGROUP_SUPER_MAGIC): Define.
44828         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44829         Handle btrfs and cgroup file systems.
44830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44831         Likewise.
44833 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
44835         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44836         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44838 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44840         [BZ #12067]
44841         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44842         trying to locate the ELF header.
44844 2010-09-27  Andreas Schwab  <schwab@redhat.com>
44846         [BZ #11611]
44847         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44848         Mask out sign-bit copies when constructing f_fsid.
44850 2010-09-24  Petr Baudis <pasky@suse.cz>
44852         * debug/stack_chk_fail_local.c: Add missing licence exception.
44853         * debug/warning-nop.c: Likewise.
44855 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
44857         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44858         implementing getdents64 using getdents syscall, set d_type if
44859         __ASSUME_GETDENTS32_D_TYPE.
44861 2010-09-16  Andreas Schwab  <schwab@redhat.com>
44863         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44864         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44866 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
44868         [BZ #12037]
44869         * posix/unistd.h: Undo change of feature selection for ftruncate from
44870         2010-01-11.
44872 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
44874         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44875         detection.
44877 2010-09-20  Andreas Schwab  <schwab@redhat.com>
44879         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44880         fanotify_mark.
44881         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44883 2010-09-14  Andreas Schwab  <schwab@redhat.com>
44885         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44886         variables after CHECK_SP call.
44887         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44889 2010-09-13  Andreas Schwab  <schwab@redhat.com>
44890             Ulrich Drepper  <drepper@redhat.com>
44892         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44893         re-relocationg ld.so.
44894         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44895         _dl_init_paths call.
44896         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
44897         here anymore.
44899 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
44901         * resolv/res_init.c (__res_vinit): Count the default server we added.
44903 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
44904             Ulrich Drepper  <drepper@redhat.com>
44906         [BZ #11968]
44907         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44908         (____longjmp_chk): Use %ebx for saving value across system call.
44909         Add unwind info.
44911 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44913         * manual/Makefile: Don't mix pattern rules with normal rules.
44915 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44917         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44918         operation.
44919         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44920         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44921         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44922         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44924         Likewise.
44926 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44928         [BZ #11979]
44929         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44930         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44932 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44934         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44935         * sysdeps/x86_64/addmul_1.S: Likewise.
44936         * sysdeps/x86_64/lshift.S: Likewise.
44937         * sysdeps/x86_64/mul_1.S: Likewise.
44938         * sysdeps/x86_64/rshift.S: Likewise.
44939         * sysdeps/x86_64/sub_n.S: Likewise.
44940         * sysdeps/x86_64/submul_1.S: Likewise.
44942 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44944         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44945         Define __sched_param instead of SCHED_* and sched_param when
44946         <bits/sched.h> is included with __need_schedparam defined.
44947         * bits/sched.h [__need_schedparam]
44948         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44949         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44950         (__defined_schedparam): Define to 1.
44951         (__sched_param): New structure, identical to sched_param.
44952         (__need_schedparam): Undefine.
44954 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44956         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44957         (epoll_create1): Declare.
44959         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44961 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44963         [BZ #7066]
44964         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44965         shifting retval into place.
44967 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44969         * nis/rpcsvc/nis.h: Update copyright notice.
44970         * nis/rpcsvc/nis.x: Likewise.
44971         * nis/rpcsvc/nis_callback.h: Likewise.
44972         * nis/rpcsvc/nis_callback.x: Likewise.
44973         * nis/rpcsvc/nis_object.x: Likewise.
44974         * nis/rpcsvc/nis_tags.h: Likewise.
44975         * nis/rpcsvc/yp.h: Likewise.
44976         * nis/rpcsvc/yp.x: Likewise.
44977         * nis/rpcsvc/ypupd.h: Likewise.
44978         * nis/yp_xdr.c: Likewise.
44979         * nis/ypupdate_xdr.c: Likewise.
44981         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44982         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44983         (pmap_getport): Use __libc_rpc_getport.
44984         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44985         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44986         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44988 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44991         fanotify_mark.
44993 2010-08-27  Roland McGrath  <roland@redhat.com>
44995         * sysdeps/i386/i686/multiarch/Makefile
44996         (CFLAGS-varshift.c): New variable.
44998 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45000         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45001         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45003         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45005         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45007 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45009         * sysdeps/x86_64/strlen.S: Unroll the loop.
45010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45011         strlen-sse2 strlen-sse2-bsf.
45012         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45013         __strlen_no_bsf if bit_Slow_BSF is set.
45014         (__strlen_sse42): Removed.
45015         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45016         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45018 2010-08-25  Roland McGrath  <roland@redhat.com>
45020         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45021         * sysdeps/x86_64/multiarch/varshift.c: New file.
45022         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45023         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45024         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45025         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45027 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45030         strlen-sse2 strlen-sse2-bsf.
45031         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45032         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45033         (__strlen_sse2): Removed.
45034         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45035         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45037         bit_Slow_BSF for Atom.
45038         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45039         (index_Slow_BSF): Define.
45040         (HAS_SLOW_BSF): Define.
45042 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45044         [BZ #10851]
45045         * resolv/res_init.c (__res_vinit): When no server address at all
45046         is given default to loopback.
45048 2010-08-24  Roland McGrath  <roland@redhat.com>
45050         * configure.in: Remove config-name.h generation.
45051         * configure: Regenerated.
45052         * config-name.in: File removed.
45053         * scripts/config-uname.sh: New file.
45054         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45055         ($(objdir)config-name.h): New target.
45057         * sunrpc/rpc_parse.h: Avoid nested comment.
45059 2010-08-24  Richard Henderson  <rth@redhat.com>
45060             Ulrich Drepper  <drepper@redhat.com>
45061             H.J. Lu  <hongjiu.lu@intel.com>
45063         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45065         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45066         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45067         _mm_alignr_epi8 with _mm_loadu_si128.
45068         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45069         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45070         (__m128i_shift_right): Removed.
45071         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45072         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45073         * sysdeps/x86_64/multiarch/varshift.h: New file.
45074         * sysdeps/x86_64/multiarch/varshift.S: New file.
45076 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45078         * configure.in: Move assembler checks to before sysdep dir checking.
45080 2010-08-20  Petr Baudis  <pasky@suse.cz>
45082         * LICENSES: Sync the sunrpc license.
45084 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45086         * sunrpc/auth_des.c: Update copyright notice once again.
45087         * sunrpc/auth_none.c: Likewise.
45088         * sunrpc/auth_unix.c: Likewise.
45089         * sunrpc/authdes_prot.c: Likewise.
45090         * sunrpc/authuxprot.c: Likewise.
45091         * sunrpc/bindrsvprt.c: Likewise.
45092         * sunrpc/clnt_gen.c: Likewise.
45093         * sunrpc/clnt_perr.c: Likewise.
45094         * sunrpc/clnt_raw.c: Likewise.
45095         * sunrpc/clnt_simp.c: Likewise.
45096         * sunrpc/clnt_tcp.c: Likewise.
45097         * sunrpc/clnt_udp.c: Likewise.
45098         * sunrpc/clnt_unix.c: Likewise.
45099         * sunrpc/des_crypt.c: Likewise.
45100         * sunrpc/des_soft.c: Likewise.
45101         * sunrpc/get_myaddr.c: Likewise.
45102         * sunrpc/getrpcport.c: Likewise.
45103         * sunrpc/key_call.c: Likewise.
45104         * sunrpc/key_prot.c: Likewise.
45105         * sunrpc/openchild.c: Likewise.
45106         * sunrpc/pm_getmaps.c: Likewise.
45107         * sunrpc/pm_getport.c: Likewise.
45108         * sunrpc/pmap_clnt.c: Likewise.
45109         * sunrpc/pmap_prot.c: Likewise.
45110         * sunrpc/pmap_prot2.c: Likewise.
45111         * sunrpc/pmap_rmt.c: Likewise.
45112         * sunrpc/rpc/auth.h: Likewise.
45113         * sunrpc/rpc/auth_unix.h: Likewise.
45114         * sunrpc/rpc/clnt.h: Likewise.
45115         * sunrpc/rpc/des_crypt.h: Likewise.
45116         * sunrpc/rpc/key_prot.h: Likewise.
45117         * sunrpc/rpc/netdb.h: Likewise.
45118         * sunrpc/rpc/pmap_clnt.h: Likewise.
45119         * sunrpc/rpc/pmap_prot.h: Likewise.
45120         * sunrpc/rpc/pmap_rmt.h: Likewise.
45121         * sunrpc/rpc/rpc.h: Likewise.
45122         * sunrpc/rpc/rpc_des.h: Likewise.
45123         * sunrpc/rpc/rpc_msg.h: Likewise.
45124         * sunrpc/rpc/svc.h: Likewise.
45125         * sunrpc/rpc/svc_auth.h: Likewise.
45126         * sunrpc/rpc/types.h: Likewise.
45127         * sunrpc/rpc/xdr.h: Likewise.
45128         * sunrpc/rpc_clntout.c: Likewise.
45129         * sunrpc/rpc_cmsg.c: Likewise.
45130         * sunrpc/rpc_common.c: Likewise.
45131         * sunrpc/rpc_cout.c: Likewise.
45132         * sunrpc/rpc_dtable.c: Likewise.
45133         * sunrpc/rpc_hout.c: Likewise.
45134         * sunrpc/rpc_main.c: Likewise.
45135         * sunrpc/rpc_parse.c: Likewise.
45136         * sunrpc/rpc_parse.h: Likewise.
45137         * sunrpc/rpc_prot.c: Likewise.
45138         * sunrpc/rpc_sample.c: Likewise.
45139         * sunrpc/rpc_scan.c: Likewise.
45140         * sunrpc/rpc_scan.h: Likewise.
45141         * sunrpc/rpc_svcout.c: Likewise.
45142         * sunrpc/rpc_tblout.c: Likewise.
45143         * sunrpc/rpc_util.c: Likewise.
45144         * sunrpc/rpc_util.h: Likewise.
45145         * sunrpc/rpcinfo.c: Likewise.
45146         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45147         * sunrpc/rpcsvc/key_prot.x: Likewise.
45148         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45149         * sunrpc/rpcsvc/mount.x: Likewise.
45150         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45151         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45152         * sunrpc/rpcsvc/rex.x: Likewise.
45153         * sunrpc/rpcsvc/rstat.x: Likewise.
45154         * sunrpc/rpcsvc/rusers.x: Likewise.
45155         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45156         * sunrpc/rpcsvc/spray.x: Likewise.
45157         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45158         * sunrpc/rtime.c: Likewise.
45159         * sunrpc/svc.c: Likewise.
45160         * sunrpc/svc_auth.c: Likewise.
45161         * sunrpc/svc_authux.c: Likewise.
45162         * sunrpc/svc_raw.c: Likewise.
45163         * sunrpc/svc_run.c: Likewise.
45164         * sunrpc/svc_simple.c: Likewise.
45165         * sunrpc/svc_tcp.c: Likewise.
45166         * sunrpc/svc_udp.c: Likewise.
45167         * sunrpc/svc_unix.c: Likewise.
45168         * sunrpc/svcauth_des.c: Likewise.
45169         * sunrpc/xcrypt.c: Likewise.
45170         * sunrpc/xdr.c: Likewise.
45171         * sunrpc/xdr_array.c: Likewise.
45172         * sunrpc/xdr_float.c: Likewise.
45173         * sunrpc/xdr_mem.c: Likewise.
45174         * sunrpc/xdr_rec.c: Likewise.
45175         * sunrpc/xdr_ref.c: Likewise.
45176         * sunrpc/xdr_sizeof.c: Likewise.
45177         * sunrpc/xdr_stdio.c: Likewise.
45179         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45180         handling.
45182 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45184         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45186 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45188         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45189         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45190         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45191         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45192         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45193         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45194         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45195         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45196         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45197         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45198         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45199         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45200         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45201         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45203 2010-07-26  Anton Blanchard  <anton@samba.org>
45205         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45206         * malloc/arena.c (heap_trim): Likewise.
45208 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45210         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45211         here.  Not...
45212         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45213         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45215 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45217         * sysdeps/i386/elf/Makefile: New file.
45219 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45221         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45222         from fanotify_init.
45223         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45226 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45228         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45229         of strncasecmp_l.
45230         * sysdeps/multiarch/strcmp.S: Likewise.
45232 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45234         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45235         strncase_l-nonascii.
45236         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45237         Add strncase_l-ssse3.
45238         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45239         * sysdeps/x86_64/strcmp.S: Likewise.
45240         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45241         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45242         * sysdeps/x86_64/strncase.S: New file.
45243         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45244         * sysdeps/x86_64/strncase_l.S: New file.
45245         * string/Makefile (strop-tests): Add strncasecmp.
45246         * string/test-strncasecmp.c: New file.
45248         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45249         warning.
45251         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45252         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45254 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45256         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45258 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45260         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45261         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45262         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45264 2010-05-01  Alan Modra  <amodra@gmail.com>
45266         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45267         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45268         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45269         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45270         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45271         tidying.  Don't tail-call __sigjmp_save for static lib.
45272         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45273         save location.
45274         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45275         (CALL_MCOUNT): Add eh info, and nop after bl.
45276         (TAIL_CALL_SYSCALL_ERROR): New macro.
45277         (PSEUDO_RET): Use it.
45278         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45279         Correct save location of integer regs and cr.
45280         (_dl_profile_resolve): Correct cr save location.  Delete nops
45281         after bl when SHARED.  Reduce cfi size a little by better
45282         placement of cfi directives.
45283         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45284         make a stack frame.  Instead use parm save area as a temp.
45285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45286         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45288         Don't make a stack frame for parent, use parm save area.
45289         Increase child stack frame to 112 bytes.  Don't save unused reg,
45290         and adjust reg usage.  Set up cfi on error recovery and
45291         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45293         (__makecontext): Add dummy nop after jump to exit.
45294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45295         Use correct parm save area and cr save, reduce stack frame.
45296         Correct cfi for possible PSEUDO_RET frame setup.
45297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45298         Branch to local label emitted by PSEUDO_RET rather than
45299         __syscall_error.
45301 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45303         [BZ #11904]
45304         * locale/programs/locale.c (print_assignment): New function.
45305         (show_locale_vars): Use it.
45307 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45309         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45310         field.
45311         (struct statfs64): Likewise.
45312         (_STATFS_F_FLAGS): Define.
45313         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45314         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45315         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45316         (ST_VALID): Define locally.
45317         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45318         __statvfs_getflags, use the provided value.
45319         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45320         __ASSUME_STATFS_F_FLAGS.
45322         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45324         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45325         Add sys/fanotify.h.
45326         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45327         fanotify_mask for GLIBC_2.13.
45328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45329         fanotify_init and fanotify_mark.
45330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45331         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45333         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45334         Add prlimit.
45335         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45336         prlimit64 for GLIBC_2.13.
45337         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45338         prlimit64.
45339         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45340         syscall.
45341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45342         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45343         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45344         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45345         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45346         add prlimit alias.
45347         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45349         [BZ #11903]
45350         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45351         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45353         * nss/Makefile: Add rules to build and run tst-nss-test1.
45354         * shlib-versions: Add entry for libnss_test1.
45355         * nss/nss_test1.c: New file.
45356         * nss/tst-nss-test1.c: New file.
45358         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45359         (__nss_configure_lookup): Set appropriate entry in
45360         __nss_configure_lookup to true.
45361         * nss/nsswitch.h: Define enum with indeces of databases in
45362         databases and __nss_database_custom arrays.  Declare
45363         __nss_database_custom.
45364         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45365         to avoid using nscd when custom rules are installed.
45366         * nss/getXXbyYY_r.c: Likewise.
45367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45369         * nss/nss_files/files-parse.c: Whitespace fixes.
45371 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45373         [BZ #11883]
45374         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45375         * posix/fnmatch_loop.c: Likewise.
45377 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45379         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45380         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45381         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45382         * Versions.def [GLIBC_2.13]: Add.
45384 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45386         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45387         Also fail if tpwd after pwuid call is NULL.
45389 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45391         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45392         when converting to ms.
45394 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45396         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45397         EOPNOTSUPP errors with ENOTTY.
45398         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45399         EOPNOTSUPP errors with ENOTTY.
45401 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45403         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45404         Add strcasecmp_l-ssse3.
45405         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45406         strcasecmp.
45407         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45408         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45409         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45411 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45413         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45415         * string/Makefile (strop-tests): Add strcasecmp.
45416         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45417         strcasecmp_l-nonascii.
45418         (gen-as-const-headers): Add locale-defines.sym.
45419         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45420         * sysdeps/x86_64/strcasecmp.S: New file.
45421         * sysdeps/x86_64/strcasecmp_l.S: New file.
45422         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45423         * sysdeps/x86_64/locale-defines.sym: New file.
45424         * string/test-strcasecmp.c: New file.
45426         * string/test-strcasestr.c: Test both ends of the range of characters.
45427         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45429 2010-07-29  Roland McGrath  <roland@redhat.com>
45431         [BZ #11856]
45432         * manual/locale.texi (Yes-or-No Questions): Fix example code.
45434 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
45436         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45437         for ld.so.
45439 2010-07-27  Andreas Schwab  <schwab@redhat.com>
45441         * manual/memory.texi (Malloc Tunable Parameters): Document
45442         M_PERTURB.
45444 2010-07-26  Roland McGrath  <roland@redhat.com>
45446         [BZ #11840]
45447         * configure.in (-fgnu89-inline check): Set and substitute
45448         gnu89_inline, not libc_cv_gnu89_inline.
45449         * configure: Regenerated.
45450         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45452 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
45454         * string/test-strnlen.c: New file.
45455         * string/Makefile (strop-tests): Add strnlen.
45456         * string/tester.c (test_strnlen): Add a few more test cases.
45457         * string/tst-strlen.c: Better error reporting.
45459         * sysdeps/x86_64/strnlen.S: New file.
45461 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
45463         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45464         lower-latency instructions.
45466 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
45468         * string/test-strcasestr.c: New file.
45469         * string/test-strstr.c: New file.
45470         * string/Makefile (strop-tests): Add strstr and strcasestr.
45471         * string/str-two-way.h: Don't undefine MAX.
45472         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45474 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45477         strcasestr-nonascii.
45478         (CFLAGS-strcasestr-nonascii.c): Define.
45479         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45480         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45481         Remove unused attribute.
45483 2010-07-20  Roland McGrath  <roland@redhat.com>
45485         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45486         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
45487         ld.so.cache was broken.  With it, there is no way to disable dsocaps
45488         like LD_HWCAP_MASK can disable hwcaps.
45490 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45492         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45494 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
45496         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45497         call in strcasestr.
45498         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45499         __strcasestr_sse42_nonascii.
45500         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45501         strcasestr-nonascii.c.
45502         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45504 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
45506         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45507         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45508         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45509         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45511 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
45513         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45514         fcntl.
45516 2010-07-06  Andreas Schwab  <schwab@redhat.com>
45518         [BZ #11577]
45519         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45520         dl_signal_cerror.
45522 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
45524         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45525         _PC_PIPE_BUF using F_GETPIPE_SZ.
45527 2010-07-05  Roland McGrath  <roland@redhat.com>
45529         * manual/arith.texi (Rounding Functions): Fix rint description
45530         implicit in round description.
45532 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
45534         * elf/Makefile: Fix linking for a few tests to make recent linker
45535         happy.
45537 2010-06-30  Andreas Schwab  <schwab@redhat.com>
45539         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45540         $(common-objpfx)libc_nonshared.a.
45542 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
45544         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45545         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45546         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45547         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45548         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45549         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45550         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45551         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45566         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45567         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45568         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45569         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45570         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45571         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45572         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45573         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45574         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45575         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45576         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45577         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45593 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45595         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45596         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45597         * string/memmove.c (memmove): Renamed to ...
45598         (MEMMOVE): ...this.  Default to memmove.
45599         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45600         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45601         (END_CHK): Define.
45602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45603         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45604         mempcpy-ssse3-back memmove-ssse3-back.
45605         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45606         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45607         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45608         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45609         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45610         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45611         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45612         * sysdeps/x86_64/multiarch/memmove.c: New file.
45613         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45614         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45615         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45616         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45617         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45618         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45619         Define.
45620         (index_Fast_Copy_Backward): Define.
45621         (HAS_ARCH_FEATURE): Define.
45622         (HAS_FAST_REP_STRING): Define.
45623         (HAS_FAST_COPY_BACKWARD): Define.
45625 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45627         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45628         Restore proper fallback handling.
45630 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45632         [BZ #11701]
45633         * posix/group_member.c (__group_member): Correct checking loop.
45635         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45636         OOM in getpwuid_r correctly.  Return error number when the caller
45637         should return, otherwise -1.
45638         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45639         call returning > 0 value.
45640         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45642 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45644         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45645         libc_nonshared.a from targets in modules-names.
45647 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45649         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45650         requires it.
45652 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45654         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45655         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45656         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45657         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45659 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45661         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45663 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45665         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45666         and F_GETPIPE_SZ.
45667         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45668         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45671         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45672         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45674 2010-06-14  Roland McGrath  <roland@redhat.com>
45676         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45678 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45680         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45681         __REDIRECT followed by __THROW.
45682         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45683         * posix/getopt.h (getopt): Likewise.
45685 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45687         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45688         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45689         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45690         in AT_FLAGS.
45691         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45692         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45694 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45696         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45698 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45700         [BZ #11640]
45701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45702         Properly check family and model.
45704 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
45706         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45708 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
45710         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45712 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
45714         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45715         symbol reference.
45717 2010-05-19  Andreas Schwab  <schwab@redhat.com>
45719         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45720         symbol reference.
45722 2010-05-21  Andreas Schwab  <schwab@redhat.com>
45724         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45725         and internal_recvmmsg.
45726         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45727         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45728         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45729         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45731         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45732         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45733         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45735 2010-05-20  Andreas Schwab  <schwab@redhat.com>
45737         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45739 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
45741         POWER7 optimizations.
45742         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45743         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45745 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
45747         * version.h: Update for 2.13 development version.
45749 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
45751         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45752         exceptions.  Return 0.
45754 2010-05-07  Roland McGrath  <roland@redhat.com>
45756         * elf/ldconfig.c (main): Add a const.
45758 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
45760         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45761         (args_options): Add no-idn option.
45762         (ahosts_keys_int): Add idn_flags to ai_flags.
45763         (parse_option): Handle 'i' option to clear idn_flags.
45765         * malloc/malloc.c (_int_free): Possible race in the most recently
45766         added check.  Only act on the data if no current modification
45767         happened.
45769 See ChangeLog.17 for earlier changes.