1 2014-06-11 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16 multiarch strcmp for PPC64.
17 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20 multiarch optimizations.
21 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22 (__libc_ifunc_impl_list): Likewise.
24 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26 * benchtests/scripts/validate_benchout.py: New script.
27 * benchtests/Makefile (bench-func): Call it.
28 * benchtests/scripts/benchout.schema.json: New file.
30 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
32 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
38 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
41 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
46 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
52 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
54 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
55 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
57 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
59 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
61 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
63 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
65 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
66 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
68 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
70 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
72 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
74 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
76 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
77 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
79 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
81 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
83 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
85 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
87 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
89 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
91 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
92 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
94 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
96 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
98 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
151 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
152 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
154 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
155 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
157 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
159 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
162 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
167 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
169 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
173 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
176 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
181 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
184 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
185 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
186 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
187 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
189 2014-06-10 Wilco <wdijkstr@arm.com>
191 * math/test-fenv-return.c: New file.
192 * math/Makefile: Add new test test-fenv-return.
194 2014-06-10 Joseph Myers <joseph@codesourcery.com>
197 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
199 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
200 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
201 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
202 0.0L for an argument of 1.0L.
203 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
205 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
206 value when x - 1 is zero.
207 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
208 * sysdeps/i386/fpu/libm-test-ulps: Update.
209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
211 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
214 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
216 2014-06-09 Roland McGrath <roland@hack.frob.com>
218 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
219 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
221 2014-06-09 Roland McGrath <roland@hack.frob.com>
223 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
224 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
226 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
227 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
229 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
230 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
232 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
233 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
235 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
236 if not already defined.
237 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
238 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
239 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
240 (TLS_INIT_TP): Use it.
241 (TLS_DEFINE_INIT_TP): New macro.
242 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
244 2014-06-09 Joseph Myers <joseph@codesourcery.com>
246 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
248 [POSIX] (IXANY): Likewise.
249 [POSIX] (OLCUC): Likewise.
250 [POSIX || POSIX2008] (CBAUD): Do not allow.
251 [POSIX || POSIX2008] (DEFECHO): Likewise.
252 [POSIX || POSIX2008] (ECHOCTL): Likewise.
253 [POSIX || POSIX2008] (ECHOKE): Likewise.
254 [POSIX || POSIX2008] (ECHOPRT): Likewise.
255 [POSIX || POSIX2008] (EXTA): Likewise.
256 [POSIX || POSIX2008] (EXTB): Likewise.
257 [POSIX || POSIX2008] (FLUSHO): Likewise.
258 [POSIX || POSIX2008] (LOBLK): Likewise.
259 [POSIX || POSIX2008] (PENDIN): Likewise.
260 [POSIX || POSIX2008] (SWTCH): Likewise.
261 [POSIX || POSIX2008] (VDISCARD): Likewise.
262 [POSIX || POSIX2008] (VDSUSP): Likewise.
263 [POSIX || POSIX2008] (VLNEXT): Likewise.
264 [POSIX || POSIX2008] (VREPRINT): Likewise.
265 [POSIX || POSIX2008] (VSTATUS): Likewise.
266 [POSIX || POSIX2008] (VWERASE): Likewise.
267 (B*): Change to B[0123456789]*.
268 * conform/data/time.h-data [POSIX || UNIX98]
269 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
270 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
271 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
272 [POSIX] (tm_*): Do not allow.
274 2014-06-07 Joseph Myers <joseph@codesourcery.com>
276 * Makefile (install): Don't set LANGUAGE.
277 * Makefile.in (install): Likewise.
278 * assert/Makefile (test-assert-ENV): Remove variable.
279 (test-assert-perr-ENV): Likewise.
280 * elf/Makefile (neededtest4-ENV): Likewise.
281 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
282 [$(cross-compiling) = no]: Don't set LANGUAGE.
283 * io/ftwtest-sh (LANG): Remove variable.
284 * libio/Makefile (tst-widetext-ENV): Likewise.
285 * manual/install.texi (Running make install): Don't refer to
286 environment settings for make install.
287 * INSTALL: Regenerated.
288 * nptl/tst-tls6.sh: Don't set LANG.
289 * posix/globtest.sh (LANG): Remove variable.
290 * string/Makefile (tester-ENV): Likewise.
291 (inl-tester-ENV): Likewise.
292 (noinl-tester-ENV): Likewise.
293 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
294 [$(cross-compiling) = no]: Don't set LANGUAGE.
295 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
296 without explicit environment settings.
298 2014-06-06 Roland McGrath <roland@hack.frob.com>
300 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
301 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
302 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
303 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
305 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
307 * crypt/crypt-private.h [DOS]: Add some includes taken from the
308 other files in the crypt directory.
309 * crypt/crypt.c: Remove duplicate includes.
310 * crypt/crypt-entry.c: Likewise.
311 * crypt/crypt_util.c: Likewise.
313 2014-06-06 Joseph Myers <joseph@codesourcery.com>
315 * Makeconfig (run-program-env): New variable.
316 (run-program-prefix-before-env): Likewise.
317 (run-program-prefix-after-env): Likewise.
318 (run-program-prefix): Define in terms of new variables.
319 (built-program-cmd-before-env): New variable.
320 (built-program-cmd-after-env): Likewise.
321 (built-program-cmd): Define in terms of new variables.
322 (test-program-prefix-before-env): New variable.
323 (test-program-prefix-after-env): Likewise.
324 (test-program-prefix): Define in terms of new variables.
325 (test-program-cmd-before-env): New variable.
326 (test-program-cmd-after-env): Likewise.
327 (test-program-cmd): Define in terms of new variables.
328 * Rules (make-test-out): Use $(run-program-env).
329 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
330 (help): Do not mention environment variables. Mention
331 --timeoutfactor option.
332 (timeoutfactor): New variable.
333 (blacklist_exports): Remove function.
334 (exports): Remove variable.
335 (command): Do not include ${exports}.
336 * manual/install.texi (Configuring and compiling): Do not mention
337 test wrappers preserving environment variables. Mention that last
338 assignment to a variable must take precedence.
339 * INSTALL: Regenerated.
340 * benchtests/Makefile (run-bench): Use $(run-program-env).
341 * catgets/Makefile ($(objpfx)test1.cat): Use
342 $(built-program-cmd-before-env), $(run-program-env) and
343 $(built-program-cmd-after-env).
344 ($(objpfx)test2.cat): Do not specify environment variables
346 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
347 $(run-program-env) and $(built-program-cmd-after-env).
348 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
349 $(run-program-env) and $(test-program-cmd-after-env).
350 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
352 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
353 run_program_env and test_program_cmd_after_env arguments.
354 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
355 * elf/tst-pathopt.sh: Use run_program_env argument.
356 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
357 $(test-wrapper-env) and $(run-program-env).
358 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
359 run_program_env arguments.
360 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
361 * intl/Makefile ($(objpfx)tst-gettext.out): Use
362 $(test-program-prefix-before-env), $(run-program-env) and
363 $(test-program-prefix-after-env).
364 ($(objpfx)tst-gettext2.out): Likewise.
365 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
366 run_program_env and test_program_prefix_after_env arguments.
367 * intl/tst-gettext2.sh: Likewise.
368 * intl/tst-gettext4.sh: Do not set environment variables
370 * intl/tst-gettext6.sh: Likewise.
371 * intl/tst-translit.sh: Likewise.
372 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
373 $(test-program-prefix-before-env), $(run-program-env) and
374 $(test-program-prefix-after-env).
375 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
376 run_program_env and test_program_prefix_after_env arguments.
377 * math/Makefile (run-regen-ulps): Use $(run-program-env).
378 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
379 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
380 explicitly with each use of ${test_wrapper_env}.
381 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
382 $(test-program-prefix-before-env), $(run-program-env) and
383 $(test-program-prefix-after-env).
384 * posix/tst-getconf.sh: Do not set environment variables
386 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
387 run_program_env and test_program_prefix_after_env arguments.
388 * stdio-common/tst-printf.sh: Do not set environment variables
390 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
391 $(test-program-prefix-before-env), $(run-program-env) and
392 $(test-program-prefix-after-env).
393 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
394 run_program_env and test_program_prefix_after_env arguments.
395 Split $test calls into $test_pre and $test.
396 * timezone/Makefile (build-testdata): Use
397 $(built-program-cmd-before-env), $(run-program-env) and
398 $(built-program-cmd-after-env).
400 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
402 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
403 strlen for non SHARED builds.
405 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
407 * nptl/allocatestack.c (check_list): Inlined function...
408 (__reclaim_stacks): ... here.
410 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
413 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
416 2014-06-05 Joseph Myers <joseph@codesourcery.com>
418 * Rules (make-test-out): Include
419 LOCPATH=$(common-objpfx)localedata in default environment.
420 * debug/Makefile (tst-chk1-ENV): Remove variable.
421 (tst-chk2-ENV): Likewise.
422 (tst-chk3-ENV): Likewise.
423 (tst-chk4-ENV): Likewise.
424 (tst-chk5-ENV): Likewise.
425 (tst-chk6-ENV): Likewise.
426 (tst-lfschk1-ENV): Likewise.
427 (tst-lfschk2-ENV): Likewise.
428 (tst-lfschk3-ENV): Likewise.
429 (tst-lfschk4-ENV): Likewise.
430 (tst-lfschk5-ENV): Likewise.
431 (tst-lfschk6-ENV): Likewise.
432 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
433 (tst-iconv7-ENV): Likewise.
434 * intl/Makefile (LOCPATH-ENV): Likewise.
435 (tst-codeset-ENV): Likewise.
436 (tst-gettext3-ENV): Likewise.
437 (tst-gettext5-ENV): Likewise.
438 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
439 (tst-fopenloc-ENV): Likewise.
440 (tst-fgetws-ENV): Remove variable.
441 (tst-ungetwc1-ENV): Likewise.
442 (tst-ungetwc2-ENV): Likewise.
443 (bug-ungetwc2-ENV): Likewise.
444 (tst-swscanf-ENV): Likewise.
445 (bug-ftell-ENV): Likewise.
446 (tst-fgetwc-ENV): Likewise.
447 (tst-fseek-ENV): Likewise.
448 (tst-ftell-partial-wide-ENV): Likewise.
449 (tst-ftell-active-handler-ENV): Likewise.
450 (tst-ftell-append-ENV): Likewise.
451 * posix/Makefile (tst-fnmatch-ENV): Likewise.
452 (tst-regexloc-ENV): Likewise.
453 (bug-regex1-ENV): Likewise.
454 (tst-regex-ENV): Likewise.
455 (tst-regex2-ENV): Likewise.
456 (bug-regex5-ENV): Likewise.
457 (bug-regex6-ENV): Likewise.
458 (bug-regex17-ENV): Likewise.
459 (bug-regex18-ENV): Likewise.
460 (bug-regex19-ENV): Likewise.
461 (bug-regex20-ENV): Likewise.
462 (bug-regex22-ENV): Likewise.
463 (bug-regex23-ENV): Likewise.
464 (bug-regex25-ENV): Likewise.
465 (bug-regex26-ENV): Likewise.
466 (bug-regex30-ENV): Likewise.
467 (bug-regex32-ENV): Likewise.
468 (bug-regex33-ENV): Likewise.
469 (bug-regex34-ENV): Likewise.
470 (bug-regex35-ENV): Likewise.
471 (tst-rxspencer-ENV): Likewise.
472 (tst-rxspencer-no-utf8-ENV): Likewise.
473 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
474 (tst-sscanf-ENV): Likewise.
475 (tst-swprintf-ENV): Likewise.
476 (tst-swscanf-ENV): Likewise.
477 (test-vfprintf-ENV): Likewise.
478 (scanf13-ENV): Likewise.
479 (bug14-ENV): Likewise.
480 (tst-grouping-ENV): Likewise.
481 * stdlib/Makefile (tst-strtod-ENV): Likewise.
482 (tst-strtod3-ENV): Likewise.
483 (tst-strtod4-ENV): Likewise.
484 (tst-strtod5-ENV): Likewise.
485 (testmb2-ENV): Likewise./
486 * string/Makefile (tst-strxfrm-ENV): Likewise.
487 (tst-strxfrm2-ENV): Likewise.
488 (bug-strcoll1-ENV): Likewise.
489 (test-strcasecmp-ENV): Likewise.
490 (test-strncasecmp-ENV): Likewise.
491 * time/Makefile (tst-strptime-ENV): Likewise.
492 (tst-ftime_l-ENV): Likewise.
493 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
494 (tst-mbrtowc-ENV): Likewise.
495 (tst-wcrtomb-ENV): Likewise.
496 (tst-mbrtowc2-ENV): Likewise.
497 (tst-c16c32-1-ENV): Likewise.
498 (tst-mbsnrtowcs-ENV): Likewise.
500 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
502 * manual/resource.texi (How to get information about the memory
503 subsystem?): Fix typo.
504 Reported by Peon de la Parra Ivan <peon@keba.com>
506 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
509 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
510 (pthread_spin_lock): Branch out of spin loop to proper location.
511 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
512 (pthread_spin_lock): Likewise.
514 * nptl/tst-spin4.c: New test.
515 * nptl/Makefile (tests): Add tst-spin4.
517 2014-06-03 Andreas Schwab <schwab@suse.de>
520 * resolv/res_send.c (send_dg): Reload file descriptor after
523 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
525 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
527 2014-06-03 Richard Henderson <rth@redhat.com>
529 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
530 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
531 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
532 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
533 in the SAVE_PID block.
534 (__libc_vfork): New alias.
535 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
537 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
538 child in registers, not on the stack. Remove RESET_PID conditionals.
539 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
541 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
543 * sysdeps/aarch64/libm-test-ulps: Regenerate.
545 2014-06-03 Wilco <wdijkstr@arm.com>
547 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
548 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
549 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
550 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
551 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
554 2014-06-03 Wilco <wdijkstr@arm.com>
556 * sysdeps/aarch64/fpu/math_private.h
557 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
558 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
559 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
560 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
563 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
565 * crypt/crypt-private.h: Include ufc-crypt.h.
566 (__b64_from_24bit): Declare extern.
567 * crypt/crypt_util.c(__b64_from_24bit): New function.
568 (b64t): New static const variable.
569 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
570 (b64t): Remove variable.
571 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
572 * crypt/sha256-crypt.c: Include crypt-private.h.
573 (b64t): Remove variable.
574 (__sha256_crypt_r): Remove b64_from_24bit and replace
575 with __b64_from_24bit.
576 * crypt/sha512-crypt.c: Likewise.
578 2014-06-02 Roland McGrath <roland@hack.frob.com>
580 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
581 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
582 Label the code __libc_vfork rather than __vfork.
583 [!NOT_IN_libc] (vfork): Define as weak alias.
584 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
585 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
586 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
588 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
590 * malloc/malloc.c (malloc_info): Fix format specifier for
593 2014-06-02 Wilco <wdijkstr@arm.com>
595 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
598 2014-06-02 Wilco <wdijkstr@arm.com>
601 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
602 Rewrite to reduce FPCR/FPSR accesses.
604 2014-06-01 David S. Miller <davem@davemloft.net>
606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
608 2014-05-31 David S. Miller <davem@davemloft.net>
610 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
611 to occur in round to nearest mode when |x| >= 2.0
613 2014-05-30 Richard Henderson <rth@twiddle.net>
615 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
616 (PSEUDO_RET_NOERRNO): Remove.
617 (ret): Don't redefine.
618 (ret_NOERRNO): Define in terms of ret.
619 (ret_ERRVAL): Likewise.
621 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
622 use of PSEUDO_RET; perform the error check directly.
624 2014-05-30 Marko Myllynen <myllynen@redhat.com>
626 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
629 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
631 * malloc/malloc (malloc_info): Fix formatting.
633 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
634 Roland McGrath <roland@hack.frob.com>
636 * malloc/malloc (malloc_info): Also print mmapped statistics.
638 2014-05-30 Roland McGrath <roland@hack.frob.com>
640 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
641 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
643 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
645 * malloc/malloc.c (malloc_info): Inline mi_arena.
647 2014-05-29 Richard Henderson <rth@twiddle.net>
649 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
650 Remove comma before expanding ASM_ARGS_##nr.
651 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
652 Make _x0 a strict output; make _x8 a strict input; adjust expansion
654 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
655 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
656 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
657 (ASM_ARGS_1): Add leading comma.
659 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
660 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
662 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
663 Remove the expected plt for __errno_location.
665 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
666 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
669 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
670 Always allocate 64 bytes of stack frame. Use ldp/stp to create
671 it and break it down.
672 (DOCARGS_0, DOCARGS_1): Do nothing.
673 (DOCARGS_2): Update to store into the new stack frame.
674 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
675 (UNDOCARGS_1): Update to restore from the new stack frame.
676 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
677 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
679 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
680 (SINGLE_THREAD_P): New parameter for result regno.
681 (PSEUDO): Update to match; use cbz instead of beq.
683 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
684 Use ENTRY to define the _nocancel entry point. Share the syscall
685 and syscall error check paths with the cancel path.
688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
689 whitespace; tabs before and after asm mnemonics.
691 2014-05-29 Eric Wong <normalperson@yhbt.net>
694 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
695 Call fstat64 or stat64 internally, depending on arguments passed.
696 Replace stat buffer argument with file descriptor argument.
697 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
698 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
699 Pass fd to __internal_statvfs instead of calling fstat64.
700 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
701 Pass fd to __internal_statvfs64 instead of calling fstat64.
702 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
703 Pass -1 to __internal_statvfs instead of calling stat64.
704 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
705 Pass -1 to __internal_statvfs64 instead of calling stat64.
707 2014-05-28 Roland McGrath <roland@hack.frob.com>
709 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
710 that was previously under [RESET_PID].
711 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
713 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
714 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
716 2014-05-27 Roland McGrath <roland@hack.frob.com>
718 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
720 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
721 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
723 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
725 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
727 2014-05-27 Andreas Schwab <schwab@suse.de>
729 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
731 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
732 * elf/rtld.c (init_tls, dl_main): Likewise.
733 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
734 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
735 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
736 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
737 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
738 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
739 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
740 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
741 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
742 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
743 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
744 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
745 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
746 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
747 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
748 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
749 * sysdeps/generic/tls.h: Update description.
751 2014-05-27 Will Newton <will.newton@linaro.org>
754 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
755 and restore r2 rather than just restoring.
757 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
760 * libio/tst-ftell-append.c: New test case.
761 * libio/Makefile (tests): Add test case.
762 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
764 * libio/wfileops.c (do_ftell_wide): Likewise.
766 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
770 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
774 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
775 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
776 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
777 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
778 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
779 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
780 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
783 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
786 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
787 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
788 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
789 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
790 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
792 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
793 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
795 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
797 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
799 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
800 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
801 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
803 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
804 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
805 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
806 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
808 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
811 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
817 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
829 conditional [RESET_PID].
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
838 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
839 (__libc_vfork): New strong alias.
840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
842 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
847 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
848 (__libc_vfork): New strong alias.
849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
854 2014-05-26 Carlos O'Donell <carlos@redhat.com>
856 * malloc/malloc.c (mi_arena): New function.
857 (malloc_info): Remove nested function mi_arena. Call non-nosted
860 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
864 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
865 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
866 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
867 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
868 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
869 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
870 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
872 2014-05-26 Andreas Schwab <schwab@suse.de>
875 * locale/programs/repertoire.c (repertoire_read): Add slash
876 between I18NPATH element and file name.
877 * locale/programs/locfile.c (locfile_read): Likewise.
879 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
881 * nptl/pthread_mutexattr_settype.c
882 (__pthread_mutexattr_settype):
883 Disable lock elision for PTHREAD_MUTEX_NORMAL.
885 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
887 * nptl/tst-mutex5 (do_test):
888 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
890 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
892 * benchtests/README: Document 'init' directive.
893 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
895 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
896 (parse_file): Recognize 'init' directive.
898 2014-05-26 Kyle McMartin <kyle@redhat.com>
901 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
902 alignment of struct pthread.
904 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
907 * nscd/netgroupcache.c (addgetnetgrentX): Look for
908 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
909 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
910 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
912 2014-05-25 Richard Henderson <rth@twiddle.net>
914 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
915 (SINGLE_THREAD_P_PIC): Remove.
916 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
917 (SINGLE_THREAD_P_PIC): Remove.
919 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
920 branch to syscall error ...
922 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
923 from __local_syscall_error to .Lsyscall_error.
924 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
925 (SYSCALL_ERROR): Update label name.
927 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
928 Do not use DOARGS/UNDOARGS.
929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
930 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
931 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
932 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
933 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
935 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
938 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
939 define if !NOT_IN_libc.
940 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
941 define with non-default symbol versions.
943 2014-05-23 Richard Henderson <rth@twiddle.net>
945 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
946 (vfork, __vfork): Define via compat_symbol.
948 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
949 [!HAVE_IFUNC] (vfork_compat): Remove.
950 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
952 2014-05-23 Joseph Myers <joseph@codesourcery.com>
955 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
956 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
959 2014-05-23 Richard Henderson <rth@twiddle.net>
961 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
962 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
963 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
964 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
966 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
967 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
968 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
969 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
970 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
971 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
972 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
973 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
974 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
975 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
976 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
977 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
978 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
979 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
980 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
982 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
984 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
985 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
986 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
987 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
988 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
990 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
991 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
992 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
993 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
994 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
995 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
996 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
998 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
999 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1001 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1002 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1003 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1005 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1006 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1007 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1008 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1009 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1010 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1011 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1012 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1013 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1014 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1015 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1016 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1017 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1018 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1019 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1020 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1021 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1023 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1024 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1025 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1026 before exiting on error.
1027 (__libc_vfork): New strong alias.
1028 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1029 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1031 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1032 that was previously under [RESET_PID].
1033 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1035 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1037 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1040 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1041 value when x - 1 is zero.
1042 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1043 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1044 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1045 0.0L for an argument of 1.0L.
1046 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1048 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1049 value when x - 1 is zero.
1050 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1051 * sysdeps/i386/fpu/libm-test-ulps: Update.
1052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1054 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1056 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1057 alphasort and versionsort.
1059 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1063 [copysignf]: Likewise.
1065 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1067 * crypt/md5-crypt.c: Fix formatting.
1069 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1071 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1072 (b64_from_24bit): New function.
1074 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1076 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1077 libc_hidden_builtin_def to ifunc.
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1079 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1081 2014-05-21 Roland McGrath <roland@hack.frob.com>
1083 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1084 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1086 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1088 * nscd/Depend (linuxthreads): Remove.
1090 * resolv/Depend (linuxthreads): Remove.
1091 * rt/Depend (linuxthreads): Remove.
1093 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1094 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1095 $(common-objpfx)elf/.
1096 (link-libc-before-gnulib): Likewise.
1097 (elfobjdir): Remove variable.
1098 * Makefile (install): Use $(elf-objpfx) instead of
1099 $(common-objpfx)elf/.
1100 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1102 (link-libc-deps): Likewise.
1103 ($(common-objpfx)libc.so): Likewise.
1104 ($(common-objpfx)linkobj/libc.so): Likewise.
1105 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1106 instead of $(common-objpfx)elf/.
1107 (symbolic-link-list): Likewise.
1108 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1109 [$(cross-compiling) = no]: Likewise.
1110 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1112 (static-gnulib-arch): Likewise.
1113 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1114 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1115 $(common-objpfx)elf/.
1117 2014-05-21 Richard Henderson <rth@redhat.com>
1119 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1120 (SINGLE_THREAD_P): Use the correct width load. Fold
1121 into the ldr offset.
1123 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1124 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1126 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1128 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1129 (libgcc_s_resume): Use __attribute_used__.
1130 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1133 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1136 optimization when used with float constants.
1138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1140 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1143 * locale/nl_langinfo_l.c: Make direct reference to every
1144 _nl_current_CATEGORY symbol.
1145 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1146 (tests-static): Add tst-langinfo-static.
1147 (tests-special): Add tst-langinfo-static.out.
1148 ($(objpfx)tst-langinfo.out): Redirect output.
1149 ($(objpfx)tst-langinfo-static.out): New.
1150 * localedata/tst-langinfo.sh: Send output to stdout.
1151 * localedata/tst-langinfo-static.c: New file.
1154 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1155 when the shift amount is modulo the limb size.
1157 2014-05-20 Richard Henderson <rth@redhat.com>
1160 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1161 Change type of sa_flags from unsigned int to int.
1164 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1166 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1168 2014-05-20 Will Newton <will.newton@linaro.org>
1170 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1171 Test the return value of the system call in the nocancel case.
1173 2014-05-20 Will Newton <will.newton@linaro.org>
1174 Yvan Roux <yvan.roux@linaro.org>
1176 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1177 #include of asm/ptrace.h.
1178 (PTRACE_GET_THREAD_AREA): Remove #undef.
1179 (PTRACE_GETHBPREGS): Likewise.
1180 (PTRACE_SETHBPREGS): Likewise.
1181 (struct user_regs_struct): New structure.
1182 (struct user_fpsimd_struct): New structure.
1183 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1184 #include of asm/ptrace.h and second #include of sys/user.h.
1185 (PTRACE_GET_THREAD_AREA): Remove #undef.
1186 (PTRACE_GETHBPREGS): Likewise.
1187 (PTRACE_SETHBPREGS): Likewise.
1188 (ELF_NGREG): Use new struct user_regs_struct.
1189 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1191 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1194 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1196 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1200 membar to avoid block loads/stores to overlap previous stores.
1202 2014-05-17 Richard Henderson <rth@redhat.com>
1204 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1205 Create the __##syscall_name##_nocancel entry point.
1206 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1207 Remove; let the sysdep-cancel.h code create it.
1209 2014-05-17 David S. Miller <davem@davemloft.net>
1211 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1212 Protect with __USE_GNU.
1213 (TIOCSET_TEMPT): Likewise.
1214 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1215 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1216 these are already provided in bits/ioctl-types.h
1218 2014-05-16 Roland McGrath <roland@hack.frob.com>
1220 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1221 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1223 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1224 Use wait4 regardless of [__NR_waitpid].
1226 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1229 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1230 (_FP_NANSIGN_Q): Set the quiet bit.
1232 2014-05-16 Joseph Myers <joseph@codesourcery.com>
1234 * benchtests/Makefile
1235 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1236 not $(common-objpfx)math/libm.so.
1237 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1238 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1239 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1240 $(common-objpfx)dlfcn/libdl.so.
1241 ($(objpfx)tst-audit8): Depend on $(libm), not
1242 $(common-objpfx)math/libm.so.
1243 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1244 not $(common-objpfx)dlfcn/libdl.so.
1246 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1247 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1248 [$(build-shared) = yes].
1249 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1250 $(common-objpfx)nptl/libpthread.so.
1251 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1252 $(common-objpfx)math/libm.so$(libm.so-version) or
1253 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1254 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1255 $(common-objpfx)dlfcn/libdl.so.
1256 * setjmp/Makefile (link-libm): Remove variable.
1257 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1258 * stdio-common/Makefile (link-libm): Remove variable.
1259 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1260 * stdlib/Makefile (link-libm): Remove variable.
1261 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1262 ($(objpfx)tst-strtod-round): Likewise.
1263 ($(objpfx)tst-tininess): Likewise.
1264 ($(objpfx)tst-strtod-underflow): Likewise.
1265 ($(objpfx)tst-strtod6): Likewise.
1266 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1267 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1268 $(common-objpfx)dlfcn/libdl.so.
1270 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1273 BSD terminal modes definitions.
1275 2014-05-16 Roland McGrath <roland@hack.frob.com>
1277 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1278 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1280 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1281 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1282 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1283 Don't do #include_next.
1284 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1285 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1286 Don't do #include_next.
1287 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1288 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1289 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1290 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1292 2014-05-16 Allan McRae <allan@archlinux.org>
1294 * po/sv.po: Update Swedish translation from translation project.
1296 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1299 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1302 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1303 errno if the TIOCGPTN ioctl fails with an error different than
1305 * login/tst-ptsname.c: New file.
1306 * login/Makefile (tests): Add tst-ptsname.
1309 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1312 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1316 herrno to return EAI_AGAIN.
1318 2014-05-14 Roland McGrath <roland@hack.frob.com>
1320 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1321 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1322 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1325 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1327 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1329 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1335 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1337 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1338 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1339 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1341 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1343 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1345 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1347 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1348 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1349 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1351 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1353 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1356 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1358 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1360 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1362 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1366 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1368 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1370 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1372 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1374 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1376 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1378 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1380 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1385 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1389 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1393 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1395 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1401 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1403 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1406 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1408 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1410 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1411 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1412 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1413 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1414 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1415 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1416 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1417 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1418 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1420 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1421 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1422 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1424 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1425 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1426 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1427 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1428 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1429 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1430 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1431 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1432 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1433 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1434 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1435 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1436 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1437 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1438 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1439 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1440 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1442 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1443 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1445 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1446 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1447 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1448 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1449 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1450 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1452 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1453 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1455 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1458 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1459 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1461 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1463 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1464 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1466 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1467 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1468 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1470 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1472 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1475 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1480 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1481 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1482 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1483 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1484 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1486 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1490 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1491 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1492 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1494 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1495 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1497 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1500 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1501 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1503 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1504 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1506 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1507 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1508 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1509 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1511 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1513 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1515 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1516 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1517 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1518 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1520 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1523 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1525 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1526 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1527 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1528 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1529 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1535 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1536 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1537 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1538 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1539 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1540 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1541 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1542 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1543 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1544 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1546 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1547 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1549 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1550 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1552 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1553 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1555 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1556 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1557 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1559 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1560 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1562 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1563 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1564 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1566 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1567 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1568 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1569 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1571 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1574 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1576 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1577 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1578 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1579 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1580 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1582 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1586 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1587 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1588 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1589 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1590 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1591 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1592 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1593 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1594 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1595 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1596 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1598 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1599 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1601 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1602 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1604 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1605 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1606 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1607 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1608 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1609 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1610 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1611 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1612 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1613 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1614 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1615 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1617 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1618 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1619 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1620 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1623 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1625 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1626 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1628 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1630 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1632 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1635 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1637 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1640 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1646 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1647 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1648 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1649 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1650 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1651 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1652 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1653 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1654 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1656 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1658 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1659 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1660 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1661 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1662 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1664 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1665 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1666 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1667 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1668 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1669 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1670 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1671 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1672 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1673 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1676 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1678 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1679 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1680 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1681 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1682 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1683 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1684 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1685 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1686 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1687 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1688 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1689 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1690 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1691 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1696 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1712 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1716 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1717 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1718 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1719 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1720 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1721 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1722 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1723 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1724 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1725 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1726 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1729 that was previously under [RESET_PID].
1730 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1731 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1732 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1734 * sysdeps/i386/nptl/Implies: New file.
1735 * sysdeps/x86_64/nptl/Implies: New file.
1736 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1737 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1738 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1739 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1741 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1742 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1743 (__libc_vfork): New strong alias.
1744 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1745 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1747 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1748 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1749 (__libc_vfork): New strong alias.
1750 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1751 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1753 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1754 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1755 (__libc_vfork): New strong alias.
1756 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1757 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1758 * nptl/pt-vfork.c: New file.
1759 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1760 (libpthread: GLIBC_2.20): New version set (empty).
1762 2014-05-14 Will Newton <will.newton@linaro.org>
1764 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1767 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1770 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1771 arguments with exponent 65 or above.
1772 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1773 arguments 0x1p113L or above.
1774 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1775 to arguments 0x1p107L or above.
1776 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1777 positive arguments with exponent 65 or above.
1778 * math/auto-libm-test-in: Add more tests of log1p.
1779 * math/auto-libm-test-out: Regenerated.
1782 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1783 non-finite arguments is +0.
1784 * math/s_cacosf.c (__cacosf): Likewise.
1785 * math/s_cacosl.c (__cacosl): Likewise.
1786 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1787 * sysdeps/i386/fpu/libm-test-ulps: Update.
1788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1791 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1793 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1794 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1795 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1796 for explicit high bit of mantissa when testing for argument equal
1798 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1799 * sysdeps/i386/fpu/libm-test-ulps: Update.
1800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1803 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1804 (__erf): Scale by 16 instead of 8 in potentially underflowing
1805 case. Ensure exception if result actually underflows.
1806 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1807 (__erff): Scale by 16 instead of 8 in potentially underflowing
1808 case. Ensure exception if result actually underflows.
1809 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1810 (efx8): Remove variable.
1811 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1812 case. Ensure exception if result actually underflows.
1813 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1814 (efx8): Remove variable.
1815 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1816 case. Ensure exception if result actually underflows.
1817 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1818 (efx8): Remove variable.
1819 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1820 case. Ensure exception if result actually underflows.
1821 * math/auto-libm-test-in: Add more tests of erf.
1822 * math/auto-libm-test-out: Regenerated.
1824 2014-05-14 Andreas Schwab <schwab@suse.de>
1826 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1827 Remove code conditionalized on USE___THREAD.
1829 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1830 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1833 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1835 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1836 Define unconditionally.
1837 (__ASSUME_O_CLOEXEC): Likewise.
1838 (__ASSUME_SOCK_CLOEXEC): Likewise.
1839 (__ASSUME_IN_NONBLOCK): Likewise.
1840 (__ASSUME_PIPE2): Likewise.
1841 (__ASSUME_EVENTFD2): Likewise.
1842 (__ASSUME_SIGNALFD4): Likewise.
1843 (__ASSUME_DUP3): Likewise.
1844 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1845 (__ASSUME_DUP3): Do not define.
1846 (__ASSUME_EVENTFD2): Likewise.
1847 (__ASSUME_IN_NONBLOCK): Likewise.
1848 (__ASSUME_O_CLOEXEC): Likewise.
1849 (__ASSUME_PIPE2): Likewise.
1850 (__ASSUME_SIGNALFD4): Likewise.
1851 (__ASSUME_SOCK_CLOEXEC): Likewise.
1852 (__ASSUME_UTIMES): Undefine.
1853 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1854 (__ASSUME_UTIMES): Do not define.
1855 (__ASSUME_O_CLOEXEC): Likewise.
1856 (__ASSUME_SOCK_CLOEXEC): Likewise.
1857 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1858 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1860 (__ASSUME_PIPE2): Likewise.
1861 (__ASSUME_EVENTFD2): Likewise.
1862 (__ASSUME_SIGNALFD4): Likewise.
1863 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1864 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1866 (__ASSUME_EVENTFD2): Likewise.
1867 (__ASSUME_SIGNALFD4): Likewise.
1868 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1869 (__ASSUME_32BITUIDS): Likewise.
1870 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1871 (__ASSUME_IPC64): Likewise.
1872 (__ASSUME_ST_INO_64_BIT): Likewise.
1873 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1874 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1875 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1876 (__ASSUME_UTIMES): Do not define.
1877 (__ASSUME_PSELECT): Likewise.
1878 (__ASSUME_PPOLL): Likewise.
1879 (__ASSUME_O_CLOEXEC): Likewise.
1880 (__ASSUME_SOCK_CLOEXEC): Likewise.
1881 (__ASSUME_IN_NONBLOCK): Likewise.
1882 (__ASSUME_PIPE2): Likewise.
1883 (__ASSUME_EVENTFD2): Likewise.
1884 (__ASSUME_SIGNALFD4): Likewise.
1885 (__ASSUME_DUP3): Likewise.
1886 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1887 (__ASSUME_UTIMES): Likewise.
1888 (__ASSUME_O_CLOEXEC): Likewise.
1889 (__ASSUME_SOCK_CLOEXEC): Likewise.
1890 (__ASSUME_IN_NONBLOCK): Likewise.
1891 (__ASSUME_PIPE2): Likewise.
1892 (__ASSUME_EVENTFD2): Likewise.
1893 (__ASSUME_SIGNALFD4): Likewise.
1894 (__ASSUME_DUP3): Likewise.
1895 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1896 (__ASSUME_UTIMES): Likewise.
1897 (__ASSUME_O_CLOEXEC): Likewise.
1898 (__ASSUME_SOCK_CLOEXEC): Likewise.
1899 (__ASSUME_IN_NONBLOCK): Likewise.
1900 (__ASSUME_PIPE2): Likewise.
1901 (__ASSUME_EVENTFD2): Likewise.
1902 (__ASSUME_SIGNALFD4): Likewise.
1903 (__ASSUME_DUP3): Likewise.
1904 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1906 (__ASSUME_UTIMES): Likewise.
1907 (__ASSUME_EVENTFD2): Likewise.
1908 (__ASSUME_SIGNALFD4): Likewise.
1909 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1910 (__ASSUME_O_CLOEXEC): Likewise.
1911 (__ASSUME_SOCK_CLOEXEC): Likewise.
1912 (__ASSUME_IN_NONBLOCK): Likewise.
1913 (__ASSUME_PIPE2): Likewise.
1914 (__ASSUME_EVENTFD2): Likewise.
1915 (__ASSUME_SIGNALFD4): Likewise.
1916 (__ASSUME_DUP3): Likewise.
1917 (__ASSUME_UTIMES): Undefine.
1919 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1920 feclearexcept. Remove symbol versioning code.
1921 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1922 symbol versioning code.
1923 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1924 symbol versioning code.
1925 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1926 feupdateenv. Remove symbol versioning code.
1927 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1928 fegetexceptflag. Remove symbol versioning code.
1929 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1930 fesetexceptflag. Remove symbol versioning code.
1931 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1932 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1933 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1934 (__posix_fadvise64_l32): Remove prototype.
1935 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1938 2014-05-13 Roland McGrath <roland@hack.frob.com>
1940 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1941 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1942 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1943 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1945 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1947 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1948 current working directory
1950 2014-05-13 Roland McGrath <roland@hack.frob.com>
1952 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1953 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1954 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1955 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1956 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1957 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1958 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1961 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1963 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1964 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1965 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1967 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1969 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1973 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1975 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1976 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1977 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1978 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1979 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1981 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1985 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1986 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1987 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1988 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1989 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1990 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1991 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1992 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1993 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1995 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1996 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1998 * sysdeps/unix/sysv/linux/arm/Makefile
1999 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2000 Add rt-aeabi_unwind_cpp_pr1.
2001 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2002 Add nptl-aeabi_unwind_cpp_pr1.
2003 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2004 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2005 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2006 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2007 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2008 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2010 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2011 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2012 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2013 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2015 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2016 Deconditionalize the code that was previously under [RESET_PID].
2017 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2019 * sysdeps/generic/exit-thread.h: New file.
2020 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2021 * include/unistd.h (__exit_thread): Remove declaration.
2022 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2023 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2024 * csu/libc-start.c: Include <exit-thread.h>.
2025 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2026 * nptl/pthread_create.c: Include <exit-thread.h>.
2027 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2028 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2029 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2030 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2031 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2032 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2033 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2034 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2035 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2036 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2037 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2038 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2039 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2040 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2041 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2042 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2043 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2045 2014-05-13 Andreas Schwab <schwab@suse.de>
2047 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2049 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2051 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2052 (__ASSUME_UTIMES): Do not condition on kernel version.
2053 (__ASSUME_PSELECT): Define unconditionally.
2054 (__ASSUME_PPOLL): Likewise.
2055 (__ASSUME_ATFCTS): Likewise.
2056 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2057 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2058 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2059 (__ASSUME_UTIMENSAT): Define unconditionally.
2060 (__ASSUME_PRIVATE_FUTEX): Likewise.
2061 (__ASSUME_FALLOCATE): Likewise.
2062 (__ASSUME_O_CLOEXEC): Likewise.
2063 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2064 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2065 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2066 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2067 (__ASSUME_IN_NONBLOCK): Likewise.
2068 (__ASSUME_PIPE2): Likewise.
2069 (__ASSUME_EVENTFD2): Likewise.
2070 (__ASSUME_SIGNALFD4): Likewise.
2071 (__ASSUME_DUP3): Likewise.
2072 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2073 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2074 (__ASSUME_AT_RANDOM): Likewise.
2075 (__ASSUME_PREADV): Likewise.
2076 (__ASSUME_PWRITEV): Likewise.
2077 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2078 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2079 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2081 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2082 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2083 (__ASSUME_O_CLOEXEC): Define unconditionally.
2084 (__ASSUME_PSELECT): Do not undefine conditionally.
2085 (__ASSUME_PPOLL): Likewise.
2086 (__ASSUME_ATFCTS): Likewise.
2087 (__ASSUME_SET_ROBUST_LIST): Likewise.
2088 (__ASSUME_UTIMENSAT): Likewise.
2089 (__ASSUME_FDATASYNC): Define unconditionally.
2090 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2091 (__ASSUME_SIGFRAME_V2): Likewise.
2092 )__ASSUME_EVENTFD2): Likewise.
2093 (__ASSUME_SIGNALFD4): Likewise.
2094 (__ASSUME_PSELECT): Do not undefine conditionally.
2095 (__ASSUME_PPOLL): Likewise.
2096 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2097 (__ASSUME_PSELECT): Define unconditionally.
2098 (__ASSUME_PPOLL): Likewise.
2099 (__ASSUME_O_CLOEXEC): Likewise.
2100 (__ASSUME_SOCK_CLOEXEC): Likewise.
2101 (__ASSUME_IN_NONBLOCK): Likewise.
2102 (__ASSUME_PIPE2): Likewise.
2103 (__ASSUME_EVENTFD2): Likewise.
2104 (__ASSUME_SIGNALFD4): Likewise.
2105 (__ASSUME_DUP3): Likewise.
2106 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2107 (__ASSUME_O_CLOEXEC): Likewise.
2108 (__ASSUME_SOCK_CLOEXEC): Likewise.
2109 (__ASSUME_IN_NONBLOCK): Likewise.
2110 (__ASSUME_PIPE2): Likewise.
2111 (__ASSUME_EVENTFD2): Likewise.
2112 (__ASSUME_SIGNALFD4): Likewise.
2113 (__ASSUME_DUP3): Likewise.
2114 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2115 (__ASSUME_EVENTFD2): Likewise.
2116 (__ASSUME_SIGNALFD4): Likewise.
2117 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2119 2014-05-12 Andreas Schwab <schwab@suse.de>
2122 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2123 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2124 than maximum RPC packet size.
2125 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2126 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2127 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2128 (_nss_nis_getservbyport_r): Likewise.
2130 2014-05-12 Will Newton <will.newton@linaro.org>
2132 * malloc/Makefile (tests): Add tst-mallopt.
2133 * malloc/tst-mallopt.c: New file.
2135 2014-05-09 Roland McGrath <roland@hack.frob.com>
2137 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2138 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2140 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2142 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2143 (tst-tlsmod6.so): Likewise.
2145 2014-05-09 Roland McGrath <roland@hack.frob.com>
2147 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2149 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2153 and <dl-procinfo.h>.
2154 (__fegetenv): Save SSE state in envp->__eip if supported.
2155 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2156 envp->__eip if supported.
2157 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2158 and <dl-procinfo.h>.
2159 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2160 __data_offset and __data_selector in environment to 0. Set SSE
2162 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2164 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2166 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2168 2014-05-09 Will Newton <will.newton@linaro.org>
2170 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2171 and libc_relro_required for ARM.
2172 * sysdeps/arm/preconfigure: Regenerate.
2174 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2175 Stefan Liebler <stli@linux.vnet.ibm.com>
2177 * config.make.in (enable-lock-elision): New Makefile variable.
2178 * configure.ac: Likewise.
2179 * configure: Regenerate.
2180 * sysdeps/s390/configure.ac:
2181 Add check for gcc transactions support.
2182 * sysdeps/s390/configure: Regenerate.
2183 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2184 Build elision files if enabled.
2185 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2186 Add lock elision support for s390.
2187 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2188 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2189 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2190 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2191 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2192 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2193 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2199 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2201 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2202 (__lll_timedlock_elision, __lll_lock_elision)
2203 (__lll_unlock_elision, __lll_trylock_elision)
2204 (lll_timedlock_elision, lll_lock_elision)
2205 (lll_unlock_elision, lll_trylock_elision): Add.
2206 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2207 (pthread_mutex_t): Add lock elision support for s390.
2209 2014-05-14 Wilco <wdijkstr@arm.com>
2211 * sysdeps/arm/fclrexcpt.c: Cleanup.
2212 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2213 * sysdeps/arm/feenablxcpt.c: Cleanup.
2214 * sysdeps/arm/fegetenv.c: Cleanup.
2215 * sysdeps/arm/fegetexcept.c: Cleanup.
2216 * sysdeps/arm/fegetround.c: Cleanup.
2217 * sysdeps/arm/feholdexcpt.c: Cleanup.
2218 * sysdeps/arm/fesetenv.c: Cleanup.
2219 * sysdeps/arm/fesetround.c: Cleanup.
2220 * sysdeps/arm/feupdateenv.c: Cleanup.
2221 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2222 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2223 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2224 * sysdeps/arm/ftestexcept.c: Cleanup.
2225 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2226 * sysdeps/arm/setfpucw.c: Cleanup.
2228 2014-05-09 Will Newton <will.newton@linaro.org>
2230 * sysdeps/arm/armv7/strcmp.S: New file.
2231 * NEWS: Mention addition of ARMv7 optimized strcmp.
2233 2014-05-08 Roland McGrath <roland@hack.frob.com>
2235 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2236 look for %.ac rather than %.in.
2238 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2239 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2240 * sysdeps/mach/hurd/configure: Regenerated.
2241 * sysdeps/unix/sysv/linux/configure: Regenerated.
2243 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2245 2014-05-07 Steve Ellcey <sellcey@mips.com>
2248 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2252 2014-05-07 Andreas Schwab <schwab@suse.de>
2254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2255 when skipping over non-matching result from nscd.
2257 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
2260 * nptl/sockperf.c (client): Check socket return value.
2263 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2264 nscd security class.
2266 2014-05-06 Roland McGrath <roland@hack.frob.com>
2268 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2269 * sysdeps/arm/unwind.h: ... here.
2271 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2274 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2277 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2279 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2280 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2281 multiarch strncpy for PPC64.
2282 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2283 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2285 multiarch optimizations.
2286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2287 (__libc_ifunc_impl_list): Likewise.
2288 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2289 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2290 multiarch stpncpy for PPC64.
2291 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2292 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2294 2014-05-06 Andreas Schwab <schwab@suse.de>
2297 * gmon/mcount.c (_MCOUNT_DECL): Use
2298 atomic_compare_and_exchange_bool_acq instead of
2299 catomic_compare_and_exchange_bool_acq.
2301 2014-05-05 Roland McGrath <roland@hack.frob.com>
2303 * elf/Makefile (others, install-bin): Remove pldd.
2304 (pldd-modules): Variable removed.
2305 ($(objpfx)pldd): Target removed.
2306 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2307 (others, install-bin): Append pldd here.
2308 ($(objpfx)pldd): New target.
2310 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2311 to 0, so the first #if test emitted later doesn't see it undefined.
2312 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2313 * sysdeps/gnu/errlist.c: Regenerated.
2315 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2318 [libc_hidden_builtin_def]: Define to empty value.
2319 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2320 [libc_hidden_builtin_def]: Likewise.
2321 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2322 [libc_hidden_builtin_def]: Likewise.
2323 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2324 [libc_hidden_builtin_def]: Likewise.
2325 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2326 __redirect_memcpy and define ifunc as default hidden symbol.
2327 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2328 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2330 2014-05-04 Adam Conrad <adconrad@0c3.net>
2332 * locale/iso-4217.def: Reintroduce XDR currency.
2334 2014-05-04 Allan McRae <allan@archlinux.org>
2336 * po/eo.po: Update Esperanto translation from translation project.
2338 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2340 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2341 and FEATURE_INDEX_MAX to 1.
2342 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2344 2014-05-01 Steve Ellcey <sellcey@mips.com>
2346 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2347 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2348 * iconvdata/big5.c (ONE_DIRECTION): Define.
2349 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2350 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2351 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2352 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2353 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2354 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2355 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2356 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2357 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2358 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2359 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2360 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2361 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2362 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2363 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2364 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2365 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2366 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2367 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2368 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2369 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2370 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2371 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2372 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2373 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2374 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2375 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2376 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2377 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2378 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2379 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2380 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2381 * iconvdata/johab.c (ONE_DIRECTION): Define.
2382 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2383 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2384 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2385 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2386 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2387 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2388 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2389 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2390 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2391 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2393 2014-05-01 Roland McGrath <roland@hack.frob.com>
2395 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2396 (_IO_JUMPS_OFFSET): Define to 0.
2398 * nptl/sysdeps/pthread/bits/libc-lock.h
2399 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2400 (__libc_lock_define_initialized_recursive): Always define using
2401 initializer. Modern compilers treat uninitialized (implicit zero) and
2402 explicit zero initializers the same (i.e. put the datum in bss).
2404 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2406 * nscd/nscd-client.h: Include <string.h>.
2408 2014-05-01 David S. Miller <davem@davemloft.net>
2411 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2412 multiple zero bytes exist at the end of a string.
2413 Reported by Aurelien Jarno <aurelien@aurel32.net>
2415 * string/test-strcmp.c (check): Add explicit test for situations where
2416 there are multiple zero bytes after the first.
2418 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2421 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2422 when compiling wprintf.
2423 * stdio-common/tstdiomisc.c (t3): New function.
2426 2014-05-01 Steve Ellcey <sellcey@mips.com>
2428 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2429 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2430 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2431 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2433 2014-05-01 Steve Ellcey <sellcey@mips.com>
2435 * stdlib/longlong.h: Updated from GCC.
2437 2014-05-01 Will Newton <will.newton@linaro.org>
2438 Bernard Ogden <bernie.ogden@linaro.org>
2440 * NEWS: Update fixed bug list.
2443 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2445 2014-04-30 David S. Miller <davem@davemloft.net>
2447 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2448 (libc_feholdexcept_setround_sparc_ctx): New function.
2449 (libc_fesetenv_sparc_ctx): Likewise.
2450 (libc_feupdateenv_sparc_ctx): Likewise.
2451 (libc_feholdsetround_sparc_ctx): Likewise.
2452 (libc_feholdexcept_setround_ctx): Define.
2453 (libc_feholdexcept_setroundf_ctx): Likewise.
2454 (libc_feholdexcept_setroundl_ctx): Likewise.
2455 (libc_fesetenv_ctx): Likewise.
2456 (libc_fesetenvf_ctx): Likewise.
2457 (libc_fesetenvl_ctx): Likewise.
2458 (libc_feupdateenv_ctx): Likewise.
2459 (libc_feupdateenvf_ctx): Likewise.
2460 (libc_feupdateenvl_ctx): Likewise.
2461 (libc_feresetround_ctx): Likewise.
2462 (libc_feresetroundf_ctx): Likewise.
2463 (libc_feresetroundl_ctx): Likewise.
2464 (libc_feholdsetround_ctx): Likewise.
2465 (libc_feholdsetroundf_ctx): Likewise.
2466 (libc_feholdsetroundl_ctx): Likewise.
2468 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2469 with __USE_GNU instead of XOPEN cpp guards.
2471 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2475 with XOPEN cpp guards.
2477 2014-04-30 Julian Brown <julian@codesourcery.com>
2480 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2483 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2486 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2488 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2489 * sysdeps/unix/sysv/linux/configure: Regenerated.
2490 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2491 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2492 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2493 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2494 * README: Update reference to required Linux kernel version.
2495 * manual/install.texi (Linux): Update reference to required Linux
2496 kernel headers version.
2497 * INSTALL: Regenerated.
2499 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2501 [POSIX] (limits.h): Likewise.
2502 [POSIX] (math.h): Likewise.
2503 [POSIX] (sys/wait.h): Likewise.
2504 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2506 [POSIX] (stddef.h): Do not allow header inclusion.
2508 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2510 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2512 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2514 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2515 Return immediately after lll_futex_wake.
2517 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2520 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2522 (datahead_init_pos): Call datahead_init_common early.
2523 (datahead_init_neg): Likewise.
2525 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2526 datahead_init_neg): New functions.
2527 * nscd/aicache.c (addhstaiX): Use them.
2528 * nscd/grpcache.c (cache_addgr): Likewise.
2529 * nscd/hstcache.c (cache_addhst): Likewise.
2530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2531 * nscd/netgroupcache.c (do_notfound): Likewise.
2532 (addgetnetgrentX): Likewise.
2533 (addinnetgrX): Likewise.
2534 * nscd/pwdcache.c (cache_addpw): Likewise.
2535 * nscd/servicescache.c (cache_addserv): Likewise.
2537 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2538 Atsushi Onoe <atsushi@onoe.org>
2543 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2544 one response is valid.
2545 * resolv/res_send.c (send_dg): Check for validity of other
2546 response if the current response is a referral.
2548 2014-04-29 Steve Ellcey <sellcey@mips.com>
2550 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2552 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2555 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2556 Always divide by positive zero when computing -Inf result.
2557 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2558 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2560 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2563 FPSCR if value do not change.
2564 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2565 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2566 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2567 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2568 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2569 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2572 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2574 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2575 * sysdeps/unix/sysv/linux/hppa: Move directory from
2576 ports/systeps/unix/sysv/linux/hppa.
2577 * README: Update listing for hppa-*-linux-gnu.
2579 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2582 * manual/stdio.texi (Hook functions): Fix types of stream hook
2585 * socket/sys/socket.h: Fix typo in comment.
2587 2014-04-28 Wilco <wdijkstr@arm.com>
2589 * sysdeps/arm/fenv_private.h: New file.
2590 * sysdeps/arm/math_private.h: New file.
2591 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2593 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2595 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2597 (La_x86_64_retval): Likewise.
2599 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2601 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2602 fpsr if value didn't change.
2603 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2604 to fpcr if value didn't change.
2605 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2606 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2607 fpsr or fpcr if value didn't change.
2608 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2609 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2610 fpcr if value didn't change.
2611 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2612 to fpsr if value didn't change.
2614 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2616 * nptl/tst-sem3.c: Use test-skeleton.c
2617 (main): Rename to do_test. Use return instead of
2619 * nptl/tst-sem4.c: Use test-skeleton.c
2620 (main): Rename to do_test.
2622 2014-04-22 David S. Miller <davem@davemloft.net>
2624 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2625 (struct sigaction): New struct member __glibc_reserved0, change
2626 type of sa_flags to int.
2628 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2630 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2631 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2633 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2635 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2636 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2638 2014-04-22 Will Newton <will.newton@linaro.org>
2639 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2641 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2642 (__longjmp): Add longjmp and longjmp_target SystemTap
2644 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2645 (__sigsetjmp): Add setjmp SystemTap probe.
2647 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2649 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2652 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2654 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2656 * sysdeps/powerpc/fpu/fenv_private.h
2657 (libc_feholdexcept_setroundl_ctx): Define to
2658 libc_feholdexcept_setround_ppc_ctx.
2659 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2660 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2661 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2662 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2664 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2666 * sysdeps/aarch64/math-tests.h: New file.
2668 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2670 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2673 Check and set bit_AVX2_Usable.
2674 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2676 (bit_AVX2): Likewise.
2677 (index_AVX2_Usable): Likewise.
2678 (CPUID_AVX2): Likewise.
2679 (HAS_AVX2): Likewise.
2681 2014-04-17 Will Newton <will.newton@linaro.org>
2683 * manual/setjmp.texi (System V contexts): Add note that
2684 calling setcontext on a context created by a call to a
2685 signal handler is undefined. Update text to note that
2686 setcontext from a signal handler is possible but not
2690 * stdlib/tst-setcontext.c: Include signal.h.
2691 (main): Check that the signal stack before and
2692 after swapcontext is the same.
2694 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2695 Re-implement to restore registers in user code and avoid
2696 rt_sigreturn system call.
2698 2014-04-17 Wilco <wdijkstr@arm.com>
2700 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2701 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2702 * math/test-fenv.c: Skip exception trap tests on targets which only
2703 support non-stop mode.
2705 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2706 Wilco Dijkstra <wilco.dijkstra@arm.com>
2708 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2709 (libc_feholdsetround_aarch64_ctx)
2710 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2711 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2712 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2713 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2714 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2715 (libc_feresetround_noexl_ctx): Define.
2717 2014-04-16 Richard Henderson <rth@redhat.com>
2719 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2721 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2724 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2725 const from the non-libc, non-ldso copy.
2727 * sysdeps/alpha/libm-test-ulps: Regenerate.
2729 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2730 Wilco Dijkstra <wilco.dijkstra@arm.com>
2732 * sysdeps/aarch64/fpu/math_private.h: New file.
2734 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2736 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2738 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2740 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2741 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2743 Intel MPX bound registers before _dl_profile_fixup.
2744 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2745 registers after _dl_profile_fixup. Save and restore bound
2746 registers bnd0/bnd1 when calling _dl_call_pltexit.
2747 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2748 (LR_BND_OFFSET): Likewise.
2749 (LRV_BND0_OFFSET): Likewise.
2750 (LRV_BND1_OFFSET): Likewise.
2752 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2754 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2756 * sysdeps/mach/hurd/i386/tls.h: ... here.
2757 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2758 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2761 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2763 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2765 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2767 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2769 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2772 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2773 * sysdeps/s390/configure: Regenerate.
2776 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2777 Set round-to-nearest internally to reduce error accumulation.
2779 2014-04-16 Alan Modra <amodra@gmail.com>
2783 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2784 * math/libm-test.inc (frexp_test_data): Add tests.
2785 * NEWS: Update fixed bug list.
2787 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2789 * benchtests/Makefile: Depend on libraries in build directory.
2790 (bench-math): Separate out math tests.
2791 (bench-pthread): Separate out pthread tests.
2792 (bench): Include math and pthread tests.
2794 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2797 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2798 _dl_debug_initialize.
2800 * configure.ac: Remove SELinux header check.
2801 * configure: Regenerate.
2802 * nscd/selinux.c (perms): Array of const char* to permission names.
2803 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2804 default policy. Call string_to_security_class and string_to_av_perm to
2805 translate strings. Enforce default policy and call avs_has_perm with
2806 results of translated strings.
2808 2014-04-13 David S. Miller <davem@davemloft.net>
2810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2812 2014-04-12 Allan McRae <allan@archlinux.org>
2815 * manual/string.texi (Collation Functions): Fix qsort argument
2817 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2819 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2821 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2822 Make the test a no-op if there are no exceptions defined.
2824 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2826 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2827 enable-hardcoded-path-in-tests
2829 2014-04-11 Will Newton <will.newton@linaro.org>
2831 * benchtests/Makefile (extra-objs): Add json-lib.o.
2832 (bench-func): Tidy up JSON output.
2833 * benchtests/bench-skeleton.c: Include json-lib.h.
2834 (main): Use JSON library functions to do output of
2836 * benchtests/bench-timing-type.c (main): Output the
2837 timing type simply, leaving formatting to the user.
2838 * benchtests/json-lib.c: New file.
2839 * benchtests/json-lib.h: Likewise.
2841 2014-04-11 Torvald Riegel <triegel@redhat.com>
2844 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2845 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2846 memory barriers. Add comments.
2847 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2848 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2849 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2850 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2851 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2852 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2854 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2856 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2857 * sysdeps/s390/s390-64/configure.ac: ... this ...
2858 * sysdeps/s390/configure.ac: ... to here.
2859 * sysdeps/s390/s390-32/configure: Delete file.
2860 * sysdeps/s390/s390-64/configure: Delete file.
2861 * sysdeps/s390/configure: Regenerate.
2863 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2865 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2867 2014-04-11 Will Newton <will.newton@linaro.org>
2869 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2870 to zero if it is not defined elsewhere. (mtrim): Test
2871 the value of MALLOC_DEBUG with #if rather than #ifdef.
2873 2014-04-10 Torvald Riegel <triegel@redhat.com>
2875 * benchtests/pthread_once-inputs: New file.
2876 * benchtests/pthread_once-source.c: New file.
2877 * benchtests/README: Update documentation.
2879 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2880 H.J. Lu <hongjiu.lu@intel.com>
2882 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2883 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2884 * sysdeps/x86_64/configure: Regenerated.
2885 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2887 (REGISTER_SAVE_RAX): Likewise.
2888 (REGISTER_SAVE_RCX): Likewise.
2889 (REGISTER_SAVE_RDX): Likewise.
2890 (REGISTER_SAVE_RSI): Likewise.
2891 (REGISTER_SAVE_RDI): Likewise.
2892 (REGISTER_SAVE_R8): Likewise.
2893 (REGISTER_SAVE_R9): Likewise.
2894 (REGISTER_SAVE_BND0): Likewise.
2895 (REGISTER_SAVE_BND1): Likewise.
2896 (REGISTER_SAVE_BND2): Likewise.
2897 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2898 bound registers when calling _dl_fixup.
2900 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2903 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2905 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2906 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2907 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2908 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2909 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2910 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2911 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2913 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2916 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2917 pathconf(_PC_NAME_MAX).
2919 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2921 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2923 (__PTHREAD_SPINS): Move definition to ...
2924 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2925 (__PTHREAD_SPINS): ... here.
2926 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2927 (__PTHREAD_SPIN): Likewise.
2928 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2929 (__PTHREAD_SPIN): Likewise.
2930 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2931 (__PTHREAD_SPIN): Likewise.
2932 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2933 (__PTHREAD_SPIN): Likewise.
2934 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2935 (__PTHREAD_SPIN): Likewise.
2936 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2937 (__PTHREAD_SPIN): Likewise.
2938 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2939 (__PTHREAD_SPIN): Likewise.
2940 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2941 (__PTHREAD_SPIN): Likewise.
2942 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2943 (__PTHREAD_SPIN): Likewise.
2944 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2945 (__PTHREAD_SPIN): Likewise.
2946 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2947 (__PTHREAD_SPIN): Likewise.
2948 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2949 (__PTHREAD_SPIN): Likewise.
2951 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2952 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2953 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2954 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2956 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2957 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2958 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2959 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2961 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2962 strlen symbol for non multi-arch builds.
2963 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2964 missing hidden_def and weak_alias.
2966 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2968 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2970 2014-04-07 Will Newton <will.newton@linaro.org>
2972 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2973 and contents. [!_LIBC] Remove #ifndef and contents.
2974 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2975 * string/memccpy.c (__memccpy): Use ANSI prototype.
2976 * string/memfrob.c (memfrob): Likewise.
2977 * string/strcoll.c (STRCOLL): Likewise.
2978 * string/strlen.c (strlen): Likewise.
2979 * string/strtok.c (STRTOK): Likewise.
2980 * string/strcat.c: Remove unused #include of memcopy.h.
2981 (strcat): Use ANSI prototype.
2982 * string/strchr.c: Remove unused #include of memcopy.h.
2983 (strchr): Use ANSI prototype.
2984 * string/strcmp.c: Remove unused #include of memcopy.h.
2985 (strcmp): Use ANSI prototype.
2986 * string/strcpy.c: Remove unused #include of memcopy.h.
2987 (strcpy): Use ANSI prototype.
2989 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2991 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2992 * config.make.in (config-extra-cppflags): Set it from
2993 libc_extra_cppflags.
2994 * configure.ac (libc_extra_cflags): Make it accumulate over
2995 configure fragments.
2996 (libc_extra_cppflags): New flag.
2997 * configure. Regenerate.
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2999 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3000 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3005 result for FE_DOWNWARD rounding mode.
3006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3010 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3012 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3013 in function argument name.
3015 2014-04-03 David Svoboda <svoboda@cert.org>
3018 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3021 2014-04-03 Roland McGrath <roland@hack.frob.com>
3023 * elf/dl-unmap-segments.h: New file.
3024 * sysdeps/generic/ldsodefs.h
3025 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3026 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3027 * elf/dl-fptr.c: Likewise.
3028 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3029 * sysdeps/aarch64/tlsdesc.c: Likewise.
3030 * sysdeps/arm/tlsdesc.c: Likewise.
3031 * sysdeps/i386/tlsdesc.c: Likewise.
3032 * sysdeps/tile/dl-runtime.c: Likewise.
3033 * sysdeps/x86_64/tlsdesc.c: Likewise.
3034 * elf/dl-load.h: New file.
3035 * elf/dl-load.c: Include it.
3036 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3037 Macros moved to dl-load.h.
3038 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3039 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3040 Use _dl_unmap_segments in place of __munmap.
3041 Break out segment-mapping loop into ...
3042 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3044 2014-04-03 Will Newton <will.newton@linaro.org>
3046 * elf/dl-lookup.c (do_lookup_x): Remove comment
3047 referring to nested function and move variable
3048 declarations down to before first use.
3050 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3054 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3056 * math/s_catanf.c (__catanf): Likewise.
3057 * math/s_catanh.c (__catanh): Likewise.
3058 * math/s_catanhf.c (__catanhf): Likewise.
3059 * math/s_catanhl.c (__catanhl): Likewise.
3060 * math/s_catanl.c (__catanl): Likewise.
3061 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3062 by positive zero when computing -Inf result.
3063 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3064 (catanh_test): Likewise.
3065 * sysdeps/i386/fpu/libm-test-ulps: Update.
3066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3069 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3070 instead of using underflowing value in computing result.
3071 * math/s_clog10.c (__clog10): Likewise.
3072 * math/s_clog10f.c (__clog10f): Likewise.
3073 * math/s_clog10l.c (__clog10l): Likewise.
3074 * math/s_clogf.c (__clogf): Likewise.
3075 * math/s_clogl.c (__clogl): Likewise.
3076 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3077 (clog10_test): Likewise.
3078 * sysdeps/i386/fpu/libm-test-ulps: Update.
3079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3081 2014-04-02 Alan Modra <amodra@gmail.com>
3084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3085 output when value is near a power of two. Use int64_t for lx and
3086 remove casts. Use decimal rather than hex exponent constants.
3087 Don't use long double multiplication when double will suffice.
3088 * math/libm-test.inc (nextafter_test_data): Add tests.
3089 * NEWS: Add 16739 and 16786 to bug list.
3091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3093 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3095 2014-04-01 Will Newton <will.newton@linaro.org>
3097 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3098 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3100 2014-04-01 Florian Weimer <fweimer@redhat.com>
3103 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3104 * nptl/tst-setuid2.c: New file.
3105 * nptl/Makefile (xtests): Add tst-setuid2.
3107 2014-04-01 Alan Modra <amodra@gmail.com>
3110 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3112 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3116 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3117 set errno as appropriate.
3118 * math/w_scalbf.c (__scalbf): Likewise.
3119 * math/w_scalbl.c (__scalbl): Likewise.
3120 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3121 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3122 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3126 * math/w_atan2.c: Include <errno.h>.
3127 (__atan2): Set errno for result underflowing to zero.
3128 * math/w_atan2f.c: Include <errno.h>.
3129 (__atan2f): Set errno for result underflowing to zero.
3130 * math/w_atan2l.c: Include <errno.h>.
3131 (__atan2l): Set errno for result underflowing to zero.
3132 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3134 * math/auto-libm-test-out: Regenerated.
3136 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3138 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3139 Encode instruction correctly in little endian.
3140 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3142 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3144 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3146 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3149 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3152 * sysdeps/unix/sysv/linux/kernel-features.h
3153 [__sparc__ && !__arch64__ && !__sparc_v9__]
3154 (__ASSUME_SET_ROBUST_LIST): Do not define.
3155 [__sparc__ && !__arch64__ && !__sparc_v9__]
3156 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3157 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3159 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3160 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3161 (__ASSUME_REQUEUE_PI): Likewise.
3162 (__ASSUME_SET_ROBUST_LIST): Likewise.
3163 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3164 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3167 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3169 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3171 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3173 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3174 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3176 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3177 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3182 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3183 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3185 2014-03-31 Will Newton <will.newton@linaro.org>
3187 * benchtests/Makefile (bench): Add ffs and ffsll to list
3189 * benchtests/ffs-inputs: New file.
3190 * benchtests/ffsll-inputs: Likewise.
3192 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3195 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3196 too large before casting to int.
3197 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3198 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3199 * math/libm-test.inc (scalb_test_data): Add more tests.
3201 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3203 * benchtests/Makefile (DETAILED_OPT): New make option.
3204 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3206 * benchtests/bench-skeleton.c: Include stdbool.h.
3207 (main): Store and print timings per input.
3208 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3209 member to each argument value.
3210 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3211 (_print_arg_data): Initialize per-input timing to 0.
3213 * benchtests/Makefile (timing-type): New binary.
3214 (bench-clean): Also remove bench-timing-type.
3215 (bench): New target for timing-type.
3216 (bench-func): Print output in JSON format.
3217 * benchtests/bench-skeleton.c (main): Print output in JSON
3219 * benchtests/bench-timing-type.c: New file.
3220 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3221 (TIMING_PRINT_STATS): Remove.
3222 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3225 * benchtests/bench-modf.c: Remove.
3226 * benchtests/modf-inputs: New inputs file.
3228 2014-03-28 Joseph Myers <joseph@codesourcery.com>
3231 * math/s_clog10.c (M_PI_LOG10E): New macro.
3232 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3233 imaginary parts are 0.
3234 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3235 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3236 imaginary parts are 0.
3237 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3238 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3239 imaginary parts are 0.
3240 * math/libm-test.inc (clog10_test_data): Update expected results
3241 for when real and imaginary parts are 0.
3243 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3245 * elf/dl-load.c: Finish conversion of __builtin_expect into
3248 2014-03-27 Joseph Myers <joseph@codesourcery.com>
3251 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3252 1+x for argument with exponent below -67.
3253 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3255 * math/auto-libm-test-in: Add more tests of exp.
3256 * math/auto-libm-test-out: Regenerated.
3258 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3261 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3262 (nscd_getnetgrent): Use it.
3265 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3268 2014-03-27 Andi Kleen <ak@linux.intel.com>
3270 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3271 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3272 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3273 (lll_robust_unlock): Remove out of line section. Use cfi
3275 (LLL_STUB_UNWIND_INFO*): Remove.
3276 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3277 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3278 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3279 (lll_robust_unlock): Remove out of line section. Use cfi
3281 (LLL_STUB_UNWIND_INFO*): Remove.
3283 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3286 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3289 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3291 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3293 2014-03-26 Joseph Myers <joseph@codesourcery.com>
3296 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3298 * math/test-fenv-preserve.c: New file.
3299 * math/Makefile (tests): Add test-fenv-preserve.
3301 2014-03-26 Will Newton <will.newton@linaro.org>
3303 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3305 2014-03-25 Roland McGrath <roland@hack.frob.com>
3307 * scripts/versionlist.awk: Partition the version sets and emit all
3308 GLIBC_* (sorted) before all others (sorted).
3310 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3312 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3313 GLIBC_2.2.5 version.
3315 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3320 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3325 2014-03-25 Andreas Schwab <schwab@suse.de>
3327 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3328 label to be used after in6ailist is initialized.
3330 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3333 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3335 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3339 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3341 (fp_formats): Update initializers.
3342 (init_fp_formats): Initialize new field.
3343 (output_for_one_input_case): Allow underflow for results up to
3345 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3346 * math/auto-libm-test-in: Don't mark some underflows from asin and
3348 * math/auto-libm-test-out: Regenerated.
3349 * sysdeps/i386/fpu/libm-test-ulps: Update.
3350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3352 2014-03-25 Andreas Schwab <schwab@suse.de>
3354 * libio/Makefile (tst-ftell-partial-wide-ENV)
3355 (tst-ftell-active-handler-ENV): Define.
3357 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3359 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3361 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3363 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3365 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3368 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3369 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3371 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3374 * elf/dl-load.c (open_verify): Add mode parameter.
3375 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3376 (open_path): Change from boolean 'secure' to complete flag 'mode'
3377 (_dl_map_object): Adjust.
3378 * elf/Makefile (tests): Add tst-dlopen-aout.
3379 * elf/tst-dlopen-aout.c: New test.
3381 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3384 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3385 (struct stat): Rename member pad0 to __glibc_reserved0.
3388 * sysdeps/s390/s390-32/bits/wordsize.h
3389 (__WORDSIZE32_SIZE_ULONG): New define.
3390 * sysdeps/s390/s390-64/bits/wordsize.h
3391 (__WORDSIZE32_SIZE_ULONG): Likewise.
3392 * sysdeps/generic/stdint.h (SIZE_MAX):
3393 Define as UL if __WORDSIZE32_SIZE_ULONG.
3396 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3397 (__glibc_reserved0): New variable.
3398 (sa_flags): Change type to int.
3400 * posix/Makefile (before-compile): Use += before-compile instead
3403 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3404 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3406 2014-03-20 Andreas Schwab <schwab@suse.de>
3409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3410 non-matching result from nscd.
3412 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3414 * scripts/bench.py: Moved to ...
3415 * benchtests/scripts/bench.py: ... here.
3416 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3418 2014-03-24 Andreas Schwab <schwab@suse.de>
3421 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3422 alloca_account and account alloca use for struct in6ailist.
3424 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3427 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3428 rounding mode to recompute results that overflow to infinity or
3430 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3432 * math/auto-libm-test-out: Regenerated.
3433 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3434 (ccosh_test): Likewise.
3435 (csin_test_data): Use plus_oflow.
3436 (csin_test): Use ALL_RM_TEST.
3437 (csinh_test_data): Use plus_oflow.
3438 (csinh_test): Use ALL_RM_TEST.
3439 * sysdeps/i386/fpu/libm-test-ulps: Update.
3440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3444 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3445 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3446 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3449 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3451 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3452 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3453 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3454 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3456 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3457 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3459 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3460 * sysdeps/i386/fpu/libm-test-ulps: Update.
3461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3463 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3465 * scripts/bench.pl: Remove file.
3466 * scripts/bench.py: New benchmark script.
3467 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3468 * benchtests/README: Mention python dependency.
3469 * scripts/pylintrc: New file.
3470 * scripts/pylint: New file.
3472 * bits/mathdef.h: Use #ifdef instead of #if.
3473 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3474 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3475 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3476 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3477 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3478 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3480 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3481 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3483 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3485 and strpbrk-ppc64 objects.
3486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3487 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3488 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3489 multiarch strpbrk for POWER7.
3490 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3491 multiarch strpbrk for PPC64.
3492 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3494 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3497 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3499 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3500 (atan_test): Likewise.
3501 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3502 (atanh_test): Use ALL_RM_TEST.
3503 (atan2_test_data): Likewise.
3504 (cabs_test): Likewise.
3505 (cacosh_test): Likewise.
3506 (carg_test): Likewise.
3507 (casin_test): Likewise.
3508 (casinh_test): Likewise.
3509 (cbrt_test): Likewise.
3510 (csqrt_test): Likewise.
3511 (erf_test): Likewise.
3512 (erfc_test): Likewise.
3513 (pow10_test): Likewise.
3514 (exp2_test): Likewise.
3515 (hypot_test): Likewise.
3516 (j0_test): Likewise.
3517 (j1_test): Likewise.
3518 (lgamma_test): Likewise.
3519 (gamma_test): Likewise.
3520 (sincos_test): Likewise.
3521 (tanh_test): Likewise.
3522 (y0_test): Likewise.
3523 (y1_test): Likewise.
3524 * sysdeps/i386/fpu/libm-test-ulps: Update.
3525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3527 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3529 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3531 and strcspn-ppc64 objects.
3532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3533 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3534 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3535 multiarch strcspn for POWER7.
3536 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3537 multiarch strcspn for PPC64.
3538 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3540 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3543 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3545 * math/gen-libm-test.pl (generate_testfile): Expect only function
3546 name as argument to AUTO_TESTS_* and pass results for all rounding
3547 modes to parse_args.
3548 (parse_auto_input): Separate inputs of automatic tests from
3549 outputs before storing in %auto_tests.
3550 * math/libm-test.inc (acos_test_data): Update call to
3552 (acos_test): Use ALL_RM_TEST.
3553 (acos_tonearest_test_data): Remove.
3554 (acos_test_tonearest): Likewise.
3555 (acos_towardzero_test_data): Likewise.
3556 (acos_test_towardzero): Likewise.
3557 (acos_downward_test_data): Likewise.
3558 (acos_test_downward): Likewise.
3559 (acos_upward_test_data): Likewise.
3560 (acos_test_upward): Likewise.
3561 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3562 (asin_test_data): Likewise.
3563 (asin_test): Use ALL_RM_TEST.
3564 (asin_tonearest_test_data): Remove.
3565 (asin_test_tonearest): Likewise.
3566 (asin_towardzero_test_data): Likewise.
3567 (asin_test_towardzero): Likewise.
3568 (asin_downward_test_data): Likewise.
3569 (asin_test_downward): Likewise.
3570 (asin_upward_test_data): Likewise.
3571 (asin_test_upward): Likewise.
3572 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3573 (atan_test_data): Likewise.
3574 (atanh_test_data): Likewise.
3575 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3576 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3577 (carg_test_data): Likewise.
3578 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3579 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3580 (ccosh_test_data): Likewise.
3581 (cexp_test_data): Likewise.
3582 (clog_test_data): Likewise.
3583 (clog10_test_data): Likewise.
3584 (cos_test_data): Update call to AUTO_TESTS_f_f.
3585 (cos_test): Use ALL_RM_TEST.
3586 (cos_tonearest_test_data): Remove.
3587 (cos_test_tonearest): Likewise.
3588 (cos_towardzero_test_data): Likewise.
3589 (cos_test_towardzero): Likewise.
3590 (cos_downward_test_data): Likewise.
3591 (cos_test_downward): Likewise.
3592 (cos_upward_test_data): Likewise.
3593 (cos_test_upward): Likewise.
3594 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3595 (cosh_test): Use ALL_RM_TEST.
3596 (cosh_tonearest_test_data): Remove.
3597 (cosh_test_tonearest): Likewise.
3598 (cosh_towardzero_test_data): Likewise.
3599 (cosh_test_towardzero): Likewise.
3600 (cosh_downward_test_data): Likewise.
3601 (cosh_test_downward): Likewise.
3602 (cosh_upward_test_data): Likewise.
3603 (cosh_test_upward): Likewise.
3604 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3605 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3606 (ctan_test_data): Likewise.
3607 (ctan_test): Use ALL_RM_TEST.
3608 (ctan_tonearest_test_data): Remove.
3609 (ctan_test_tonearest): Likewise.
3610 (ctan_towardzero_test_data): Likewise.
3611 (ctan_test_towardzero): Likewise.
3612 (ctan_downward_test_data): Likewise.
3613 (ctan_test_downward): Likewise.
3614 (ctan_upward_test_data): Likewise.
3615 (ctan_test_upward): Likewise.
3616 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3617 (ctanh_test): Use ALL_RM_TEST.
3618 (ctanh_tonearest_test_data): Remove.
3619 (ctanh_test_tonearest): Likewise.
3620 (ctanh_towardzero_test_data): Likewise.
3621 (ctanh_test_towardzero): Likewise.
3622 (ctanh_downward_test_data): Likewise.
3623 (ctanh_test_downward): Likewise.
3624 (ctanh_upward_test_data): Likewise.
3625 (ctanh_test_upward): Likewise.
3626 (erf_test_data): Update call to AUTO_TESTS_f_f.
3627 (erfc_test_data): Likewise.
3628 (exp_test_data): Likewise.
3629 (exp_test): Use ALL_RM_TEST.
3630 (exp_tonearest_test_data): Remove.
3631 (exp_test_tonearest): Likewise.
3632 (exp_towardzero_test_data): Likewise.
3633 (exp_test_towardzero): Likewise.
3634 (exp_downward_test_data): Likewise.
3635 (exp_test_downward): Likewise.
3636 (exp_upward_test_data): Likewise.
3637 (exp_test_upward): Likewise.
3638 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3639 (exp10_test): Use ALL_RM_TEST.
3640 (exp10_tonearest_test_data): Remove.
3641 (exp10_test_tonearest): Likewise.
3642 (exp10_towardzero_test_data): Likewise.
3643 (exp10_test_towardzero): Likewise.
3644 (exp10_downward_test_data): Likewise.
3645 (exp10_test_downward): Likewise.
3646 (exp10_upward_test_data): Likewise.
3647 (exp10_test_upward): Likewise.
3648 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3649 (expm1_test_data): Likewise.
3650 (expm1_test): Use ALL_RM_TEST.
3651 (expm1_tonearest_test_data): Remove.
3652 (expm1_test_tonearest): Likewise.
3653 (expm1_towardzero_test_data): Likewise.
3654 (expm1_test_towardzero): Likewise.
3655 (expm1_downward_test_data): Likewise.
3656 (expm1_test_downward): Likewise.
3657 (expm1_upward_test_data): Likewise.
3658 (expm1_test_upward): Likewise.
3659 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3660 (fma_test): Use ALL_RM_TEST.
3661 (fma_towardzero_test_data): Remove.
3662 (fma_test_towardzero): Likewise.
3663 (fma_downward_test_data): Likewise.
3664 (fma_test_downward): Likewise.
3665 (fma_upward_test_data): Likewise.
3666 (fma_test_upward): Likewise.
3667 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3668 (j0_test_data): Update call to AUTO_TESTS_f_f.
3669 (j1_test_data): Likewise.
3670 (jn_test_data): Update call to AUTO_TESTS_if_f.
3671 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3672 (log_test_data): Update call to AUTO_TESTS_f_f.
3673 (log10_test_data): Likewise.
3674 (log1p_test_data): Likewise.
3675 (log2_test_data): Likewise.
3676 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3677 (pow_tonearest_test_data): Likewise.
3678 (sin_test_data): Update call to AUTO_TESTS_f_f.
3679 (sin_test): Use ALL_RM_TEST.
3680 (sin_tonearest_test_data): Remove.
3681 (sin_test_tonearest): Likewise.
3682 (sin_towardzero_test_data): Likewise.
3683 (sin_test_towardzero): Likewise.
3684 (sin_downward_test_data): Likewise.
3685 (sin_test_downward): Likewise.
3686 (sin_upward_test_data): Likewise.
3687 (sin_test_upward): Likewise.
3688 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3689 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3690 (sinh_test): Use ALL_RM_TEST.
3691 (sinh_tonearest_test_data): Remove.
3692 (sinh_test_tonearest): Likewise.
3693 (sinh_towardzero_test_data): Likewise.
3694 (sinh_test_towardzero): Likewise.
3695 (sinh_downward_test_data): Likewise.
3696 (sinh_test_downward): Likewise.
3697 (sinh_upward_test_data): Likewise.
3698 (sinh_test_upward): Likewise.
3699 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3700 (sqrt_test): Use ALL_RM_TEST.
3701 (sqrt_tonearest_test_data): Remove.
3702 (sqrt_test_tonearest): Likewise.
3703 (sqrt_towardzero_test_data): Likewise.
3704 (sqrt_test_towardzero): Likewise.
3705 (sqrt_downward_test_data): Likewise.
3706 (sqrt_test_downward): Likewise.
3707 (sqrt_upward_test_data): Likewise.
3708 (sqrt_test_upward): Likewise.
3709 (tan_test_data): Update call to AUTO_TESTS_f_f.
3710 (tan_test): Use ALL_RM_TEST.
3711 (tan_tonearest_test_data): Remove.
3712 (tan_test_tonearest): Likewise.
3713 (tan_towardzero_test_data): Likewise.
3714 (tan_test_towardzero): Likewise.
3715 (tan_downward_test_data): Likewise.
3716 (tan_test_downward): Likewise.
3717 (tan_upward_test_data): Likewise.
3718 (tan_test_upward): Likewise.
3719 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3720 (tgamma_test_data): Likewise.
3721 (y0_test_data): Likewise.
3722 (y1_test_data): Likewise.
3723 (yn_test_data): Update call to AUTO_TESTS_if_f.
3724 (main): Do not call removed functions.
3726 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3728 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3729 (ldexp_test_data): Remove.
3730 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3732 (scalb_test): Use ALL_RM_TEST.
3734 2014-03-19 Andreas Schwab <schwab@suse.de>
3736 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3738 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3741 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3742 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3743 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3745 (__ASSUME_PREADV): Undefine.
3746 (__ASSUME_PWRITEV): Likewise.
3748 2014-03-18 Roland McGrath <roland@hack.frob.com>
3750 * bits/mman-linux.h: Add comment about non-Linux use.
3751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3752 bits/mman-linux.h resting place.
3754 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3755 * bits/mman-linux.h: ... here.
3757 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3759 * conform/conformtest.pl: Add standard definition when calling C
3760 preprocessor on data files.
3761 (checknamespace): Remove unused variable.
3763 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3765 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3766 minus_oflow, plus_uflow and minus_uflow in expected results.
3767 * math/libm-test.inc (scalbn_test_data): Add more tests of
3768 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3770 (scalbn_test): Use ALL_RM_TEST.
3771 (scalbln_test_data): Add more tests of negative arguments. Use
3772 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3773 (scalbln_test): Use ALL_RM_TEST.
3775 2014-03-18 Roland McGrath <roland@hack.frob.com>
3777 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3779 2014-03-18 Will Newton <will.newton@linaro.org>
3781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3784 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3786 * Makerules [!subdir] (check-abi): Exit with error status if a
3789 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3791 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3792 for rint. Include results for all rounding modes.
3793 (nearbyint_test): Use ALL_RM_TEST.
3794 (rint_test_data): Include all tests used for nearbyint.
3796 2014-03-17 Will Newton <will.newton@linaro.org>
3798 * nptl/sysdeps/pthread/pthread.h: Revert previous
3801 * sysdeps/generic/ldsodefs.h: Revert previous
3804 * libio/genops.c: Revert previous change.
3805 * libio/libioP.h: Likewise.
3806 * stdio-common/vfprintf.c: Likewise.
3808 * sysdeps/generic/math_private.h: Revert previous
3811 * sysdeps/generic/math_private.h: Check whether
3812 HAVE_RM_CTX is defined with #ifdef rather
3815 * argp/argp-fmtstream.h: Check whether
3816 __STRICT_ANSI__ is defined with #ifdef rather
3818 * argp/argp.h: Likewise.
3820 * libio/genops.c: Check whether
3821 _IO_JUMPS_OFFSET is defined with #ifdef rather
3823 * libio/libioP.h: Likewise.
3824 * stdio-common/vfprintf.c: Likewise.
3826 * sysdeps/generic/ldsodefs.h: Check whether
3827 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3830 * nptl/sysdeps/pthread/pthread.h: Check
3831 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3834 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3836 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3838 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3842 * libio/fileops.c (_IO_file_open): Seek to end of file but
3843 don't cache the offset.
3844 (get_file_offset): Remove function.
3845 (do_ftell): Use cached offset when available.
3846 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3847 don't cache the offset.
3848 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3850 (do_one_test): Call it.
3851 (do_ftell_test): Fix up expected old offset for a+ mode.
3852 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3855 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3856 up test status with function return status.
3857 (do_write_test): Likewise.
3858 (do_append_test): Likewise.
3860 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3861 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3864 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3866 * math/gen-libm-test.pl (parse_args): Handle results specified for
3867 each rounding mode separately.
3868 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3869 tests and results from lrint_tonearest_test_data,
3870 lrint_towardzero_test_data, lrint_downward_test_data and
3871 lrint_upward_test_data.
3872 (lrint_test): Use ALL_RM_TEST.
3873 (lrint_tonearest_test_data): Remove.
3874 (lrint_test_tonearest): Likewise.
3875 (lrint_towardzero_test_data): Likewise.
3876 (lrint_test_towardzero): Likewise.
3877 (lrint_downward_test_data): Likewise.
3878 (lrint_test_downward): Likewise.
3879 (lrint_upward_test_data): Likewise.
3880 (lrint_test_upward): Likewise.
3881 (llrint_test_data): Merge in per-rounding-mode tests and results
3882 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3883 llrint_downward_test_data and llrint_upward_test_data.
3884 (llrint_test): Use ALL_RM_TEST.
3885 (llrint_tonearest_test_data): Remove.
3886 (llrint_test_tonearest): Likewise.
3887 (llrint_towardzero_test_data): Likewise.
3888 (llrint_test_towardzero): Likewise.
3889 (llrint_downward_test_data): Likewise.
3890 (llrint_test_downward): Likewise.
3891 (llrint_upward_test_data): Likewise.
3892 (llrint_test_upward): Likewise.
3893 (rint_test_data): Merge in per-rounding-mode tests and results
3894 from rint_tonearest_test_data, rint_towardzero_test_data,
3895 rint_downward_test_data and rint_upward_test_data. Add
3896 per-rounding-mode results for tests not in those arrays.
3897 (rint_test): Use ALL_RM_TEST.
3898 (rint_tonearest_test_data): Remove.
3899 (rint_test_tonearest): Likewise.
3900 (rint_towardzero_test_data): Likewise.
3901 (rint_test_towardzero): Likewise.
3902 (rint_downward_test_data): Likewise.
3903 (rint_test_downward): Likewise.
3904 (rint_upward_test_data): Likewise.
3905 (rint_test_upward): Likewise.
3906 (main): Don't call removed functions.
3908 2014-03-14 Roland McGrath <roland@hack.frob.com>
3910 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3911 "Compiled on ..." crapola. It is anti-useful.
3913 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3915 * scripts/evaluate-test.sh: Handle fourth argument to determine
3916 whether test run should stop on failure.
3917 * Makeconfig (stop-on-test-failure): New variable.
3918 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3919 $(stop-on-test-failure).
3920 * Makefile (tests): Give a summary of results from testing and
3921 exit with failure status if they include an ERROR or FAIL.
3923 * manual/install.texi (Configuring and compiling): Mention
3924 stop-on-test-failure=y.
3925 * INSTALL: Regenerated.
3927 2014-03-14 Roland McGrath <roland@hack.frob.com>
3929 * scripts/versionlist.awk: New file.
3930 * Makerules [$(build-shared) = yes]
3931 (postclean-generated): Add Versions.def, not Versions.def.v and
3933 ($(common-objpfx)Versions.def.v.i): Target removed.
3934 ($(common-objpfx)Versions.def): New target.
3935 ($(common-objpfx)Versions.all): Depend on that rather that
3936 $(common-objpfx)Versions.def.v.
3937 * Versions.def: File removed.
3939 * Makeconfig (+gccwarn): Add -Wundef.
3940 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3941 a dl-sysdep.h breaking its contract.
3942 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3943 * include/stackinfo.h: New file.
3944 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3945 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3946 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3947 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3948 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3949 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3950 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3951 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3952 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3953 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3954 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3955 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3956 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3957 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3958 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3960 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3965 * math/libm-test.inc (round_test_data): Add more tests.
3968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3970 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3973 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3975 * math/libm-test.inc (ceil_test_data): Add more tests.
3977 * math/libm-test.inc (trunc_test_data): Add more tests related to
3980 2014-03-14 Roland McGrath <roland@hack.frob.com>
3982 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3983 with #if rather than #ifdef.
3984 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3986 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3988 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3989 first. Disable AVX-512 GCC support if assembler doesn't support
3991 * sysdeps/x86_64/configure: Regenerated.
3993 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3995 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3996 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3997 (__old_pthread_attr_setstack): Likewise.
3998 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3999 [!_STACK_GROWS_DOWN]: Likewise.
4001 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4003 * config.make.in (have-bash2): Delete.
4004 * configure.ac (libc_cv_have_bash2): Delete.
4005 * configure: Regenerate.
4006 * elf/Makefile (common-ldd-rewrite): Rename to ...
4007 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4008 (sh-ldd-rewrite): Delete.
4009 (bash-ldd-rewrite): Delete.
4010 (have-bash2): Delete checks.
4011 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4014 * config.make.in (have-ksh): Delete.
4016 * configure.ac (libc_cv_have_ksh): Delete.
4017 * configure: Regenerate.
4019 * elf/Makefile: Delete $(have-ksh) check.
4020 ($(objpfx)sotruss): Change KSH to BASH.
4021 * elf/sotruss.ksh: Rename to ...
4022 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4023 function style to match POSIX. Drop ksh vim mode setting.
4025 * manual/time.texi (Specifying the Time Zone with TZ): Change
4026 Tuesday to Thursday.
4028 * debug/tst-longjmp_chk2.c: Update header comment.
4029 (stackoverflow_handler): Add comment. Call assert on pass value.
4031 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4033 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4034 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4035 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4036 (La_x86_64_vector): Add zmm.
4037 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4038 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4039 ($(objpfx)tst-audit10): New target.
4040 ($(objpfx)tst-audit10.out): Likewise.
4041 (tst-audit10-ENV): New.
4042 (AVX512-CFLAGS): Likewise.
4043 (CFLAGS-tst-audit10.c): Likewise.
4044 (CFLAGS-tst-auditmod10a.c): Likewise.
4045 (CFLAGS-tst-auditmod10b.c): Likewise.
4046 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4047 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4048 * sysdeps/x86_64/configure: Regenerated.
4049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4050 AVX-512 zmm register support.
4051 (_dl_x86_64_save_sse): Likewise.
4052 (_dl_x86_64_restore_sse): Likewise.
4053 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4054 size vector registers.
4055 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4056 (ZMM_SIZE): Likewise.
4057 * sysdeps/x86_64/tst-audit10.c: New file.
4058 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4059 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4061 2014-03-13 Roland McGrath <roland@hack.frob.com>
4063 * configure.ac (HAVE_EHDR_START): New check.
4064 * configure: Regenerated.
4065 * config.h.in (HAVE_EHDR_START): New #undef.
4066 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4067 assuming the lowest-addressed segment maps the start of the file.
4069 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4071 * INSTALL: Regenerated.
4073 2014-03-13 Will Newton <will.newton@linaro.org>
4075 * manual/setjmp.texi (System V contexts): Improve
4076 clarity and grammar of documentation.
4078 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4081 * elf/Makefile (tests): Add tst-pie2.
4082 (tests-pie): Add tst-pie2.
4083 * elf/tst-pie2.c: New file.
4084 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4086 * elf/rtld.c (map_doit): Load executable as lt_executable.
4087 (dl_main): Likewise.
4089 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4092 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4093 (__ASSUME_PSELECT): Undefine.
4095 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4098 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4099 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4101 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4102 selector for static builds.
4104 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4107 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4110 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4112 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4113 IFUNC selector for static builds.
4115 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4117 * sysdeps/mips/math_private.h [__mips_hard_float]
4118 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4119 libc_feresetround_mips_ctx.
4120 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4121 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4122 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4125 * math/s_nextafter.c (__nextafter): Do not return value from
4126 overflowing computation.
4127 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4128 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4129 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4131 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4133 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4134 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4136 2014-03-11 Roland McGrath <roland@hack.frob.com>
4138 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4139 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4140 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4141 the new mov targetting sp.
4143 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4147 Define it for static builds as well.
4148 (NO_BZERO_IMPL): Likewise.
4150 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4152 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4153 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4154 multiarch strspn for PPC64.
4155 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4156 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4158 (__libc_ifunc_impl_list): Likewise.
4159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4160 multiarch optimizations
4161 * string/strspn.c (strspn): Using macro to redefine symbol name.
4163 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4164 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4166 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4167 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4168 multiarch strncat for PPC64.
4169 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4170 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4172 (__libc_ifunc_impl_list): Likewise.
4173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4174 multiarch optimizations
4176 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4179 * nscd/nscd.service: Make service type forking.
4181 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4183 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4184 sign in non default rounding modes.
4185 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4187 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4189 * math/libm-test.inc (ALL_RM_TEST): New macro.
4190 (ceil_test): Use ALL_RM_TEST.
4191 (cimag_test): Likewise.
4192 (conj_test): Likewise.
4193 (copysign_test): Likewise.
4194 (cproj_test): Likewise.
4195 (creal_test): Likewise.
4196 (fabs_test): Likewise.
4197 (floor_test): Likewise.
4198 (fmax_test): Likewise.
4199 (fmin_test): Likewise.
4200 (fmod_test): Likewise.
4201 (fpclassify_test): Likewise.
4202 (frexp_test): Likewise.
4203 (ilogb_test): Likewise.
4204 (isfinite_test): Likewise.
4205 (finite_test): Likewise.
4206 (isgreater_test): Likewise.
4207 (isgreaterequal_test): Likewise.
4208 (isinf_test): Likewise.
4209 (isless_test): Likewise.
4210 (islessequal_test): Likewise.
4211 (islessgreater_test): Likewise.
4212 (isnan_test): Likewise.
4213 (isnormal_test): Likewise.
4214 (issignaling_test): Likewise.
4215 (isunordered_test): Likewise.
4216 (logb_test): Likewise.
4217 (logb_downward_test_data): Remove.
4218 (logb_test_downward): Likewise.
4219 (lround_test): Use ALL_RM_TEST.
4220 (llround_test): Likewise.
4221 (modf_test): Likewise.
4222 (nexttoward_test): Likewise.
4223 (remainder_test): Likewise.
4224 (drem_test): Likewise.
4225 (remainder_tonearest_test_data): Likewise.
4226 (remainder_test_tonearest): Likewise.
4227 (drem_test_tonearest): Likewise.
4228 (remainder_towardzero_test_data): Likewise.
4229 (remainder_test_towardzero): Likewise.
4230 (drem_test_towardzero): Likewise.
4231 (remainder_downward_test_data): Likewise.
4232 (remainder_test_downward): Likewise.
4233 (drem_test_downward): Likewise.
4234 (remainder_upward_test_data): Likewise.
4235 (remainder_test_upward): Likewise.
4236 (drem_test_upward): Likewise.
4237 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4238 (round_test): Use ALL_RM_TEST.
4239 (signbit_test): Likewise.
4240 (trunc_test): Likewise.
4241 (significand_test): Likewise.
4242 (main): Don't call removed functions.
4244 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4247 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4249 (ILL_ILLOPN): Likewise.
4250 (ILL_ILLADR): Likewise.
4251 (ILL_ILLTRP): Likewise.
4252 (ILL_PRVOPC): Likewise.
4253 (ILL_PRVREG): Likewise.
4254 (ILL_COPROC): Likewise.
4255 (ILL_BADSTK): Likewise.
4256 (FPE_INTDIV): Likewise.
4257 (FPE_INTOVF): Likewise.
4258 (FPE_FLTDIV): Likewise.
4259 (FPE_FLTOVF): Likewise.
4260 (FPE_FLTUND): Likewise.
4261 (FPE_FLTRES): Likewise.
4262 (FPE_FLTINV): Likewise.
4263 (FPE_FLTSUB): Likewise.
4264 (SEGV_MAPERR): Likewise.
4265 (SEGV_ACCERR): Likewise.
4266 (BUS_ADRALN): Likewise.
4267 (BUS_ADRERR): Likewise.
4268 (BUS_OBJERR): Likewise.
4269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4270 (TRAP_TRACE): Likewise.
4271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4273 (CLD_KILLED): Likewise.
4274 (CLD_DUMPED): Likewise.
4275 (CLD_TRAPPED): Likewise.
4276 (CLD_STOPPED): Likewise.
4277 (CLD_CONTINUED): Likewise.
4278 (POLL_IN): Likewise.
4279 (POLL_OUT): Likewise.
4280 (POLL_MSG): Likewise.
4281 (POLL_ERR): Likewise.
4282 (POLL_PRI): Likewise.
4283 (POLL_HUP): Likewise.
4284 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4286 (ILL_ILLOPN): Likewise.
4287 (ILL_ILLADR): Likewise.
4288 (ILL_ILLTRP): Likewise.
4289 (ILL_PRVOPC): Likewise.
4290 (ILL_PRVREG): Likewise.
4291 (ILL_COPROC): Likewise.
4292 (ILL_BADSTK): Likewise.
4293 (FPE_INTDIV): Likewise.
4294 (FPE_INTOVF): Likewise.
4295 (FPE_FLTDIV): Likewise.
4296 (FPE_FLTOVF): Likewise.
4297 (FPE_FLTUND): Likewise.
4298 (FPE_FLTRES): Likewise.
4299 (FPE_FLTINV): Likewise.
4300 (FPE_FLTSUB): Likewise.
4301 (SEGV_MAPERR): Likewise.
4302 (SEGV_ACCERR): Likewise.
4303 (BUS_ADRALN): Likewise.
4304 (BUS_ADRERR): Likewise.
4305 (BUS_OBJERR): Likewise.
4306 (BUS_MCEERR_AR): Likewise.
4307 (BUS_MCEERR_AO): Likewise.
4308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4309 (TRAP_TRACE): Likewise.
4310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4312 (CLD_KILLED): Likewise.
4313 (CLD_DUMPED): Likewise.
4314 (CLD_TRAPPED): Likewise.
4315 (CLD_STOPPED): Likewise.
4316 (CLD_CONTINUED): Likewise.
4317 (POLL_IN): Likewise.
4318 (POLL_OUT): Likewise.
4319 (POLL_MSG): Likewise.
4320 (POLL_ERR): Likewise.
4321 (POLL_PRI): Likewise.
4322 (POLL_HUP): Likewise.
4323 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4324 (ILL_ILLOPN): Likewise.
4325 (ILL_ILLADR): Likewise.
4326 (ILL_ILLTRP): Likewise.
4327 (ILL_PRVOPC): Likewise.
4328 (ILL_PRVREG): Likewise.
4329 (ILL_COPROC): Likewise.
4330 (ILL_BADSTK): Likewise.
4331 (FPE_INTDIV): Likewise.
4332 (FPE_INTOVF): Likewise.
4333 (FPE_FLTDIV): Likewise.
4334 (FPE_FLTOVF): Likewise.
4335 (FPE_FLTUND): Likewise.
4336 (FPE_FLTRES): Likewise.
4337 (FPE_FLTINV): Likewise.
4338 (FPE_FLTSUB): Likewise.
4339 (SEGV_MAPERR): Likewise.
4340 (SEGV_ACCERR): Likewise.
4341 (BUS_ADRALN): Likewise.
4342 (BUS_ADRERR): Likewise.
4343 (BUS_OBJERR): Likewise.
4344 (BUS_MCEERR_AR): Likewise.
4345 (BUS_MCEERR_AO): Likewise.
4346 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4347 (TRAP_TRACE): Likewise.
4348 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4350 (CLD_KILLED): Likewise.
4351 (CLD_DUMPED): Likewise.
4352 (CLD_TRAPPED): Likewise.
4353 (CLD_STOPPED): Likewise.
4354 (CLD_CONTINUED): Likewise.
4355 (POLL_IN): Likewise.
4356 (POLL_OUT): Likewise.
4357 (POLL_MSG): Likewise.
4358 (POLL_ERR): Likewise.
4359 (POLL_PRI): Likewise.
4360 (POLL_HUP): Likewise.
4361 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4363 (ILL_ILLOPN): Likewise.
4364 (ILL_ILLADR): Likewise.
4365 (ILL_ILLTRP): Likewise.
4366 (ILL_PRVOPC): Likewise.
4367 (ILL_PRVREG): Likewise.
4368 (ILL_COPROC): Likewise.
4369 (ILL_BADSTK): Likewise.
4370 (ILL_BADIADDR): Likewise.
4371 (ILL_BREAK): Likewise.
4372 (FPE_INTDIV): Likewise.
4373 (FPE_INTOVF): Likewise.
4374 (FPE_FLTDIV): Likewise.
4375 (FPE_FLTOVF): Likewise.
4376 (FPE_FLTUND): Likewise.
4377 (FPE_FLTRES): Likewise.
4378 (FPE_FLTINV): Likewise.
4379 (FPE_FLTSUB): Likewise.
4380 (FPE_DECOVF): Likewise.
4381 (FPE_DECDIV): Likewise.
4382 (FPE_DECERR): Likewise.
4383 (FPE_INVASC): Likewise.
4384 (FPE_INVDEC): Likewise.
4385 (SEGV_MAPERR): Likewise.
4386 (SEGV_ACCERR): Likewise.
4387 (SEGV_PSTKOVF): Likewise.
4388 (BUS_ADRALN): Likewise.
4389 (BUS_ADRERR): Likewise.
4390 (BUS_OBJERR): Likewise.
4391 (BUS_MCEERR_AR): Likewise.
4392 (BUS_MCEERR_AO): Likewise.
4393 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4394 (TRAP_TRACE): Likewise.
4395 (TRAP_BRANCH): Likewise.
4396 (TRAP_HWBKPT): Likewise.
4397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4399 (CLD_KILLED): Likewise.
4400 (CLD_DUMPED): Likewise.
4401 (CLD_TRAPPED): Likewise.
4402 (CLD_STOPPED): Likewise.
4403 (CLD_CONTINUED): Likewise.
4404 (POLL_IN): Likewise.
4405 (POLL_OUT): Likewise.
4406 (POLL_MSG): Likewise.
4407 (POLL_ERR): Likewise.
4408 (POLL_PRI): Likewise.
4409 (POLL_HUP): Likewise.
4410 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4411 (ILL_ILLOPN): Likewise.
4412 (ILL_ILLADR): Likewise.
4413 (ILL_ILLTRP): Likewise.
4414 (ILL_PRVOPC): Likewise.
4415 (ILL_PRVREG): Likewise.
4416 (ILL_COPROC): Likewise.
4417 (ILL_BADSTK): Likewise.
4418 (FPE_INTDIV): Likewise.
4419 (FPE_INTOVF): Likewise.
4420 (FPE_FLTDIV): Likewise.
4421 (FPE_FLTOVF): Likewise.
4422 (FPE_FLTUND): Likewise.
4423 (FPE_FLTRES): Likewise.
4424 (FPE_FLTINV): Likewise.
4425 (FPE_FLTSUB): Likewise.
4426 (SEGV_MAPERR): Likewise.
4427 (SEGV_ACCERR): Likewise.
4428 (BUS_ADRALN): Likewise.
4429 (BUS_ADRERR): Likewise.
4430 (BUS_OBJERR): Likewise.
4431 (BUS_MCEERR_AR): Likewise.
4432 (BUS_MCEERR_AO): Likewise.
4433 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4434 (TRAP_TRACE): Likewise.
4435 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4437 (CLD_KILLED): Likewise.
4438 (CLD_DUMPED): Likewise.
4439 (CLD_TRAPPED): Likewise.
4440 (CLD_STOPPED): Likewise.
4441 (CLD_CONTINUED): Likewise.
4442 (POLL_IN): Likewise.
4443 (POLL_OUT): Likewise.
4444 (POLL_MSG): Likewise.
4445 (POLL_ERR): Likewise.
4446 (POLL_PRI): Likewise.
4447 (POLL_HUP): Likewise.
4448 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4449 (ILL_ILLOPN): Likewise.
4450 (ILL_ILLADR): Likewise.
4451 (ILL_ILLTRP): Likewise.
4452 (ILL_PRVOPC): Likewise.
4453 (ILL_PRVREG): Likewise.
4454 (ILL_COPROC): Likewise.
4455 (ILL_BADSTK): Likewise.
4456 (FPE_INTDIV): Likewise.
4457 (FPE_INTOVF): Likewise.
4458 (FPE_FLTDIV): Likewise.
4459 (FPE_FLTOVF): Likewise.
4460 (FPE_FLTUND): Likewise.
4461 (FPE_FLTRES): Likewise.
4462 (FPE_FLTINV): Likewise.
4463 (FPE_FLTSUB): Likewise.
4464 (SEGV_MAPERR): Likewise.
4465 (SEGV_ACCERR): Likewise.
4466 (BUS_ADRALN): Likewise.
4467 (BUS_ADRERR): Likewise.
4468 (BUS_OBJERR): Likewise.
4469 (BUS_MCEERR_AR): Likewise.
4470 (BUS_MCEERR_AO): Likewise.
4471 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4472 (TRAP_TRACE): Likewise.
4473 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4475 (CLD_KILLED): Likewise.
4476 (CLD_DUMPED): Likewise.
4477 (CLD_TRAPPED): Likewise.
4478 (CLD_STOPPED): Likewise.
4479 (CLD_CONTINUED): Likewise.
4480 (POLL_IN): Likewise.
4481 (POLL_OUT): Likewise.
4482 (POLL_MSG): Likewise.
4483 (POLL_ERR): Likewise.
4484 (POLL_PRI): Likewise.
4485 (POLL_HUP): Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4487 (ILL_ILLOPN): Likewise.
4488 (ILL_ILLADR): Likewise.
4489 (ILL_ILLTRP): Likewise.
4490 (ILL_PRVOPC): Likewise.
4491 (ILL_PRVREG): Likewise.
4492 (ILL_COPROC): Likewise.
4493 (ILL_BADSTK): Likewise.
4494 (FPE_INTDIV): Likewise.
4495 (FPE_INTOVF): Likewise.
4496 (FPE_FLTDIV): Likewise.
4497 (FPE_FLTOVF): Likewise.
4498 (FPE_FLTUND): Likewise.
4499 (FPE_FLTRES): Likewise.
4500 (FPE_FLTINV): Likewise.
4501 (FPE_FLTSUB): Likewise.
4502 (SEGV_MAPERR): Likewise.
4503 (SEGV_ACCERR): Likewise.
4504 (BUS_ADRALN): Likewise.
4505 (BUS_ADRERR): Likewise.
4506 (BUS_OBJERR): Likewise.
4507 (BUS_MCEERR_AR): Likewise.
4508 (BUS_MCEERR_AO): Likewise.
4509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4510 (TRAP_TRACE): Likewise.
4511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4513 (CLD_KILLED): Likewise.
4514 (CLD_DUMPED): Likewise.
4515 (CLD_TRAPPED): Likewise.
4516 (CLD_STOPPED): Likewise.
4517 (CLD_CONTINUED): Likewise.
4518 (POLL_IN): Likewise.
4519 (POLL_OUT): Likewise.
4520 (POLL_MSG): Likewise.
4521 (POLL_ERR): Likewise.
4522 (POLL_PRI): Likewise.
4523 (POLL_HUP): Likewise.
4524 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4525 (ILL_ILLOPN): Likewise.
4526 (ILL_ILLADR): Likewise.
4527 (ILL_ILLTRP): Likewise.
4528 (ILL_PRVOPC): Likewise.
4529 (ILL_PRVREG): Likewise.
4530 (ILL_COPROC): Likewise.
4531 (ILL_BADSTK): Likewise.
4532 (ILL_DBLFLT): Likewise.
4533 (ILL_HARDWALL): Likewise.
4534 (FPE_INTDIV): Likewise.
4535 (FPE_INTOVF): Likewise.
4536 (FPE_FLTDIV): Likewise.
4537 (FPE_FLTOVF): Likewise.
4538 (FPE_FLTUND): Likewise.
4539 (FPE_FLTRES): Likewise.
4540 (FPE_FLTINV): Likewise.
4541 (FPE_FLTSUB): Likewise.
4542 (SEGV_MAPERR): Likewise.
4543 (SEGV_ACCERR): Likewise.
4544 (BUS_ADRALN): Likewise.
4545 (BUS_ADRERR): Likewise.
4546 (BUS_OBJERR): Likewise.
4547 (BUS_MCEERR_AR): Likewise.
4548 (BUS_MCEERR_AO): Likewise.
4549 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4550 (TRAP_TRACE): Likewise.
4551 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4553 (CLD_KILLED): Likewise.
4554 (CLD_DUMPED): Likewise.
4555 (CLD_TRAPPED): Likewise.
4556 (CLD_STOPPED): Likewise.
4557 (CLD_CONTINUED): Likewise.
4558 (POLL_IN): Likewise.
4559 (POLL_OUT): Likewise.
4560 (POLL_MSG): Likewise.
4561 (POLL_ERR): Likewise.
4562 (POLL_PRI): Likewise.
4563 (POLL_HUP): Likewise.
4564 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4565 (ILL_ILLOPN): Likewise.
4566 (ILL_ILLADR): Likewise.
4567 (ILL_ILLTRP): Likewise.
4568 (ILL_PRVOPC): Likewise.
4569 (ILL_PRVREG): Likewise.
4570 (ILL_COPROC): Likewise.
4571 (ILL_BADSTK): Likewise.
4572 (FPE_INTDIV): Likewise.
4573 (FPE_INTOVF): Likewise.
4574 (FPE_FLTDIV): Likewise.
4575 (FPE_FLTOVF): Likewise.
4576 (FPE_FLTUND): Likewise.
4577 (FPE_FLTRES): Likewise.
4578 (FPE_FLTINV): Likewise.
4579 (FPE_FLTSUB): Likewise.
4580 (SEGV_MAPERR): Likewise.
4581 (SEGV_ACCERR): Likewise.
4582 (BUS_ADRALN): Likewise.
4583 (BUS_ADRERR): Likewise.
4584 (BUS_OBJERR): Likewise.
4585 (BUS_MCEERR_AR): Likewise.
4586 (BUS_MCEERR_AO): Likewise.
4587 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4588 (TRAP_TRACE): Likewise.
4589 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4591 (CLD_KILLED): Likewise.
4592 (CLD_DUMPED): Likewise.
4593 (CLD_TRAPPED): Likewise.
4594 (CLD_STOPPED): Likewise.
4595 (CLD_CONTINUED): Likewise.
4596 (POLL_IN): Likewise.
4597 (POLL_OUT): Likewise.
4598 (POLL_MSG): Likewise.
4599 (POLL_ERR): Likewise.
4600 (POLL_PRI): Likewise.
4601 (POLL_HUP): Likewise.
4602 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4603 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4606 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4607 before #include of <time.h>.
4608 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4609 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4610 (test-xfail-UNIX98/sched.h/conform): Likewise.
4612 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4614 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4615 error absence of trapping exception support.
4616 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4618 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4620 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4621 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4622 * timezone/Makefile (testdata): Move definition above include of
4624 (test-zones): New variable.
4625 (tests-special): Add zone files.
4626 (build-testdata): Use $(evaluate-test).
4628 * elf/Makefile (tests-special): Rename tests to end with .out.
4629 ($(objpfx)noload-mem): Likewise.
4630 ($(objpfx)tst-leaks1-mem): Likewise.
4631 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4632 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4633 $(objpfx)test-iconvconfig.out.
4634 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4635 set -e inside subshell and redirect output to file.
4636 * iconvdata/Makefile (generated): Rename tests to end with .out.
4638 (tests-special): Rename tests to end with .out.
4639 ($(objpfx)mtrace-tst-loading): Likewise.
4640 * intl/Makefile (generated): Likewise.
4641 (tests-special): Likewise.
4642 ($(objpfx)mtrace-tst-gettext): Likewise.
4643 * misc/Makefile (generated): Likewise.
4644 (tests-special): Likewise.
4645 ($(objpfx)tst-error1-mem): Likewise.
4646 * nptl/Makefile (tests-special): Likewise.
4647 ($(objpfx)tst-stack3-mem): Likewise.
4648 (generated): Likewise.
4649 * posix/Makefile (generated): Likewise.
4650 (tests-special): Likewise.
4651 (xtests-special): Likewise.
4652 ($(objpfx)tst-fnmatch-mem): Likewise.
4653 ($(objpfx)bug-regex2-mem): Likewise.
4654 ($(objpfx)bug-regex14-mem): Likewise.
4655 ($(objpfx)bug-regex21-mem): Likewise.
4656 ($(objpfx)bug-regex31-mem): Likewise.
4657 ($(objpfx)tst-vfork3-mem): Likewise.
4658 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4659 ($(objpfx)tst-pcre-mem): Likewise.
4660 ($(objpfx)tst-boost-mem): Likewise.
4661 ($(objpfx)bug-ga2-mem): Likewise.
4662 ($(objpfx)bug-glob2-mem): Likewise.
4663 * resolv/Makefile (generate): Likewise.
4664 (tests-special): Likewise.
4665 (xtests-special): Likewise.
4666 (generated): Likewise.
4667 ($(objpfx)mtrace-tst-leaks): Likewise.
4668 ($(objpfx)mtrace-tst-leaks2): Likewise.
4670 * scripts/merge-test-results.sh: New file.
4671 * Makefile (tests-special-notdir): New variable.
4672 (tests): Run merge-test-results.sh.
4674 * Rules (tests-special-notdir): New variable.
4675 (xtests-special-notdir): Likewise.
4676 (tests): Run merge-test-results.sh
4679 * Makeconfig (test-xfail-name): New variable.
4680 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4681 compute variable name for expected failures.
4682 * conform/Makefile (conformtest-headers-data): New variable.
4683 (conformtest-standards): Likewise.
4684 (conformtest-headers-ISO): Likewise.
4685 (conformtest-headers-ISO99): Likewise.
4686 (conformtest-headers-ISO11): Likewise.
4687 (conformtest-headers-POSIX): Likewise.
4688 (conformtest-headers-XPG3): Likewise.
4689 (conformtest-headers-XPG4): Likewise.
4690 (conformtest-headers-UNIX98): Likewise.
4691 (conformtest-headers-XOPEN2K): Likewise.
4692 (conformtest-headers-POSIX2008): Likewise.
4693 (conformtest-headers-XOPEN2K8): Likewise.
4694 (conformtest-header-list-base): Likewise.
4695 (conformtest-header-list-tests): Likewise.
4696 (conformtest-header-base): Likewise.
4697 (conformtest-header-tests): Likewise.
4698 (tests-special): Add $(conformtest-header-list-tests). If
4699 [$(fast-check) && !$(cross-compiling)], add
4700 $(conformtest-header-tests) instead of
4701 $(objpfx)run-conformtest.out.
4702 (generated): Add $(conformtest-header-list-base). If
4703 [$(fast-check) && !$(cross-compiling)], add
4704 $(conformtest-header-base). Remove previous setting.
4705 ($(conformtest-header-list-tests)): New target.
4706 (test-xfail-run-conformtest): Remove variable.
4707 ($(objpfx)run-conformtest.out): Remove target.
4708 (test-xfail-ISO11/complex.h/conform): New variable.
4709 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4710 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4711 (test-xfail-XPG3/varargs.h/conform): Likewise.
4712 (test-xfail-XPG4/varargs.h/conform): Likewise.
4713 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4714 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4715 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4716 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4717 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4718 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4719 (test-xfail-XPG3/ftw.h/conform): Likewise.
4720 (test-xfail-XPG3/grp.h/conform): Likewise.
4721 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4722 (test-xfail-XPG3/limits.h/conform): Likewise.
4723 (test-xfail-XPG3/pwd.h/conform): Likewise.
4724 (test-xfail-XPG3/search.h/conform): Likewise.
4725 (test-xfail-XPG3/signal.h/conform): Likewise.
4726 (test-xfail-XPG3/stdio.h/conform): Likewise.
4727 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4728 (test-xfail-XPG3/string.h/conform): Likewise.
4729 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4730 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4731 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4732 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4733 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4734 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4735 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4736 (test-xfail-XPG3/termios.h/conform): Likewise.
4737 (test-xfail-XPG3/time.h/conform): Likewise.
4738 (test-xfail-XPG3/unistd.h/conform): Likewise.
4739 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4740 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4741 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4742 (test-xfail-XPG4/netdb.h/conform): Likewise.
4743 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4744 (test-xfail-XPG4/signal.h/conform): Likewise.
4745 (test-xfail-XPG4/stdio.h/conform): Likewise.
4746 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4747 (test-xfail-XPG4/stropts.h/conform): Likewise.
4748 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4749 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4750 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4751 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4752 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4753 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4754 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4755 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4756 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4757 (test-xfail-XPG4/termios.h/conform): Likewise.
4758 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4759 (test-xfail-XPG4/unistd.h/conform): Likewise.
4760 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4761 (test-xfail-POSIX/sched.h/conform): Likewise.
4762 (test-xfail-POSIX/signal.h/conform): Likewise.
4763 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4764 (test-xfail-POSIX/tar.h/conform): Likewise.
4765 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4766 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4767 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4768 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4769 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4770 (test-xfail-UNIX98/sched.h/conform): Likewise.
4771 (test-xfail-UNIX98/signal.h/conform): Likewise.
4772 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4773 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4774 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4775 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4776 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4777 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4778 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4779 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4780 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4781 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4782 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4783 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4784 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4785 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4786 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4787 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4788 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4789 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4790 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4791 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4792 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4793 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4794 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4795 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4796 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4797 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4798 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4799 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4800 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4801 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4802 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4803 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4804 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4805 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4806 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4807 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4808 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4809 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4810 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4811 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4812 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4813 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4814 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4815 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4816 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4817 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4818 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4819 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4820 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4821 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4822 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4823 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4824 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4825 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4826 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4827 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4828 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4829 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4830 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4831 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4832 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4833 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4834 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4835 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4836 (conformtest-cc-flags): Likewise.
4837 ($(conformtest-header-tests): New target.
4838 * conform/check-header-lists.sh: New file.
4839 * conform/run-conformtest.sh: Remove.
4841 * conform/conformtest.pl: Allow ' and \ in values given for
4843 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4845 [POSIX] (sys/types.h): Likewise.
4846 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4848 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4850 * conform/data/signal.h-data (SIGIO): Remove expectation.
4851 [XPG3] (SIGBUS): Do not expect.
4852 [POSIX || XPG3] (SIGPOLL): Likewise.
4853 [POSIX || XPG3] (SIGPROF): Likewise.
4854 [POSIX || XPG3] (SIGSYS): Likewise.
4855 [XPG3] (SIGTRAP): Likewise.
4856 [POSIX || XPG3] (SIGURG): Likewise.
4857 [POSIX || XPG3] (SIGVTALRM): Likewise.
4858 [POSIX || XPG3] (SIGXCPU): Likewise.
4859 [POSIX || XPG3] (SIGXFSZ): Likewise.
4860 [POSIX] (SA_SIGINFO): Expect.
4861 [XPG3] (siginfo_t): Do not expect type or contents.
4862 [POSIX] (si_pid): Do not expect element.
4863 [POSIX] (si_uid): Likewise.
4864 [POSIX] (si_addr): Likewise.
4865 [POSIX] (si_status): Likewise.
4866 [POSIX] (si_band): Likewise.
4867 [XPG4] (si_value): Likewise.
4868 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4869 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4870 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4871 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4872 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4873 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4874 [POSIX || XPG3] (ILL_COPROC): Likewise.
4875 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4876 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4877 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4878 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4879 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4880 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4881 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4882 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4883 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4884 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4885 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4886 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4887 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4888 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4889 [POSIX || XPG3] (CLD_EXITED): Likewise.
4890 [POSIX || XPG3] (CLD_KILLED): Likewise.
4891 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4892 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4893 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4894 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4895 [POSIX || XPG3] (POLL_IN): Likewise.
4896 [POSIX || XPG3] (POLL_OUT): Likewise.
4897 [POSIX || XPG3] (POLL_MSG): Likewise.
4898 [POSIX || XPG3] (POLL_ERR): Likewise.
4899 [POSIX || XPG3] (POLL_PRI): Likewise.
4900 [POSIX || XPG3] (POLL_HUP): Likewise.
4901 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4902 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4903 (SIG*): Do not allow.
4904 [XPG3] (si_*): Likewise.
4905 [XPG3] (SI_*): Likewise.
4906 [XPG3 || XPG4] (sigev_*): Likewise.
4907 [XPG3 || XPG4] (SIGEV_*): Likewise.
4908 [XPG3 || XPG4] (sival_*): Likewise.
4909 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4910 [POSIX || XPG3] (BUS_*): Likewise.
4911 [POSIX || XPG3] (CLD_*): Likewise.
4912 [POSIX || XPG3] (FPE_*): Likewise.
4913 [POSIX || XPG3] (ILL_*): Likewise.
4914 [POSIX || XPG3] (POLL_*): Likewise.
4915 [POSIX || XPG3] (SEGV_*): Likewise.
4916 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4917 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4918 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4919 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4920 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4921 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4922 Specify type and value.
4923 (TVERSLEN): Likewise.
4924 (REGTYPE): Likewise.
4925 (AREGTYPE): Likewise.
4926 (LNKTYPE): Likewise.
4927 (SYMTYPE): Likewise.
4928 (CHRTYPE): Likewise.
4929 (BLKTYPE): Likewise.
4930 (DIRTYPE): Likewise.
4931 (FIFOTYPE): Likewise.
4932 (CONTTYPE): Likewise.
4937 (TUWRITE): Likewise.
4940 (TGWRITE): Likewise.
4943 (TOWRITE): Likewise.
4945 [POSIX] (TSVTX): Expect constant.
4947 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4949 * Makefile (tests): Change dependencies to ....
4950 (tests-special): ... additions to this variable.
4951 (tests): Depend on $(tests-special).
4952 * Makerules (check-abi-list): New variable.
4953 (check-abi): Depend on $(check-abi-list).
4954 [$(subdir) = elf] (tests-special): Add
4955 $(objpfx)check-abi-libc.out.
4956 [$(build-shared) = yes && subdir] (tests-special): Add
4958 [$(build-shared) = yes && subdir] (tests): Do not depend on
4960 * Rules (tests): Depend on $(tests-special).
4961 (xtests): Depend on $(xtests-special).
4962 * catgets/Makefile (tests): Change dependencies to ....
4963 (tests-special): ... additions to this variable.
4964 * conform/Makefile (tests): Change dependencies to ....
4965 (tests-special): ... additions to this variable.
4966 * elf/Makefile (tests): Change dependencies to ....
4967 (tests-special): ... additions to this variable.
4968 * grp/Makefile (tests): Change dependencies to ....
4969 (tests-special): ... additions to this variable.
4970 * iconv/Makefile (xtests): Change dependencies to ....
4971 (xtests-special): ... additions to this variable.
4972 * iconvdata/Makefile (tests): Change dependencies to ....
4973 (tests-special): ... additions to this variable.
4974 * intl/Makefile (tests): Change dependencies to ....
4975 (tests-special): ... additions to this variable. Also add
4976 $(objpfx)tst-gettext.out.
4977 * io/Makefile (tests): Change dependencies to ....
4978 (tests-special): ... additions to this variable.
4979 * libio/Makefile (tests): Change dependencies to ....
4980 (tests-special): ... additions to this variable.
4981 * malloc/Makefile (tests): Change dependencies to ....
4982 (tests-special): ... additions to this variable.
4983 * misc/Makefile (tests): Change dependencies to ....
4984 (tests-special): ... additions to this variable.
4985 * nptl/Makefile (tests): Change dependencies to ....
4986 (tests-special): ... additions to this variable.
4987 * nptl_db/Makefile (tests): Change dependencies to ....
4988 (tests-special): ... additions to this variable.
4989 * posix/Makefile (tests): Change dependencies to ....
4990 (tests-special): ... additions to this variable.
4991 (xtests): Change dependencies to ....
4992 (xtests-special): ... additions to this variable.
4993 * resolv/Makefile (tests): Change dependencies to ....
4994 (tests-special): ... additions to this variable.
4995 (xtests): Change dependencies to ....
4996 (xtests-special): ... additions to this variable.
4997 * stdio-common/Makefile (tests): Change dependencies to ....
4998 (tests-special): ... additions to this variable.
4999 (do-tst-unbputc): Remove target.
5000 (do-tst-printf): Likewise.
5001 * stdlib/Makefile (tests): Change dependencies to ....
5002 (tests-special): ... additions to this variable.
5003 * string/Makefile (tests): Change dependencies to ....
5004 (tests-special): ... additions to this variable.
5005 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5006 (tests-special): ... additions to this variable.
5008 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5010 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5012 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5013 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5015 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5016 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5017 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5018 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5019 * conform/data/libgen.h-data [XPG3]: Likewise.
5020 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5021 * conform/data/ndbm.h-data [XPG3]: Likewise.
5022 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5023 * conform/data/netdb.h-data [XPG3]: Likewise.
5024 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5025 * conform/data/poll.h-data [XPG3]: Likewise.
5026 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5027 * conform/data/strings.h-data [XPG3]: Likewise.
5028 * conform/data/stropts.h-data [XPG3]: Likewise.
5029 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5030 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5031 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5033 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5034 * conform/data/sys/time.h-data [XPG3]: Likewise.
5035 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5036 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5037 * conform/data/sys/un.h-data [XPG3]: Likewise.
5038 * conform/data/syslog.h-data [XPG3]: Likewise.
5039 * conform/data/ucontext.h-data [XPG3]: Likewise.
5040 * conform/data/utmpx.h-data [XPG3]: Likewise.
5041 * conform/data/varargs.h-data [UNIX98]: Enable file.
5043 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5045 * math/libm-test.inc (struct test_f_f_data): Move expected results
5046 into structure for each rounding mode.
5047 (struct test_ff_f_data): Likewise.
5048 (struct test_ff_f_data_nexttoward): Likewise.
5049 (struct test_fi_f_data): Likewise.
5050 (struct test_fl_f_data): Likewise.
5051 (struct test_if_f_data): Likewise.
5052 (struct test_fff_f_data): Likewise.
5053 (struct test_c_f_data): Likewise.
5054 (struct test_f_f1_data): Likewise.
5055 (struct test_fF_f1_data): Likewise.
5056 (struct test_ffI_f1_data): Likewise.
5057 (struct test_c_c_data): Likewise.
5058 (struct test_cc_c_data): Likewise.
5059 (struct test_f_i_data): Likewise.
5060 (struct test_ff_i_data): Likewise.
5061 (struct test_f_l_data): Likewise.
5062 (struct test_f_L_data): Likewise.
5063 (struct test_fFF_11_data): Likewise.
5065 (RM_FE_DOWNWARD): Likewise.
5066 (RM_FE_TONEAREST): Likewise.
5067 (RM_FE_TOWARDZERO): Likewise.
5068 (RM_FE_UPWARD): Likewise.
5069 (RUN_TEST_LOOP_f_f): Update references to expected results.
5070 (RUN_TEST_LOOP_2_f): Likewise.
5071 (RUN_TEST_LOOP_fff_f): Likewise.
5072 (RUN_TEST_LOOP_c_f): Likewise.
5073 (RUN_TEST_LOOP_f_f1): Likewise.
5074 (RUN_TEST_LOOP_fF_f1): Likewise.
5075 (RUN_TEST_LOOP_fI_f1): Likewise.
5076 (RUN_TEST_LOOP_ffI_f1): Likewise.
5077 (RUN_TEST_LOOP_c_c): Likewise.
5078 (RUN_TEST_LOOP_cc_c): Likewise.
5079 (RUN_TEST_LOOP_f_i): Likewise.
5080 (RUN_TEST_LOOP_f_i_tg): Likewise.
5081 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5082 (RUN_TEST_LOOP_f_b): Likewise.
5083 (RUN_TEST_LOOP_f_b_tg): Likewise.
5084 (RUN_TEST_LOOP_f_l): Likewise.
5085 (RUN_TEST_LOOP_f_L): Likewise.
5086 (RUN_TEST_LOOP_fFF_11): Likewise.
5087 * math/gen-libm-test.pl (parse_args): Output four copies of
5088 expected results for each test.
5090 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5091 (__ASSUME_UTIMES): Remove.
5092 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5093 (__ASSUME_UTIMES): Likewise.
5095 * math/gen-auto-libm-tests.c: Update comment on output format.
5096 (output_for_one_input_case): Generate before-rounding and
5097 after-rounding information as conditions on output flags not
5098 floating-point format.
5099 * math/auto-libm-test-out: Regenerated.
5100 * math/gen-libm-test.pl (cond_value): New function.
5101 (or_cond_value): Use cond_value.
5102 (generate_testfile): Handle conditional exceptions.
5104 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5106 * math/libm-test.inc (max_valid_error): New variable.
5107 (init_max_error): Take new argument specifying whether function
5108 results are exactly determined. Set max_valid_error and bound
5109 other variables for errors based on this argument.
5110 (set_max_error): Do not record results above max_valid_error.
5111 (check_float_internal): Only accept errors of up to 0.5ulps if
5112 also at most max_valid_error.
5113 (START): Take new argument EXACT and pass it to init_max_error.
5114 (acos_test): Update call to START.
5115 (acos_test_tonearest): Likewise.
5116 (acos_test_towardzero): Likewise.
5117 (acos_test_downward): Likewise.
5118 (acos_test_upward): Likewise.
5119 (acosh_test): Likewise.
5120 (asin_test): Likewise.
5121 (asin_test_tonearest): Likewise.
5122 (asin_test_towardzero): Likewise.
5123 (asin_test_downward): Likewise.
5124 (asin_test_upward): Likewise.
5125 (asinh_test): Likewise.
5126 (atan_test): Likewise.
5127 (atanh_test): Likewise.
5128 (atan2_test): Likewise.
5129 (cabs_test): Likewise.
5130 (cacos_test): Likewise.
5131 (cacosh_test): Likewise.
5132 (carg_test): Likewise.
5133 (casin_test): Likewise.
5134 (casinh_test): Likewise.
5135 (catan_test): Likewise.
5136 (catanh_test): Likewise.
5137 (cbrt_test): Likewise.
5138 (ccos_test): Likewise.
5139 (ccosh_test): Likewise.
5140 (ceil_test): Likewise.
5141 (cexp_test): Likewise.
5142 (cimag_test): Likewise.
5143 (clog_test): Likewise.
5144 (clog10_test): Likewise.
5145 (conj_test): Likewise.
5146 (copysign_test): Likewise.
5147 (cos_test): Likewise.
5148 (cos_test_tonearest): Likewise.
5149 (cos_test_towardzero): Likewise.
5150 (cos_test_downward): Likewise.
5151 (cos_test_upward): Likewise.
5152 (cosh_test): Likewise.
5153 (cosh_test_tonearest): Likewise.
5154 (cosh_test_towardzero): Likewise.
5155 (cosh_test_downward): Likewise.
5156 (cosh_test_upward): Likewise.
5157 (cpow_test): Likewise.
5158 (cproj_test): Likewise.
5159 (creal_test): Likewise.
5160 (csin_test): Likewise.
5161 (csinh_test): Likewise.
5162 (csqrt_test): Likewise.
5163 (ctan_test): Likewise.
5164 (ctan_test_tonearest): Likewise.
5165 (ctan_test_towardzero): Likewise.
5166 (ctan_test_downward): Likewise.
5167 (ctan_test_upward): Likewise.
5168 (ctanh_test): Likewise.
5169 (ctanh_test_tonearest): Likewise.
5170 (ctanh_test_towardzero): Likewise.
5171 (ctanh_test_downward): Likewise.
5172 (ctanh_test_upward): Likewise.
5173 (erf_test): Likewise.
5174 (erfc_test): Likewise.
5175 (exp_test): Likewise.
5176 (exp_test_tonearest): Likewise.
5177 (exp_test_towardzero): Likewise.
5178 (exp_test_downward): Likewise.
5179 (exp_test_upward): Likewise.
5180 (exp10_test): Likewise.
5181 (exp10_test_tonearest): Likewise.
5182 (exp10_test_towardzero): Likewise.
5183 (exp10_test_downward): Likewise.
5184 (exp10_test_upward): Likewise.
5185 (pow10_test): Likewise.
5186 (exp2_test): Likewise.
5187 (expm1_test): Likewise.
5188 (expm1_test_tonearest): Likewise.
5189 (expm1_test_towardzero): Likewise.
5190 (expm1_test_downward): Likewise.
5191 (expm1_test_upward): Likewise.
5192 (fabs_test): Likewise.
5193 (fdim_test): Likewise.
5194 (floor_test): Likewise.
5195 (fma_test): Likewise.
5196 (fma_test_towardzero): Likewise.
5197 (fma_test_downward): Likewise.
5198 (fma_test_upward): Likewise.
5199 (fmax_test): Likewise.
5200 (fmin_test): Likewise.
5201 (fmod_test): Likewise.
5202 (fpclassify_test): Likewise.
5203 (frexp_test): Likewise.
5204 (hypot_test): Likewise.
5205 (ilogb_test): Likewise.
5206 (isfinite_test): Likewise.
5207 (finite_test): Likewise.
5208 (isgreater_test): Likewise.
5209 (isgreaterequal_test): Likewise.
5210 (isinf_test): Likewise.
5211 (isless_test): Likewise.
5212 (islessequal_test): Likewise.
5213 (islessgreater_test): Likewise.
5214 (isnan_test): Likewise.
5215 (isnormal_test): Likewise.
5216 (issignaling_test): Likewise.
5217 (isunordered_test): Likewise.
5218 (j0_test): Likewise.
5219 (j1_test): Likewise.
5220 (jn_test): Likewise.
5221 (ldexp_test): Likewise.
5222 (lgamma_test): Likewise.
5223 (gamma_test): Likewise.
5224 (lrint_test): Likewise.
5225 (lrint_test_tonearest): Likewise.
5226 (lrint_test_towardzero): Likewise.
5227 (lrint_test_downward): Likewise.
5228 (lrint_test_upward): Likewise.
5229 (llrint_test): Likewise.
5230 (llrint_test_tonearest): Likewise.
5231 (llrint_test_towardzero): Likewise.
5232 (llrint_test_downward): Likewise.
5233 (llrint_test_upward): Likewise.
5234 (log_test): Likewise.
5235 (log10_test): Likewise.
5236 (log1p_test): Likewise.
5237 (log2_test): Likewise.
5238 (logb_test): Likewise.
5239 (logb_test_downward): Likewise.
5240 (lround_test): Likewise.
5241 (llround_test): Likewise.
5242 (modf_test): Likewise.
5243 (nearbyint_test): Likewise.
5244 (nextafter_test): Likewise.
5245 (nexttoward_test): Likewise.
5246 (pow_test): Likewise.
5247 (pow_test_tonearest): Likewise.
5248 (pow_test_towardzero): Likewise.
5249 (pow_test_downward): Likewise.
5250 (pow_test_upward): Likewise.
5251 (remainder_test): Likewise.
5252 (drem_test): Likewise.
5253 (remainder_test_tonearest): Likewise.
5254 (drem_test_tonearest): Likewise.
5255 (remainder_test_towardzero): Likewise.
5256 (drem_test_towardzero): Likewise.
5257 (remainder_test_downward): Likewise.
5258 (drem_test_downward): Likewise.
5259 (remainder_test_upward): Likewise.
5260 (drem_test_upward): Likewise.
5261 (remquo_test): Likewise.
5262 (rint_test): Likewise.
5263 (rint_test_tonearest): Likewise.
5264 (rint_test_towardzero): Likewise.
5265 (rint_test_downward): Likewise.
5266 (rint_test_upward): Likewise.
5267 (round_test): Likewise.
5268 (scalb_test): Likewise.
5269 (scalbn_test): Likewise.
5270 (scalbln_test): Likewise.
5271 (signbit_test): Likewise.
5272 (sin_test): Likewise.
5273 (sin_test_tonearest): Likewise.
5274 (sin_test_towardzero): Likewise.
5275 (sin_test_downward): Likewise.
5276 (sin_test_upward): Likewise.
5277 (sincos_test): Likewise.
5278 (sinh_test): Likewise.
5279 (sinh_test_tonearest): Likewise.
5280 (sinh_test_towardzero): Likewise.
5281 (sinh_test_downward): Likewise.
5282 (sinh_test_upward): Likewise.
5283 (sqrt_test): Likewise.
5284 (sqrt_test_tonearest): Likewise.
5285 (sqrt_test_towardzero): Likewise.
5286 (sqrt_test_downward): Likewise.
5287 (sqrt_test_upward): Likewise.
5288 (tan_test): Likewise.
5289 (tan_test_tonearest): Likewise.
5290 (tan_test_towardzero): Likewise.
5291 (tan_test_downward): Likewise.
5292 (tan_test_upward): Likewise.
5293 (tanh_test): Likewise.
5294 (tgamma_test): Likewise.
5295 (trunc_test): Likewise.
5296 (y0_test): Likewise.
5297 (y1_test): Likewise.
5298 (yn_test): Likewise.
5299 (significand_test): Likewise.
5301 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5302 individual tests in comment.
5303 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5304 (prev_max_error): New variable.
5305 (prev_real_max_error): Likewise.
5306 (prev_imag_max_error): Likewise.
5307 (compare_ulp_data): Don't refer to test names in comment.
5308 (find_test_ulps): Remove function.
5309 (find_function_ulps): Likewise.
5310 (find_complex_function_ulps): Likewise.
5311 (init_max_error): Take function name as argument. Look up ulps
5313 (print_ulps): Remove function.
5314 (print_max_error): Use prev_max_error instead of calling
5316 (print_complex_max_error): Use prev_real_max_error and
5317 prev_imag_max_error instead of calling find_complex_function_ulps.
5318 (check_float_internal): Take max_ulp parameter instead of calling
5319 find_test_ulps. Don't call print_ulps.
5320 (check_float): Update call to check_float_internal.
5321 (check_complex): Update calls to check_float_internal.
5322 (START): Pass argument to init_max_error.
5323 * math/gen-libm-test.pl (%results): Don't include "kind"
5325 (parse_ulps): Don't handle ulps of individual tests.
5326 (print_ulps_file): Likewise.
5327 (output_ulps): Likewise.
5328 * math/README.libm-test: Update.
5329 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5331 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5332 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5333 * sysdeps/arm/libm-test-ulps: Likewise.
5334 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5335 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5336 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5338 * sysdeps/microblaze/libm-test-ulps: Likewise.
5339 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5340 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5342 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5343 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5344 * sysdeps/sh/libm-test-ulps: Likewise.
5345 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5346 * sysdeps/tile/libm-test-ulps: Likewise.
5347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5349 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5351 * math/libm-test.inc (print_complex_max_error): Check separately
5352 whether real and imaginary errors are within allowed range and
5353 pass 0 to print_complex_function_ulps instead of value within
5356 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5358 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5360 (get_handles_fopen): Likewise.
5361 (do_write_test): Likewise.
5363 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5365 * libio/fileops.c (do_ftell): Use cached offset when
5367 * libio/iofwide.c (do_ftell_wide): Likewise.
5368 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5370 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5373 * libio/libioP.h (get_file_offset): New function.
5374 * libio/fileops.c (get_file_offset): Likewise.
5375 (do_ftell): Likewise.
5376 (_IO_new_file_seekoff): Split out ftell logic.
5377 * libio/wfileops.c (do_ftell_wide): Likewise.
5378 (_IO_wfile_seekoff): Split out ftell logic.
5379 * libio/tst-ftell-active-handler.c: New test case.
5380 * libio/Makefile (tests): Add it.
5382 2014-03-03 Roland McGrath <roland@hack.frob.com>
5384 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5385 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5387 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5390 * nscd/connections.c (nscd_init): Call do_exit.
5391 (start_threads): Call do_exit and notify_parent.
5392 (begin_drop_privileges): Call do_exit.
5393 (finish_drop_privileges): Likewise.
5394 * nscd/selinux.c (preserve_capabilities): Likewise.
5395 (install_real_capabilities): Likewise.
5396 (nscd_selinux_enabled): Likewise.
5397 (avc_create_thread): Likewise.
5398 (avc_alloc_lock): Likewise.
5399 (nscd_avc_init): Likewise.
5400 * nscd/nscd.c (parent_fd): New static variable.
5401 (main): Create a pipe between parent and child processes.
5402 Skip closing parent_fd.
5403 (monitor_child): New function.
5404 (do_exit): Likewise.
5405 (notify_parent): Likewise.
5406 * nscd/nscd.h (notify_parent): Likewise.
5407 (do_exit): Likewise.
5409 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5411 * malloc/malloc.c (__libc_calloc): Revert last change.
5413 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5417 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5419 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5423 (__libc_ifunc_impl_list): Likewise.
5424 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5425 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5426 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5427 * string/strrchr.c: Define STRRCHR.
5429 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5431 * benchtest/bench-strtok.c (simple_strtok): Delete.
5432 (strtok_string): Use as benchmark.
5433 * string/strtok (STRTOK): New macro.
5435 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5437 * manual/threads.texi: Add header and standard comments to all
5440 * elf/dl-lookup.c (check_match): New function.
5441 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5442 (do_lookup_x): Remove nested function check_match. Use non-nested
5443 function check_match.
5445 2014-02-28 Roland McGrath <roland@hack.frob.com>
5447 * csu/Makefile (generated, before-compile): Use += rather than =.
5448 * catgets/Makefile (generated, generated-dirs): Likewise.
5449 * debug/Makefile (generated): Likewise.
5450 * dlfcn/Makefile (generated): Likewise.
5451 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5452 * iconvdata/Makefile (before-compile, generated): Likewise.
5453 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5454 * libio/Makefile (generated): Likewise.
5455 * malloc/Makefile (generated): Likewise.
5456 * manual/Makefile (generated, generated-dirs): Likewise.
5457 * misc/Makefile (generated): Likewise.
5458 * posix/Makefile (generated): Likewise.
5459 * resolv/Makefile (generated): Likewise.
5460 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5461 * timezone/Makefile (generated, generated-dirs): Likewise.
5463 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5465 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5468 power8 implementation.
5469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5470 file: POWER8 llround ifunc implementation.
5471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5472 (__lllround): Add POWER8 implementation.
5473 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5474 POWER8 llround implementation.
5476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5477 power8 implementation.
5478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5479 file: POWER8 llrint ifunc implementation.
5480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5481 Add POWER8 implementation.
5482 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5483 POWER8 llrint implementation.
5485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5486 power8 implementation.
5487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5488 file: POWER8 finite ifunc implementation.
5489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5490 Add POWER8 implementation.
5491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5493 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5494 POWER8 finite implementation.
5495 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5498 power8 implementation.
5499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5500 file: POWER8 isinf ifunc implementation.
5501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5502 POWER8 implementation.
5503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5506 isinf implementation.
5507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5509 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5510 (INIT_ARCH): Add hwcap2 initialization.
5511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5512 power8 implementation.
5513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5514 file: POWER8 isnan ifunc implementation.
5515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5516 POWER8 implementation.
5517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5519 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5520 isnan implementation.
5521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5523 2014-02-27 Joey Ye <joey.ye@arm.com>
5525 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5526 (_FP_NANFRAC_Q): Set to zero.
5528 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5531 * math/auto-libm-test-in: New test inputs.
5532 * math/auto-libm-test-out: Regenerate.
5533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5536 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5538 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5540 * scripts/evaluate-test.sh: Take new argument indicating whether
5541 failure is expected.
5542 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5543 indicating whether failure is expected.
5544 * conform/Makefile (test-xfail-run-conformtest): New variable.
5545 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5547 * posix/Makefile (test-xfail-annexc): New variable.
5548 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5550 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5552 * argp/Makefile: Include Makeconfig immediately after defining
5554 * assert/Makefile: Likewise.
5555 * benchtests/Makefile: Likewise.
5556 * catgets/Makefile: Likewise.
5557 * conform/Makefile: Likewise.
5558 * crypt/Makefile: Likewise.
5559 * csu/Makefile: Likewise.
5560 (all): Remove target.
5561 * ctype/Makefile: Include Makeconfig immediately after defining
5563 * debug/Makefile: Likewise.
5564 * dirent/Makefile: Likewise.
5565 * dlfcn/Makefile: Likewise.
5566 * gmon/Makefile: Likewise.
5567 * gnulib/Makefile: Likewise.
5568 * grp/Makefile: Likewise.
5569 * gshadow/Makefile: Likewise.
5570 * hesiod/Makefile: Likewise.
5571 * hurd/Makefile: Likewise.
5572 (all): Remove target.
5573 * iconvdata/Makefile: Include Makeconfig immediately after
5575 * inet/Makefile: Likewise.
5576 * intl/Makefile: Likewise.
5577 * io/Makefile: Likewise.
5578 * libio/Makefile: Likewise.
5579 (all): Remove target.
5580 * locale/Makefile: Include Makeconfig immediately after defining
5582 * login/Makefile: Likewise.
5583 * mach/Makefile: Likewise.
5584 (all): Remove target.
5585 * malloc/Makefile: Include Makeconfig immediately after defining
5587 (all): Remove target.
5588 * manual/Makefile: Include Makeconfig immediately after defining
5590 * math/Makefile: Likewise.
5591 * misc/Makefile: Likewise.
5592 * nis/Makefile: Likewise.
5593 * nss/Makefile: Likewise.
5594 * po/Makefile: Likewise.
5595 (all): Remove target.
5596 * posix/Makefile: Include Makeconfig immediately after defining
5598 * pwd/Makefile: Likewise.
5599 * resolv/Makefile: Likewise.
5600 * resource/Makefile: Likewise.
5601 * rt/Makefile: Likewise.
5602 * setjmp/Makefile: Likewise.
5603 * shadow/Makefile: Likewise.
5604 * signal/Makefile: Likewise.
5605 * socket/Makefile: Likewise.
5606 * soft-fp/Makefile: Likewise.
5607 * stdio-common/Makefile: Likewise.
5608 * stdlib/Makefile: Likewise.
5609 * streams/Makefile: Likewise.
5610 * string/Makefile: Likewise.
5611 * sunrpc/Makefile: Likewise.
5612 (all): Remove target.
5613 * sysvipc/Makefile: Include Makeconfig immediately after defining
5615 * termios/Makefile: Likewise.
5616 * time/Makefile: Likewise.
5617 * timezone/Makefile: Likewise.
5618 (all): Remove target.
5619 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5621 * wctype/Makefile: Likewise.
5623 2014-02-26 Steve Ellcey <sellcey@mips.com>
5625 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5626 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5627 (libc_feholdexcept_setround_mips): Ditto.
5628 (libc_feholdsetround): New.
5629 (libc_feholdsetroundf): New.
5630 (libc_feholdsetroundl): New.
5631 (libc_feupdateenv_test_mips): New.
5632 (libc_feupdateenv_test): New.
5633 (libc_feupdateenv_testf): New.
5634 (libc_feupdateenv_testl): New.
5635 (libc_feresetround): New.
5636 (libc_feresetroundf): New.
5637 (libc_feresetroundl): New.
5638 (libc_fetestexcept_mips): New.
5639 (libc_fetestexcept): New.
5640 (libc_fetestexceptf): New.
5641 (libc_fetestexceptl): New.
5643 (libc_feholdexcept_setround_mips_ctx): New.
5644 (libc_feholdexcept_setround_ctx): New.
5645 (libc_feholdexcept_setroundf_ctx): New.
5646 (libc_feholdexcept_setroundl_ctx): New.
5647 (libc_fesetenv_mips_ctx): New.
5648 (libc_fesetenv_ctx): New.
5649 (libc_fesetenv_ctxf): New.
5650 (libc_fesetenv_ctxl): New.
5651 (libc_feupdateenv_mips_ctx): New.
5652 (libc_feupdateenv_ctx): New.
5653 (libc_feupdateenvf_ctx): New.
5654 (libc_feupdateenvl_ctx): New.
5655 (libc_feholdsetround_mips_ctx): New.
5656 (libc_feholdsetround_ctx): New.
5657 (libc_feholdsetroundf_ctx): New.
5658 (libc_feholdsetroundl_ctx): New.
5659 (libc_feresetround_mips_ctx): New.
5660 (libc_feresetround_ctx): New.
5661 (libc_feresetroundf_ctx): New.
5662 (libc_feresetroundl_ctx): New.
5664 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5666 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5668 * manual/ipc.texi: New file.
5669 * manual/Makefile (chapters): Add ipc.
5670 * manual/job.texi: Add "Inter-Process Communication" to next.
5671 * manual/process.texi: Add "Inter-Process Communication" to prev.
5673 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5677 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5679 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5681 * manual/arith.texi: Fix spaces after sentences.
5682 * manual/charset.texi: Likewise.
5683 * manual/errno.texi: Likewise.
5684 * manual/install.texi: Likewise.
5685 * manual/llio.texi: Likewise.
5686 * manual/locale.texi: Likewise.
5687 * manual/maint.texi: Likewise.
5688 * manual/math.texi: Likewise.
5689 * manual/memory.texi: Likewise.
5690 * manual/message.texi: Likewise.
5691 * manual/probes.texi: Likewise.
5692 * manual/resource.texi: Likewise.
5693 * manual/signal.texi: Likewise.
5694 * manual/socket.texi: Likewise.
5695 * manual/stdio.texi: Likewise.
5696 * manual/string.texi: Likewise.
5697 * manual/time.texi: Likewise.
5698 * manual/users.texi: Likewise.
5700 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5703 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5704 _DEFAULT_SOURCE is defined.
5706 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5707 Carlos O'Donell <carlos@redhat.com>
5710 * elf/dl-tls.c (_dl_count_modids): New function.
5711 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5712 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5713 audit library and increment generation counter.
5714 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5715 * elf/tst-audit9.c: New file.
5716 * elf/tst-auditmod9a.c: New file.
5717 * elf/tst-auditmod9b.c: New file.
5718 * elf/Makefile: Add rules to build and run tst-audit9.
5720 2014-02-25 Florian Weimer <fweimer@redhat.com>
5723 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5725 2014-02-25 Will Newton <will.newton@linaro.org>
5727 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5728 (__longjmp): Restore sp and lr before restoring callee
5729 saved registers. Add longjmp and longjmp_target
5730 SystemTap probe point.
5731 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5732 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5733 Define to zero to match jmpbuf layout.
5734 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5735 (__sigsetjmp): Save sp and lr before saving callee
5736 saved registers. Add setjmp SystemTap probe point.
5738 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5740 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5742 2014-02-24 Andreas Schwab <schwab@suse.de>
5745 * elf/pldd.c (wait_for_ptrace_stop): New function.
5746 (main): Call it after attaching.
5748 2014-02-22 Roland McGrath <roland@hack.frob.com>
5750 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5751 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5752 Versions files is now verboten.
5753 * hurd/Versions (libc: GLIBC_2.0):
5754 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5755 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5756 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5757 * mach/Versions: Likewise.
5759 * csu/Versions: Remove unused %include.
5760 * resolv/Versions: Likewise.
5762 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5764 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5765 ($(objpfx)check-local-headers.out): Likewise.
5766 ($(objpfx)begin-end-check.out): Likewise.
5767 * Makerules (check-abi-%.out): Likewise.
5768 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5769 ($(objpfx)test2.cat): Likewise.
5770 ($(objpfx)de/libc.cat): Likewise.
5771 ($(objpfx)test-gencat.out): Likewise.
5772 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5773 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5774 ($(objpfx)noload-mem): Likewise.
5775 ($(objpfx)tst-pathopt.out): Likewise.
5776 ($(objpfx)tst-rtld-load-self.out): Likewise.
5777 ($(objpfx)tst-array1-cmp.out): Likewise.
5778 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5779 ($(objpfx)tst-array2-cmp.out): Likewise.
5780 ($(objpfx)tst-array3-cmp.out): Likewise.
5781 ($(objpfx)tst-array4-cmp.out): Likewise.
5782 ($(objpfx)tst-array5-cmp.out): Likewise.
5783 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5784 ($(objpfx)check-textrel.out): Likewise.
5785 ($(objpfx)check-execstack.out): Likewise.
5786 ($(objpfx)check-localplt.out): Likewise.
5787 ($(objpfx)order2-cmp.out): Likewise.
5788 ($(objpfx)tst-leaks1-mem): Likewise.
5789 ($(objpfx)tst-leaks1-static-mem): Likewise.
5790 ($(objpfx)tst-initorder-cmp.out): Likewise.
5791 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5792 ($(objpfx)tst-unused-dep.out): Likewise.
5793 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5794 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5795 * iconv/Makefile (test-iconvconfig): Likewise.
5796 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5797 ($(objpfx)iconv-test.out): Likewise.
5798 ($(objpfx)tst-tables.out): Likewise.
5799 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5800 ($(objpfx)tst-gettext.out): Likewise.
5801 ($(objpfx)tst-translit.out): Likewise.
5802 ($(objpfx)tst-gettext2.out): Likewise.
5803 ($(objpfx)tst-gettext4.out): Likewise.
5804 ($(objpfx)tst-gettext6.out): Likewise.
5805 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5806 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5807 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5808 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5809 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5810 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5811 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5812 ($(objpfx)wordexp-tst.out): Likewise.
5813 ($(objpfx)annexc.out): Likewise.
5814 ($(objpfx)tst-fnmatch-mem): Likewise.
5815 ($(objpfx)bug-regex2-mem): Likewise.
5816 ($(objpfx)bug-regex14-mem): Likewise.
5817 ($(objpfx)bug-regex21-mem): Likewise.
5818 ($(objpfx)bug-regex31-mem): Likewise.
5819 ($(objpfx)tst-vfork3-mem): Likewise.
5820 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5821 ($(objpfx)tst-pcre-mem): Likewise.
5822 ($(objpfx)tst-boost-mem): Likewise.
5823 ($(objpfx)tst-getconf.out): Likewise.
5824 ($(objpfx)bug-ga2-mem): Likewise.
5825 ($(objpfx)bug-glob2-mem): Likewise.
5826 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5827 ($(objpfx)mtrace-tst-leaks2): Likewise.
5828 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5829 ($(objpfx)tst-printf.out): Likewise.
5830 ($(objpfx)tst-setvbuf1.out): Likewise.
5831 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5832 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5833 ($(objpfx)tst-fmtmsg.out): Likewise.
5834 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5835 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5837 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5838 * bits/sigaction.h [__USE_MISC]: Likewise.
5839 * bits/waitstatus.h: Update #endif comments.
5840 * ctype/ctype.h: Likewise.
5841 * dirent/dirent.h: Likewise.
5842 [__USE_MISC]: Remove redundant conditionals.
5843 * grp/grp.h: Update #endif comments.
5844 [__USE_GNU]: Remove redundant conditionals.
5845 [__USE_MISC]: Likewise.
5846 * inet/netinet/in.h [__USE_GNU]: Likewise.
5847 * io/sys/stat.h [__USE_MISC]: Likewise.
5848 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5849 * libio/bits/stdio.h: Update #endif comments.
5850 [__USE_MISC]: Remove redundant conditionals.
5851 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5852 * libio/stdio.h: Update #endif comments.
5853 [__USE_MISC]: Remove redundant conditionals.
5854 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5855 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5856 * math/math.h: Update #else and #endif comments.
5857 [__USE_MISC]: Remove redundant conditionals.
5858 * misc/sys/uio.h: Update #endif comments.
5859 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5860 * posix/glob.h [__USE_MISC]: Likewise.
5861 * posix/sys/types.h: Update #endif comments.
5862 [__USE_MISC]: Remove redundant conditionals.
5863 * posix/sys/wait.h: Update #endif comments.
5864 [__USE_MISC]: Remove redundant conditionals.
5865 * posix/unistd.h: Update #endif comments.
5866 [__USE_MISC]: Remove redundant conditionals.
5867 * pwd/pwd.h [__USE_GNU]: Likewise.
5868 [__USE_MISC]: Likewise.
5869 * resolv/netdb.h [__USE_GNU]: Likewise.
5870 * signal/signal.h: Update #endif comments.
5871 [__USE_MISC]: Remove redundant conditionals.
5872 * stdlib/stdlib.h: Update #else and #endif comments.
5873 [__USE_MISC]: Remove redundant conditionals.
5874 [__USE_GNU]: Likewise.
5875 * string/bits/string2.h [__USE_MISC]: Likewise.
5876 * string/string.h: Update #endif comments.
5877 [__USE_MISC]: Remove redundant conditionals.
5878 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5880 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5881 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5882 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5884 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5888 [__USE_MISC]: Remove redundant conditionals.
5889 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5890 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5891 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5892 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5893 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5895 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5896 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5898 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5901 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5903 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5904 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5906 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5908 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5909 * sysdeps/x86/bits/string.h: Update #endif comments.
5910 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5912 * time/sys/time.h: Update #endif comments.
5913 * time/time.h: Likewise.
5914 [__USE_MISC]: Remove redundant conditionals.
5916 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5919 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5921 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5923 * Versions.def (librt): Add GLIBC_2.17.
5925 2014-02-21 Adam Conrad <adconrad@0c3.net>
5927 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5928 synonym for _SYS_AUXV_H to allow direct inclusion.
5929 * sysdeps/sparc/bits/hwcap.h: Likewise.
5930 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5931 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5932 * sysdeps/sparc/sysdep.h: Likewise.
5934 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5936 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5938 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5940 * benchtests/bench-strrchr.c: Print length instead of position.
5942 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5945 * sysdeps/unix/sysv/linux/kernel-features.h
5946 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5947 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5948 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5949 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5951 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5952 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5953 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5954 (__ASSUME_SENDMMSG): Define instead of using previous
5955 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5956 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5957 (__ASSUME_SENDMMSG_SYSCALL): Define.
5958 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5959 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5961 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5962 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5964 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5965 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5968 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5969 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5970 [__ASSUME_SENDMMSG]: Change conditionals to
5971 [__ASSUME_SENDMMSG_SOCKETCALL].
5972 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5973 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5975 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5976 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5978 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5979 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5980 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5981 [!__ASSUME_SENDMMSG]: Change conditional to
5982 [!__ASSUME_SENDMMSG_SOCKETCALL].
5983 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5984 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5988 * sysdeps/unix/sysv/linux/kernel-features.h
5989 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5990 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5991 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5992 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5993 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5994 [__i386__ || __sparc__]
5995 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5996 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5997 (__ASSUME_RECVMMSG): Define instead of using previous
5998 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5999 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6000 (__ASSUME_RECVMMSG_SYSCALL): Define.
6001 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6002 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6004 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6005 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6010 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6011 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6012 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6013 [__ASSUME_RECVMMSG]: Change condition to
6014 [__ASSUME_RECVMMSG_SOCKETCALL].
6015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6016 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6018 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6019 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6022 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6023 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6024 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6025 [!__ASSUME_RECVMMSG]: Change condition to
6026 [!__ASSUME_RECVMMSG_SOCKETCALL].
6027 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6028 (__ASSUME_RECVMMSG_SYSCALL): Define.
6031 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6032 __powerpc__ || __s390__ || __sh__ || __sparc__]
6033 (__ASSUME_SOCKETCALL): Define.
6034 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6035 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6036 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6037 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6038 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6039 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6040 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6041 (__ASSUME_ACCEPT4): Define instead of using previous
6042 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6043 __powerpc__ || __sparc__ || __s390__)] condition.
6044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6045 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6046 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6047 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6048 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6049 [!__ASSUME_ACCEPT4]: Change condition to
6050 [!__ASSUME_ACCEPT4_SOCKETCALL].
6051 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6052 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6053 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6054 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6055 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6056 __ASSUME_ACCEPT4_SYSCALL.
6057 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6058 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6059 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6060 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6061 __ASSUME_ACCEPT4_SYSCALL.
6062 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6063 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6064 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6065 [__ASSUME_ACCEPT4]: Change condition to
6066 [__ASSUME_ACCEPT4_SOCKETCALL].
6067 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6068 (__ASSUME_SOCKETCALL): Define.
6069 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6071 (__ASSUME_SOCKETCALL): Define.
6072 (__ASSUME_ACCEPT4): Remove.
6073 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6075 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6076 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6078 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6079 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6081 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6083 (HWCAP_ARM_LPAE): Likewise.
6084 (HWCAP_ARM_EVTSTRM): Likewise.
6085 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6086 Add vpfd32, lpae and evtstrm.
6087 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6090 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6092 * math/auto-libm-test-in: Add tests of clog10.
6093 * math/auto-libm-test-out: Regenerated.
6094 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6095 * sysdeps/i386/fpu/libm-test-ulps: Update.
6096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6098 2014-02-18 Andreas Schwab <schwab@suse.de>
6101 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6102 Store non-zero if the second buffer was newly allocated.
6103 (send_dg): Likewise.
6104 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6105 to send_vc and send_dg.
6106 (res_nsend): Pass NULL for ansp2_malloced.
6107 * resolv/res_query.c (__libc_res_nquery): Add parameter
6108 answerp2_malloced and pass it down to __libc_res_nsend.
6109 (res_nquery): Pass additional NULL to __libc_res_nquery.
6110 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6111 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6112 second answer buffer if answerp2_malloced was set.
6113 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6114 (__libc_res_nquerydomain): Add parameter
6115 answerp2_malloced and pass it down to __libc_res_nquery.
6116 (res_nquerydomain): Pass additional NULL to
6117 __libc_res_nquerydomain.
6118 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6119 additional NULL to __libc_res_nsend and __libc_res_nquery.
6120 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6121 additional NULL to __libc_res_nsearch.
6122 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6123 parameter of __libc_res_nsearch to check for separately allocated
6125 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6127 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6128 additional NULL to __libc_res_nquery.
6129 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6131 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6132 * include/resolv.h: Update prototypes of __libc_res_nquery,
6133 __libc_res_nsearch, __libc_res_nsend.
6135 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6137 * math/auto-libm-test-in: Add tests of fma.
6138 * math/auto-libm-test-out: Regenerated.
6139 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6140 (fma_towardzero_test_data): Likewise.
6141 (fma_downward_test_data): Likewise.
6142 (fma_upward_test_data): Likewise.
6143 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6145 (rounding_modes): Add values for new field.
6146 (func_calc_method): Add value mpfr_fff_f.
6147 (func_calc_desc): Add mpfr_fff_f union field.
6148 (test_function): Add field exact_args.
6149 (FUNC): Add macro argument EXACT_ARGS.
6150 (FUNC_mpfr_f_f): Update call to FUNC.
6151 (FUNC_mpfr_f_f): Likewise.
6152 (FUNC_mpfr_ff_f): Likewise.
6153 (FUNC_mpfr_if_f): Likewise.
6154 (FUNC_mpc_c_f): Likewise.
6155 (FUNC_mpc_c_c): Likewise.
6156 (test_functions): Add fma. Update calls to FUNC.
6157 (handle_input_arg): Add argument exact_args.
6158 (add_test): Update call to handle_input_arg.
6159 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6160 (output_for_one_input_case): Update call to calc_generic_results.
6161 Recalculate exact zero results in each rounding mode.
6163 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6164 non-negative before setting low bit.
6165 * math/auto-libm-test-in: Mark one asin test possibly having
6167 * math/auto-libm-test-out: Regenerated.
6168 * sysdeps/i386/fpu/libm-test-ulps: Update.
6169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6171 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6173 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6174 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6175 ports/sysdeps/unix/sysv/linux/microblaze.
6176 * README: Add missing listing for microblaze*-*-linux-gnu.
6178 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6180 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6181 * sysdeps/unix/sysv/linux/ia64: Move directory from
6182 ports/sysdeps/unix/sysv/linux/ia64.
6183 * README: Update listing for ia64-*-linux-gnu.
6185 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6186 Joseph Myers <joseph@codesourcery.com>
6188 * Makeconfig (test-name): New variable.
6189 (evaluate-test): Likewise.
6190 * Makerules (do-test-clean): Remove .test-result files.
6191 (common-mostlyclean): Likewise.
6192 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6193 * scripts/evaluate-test.sh: New file.
6195 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6197 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6198 separate $(objpfx)tst-fopenloc-cmp.out and
6199 $(objpfx)tst-fopenloc-mem.out targets.
6200 (tests): Update dependencies.
6201 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6202 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6203 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6204 (tst-rxspencer-no-utf8-ARGS): New variable.
6205 (tst-rxspencer-no-utf8-ENV): Likewise.
6206 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6207 instead of $(objpfx)tst-rxspencer-mem.
6208 ($(objpfx)tst-rxspencer-mem): Change target to
6209 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6210 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6211 * posix/tst-rxspencer-no-utf8.c: New file.
6213 * elf/Makefile ($(objpfx)order.out): Remove rule.
6214 [$(run-built-tests) = yes] (tests): Depend on
6215 $(objpfx)order-cmp.out.
6216 ($(objpfx)order-cmp.out): New rule.
6217 [$(run-built-tests) = yes] (tests): Depend on
6218 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6219 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6220 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6221 $(objpfx)tst-array5-static-cmp.out.
6222 ($(objpfx)tst-array1.out): Remove rule.
6223 ($(objpfx)tst-array1-cmp.out): New rule.
6224 ($(objpfx)tst-array1-static.out): Remove rule.
6225 ($(objpfx)tst-array1-static-cmp.out): New rule.
6226 ($(objpfx)tst-array2.out): Remove rule.
6227 ($(objpfx)tst-array2-cmp.out): New rule.
6228 ($(objpfx)tst-array3.out): Remove rule.
6229 ($(objpfx)tst-array3-cmp.out): New rule.
6230 ($(objpfx)tst-array4.out): Remove rule.
6231 ($(objpfx)tst-array4-cmp.out): New rule.
6232 ($(objpfx)tst-array5.out): Remove rule.
6233 ($(objpfx)tst-array5-cmp.out): New rule.
6234 ($(objpfx)tst-array5-static.out): Remove rule.
6235 ($(objpfx)tst-array5-static-cmp.out): New rule.
6236 [$(run-built-tests) = yes] (tests): Depend on
6237 $(objpfx)order2-cmp.out.
6238 ($(objpfx)order2.out): Remove rule.
6239 ($(objpfx)order2-cmp.out): New rule.
6240 ($(objpfx)tst-initorder.out): Remove rule.
6241 [$(run-built-tests) = yes] (tests): Depend on
6242 $(objpfx)tst-initorder-cmp.out.
6243 ($(objpfx)tst-initorder-cmp.out): New rule.
6244 ($(objpfx)tst-initorder2.out): Remove rule.
6245 [$(run-built-tests) = yes] (tests): Depend on
6246 $(objpfx)tst-initorder2-cmp.out.
6247 ($(objpfx)tst-initorder2-cmp.out): New rule.
6248 [$(run-built-tests) = yes] (tests): Depend on
6249 $(objpfx)tst-unused-dep-cmp.out.
6250 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6251 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6252 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6253 on $(objpfx)tst-setvbuf1-cmp.out.
6254 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6255 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6256 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6257 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6258 ($(objpfx)tst-svc.out): Remove rule.
6259 ($(objpfx)tst-svc-cmp.out): New rule.
6261 2014-02-13 Joseph Myers <joseph@codesourcery.com>
6263 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6264 * ctype/ctype.h [__USE_MISC]: Likewise.
6265 * dirent/dirent.h [__USE_MISC]: Likewise.
6266 * grp/grp.h [__USE_MISC]: Likewise.
6267 * io/fcntl.h [__USE_MISC]: Likewise.
6268 * io/sys/stat.h [__USE_MISC]: Likewise.
6269 * libio/stdio.h [__USE_MISC]: Likewise.
6270 * posix/unistd.h [__USE_MISC]: Likewise.
6271 * pwd/pwd.h [__USE_MISC]: Likewise.
6272 * stdlib.h [__USE_MISC]: Likewise.
6273 * string/bits/string2.h [__USE_MISC]: Likewise.
6274 * string/string.h [__USE_MISC]: Likewise.
6275 * time/time.h [__USE_MISC]: Likewise.
6277 2014-02-13 Andreas Schwab <schwab@suse.de>
6280 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6281 second answer buffer if it was separately allocated.
6283 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6285 * sysdeps/mips/math-tests.h: Include <features.h>.
6286 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6287 (ROUNDING_TESTS_long_double): Do not define.
6288 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6289 (EXCEPTION_TESTS_long_double): Likewise.
6290 * sysdeps/mips/mips64/libm-test-ulps: Update.
6292 * include/features.h (__USE_BSD): Remove macro definitions.
6293 (__USE_SVID): Likewise.
6294 (_BSD_SOURCE): Likewise.
6295 (_SVID_SOURCE): Likewise.
6296 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6297 from definition of _DEFAULT_SOURCE.
6298 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6300 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6301 * bits/mman.h [__USE_BSD]: Likewise.
6302 * bits/termios.h [__USE_BSD]: Likewise.
6303 * bits/waitstatus.h [__USE_BSD]: Likewise.
6304 * ctype/ctype.h [__USE_SVID]: Likewise.
6305 * dirent/dirent.h [__USE_BSD]: Likewise.
6306 * grp/grp.h [__USE_SVID]: Likewise.
6307 [__USE_BSD]: Likewise.
6308 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6309 * io/fcntl.h [__USE_BSD]: Likewise.
6310 * io/ftw.h [__USE_BSD]: Likewise.
6311 * io/sys/stat.h [__USE_BSD]: Likewise.
6312 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6313 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6314 * libio/stdio.h [__USE_SVID]: Likewise.
6315 [__USE_BSD]: Likewise.
6316 * math/math.h [__USE_SVID]: Likewise.
6317 [__USE_BSD]: Likewise.
6318 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6319 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6320 * misc/search.h [__USE_SVID]: Likewise.
6321 * misc/sys/mman.h [__USE_BSD]: Likewise.
6322 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6323 * misc/sys/uio.h [__USE_BSD]: Likewise.
6324 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6325 * posix/glob.h [__USE_BSD]: Likewise.
6326 * posix/regex.h [__USE_BSD]: Likewise.
6327 * posix/sys/types.h [__USE_BSD]: Likewise.
6328 [__USE_SVID]: Likewise.
6329 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6330 * posix/sys/wait.h [__USE_BSD]: Likewise.
6331 [__USE_SVID]: Likewise.
6332 * posix/unistd.h [__USE_BSD]: Likewise.
6333 [__USE_SVID]: Likewise.
6334 * pwd/pwd.h [__USE_SVID]: Likewise.
6335 * resolv/netdb.h [__USE_BSD]: Likewise.
6336 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6337 * signal/signal.h [__USE_BSD]: Likewise.
6338 [__USE_SVID]: Likewise.
6339 * socket/sys/socket.h [__USE_BSD]: Likewise.
6340 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6341 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6342 [__USE_SVID]: Likewise.
6343 * string/bits/string2.h [__USE_BSD]: Likewise.
6344 [__USE_SVID]: Likewise.
6345 * string/bits/string3.h [__USE_BSD]: Likewise.
6346 * string/endian.h [__USE_BSD]: Likewise.
6347 * string/string.h [__USE_SVID]: Likewise.
6348 [__USE_BSD]: Likewise.
6349 * string/strings.h [__USE_BSD]: Likewise.
6350 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6351 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6352 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6353 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6354 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6355 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6359 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6360 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6362 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6363 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6365 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6367 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6368 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6369 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6371 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6373 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6374 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6375 * termios/termios.h [__USE_BSD]: Likewise.
6376 * time/sys/time.h [__USE_BSD]: Likewise.
6377 * time/time.h [__USE_BSD]: Likewise.
6378 [__USE_SVID]: Likewise.
6380 * Makefile (subdir_targets): Remove subdir_lint.out.
6382 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6383 (do-tst-printf): Likewise.
6384 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6385 $(objpfx)tst-printf.out.
6387 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6389 * Makerules (check-abi-%): Change target to
6390 $(objpfx)check-abi-%.out.
6391 (check-abi target): Update dependencies.
6392 (check-abi-pattern variable): Redirect output of diff to $@.
6393 (check-abi variable): Likewise.
6394 * elf/Makefile (check-abi): Update dependencies.
6396 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6398 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6399 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6401 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6402 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6403 value has largest subnormal exponent.
6404 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6405 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6406 * sysdeps/aarch64/soft-fp/sfp-machine.h
6407 (_FP_TININESS_AFTER_ROUNDING): New macro.
6408 * sysdeps/alpha/soft-fp/sfp-machine.h
6409 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6410 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6412 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6413 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6414 * sysdeps/mips/soft-fp/sfp-machine.h
6415 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6416 * sysdeps/powerpc/soft-fp/sfp-machine.h
6417 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6418 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6420 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6421 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6422 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6423 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6424 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6427 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6430 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6433 2014-02-12 Richard Henderson <rth@redhat.com>
6435 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6436 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6437 * sysdeps/unix/sysv/linux/alpha: Move directory from
6438 ports/sysdeps/unix/sysv/linux/alpha.
6439 * README: Update listing for alpha-*-linux-gnu.
6441 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6443 * include/features.h: Update comment documenting feature test
6445 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6447 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6448 (_SVID_SOURCE): Likewise.
6449 (_DEFAULT_SOURCE): Update description of default features.
6450 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6452 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6453 (S_ISVTX): Likewise.
6454 * manual/math.texi (Mathematical Constants): Likewise.
6455 * manual/signal.texi (Interrupted Primitives): Likewise.
6456 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6457 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6458 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6459 Don't refer to _SVID_SOURCE in warning text.
6461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6463 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6465 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6466 * sysdeps/mips/dl-lookup.c: Remove.
6467 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6469 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6472 * math/auto-libm-test-in: Add testcase for expl.
6473 * math/auto-libm-test-out: Regenerate.
6474 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6475 calculation of unsafe.
6476 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6478 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6480 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6481 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6482 ports/sysdeps/unix/sysv/linux/aarch64.
6483 * README: Update listing for aarch64*-*-linux-gnu.
6485 2014-02-11 Will Newton <will.newton@linaro.org>
6487 * manual/probes.texi (Mathematical Function Probes): Use
6488 "triggered" instead of "hit".
6490 * manual/probes.texi (Internal Probes): Add documentation
6491 of setjmp, longjmp and longjmp_target probes.
6493 * include/stap-probe.h: Add comment about probe argument
6496 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6497 definition. (tr_where, tr_freehook, tr_mallochook,
6498 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6500 2014-02-11 David S. Miller <davem@davemloft.net>
6502 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6503 processing int_tests.
6505 2014-02-10 Joseph Myers <joseph@codesourcery.com>
6507 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6508 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6509 * sysdeps/unix/sysv/linux/mips: Move directory from
6510 ports/sysdeps/unix/sysv/linux/mips.
6511 * README: Update listing for mips-*-linux-gnu and
6514 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6516 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6517 * sysdeps/unix/sysv/linux/m68k: Move directory from
6518 ports/sysdeps/unix/sysv/linux/m68k.
6519 * README: Update listing for m68k-*-linux-gnu.
6521 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6523 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6524 * sysdeps/unix/sysv/linux/generic: Move directory from
6525 ports/sysdeps/unix/sysv/linux/generic.
6526 * sysdeps/unix/sysv/linux/tile: Move directory from
6527 ports/sysdeps/unix/sysv/linux/tile.
6528 * README: Update listing for tile*-*-linux-gnu.
6530 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6532 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6534 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6535 * catgets/open_catalog.c (__open_catalog): Likewise.
6536 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6537 * debug/confstr_chk.c: Likewise.
6538 * debug/fread_chk.c (__fread_chk): Likewise.
6539 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6540 * debug/getgroups_chk.c: Likewise.
6541 * debug/mbsnrtowcs_chk.c: Likewise.
6542 * debug/mbsrtowcs_chk.c: Likewise.
6543 * debug/mbstowcs_chk.c: Likewise.
6544 * debug/memcpy_chk.c: Likewise.
6545 * debug/memmove_chk.c: Likewise.
6546 * debug/mempcpy_chk.c: Likewise.
6547 * debug/memset_chk.c: Likewise.
6548 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6549 * debug/strcat_chk.c (__strcat_chk): Likewise.
6550 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6551 * debug/strncat_chk.c (__strncat_chk): Likewise.
6552 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6553 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6554 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6555 * debug/wcpncpy_chk.c: Likewise.
6556 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6557 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6558 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6559 * debug/wcsncpy_chk.c: Likewise.
6560 * debug/wcsnrtombs_chk.c: Likewise.
6561 * debug/wcsrtombs_chk.c: Likewise.
6562 * debug/wcstombs_chk.c: Likewise.
6563 * debug/wmemcpy_chk.c: Likewise.
6564 * debug/wmemmove_chk.c: Likewise.
6565 * debug/wmempcpy_chk.c: Likewise.
6566 * debug/wmemset_chk.c: Likewise.
6567 * dirent/scandirat.c (SCANDIRAT): Likewise.
6568 * dlfcn/dladdr1.c (dladdr1): Likewise.
6569 * dlfcn/dladdr.c (dladdr): Likewise.
6570 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6571 * dlfcn/dlerror.c (__dlerror): Likewise.
6572 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6573 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6574 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6575 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6576 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6577 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6578 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6579 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6581 * elf/dl-conflict.c: Likewise.
6582 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6583 * elf/dl-dst.h: Likewise.
6584 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6585 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6586 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6587 * elf/dl-init.c (call_init, _dl_init): Likewise.
6588 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6589 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6590 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6592 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6594 * elf/dl-minimal.c (__libc_memalign): Likewise.
6595 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6596 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6597 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6598 * elf/dl-sym.c (do_sym): Likewise.
6599 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6600 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6601 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6602 * elf/dl-writev.h (_dl_writev): Likewise.
6603 * elf/ldconfig.c (search_dir): Likewise.
6604 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6605 (dl_main): Likewise.
6606 * elf/setup-vdso.h (setup_vdso): Likewise.
6607 * grp/compat-initgroups.c (compat_call): Likewise.
6608 * grp/fgetgrent.c (fgetgrent): Likewise.
6609 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6610 * grp/putgrent.c (putgrent): Likewise.
6611 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6613 * hurd/hurdinit.c: Likewise.
6614 * iconvdata/8bit-gap.c (struct): Likewise.
6615 * iconvdata/ansi_x3.110.c : Likewise.
6616 * iconvdata/big5.c : Likewise.
6617 * iconvdata/big5hkscs.c : Likewise.
6618 * iconvdata/cp1255.c: Likewise.
6619 * iconvdata/cp1258.c : Likewise.
6620 * iconvdata/cp932.c : Likewise.
6621 * iconvdata/euc-cn.c: Likewise.
6622 * iconvdata/euc-jisx0213.c : Likewise.
6623 * iconvdata/euc-jp.c: Likewise.
6624 * iconvdata/euc-jp-ms.c : Likewise.
6625 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6626 * iconvdata/gb18030.c : Likewise.
6627 * iconvdata/gbbig5.c (const): Likewise.
6628 * iconvdata/gbgbk.c: Likewise.
6629 * iconvdata/gbk.c : Likewise.
6630 * iconvdata/ibm1364.c : Likewise.
6631 * iconvdata/ibm930.c : Likewise.
6632 * iconvdata/ibm932.c: Likewise.
6633 * iconvdata/ibm933.c : Likewise.
6634 * iconvdata/ibm935.c : Likewise.
6635 * iconvdata/ibm937.c : Likewise.
6636 * iconvdata/ibm939.c : Likewise.
6637 * iconvdata/ibm943.c: Likewise.
6638 * iconvdata/iso_11548-1.c: Likewise.
6639 * iconvdata/iso-2022-cn.c : Likewise.
6640 * iconvdata/iso-2022-cn-ext.c : Likewise.
6641 * iconvdata/iso-2022-jp-3.c: Likewise.
6642 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6643 * iconvdata/iso-2022-kr.c : Likewise.
6644 * iconvdata/iso646.c (gconv_end): Likewise.
6645 * iconvdata/iso_6937-2.c : Likewise.
6646 * iconvdata/iso_6937.c : Likewise.
6647 * iconvdata/iso8859-1.c: Likewise.
6648 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6649 * iconvdata/shift_jisx0213.c : Likewise.
6650 * iconvdata/sjis.c : Likewise.
6651 * iconvdata/t.61.c : Likewise.
6652 * iconvdata/tcvn5712-1.c : Likewise.
6653 * iconvdata/tscii.c: Likewise.
6654 * iconvdata/uhc.c : Likewise.
6655 * iconvdata/unicode.c (gconv_end): Likewise.
6656 * iconvdata/utf-16.c (gconv_end): Likewise.
6657 * iconvdata/utf-32.c (gconv_end): Likewise.
6658 * iconvdata/utf-7.c (base64): Likewise.
6659 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6660 * iconv/gconv_close.c (__gconv_close): Likewise.
6661 * iconv/gconv_open.c (__gconv_open): Likewise.
6662 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6663 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6664 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6665 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6666 (ucs4le_internal_loop_single): Likewise.
6667 * iconv/iconv.c (iconv): Likewise.
6668 * iconv/iconv_close.c: Likewise.
6669 * iconv/loop.c (SINGLE): Likewise.
6670 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6671 * include/atomic.h: Likewise.
6672 * inet/inet6_option.c (option_alloc): Likewise.
6673 * intl/bindtextdom.c (set_binding_values): Likewise.
6674 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6675 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6676 * intl/localealias.c (read_alias_file): Likewise.
6677 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6678 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6679 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6680 * libio/fmemopen.c (fmemopen): Likewise.
6681 * libio/iofgets.c (_IO_fgets): Likewise.
6682 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6683 * libio/iofgetws.c (fgetws): Likewise.
6684 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6685 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6686 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6687 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6688 * locale/findlocale.c (_nl_find_locale): Likewise.
6689 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6690 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6692 * locale/setlocale.c (setlocale): Likewise.
6693 * login/programs/pt_chown.c (main): Likewise.
6694 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6695 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6696 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6697 (mmap, mmap64, mremap, munmap): Likewise.
6698 * math/e_exp2l.c: Likewise.
6699 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6700 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6701 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6702 * math/s_catan.c (__catan): Likewise.
6703 * math/s_catanf.c (__catanf): Likewise.
6704 * math/s_catanh.c (__catanh): Likewise.
6705 * math/s_catanhf.c (__catanhf): Likewise.
6706 * math/s_catanhl.c (__catanhl): Likewise.
6707 * math/s_catanl.c (__catanl): Likewise.
6708 * math/s_ccosh.c (__ccosh): Likewise.
6709 * math/s_ccoshf.c (__ccoshf): Likewise.
6710 * math/s_ccoshl.c (__ccoshl): Likewise.
6711 * math/s_cexp.c (__cexp): Likewise.
6712 * math/s_cexpf.c (__cexpf): Likewise.
6713 * math/s_cexpl.c (__cexpl): Likewise.
6714 * math/s_clog10.c (__clog10): Likewise.
6715 * math/s_clog10f.c (__clog10f): Likewise.
6716 * math/s_clog10l.c (__clog10l): Likewise.
6717 * math/s_clog.c (__clog): Likewise.
6718 * math/s_clogf.c (__clogf): Likewise.
6719 * math/s_clogl.c (__clogl): Likewise.
6720 * math/s_csin.c (__csin): Likewise.
6721 * math/s_csinf.c (__csinf): Likewise.
6722 * math/s_csinh.c (__csinh): Likewise.
6723 * math/s_csinhf.c (__csinhf): Likewise.
6724 * math/s_csinhl.c (__csinhl): Likewise.
6725 * math/s_csinl.c (__csinl): Likewise.
6726 * math/s_csqrt.c (__csqrt): Likewise.
6727 * math/s_csqrtf.c (__csqrtf): Likewise.
6728 * math/s_csqrtl.c (__csqrtl): Likewise.
6729 * math/s_ctan.c (__ctan): Likewise.
6730 * math/s_ctanf.c (__ctanf): Likewise.
6731 * math/s_ctanh.c (__ctanh): Likewise.
6732 * math/s_ctanhf.c (__ctanhf): Likewise.
6733 * math/s_ctanhl.c (__ctanhl): Likewise.
6734 * math/s_ctanl.c (__ctanl): Likewise.
6735 * math/w_pow.c: Likewise.
6736 * math/w_powf.c: Likewise.
6737 * math/w_powl.c: Likewise.
6738 * math/w_scalb.c (sysv_scalb): Likewise.
6739 * math/w_scalbf.c (sysv_scalbf): Likewise.
6740 * math/w_scalbl.c (sysv_scalbl): Likewise.
6741 * misc/error.c (error_tail): Likewise.
6742 * misc/pselect.c (__pselect): Likewise.
6743 * nis/nis_callback.c (__nis_create_callback): Likewise.
6744 * nis/nis_call.c (__nisfind_server): Likewise.
6745 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6746 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6747 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6748 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6749 * nis/nis_lookup.c (nis_lookup): Likewise.
6750 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6751 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6752 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6753 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6754 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6755 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6756 * nis/nss_compat/compat-initgroups.c (add_group)
6757 (internal_getgrent_r): Likewise.
6758 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6759 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6760 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6761 (internal_getspnam_r): Likewise.
6762 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6763 (_nss_nis_getaliasbyname_r): Likewise.
6764 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6765 (_nss_nis_getntohost_r): Likewise.
6766 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6767 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6768 (_nss_nis_getgrgid_r): Likewise.
6769 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6770 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6771 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6772 (_nss_nis_gethostbyname4_r): Likewise.
6773 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6774 (initgroups_netid): Likewise.
6775 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6776 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6777 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6778 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6779 (_nss_nis_getprotobynumber_r): Likewise.
6780 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6781 (_nss_nis_getsecretkey): Likewise.
6782 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6783 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6784 (_nss_nis_getpwuid_r): Likewise.
6785 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6786 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6787 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6788 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6789 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6790 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6791 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6793 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6794 (_nss_nisplus_getntohost_r): Likewise.
6795 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6796 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6797 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6798 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6800 * nis/nss_nisplus/nisplus-initgroups.c
6801 (_nss_nisplus_initgroups_dyn): Likewise.
6802 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6803 (_nss_nisplus_getnetbyaddr_r): Likewise.
6804 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6805 (_nss_nisplus_getprotobynumber_r): Likewise.
6806 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6807 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6808 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6810 * nis/nss_nisplus/nisplus-service.c
6811 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6812 (_nss_nisplus_getservbyport_r): Likewise.
6813 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6814 (_nss_nisplus_getspnam_r): Likewise.
6815 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6817 * nscd/aicache.c (addhstaiX): Likewise.
6818 * nscd/cache.c (cache_search, prune_cache): Likewise.
6819 * nscd/connections.c (register_traced_file, send_ro_fd)
6820 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6821 (main_loop_epoll): Likewise.
6822 * nscd/grpcache.c (addgrbyX): Likewise.
6823 * nscd/hstcache.c (addhstbyX): Likewise.
6824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6825 * nscd/mem.c (gc, mempool_alloc): Likewise.
6826 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6827 (addinnetgrX): Likewise.
6828 * nscd/nscd-client.h (__nscd_acquire_maplock)
6829 (__nscd_drop_map_ref): Likewise.
6830 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6831 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6832 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6834 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6835 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6836 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6837 (__nscd_get_map_ref): Likewise.
6838 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6839 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6841 * nscd/pwdcache.c (addpwbyX): Likewise.
6842 * nscd/selinux.c (preserve_capabilities): Likewise.
6843 * nscd/servicescache.c (addservbyX): Likewise.
6844 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6845 * posix/fnmatch.c (fnmatch): Likewise.
6846 * posix/getopt.c (_getopt_internal_r): Likewise.
6847 * posix/glob.c (glob, glob_in_dir): Likewise.
6848 * posix/wordexp.c (exec_comm_child): Likewise.
6849 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6850 (getanswer_r, gaih_getanswer_slice): Likewise.
6851 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6852 * resolv/res_init.c: Likewise.
6853 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6854 * resolv/res_query.c (__libc_res_nquery): Likewise.
6855 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6857 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6858 * stdio-common/perror.c (perror): Likewise.
6859 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6860 * stdio-common/tmpnam.c (tmpnam): Likewise.
6861 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6862 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6863 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6865 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6866 * stdlib/putenv.c (putenv): Likewise.
6867 * stdlib/setenv.c (__add_to_environ): Likewise.
6868 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6869 * stdlib/strtol_l.c (INTERNAL): Likewise.
6870 * string/memmem.c (memmem): Likewise.
6871 * string/strerror.c (strerror): Likewise.
6872 * string/strnlen.c (__strnlen): Likewise.
6873 * string/test-memmem.c (simple_memmem): Likewise.
6874 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6875 * sunrpc/pm_getport.c (__get_socket): Likewise.
6876 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6877 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6878 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6879 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6881 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6882 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6883 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6884 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6885 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6886 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6888 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6890 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6891 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6893 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6894 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6896 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6897 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6898 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6899 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6900 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6901 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6907 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6908 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6911 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6912 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6913 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6922 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6924 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6926 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6928 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6932 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6934 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6935 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6936 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6937 * sysdeps/posix/sleep.c: Likewise.
6938 * sysdeps/posix/tempname.c: Likewise.
6939 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6940 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6942 * sysdeps/powerpc/powerpc32/dl-machine.h
6943 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6944 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6946 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6947 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6949 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6950 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6951 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6952 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6953 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6954 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6955 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6956 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6957 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6958 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6959 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6960 (elf_machine_lazy_rel): Likewise.
6961 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6963 (elf_machine_lazy_rel): Likewise.
6964 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6965 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6966 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6967 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6968 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6969 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6970 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6973 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6974 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6975 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6976 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6977 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6978 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6979 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6980 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6981 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6982 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6983 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6985 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6986 (__posix_fallocate64_l64): Likewise.
6987 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6988 (posix_fallocate): Likewise.
6989 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6991 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6992 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6993 (getifaddrs_internal): Likewise.
6994 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6995 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6996 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6997 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6998 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6999 (__posix_fallocate64_l64): Likewise.
7000 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7002 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7003 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7004 (__get_clockfreq): Likewise.
7005 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7006 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7007 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7008 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7010 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7011 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7012 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7014 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7015 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7016 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7017 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7018 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7019 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7020 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7022 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7023 (posix_fallocate): Likewise.
7024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7025 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7026 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7027 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7028 (elf_machine_rela, elf_machine_rela_relative)
7029 (elf_machine_lazy_rel): Likewise.
7030 * time/asctime.c (asctime_internal): Likewise.
7031 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7032 * time/tzset.c (__tzset_parse_tz): Likewise.
7033 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7034 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7035 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7036 * wcsmbs/wcsmbsload.h: Likewise.
7039 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7041 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7042 (arena_get2): Remove THREAD_STATS conditionals.
7043 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7044 (__malloc_stats, int): Likewise.
7046 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7048 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7049 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7051 * manual/setjmp.texi: Fix typos/grammar errors.
7053 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7054 Only return early when n is <= 0. Delete unused return statement.
7056 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7057 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7058 * debug/tst-longjmp_chk3.c: New file.
7060 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7061 (test_main): Replace code with set_fortify_handler call.
7062 * debug/test-strcpy_chk.c: Likewise.
7063 * debug/tst-chk1.c: Likewise.
7064 * debug/tst-longjmp_chk.c: Likewise.
7065 * test-skeleton.c: Include fcntl.h & paths.h
7066 (set_fortify_handler): Define.
7068 * debug/tst-longjmp_chk.c: Add header comment and include
7070 (do_test): Mark static.
7071 (TEST_FUNCTION): Define.
7073 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7074 (IP_PMTUDISC_INTERFACE): Likewise.
7075 (IP_MULTICAST_IF): Likewise.
7076 (IP_MULTICAST_TTL): Likewise.
7077 (IP_MULTICAST_LOOP): Likewise.
7078 (IP_ADD_MEMBERSHIP): Likewise.
7079 (IP_DROP_MEMBERSHIP): Likewise.
7080 (IP_UNBLOCK_SOURCE): Likewise.
7081 (IP_BLOCK_SOURCE): Likewise.
7082 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7083 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7084 (IP_MSFILTER): Likewise.
7085 (MCAST_JOIN_GROUP): Likewise.
7086 (MCAST_BLOCK_SOURCE): Likewise.
7087 (MCAST_UNBLOCK_SOURCE): Likewise.
7088 (MCAST_LEAVE_GROUP): Likewise.
7089 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7090 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7091 (MCAST_MSFILTER): Likewise.
7092 (IP_MULTICAST_ALL): Likewise.
7093 (IP_UNICAST_IF): Likewise.
7095 * timezone/Makefile: Delete $(have-ksh) check.
7096 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7097 * timezone/tzselect.ksh: Add +x mode bits.
7099 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7100 (ANON_INODE_FS_MAGIC): Likewise.
7101 (BDEVFS_MAGIC): Likewise.
7102 (BINFMTFS_MAGIC): Likewise.
7103 (BTRFS_TEST_MAGIC): Likewise.
7104 (CRAMFS_MAGIC_WEND): Likewise.
7105 (DEBUGFS_MAGIC): Likewise.
7106 (ECRYPTFS_SUPER_MAGIC): Likewise.
7107 (EXT3_SUPER_MAGIC): Likewise.
7108 (EXT4_SUPER_MAGIC): Likewise.
7109 (FUTEXFS_SUPER_MAGIC): Likewise.
7110 (HOSTFS_SUPER_MAGIC): Likewise.
7111 (HUGETLBFS_MAGIC): Likewise.
7112 (MINIX3_SUPER_MAGIC): Likewise.
7113 (MTD_INODE_FS_MAGIC): Likewise.
7114 (NILFS_SUPER_MAGIC): Likewise.
7115 (OPENPROM_SUPER_MAGIC): Likewise.
7116 (PIPEFS_MAGIC): Likewise.
7117 (PSTOREFS_MAGIC): Likewise.
7118 (QNX6_SUPER_MAGIC): Likewise.
7119 (RAMFS_MAGIC): Likewise.
7120 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7121 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7122 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7123 (SECURITYFS_MAGIC): Likewise.
7124 (SELINUX_MAGIC): Likewise.
7125 (SMACK_MAGIC): Likewise.
7126 (SOCKFS_MAGIC): Likewise.
7127 (SQUASHFS_MAGIC): Likewise.
7128 (STACK_END_MAGIC): Likewise.
7129 (TMPFS_MAGIC): Likewise.
7130 (USBDEVICE_SUPER_MAGIC): Likewise.
7131 (V9FS_MAGIC): Likewise.
7132 (XENFS_SUPER_MAGIC): Likewise.
7133 (CRAMFS_MAGIC): Fix typo in comment.
7134 (EXT2_SUPER_MAGIC): Update comment.
7135 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7137 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7139 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7140 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7141 * sysdeps/unix/sysv/linux/arm: Move directory from
7142 ports/sysdeps/unix/sysv/linux/arm.
7143 * README: Update listing for arm-*-linux-gnueabi.
7145 * README: Remove mention of am33.
7147 2014-02-07 Roland McGrath <roland@hack.frob.com>
7149 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7150 than the comma operator, to avoid "rhs of comma has no effect"
7152 (__sigfillset, __sigandset, __sigorset): Likewise.
7153 * include/signal.h (__sigemptyset): Likewise.
7154 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7156 2014-02-07 Allan McRae <allan@archlinux.org>
7158 * version.h (RELEASE): Set to "development".
7159 (VERSION): Set to "2.19.90"
7160 * NEWS: Add 2.20 section.
7162 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7165 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7167 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7169 * manual/contrib.texi: Update entry for Carlos O'Donell,
7170 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7172 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7174 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7176 * sysdeps/unix/sysv/linux/kernel-features.h
7177 [__LINUX_KERNEL_VERSION >= 0x020621]
7178 (__ASSUME_PROC_PID_TASK_COMM): Define.
7180 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7183 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7184 conversion when destination buffer does not have enough space.
7185 * libio/tst-ftell-partial-wide.c: New test case.
7186 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7188 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7189 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7190 Leonard and Allan McRae.
7192 2014-02-04 David S. Miller <davem@davemloft.net>
7194 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7197 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7226 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7228 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7229 * shlib-versions: Likewise.
7231 2014-02-04 Roland McGrath <roland@hack.frob.com>
7232 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7234 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7235 (abilist-pattern): New variable, set to %-le.abilist.
7237 * Makerules (abilist-pattern): New variable.
7238 (vpath): Use $(abilist-pattern) in place of %.abilist.
7239 (check-abi-% pattern rule): Likewise.
7240 (check-abi, update-abi): Likewise.
7242 2014-02-04 Eric Wong <normalperson@yhbt.net>
7244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7246 2014-02-03 Carlos O'Donell <carlos@redhat.com>
7248 * manual/startup.texi: Add next, previous, and top entries for
7249 the `Program Arguments' and `Environment Variables' nodes.
7251 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7253 * manual/macros.texi: Add comments before MTASC-safety macros.
7255 * manual/users.texi: Document MTASC-safety properties.
7257 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7258 (pthread_getspecific, pthread_setspecific): Format with
7259 @deftypefun, and add @safety note.
7260 * manual/signal.texi: Move comments that analyze the above
7261 functions to their home place.
7263 2014-02-03 Allan McRae <allan@archlinux.org>
7265 * po/sl.po: Update Slovenian translation from translation project.
7267 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
7269 * manual/time.texi (timegm): Add missing blank after @c.
7270 Reported by Joseph Myers <joseph@codesourcery.com>.
7272 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7274 * manual/check-safety.sh: New.
7275 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7277 * manual/terminal.texi: Document MTASC-safety properties.
7279 * manual/filesys.texi: Document MTASC-safety properties.
7281 * manual/errno.texi: Document MTASC-safety properties.
7283 * manual/intro.texi: Document safety identifiers and
7286 * manual/string.texi (wcstok): Fix prototype.
7287 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7289 * manual/time.texi: Document MTASC-safety properties.
7291 * manual/string.texi: Document MTASC-safety properties.
7293 * manual/threads.texi: Document MTASC-safety properties.
7295 * manual/stdio.texi: Document MTASC-safety properties.
7297 * manual/syslog.texi: Document MTASC-safety properties.
7299 * manual/sysinfo.texi: Document MTASC-safety properties.
7301 * manual/startup.texi: Document MTASC-safety properties.
7303 * manual/socket.texi: Document MTASC-safety properties.
7305 * manual/signal.texi: Document MTASC-safety properties.
7307 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7309 * manual/setjmp.texi: Document MTASC-safety properties.
7311 * manual/search.texi: Document MTASC-safety properties.
7313 * manual/resource.texi: Document MTASC-safety properties.
7315 * manual/process.texi: Document MTASC-safety properties.
7317 * manual/platform.texi: Document MTASC-safety properties.
7319 * manual/pipe.texi: Document MTASC-safety properties.
7321 * manual/pattern.texi: Document MTASC-safety properties.
7323 * manual/message.texi: Document MTASC-safety properties.
7326 * manual/memory.texi: Document MTASC-safety properties.
7328 * manual/math.texi: Document MTASC-safety properties.
7330 * manual/locale.texi: Document MTASC-safety properties.
7332 * manual/llio.texi: Document MTASC-safety properties.
7334 * manual/libdl.texi: New.
7336 * manual/lang.texi: Document MTASC-safety properties.
7338 * manual/job.texi: Document MTASC-safety properties.
7340 * manual/getopt.texi: Document MTASC-safety properties.
7342 * manual/ctype.texi: Document MTASC-safety properties.
7344 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7347 * csu/libc-tls.c (static_map): Remove variable.
7348 (__libc_setup_tls): Use main executable's link map for TLS data.
7349 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7350 casing for LM_ID_BASE and GL(dl_nns).
7351 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7352 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7353 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7354 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7355 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7357 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7360 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7362 * manual/debug.texi: Document MTASC-safety properties.
7364 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7367 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7368 of __x86_64__ when disabling x87 inline functions.
7370 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7372 * manual/charset.texi: Document MTASC-safety properties.
7374 * manual/crypt.texi: Document MTASC-safety properties.
7376 * manual/conf.texi: Document MTASC-safety properties.
7378 * manual/arith.texi: Document MTASC-safety properties.
7380 * manual/argp.texi: Document MTASC-safety properties.
7382 * manual/macros.texi: Introduce macros to document multi
7383 thread, asynchronous signal and asynchronous cancellation
7385 * manual/intro.texi: Introduce the properties themselves.
7387 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7389 * sysdeps/sh/sh4/Makefile: New file.
7391 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7393 * math/gen-libm-test.pl ($srcdir): New variable.
7394 ($auto_input): Use it.
7396 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7399 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7400 access beyond array bounds when parsing netgroups file.
7402 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7403 the old buffer before realloc.
7405 2014-01-27 Allan McRae <allan@archlinux.org>
7407 * po/fr.po: Update French translation from translation project.
7409 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7411 * sysdeps/sh/libm-test-ulps: Regenerate.
7413 2014-01-24 David S. Miller <davem@davemloft.net>
7415 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7417 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7419 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7420 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7422 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7425 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7426 string pointers after reallocation.
7428 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7430 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7431 __SH4A__ instead of __SH_FPU_ANY__.
7433 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7435 * sysdeps/sh/fpu_control.h: New file.
7436 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7437 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7438 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7439 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7440 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7441 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7442 * sysdeps/sh/sys/ucontext.h: Remove.
7443 * sysdeps/sh/sys: Remove directory.
7445 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7447 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7448 s390/sys/ucontext.h.
7449 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7450 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7452 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7455 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7457 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7460 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7461 Adjust the vDSO correctly for internal calls.
7462 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7464 2014-01-20 Allan McRae <allan@archlinux.org>
7466 * po/ca.po: Update Catalan translation from translation project.
7468 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7470 * sysdeps/s390/sotruss-lib.c: New file.
7472 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7476 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7477 local calls issues by not having a PLT stub required for IFUNC calls.
7478 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7480 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7482 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7483 * math/test-fpucw-static.c: Likewise.
7485 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7488 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7490 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7492 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7493 implementation for powerpc.
7495 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7498 * sysdeps/posix/system.c (__libc_system): Do not enable
7499 asynchronous cancellation.
7501 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7504 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7505 handling only for numbers special also in the IEEE case.
7507 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7509 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7511 2014-01-11 Allan McRae <allan@archlinux.org>
7513 * po/bg.po: Update Bulgarian translation from translation project.
7515 * po/de.po: Update German translation from translation project.
7517 2014-01-10 Roland McGrath <roland@hack.frob.com>
7519 * sysdeps/generic/gcc-compat.h: New file.
7521 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7523 * benchtests/asin-inputs: Correct slow inputs.
7524 * benchtests/acos-inputs: Likewise.
7526 2014-01-10 Allan McRae <allan@archlinux.org>
7528 * po:sv.po: Update Swedish translation from translation project.
7530 * po/vi.po: Update Vietnamese translation from translation project.
7532 * po/eo.po: Update Esperanto translation from translation project.
7534 * po/cs.po: Update Czech translation from translation project.
7536 * po/nl.po: Update Dutch translation from translation project.
7538 * po/pl.po: Update Polish translation from translation project.
7540 * po/ru.po: Update Russian translation from translation project.
7542 * po/uk.po: Update Ukrainian translation from translation project.
7544 2014-01-08 Brooks Moses <bmoses@google.com>
7546 * elf/dl-load.c: Fix comment typo.
7548 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7550 * po/header.pot: Rename to...
7551 * po/pot.header: ... this.
7552 * po/Makefile: Use pot.header.
7554 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7555 Maxim Kuvyrkov <maxim@kugelworks.com>
7558 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7559 SRC and DEST against LEN.
7561 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7564 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7566 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7568 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7572 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7575 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7576 for large positive arguments.
7578 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7580 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7582 * math/auto-libm-test-in: Mark various tests with
7583 xfail-rounding:ldbl-128ibm.
7584 * math/auto-libm-test-out: Regenerated.
7587 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7588 Increase overflow threshold.
7590 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7593 * stdio-common/vfprintf.c: Check for integer overflow.
7595 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7597 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7598 the first argument and return value of __tls_get_addr_internal.
7600 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7602 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7603 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7605 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7607 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7608 * sysdeps/s390/rtld-global-offsets.sym: New file.
7609 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7611 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7612 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7613 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7615 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7616 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7622 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7623 halfs of GPRs for high_gprs contexts.
7624 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7625 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7627 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7629 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7631 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7632 for high GPRs (uc_high_gprs) and for future extensions
7634 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7635 for future extensions (__reserved).
7636 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7638 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7639 SC_HIGHGPRS offset definition.
7640 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7641 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7643 * Versions.def: Add GLIBC_2.19 for libpthread.
7644 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7645 siglongjmp for libpthread with GLIBC_2.19 symver.
7646 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7647 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7648 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7649 * sysdeps/s390/__longjmp.c: New file.
7650 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7651 * sysdeps/s390/longjmp.c: New file.
7652 * sysdeps/s390/setjmp.S: New file.
7653 * sysdeps/s390/sigjmp.S: New file.
7654 * sysdeps/s390/v1-longjmp.c: New file.
7655 * sysdeps/s390/v1-setjmp.h: New file.
7656 * sysdeps/s390/v1-sigjmp.c: New file.
7657 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7658 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7660 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7661 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7662 versioned symbols for ____longjmp_chk.
7663 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7673 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7674 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7675 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7676 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7677 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7678 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7679 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7680 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7681 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7682 * sysdeps/s390/rtld-__longjmp.c: New file.
7683 * sysdeps/s390/rtld-setjmp.S: New file.
7685 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7688 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7689 Return -__logl (x) for small positive arguments without evaluating
7692 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7694 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7696 (__ptrace_peeksiginfo_args): ... this.
7697 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7698 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7701 2014-01-06 Allan McRae <allan@archlinux.org>
7703 * inet/netinet/in.h: Fix typo in comment.
7705 2014-01-05 Andreas Jaeger <aj@suse.de>
7707 * sysdeps/i386/fpu/libm-test-ulps: Update.
7709 2014-01-05 Allan McRae <allan@archlinux.org>
7711 * po/libc.pot: Regenerated.
7713 * malloc/memusagestat.c: Fix gettext call formatting.
7715 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7717 * nscd/nscd.c: Improve usage() output.
7719 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7721 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7722 * sysdeps/unix/sysv/linux/configure: Regenerated.
7723 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7724 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7726 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7729 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7730 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7732 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7735 extra tokens at end of #undef directive.
7736 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7737 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7738 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7740 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7742 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7744 * math/auto-libm-test-in: Mark various tests with
7745 xfail-rounding:ldbl-128ibm.
7746 * math/auto-libm-test-out: Regenerated.
7748 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7751 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7752 numbers with subnormal high part when calculating exponent.
7755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7761 (__ieee754_acoshl): Use __log1pl not __log1p.
7763 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7765 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7766 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7767 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7768 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7769 (reused_arena, arena_get2): Convert to GNU style.
7770 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7771 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7772 (memalign_check, __malloc_set_state): Likewise.
7773 * malloc/mallocbug.c (main): Likewise.
7774 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7775 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7776 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7777 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7778 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7779 (__posix_memalign, malloc_info): Likewise.
7780 * malloc/malloc.h: Likewise.
7781 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7782 (mallochook, memalignhook, reallochook, mabort): Likewise.
7783 * malloc/mcheck.h: Likewise.
7784 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7785 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7786 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7787 * malloc/morecore.c (__default_morecore): Likewise.
7788 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7789 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7790 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7791 (print_and_abort): Likewise.
7792 * malloc/obstack.h: Likewise.
7793 * malloc/set-freeres.c (__libc_freeres): Likewise.
7794 * malloc/tst-mallocstate.c (main): Likewise.
7795 * malloc/tst-mtrace.c (main): Likewise.
7796 * malloc/tst-realloc.c (do_test): Likewise.
7798 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7801 * nscd/netgroupcache.c (do_notfound): New function.
7802 (addgetnetgrentX): Use it.
7805 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7806 NSS_STATUS_NOTFOUND.
7808 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7810 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7813 2014-01-01 Allan McRae <allan@archlinux.org>
7815 * scripts/update-copyrights: Update configure input file suffix.
7817 * NEWS: Update copyright year.
7818 * catgets/gencat.c: Likewise.
7819 * csu/version.c: Likewise.
7820 * debug/catchsegv.sh: Likewise.
7821 * debug/pcprofiledump.c: Likewise.
7822 * debug/xtrace.sh: Likewise.
7823 * elf/ldconfig.c: Likewise.
7824 * elf/ldd.bash.in: Likewise.
7825 * elf/pldd.c: Likewise.
7826 * elf/sotruss.ksh: Likewise.
7827 * elf/sprof.c: Likewise.
7828 * iconv/iconv_prog.c: Likewise.
7829 * iconv/iconvconfig.c: Likewise.
7830 * locale/programs/locale.c: Likewise.
7831 * locale/programs/localedef.c: Likewise.
7832 * login/programs/pt_chown.c: Likewise.
7833 * malloc/memusage.sh: Likewise.
7834 * malloc/memusagestat.c: Likewise.
7835 * malloc/mtrace.pl: Likewise.
7836 * manual/libc.texinfo: Likewise.
7837 * nscd/nscd.c: Likewise.
7838 * nss/getent.c: Likewise.
7839 * nss/makedb.c: Likewise.
7840 * posix/getconf.c: Likewise.
7841 * scripts/test-installation.pl: Likewise.
7843 * All files with FSF copyright notices: Update copyright dates
7844 using scripts/update-copyrights.
7845 * intl/plural.c: Regenerated.
7846 * locale/programs/charmap-kw.h: Likewise.
7847 * locale/programs/locfile-kw.h: Likewise.
7849 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7851 * sysdeps/unix/sysv/linux/configure: Regenerated.
7852 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7853 the linux/fanotify.h header.
7854 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7855 HAVE_LINUX_FANOTIFY_H is defined.
7857 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7859 * benchtests/cos-inputs: New inputs.
7860 * benchtests/sin-inputs: Likewise.
7862 * benchtests/atan-inputs: New inputs. Fix name of multiple
7863 precision fallback inputs.
7865 * benchtests/atanh-inputs: New inputs.
7866 * benchtests/tanh-inputs: Likewise.
7868 * benchtests/acosh-inputs: New inputs.
7869 * benchtests/asinh-inputs: Likewise.
7871 * benchtests/cosh-inputs: New inputs.
7872 * benchtests/sinh-inputs: Likewise.
7874 * benchtests/acos-inputs: Add more inputs.
7875 * benchtests/asin-inputs: Likewise.
7877 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7880 * manual/arith.texi: Fix spelling.
7881 * manual/charset.texi: Likewise.
7882 * manual/errno.texi: Likewise.
7883 * manual/filesys.texi: Likewise.
7884 * manual/lang.texi: Likewise.
7885 * manual/llio.texi: Likewise.
7886 * manual/locale.texi: Likewise.
7887 * manual/message.texi: Likewise.
7888 * manual/resource.texi: Likewise.
7889 * manual/search.texi: Likewise.
7890 * manual/setjmp.texi: Likewise.
7891 * manual/stdio.texi: Likewise.
7892 * manual/string.texi: Likewise.
7893 * manual/sysinfo.texi: Likewise.
7894 * manual/time.texi: Likewise.
7896 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7898 * po/sl.po: New file.
7900 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7902 * .gitignore: Add core/.gdbinit/.gdb_history.
7904 2013-12-27 Allan McRae <allan@archlinux.org>
7907 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7908 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7910 2013-12-24 Brooks Moses <bmoses@google.com>
7912 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7913 all compilers that claim C++98 compliance, not just GCC.
7914 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7917 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7919 * NEWS: Restore accidentally deleted bug-fix entries.
7921 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7922 Ondřej Bílka <neleai@seznam.cz>
7925 * malloc/malloc.c (_int_free): Perform sanity check only if we
7928 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7931 * manual/stdio.texi (String Input Conversions): Clarify that character
7932 classes are not supported.
7934 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7938 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7942 Calculate results for small negative arguments directly rather
7943 than using reflection formula with special underflow handling.
7945 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7946 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7947 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7948 (fchflags): Likewise.
7950 (setlogin): Likewise.
7951 (sigaltstack): Likewise.
7954 (sigsetmask): Likewise.
7956 (waitpid): Likewise.
7957 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7958 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7960 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7961 * sysdeps/unix/bsd/Makefile: ... here.
7962 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7963 * sysdeps/unix/bsd/Versions: ... here.
7964 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7965 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7966 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7967 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7968 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7969 * sysdeps/unix/bsd/sigblock.c: ... here.
7970 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7971 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7972 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7973 * sysdeps/unix/bsd/sigvec.c: ... here.
7974 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7975 * sysdeps/unix/bsd/tcdrain.c: ... here.
7976 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7977 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7978 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7979 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7980 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7981 * sysdeps/unix/bsd/wait.c: ... here.
7982 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7983 * sysdeps/unix/bsd/wait3.c: ... here.
7984 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7985 * sysdeps/unix/bsd/waitpid.c: ... here.
7987 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7990 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7991 round-to-nearest for [!USE_AS_EXPM1L].
7992 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7993 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7994 more tests of exp and exp10. Expect some exp10 tests to miss
7995 exceptions or fail in directed rounding modes.
7996 * math/auto-libm-test-out: Regenerated.
7997 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7998 (exp10_test_tonearest): New function.
7999 (exp10_towardzero_test_data): New array.
8000 (exp10_test_towardzero): New function.
8001 (exp10_downward_test_data): New array.
8002 (exp10_test_downward): New function.
8003 (exp10_upward_test_data): New array.
8004 (exp10_test_upward): New function.
8005 (main): Call the new functions.
8006 * sysdeps/i386/fpu/libm-test-ulps: Update.
8007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8009 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8011 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8012 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8013 * math/auto-libm-test-out: Regenerated.
8014 * math/libm-test.inc (acosh_test_data): Add more tests.
8015 (atanh_test_data): Likewise.
8016 (ceil_test_data): Likewise.
8017 (copysign_test_data): Likewise.
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8021 * timezone/checktab.awk: Update from tzcode 2013i.
8022 * timezone/private.h: Likewise.
8023 * timezone/scheck.c: Likewise.
8024 * timezone/tzfile.h: Likewise.
8025 * timezone/tzselect.ksh: Likewise.
8026 * timezone/zdump.c: Likewise.
8027 * timezone/zic.c: Likewise.
8029 * math/auto-libm-test-in: Add tests of cpow.
8030 * math/auto-libm-test-out: Regenerated.
8031 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8032 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8034 (func_calc_desc): Add mpc_cc_c union field.
8035 (test_functions): Add cpow.
8036 (special_fill_2pi): New function.
8037 (special_real_inputs): Add 2pi.
8038 (calc_generic_results): Handle mpc_cc_c.
8039 * sysdeps/i386/fpu/libm-test-ulps: Update.
8040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8042 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8043 csqrt, ctan and ctanh.
8044 * math/auto-libm-test-out: Regenerated.
8045 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8046 (TEST_COND_x86): Likewise.
8047 (ccos_test_data): Use AUTO_TESTS_c_c.
8048 (ccosh_test_data): Likewise.
8049 (cexp_test_data): Likewise.
8050 (clog_test_data): Likewise.
8051 (csqrt_test_data): Likewise.
8052 (ctan_test_data): Likewise.
8053 (ctan_tonearest_test_data): Likewise.
8054 (ctan_towardzero_test_data): Likewise.
8055 (ctan_downward_test_data): Likewise.
8056 (ctan_upward_test_data): Likewise.
8057 (ctanh_test_data): Likewise.
8058 (ctanh_tonearest_test_data): Likewise.
8059 (ctanh_towardzero_test_data): Likewise.
8060 (ctanh_downward_test_data): Likewise.
8061 (ctanh_upward_test_data): Likewise.
8062 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8064 (func_calc_desc): Add mpc_c_c union field.
8065 (FUNC_mpc_c_c): New macro.
8066 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8067 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8069 (special_fill_min_subnorm_p120): New function.
8070 (special_real_inputs): Add min_subnorm_p120.
8071 (calc_generic_results): Handle mpc_c_c.
8072 * sysdeps/i386/fpu/libm-test-ulps: Update.
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8075 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8077 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8078 (do_sin_slow): New functions.
8079 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8080 (cslow2, csloww1, csloww2): Use the new functions.
8082 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8083 Use M to change sign of result instead of X. Assume X is
8085 (csloww1): Likewise.
8089 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8096 (sloww1): Don't adjust sign of DX.
8097 (csloww1): Likewise.
8098 (sloww2): Use X directly and don't adjust sign of DX.
8099 (csloww2): Likewise.
8101 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8103 * math/auto-libm-test-in: Add tests of cabs and carg.
8104 * math/auto-libm-test-out: Regenerated.
8105 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8106 (carg_test_data): Likewise.
8107 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8109 (func_calc_desc): Add mpc_c_f union field.
8110 (test_functions): Add cabs and carg.
8111 (calc_generic_results): Handle mpc_c_f.
8113 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8114 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8115 as a macro and a compat symbol.
8116 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8117 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8118 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8119 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8120 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8121 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8123 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8125 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8127 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8129 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8131 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8133 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8134 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8137 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8141 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8143 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8144 trailing whitespace removed.
8145 * scripts/config.guess: Update to version 2013-11-29.
8146 * scripts/config.sub: Update to version 2013-10-01.
8148 * math/auto-libm-test-in: Add tests of sincos.
8149 * math/auto-libm-test-out: Regenerated.
8150 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8153 (func_calc_desc): Add mpfr_f_11 union field.
8154 (test_functions): Add sincos.
8155 (calc_generic_results): Handle mpfr_f_11.
8156 * sysdeps/i386/fpu/libm-test-ulps: Update.
8157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159 2013-12-19 Andreas Schwab <schwab@suse.de>
8161 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8163 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8164 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8165 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8167 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8169 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8170 * sysdeps/i386/fpu/libm-test-ulps: Update.
8171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8174 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8175 round-to-nearest mode when using frndint.
8176 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8177 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8180 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8182 * math/auto-libm-test-out: Regenerated.
8183 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8184 (TEST_COND_x86): Likewise.
8185 (expm1_tonearest_test_data): New array.
8186 (expm1_test_tonearest): New function.
8187 (expm1_towardzero_test_data): New array.
8188 (expm1_test_towardzero): New function.
8189 (expm1_downward_test_data): New array.
8190 (expm1_test_downward): New function.
8191 (expm1_upward_test_data): New array.
8192 (expm1_test_upward): New function.
8193 (main): Run the new test functions.
8194 * sysdeps/i386/fpu/libm-test-ulps: Update.
8195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8197 * include/features.h: Update comment documenting feature test
8198 macros. Mention _DEFAULT_SOURCE in comment.
8199 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8200 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8201 _BSD_SOURCE and _SVID_SOURCE.
8202 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8203 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8204 !_SVID_SOURCE]: Likewise.
8205 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8206 (__USE_POSIX_IMPLICITLY): Define.
8207 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8208 (_POSIX_SOURCE): Undefine and redefine.
8209 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8210 (_POSIX_C_SOURCE): Likewise.
8211 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8212 (Feature Test Macros): Update documentation of default features.
8214 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8216 * benchtests/Makefile: Add bench-strtok.
8217 * benchtests/bench-strtok.c: New file: strtok benchtest.
8219 2013-12-19 Allan McRae <allan@archlinux.org>
8221 * manual/install.texi: Suppress menu for plain text output.
8222 * INSTALL: Regenerated.
8224 2013-12-18 Brooks Moses <bmoses@google.com>
8227 * misc/getauxval.c: Include errno.h.
8228 (__getauxval): Set errno to ENOENT if the requested type is not
8230 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8231 don't declare with __attribute_const__.
8232 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8233 * manual/startup.texi: Document that getauxval sets errno.
8235 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8237 * math/auto-libm-test-in: Add tests of jn and yn.
8238 * math/auto-libm-test-out: Regenerated.
8239 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8240 (yn_test_data): Likewise.
8241 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8243 (func_calc_desc): Add mpfr_if_f union field.
8244 (FUNC_mpfr_if_f): New macro.
8245 (test_functions): Add jn and yn.
8246 (calc_generic_results): Assert type of second input for
8247 mpfr_ff_f. Handle mpfr_if_f.
8248 (output_for_one_input_case): Disable all checking for arguments
8249 fitting floating-point types in case of an integer argument.
8250 * sysdeps/i386/fpu/libm-test-ulps: Update.
8251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8254 Don't expect fegetround reference in libm.so.
8256 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8258 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8259 $(config-cflags-nofma).
8261 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8263 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8264 * math/auto-libm-test-out: Regenerated.
8267 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8268 to determine exponent and adjust argument to have exponent of -1.
8269 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8271 * math/auto-libm-test-out: Regenerated.
8272 * sysdeps/i386/fpu/libm-test-ulps: Update.
8273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8275 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
8277 * manual/probes.texi: Remove cases when per-thread arenas are
8280 2013-12-18 Andreas Schwab <schwab@suse.de>
8282 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8283 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8284 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8285 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8286 * sysdeps/i386/i686/multiarch/Makefile: Update.
8287 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8289 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8291 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8292 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8294 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8297 Support TZ transition times < 00:00:00.
8298 This is needed for version-3 tz-format files; it supports time
8299 stamps past 2037 for America/Godthab (the only entry in the tz
8300 database for which this change is relevant).
8301 * manual/time.texi (TZ Variable): Document transition times
8302 from -167:59:59 through -00:00:01.
8303 * time/tzset.c (tz_rule): Time of day is now signed.
8304 (__tzset_parse_tz): Parse negative time of day.
8306 Document TZ transition times >= 25:00:00.
8307 * manual/time.texi (TZ Variable): Document transition times from
8308 25:00:00 through 167:59:59. These are already supported, and this
8309 support will help with version-3 tz-format files.
8311 * manual/time.texi (TZ Variable): Modernize North America example
8312 to reflect current (i.e., 2007-and-later) daylight saving rules.
8314 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8316 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8318 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8319 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8322 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8323 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8324 * sysdeps/unix/bsd/clock.c: Likewise.
8325 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8326 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8327 * sysdeps/unix/bsd/init-posix.c: Likewise.
8328 * sysdeps/unix/bsd/poll.c: Likewise.
8329 * sysdeps/unix/bsd/ptsname.c: Likewise.
8330 * sysdeps/unix/bsd/seekdir.c: Likewise.
8331 * sysdeps/unix/bsd/setegid.c: Likewise.
8332 * sysdeps/unix/bsd/seteuid.c: Likewise.
8333 * sysdeps/unix/bsd/setgid.c: Likewise.
8334 * sysdeps/unix/bsd/setrgid.c: Likewise.
8335 * sysdeps/unix/bsd/setruid.c: Likewise.
8336 * sysdeps/unix/bsd/setsid.c: Likewise.
8337 * sysdeps/unix/bsd/setuid.c: Likewise.
8338 * sysdeps/unix/bsd/sigaction.c: Likewise.
8339 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8340 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8341 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8342 * sysdeps/unix/bsd/telldir.c: Likewise.
8343 * sysdeps/unix/bsd/times.c: Likewise.
8344 * sysdeps/unix/bsd/usleep.c: Likewise.
8346 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8347 ($(objpfx)libbsd-compat.a): Remove rule.
8349 * include/features.h (__FAVOR_BSD): Do not define.
8350 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8351 features conflicting with POSIX.
8352 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8353 (_BSD_SOURCE): Remove description of not being a subset of other
8354 feature test macros.
8355 * manual/job.texi (getpgrp): Do not document BSD version.
8356 (getpgid): Do not document by reference to BSD getpgrp.
8357 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8358 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8359 * signal/signal.h [__FAVOR_BSD]: Likewise.
8360 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8361 instead of making contents conditional on [__FAVOR_BSD].
8362 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8364 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8368 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8371 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8372 values below 2**-450, not 2**-500.
8373 * math/auto-libm-test-in: Don't allow spurious underflow from
8375 * math/auto-libm-test-out: Regenerated.
8379 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8380 values of ha and hb and sort them after adjusting subnormal
8382 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8384 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8385 values of ea and eb and sort them after adjusting subnormal
8387 * math/auto-libm-test-in: Do not expect some hypot tests of
8388 subnormals to fail. Add more hypot tests.
8389 * math/auto-libm-test-out: Regenerated.
8391 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8394 * sysdeps/sh/s_fma.c: New file.
8395 * sysdeps/sh/s_fmaf.c: New file.
8396 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8398 * sysdeps/sh/Implies: Add sh/soft-fp.
8400 2013-12-16 Roland McGrath <roland@hack.frob.com>
8402 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8403 level of indirection to members `objname', `errstring', `malloced'.
8404 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8405 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8406 it as the __longjmp argument (just pass 1 instead).
8407 (_dl_catch_error): Initialize C with argument pointers and address of
8408 volatile local ERRCODE rather than copying values out of C at return.
8410 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8412 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8413 * math/auto-libm-test-out: Regenerated.
8414 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8415 (hypot_test_data): Likewise.
8416 (pow_test_data): Likewise.
8417 (pow_tonearest_test_data): Likewise.
8418 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8420 (func_calc_desc): Add mpfr_ff_f union field.
8421 (FUNC_mpfr_ff_f): New macro.
8422 (test_functions): Add atan2, hypot and pow.
8423 (special_fill_min): New function.
8424 (special_fill_minus_min): Likewise.
8425 (special_fill_min_subnorm): Likewise.
8426 (special_fill_minus_min_subnorm): Likewise.
8427 (special_real_inputs): Add min, -min, min_subnorm and
8429 (calc_generic_results): Handle mpfr_ff_f.
8430 * sysdeps/i386/fpu/libm-test-ulps: Update.
8431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8433 2013-12-16 Will Newton <will.newton@linaro.org>
8435 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8436 (Aligned Memory Blocks): Add documentation for aligned_alloc
8437 and suggest it as an alternative to posix_memalign.
8438 (Hooks for Malloc): Document __memalign_hook is also called
8439 for aligned_alloc. (Summary of Malloc): Add summary for
8440 aligned alloc. Document __memalign_hook is also called
8443 2013-12-16 Will Newton <will.newton@linaro.org>
8445 * manual/memory.texi (Malloc Examples): Clarify default
8446 alignment documentation. Suggest posix_memalign rather
8447 than memalign or valloc.
8448 (Aligned Memory Blocks): Remove suggestion to use memalign
8449 or valloc. Remove obsolete comment about BSD.
8450 Document memalign errno values and mark the function obsolete.
8451 Document posix_memalign returned error codes. Mark valloc
8452 as obsolete. (Hooks for Malloc): __memalign_hook is also
8453 called for posix_memalign and valloc.
8454 (Summary of Malloc): Add posix_memalign to function summary.
8455 __memalign_hook is also called for posix_memalign and valloc.
8457 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8459 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8463 (sloww): Use mynumber union. Expand ternary operator into
8465 (cslow): use mynumber union.
8467 2013-12-16 Allan McRae <allan@archlinux.org>
8469 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8470 * configure: Regenerated.
8472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8475 * configure.ac: Added --enable-maintainer-mode. Check for
8476 autoconf when enabled.
8477 * configure: Regenerated.
8479 * nscd/nscd.service: New file.
8480 * nscd/nscd.tmpfiles: New file.
8482 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8485 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8486 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8487 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8488 (strstr): Add __strstr_sse2_unaligned ifunc.
8489 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8490 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8491 (strcasestr): Remove __strcasestr_sse42 ifunc.
8492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8496 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8498 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8499 * sysdeps/sh/bits/fenv.h: ... here.
8500 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8502 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8504 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8507 hypotf multiarch implementations.
8508 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8509 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8510 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8511 multiarch hypot for PPC64.
8512 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8513 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8514 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8515 multiarch hypotf for PPC64.
8517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8518 modff multiarch implementations.
8519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8522 multiarch modf for PPC64.
8523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8526 multiarch modff for PPC64.
8528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8529 and logl multiarch implementations.
8530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8533 multiarch logb for PPC64.
8534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8537 multiarch logb for PPC64.
8538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8541 multiarch logb for PPC64.
8543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8544 isinff multiarch implementation.
8545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8549 multiarch isinf for PPC64.
8550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8553 multiarch isinff for PPC64.
8555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8556 finitef multiarch implementation.
8557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8561 multiarch finite for PPC64.
8562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8565 multiarch finitef for PPC64.
8567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8568 lrint multiarch implementation.
8569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8573 multiarch llrint for PPC64.
8574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8575 multiarch lrint for PPC64.
8577 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8578 copysignf multiarch implementation.
8579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8584 multiarch copysign for PPC64.
8585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8586 multiarch copysignf for PPC64.
8588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8589 multiarch implementation.
8590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8598 multiarch llround for PPC64.
8599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8600 multiarch trunc for PPC64.
8601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8602 multiarch truncf for PPC64.
8604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8605 multiarch implementation.
8606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8614 multiarch llround for PPC64.
8615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8616 multiarch round for PPC64.
8617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8618 multiarch roundf for PPC64.
8620 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8621 multiarch implementation.
8622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8630 multiarch llround for PPC64.
8631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8632 multiarch floor for PPC64.
8633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8634 multiarch floorf for PPC64.
8636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8637 multiarch implementation.
8638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8646 multiarch llround for PPC64.
8647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8648 multiarch ceil for PPC64.
8649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8650 multiarch ceilf for PPC64.
8652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8653 multiarch implementation.
8654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8661 multiarch llround for PPC64.
8662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8663 multiarch lround for PPC64.
8665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8666 multiarch implementation.
8667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8674 multiarch isnan for PPC64.
8675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8676 multiarch isnanf for PPC64.
8678 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8679 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8680 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8681 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8682 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8685 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8686 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8691 multiarch implementations.
8692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8693 (__libc_ifunc_impl_list): Likewise.
8694 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8695 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8696 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8697 multiarch stpcpy for PPC64.
8699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8700 multiarch implementations.
8701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8702 (__libc_ifunc_impl_list): Likewise.
8703 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8704 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8705 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8706 multiarch strcpy for PPC64.
8708 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8709 redefine function name.
8710 (_wordcopy_fwd_dest_aligned): Likewise.
8711 (_wordcopy_bwd_aligned): Likewise.
8712 (_wordcopy_bwd_dest_aligned): Likewise.
8713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8714 multiarch implementations.
8715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8716 (__libc_ifunc_impl_list): Likewise.
8717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8718 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8719 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8720 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8721 multiarch wcscpy for PPC64.
8723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8724 multiarch implementations.
8725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8726 (__libc_ifunc_impl_list): Likewise.
8727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8728 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8729 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8730 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8731 multiarch wcscpy for PPC64.
8733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8734 multiarch implementations.
8735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8736 (__libc_ifunc_impl_list): Likewise.
8737 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8740 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8741 multiarch wcsrchr for PPC64.
8743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8744 multiarch implementations.
8745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8746 (__libc_ifunc_impl_list): Likewise.
8747 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8748 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8749 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8750 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8751 multiarch wcschr for PPC64.
8753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8754 multiarch implementations.
8755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8756 (__libc_ifunc_impl_list): Likewise.
8757 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8758 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8759 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8760 multiarch strchrnul for PPC64.
8762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8765 (__libc_ifunc_impl_list): Likewise.
8766 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8767 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8768 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8769 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8775 (__libc_ifunc_impl_list): Likewise.
8776 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8777 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8779 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8783 multiarch implementations.
8784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8785 (__libc_ifunc_impl_list): Likewise.
8786 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8787 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8788 strncasecmp for PPC64.
8789 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8790 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8791 multiarch strncasecmp_l for PPC64.
8793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8794 multiarch implementations.
8795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8796 (__libc_ifunc_impl_list): Likewise.
8797 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8798 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8799 multiarch strcasecmp for PPC64.
8800 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8803 multiarch strcasecmp_l for PPC64.
8805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8808 (__libc_ifunc_impl_list): Likewise.
8809 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8810 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8811 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8817 (__libc_ifunc_impl_list): Likewise.
8818 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8819 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8820 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8826 (__libc_ifunc_impl_list): Likewise.
8827 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8828 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8829 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8830 rawmemrchr for PPC64.
8832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8835 (__libc_ifunc_impl_list): Likewise.
8836 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8837 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8838 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8844 (__libc_ifunc_impl_list): Likewise.
8845 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8846 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8847 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8853 (__libc_ifunc_impl_list): Likewise.
8854 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8855 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8856 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8859 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8860 avoid cretion of __bzero symbol.
8861 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8863 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8865 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8868 multiarch implementations.
8869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8870 (__libc_ifunc_impl_list): Likewise.
8871 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8872 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8873 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8874 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8876 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8877 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8878 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8879 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8880 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8882 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8884 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8888 (__libc_ifunc_impl_list): Likewise.
8889 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8890 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8891 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8892 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8896 multiarch for POWER/PPC64.
8897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8898 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8899 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8900 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8901 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8902 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8903 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8905 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8908 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8909 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8910 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8911 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8912 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8913 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8914 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8915 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8916 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8917 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8918 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8919 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8920 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8921 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8922 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8931 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8933 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8935 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8937 * benchtests/Makefile (bench): Add exp2 and log2.
8938 (LDLIBS-bench-exp2): Add -lm.
8939 (LDLIBS-bench-log2): Likewise.
8940 * benchtests/exp2-inputs: New inputs file.
8941 * benchtests/log2-inputs: New inputs file.
8942 * benchtests/log-inputs: Add new inputs.
8943 * benchtests/tan-inputs: Likewise.
8945 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8947 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8949 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8950 (csloww2): ... from here.
8952 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8953 instead of structures.
8954 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8955 (POLYNOMIAL): Likewise.
8956 (TAYLOR_SLOW): Likewise.
8964 (bsloww1): Likewise.
8965 (bsloww2): Likewise.
8968 (csloww1): Likewise.
8969 (csloww2): Likewise.
8971 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8973 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8974 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8975 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8976 * malloc/hooks.c (realloc_check): Likewise.
8978 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8979 * malloc/arena.c: Remove PER_THREAD conditional.
8980 [!PER_THREAD]: Remove code.
8981 (ptmalloc_unlock_all2): Likewise.
8982 (ptmalloc_init): Likewise.
8983 (_int_new_arena): Likewise.
8984 (arena_get2): Likewise.
8985 * malloc/hooks.c (__malloc_get_state): Likewise.
8986 (__malloc_set_state): Likewise.
8987 * malloc/malloc.c: Likewise.
8988 (struct malloc_state): Likewise.
8989 (struct malloc_par): Likewise.
8990 (__libc_realloc): Likewise.
8991 (__libc_mallopt): Likewise.
8993 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8995 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8997 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8999 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9000 macro to a function. Check for zero perturb_byte.
9001 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9003 * malloc/malloc.c: (force_reg): Remove.
9004 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9005 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9006 force_reg by atomic_forced_read.
9007 * malloc/arena.c (ptmalloc_init): Likewise.
9008 * malloc/hooks.c (top_check): Likewise.
9010 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9014 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9018 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9020 * math/auto-libm-test-in: Add tests of lgamma.
9021 * math/auto-libm-test-out: Regenerated.
9022 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9023 (M_LOG_2_SQRT_PIl): Likewise.
9024 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9025 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9027 (func_calc_desc): Add mpfr_f_f1 union field.
9036 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9037 (test_functions): Add lgamma.
9038 (calc_generic_results): Handle mpfr_f_f1.
9039 * sysdeps/i386/fpu/libm-test-ulps: Update.
9040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9042 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9044 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9045 __mpn_add_n for PowerPC64/POWER7.
9046 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9047 __mpn_sub_n for PowerPC64/POWER7.
9049 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9050 __mpn_addmul_1 for PowerPC64.
9051 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9052 __mpn_submul_1 for PowerPC64.
9053 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9055 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9058 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9061 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9063 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9065 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9067 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9068 add multiarch folders.
9069 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9070 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9071 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9072 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9073 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9074 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9075 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9076 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9077 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9078 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9079 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9088 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9094 multiarch __ieee754_hypot for PowerPC32.
9095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9100 multiarch __ieee754_hypotf for PowerPC32.
9102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9103 long_double_symbol only if __logbl is defined.
9104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9105 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9107 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9109 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9111 path for implementation.
9112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9113 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9115 logb, and logbl multiarch implementations for PowerPC32.
9116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9121 multiarch logb for PowerPC32.
9122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9127 multiarch logbf for PowerPC32.
9128 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9132 multiarch logbl implementation for PowerPC32.
9134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9135 and modff multiarch implementations.
9136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9141 multiarch modf for PowerPC32.
9142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9147 multiarch modff for PowerPC32.
9149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9150 and lrintf multiarch implementations.
9151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9156 multiarch lrint for PowerPC32.
9157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9158 file: multiarch lrintf for PowerPC32.
9160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9161 and lroundf multiarch implementations.
9162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9169 multiarch lround for PowerPC32.
9170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9171 file: multiarch lroundf for PowerPC32.
9173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9174 copysign and copysignf multiarch implementations.
9175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9180 file: multiarch copysign for PowerPC32.
9181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9182 file: multiarch copysignf for PowerPC32.
9184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9185 and truncf multiarch implementations.
9186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9191 multiarch trunc for PowerPC32.
9192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9197 multiarch truncf for PowerPC32.
9199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9200 and roundf multiarch implementations.
9201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9206 multiarch round for PowerPC32.
9207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9212 multiarch roundf for PowerPC32.
9214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9215 and floorf multiarch implementations.
9216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9221 multiarch floor for PowerPC32.
9222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9227 multiarch floorf for PowerPC32.
9229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9230 and ceilf multiarch implementations.
9231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9236 multiarch ceil for PowerPC32.
9237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9242 multiarch ceilf for PowerPC32.
9244 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9246 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9249 and finitef multiarch implementations.
9250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9255 multiarch finite for PowerPC32.
9256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9259 file: multiarch finitef for PowerPC32.
9261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9262 and isinff multiarch implementations.
9263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9268 multiarch isinf for PowerPC32.
9269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9272 multiarch isinff for PowerPC32.
9274 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9275 alias when __isnan is defined.
9276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9277 and isnanf multiarch implementations.
9278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9287 multiarch isnan for PowerPC32.
9288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9293 multiarch isnanf for PowerPC32.
9295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9296 and sqrtf multiarch implementations.
9297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9302 multiarch sqrt for PowerPC32.
9303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9308 multiarch sqrtf for PowerPC32.
9310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9311 and llroundf multiarch implementations.
9312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9319 file: multiarch llround for PowerPC32.
9320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9321 file: multiarch llroundf for PowerPC32.
9323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9324 multiarch PowerPC32 fpu implementations.
9325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9330 multiarch llrint for PowerPC32.
9331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9340 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9342 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9344 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9346 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9347 multiarch wordcopy for PPC32.
9348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9351 (__libc_ifunc_impl_list): Likewise.
9352 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9353 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9355 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9356 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9357 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9359 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9367 multiarch wcscpy for PPC32.
9368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9371 (__libc_ifunc_impl_list): Likewise.
9372 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9373 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9374 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9375 sysdeps/powerpc/power6/wcscpy.c.
9377 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9385 multiarch wcsrchr for PPC32.
9386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9389 (__libc_ifunc_impl_list): Likewise.
9390 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9391 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9392 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9393 sysdeps/powerpc/power6/wcsrchr.c.
9395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9401 multiarch wcschr for PPc32.
9402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9405 (__libc_ifunc_impl_list): Likewise.
9406 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9407 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9408 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9409 sysdeps/powerpc/power6/wcschr.c.
9411 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9412 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9414 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9415 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9416 file: multiarch strchr for PPC32.
9417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9420 (__libc_ifunc_impl_list): Likewise.
9422 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9424 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9426 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9428 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9429 multiarch strchrnul for PPC32.
9430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9433 (__libc_ifunc_impl_list): Likewise.
9435 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9437 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9438 multiarch strncasecmp for PPC32.
9439 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9441 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9442 multiarch strncasecmp_l for PPC32.
9443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9444 strncasecmp multiarch objects.
9445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9446 (__libc_ifunc_impl_list): Likewise.
9448 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9450 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9451 multiarch strncasecmp for PPC32.
9452 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9454 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9455 multiarch strcasecmp_l for PPC32.
9456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9459 (__libc_ifunc_impl_list): Likewise.
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9463 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9465 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9466 multiarch strncmp for PPC32.
9467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9470 (__libc_ifunc_impl_list): Likewise.
9472 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9473 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9475 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9476 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9480 (__libc_ifunc_impl_list): Likewise.
9482 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9484 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9486 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9490 (__libc_ifunc_impl_list): Likewise.
9492 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9494 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9496 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9497 multiarch rawmemchr for PPC32.
9498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9501 (__libc_ifunc_impl_list): Likewise.
9503 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9505 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9507 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9508 file: memrchr multiarch for PPC32.
9509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9512 (__libc_ifunc_impl_list): Likewise.
9514 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9515 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9517 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9518 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9519 multiarch memchr for PPC32.
9520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9523 (__libc_ifunc_impl_list): Likewise.
9525 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9526 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9528 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9530 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9531 file: multiarch mempcpy for PPC32.
9532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9535 (__libc_ifunc_impl_list): Likewise.
9537 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9538 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9539 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9540 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9541 multiarch bzero for PPC32.
9542 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9544 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9546 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9547 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9548 file: multiarch memset for PPC32.
9549 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9551 memset multiarch objects.
9552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9553 (__libc_ifunc_impl_list): Likewise.
9555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9558 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9560 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9564 (__libc_ifunc_impl_list): Likewise.
9566 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9574 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9575 multiarch memcpy for PPC32.
9576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9579 (__libc_ifunc_impl_list): Likewise.
9581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9582 support multiarch for POWER/PPC32.
9583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9585 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9587 Implies file to make multiarch folder appers before the fpu and
9588 default folder for power4 configuration.
9590 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9592 * scripts/bench.pl: Append volatile keyword to type.
9594 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9596 * sysdeps/sh/sotruss-lib.c: New file.
9597 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9599 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9603 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9606 * math/w_tgamma.c: Include <errno.h>.
9607 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9608 * math/w_tgammaf.c: Include <errno.h>.
9609 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9610 * math/w_tgammal.c: Include <errno.h>.
9611 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9612 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9613 underflow. Add more tgamma tests.
9614 * math/auto-libm-test-out: Regenerated.
9615 * sysdeps/i386/fpu/libm-test-ulps: Update.
9616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9618 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9619 sin, sinh, tan, tanh, tgamma, y0 and y1.
9620 * math/auto-libm-test-out: Regenerated.
9621 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9622 (TEST_COND_x86): Likewise.
9623 (M_E2l): Remove macro.
9625 (M_2_SQRT_PIl): Likewise.
9626 (M_SQRT_PIl): Likewise.
9627 (M_1_DIV_El): Likewise.
9628 (log_test_data): Use AUTO_TESTS_f_f.
9629 (log10_test_data): Likewise.
9630 (log1p_test_data): Likewise.
9631 (log2_test_data): Likewise.
9632 (sin_test_data): Likewise.
9633 (sin_tonearest_test_data): Likewise.
9634 (sin_towardzero_test_data): Likewise.
9635 (sin_downward_test_data): Likewise.
9636 (sin_upward_test_data): Likewise.
9637 (sinh_test_data): Likewise.
9638 (sinh_tonearest_test_data): Likewise.
9639 (sinh_towardzero_test_data): Likewise.
9640 (sinh_downward_test_data): Likewise.
9641 (sinh_upward_test_data): Likewise.
9642 (tan_test_data): Likewise.
9643 (tan_tonearest_test_data): Likewise.
9644 (tan_towardzero_test_data): Likewise.
9645 (tan_downward_test_data): Likewise.
9646 (tan_upward_test_data): Likewise.
9647 (tanh_test_data): Likewise.
9648 (tgamma_test_data): Likewise.
9649 (y0_test_data): Likewise.
9650 (y1_test_data): Likewise.
9651 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9652 (special_real_inputs): Add pi/4.
9653 * sysdeps/i386/fpu/libm-test-ulps: Update.
9654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9656 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9658 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9659 "longjmp_target" static probes.
9660 (__longjmp): Rename to __longjmp_symbol.
9661 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9662 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9663 on which longjmp to generate.
9664 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9665 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9667 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9668 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9669 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9670 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9671 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9672 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9674 __longjmp_symbol based on which __longjmp to generate.
9675 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9677 (setjmp): Rename to setjmp_symbol.
9678 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9679 (_setjmp): Rename to _setjmp_symbol.
9680 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9681 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9682 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9683 which setjmp to generate.
9684 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9685 "longjmp_target" static probes.
9687 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9689 * benchtests/README: Add note about output arguments.
9690 * benchtests/bench-sincos.c: Remove file.
9691 * benchtests/sincos-inputs: New file.
9692 * scripts/bench.pl: Identify output arguments and define
9693 static variables for them.
9695 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9698 * Makefile (INSTALL): Add install-plain.texi as the primary
9700 * manual/install-plain.texi: New file.
9701 * manual/install.texi: Include node directive only for
9702 non-plaintext output.
9704 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9706 * stdlib/longlong.h: Update from GCC.
9710 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9711 * math/w_j0f.c (y0f): Likewise.
9712 * math/w_j0l.c (__y0l): Likewise.
9713 * math/w_j1.c (y1): Likewise.
9714 * math/w_j1f.c (y1f): Likewise.
9715 * math/w_j1l.c (__y1l): Likewise
9716 * math/w_jn.c (yn): Likewise.
9717 * math/w_jnf.c (ynf): Likewise.
9718 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9719 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9720 value for Bessel function domain errors outside _SVID_ mode.
9721 Adjust sign of return value for yn (negative integer, 0).
9722 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9723 by zero in return for negative x and set sign appropriately for
9725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9726 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9727 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9728 expectations in error cases.
9729 (y1_test_data): Likewise.
9730 (yn_test_data): Likewise.
9731 * sysdeps/i386/fpu/libm-test-ulps: Update.
9732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9734 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9736 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9737 "64" to "64-v1". Add "64-v2".
9738 (abi-64-options): Rename to ...
9739 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9740 (abi-64-condition): Rename to ...
9741 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9742 (abi-64-ld-soname): Rename to ...
9743 (abi-64-v1-ld-soname): ... this.
9744 (abi-64-v2-options): Define.
9745 (abi-64-v2-condition): Likewise.
9746 (abi-64-v2-ld-soname): Likewise.
9747 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9748 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9753 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9754 Alan Modra <amodra@gmail.com>
9756 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9757 New versions for use with the ELFv2 ABI.
9758 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9759 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9761 (struct La_ppc64v2_retval): Likewise.
9762 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9763 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9764 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9765 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9766 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9767 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9768 Do not save or restore CR.
9769 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9770 (_dl_profile_resolve): Do no save or restore CR. Support extended
9771 return values for ELFv2 ABI. Fix location of FPR return registers.
9772 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9773 updated values for _CALL_ELF == 2.
9774 (La_regs, La_retval, int_retval): Likewise.
9776 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9778 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9779 (FRAME_MIN_SIZE_PARM): Likewise.
9780 (FRAME_BACKCHAIN): Likewise.
9781 (FRAME_CR_SAVE): Likewise.
9782 (FRAME_LR_SAVE): Likewise.
9783 (FRAME_TOC_SAVE): Likewise.
9784 (FRAME_PARM_SAVE): Likewise.
9785 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9786 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9787 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9788 (call_mcount_parm_offset): New macro.
9789 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9790 (PROF): Use symbolic stack frame offsets.
9791 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9792 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9793 Redefine in terms of FRAME_MIN_SIZE.
9794 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9795 (_dl_profile_resolve): Likewise. Update comment.
9796 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9797 symbols stack frame offsets.
9798 (__sigsetjmp): Likewise.
9799 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9800 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9801 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9802 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9805 (FRAME_BACKCHAIN): Remove.
9806 (FRAME_CR_SAVE): Likewise.
9807 (FRAME_LR_SAVE): Likewise.
9808 (FRAME_COMPILER_DW): Likewise.
9809 (FRAME_LINKER_DW): Likewise.
9810 (FRAME_TOC_SAVE): Likewise.
9811 (FRAME_PARM_SAVE): Likewise.
9812 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9813 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9814 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9816 (CHECK_SP): Use symbolic stack frame offsets.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9818 zone" instead of caller's parameter save area for temp storage.
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9820 Likewise. Also, use symbolic stack frame offsets.
9821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9822 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9823 our own stack frame instead of the caller's.
9824 (__socket): Use symbolic stack frame offsets.
9826 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9827 Alan Modra <amodra@gmail.com>
9829 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9831 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9832 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9833 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9835 (elf_machine_fixup_plt): Call it.
9836 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9838 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9839 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9840 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9841 r2 before calling target.
9843 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9844 Alan Modra <amodra@gmail.com>
9846 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9847 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9848 versions of macros to support ELFv2 ABI.
9849 (LOCALENTRY): New macro.
9850 (ENTRY, EALIGN): Use it.
9851 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9852 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9853 fall through into ENTRY entry point.
9854 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9855 Only define if _CALL_ELF != 2.
9857 (elf_machine_matches_host): Verify ABI version matches.
9858 (RTLD_START): Use LOCALENTRY.
9859 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9860 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9861 (PLT_ENTRY_WORDS): New macro.
9862 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9863 (elf_machine_runtime_setup): Support ELFv2 ABI.
9864 (elf_machine_fixup_plt): Likewise.
9865 (elf_machine_plt_conflict): Likewise.
9866 (resolve_ifunc): Likewise.
9867 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9868 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9871 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9873 (makecontext): Support ELFv2 ABI.
9874 * elf/elf.h (EF_PPC64_ABI): Define.
9876 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9878 * sysdeps/powerpc/powerpc64/sysdep.h
9879 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9880 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9881 (ENTRY) [ASSEMBLER]: ... but instead here ...
9882 (EALIGN) [ASSEMBLER]: ... and here.
9883 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9884 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9885 (ENTRY_2) [!ASSEMBLER]: Use it.
9886 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9887 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9888 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9889 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9890 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9892 Use PPC64_LOAD_FUNCPTR.
9894 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9896 2013-12-04 Alan Modra <amodra@gmail.com>
9898 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9899 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9900 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9901 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9903 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9904 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9905 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9906 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9907 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9908 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9910 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9913 (__makecontext): Fix incorrect CFI when backtracing out of
9914 context created via makecontext.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9916 (__setcontext): Fix incorrect CFI during switch to new context.
9917 (__novec_setcontext): Likewise.
9919 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9922 * time/strptime_l.c (__strptime_internal): Allow modifiers
9924 * time/tst-strptime.c (day_tests): Add testcase.
9926 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9928 * scripts/bench.pl: Skip over blank lines.
9930 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9933 * manual/time.texi (Calendar Time): Clarify what timezone functions
9936 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9940 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9942 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9944 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9945 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9946 * debug/memset_chk.c (__memset_chk): Likewise.
9947 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9948 * debug/strncpy_chk.c: Likewise.
9950 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9954 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9955 (__ieee754_exp): For possibly underflowing results, check size of
9956 result and force underflow exception if required.
9957 * math/auto-libm-test-in: Add more tests of exp.
9958 * math/auto-libm-test-out: Regenerated.
9959 * sysdeps/i386/fpu/libm-test-ulps: Update.
9960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9963 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9964 * math/w_exp2f.c (__exp2f): Likewise.
9965 * math/w_exp2l.c (__exp2l): Likewise.
9966 * math/auto-libm-test-in: Do not allow missing errno on exp2
9968 * math/auto-libm-test-out: Regenerated.
9970 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9973 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9974 handle filename validation.
9975 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9978 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9981 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9982 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9983 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9985 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9986 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9987 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9989 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9990 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9991 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9992 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9993 Add more erfc tests.
9994 * math/auto-libm-test-out: Regenerated.
9995 * sysdeps/i386/fpu/libm-test-ulps: Update.
9996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9998 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9999 exp2, expm1, j0 and j1.
10000 * math/auto-libm-test-out: Regenerated.
10001 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10002 (erfc_test_data): Likewise.
10003 (exp_test_data): Likewise.
10004 (exp_tonearest_test_data): Likewise.
10005 (exp_towardzero_test_data): Likewise.
10006 (exp_downward_test_data): Likewise.
10007 (exp_upward_test_data): Likewise.
10008 (exp10_test_data): Likewise.
10009 (exp2_test_data): Likewise.
10010 (expm1_test_data): Likewise.
10011 (j0_test_data): Likewise.
10012 (j1_test_data): Likewise.
10013 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10014 (input_flag_type): Add flag_xfail_rounding.
10015 (input_flags): Add xfail-rounding.
10016 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10017 (output_for_one_input_case): Handle flag_xfail_rounding.
10018 * sysdeps/i386/fpu/libm-test-ulps: Update.
10019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10024 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10027 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10030 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10031 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10032 (STAP_PROBE0): New macro.
10033 (STAP_PROBE1): Likewise.
10034 (STAP_PROBE2): Likewise.
10035 (STAP_PROBE3): Likewise.
10036 (STAP_PROBE4): Likewise.
10038 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10040 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10042 2013-12-02 Steve Ellcey <sellcey@mips.com>
10044 * benchtests/Makefile (bench): Add sqrt.
10045 (LDLIBS-bench-sqrt): New.
10046 * benchtests/sqrt-input: New.
10048 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10050 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10051 (GAIH_EAI): Likewise.
10052 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10053 (gaih_inet): Likewise.
10054 (getaddrinfo): Don't use GAIH_EAI.
10056 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10057 (struct gaih): Remove definition.
10059 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10061 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10062 Use HERRNOP directly.
10064 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10068 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10070 * math/gen-auto-libm-tests.c (test_functions): Add more
10071 single-argument functions.
10072 (special_fill_pi_2): New function.
10073 (special_fill_minus_pi_2): Likewise.
10074 (special_fill_pi_6): Likewise.
10075 (special_fill_minus_pi_6): Likewise.
10076 (special_fill_pi_3): Likewise.
10077 (special_fill_2pi_3): Likewise.
10078 (special_fill_e): Likewise.
10079 (special_fill_1_e): Likewise.
10080 (special_fill_e_minus_1): Likewise.
10081 (special_real_inputs): Add more special inputs.
10082 (output_for_one_input_case): Do not require ERANGE on underflow to
10083 zero if round-to-nearest result does not underflow to zero, unless
10084 exact results required.
10085 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10086 atan, atanh, cbrt, cos and cosh.
10087 * math/auto-libm-test-out: Regenerated.
10088 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10089 (acos_tonearest_test_data): Likewise.
10090 (acos_towardzero_test_data): Likewise.
10091 (acos_downward_test_data): Likewise.
10092 (acos_upward_test_data): Likewise.
10093 (acosh_test_data): Likewise.
10094 (asin_test_data): Likewise.
10095 (asin_tonearest_test_data): Likewise.
10096 (asin_towardzero_test_data): Likewise.
10097 (asin_upward_test_data): Likewise.
10098 (asinh_test_data): Likewise.
10099 (atan_test_data): Likewise.
10100 (atanh_test_data): Likewise.
10101 (cbrt_test_data): Likewise.
10102 (cos_test_data): Likewise.
10103 (cos_tonearest_test_data): Likewise.
10104 (cos_towardzero_test_data): Likewise.
10105 (cos_downward_test_data): Likewise.
10106 (cos_upward_test_data): Likewise.
10107 (cosh_test_data): Likewise.
10108 (cosh_tonearest_test_data): Likewise.
10109 (cosh_towardzero_test_data): Likewise.
10110 (cosh_downward_test_data): Likewise.
10111 (cosh_upward_test_data): Likewise.
10112 * sysdeps/i386/fpu/libm-test-ulps: Update.
10113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10115 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10118 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10119 * math/w_exp10f.c (__exp10f): Likewise.
10120 * math/w_exp10l.c (__exp10l): Likewise.
10121 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10122 errno settings in existing tests.
10125 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10126 precision control set to double precision.
10127 * sysdeps/i386/fpu/w_sqrt.c: New file.
10128 * math/auto-libm-test-in: Add more tests.
10129 * math/auto-libm-test-out: Update.
10131 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10132 (sqrt_test_tonearest): New function.
10133 (sqrt_towardzero_test_data): New variable.
10134 (sqrt_test_towardzero): New function.
10135 (sqrt_downward_test_data): New variable.
10136 (sqrt_test_downward): New function.
10137 (sqrt_upward_test_data): New variable.
10138 (sqrt_test_upward): New function.
10139 (main): Call the new functions.
10141 * math/gen-auto-libm-tests.c: New file.
10142 * math/auto-libm-test-in: Likewise.
10143 * math/auto-libm-test-out: New generated file.
10144 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10146 (%beautify): Add generated representations of zero.
10147 (top level): Set $auto_input and call parse_auto_input.
10148 (beautify): Remove trailing "f" from hex float constants.
10149 (parse_args): Handle XFAIL_TEST.
10150 (convert_condition): New function.
10151 (or_value): Likewise.
10152 (or_cond_value): Likewise.
10153 (generate_testfile): Handle AUTO_TESTS_* lines.
10154 (parse_auto_input): New function.
10155 * math/libm-test.inc (XFAIL_TEST): New macro.
10156 (ERRNO_UNCHANGED): Update value.
10157 (ERRNO_EDOM): Likewise.
10158 (ERRNO_ERANGE): Likewise.
10159 (IGNORE_RESULT): Likewise.
10160 (TEST_COND_flt_32): New macro.
10161 (TEST_COND_dbl_64): Likewise.
10162 (TEST_COND_ldbl_96_intel): Likewise.
10163 (TEST_COND_ldbl_96_m68k): Likewise.
10164 (TEST_COND_ldbl_128): Likewise.
10165 (TEST_COND_ldbl_128ibm): Likewise.
10166 (TEST_COND_long32): Likewise.
10167 (TEST_COND_long64): Likewise.
10168 (TEST_COND_before_rounding): Likewise.
10169 (TEST_COND_after_rounding): Likewise.
10170 (enable_test): Handle XFAIL_TEST flag.
10171 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10172 with finite results.
10173 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10174 auto-libm-test-out.
10176 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10177 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10180 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10181 __tls_get_addr_internal instead of __tls_get_offset in order to
10182 avoid GOT pointer dependency. Make rtld export
10183 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10184 __tls_get_addr since we are a __tls_get_offset platform.
10185 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10186 GOT pointer being set up before.
10187 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10189 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10191 * manual/math.texi (Errors in Math Functions): Document accuracy
10195 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10196 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10199 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10201 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10212 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10213 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10214 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10215 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10216 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10218 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10220 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10222 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10223 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10224 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10225 atomic-feupdateenv and flt-rounds.
10226 * sysdeps/powerpc/nofpu/Versions (libc): Add
10227 __atomic_feholdexcept, __atomic_feclearexcept,
10228 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10229 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10230 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10231 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10232 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10237 * manual/arith.texi (FP Exceptions): Document that exceptions may
10238 not be raised when matherr is used.
10239 (Math Error Reporting): Document overflow in directed rounding
10240 modes. Document that errno may not be set when finite values are
10241 returned on overflow. Document intent to set errno on underflow
10242 only for underflow to zero.
10245 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10246 round-to-nearest then adjust result for other rounding modes.
10247 * include/fenv.h (fegetround): Use libm_hidden_proto.
10248 * math/fegetround.c (fegetround): Use libm_hidden_def.
10249 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10250 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10251 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10252 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10254 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10255 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10256 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10257 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10259 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10262 * nss/Versions (libnss_files): Add
10263 _nss_files_gethostbyname3_r.
10264 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10266 (HOST_DB_LOOKUP): Remove macro.
10267 (_nss_files_gethostbyname_r): Implement function without the
10268 HOST_DB_LOOKUP macro.
10269 (_nss_files_gethostbyname2_r): Likewise.
10271 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
10273 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10275 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
10277 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10278 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10281 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10283 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10284 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10285 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10286 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10287 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10288 __fe_nomask_env_priv and attribute_hidden.
10289 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10290 (libc_feupdateenv_test_ppc): Likewise.
10291 (libc_feresetround_ppc): Likewise.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10293 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10294 compat_symbol macro.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10296 (__fe_nomask_env): Likewise.
10297 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10299 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10301 * string/Makefile: Remove ifunc tests.
10302 * string/test-string.h: Define TEST_IFUNC.
10303 * string/test-bcopy-ifunc.c: Remove.
10304 * string/test-bzero-ifunc.c: Likewise.
10305 * string/test-memccpy-ifunc.c: Likewise.
10306 * string/test-memchr-ifunc.c: Likewise.
10307 * string/test-memcmp-ifunc.c: Likewise.
10308 * string/test-memcpy-ifunc.c: Likewise.
10309 * string/test-memmem-ifunc.c: Likewise.
10310 * string/test-memmove-ifunc.c: Likewise.
10311 * string/test-mempcpy-ifunc.c: Likewise.
10312 * string/test-memrchr-ifunc.c: Likewise.
10313 * string/test-memset-ifunc.c: Likewise.
10314 * string/test-rawmemchr-ifunc.c: Likewise.
10315 * string/test-stpcpy-ifunc.c: Likewise.
10316 * string/test-stpncpy-ifunc.c: Likewise.
10317 * string/test-strcasecmp-ifunc.c: Likewise.
10318 * string/test-strcasestr-ifunc.c: Likewise.
10319 * string/test-strcat-ifunc.c: Likewise.
10320 * string/test-strchr-ifunc.c: Likewise.
10321 * string/test-strchrnul-ifunc.c: Likewise.
10322 * string/test-strcmp-ifunc.c: Likewise.
10323 * string/test-strcpy-ifunc.c: Likewise.
10324 * string/test-strcspn-ifunc.c: Likewise.
10325 * string/test-strlen-ifunc.c: Likewise.
10326 * string/test-strncasecmp-ifunc.c: Likewise.
10327 * string/test-strncat-ifunc.c: Likewise.
10328 * string/test-strncmp-ifunc.c: Likewise.
10329 * string/test-strncpy-ifunc.c: Likewise.
10330 * string/test-strnlen-ifunc.c: Likewise.
10331 * string/test-strpbrk-ifunc.c: Likewise.
10332 * string/test-strrchr-ifunc.c: Likewise.
10333 * string/test-strspn-ifunc.c: Likewise.
10334 * string/test-strstr-ifunc.c: Likewise.
10336 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10338 * benchtests/Makefile: Remove ifunc tests.
10339 * benchtests/bench-string.h: Define TEST_IFUNC.
10340 * benchtests/bench-bcopy-ifunc.c: Remove.
10341 * benchtests/bench-bzero-ifunc.c: Likewise.
10342 * benchtests/bench-memccpy-ifunc.c: Likewise.
10343 * benchtests/bench-memchr-ifunc.c: Likewise.
10344 * benchtests/bench-memcmp-ifunc.c: Likewise.
10345 * benchtests/bench-memcpy-ifunc.c: Likewise.
10346 * benchtests/bench-memmem-ifunc.c: Likewise.
10347 * benchtests/bench-memmove-ifunc.c: Likewise.
10348 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10349 * benchtests/bench-memrchr-ifunc.c: Likewise.
10350 * benchtests/bench-memset-ifunc.c: Likewise.
10351 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10352 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10353 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10354 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10355 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10356 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10357 * benchtests/bench-strcat-ifunc.c: Likewise.
10358 * benchtests/bench-strchr-ifunc.c: Likewise.
10359 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10360 * benchtests/bench-strcmp-ifunc.c: Likewise.
10361 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10362 * benchtests/bench-strcpy-ifunc.c: Likewise.
10363 * benchtests/bench-strcspn-ifunc.c: Likewise.
10364 * benchtests/bench-strlen-ifunc.c: Likewise.
10365 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10366 * benchtests/bench-strncat-ifunc.c: Likewise.
10367 * benchtests/bench-strncmp-ifunc.c: Likewise.
10368 * benchtests/bench-strncpy-ifunc.c: Likewise.
10369 * benchtests/bench-strnlen-ifunc.c: Likewise.
10370 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10371 * benchtests/bench-strrchr-ifunc.c: Likewise.
10372 * benchtests/bench-strsep-ifunc.c: Likewise.
10373 * benchtests/bench-strspn-ifunc.c: Likewise.
10374 * benchtests/bench-strstr-ifunc.c: Likewise.
10376 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10378 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10380 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10382 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10383 * rt/aio.h: Likewise.
10384 * sysdeps/gnu/bits/utmp.h: Likewise.
10385 * sysdeps/gnu/bits/utmpx.h: Likewise.
10386 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10387 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10388 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10389 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10390 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10391 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10392 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10393 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10394 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10396 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10398 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10400 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10401 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10402 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10403 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10404 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10405 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10406 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10407 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10408 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10409 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10410 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10412 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10413 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10414 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10415 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10417 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10418 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10419 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10420 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10421 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10422 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10423 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10424 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10425 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10426 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10427 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10429 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10432 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10433 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10435 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10437 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10438 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10441 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10444 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10445 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10446 (__fesetround): Remove define.
10447 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10448 rounding and exceptions handling.
10449 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10450 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10451 (__fe_nomask_env): Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10453 __fegetround instead of fegetround.
10454 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10457 2013-11-21 Roland McGrath <roland@hack.frob.com>
10459 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10462 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10464 2013-11-21 Meador Inge <meadori@codesourcery.com>
10467 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10468 (encrypt_r): Likewise.
10469 * malloc/obstack.h (obstack_free): Likewise.
10470 * posix/unistd.h (encrypt): Likewise.
10472 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10474 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10475 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10476 DL_CALL_DT_FINI() that call the functions directly.
10477 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10478 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10479 * elf/dl-fini.c: Likewise.
10481 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10483 * malloc/hooks.c (memalign_check): Add alignment rounding.
10484 * malloc/malloc.c (_mid_memalign): New function.
10485 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10486 Implement by calling _mid_memalign.
10487 * manual/probes.texi (Memory Allocation Probes): Remove
10488 memory_valloc_retry and memory_pvalloc_retry.
10490 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10492 * locale/programs/locarchive.c (open_archive): Add const
10493 qualifier to ARCHIVEFNAME and copy default fname to
10497 * libio/tst-widetext.input: Rename Oriya to Odia.
10498 * locale/iso-639.def: Likewise.
10500 * manual/probes.texi (Mathematical Function Probes): Add
10501 documentation for sin, cos, asin and acos probes.
10502 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10503 (__sin32): Add slowasin probe.
10504 (__cos32): Add slowacos probe.
10505 (__mpsin): Add slowsin probe.
10506 (__mpcos): Add slowcos probe.
10508 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10511 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10512 thread-local __sim_exceptions_thread and global
10513 __sim_exceptions_global.
10514 (__sim_disabled_exceptions): Change to thread-local
10515 __sim_disabled_exceptions_thread and global
10516 __sim_disabled_exceptions_global.
10517 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10518 and global __sim_round_mode_global.
10519 (__simulate_exceptions): Use thread-local floating-point state and
10520 set global state from it as needed.
10521 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10522 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10523 __sim_round_mode_thread.
10524 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10525 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10526 and global __sim_exceptions_global.
10527 (__sim_disabled_exceptions): Change to thread-local
10528 __sim_disabled_exceptions_thread and global
10529 __sim_disabled_exceptions_global.
10530 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10531 and global __sim_round_mode_global.
10532 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10533 (SIM_SET_GLOBAL): Likewise.
10534 * sysdeps/powerpc/soft-fp/sfp-machine.h
10535 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10536 __sim_round_mode_thread.
10537 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10538 __sim_disabled_exceptions_thread.
10539 (__sim_exceptions): Change to __sim_exceptions_thread.
10540 (__sim_disabled_exceptions): Change to
10541 __sim_disabled_exceptions_thread.
10542 (__sim_round_mode): Change to __sim_round_mode_thread.
10543 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10544 thread-local floating-point state and set global state from it as
10546 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10547 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10548 (__sim_disabled_exceptions): Remove extern declaration.
10549 (feenableexcept): Use thread-local floating-point state and set
10550 global state from it as needed.
10551 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10552 extern declaration.
10553 (__sim_disabled_exceptions): Likewise.
10554 (__sim_round_mode): Likewise.
10555 (__fegetenv): Use thread-local floating-point state.
10556 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10557 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10558 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10559 floating-point state and set global state from it as needed.
10560 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10561 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10562 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10564 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10565 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10567 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10568 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10569 Use __sim_round_mode_thread.
10570 * math/test-fenv-tls.c: New file.
10571 * math/Makefile (tests): Add test-fenv-tls.
10572 ($(objpfx)test-fenv-tls): Depend on
10573 $(common-objpfx)nptl/libpthread.so.
10575 2013-11-19 Andreas Schwab <schwab@suse.de>
10577 * locale/programs/locale.c (show_info): Decode wordarray elements.
10578 * locale/categories.def (LC_MONETARY): Add element for
10579 _NL_MONETARY_CRNCYSTR.
10580 * locale/C-monetary.c (conversion_rate): New variable.
10581 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10584 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10586 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10587 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10589 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10591 * elf/Makefile (tst-auxv): New test.
10592 * elf/tst-auxv.c: New
10593 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10595 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10597 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10598 (hidden_proto): Caller changed.
10599 (hidden_tls_proto): New macro.
10600 (libc_hidden_tls_proto): Likewise.
10601 (rtld_hidden_tls_proto): Likewise.
10602 (libm_hidden_tls_proto): Likewise.
10603 (libresolv_hidden_tls_proto): Likewise.
10604 (librt_hidden_tls_proto): Likewise.
10605 (libdl_hidden_tls_proto): Likewise.
10606 (libnss_files_hidden_tls_proto): Likewise.
10607 (libnsl_hidden_tls_proto): Likewise.
10608 (libnss_nisplus_hidden_tls_proto): Likewise.
10609 (libutil_hidden_tls_proto): Likewise.
10611 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10614 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10615 (decompose_rpath): Defer expansion to fillin_rpath.
10616 (_dl_init_paths): Pass linkmap to fillin_rpath.
10618 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10620 * benchtests/Makefile: Add strsep.
10621 * benchtests/bench-strsep.c: New file: strsep benchtest.
10622 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10624 2013-11-18 Andreas Schwab <schwab@suse.de>
10626 * locale/programs/locale.c (show_info) [case byte]: Check for
10627 '\377' instead of '\177'.
10628 * locale/C-monetary.c (not_available): Always use "\377".
10629 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10630 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10631 detect unavailable sign_posn locale elements.
10632 * locale/localeconv.c (__localeconv): For grouping and
10633 mon_grouping handle "\177" and "\377" like no grouping.
10634 (INT_ELEM): New macro. Use it to set all numeric members.
10635 * locale/programs/ld-monetary.c (monetary_read)
10636 <tok_mon_grouping>: Normalize single -1 to the empty string.
10637 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10640 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10643 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10644 when we match (nil).
10645 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10647 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10649 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10650 (NO_TEST_INLINE): Update value.
10651 (ERRNO_UNCHANGED): Likewise.
10652 (ERRNO_EDOM): Likewise.
10653 (ERRNO_ERANGE): Likewise.
10654 (IGNORE_RESULT): Likewise.
10655 (check_float_internal): Check signs of NaN results if
10656 TEST_NAN_SIGN used.
10657 (check_complex): Pass TEST_NAN_SIGN flag through to second
10658 check_float_internal call.
10659 (copysign_test_data): Add tests with quiet NaNs as second
10660 argument. Use TEST_NAN_SIGN.
10661 (fabs_test_data): Add test of negative quiet NaN argument. Use
10663 (signbit_test_data): Add tests of quiet NaN argument.
10664 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10666 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10668 (parse_args): Handle function results specified as IGNORE.
10669 * math/libm-test.inc (IGNORE_RESULT): New macro.
10670 (check_float_internal): Do not check numerical result if flag
10672 (check_complex): Pass through IGNORE_RESULT to second
10673 check_float_internal call.
10674 (check_int): Do not check numerical result if flag IGNORE_RESULT
10676 (check_long): Likewise.
10677 (check_bool): Likewise.
10678 (check_longlong): Likewise.
10679 (lrint_test_data): Add tests of infinite and NaN arguments.
10680 (lrint_tonearest_test_data): Likewise.
10681 (lrint_towardzero_test_data): Likewise.
10682 (lrint_downward_test_data): Likewise.
10683 (lrint_upward_test_data): Likewise.
10684 (llrint_test_data): Likewise.
10685 (llrint_tonearest_test_data): Likewise.
10686 (llrint_towardzero_test_data): Likewise.
10687 (llrint_downward_test_data): Likewise.
10688 (llrint_upward_test_data): Likewise.
10689 (lround_test_data): Likewise.
10690 (llround_test_data): Likewise.
10692 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10693 (ERRNO_UNCHANGED): Update value.
10694 (ERRNO_EDOM): Likewise.
10695 (ERRNO_ERANGE): Likewise.
10696 (NO_TEST_INLINE_FLOAT): New macro.
10697 (NO_TEST_INLINE_DOUBLE): Likewise.
10698 (enable_test): New function.
10699 (RUN_TEST_f_f): Check enable_test before running test.
10700 (RUN_TEST_2_f): Likewise.
10701 (RUN_TEST_fff_f): Likewise.
10702 (RUN_TEST_c_f): Likewise.
10703 (RUN_TEST_f_f1): Likewise.
10704 (RUN_TEST_fF_f1): Likewise.
10705 (RUN_TEST_fI_f1): Likewise.
10706 (RUN_TEST_ffI_f1): Likewise.
10707 (RUN_TEST_c_c): Likewise.
10708 (RUN_TEST_cc_c): Likewise.
10709 (RUN_TEST_f_i): Likewise.
10710 (RUN_TEST_f_i_tg): Likewise.
10711 (RUN_TEST_ff_i_tg): Likewise.
10712 (RUN_TEST_f_b): Likewise.
10713 (RUN_TEST_f_b_tg): Likewise.
10714 (RUN_TEST_f_l): Likewise.
10715 (RUN_TEST_f_L): Likewise.
10716 (RUN_TEST_fFF_11): Likewise.
10717 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10719 (cosh_test_data): Likewise.
10720 (exp_test_data): Likewise.
10721 (expm1_test_data): Likewise.
10722 (hypot_test_data): Likewise.
10723 (pow_test_data): Likewise.
10724 (sinh_test_data): Likewise.
10725 (tanh_test_data): Likewise.
10726 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10729 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10730 tests with quiet NaN input and output.
10731 (acosh_test_data): Likewise.
10732 (asin_test_data): Likewise.
10733 (asinh_test_data): Likewise.
10734 (atan_test_data): Likewise.
10735 (atanh_test_data): Likewise.
10736 (atan2_test_data): Likewise.
10737 (cbrt_test_data): Likewise.
10738 (cos_test_data): Likewise.
10739 (cosh_test_data): Likewise.
10740 (erf_test_data): Likewise.
10741 (erfc_test_data): Likewise.
10742 (exp_test_data): Likewise.
10743 (exp10_test_data): Likewise.
10744 (exp2_test_data): Likewise.
10745 (expm1_test_data): Likewise.
10746 (hypot_test_data): Likewise.
10747 (j0_test_data): Likewise.
10748 (j1_test_data): Likewise.
10749 (jn_test_data): Likewise.
10750 (lgamma_test_data): Likewise.
10751 (log_test_data): Likewise.
10752 (log10_test_data): Likewise.
10753 (log1p_test_data): Likewise.
10754 (log2_test_data): Likewise.
10755 (pow_test_data): Likewise.
10756 (scalb_test_data): Likewise.
10757 (sin_test_data): Likewise.
10758 (sincos_test_data): Likewise.
10759 (sinh_test_data): Likewise.
10760 (tan_test_data): Likewise.
10761 (tanh_test_data): Likewise.
10762 (tgamma_test_data): Likewise.
10763 (y0_test_data): Likewise.
10764 (y1_test_data): Likewise.
10765 (yn_test_data): Likewise.
10768 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10769 argument being NaN and avoid computations with second argument in
10771 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10772 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10773 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10775 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10777 * locale/iso-639.def: Add Chitwani Tharu (the).
10779 2013-11-14 Andreas Schwab <schwab@suse.de>
10781 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10782 word instead of empty string.
10784 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10787 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10789 (__fe_nomask_env): Likewise.
10791 2013-11-13 Steve Ellcey <sellcey@mips.com>
10793 * benchtests/bench-timing.h: Include time.h.
10795 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10798 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10800 * sysdeps/unix/sysv/linux/configure: Regenerated.
10802 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10805 * stdlib/strtod_l.c (round_and_return): Do not consider
10806 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10807 exponent one less than half the least subnormal exponent.
10808 * stdlib/test-strtod-round-data: Add more tests.
10809 * stdlib/tst-strtod-round.c (tests): Regenerated.
10811 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10814 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10815 (__fe_mask_env): Likewise.
10816 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10817 libm_hidden_proto and add function prototype.
10818 (__fe_mask_env): Add function prototype.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10820 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10822 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10824 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10826 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10828 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10829 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10831 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10833 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10834 of htab_find_slot().
10836 2013-11-11 David S. Miller <davem@davemloft.net>
10839 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10840 symbol in the non-vis3 case in static builds.
10841 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10842 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10843 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10844 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10846 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10849 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10852 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10854 * benchtests/Makefile: Add bench-strtod.
10855 * benchtests/bench-strtod.c: New file: strtod benchtest
10857 2013-11-11 Andreas Schwab <schwab@suse.de>
10860 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10861 terminating NUL in key length.
10863 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10866 Add artificial ODP entry for vDSO symbol for PPC64.
10867 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10868 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10870 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10873 * nss/getent.c (services_keys): Recognize services starting with digit.
10875 2013-11-06 David S. Miller <davem@davemloft.net>
10878 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10879 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10881 2013-11-06 Will Newton <will.newton@linaro.org>
10883 * manual/memory.texi (Malloc Examples): Remove register
10884 keyword from examples.
10886 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10888 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10890 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10893 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10894 depending on [__GCC_IEC_559 > 0].
10895 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10896 depending on [__GCC_IEC_559_COMPLEX > 0].
10898 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10900 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10903 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10905 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10907 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10910 * malloc/malloc (malloc_info): Do not handle first bin as
10913 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10915 * locale/iso-639.def: Add Central Nahuatl (nhn).
10917 2013-11-01 Bruno Haible <bruno@clisp.org>
10920 * manual/math.texi (BSD Random): Specify range upper bound as
10923 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10925 * locale/iso-639.def: Add Meadow Mari (mhr).
10927 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10929 [BZ #14752], [BZ #15763]
10930 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10932 * rt/tst_shm.c: Add test for escaping directory.
10934 2013-10-31 Andreas Schwab <schwab@suse.de>
10937 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10938 followed by 'x' as part of digit sequence.
10939 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10941 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10944 * configure.ac: allow GNU Make 4.0 and greater.
10945 * configure: Regenerated.
10947 2013-10-30 Will Newton <will.newton@linaro.org>
10950 * malloc/hooks.c (memalign_check): Limit alignment to the
10951 maximum representable power of two.
10952 * malloc/malloc.c (__libc_memalign): Likewise.
10953 * malloc/tst-memalign.c (do_test): Add test for very
10954 large alignment values.
10955 * malloc/tst-posix_memalign.c (do_test): Likewise.
10957 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10960 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10961 (munmap_chunk): Likewise.
10962 (mremap_chunk): Likewise.
10964 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10967 * stdlib/div.c (div): Remove obsolete code.
10968 * stdlib/ldiv.c (ldiv): Likewise.
10969 * stdlib/lldiv.c (lldiv): Likewise.
10971 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10974 * nss/nss_files/files-XXX.c (get_contents_ret): New
10976 (get_contents): New function.
10977 (internal_getent): Use it. Expand size of LINEBUFLEN.
10979 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10981 * configure.in: Moved to ...
10982 * configure.ac: ... here. Change reference to configure.in
10984 * sysdeps/arm/preconfigure.ac: ... here.
10985 configure.in to configure.ac.
10986 * sysdeps/gnu/configure.in: Moved to ...
10987 * sysdeps/gnu/configure.ac: ... here.
10988 * sysdeps/i386/configure.in: Moved to ...
10989 * sysdeps/i386/configure.ac: ... here.
10990 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10991 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10992 * sysdeps/mach/configure.in: Moved to ...
10993 * sysdeps/mach/configure.ac: ... here.
10994 * sysdeps/mach/hurd/configure.in: Moved to ...
10995 * sysdeps/mach/hurd/configure.ac: ... here.
10996 * sysdeps/powerpc/configure.in: Moved to ...
10997 * sysdeps/powerpc/configure.ac: ... here.
10998 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10999 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11000 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11001 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11002 * sysdeps/s390/s390-32/configure.in: Moved to ...
11003 * sysdeps/s390/s390-32/configure.ac: ... here.
11004 * sysdeps/s390/s390-64/configure.in: Moved to ...
11005 * sysdeps/s390/s390-64/configure.ac: ... here.
11006 * sysdeps/sh/configure.in: Moved to ...
11007 * sysdeps/sh/configure.ac: ... here.
11008 * sysdeps/sparc/configure.in: Moved to ...
11009 * sysdeps/sparc/configure.ac: ... here.
11010 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11011 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11012 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11013 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11014 * sysdeps/x86_64/configure.in: Moved to ...
11015 * sysdeps/x86_64/configure.ac: ... here.
11016 * sysdeps/x86_64/preconfigure.in: Moved to ...
11017 * sysdeps/x86_64/preconfigure.ac: ... here.
11018 * aclocal.m4: Change reference to configure.in to configure.ac.
11019 * config.h.in: Likewise.
11020 * manual/install.texi: Likewise.
11021 * manual/maint.texi: Likewise.
11022 * Makefile: Likewise.
11023 * malloc/Makefile: Likewise.
11024 * nscd/Makefile: Likewise.
11025 * Makeconfig: Change reference to configure.in and
11026 preconfigure.in to configure.ac and preconfigure.ac
11028 * INSTALL: Regenerated.
11029 * configure: Likewise.
11030 * sysdeps/gnu/configure: Likewise.
11031 * sysdeps/i386/configure: Likewise.
11032 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11033 * sysdeps/mach/configure: Likewise.
11034 * sysdeps/mach/hurd/configure: Likewise.
11035 * sysdeps/powerpc/configure: Likewise.
11036 * sysdeps/powerpc/powerpc32/configure: Likewise.
11037 * sysdeps/powerpc/powerpc64/configure: Likewise.
11038 * sysdeps/s390/s390-32/configure: Likewise.
11039 * sysdeps/s390/s390-64/configure: Likewise.
11040 * sysdeps/sh/configure: Likewise.
11041 * sysdeps/sparc/configure: Likewise.
11042 * sysdeps/unix/sysv/linux/configure: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11044 * sysdeps/x86_64/configure: Likewise.
11045 * sysdeps/x86_64/preconfigure: Likewise.
11047 2013-10-29 Andreas Schwab <schwab@suse.de>
11049 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11051 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11053 * benchtests/pow-inputs: Add new inputs.
11055 * benchtests/exp-inputs: Add new inputs.
11057 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11058 conditional check for return value.
11059 (__cos32): Likewise.
11061 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11063 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11064 to provide a boost for large inputs with word alignment.
11065 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11066 implementation based on optimized PPC64 strcpy.
11067 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11068 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11069 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11070 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11072 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11075 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11077 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11080 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11081 * time/tst-strptime.c (day_tests): Add testcase.
11083 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11086 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11088 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11091 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11092 MAP_FAILED on error.
11094 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11097 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11098 heap for large requests.
11100 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11103 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11104 result if the result has no associated interface.
11105 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11106 interface for all 127.X.Y.Z addresses.
11108 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11110 * locale/iso-639.def: Add Ligurian (lij)
11112 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11115 * sunrpc/rpc_main.c: Document rpcgen -5.
11117 2013-10-19 Michael Stahl <mstahl@redhat.com>
11119 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11121 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11124 * posix/glob.c: Match only directories when trailing slash is present.
11125 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11126 (main): Add testcase.
11128 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11131 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11133 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11135 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11136 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11137 AUTH_DES and cindex for FIPS 140-2.
11138 (DES Encryption): Add cindex FIPS 46-3.
11140 * locale/locarchive.h (struct locarhandle): Add fname.
11141 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11142 if an optional argument was specified to --list-archive,
11144 * locale/programs/locarchive.c (show_archive_content): Take new
11145 argument fname and pass it via ah.fname to open_archive.
11146 * locale/programs/localedef.h: Update decl.
11147 (open_archive): If AH->fname is non-null, open that file
11148 rather than the default file name, and don't ignore ENOENT.
11149 (create_archive): Set AH.fname to NULL.
11150 (delete_locales_from_archive): Likewise.
11151 (add_locales_to_archive): Likewise.
11152 * locale/programs/locfile.c (write_all_categories): Likewise.
11154 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11155 Aldy Hernandez <aldyh@redhat.com>
11157 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11158 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11159 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11160 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11161 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11162 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11163 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11164 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11165 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11166 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11167 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11168 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11169 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11170 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11171 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11173 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11175 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11177 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11179 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11180 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11182 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11183 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11184 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11185 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11187 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11188 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11189 * sysdeps/powerpc/preconfigure: Likewise.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11192 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11193 Replace contents of file by #include of <fenv_libc.h>.
11194 * sysdeps/powerpc/soft-fp/sfp-machine.h
11195 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11197 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11198 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11199 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11200 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11201 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11202 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11204 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11205 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11206 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11207 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11208 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11210 Allow copysignl PLT reference to be missing.
11212 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11213 Joseph Myers <joseph@codesourcery.com
11216 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11218 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11220 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11222 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11223 * elf/tst-tls1.c: Likewise.
11224 * elf/tst-tls10.h: Likewise.
11225 * elf/tst-tls14.c: Likewise.
11226 * elf/tst-tls2.c: Likewise.
11227 * elf/tst-tls3.c: Likewise.
11228 * elf/tst-tls4.c: Likewise.
11229 * elf/tst-tls5.c: Likewise.
11230 * elf/tst-tls6.c: Likewise.
11231 * elf/tst-tls7.c: Likewise.
11232 * elf/tst-tls8.c: Likewise.
11233 * elf/tst-tls9.c: Likewise.
11234 * elf/tst-tlsmod1.c: Likewise.
11235 * elf/tst-tlsmod13.c: Likewise.
11236 * elf/tst-tlsmod13a.c: Likewise.
11237 * elf/tst-tlsmod14a.c: Likewise.
11238 * elf/tst-tlsmod16a.c: Likewise.
11239 * elf/tst-tlsmod16b.c: Likewise.
11240 * elf/tst-tlsmod2.c: Likewise.
11241 * elf/tst-tlsmod3.c: Likewise.
11242 * elf/tst-tlsmod4.c: Likewise.
11243 * elf/tst-tlsmod5.c: Likewise.
11244 * elf/tst-tlsmod6.c: Likewise.
11246 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
11249 * malloc/malloc.c: remove checks for statistics.
11251 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11254 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11255 * inet/tst-network.c: Add testcase.
11257 2013-10-17 Andreas Schwab <schwab@suse.de>
11260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11261 to determine canonical name.
11263 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11265 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11266 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11289 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11290 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11295 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11324 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11327 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11328 make result into a quiet NaN.
11330 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11332 * soft-fp/adddf3.c: Fix horizontal whitespace.
11333 * soft-fp/addsf3.c: Likewise.
11334 * soft-fp/addtf3.c: Likewise.
11335 * soft-fp/divdf3.c: Likewise.
11336 * soft-fp/divsf3.c: Likewise.
11337 * soft-fp/divtf3.c: Likewise.
11338 * soft-fp/double.h: Likewise.
11339 * soft-fp/eqdf2.c: Likewise.
11340 * soft-fp/eqsf2.c: Likewise.
11341 * soft-fp/eqtf2.c: Likewise.
11342 * soft-fp/extenddftf2.c: Likewise.
11343 * soft-fp/extended.h: Likewise.
11344 * soft-fp/extendsfdf2.c: Likewise.
11345 * soft-fp/extendsftf2.c: Likewise.
11346 * soft-fp/extendxftf2.c: Likewise.
11347 * soft-fp/fixdfdi.c: Likewise.
11348 * soft-fp/fixdfsi.c: Likewise.
11349 * soft-fp/fixdfti.c: Likewise.
11350 * soft-fp/fixsfdi.c: Likewise.
11351 * soft-fp/fixsfsi.c: Likewise.
11352 * soft-fp/fixsfti.c: Likewise.
11353 * soft-fp/fixtfdi.c: Likewise.
11354 * soft-fp/fixtfsi.c: Likewise.
11355 * soft-fp/fixtfti.c: Likewise.
11356 * soft-fp/fixunsdfdi.c: Likewise.
11357 * soft-fp/fixunsdfsi.c: Likewise.
11358 * soft-fp/fixunsdfti.c: Likewise.
11359 * soft-fp/fixunssfdi.c: Likewise.
11360 * soft-fp/fixunssfsi.c: Likewise.
11361 * soft-fp/fixunssfti.c: Likewise.
11362 * soft-fp/fixunstfdi.c: Likewise.
11363 * soft-fp/fixunstfsi.c: Likewise.
11364 * soft-fp/fixunstfti.c: Likewise.
11365 * soft-fp/floatdidf.c: Likewise.
11366 * soft-fp/floatdisf.c: Likewise.
11367 * soft-fp/floatditf.c: Likewise.
11368 * soft-fp/floatsidf.c: Likewise.
11369 * soft-fp/floatsisf.c: Likewise.
11370 * soft-fp/floatsitf.c: Likewise.
11371 * soft-fp/floattidf.c: Likewise.
11372 * soft-fp/floattisf.c: Likewise.
11373 * soft-fp/floattitf.c: Likewise.
11374 * soft-fp/floatundidf.c: Likewise.
11375 * soft-fp/floatundisf.c: Likewise.
11376 * soft-fp/floatunditf.c: Likewise.
11377 * soft-fp/floatunsidf.c: Likewise.
11378 * soft-fp/floatunsisf.c: Likewise.
11379 * soft-fp/floatunsitf.c: Likewise.
11380 * soft-fp/floatuntidf.c: Likewise.
11381 * soft-fp/floatuntisf.c: Likewise.
11382 * soft-fp/floatuntitf.c: Likewise.
11383 * soft-fp/fmadf4.c: Likewise.
11384 * soft-fp/fmasf4.c: Likewise.
11385 * soft-fp/fmatf4.c: Likewise.
11386 * soft-fp/gedf2.c: Likewise.
11387 * soft-fp/gesf2.c: Likewise.
11388 * soft-fp/getf2.c: Likewise.
11389 * soft-fp/ledf2.c: Likewise.
11390 * soft-fp/lesf2.c: Likewise.
11391 * soft-fp/letf2.c: Likewise.
11392 * soft-fp/muldf3.c: Likewise.
11393 * soft-fp/mulsf3.c: Likewise.
11394 * soft-fp/multf3.c: Likewise.
11395 * soft-fp/negdf2.c: Likewise.
11396 * soft-fp/negsf2.c: Likewise.
11397 * soft-fp/negtf2.c: Likewise.
11398 * soft-fp/op-1.h: Likewise.
11399 * soft-fp/op-2.h: Likewise.
11400 * soft-fp/op-4.h: Likewise.
11401 * soft-fp/op-8.h: Likewise.
11402 * soft-fp/op-common.h: Likewise.
11403 * soft-fp/quad.h: Likewise.
11404 * soft-fp/single.h: Likewise.
11405 * soft-fp/soft-fp.h: Likewise.
11406 * soft-fp/sqrtdf2.c: Likewise.
11407 * soft-fp/sqrtsf2.c: Likewise.
11408 * soft-fp/sqrttf2.c: Likewise.
11409 * soft-fp/subdf3.c: Likewise.
11410 * soft-fp/subsf3.c: Likewise.
11411 * soft-fp/subtf3.c: Likewise.
11412 * soft-fp/truncdfsf2.c: Likewise.
11413 * soft-fp/trunctfdf2.c: Likewise.
11414 * soft-fp/trunctfsf2.c: Likewise.
11415 * soft-fp/trunctfxf2.c: Likewise.
11416 * soft-fp/unorddf2.c: Likewise.
11417 * soft-fp/unordsf2.c: Likewise.
11418 * soft-fp/unordtf2.c: Likewise.
11420 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11422 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11423 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11425 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11427 * elf/dl-libc.c: Clear initfini list after freeing.
11429 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11431 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11432 * soft-fp/addsf3.c: Likewise.
11433 * soft-fp/addtf3.c: Likewise.
11434 * soft-fp/divdf3.c: Likewise.
11435 * soft-fp/divsf3.c: Likewise.
11436 * soft-fp/divtf3.c: Likewise.
11437 * soft-fp/double.h: Likewise.
11438 * soft-fp/eqdf2.c: Likewise.
11439 * soft-fp/eqsf2.c: Likewise.
11440 * soft-fp/eqtf2.c: Likewise.
11441 * soft-fp/extenddftf2.c: Likewise.
11442 * soft-fp/extended.h: Likewise.
11443 * soft-fp/extendsfdf2.c: Likewise.
11444 * soft-fp/extendsftf2.c: Likewise.
11445 * soft-fp/extendxftf2.c: Likewise.
11446 * soft-fp/fixdfdi.c: Likewise.
11447 * soft-fp/fixdfsi.c: Likewise.
11448 * soft-fp/fixdfti.c: Likewise.
11449 * soft-fp/fixsfdi.c: Likewise.
11450 * soft-fp/fixsfsi.c: Likewise.
11451 * soft-fp/fixsfti.c: Likewise.
11452 * soft-fp/fixtfdi.c: Likewise.
11453 * soft-fp/fixtfsi.c: Likewise.
11454 * soft-fp/fixtfti.c: Likewise.
11455 * soft-fp/fixunsdfdi.c: Likewise.
11456 * soft-fp/fixunsdfsi.c: Likewise.
11457 * soft-fp/fixunsdfti.c: Likewise.
11458 * soft-fp/fixunssfdi.c: Likewise.
11459 * soft-fp/fixunssfsi.c: Likewise.
11460 * soft-fp/fixunssfti.c: Likewise.
11461 * soft-fp/fixunstfdi.c: Likewise.
11462 * soft-fp/fixunstfsi.c: Likewise.
11463 * soft-fp/fixunstfti.c: Likewise.
11464 * soft-fp/floatdidf.c: Likewise.
11465 * soft-fp/floatdisf.c: Likewise.
11466 * soft-fp/floatditf.c: Likewise.
11467 * soft-fp/floatsidf.c: Likewise.
11468 * soft-fp/floatsisf.c: Likewise.
11469 * soft-fp/floatsitf.c: Likewise.
11470 * soft-fp/floattidf.c: Likewise.
11471 * soft-fp/floattisf.c: Likewise.
11472 * soft-fp/floattitf.c: Likewise.
11473 * soft-fp/floatundidf.c: Likewise.
11474 * soft-fp/floatundisf.c: Likewise.
11475 * soft-fp/floatunsidf.c: Likewise.
11476 * soft-fp/floatunsisf.c: Likewise.
11477 * soft-fp/floatuntidf.c: Likewise.
11478 * soft-fp/floatuntisf.c: Likewise.
11479 * soft-fp/floatuntitf.c: Likewise.
11480 * soft-fp/fmadf4.c: Likewise.
11481 * soft-fp/fmasf4.c: Likewise.
11482 * soft-fp/fmatf4.c: Likewise.
11483 * soft-fp/gedf2.c: Likewise.
11484 * soft-fp/gesf2.c: Likewise.
11485 * soft-fp/getf2.c: Likewise.
11486 * soft-fp/ledf2.c: Likewise.
11487 * soft-fp/lesf2.c: Likewise.
11488 * soft-fp/letf2.c: Likewise.
11489 * soft-fp/muldf3.c: Likewise.
11490 * soft-fp/mulsf3.c: Likewise.
11491 * soft-fp/multf3.c: Likewise.
11492 * soft-fp/negdf2.c: Likewise.
11493 * soft-fp/negsf2.c: Likewise.
11494 * soft-fp/negtf2.c: Likewise.
11495 * soft-fp/op-1.h: Likewise.
11496 * soft-fp/op-2.h: Likewise.
11497 * soft-fp/op-4.h: Likewise.
11498 * soft-fp/op-8.h: Likewise.
11499 * soft-fp/op-common.h: Likewise.
11500 * soft-fp/quad.h: Likewise.
11501 * soft-fp/single.h: Likewise.
11502 * soft-fp/soft-fp.h: Likewise.
11503 * soft-fp/sqrtdf2.c: Likewise.
11504 * soft-fp/sqrtsf2.c: Likewise.
11505 * soft-fp/sqrttf2.c: Likewise.
11506 * soft-fp/subdf3.c: Likewise.
11507 * soft-fp/subsf3.c: Likewise.
11508 * soft-fp/subtf3.c: Likewise.
11509 * soft-fp/truncdfsf2.c: Likewise.
11510 * soft-fp/trunctfdf2.c: Likewise.
11511 * soft-fp/trunctfsf2.c: Likewise.
11512 * soft-fp/trunctfxf2.c: Likewise.
11513 * soft-fp/unorddf2.c: Likewise.
11514 * soft-fp/unordsf2.c: Likewise.
11515 * soft-fp/unordtf2.c: Likewise.
11517 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11520 * misc/error.c (error_tail): Fix possible buffer overflow.
11522 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11525 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11528 2013-10-14 P. J. McDermott <pj@pehjota.net>
11531 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11532 testing pipefail option.
11534 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11536 * soft-fp/double.h: Indent preprocessor directives inside #if.
11537 * soft-fp/extended.h: Likewise.
11538 * soft-fp/op-2.h: Likewise.
11539 * soft-fp/op-4.h: Likewise.
11540 * soft-fp/op-common.h: Likewise.
11541 * soft-fp/quad.h: Likewise.
11542 * soft-fp/single.h: Likewise.
11543 * soft-fp/soft-fp.h: Likewise.
11545 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11547 * iconv/iconv_prog.c: Fix typos.
11548 * stdio-common/psiginfo-data.h: Likewise.
11550 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11553 * locale/setlocale.c: Fix typo.
11555 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11558 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11559 signaling NaN arguments.
11560 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11561 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11564 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11565 unordered operands.
11566 * soft-fp/gesf2.c (__gesf2): Likewise.
11567 * soft-fp/getf2.c (__getf2): Likewise.
11568 * soft-fp/ledf2.c (__ledf2): Likewise.
11569 * soft-fp/lesf2.c (__lesf2): Likewise.
11570 * soft-fp/letf2.c (__letf2): Likewise.
11572 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11573 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11574 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11575 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11576 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11577 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11578 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11579 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11580 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11581 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11582 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11583 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11584 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11585 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11586 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11587 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11588 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11589 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11590 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11591 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11592 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11593 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11594 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11595 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11596 * soft-fp/floattidf.c (__floattidf): Likewise.
11597 * soft-fp/floattisf.c (__floattisf): Likewise.
11598 * soft-fp/floattitf.c (__floattitf): Likewise.
11599 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11600 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11601 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11602 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11603 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11604 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11605 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11606 * soft-fp/gesf2.c (__gesf2): Likewise.
11607 * soft-fp/getf2.c (__getf2): Likewise.
11608 * soft-fp/ledf2.c (__ledf2): Likewise.
11609 * soft-fp/lesf2.c (__lesf2): Likewise.
11610 * soft-fp/letf2.c (__letf2): Likewise.
11612 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11613 Undefine and redefine.
11614 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11615 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11616 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11617 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11618 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11619 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11620 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11621 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11622 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11623 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11624 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11625 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11626 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11627 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11628 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11631 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11632 without decrementing exponent if mantissa >= that for the
11633 denominator, not >.
11634 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11635 denominator, not >. Decrement exponent in < case instead of
11636 incrementing in >= case.
11637 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11638 without decrementing exponent if mantissa >= that for the
11639 denominator, not >.
11641 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11642 computing saturated result for unsigned overflow.
11644 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11645 Jeff Law <law@redhat.com>
11647 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11648 (atan2Mp): Add systemtap probe marker.
11649 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11650 (__ieee754_log): Add systemtap probe marker.
11651 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11652 (atanMp): Add systemtap probe marker.
11653 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11654 (tanMp): Add systemtap probe marker.
11655 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11656 (__slowexp): Add systemtap probe marker.
11657 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11658 (__slowpow): Add systemtap probe marker.
11659 * manual/probes.texi: Document probes.
11661 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11664 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11666 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11668 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11669 written to buffer but not flushed.
11670 * libio/iofwrite_u.c: Likewise.
11671 * libio/iopadn.c: Return bytes returned even if EOF was
11673 * libio/iowpadn.c: Likewise.
11674 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11675 if _IO_padn does not write the whole buffer.
11676 [!COMPILE_WPRINTF] (PAD): Likewise.
11678 2013-10-10 David S. Miller <davem@davemloft.net>
11680 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11683 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11685 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11686 instead of FSF address.
11687 * soft-fp/fixdfti.c: Likewise.
11688 * soft-fp/fixsfti.c: Likewise.
11689 * soft-fp/fixtfti.c: Likewise.
11690 * soft-fp/fixunsdfti.c: Likewise.
11691 * soft-fp/fixunssfti.c: Likewise.
11692 * soft-fp/fixunstfti.c: Likewise.
11693 * soft-fp/floattidf.c: Likewise.
11694 * soft-fp/floattisf.c: Likewise.
11695 * soft-fp/floattitf.c: Likewise.
11696 * soft-fp/floatuntidf.c: Likewise.
11697 * soft-fp/floatuntisf.c: Likewise.
11698 * soft-fp/floatuntitf.c: Likewise.
11699 * soft-fp/trunctfxf2.c: Likewise.
11701 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11702 * soft-fp/fixdfti.c: Likewise.
11703 * soft-fp/fixsfti.c: Likewise.
11704 * soft-fp/fixtfti.c: Likewise.
11705 * soft-fp/fixunsdfti.c: Likewise.
11706 * soft-fp/fixunssfti.c: Likewise.
11707 * soft-fp/fixunstfti.c: Likewise.
11708 * soft-fp/floattidf.c: Likewise.
11709 * soft-fp/floattisf.c: Likewise.
11710 * soft-fp/floattitf.c: Likewise.
11711 * soft-fp/floatuntidf.c: Likewise.
11712 * soft-fp/floatuntisf.c: Likewise.
11713 * soft-fp/floatuntitf.c: Likewise.
11714 * soft-fp/trunctfxf2.c: Likewise.
11716 2013-10-10 David S. Miller <davem@davemloft.net>
11718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11720 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11722 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11723 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11724 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11725 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11726 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11727 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11728 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11731 for NaNs before doing comparisons on argument.
11732 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11735 2013-10-10 Will Newton <will.newton@linaro.org>
11737 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11738 passed to _int_memalign does not overflow.
11740 2013-10-10 Torvald Riegel <triegel@redhat.com>
11742 * scripts/bench.pl: Add include-sources directive.
11743 * benchtests/README: Update documentation.
11745 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11747 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11748 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11749 instead of FP_INIT_ROUNDMODE.
11750 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11751 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11754 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11755 copy class of input value.
11756 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11757 not handle exceptions.
11758 * soft-fp/negsf2.c (__negsf2): Likewise.
11759 * soft-fp/negtf2.c (__negtf2): Likewise.
11760 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11762 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11764 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11765 semicolon. From Linux kernel.
11767 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11769 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11771 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11774 * manual/socket.texi: Added statement about buffer
11775 for gethostbyname2_r.
11777 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11779 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11780 Use .p2align directive instead, throughout.
11781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11782 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11783 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11786 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11787 * sysdeps/x86_64/strchr.S: Likewise.
11788 * sysdeps/x86_64/strrchr.S: Likewise.
11790 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11792 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11794 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11796 * sysdeps/generic/math_private.h (__mpsin1): Remove
11798 (__mpcos1): Likewise.
11799 (__mpsin): New argument __range_reduce.
11800 (__mpcos): Likewise.
11801 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11802 (slow): Use __mpsin and __mpcos.
11806 (sloww1): Likewise.
11807 (sloww2): Likewise.
11808 (bsloww): Likewise.
11809 (bsloww1): Likewise.
11810 (bsloww2): Likewise.
11811 (cslow2): Likewise.
11812 (csloww): Likewise.
11813 (csloww1): Likewise.
11814 (csloww2): Likewise.
11815 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11816 range_reduce. Merge in __mpsin1.
11817 (__mpcos): Likewise.
11818 (__mpsin1): Remove.
11819 (__mpcos1): Likewise.
11821 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11823 * locale/loadlocale.c (_nl_intern_locale_data): Use
11825 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11826 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11827 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11828 obstack data is appropriately aligned.
11829 (obstack_int32_grow_fast): Likewise.
11830 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11831 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11832 (add_locale_uint32_array): Likewise.
11834 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11836 * benchtests/Makefile: Remove ARGLIST and RET variables.
11837 ($(objpfx)bench-%.c): Pass only function name to the script.
11838 * benchtests/README: Update documentation.
11839 * benchtests/acos-inputs: Add new directives.
11840 * benchtests/acosh-inputs: Likewise.
11841 * benchtests/asin-inputs: Likewise.
11842 * benchtests/asinh-inputs: Likewise.
11843 * benchtests/atan-inputs: Likewise.
11844 * benchtests/atanh-inputs: Likewise.
11845 * benchtests/cos-inputs: Likewise.
11846 * benchtests/cosh-inputs: Likewise.
11847 * benchtests/exp-inputs: Likewise.
11848 * benchtests/log-inputs: Likewise.
11849 * benchtests/pow-inputs: Likewise.
11850 * benchtests/rint-inputs: Likewise.
11851 * benchtests/sin-inputs: Likewise.
11852 * benchtests/sinh-inputs: Likewise.
11853 * benchtests/tan-inputs: Likewise.
11854 * benchtests/tanh-inputs: Likewise.
11855 * scripts/bench.pl: Add support for new directives.
11857 2013-10-07 Alan Modra <amodra@gmail.com>
11859 * README: Fix careless merge.
11861 2013-10-05 Alan Modra <amodra@gmail.com>
11863 * NEWS: Mention powerpc64le support and bugs fixed.
11864 * README: Both big-endian and little-endian powerpc64 supported.
11866 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11868 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11869 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11870 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11871 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11873 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11875 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11878 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11880 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11881 Move -mhard-float appending from
11882 ports/sysdeps/powerpc/powerpc32/Makefile.
11883 [$(with-fp) = yes] (ASFLAGS): Likewise.
11884 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11885 * sysdeps/powerpc/nofpu: Move directory from
11886 ports/sysdeps/powerpc/nofpu.
11887 * sysdeps/powerpc/soft-fp: Move directory from
11888 ports/sysdeps/powerpc/soft-fp.
11889 * sysdeps/powerpc/powerpc32/405: Move directory from
11890 ports/sysdeps/powerpc/powerpc32/405.
11891 * sysdeps/powerpc/powerpc32/440: Move directory from
11892 ports/sysdeps/powerpc/powerpc32/440.
11893 * sysdeps/powerpc/powerpc32/464: Move directory from
11894 ports/sysdeps/powerpc/powerpc32/464.
11895 * sysdeps/powerpc/powerpc32/476: Move directory from
11896 ports/sysdeps/powerpc/powerpc32/476.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11898 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11900 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11902 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11904 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11906 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11907 * README: Update for powerpc-*-linux-gnu software floating point
11910 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11911 case to powerpc/powerpc32*.
11912 * sysdeps/unix/sysv/linux/configure: Regenerated.
11914 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11915 (_FPU_MASK_OM): Define as 0x04.
11916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11924 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11927 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11930 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11931 and setcontext_e500.
11933 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11935 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11937 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11939 * manual/threads.texi (Default Thread Attributes): Fix typo.
11941 2013-10-04 Will Newton <will.newton@linaro.org>
11943 * malloc/Makefile: Add tst-memalign.
11944 * malloc/tst-memalign.c: New file.
11946 * malloc/tst-posix_memalign.c: Add comments.
11947 (do_test): Add comments and call free on all potentially
11948 allocated pointers. Add space after cast.
11950 * malloc/tst-pvalloc.c: Add comments.
11951 (do_test): Add comments and call free on all potentially
11952 allocated pointers. Remove duplicate check for NULL pointer.
11953 Add space after cast.
11955 * malloc/tst-valloc.c: Add comments.
11956 (do_test): Add comments and call free on all potentially
11957 allocated pointers. Remove duplicate check for NULL pointer.
11958 Add space after cast.
11960 2013-10-04 Alan Modra <amodra@gmail.com>
11962 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11963 Use stdint types in rather than __attribute__((mode())).
11964 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11966 2013-10-04 Alan Modra <amodra@gmail.com>
11968 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11969 Correct handling of unaligned relocs for little-endian.
11970 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11972 2013-10-04 Alan Modra <amodra@gmail.com>
11974 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11975 * configure: Regenerate.
11976 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11977 * shlib-versions: Likewise.
11979 2013-10-04 Alan Modra <amodra@gmail.com>
11981 * string/tester.c (test_memrchr): Increment reported test cycle.
11983 2013-10-04 Alan Modra <amodra@gmail.com>
11985 * string/test-memcpy.c (do_one_test): When reporting errors, print
11986 string address and don't overrun end of string.
11988 2013-10-04 Alan Modra <amodra@gmail.com>
11990 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11991 insrdi. Make better use of reg selection to speed exit slightly.
11992 Schedule entry path a little better. Remove useless "are we done"
11993 checks on entry to main loop. Handle wrapping around zero address.
11994 Correct main loop count. Handle single left-over word from main
11995 loop inline rather than by using loop_small. Remove extra word
11996 case in loop_small caused by wrong loop count. Add little-endian
11998 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11999 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12001 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12002 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12003 support. Avoid rlwimi.
12004 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12006 2013-10-04 Alan Modra <amodra@gmail.com>
12008 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12009 insrdi. Formatting.
12010 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12011 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12012 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12013 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12014 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12015 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12017 2013-10-04 Alan Modra <amodra@gmail.com>
12019 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12020 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12023 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12024 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12025 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12027 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12028 use of regs. Use power7 mtocrf. Tidy function tails.
12030 2013-10-04 Alan Modra <amodra@gmail.com>
12032 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12033 Formatting. Consistently use rXXX register defines or rN defines.
12034 Use early exit labels that avoid restoring unused non-volatile regs.
12035 Make cr field use more consistent with rWORDn compares. Rename
12036 regs used as shift registers for unaligned loop, using rN defines
12037 for short lifetime/multiple use regs.
12038 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12040 addi 1,1,64 to pop stack frame. Simplify return value code.
12041 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12043 2013-10-04 Alan Modra <amodra@gmail.com>
12045 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12046 support. Correct typos, formatting. Optimize tail. Use insrdi
12047 rather than rlwimi.
12048 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12049 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12050 little-endian support. Correct typos.
12051 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12052 rather than rlwimi.
12053 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12054 in loop and entry code to keep "and." results.
12055 (strchr): Add little-endian support. Comment. Move cntlzd
12057 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12059 2013-10-04 Alan Modra <amodra@gmail.com>
12061 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12062 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12063 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12064 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12066 2013-10-04 Alan Modra <amodra@gmail.com>
12068 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12069 (rTMP): Define as r11.
12070 (strcmp): Add little-endian support. Optimise tail.
12071 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12072 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12073 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12074 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12075 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12076 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12079 2013-10-04 Alan Modra <amodra@gmail.com>
12081 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12082 little-endian support. Remove unnecessary "are we done" tests.
12083 Handle "s" wrapping around zero and extremely large "size".
12084 Correct main loop count. Handle single left-over word from main
12085 loop inline rather than by using small_loop. Correct comments.
12086 Delete "zero" tail, use "end_max" instead.
12087 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12089 2013-10-04 Alan Modra <amodra@gmail.com>
12091 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12092 support. Don't branch over align.
12093 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12094 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12095 support. Rearrange tmp reg use to suit. Comment.
12096 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12098 2013-10-04 Alan Modra <amodra@gmail.com>
12100 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12102 2013-10-04 Alan Modra <amodra@gmail.com>
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12105 conditional form of branch and link when obtaining pc.
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12108 2013-10-04 Alan Modra <amodra@gmail.com>
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12115 2013-10-04 Alan Modra <amodra@gmail.com>
12117 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12118 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12119 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12120 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12121 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12122 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12123 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12124 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12125 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12126 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12128 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12129 Alistair Popple <alistair@ozlabs.au.ibm.com>
12130 Alan Modra <amodra@gmail.com>
12133 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12134 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12135 _dl_hwcap access for little-endian.
12136 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12137 destroy vmx regs when saving unaligned.
12138 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12139 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12140 destroy vmx regs when saving unaligned.
12142 2013-10-04 Alan Modra <amodra@gmail.com>
12144 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12145 Don't use a union to pack hi/low value.
12147 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12149 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12151 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12152 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12153 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12154 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12155 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12157 2013-10-04 Alan Modra <amodra@gmail.com>
12159 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12160 constants to usual value for .cst8 section, and remove redundant
12162 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12163 constant for 0x1p52. Load little-endian words of double from
12164 correct stack offsets.
12166 2013-10-04 Alan Modra <amodra@gmail.com>
12168 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12169 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12170 words of double from correct stack offsets.
12171 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12172 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12173 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12174 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12175 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12176 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12177 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12178 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12179 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12180 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12181 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12182 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12183 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12184 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12185 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12186 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12187 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12189 2013-10-04 Alan Modra <amodra@gmail.com>
12191 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12192 64-bit int/double union.
12193 (_FPU_SETCW): Likewise.
12194 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12195 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12197 2013-10-04 Alan Modra <amodra@gmail.com>
12199 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12200 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12202 2013-10-04 Alan Modra <amodra@gmail.com>
12204 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12205 use vector int constants.
12206 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12208 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12210 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12211 array with long long.
12212 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12213 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12214 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12215 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12216 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12217 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12218 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12219 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12220 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12221 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12222 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12223 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12224 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12226 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12228 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12229 (__signbit): Likewise. Correct for little-endian.
12230 (__signbitl): Call __signbit.
12231 (lrint): Correct for little-endian.
12232 (lrintf): Call lrint.
12234 2013-10-04 Alan Modra <amodra@gmail.com>
12236 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12237 union 32-bit int array member with 64-bit int array.
12238 (t515, tm256): Double rather than long double.
12239 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12241 2013-10-04 Alan Modra <amodra@gmail.com>
12243 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12245 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12246 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12247 version of math_ldbl.h.
12249 2013-10-04 Alan Modra <amodra@gmail.com>
12251 [BZ #15734], [BZ #15735]
12252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12253 all uses of ieee875 long double macros and unions. Simplify test
12254 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12255 ldbl_extract_mantissa value for ix,iy exponents. Properly
12256 normalize after ldbl_extract_mantissa, and don't add hidden bit
12257 already handled. Don't treat low word of ieee854 mantissa like
12258 low word of IBM long double and mask off bit when testing for
12260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12261 all uses of ieee875 long double macros and unions. Simplify tests
12262 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12263 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12264 two1022, instead use their values. Recognise that tests for large
12265 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12266 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12267 Rewrite all uses of ieee875 long double macros and unions. Simplify
12268 test for 0.0L and nan. Correct negation.
12269 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12270 ieee875 long double macros and unions. Correct output for large
12271 magnitude x. Correct absolute value calculation.
12272 (__erfcl): Likewise.
12273 * math/libm-test.inc: Add tests for errors discovered in IBM long
12274 double versions of fmodl, remainderl, erfl and erfcl.
12276 2013-10-04 Alan Modra <amodra@gmail.com>
12278 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12279 all uses of ieee854 long double macros and unions. Simplify tests
12280 for long doubles that are fully specified by the high double.
12281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12283 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12284 Remove dead code too.
12285 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12286 (__ieee754_ynl): Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12290 Remove dead code too.
12291 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12296 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12301 Comment on variable precision.
12302 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12305 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12309 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12311 2013-10-04 Alan Modra <amodra@gmail.com>
12313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12314 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12315 all uses of ieee854 long double macros and unions.
12316 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12323 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12329 Simplify sign and nan test too.
12330 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12335 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12338 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12339 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12342 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12345 2013-10-04 Alan Modra <amodra@gmail.com>
12347 * stdio-common/printf_size.c (__printf_size): Don't use
12348 union ieee854_long_double in fpnum union.
12349 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12350 signbit macro to retrieve sign from long double.
12351 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12352 retrieve sign from long double.
12353 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12354 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12355 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12356 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12357 * math/test-misc.c (main): Don't use union ieee854_long_double.
12359 2013-10-04 Alan Modra <amodra@gmail.com>
12362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12363 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12364 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12365 calculation. Remove unnecessary test for denormal exponent.
12366 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12367 Correct handling of denormals. Avoid undefined shift behaviour.
12368 Correct normalisation of low mantissa when low double is denormal.
12369 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12370 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12371 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12372 Correct normalisation of low mantissa. Test for overflow of high
12373 mantissa and normalise.
12374 (ldbl_nearbyint): Use more readable constant for two52.
12375 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12376 (__mpn_construct_long_double): Fix test for overflow of high
12377 mantissa and correct normalisation. Avoid undefined shift.
12379 2013-10-04 Alan Modra <amodra@gmail.com>
12381 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12382 (union ibm_extended_long_double): Define as an array of ieee754_double.
12383 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12384 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12385 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12386 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12390 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12395 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12397 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12398 page size instead of calling getpagesize.
12400 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12401 (LOCFILE_ALIGN_MASK): Likewise.
12402 (LOCFILE_ALIGN_UP): Likewise.
12403 (LOCFILE_ALIGNED_P): Likewise.
12404 * locale/programs/ld-collate.c (collate_output): Use the new
12405 macros instead of __alignof__ (int32_t).
12406 * locale/weight.h (findidx): Likewise.
12408 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12411 * manual/string.texi: Fix strncat and wcsncat.
12413 2013-10-03 Brooks Moses <bmoses@google.com>
12416 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12417 * Makerules: ...here, and adjust associated comments.
12419 2013-10-02 Will Newton <will.newton@linaro.org>
12421 * malloc/Makefile: Add tst-pvalloc.
12422 * malloc/tst-pvalloc.c: New file.
12424 2013-10-02 Will Newton <will.newton@linaro.org>
12426 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12427 improve test coverage.
12429 2013-10-02 Will Newton <will.newton@linaro.org>
12431 * malloc/Makefile: Add tst-posix_memalign.
12432 * malloc/tst-posix_memalign.c: New file.
12434 2013-10-01 Eric Blake <eblake@redhat.com>
12436 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12437 Use __THROWNL rather than __THROW on static functions.
12439 2013-09-30 Petr Machata <pmachata@redhat.com>
12441 * elf/elf.h (R_AARCH64_ABS16): New macro.
12442 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12443 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12444 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12445 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12446 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12447 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12448 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12449 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12450 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12451 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12452 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12453 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12454 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12455 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12456 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12457 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12458 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12459 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12460 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12461 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12462 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12463 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12464 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12465 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12466 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12467 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12468 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12469 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12470 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12471 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12472 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12473 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12474 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12475 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12476 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12477 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12478 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12479 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12480 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12481 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12482 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12483 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12484 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12485 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12486 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12487 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12488 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12489 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12490 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12491 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12492 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12493 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12494 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12495 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12496 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12497 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12498 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12499 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12500 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12501 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12502 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12503 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12504 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12505 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12506 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12507 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12508 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12509 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12510 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12511 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12512 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12513 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12514 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12515 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12516 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12517 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12518 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12519 (R_AARCH64_TLSDESC_LDR): Likewise.
12520 (R_AARCH64_TLSDESC_ADD): Likewise.
12521 (R_AARCH64_TLSDESC_CALL): Likewise.
12523 2013-09-30 Andreas Schwab <schwab@suse.de>
12526 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12527 the nss database lookup.
12528 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12531 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12533 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12535 2013-09-28 P. J. McDermott <pj@pehjota.net>
12537 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12538 ${Bash-specific parameter/pattern/string} parameter expansion.
12539 * sysdeps/unix/make-syscalls.sh: Likewise.
12541 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12543 * sysdeps/sh/stackguard-macros.h: New file.
12545 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12549 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12550 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12551 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12552 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12554 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12556 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12557 Fix thread ID register.
12559 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12561 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12562 [POSIX || UNIX98]: Require rather than permitting all symbols from
12564 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12565 element of struct sched_param.
12566 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12567 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12568 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12569 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12572 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12574 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12575 argument calculation.
12577 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12579 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12581 [POSIX] (pthread_attr_t): Do not require type.
12582 [POSIX] (pthread_cond_t): Likewise.
12583 [POSIX] (pthread_condattr_t): Likewise.
12584 [POSIX] (pthread_key_t): Likewise.
12585 [POSIX] (pthread_mutex_t): Likewise.
12586 [POSIX] (pthread_mutexattr_t): Likewise.
12587 [POSIX] (pthread_once_t): Likewise.
12588 [POSIX] (pthread_t): Likewise.
12589 [POSIX-based standards] (pthread_atfork): Expect function.
12591 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12592 Richard Sandiford <richard@codesourcery.com>
12594 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12595 (swap_endianness_p): New extern variable.
12596 (set_big_endian): New inline function.
12597 (maybe_swap_uint32): Likewise.
12598 (maybe_swap_uint32_array): Likewise.
12599 (maybe_swap_uint32_obstack): Likewise.
12600 * locale/programs/locfile.c: Include <stdbool.h>.
12601 (swap_endianness_p): New variable.
12602 (add_locale_uint32): Call maybe_swap_uint32.
12603 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12604 (write_locale_data): Call maybe_swap_uint32_array.
12605 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12607 (obstack_int32_grow_fast): Likewise.
12608 (output_weightwc): Call maybe_swap_uint32_obstack.
12609 (collate_output): Likewise.
12610 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12611 (OPT_LITTLE_ENDIAN): Likewise.
12612 (options): Add --little-endian and --big-endian options.
12613 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12614 * locale/programs/locarchive.c: Include "locfile.h".
12618 (create_archive): Use the new macros to access fields of
12619 structures directly mapped from or written to locale archives.
12620 (oldlocrecentcmp): Likewise.
12621 (enlarge_archive): Likewise.
12622 (insert_name): Likewise.
12623 (add_alias): Likewise.
12624 (add_locale): Likewise.
12625 (delete_locales_from_archive): Likewise.
12626 (show_archive_content): Likewise.
12627 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12630 2013-09-24 Roland McGrath <roland@hack.frob.com>
12632 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12633 http://www.gnu.org/doc/freemanuals.texi.
12634 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12636 2013-09-24 Will Newton <will.newton@linaro.org>
12638 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12641 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12643 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12646 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12648 * manual/threads.texi (POSIX Threads): Fix a typo.
12650 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12653 * string/tst-strcoll-overflow.c: New test case.
12654 * string/Makefile (xtests): Add tst-strcoll-overflow.
12655 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12656 cache if string sizes may cause integer overflow.
12659 * string/strcoll_l.c (coll_seq): New members rule, idx,
12660 save_idx and back_us.
12661 (get_next_seq_nocache): New function.
12662 (do_compare_nocache): New function.
12663 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12666 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12669 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12670 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12671 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12674 * elf/Makefile (tests): Add tst-ptrguard1.
12675 (tests-static): Add tst-ptrguard1-static.
12676 (tst-ptrguard1-ARGS): Define.
12677 (tst-ptrguard1-static-ARGS): Define.
12678 * elf/tst-ptrguard1.c: New file.
12679 * elf/tst-ptrguard1-static.c: New file.
12680 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12681 * sysdeps/i386/stackguard-macros.h: Likewise.
12682 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12683 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12684 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12685 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12686 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12687 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12689 2013-09-23 Hector Marco <hecmargi@upv.es>
12690 Ismael Ripoll <iripoll@disca.upv.es>
12691 Carlos O'Donell <carlos@redhat.com>
12694 * sysdeps/generic/stackguard-macros.h: Define
12695 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12696 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12697 Define __pointer_chk_guard_local.
12698 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12699 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12701 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12704 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12706 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12708 * include/string.h (__ffs): Declare as hidden.
12709 * string/ffs.c (__ffs): Define as hidden.
12710 * sysdeps/i386/ffs.c (__ffs): Likewise.
12711 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12712 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12713 * sysdeps/s390/ffs.c (__ffs): Likewise.
12714 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12716 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12718 * NEWS: Mention malloc probes.
12720 * malloc/arena.c (new_heap): New memory_heap_new probe.
12721 (grow_heap): New memory_heap_more probe.
12722 (shrink_heap): New memory_heap_less probe.
12723 (heap_trim): New memory_heap_free probe.
12724 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12725 (systrim): New memory_sbrk_less probe.
12726 * manual/probes.texi: Document them.
12728 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12729 * manual/probes.texi: Document it.
12731 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12732 (__libc_realloc): Add memory_realloc_retry probe.
12733 (__libc_memalign): Add memory_memalign_retry probe.
12734 (__libc_valloc): Add memory_valloc_retry probe.
12735 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12736 (__libc_calloc): Add memory_calloc_retry probe.
12737 * manual/probes.texi: Document them.
12739 * malloc/arena.c (get_free_list): Add probe
12740 memory_arena_reuse_free_list.
12741 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12742 and memory_arena_reuse.
12743 (arena_get2) [!PER_THREAD]: Likewise.
12744 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12745 memory_arena_reuse_realloc.
12746 * manual/probes.texi: Document them.
12748 * malloc/malloc.c (__libc_free): Add
12749 memory_mallopt_free_dyn_thresholds probe.
12750 (__libc_mallopt): Add multiple memory_mallopt probes.
12751 * manual/probes.texi: Document them.
12753 * malloc/malloc.c: Include stap-probe.h.
12754 (__libc_mallopt): Add memory_mallopt probe.
12755 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12756 * manual/probes.texi: New.
12757 * manual/Makefile (chapters): Add probes.
12758 * manual/threads.texi: Set next node.
12760 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12762 [BZ #15963, #13985]
12763 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12764 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12765 Add `Chinese' to `nan' entry name.
12767 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12769 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12770 (POLYNOMIAL): Likewise.
12771 (TAYLOR_SINCOS): Likewise.
12772 (TAYLOR_SLOW): Likewise.
12773 (__sin): Use TAYLOR_SINCOS.
12775 (slow): Use TAYLOR_SLOW.
12777 (bsloww): Likewise.
12778 (csloww): Likewise.
12780 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12782 * stdlib/strtod_l.c: Fix buffer overrun.
12784 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12786 * benchtests/Makefile (bench): Add sincos.
12787 * benchtests/bench-sincos.c: New file.
12789 * math/libm-test.inc (cos_test_data): New test inputs.
12790 (sin_test_data): Likewise.
12792 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12798 (sloww1): Likewise.
12799 (sloww2): Likewise.
12800 (bsloww1): Likewise.
12801 (bsloww2): Likewise.
12802 (cslow2): Likewise.
12803 (csloww1): Likewise.
12804 (csloww2): Likewise.
12806 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12815 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12817 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12818 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12819 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12820 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12821 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12822 * elf/cache.c (print_entry): Handle the new cache flags.
12824 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12825 Aldy Hernandez <aldyh@redhat.com>
12827 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12828 Change condition to [_SOFT_FLOAT].
12829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12841 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12844 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12847 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12849 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12850 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12851 (__longjmp): Use LOAD_GP to load saved GPRs.
12852 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12853 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12854 (__sigsetjmp): Use SAVE_GP to save GPRs.
12856 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12857 Do not append -msoft-float.
12858 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12860 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12862 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12864 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12867 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12868 (_FPU_GETCW): Use initial "__" on variable and field names but not
12869 on macro parameter name.
12870 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12871 parentheses around reference to macro parameter.
12873 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12875 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12877 (ctype_startup): Use uint32_t in cast and sizeof for
12880 2013-09-11 Jia Liu <proljc@gmail.com>
12882 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12884 [__FreeBSD__]: Likewise.
12886 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12889 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12890 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12891 (strchr): Remove __strchr_sse42 ifunc selection.
12892 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12893 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12895 2013-09-11 Will Newton <will.newton@linaro.org>
12897 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12898 parameter to RES. Remove hardcoded 1000 value.
12899 * benchtests/bench-skeleton.c (main): Pass RES parameter
12900 to TIMING_INIT and multiply result by 1000.
12902 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12906 2013-09-11 Andreas Schwab <schwab@suse.de>
12908 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12910 (O_TMPFILE) [__USE_GNU]: Define.
12911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12914 2013-09-11 Will Newton <will.newton@linaro.org>
12917 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12920 2013-09-11 Will Newton <will.newton@linaro.org>
12923 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12926 2013-09-11 Will Newton <will.newton@linaro.org>
12929 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12932 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12934 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12935 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12936 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12940 2013-09-10 Allan McRae <allan@archlinux.org>
12943 * manual/arith.texi (Parsing of Floats): Clarify
12947 * manual/install.texi (Running make install): Mention
12949 * INSTALL: Regenerated.
12951 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12953 * csu/init-first.c (_init): Remove the !SHARED condition around
12954 FPU control word initialization.
12955 * elf/dl-support.c (_dl_fpu_control): New variable.
12956 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12957 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12958 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12959 * math/test-fpucw-static.c: New file.
12960 * math/test-fpucw-ieee.c: New file.
12961 * math/test-fpucw-ieee-static.c: New file.
12962 * math/Makefile (tests): Add `test-fpucw-ieee' and
12964 (tests-static): New variable.
12965 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12967 [($(build-shared),yes)]
12968 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12970 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12973 2013-09-09 Allan McRae <allan@archlinux.org>
12976 * manual/string.texi (Collation Functions): Fix typo in
12978 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12981 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12984 * libio/memstream.c (open_memstream): Fix memory leak.
12985 * libio/wmemstream.c (open_wmemstream): Likewise.
12988 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12990 2013-09-09 Will Newton <will.newton@linaro.org>
12992 * malloc/Makefile: Add tst-realloc to tests.
12993 * malloc/tst-realloc.c: New file.
12995 2013-09-09 Allan McRae <allan@archlinux.org>
12998 * COPYING: Update from GNU website to fix FSF address.
12999 * COPYING.LIB: Likewise.
13001 2013-09-06 David S. Miller <davem@davemloft.net>
13003 * po/zh_TW.po: Update Chinese (traditional) translation from
13004 translation project.
13006 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13007 Joseph Myers <joseph@codesourcery.com>
13009 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13011 (obstack_chunk_alloc): New macro.
13012 (obstack_chunk_free): Likewise.
13013 (record_offset): New function.
13014 (init_locale_data): Likewise.
13015 (align_locale_data): Likewise.
13016 (add_locale_empty): Likewise.
13017 (add_locale_raw_data): Likewise.
13018 (add_locale_raw_obstack): Likewise.
13019 (add_locale_string): Likewise.
13020 (add_locale_wstring): Likewise.
13021 (add_locale_uint32): Likewise.
13022 (add_locale_uint32_array): Likewise.
13023 (add_locale_char): Likewise.
13024 (start_locale_structure): Likewise.
13025 (end_locale_structure): Likewise.
13026 (start_locale_prelude): Likewise.
13027 (end_locale_prelude): Likewise.
13028 (write_locale_data): Take locale_file structure rather than an
13030 * locale/programs/locfile.h: Include "obstack.h".
13031 (struct locale_file): Change to store locale file contents instead
13033 (init_locale_data): New prototype.
13034 (align_locale_data): Likewise.
13035 (add_locale_empty): Likewise.
13036 (add_locale_raw_data): Likewise.
13037 (add_locale_raw_obstack): Likewise.
13038 (add_locale_string): Likewise.
13039 (add_locale_wstring): Likewise.
13040 (add_locale_uint32): Likewise.
13041 (add_locale_uint32_array): Likewise.
13042 (add_locale_char): Likewise.
13043 (start_locale_structure): Likewise.
13044 (end_locale_structure): Likewise.
13045 (start_locale_prelude): Likewise.
13046 (end_locale_prelude): Likewise.
13047 (write_locale_data): Update prototype.
13048 * locale/programs/3level.h (struct TABLE): Remove result field.
13049 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13050 Use new locale_file interface.
13051 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13052 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13053 * locale/programs/ld-address.c (address_output): Use new
13054 locale_file interface.
13055 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13057 (collate_finish): Don't call collseq_table_finalize.
13058 (collate_output): Use new locale_file interface.
13059 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13061 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13062 (TABLE): Move defines earlier in file.
13063 (ELEMENT): Likewise.
13064 (DEFAULT): Likewise.
13065 (wctrans_table_add): Move macro and inline function earlier in
13067 (struct wctype_table): Move type earlier in file.
13068 (add_locale_wctype_table): New static prototype.
13069 (struct locale_ctype_t): Use logical types instead of struct iovec
13070 pointers for members.
13071 (ctype_output): Use new locale_file interface.
13072 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13073 new locale_file interface.
13074 (allocate_arrays): Update for use of new locale_file interface.
13075 * locale/programs/ld-identification.c (identification_output): Use
13076 new locale_file interface.
13077 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13078 * locale/programs/ld-messages.c (messages_output): Likewise.
13079 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13080 * locale/programs/ld-name.c (name_output): Likewise.
13081 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13082 * locale/programs/ld-paper.c (paper_output): Likewise.
13083 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13084 * locale/programs/ld-time.c (time_output): Likewise.
13086 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13088 * benchtests/Makefile: Add memrchr benchmark.
13089 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13090 benchmark as memrchr.
13091 * benchtests/bench-memrchr-ifunc.c: New file.
13092 * benchtests/bench-memrchr.c: New file.
13094 2013-09-06 Will Newton <will.newton@linaro.org>
13096 * benchtests/Makefile (string-bench): Add memcpy.
13098 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13099 Cong Wang <amwang@redhat.com>
13102 * sysdeps/unix/sysv/linux/bits/in.h
13103 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13104 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13105 before __USE_KERNEL_IPV6_DEFS uses.
13106 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13108 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13109 sockaddr_in6, or ipv6_mreq.
13111 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13113 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13114 memory access for final bytes in some large inputs.
13115 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13117 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13119 * string/test-memrchr.c: New file.
13120 * string/test-memrchr-ifunc.c: New file.
13121 * string/Makefile: Add new memrchr testcase.
13123 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13125 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13126 fanotify_init returns EPERM.
13128 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13130 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13132 (top level): Treat second token from macro or constant entries for
13133 allowed headers as allowed.
13134 * include/complex.h: Condition internal declarations on
13136 * include/fenv.h: Condition include of <stdbool.h> and internal
13137 declarations on [!_ISOMAC].
13139 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13142 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13144 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13146 * configure.in (--enable-versioning): Remove configure option.
13147 (libc_cv_asm_symver_directive): Remove configure test.
13148 (libc_cv_ld_version_script_option): Likewise.
13149 (VERSIONING): Remove variable and AC_SUBST.
13150 (DO_VERSIONING): Remove AC_DEFINE.
13151 * configure: Regenerated.
13152 * config.h.in (DO_VERSIONING): Remove macro.
13153 * Makerules [$(versioning) = yes]: Change conditionals to
13154 [$(build-shared) = yes].
13155 * config.make.in (versioning): Remove variable.
13156 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13157 [$(build-shared) = yes].
13158 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13159 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13160 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13161 [$(build-shared) = yes].
13162 * extra-lib.mk [$(versioning) = yes]: Likewise.
13163 * hurd/Makefile [$(versioning) = yes]: Likewise.
13164 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13166 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13168 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13169 [SHARED && !NO_HIDDEN].
13170 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13172 [SHARED && DO_VERSIONING]: Likewise..
13173 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13174 [$(build-shared) = yes].
13175 * manual/install.texi (--disable-versioning): Remove
13177 * INSTALL: Regenerated.
13178 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13180 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13181 [$(build-shared) = yes].
13182 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13183 * sysdeps/i386/i686/multiarch/strstr-c.c
13184 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13185 [SHARED && !NO_HIDDEN].
13186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13187 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13188 * sysdeps/powerpc/powerpc32/dl-machine.c
13189 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13190 * sysdeps/powerpc/powerpc32/sysdep.h
13191 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13192 to [SHARED && PIC && !NO_HIDDEN].
13193 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13194 conditional to [SHARED].
13196 2013-09-04 Will Newton <will.newton@linaro.org>
13198 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13199 * benchtests/bench-string.h: Include bench-timing.h instead
13200 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13201 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13202 call to HP_TIMING_DIFF_INIT.
13203 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13204 instead of hp-timing.h macros.
13205 * benchtests/bench-memchr.c: Likewise.
13206 * benchtests/bench-memcmp.c: Likewise.
13207 * benchtests/bench-memcpy.c: Likewise.
13208 * benchtests/bench-memmem.c: Likewise.
13209 * benchtests/bench-memmove.c: Likewise.
13210 * benchtests/bench-memset.c: Likewise.
13211 * benchtests/bench-rawmemchr.c: Likewise.
13212 * benchtests/bench-strcasecmp.c: Likewise.
13213 * benchtests/bench-strcasestr.c: Likewise.
13214 * benchtests/bench-strcat.c: Likewise.
13215 * benchtests/bench-strchr.c: Likewise.
13216 * benchtests/bench-strcmp.c: Likewise.
13217 * benchtests/bench-strcpy.c: Likewise.
13218 * benchtests/bench-strcpy_chk.c: Likewise.
13219 * benchtests/bench-strlen.c: Likewise.
13220 * benchtests/bench-strncasecmp.c: Likewise.
13221 * benchtests/bench-strncat.c: Likewise.
13222 * benchtests/bench-strncmp.c: Likewise.
13223 * benchtests/bench-strncpy.c: Likewise.
13224 * benchtests/bench-strnlen.c: Likewise.
13225 * benchtests/bench-strpbrk.c: Likewise.
13226 * benchtests/bench-strrchr.c: Likewise.
13227 * benchtests/bench-strspn.c: Likewise.
13228 * benchtests/bench-strstr.c: Likewise.
13230 2013-09-04 Will Newton <will.newton@linaro.org>
13232 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13234 2013-09-03 Joseph Myers <joseph@codesourcery.com>
13237 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13238 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13239 * math/libm-test.inc (lgamma_test_data): Add more tests.
13240 * sysdeps/i386/fpu/libm-test-ulps: Update.
13241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13243 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
13245 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13249 Add strcmp-sse2-unaligned
13250 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13252 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13254 * Versions.def (libc): Add GLIBC_2.19.
13256 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13258 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13259 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13261 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13264 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13265 intermediate calculations in recurrence.
13266 (__ieee754_ynf): Likewise.
13267 * math/libm-test.inc (jn_test_data): Do not allow spurious
13268 underflow exception. Add more tests.
13269 (yn_test_data): Add more tests.
13270 * sysdeps/i386/fpu/libm-test-ulps: Update.
13271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13273 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
13275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13277 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13279 * csu/init-first.c: Fix then/than typos.
13280 * locale/programs/ld-collate.c: Likewise.
13281 * locale/programs/linereader.h: Likewise.
13282 * manual/charset.texi: Likewise.
13283 * manual/filesys.texi: Likewise.
13284 * manual/stdio.texi: Likewise.
13285 * manual/string.texi: Likewise.
13286 * stdlib/fmtmsg.c: Likewise.
13287 * sysdeps/i386/stpncpy.S: Likewise.
13288 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13289 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13290 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13291 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13293 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13295 * elf/dl-open.c: Fix typos.
13296 * iconvdata/gbbig5.c: Likewise.
13297 * iconvdata/iso-2022-jp.c: Likewise.
13298 * iconv/gconv_int.h: Likewise.
13299 * iconv/loop.c: Likewise.
13300 * nis/rpcsvc/nis.h: Likewise.
13301 * resolv/ns_name.c: Likewise.
13302 * stdio-common/vfscanf.c: Likewise.
13303 * streams/stropts.h: Likewise.
13304 * sunrpc/rpc_thread.c: Likewise.
13305 * sysdeps/i386/strpbrk.S: Likewise.
13306 * sysdeps/ieee754/k_standard.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13309 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13310 * sysdeps/mach/hurd/profil.c: Likewise.
13311 * sysdeps/s390/dl-procinfo.h: Likewise.
13312 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13313 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13314 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13315 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13318 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13320 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13323 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13325 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13326 aix specific files.
13327 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13328 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13329 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13330 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13331 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13332 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13333 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13336 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13337 Roland McGrath <roland@hack.frob.com>
13339 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13340 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13342 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13344 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13345 __executable_start symbol instead of _start.
13347 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13349 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13350 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13352 * sysdeps/gnu/ldsodefs.h: ... this new file.
13354 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13355 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13356 instead of ELFOSABI_LINUX.
13358 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13359 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13360 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13361 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13363 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13364 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13367 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13368 (ibm_extended_long_double): Add ieee_nan member.
13369 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13370 (do_test): New function.
13372 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13374 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13375 functions, renamed from truncdfsf_test, trunctfsf_test,
13377 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13379 (do_test): Run all these.
13381 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13383 * argp/argp-help.c: Fix typos.
13384 * argp/argp-parse.c: Likewise.
13385 * debug/backtracesyms.c: Likewise.
13386 * elf/elf.h: Likewise.
13387 * malloc/malloc.c: Likewise.
13388 * nis/nis_print.c: Likewise.
13389 * resolv/res_comp.c: Likewise.
13390 * stdlib/stdlib.h: Likewise.
13391 * sunrpc/clnt_tcp.c: Likewise.
13392 * sunrpc/clnt_udp.c: Likewise.
13393 * sunrpc/clnt_unix.c: Likewise.
13394 * sysdeps/unix/bsd/ptsname.c: Likewise.
13395 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13396 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13403 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13405 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13407 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13410 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13413 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13414 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13415 ($(objpfx)bug-dl-leaf): New rule.
13416 ($(objpfx)bug-dl-leaf.so): Likewise.
13417 ($(objpfx)bug-dl-leaf.out): Likewise.
13418 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13419 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13420 * dlfcn/bug-dl-leaf.c: New test.
13421 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13422 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13423 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13424 (dlclose): Likewise.
13425 (dlmopen): Likewise.
13427 2013-08-27 Roland McGrath <roland@hack.frob.com>
13429 * include/netdb.h [!_ISOMAC]:
13430 Don't include <tls.h>.
13431 (h_errno, __libc_h_errno): Move declaration and macros out of
13434 * include/resolv.h [_RESOLV_H_]:
13435 Don't include <tls.h>.
13436 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13437 * resolv/res_libc.c: Don't include <tls.h>.
13438 (_res): Use __attribute__ ((nocommon)) in place of
13439 __attribute__ ((section (".bss"))).
13441 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13442 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13444 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13446 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13447 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13449 * resolv/res_mkquery.c: Include <sys/time.h>.
13451 * inet/ifreq.c: Moved to ...
13452 * sysdeps/unix/ifreq.c: ... here.
13453 * inet/ifreq.c: New file, true stub version.
13455 * socket/sa_len.c: New file.
13456 * socket/Makefile (aux): Add it.
13457 * sysdeps/unix/sysv/linux/Makefile
13458 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13459 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13460 and #include <socket/sa_len.c>.
13461 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13462 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13464 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13465 * bits/socket.h: ... here.
13467 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13468 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13469 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13471 2013-08-27 Andreas Schwab <schwab@suse.de>
13474 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13475 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13476 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13477 * string/test-strcasecmp.c (test_main): Run tests in several
13479 * string/test-strncasecmp.c (test_main): Likewise.
13481 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13482 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13483 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13485 (__strncasecmp_ssse3) [PIC]: Likewise.
13487 2013-08-26 Roland McGrath <roland@hack.frob.com>
13489 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13491 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13492 instead of explicitly declaring xdecrypt.
13493 * nis/nss_nis/nis-publickey.c: Likewise.
13495 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13498 * nscd/aicache.c: Include res_hconf.h.
13499 (addhstaiX): Initialize res_hconf.
13501 2013-08-26 Andreas Schwab <schwab@suse.de>
13503 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13504 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13506 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13508 * nscd/aicache.c (addhstaiX): Fix indentation.
13510 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13512 * configure.ac: Quote $build_pt_chown test.
13513 * configure: Regenerated.
13515 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13518 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13519 * math/s_cexpf.c (__cexpf): Likewise.
13520 * math/s_cexpl.c (__cexpl): Likewise.
13521 * math/libm-test.inc (cexp_test_data): Correct expected return
13522 value for NaN + i0. Add another test.
13524 2013-08-22 David S. Miller <davem@davemloft.net>
13526 * po/ca.po: Update Catalan translation from translation project.
13527 * po/uk.po: Add Ukrainian translations from translation project.
13529 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13532 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13533 is infinite, not alongside NaN test.
13534 * math/s_fdimf.c (__fdimf): Likewise.
13535 * math/s_fdiml.c (__fdiml): Likewise.
13536 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13537 errno is unchanged.
13539 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13541 * argp/argp-help.c: Fix typos.
13542 * crypt/speeds.c: Likewise.
13543 * csu/check_fds.c: Likewise.
13544 * elf/dl-load.c: Likewise.
13545 * elf/dl-open.c: Likewise.
13546 * elf/reldep3.c: Likewise.
13547 * elf/reldep.c: Likewise.
13548 * elf/sprof.c: Likewise.
13549 * iconv/iconv_charmap.c: Likewise.
13550 * iconv/skeleton.c: Likewise.
13551 * iconv/strtab.c: Likewise.
13552 * io/lockf64.c: Likewise.
13553 * libio/libioP.h: Likewise.
13554 * resolv/gai_notify.c: Likewise.
13555 * resolv/ns_name.c: Likewise.
13556 * resolv/ns_samedomain.c: Likewise.
13557 * resolv/res_send.c: Likewise.
13558 * stdlib/random.c: Likewise.
13559 * sunrpc/rpc/xdr.h: Likewise.
13560 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13561 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13562 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13563 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13567 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13568 * sysdeps/mach/hurd/check_fds.c: Likewise.
13569 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13570 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13571 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13572 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13573 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13574 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13575 * sysdeps/pthread/aio_notify.c: Likewise.
13576 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13577 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13578 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13579 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13580 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13582 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13584 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13585 version if bit_Slow_SSE4_2 is set.
13586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13587 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13589 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13592 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13593 trampoline stack frame information.
13594 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13595 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13596 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13597 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13598 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13599 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13600 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13601 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13603 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13604 interrupting a syscall and set with option SA_SIGINFO.
13606 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13609 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13610 argument is infinite.
13611 * math/s_cprojf.c (__cprojf): Likewise.
13612 * math/s_cprojl.c (__cprojl): Likewise.
13613 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13614 * math/libm-test.inc (cproj_test_data): Add more tests.
13616 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13618 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13619 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13620 size. Use __ffs to determine corresponding shift.
13622 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13623 Roland McGrath <roland@hack.frob.com>
13625 * Makefile (INSTALL): Remove trailing blank lines from output of
13628 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13630 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13631 Align 32 bit compat elf_greg to 8 bytes.
13633 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13635 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13637 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13639 * string/strcoll_l.c (coll_seq): New structure.
13640 (get_next_seq_cached): New function.
13641 (get_next_seq): New function.
13642 (do_compare): New function.
13643 (STRCOLL): Use GNU style definition. Simplify implementation
13644 by using get_next_seq, get_next_seq_cached and do_compare.
13646 2013-08-16 Florian Weimer <fweimer@redhat.com>
13650 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13652 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13654 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13655 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13656 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13658 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13659 GETDENTS_64BIT_ALIGNED.
13660 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13661 * manual/filesys.texi (Reading/Closing Directory): Document
13662 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13664 * manual/conf.texi (Limits for Files): Add portability note to
13665 NAME_MAX, PATH_MAX.
13666 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13668 2013-08-13 Andreas Schwab <schwab@suse.de>
13671 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13673 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13674 LDBL_MAX_EXP >= 16384]: Add tests for it.
13676 2013-08-12 David S. Miller <davem@davemloft.net>
13678 * version.h (RELEASE): Set to "development".
13679 (VERSION): Set to "2.18.90".
13680 * NEWS: Add 2.19 section.
13682 2013-08-03 David S. Miller <davem@davemloft.net>
13684 * po/ko.po: Update Korean translation from translation project.
13686 2013-08-01 David S. Miller <davem@davemloft.net>
13688 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13689 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13692 2013-07-30 David S. Miller <davem@davemloft.net>
13694 * po/fr.po: Update French translation from translation project.
13696 2013-07-28 David S. Miller <davem@davemloft.net>
13698 * po/cs.po: Update Czech translation from translation project.
13700 * po/sv.po: Update Swedish translation from translation project.
13702 2013-07-27 David S. Miller <davem@davemloft.net>
13704 * po/eo.po: Update Esperanto translation from translation project.
13706 * po/vi.po: Update Vietnamese translation from translation project.
13708 * po/de.po: Update German translation from translation project.
13710 2013-07-26 David S. Miller <davem@davemloft.net>
13712 * po/bg.po: Update Bulgarian translation from translation project.
13714 * po/nl.po: Update Dutch translation from translation project.
13715 * po/pl.po: Update Polish translation from translation project.
13716 * po/ru.po: Update Russian translation from translation project.
13718 2013-07-24 David S. Miller <davem@davemloft.net>
13720 * po/libc.pot: Update.
13722 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13724 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13725 variable page size.
13726 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13727 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13728 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13730 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13732 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13734 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13735 Andreas Schwab <schwab@suse.de>
13736 Roland McGrath <roland@hack.frob.com>
13737 Joseph Myers <joseph@codesourcery.com>
13738 Carlos O'Donell <carlos@redhat.com>
13741 * config.h.in: Define HAVE_PT_CHOWN.
13742 * config.make.in (build-pt-chown): New variable.
13743 * configure.in (--enable-pt_chown): New configure option.
13744 * configure: Regenerate.
13745 * login/Makefile: Include Makeconfig. Build pt_chown only if
13746 build-pt-chown is enabled.
13747 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13748 pt_chown to fix pty ownership.
13749 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13751 * manual/install.texi (Configuring and compiling): Mention
13752 --enable-pt_chown. Add @findex for grantpt.
13753 * INSTALL: Regenerate.
13755 2013-07-20 David S. Miller <davem@davemloft.net>
13757 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13758 difference between 32-bit and 64-bit.
13760 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13763 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13764 Avoid system header dependency with -ffreestanding.
13765 ($(objpfx)bits/syscall%d): Likewise.
13767 2013-07-13 David S. Miller <davem@davemloft.net>
13769 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13770 underflows from atanl/atan2l due to bug 15319.
13771 (casinh_test_data): Likewise.
13773 2013-07-07 David S. Miller <davem@davemloft.net>
13775 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13777 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13779 * sysdeps/i386/fpu/libm-test-ulps: Update.
13780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13784 * configure.in (--enable-lock-elision): Fix message text.
13785 * INSTALL: Regenerate.
13786 * configure: Regenerate.
13788 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13792 2013-07-03 Andreas Jaeger <aj@suse.de>
13794 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13796 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13797 (ptrace_peeksiginfo_args): Add.
13798 (__ptrace_peeksiginfo_flags): Add.
13799 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13800 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13801 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13803 2013-07-03 Allan McRae <allan@archlinux.org>
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13807 2013-07-02 David S. Miller <davem@davemloft.net>
13809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13811 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13815 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13817 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13820 2013-07-02 Andi Kleen <ak@linux.intel.com>
13822 * config.h.in (ENABLE_LOCK_ELISION): Add.
13823 * configure.in (--enable-lock-elision): Add option.
13824 * manual/install.texi: Document --enable lock elision.
13825 * configure: Regenerate
13826 * INSTALL: Regenerate.
13828 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13830 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13831 SSE4.2 strcasecmp for libc.a.
13832 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13834 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13837 * soft-fp/op-common.h (_FP_FMA): New macro.
13838 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13839 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13840 (_FP_MUL_MEAT_1_imm): ... here.
13841 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13842 (_FP_MUL_MEAT_1_wide): ... here.
13843 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13844 (_FP_MUL_MEAT_1_hard): ... here.
13845 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13846 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13847 (_FP_MUL_MEAT_2_wide): ... here.
13848 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13849 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13850 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13851 (_FP_MUL_MEAT_2_gmp): ... here.
13852 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13853 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13854 (_FP_MUL_MEAT_4_wide): ... here.
13855 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13856 (_FP_MUL_MEAT_4_gmp): ... here.
13857 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13858 (_FP_WFRACBITS_DW_S): Likewise.
13859 (_FP_WFRACXBITS_DW_S): Likewise.
13860 (_FP_HIGHBIT_DW_S): Likewise.
13861 (FP_FMA_S): Likewise.
13862 (_FP_FRAC_HIGH_DW_S): Likewise.
13863 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13864 (_FP_WFRACBITS_DW_D): Likewise.
13865 (_FP_WFRACXBITS_DW_D): Likewise.
13866 (_FP_HIGHBIT_DW_D): Likewise.
13867 (FP_FMA_D): Likewise.
13868 (_FP_FRAC_HIGH_DW_D): Likewise.
13869 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13870 (_FP_WFRACBITS_DW_E): Likewise.
13871 (_FP_WFRACXBITS_DW_E): Likewise.
13872 (_FP_HIGHBIT_DW_E): Likewise.
13873 (FP_FMA_E): Likewise.
13874 (_FP_FRAC_HIGH_DW_E): Likewise.
13875 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13876 (_FP_WFRACBITS_DW_Q): Likewise.
13877 (_FP_WFRACXBITS_DW_Q): Likewise.
13878 (_FP_HIGHBIT_DW_Q): Likewise.
13879 (FP_FMA_Q): Likewise.
13880 (_FP_FRAC_HIGH_DW_Q): Likewise.
13881 * soft-fp/fmasf4.c: New file.
13882 * soft-fp/fmadf4.c: Likewise.
13883 * soft-fp/fmatf4.c: Likewise.
13885 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13888 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13892 (index_Slow_SSE4_2): Likewise.
13893 (index_Prefer_PMINUB_for_stringop): Likewise.
13894 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13895 bit_Slow_SSE4_2 is set.
13896 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13897 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13899 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13901 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13902 rtld_global._dl_hwcap2.
13903 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13905 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13906 POWER8 feature descriptions defined in _dl_hwcap2.
13907 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13908 string handling for POWER8 feature bits.
13909 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13910 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13911 _dl_powerpc_cap_flags.
13912 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13913 * sysdeps/powerpc/rtld-global-offsets.sym
13914 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13915 _dl_hwcap2 in the rtld_global_ro structure.
13917 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13919 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13920 hardware capabilities in support of AT_HWCAP2.
13921 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13922 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13924 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13925 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13926 explicitly the unknown a_type display mechanism is used.
13927 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13928 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13930 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13931 to macro prototype for AT_HWCAP2 support.
13932 * sysdeps/i386/dl-procinfo.h: Likewise.
13933 * sysdeps/s390/dl-procinfo.h: Likewise.
13934 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13935 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13936 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13937 return -1 for unknown a_type display fallback.
13938 * sysdeps/sparc/dl-procinfo.h: Likewise.
13939 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13940 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13942 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13944 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13945 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13947 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13950 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13951 mprotect making __stack_prot writable.
13953 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13954 Joseph Myers <joseph@codesourcery.com>
13956 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13957 as being properly aligned.
13959 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13961 * dlfcn/modstatic5.c: New file.
13962 * dlfcn/tststatic5.c: New file.
13963 * dlfcn/Makefile (tests): Add tststatic5.
13964 (tests-static): Likewise.
13965 (modules-names): Add modstatic5.
13966 (tststatic5-ENV): New variable.
13967 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13970 * elf/dl-support.c (_dl_main_map): New variable.
13971 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13972 (_dl_nns, _dl_load_adds): Set to 1.
13973 (_dl_initial_searchlist): Refer to _dl_main_map.
13974 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13975 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13976 call to _dl_get_origin.
13977 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13979 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13980 * dlfcn/modstatic3.c: New file.
13981 * dlfcn/tststatic3.c: New file.
13982 * dlfcn/tststatic4.c: New file.
13983 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13984 (tests-static): Likewise.
13985 (modules-names): Add modstatic3.
13986 (tststatic3-ENV, tststatic4-ENV): New variables.
13987 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13988 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13990 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13992 * configure.in (CC): Require GCC version 4.4 or later.
13993 * configure: Regenerated.
13994 * manual/install.texi (Tools for Compilation): Update GCC version
13996 * INSTALL: Regenerated.
13998 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14001 * string/test-memcmp.c (check2): New.
14002 (main): Call check2.
14004 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14006 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14009 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14011 (dl_open_worker) [!SHARED]: ... here.
14013 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14015 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14017 2013-06-25 Richard Henderson <rth@redhat.com>
14019 * locale/programs/locarchive.c: Include <libc-internal.h>
14021 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14023 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14024 trailing whitespace removed.
14026 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14029 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14030 * locale/programs/locarchive.c: Include libc-mmap.h.
14031 (prepare_address_space): Take two new outputs (the mmap base and len).
14032 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14034 (create_archive): Declare new mmap base and len values for
14035 prepare_address_space, and store the result in ah.
14036 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14037 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14038 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14039 Declare new mmap base and len values for
14040 prepare_address_space, and store the result in new_ah.
14041 (open_archive): Declare new mmap base and len values for
14042 prepare_address_space, and store the result in ah.
14043 (close_archive): If ah->mmap_base is not NULL, use that and
14044 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14045 * sysdeps/generic/libc-mmap.h: New file.
14047 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14049 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14050 (ALIGN_UP): Likewise.
14051 (PTR_ALIGN_DOWN): Likewise.
14052 (PTR_ALIGN_UP): Likewise.
14054 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14056 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14057 entry mapped to PPC_PLATFORM_POWER8.
14058 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14060 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14061 (_dl_string_platform): Add case for exporting platform position for
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14064 search path to sysdeps/powerpc/powerpc32/power8 directory.
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14066 search path to sysdeps/powerpc/powerpc64/power8 directory.
14067 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14068 power7 directories.
14069 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14070 power7 directories.
14072 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14074 * INSTALL: Regenerate.
14076 * nscd/connections.c (nscd_init): Fix comment.
14078 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14080 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14083 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14084 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14086 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14088 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14090 (DL_DST_REQ_STATIC): Remove macro.
14092 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14095 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14096 with a shift of 0 bits.
14098 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14100 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14103 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14106 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14108 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14110 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14111 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14112 accepts -fno-tree-loop-distribute-patterns.
14113 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14114 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14116 * string/memset.c (memset): Likewise.
14117 * string/test-memmove.c (simple_memmove): Disable loop transformation
14119 * string/test-memset.c (simple_memset): Likewise.
14120 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14121 * benchtests/bench-memset.c (simple_memset): Likewise.
14122 * configure: Regenerated.
14124 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14126 * math/test-misc.c (main): Ignore fesetround failure when failures
14127 of subsequent rounding tests would be ignored.
14130 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14131 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14132 * math/fegetenv.c (__fegetenv): Return 0.
14133 * math/fegetexcept.c (fegetexcept): Return 0.
14134 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14136 * math/feholdexcpt.c (feholdexcept): Return 0.
14137 * math/fesetenv.c (__fesetenv): Return 0.
14138 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14139 argument FE_TONEAREST.
14140 * math/feupdateenv.c (__feupdateenv): Return 0.
14141 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14143 2013-06-18 Roland McGrath <roland@hack.frob.com>
14145 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14146 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14147 ($(objpfx)rtld-%.os rules): Use them.
14149 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14151 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14154 2013-06-17 Roland McGrath <roland@hack.frob.com>
14156 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14157 length of target pattern, then descending length of dependency pattern.
14158 * configure.in (AWK): Require gawk 3.1.2 or newer.
14159 * manual/install.texi (Tools for Compilation): Say that we do.
14160 * configure: Regenerated.
14162 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14163 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14164 * scripts/sysd-rules.awk: ... this new script.
14165 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14166 than a glob-style pattern.
14168 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14170 * math/test-misc.c (main): Do not treat incorrectly rounded
14171 conversions as failure unless ROUNDING_TESTS passes.
14173 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14176 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14177 restore exception state around main square root computation, then
14178 check for inexactness explicitly.
14180 * math/libm-test.inc (fma_test_data): Add another test.
14182 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14184 * manual/threads.texi (Non-POSIX Extensions): New document
14185 node. Document pthread_getattr_default_np and
14186 pthread_setattr_default_np.
14188 * Versions.def (libpthread): Add GLIBC_2.18.
14189 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14198 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14209 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14212 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14214 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14215 H.J. Lu <hjl.tools@gmail.com>
14218 * sysdeps/x86_64/rtld-memset.c: Remove file.
14219 * sysdeps/x86_64/rtld-memset.S: New file.
14221 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14223 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14224 (test_in_one_mode): Take arguments for whether the rounding mode
14225 is supported for each floating-point type.
14226 (do_test): Pass new arguments to test_in_one_mode using
14229 2013-06-13 Roland McGrath <roland@hack.frob.com>
14231 * posix/tst-waitid.c (do_test): Distinguish different instances of
14232 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14233 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14234 before entering the kernel for waitpid.
14236 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14238 * NEWS: Fix note on clock function precision. Text by Roland
14241 2013-06-13 Roland McGrath <roland@hack.frob.com>
14243 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14244 it into place only when and if the sanity check passes.
14246 2013-06-13 Joseph Myers <joseph@codesourcery.com>
14248 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14249 output for whether conversion result is exact. Take argument
14250 indicating whether type is IBM long double.
14251 (round_for_all): Change need_exact field to ibm_ld.
14252 * stdlib/tst-strtod-round.c (struct exactness): New type.
14253 (struct test): Change bool ld_ok field to struct exactness exact.
14254 (TEST): Update all definitions for change to field.
14255 (tests): Regenerate array contents.
14256 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14257 field value. Check for IBM long double here.
14258 (do_test): Update calls to test_in_one_mode.
14260 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14263 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14264 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14266 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14269 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14270 generated by the compiler on loop optimizations.
14271 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14272 general definitions.
14274 2013-06-12 Joseph Myers <joseph@codesourcery.com>
14276 * math/bug-nextafter.c: Include <math-tests.h>.
14277 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14279 * math/bug-nexttoward.c: Include <math-tests.h>.
14280 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14282 * math/test-misc.c: Include <math-tests.h>.
14283 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14286 2013-06-12 Andreas Jaeger <aj@suse.de>
14288 * po/ia.po: Update Interlingua translation from translation
14291 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14293 * include/fenv.h: Include stdbool.h.
14294 (struct rm_ctx): New structure.
14295 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14297 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14298 (SET_RESTORE_ROUNDF): Likewise.
14299 (SET_RESTORE_ROUNDL): Likewise.
14300 (SET_RESTORE_ROUND_NOEX): Likewise.
14301 (SET_RESTORE_ROUND_NOEXF): Likewise.
14302 (SET_RESTORE_ROUND_NOEXL): Likewise.
14303 (SET_RESTORE_ROUND_53BIT): Likewise.
14304 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14305 (libc_feresetround_noexf_ctx): Likewise.
14306 (libc_feresetround_noexl_ctx): Likewise.
14307 (libc_feholdsetround_53bit_ctx): Likewise.
14308 (libc_feresetround_53bit_ctx): Likewise.
14309 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14310 (libc_feholdexcept_setround_sse_ctx): New function.
14311 (libc_fesetenv_sse_ctx): Likewise.
14312 (libc_feupdateenv_sse_ctx): Likewise.
14313 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14314 (libc_feholdexcept_setround_387_ctx): Likewise.
14315 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14316 (libc_feholdsetround_387_prec_ctx): Likewise.
14317 (libc_feholdsetround_387_ctx): Likewise.
14318 (libc_feholdsetround_387_53bit_ctx): Likewise.
14319 (libc_feholdsetround_sse_ctx): Likewise.
14320 (libc_feresetround_sse_ctx): Likewise.
14321 (libc_feresetround_387_ctx): Likewise.
14322 (libc_feupdateenv_387_ctx): Likewise.
14323 (libc_feholdexcept_setroundf_ctx): Define macro.
14324 (libc_fesetenvf_ctx): Likewise.
14325 (libc_feupdateenvf_ctx): Likewise.
14326 (libc_feholdsetroundf_ctx): Likewise.
14327 (libc_feresetroundf_ctx): Likewise.
14328 (libc_feholdexcept_setround_ctx): Likewise.
14329 (libc_fesetenv_ctx): Likewise.
14330 (libc_feupdateenv_ctx): Likewise.
14331 (libc_feholdsetround_ctx): Likewise.
14332 (libc_feresetround_ctx): Likewise.
14333 (libc_feholdexcept_setroundl_ctx): Likewise.
14334 (libc_feupdateenvl_ctx): Likewise.
14335 (libc_feholdsetroundl_ctx): Likewise.
14336 (libc_feresetroundl_ctx): Likewise.
14337 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14338 (libc_feresetround_53bit_ctx): Likewise.
14340 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14342 * locale/iso-639.def: Convert to UTF-8.
14344 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14346 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14347 (EXCEPTION_TESTS_double): Likewise.
14348 (EXCEPTION_TESTS_long_double): Likewise.
14349 (EXCEPTION_TESTS): Likewise.
14350 * math/libm-test.inc (test_exceptions): Only test exceptions if
14351 EXCEPTION_TESTS (FLOAT).
14353 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14355 * benchtests/Makefile (string-bench): Add strcpy_chk and
14357 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14358 * benchtests/bench-stpcpy_chk.c: New file.
14359 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14360 * benchtests/bench-strcpy_chk.c: New file.
14361 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14363 (do_test): Likewise.
14365 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14367 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14368 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14369 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14370 with tabs where appropriate.
14371 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14373 [PPC_PLATFORM_PPC440]: Likewise.
14374 [PPC_PLATFORM_PPC464]: Likewise.
14375 [PPC_PLATFORM_PPC476]: Likewise.
14376 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14377 ppc464, and ppc476 platform strings merging from ports/
14380 2013-06-11 Andreas Schwab <schwab@suse.de>
14383 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14384 (from_ucs4_idx): Regenerate.
14385 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14386 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14387 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14388 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14389 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14390 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14391 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14392 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14393 from FROM_LOOP and TO_LOOP specific macros.
14394 (BODY): Handle combining characters.
14395 * iconvdata/BIG5HKSCS.irreversible: Update.
14396 * iconvdata/BIG5HKSCS.precomposed: New file.
14397 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14399 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14401 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14403 * include/sys/time.h: Fix indentation and add copyright header.
14405 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14406 (do_test): Likewise.
14407 * string/test-memchr.c (do_one_test): Likewise.
14408 (do_test): Likewise.
14409 * string/test-memcmp.c (do_one_test): Likewise.
14410 (do_test): Likewise.
14411 * string/test-memcpy.c (do_one_test): Likewise.
14412 (do_test): Likewise.
14413 * string/test-memmem.c (do_one_test): Likewise.
14414 (do_test): Likewise.
14415 (do_random_tests): Likewise.
14416 * string/test-memmove.c (do_one_test): Likewise.
14417 (do_test): Likewise.
14418 * string/test-memset.c (do_one_test): Likewise.
14419 (do_test): Likewise.
14420 * string/test-rawmemchr.c (do_one_test): Likewise.
14421 (do_test): Likewise.
14422 * string/test-strcasecmp.c (do_one_test): Likewise.
14423 (do_test): Likewise.
14424 * string/test-strcasestr.c (do_one_test): Likewise.
14425 (do_test): Likewise.
14426 * string/test-strcat.c (do_one_test): Likewise.
14427 (do_test): Likewise.
14428 * string/test-strchr.c (do_one_test): Likewise.
14429 (do_test): Likewise.
14430 * string/test-strcmp.c (do_one_test): Likewise.
14431 (do_test): Likewise.
14432 * string/test-strcpy.c (do_one_test): Likewise.
14433 (do_test): Likewise.
14434 * string/test-string.h: Likewise.
14435 (test_init): Likewise.
14436 * string/test-strlen.c (do_one_test): Likewise.
14437 (do_test): Likewise.
14438 * string/test-strncasecmp.c (do_one_test): Likewise.
14439 (do_test): Likewise.
14440 * string/test-strncat.c (do_one_test): Likewise.
14441 (do_test): Likewise.
14442 * string/test-strncmp.c (do_one_test): Likewise.
14443 (do_test_limit): Likewise.
14444 (do_test): Likewise.
14445 * string/test-strncpy.c (do_one_test): Likewise.
14446 (do_test): Likewise.
14447 * string/test-strnlen.c (do_one_test): Likewise.
14448 (do_test): Likewise.
14449 * string/test-strpbrk.c (do_one_test): Likewise.
14450 (do_test): Likewise.
14451 * string/test-strrchr.c (do_one_test): Likewise.
14452 (do_test): Likewise.
14453 * string/test-strspn.c (do_one_test): Likewise.
14454 (do_test): Likewise.
14455 * string/test-strstr.c (do_one_test): Likewise.
14456 (do_test): Likewise.
14458 * benchtests/Makefile (string-bench): Add string benchmarks.
14459 * benchtests/bench-bcopy-ifunc.c: New file.
14460 * benchtests/bench-bcopy.c: New file.
14461 * benchtests/bench-bzero-ifunc.c: New file.
14462 * benchtests/bench-bzero.c: New file.
14463 * benchtests/bench-memccpy-ifunc.c: New file.
14464 * benchtests/bench-memccpy.c: New file.
14465 * benchtests/bench-memchr-ifunc.c: New file.
14466 * benchtests/bench-memchr.c: New file.
14467 * benchtests/bench-memcmp-ifunc.c: New file.
14468 * benchtests/bench-memcmp.c: New file.
14469 * benchtests/bench-memmem-ifunc.c: New file.
14470 * benchtests/bench-memmem.c: New file.
14471 * benchtests/bench-memmove-ifunc.c: New file.
14472 * benchtests/bench-memmove.c: New file.
14473 * benchtests/bench-mempcpy-ifunc.c: New file.
14474 * benchtests/bench-mempcpy.c: New file.
14475 * benchtests/bench-memset-ifunc.c: New file.
14476 * benchtests/bench-memset.c: New file.
14477 * benchtests/bench-rawmemchr-ifunc.c: New file.
14478 * benchtests/bench-rawmemchr.c: New file.
14479 * benchtests/bench-stpcpy-ifunc.c: New file.
14480 * benchtests/bench-stpcpy.c: New file.
14481 * benchtests/bench-stpncpy-ifunc.c: New file.
14482 * benchtests/bench-stpncpy.c: New file.
14483 * benchtests/bench-strcasecmp-ifunc.c: New file.
14484 * benchtests/bench-strcasecmp.c: New file.
14485 * benchtests/bench-strcasestr-ifunc.c: New file.
14486 * benchtests/bench-strcasestr.c: New file.
14487 * benchtests/bench-strcat-ifunc.c: New file.
14488 * benchtests/bench-strcat.c: New file.
14489 * benchtests/bench-strchr-ifunc.c: New file.
14490 * benchtests/bench-strchr.c: New file.
14491 * benchtests/bench-strchrnul-ifunc.c: New file.
14492 * benchtests/bench-strchrnul.c: New file.
14493 * benchtests/bench-strcmp-ifunc.c: New file.
14494 * benchtests/bench-strcmp.c: New file.
14495 * benchtests/bench-strcpy-ifunc.c: New file.
14496 * benchtests/bench-strcpy.c: New file.
14497 * benchtests/bench-strcspn-ifunc.c: New file.
14498 * benchtests/bench-strcspn.c: New file.
14499 * benchtests/bench-strlen-ifunc.c: New file.
14500 * benchtests/bench-strlen.c: New file.
14501 * benchtests/bench-strncasecmp-ifunc.c: New file.
14502 * benchtests/bench-strncasecmp.c: New file.
14503 * benchtests/bench-strncat-ifunc.c: New file.
14504 * benchtests/bench-strncat.c: New file.
14505 * benchtests/bench-strncmp-ifunc.c: New file.
14506 * benchtests/bench-strncmp.c: New file.
14507 * benchtests/bench-strncpy-ifunc.c: New file.
14508 * benchtests/bench-strncpy.c: New file.
14509 * benchtests/bench-strnlen-ifunc.c: New file.
14510 * benchtests/bench-strnlen.c: New file.
14511 * benchtests/bench-strpbrk-ifunc.c: New file.
14512 * benchtests/bench-strpbrk.c: New file.
14513 * benchtests/bench-strrchr-ifunc.c: New file.
14514 * benchtests/bench-strrchr.c: New file.
14515 * benchtests/bench-strspn-ifunc.c: New file.
14516 * benchtests/bench-strspn.c: New file.
14517 * benchtests/bench-strstr-ifunc.c: New file.
14518 * benchtests/bench-strstr.c: New file.
14520 * benchtests/Makefile: Disable parallel execution of targets.
14521 (string-bench): Add memcpy.
14522 (benchset): New variable to store a list of benchmark sets.
14523 (bench-func): Renamed from bench.
14524 (bench-set): New target.
14525 (bench): Depend on bench-func and bench-set.
14526 * benchtests/README: Add section on benchmark sets.
14527 * benchtests/bench-memcpy-ifunc.c: New file.
14528 * benchtests/bench-memcpy.c: New file.
14529 * benchtests/bench-string.h: New file.
14531 2013-06-11 Andreas Schwab <schwab@suse.de>
14534 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14535 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14536 values in the triple.
14537 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14538 terminator in the group key.
14540 2013-06-11 Andreas Jaeger <aj@suse.de>
14542 * po/zh_TW.po: Update Chinese (traditional) translation from
14543 translation project.
14545 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14547 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14548 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14549 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14550 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14551 (clock_getcpuclockid): Likewise.
14552 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14553 Add weak_alias and libc_hidden_def.
14554 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14555 * rt/clock_gettime.c (clock_gettime): Rename to
14556 __clock_gettime. Add weak_alias and libc_hidden_def.
14557 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14558 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14559 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14560 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14561 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14563 * rt/clock_settime.c (clock_settime): Rename to
14564 __clock_settime. Add weak_alias and libc_hidden_def.
14565 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14567 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14569 * mach/err_boot.sub: Remove trailing whitespace.
14570 * mach/err_ipc.sub: Likewise.
14571 * mach/err_mach.sub: Likewise.
14573 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14574 (ROUNDING_TESTS_double): Likewise.
14575 (ROUNDING_TESTS_long_double): Likewise.
14576 (ROUNDING_TESTS): Likewise.
14577 * math/libm-test.inc: Include <math-tests.h>.
14578 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14579 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14580 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14581 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14583 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14585 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14588 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14590 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14591 otherwise empty TRANS lines.
14592 * sysdeps/gnu/errlist.c: Regenerated.
14594 * catgets/gencat.c (error_print): Use (void) in function
14596 * crypt/crypt_util.c (__init_des): Likewise.
14597 * crypt/speeds.c (Stop): Likewise.
14599 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14600 * inet/ruserpass.c (token): Likewise.
14601 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14602 * intl/localealias.c (extend_alias_table): Likewise.
14603 * intl/plural-exp.c (init_germanic_plural): Likewise.
14604 * libio/fcloseall.c (__fcloseall): Likewise.
14605 * libio/genops.c (_IO_flush_all): Likewise.
14606 (_IO_flush_all_linebuffered): Likewise.
14607 (_IO_cleanup): Likewise.
14608 (_IO_iter_begin): Likewise.
14609 (_IO_iter_end): Likewise.
14610 (_IO_list_lock): Likewise.
14611 (_IO_list_unlock): Likewise.
14612 (_IO_list_resetlock): Likewise.
14613 * libio/getchar.c (getchar): Likewise.
14614 * libio/getchar_u.c (getchar_unlocked): Likewise.
14615 * libio/getwchar.c (getwchar): Likewise.
14616 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14617 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14618 * login/getpt.c (__getpt): Likewise.
14619 * login/tst-utmp.c (main): Likewise.
14620 * malloc/hooks.c (__malloc_check_init): Likewise.
14621 * malloc/malloc.c (__malloc_stats): Likewise.
14622 * malloc/mtrace.c (tr_break): Likewise.
14623 (mtrace): Likewise.
14624 (muntrace): Likewise.
14625 * misc/fstab.c (endfsent): Likewise.
14626 * misc/getclktck.c (__getclktck): Likewise.
14627 * misc/getdtsz.c (__getdtablesize): Likewise.
14628 * misc/gethostid.c (gethostid): Likewise.
14629 * misc/getpagesize.c (__getpagesize): Likewise.
14630 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14631 (__get_nprocs): Likewise.
14632 (__get_phys_pages): Likewise.
14633 (__get_avphys_pages): Likewise.
14634 * misc/getttyent.c (getttyent): Likewise.
14635 (setttyent): Likewise.
14636 (endttyent): Likewise.
14637 * misc/getusershell.c (getusershell): Likewise.
14638 (endusershell): Likewise.
14639 (setusershell): Likewise.
14640 (initshells): Likewise.
14641 * misc/hsearch.c (__hdestroy): Likewise.
14642 * misc/sync.c (sync): Likewise.
14643 * misc/syslog.c (closelog_internal): Likewise.
14644 (closelog): Likewise.
14645 * misc/ttyslot.c (ttyslot): Likewise.
14646 * misc/vhangup.c (vhangup): Likewise.
14647 * posix/fork.c (__fork): Likewise.
14648 * posix/getegid.c (__getegid): Likewise.
14649 * posix/geteuid.c (__geteuid): Likewise.
14650 * posix/getgid.c (__getgid): Likewise.
14651 * posix/getpid.c (__getpid): Likewise.
14652 * posix/getppid.c (__getppid): Likewise.
14653 * posix/getuid.c (__getuid): Likewise.
14654 * posix/pause.c (pause): Likewise.
14655 * posix/setpgrp.c (setpgrp): Likewise.
14656 * posix/setsid.c (__setsid): Likewise.
14657 * posix/test-vfork.c (noop): Likewise.
14658 * resolv/gethnamaddr.c (_endhtent): Likewise.
14659 (_gethtent): Likewise.
14660 (ht_endhostent): Likewise.
14661 (gethostent): Likewise.
14662 (dns_service): Likewise.
14663 * stdlib/drand48.c (drand48): Likewise.
14664 * stdlib/lrand48.c (lrand48): Likewise.
14665 * stdlib/mrand48.c (mrand48): Likewise.
14666 * stdlib/rand.c (rand): Likewise.
14667 * stdlib/random.c (__random): Likewise.
14668 * stdlib/setenv.c (clearenv): Likewise.
14669 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14670 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14671 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14672 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14673 (__get_nprocs): Likewise.
14674 (__get_phys_pages): Likewise.
14675 (__get_avphys_pages): Likewise.
14676 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14677 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14678 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14679 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14680 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14681 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14682 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14683 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14684 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14685 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14686 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14687 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14688 * sysdeps/posix/clock.c (clock): Likewise.
14689 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14690 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14691 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14692 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14693 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14695 (__get_nprocs_conf): Likewise.
14696 (__get_phys_pages): Likewise.
14697 (__get_avphys_pages): Likewise.
14698 * time/clock.c (clock): Likewise.
14699 * time/tzset.c (__tzname_max): Likewise.
14701 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14703 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14704 (__bswap_32): Do not use "register".
14705 * crypt/crypt.c (_ufc_doit_r): Likewise.
14706 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14707 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14708 * gmon/gmon.c (__monstartup): Likewise.
14709 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14710 * hurd/hurdmalloc.c (more_memory): Likewise.
14711 (malloc): Likewise.
14713 (realloc): Likewise.
14714 (malloc_fork_prepare): Likewise.
14715 (malloc_fork_parent): Likewise.
14716 (malloc_fork_child): Likewise.
14717 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14718 (_svcauth_des): Likewise.
14719 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14720 * inet/inet_net.c (inet_network): Likewise.
14721 * inet/inet_netof.c (inet_netof): Likewise.
14722 * inet/rcmd.c (__validuser2_sa): Likewise.
14723 * io/fts.c (fts_open): Likewise.
14724 (fts_load): Likewise.
14725 (fts_close): Likewise.
14726 (fts_read): Likewise.
14727 (fts_children): Likewise.
14728 (fts_build): Likewise.
14729 (fts_stat): Likewise.
14730 (fts_sort): Likewise.
14731 (fts_alloc): Likewise.
14732 (fts_lfree): Likewise.
14733 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14734 (_IO_file_xsgetn): Likewise.
14735 (_IO_file_xsgetn_mmap): Likewise.
14736 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14737 (_IO_cookie_write): Likewise.
14738 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14739 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14740 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14741 * malloc/obstack.c (_obstack_begin): Likewise.
14742 (_obstack_begin_1): Likewise.
14743 (_obstack_newchunk): Likewise.
14744 (_obstack_allocated_p): Likewise.
14745 (obstack_free): Likewise.
14746 (_obstack_memory_used): Likewise.
14747 * misc/getttyent.c (getttynam): Likewise.
14748 (getttyent): Likewise.
14751 * misc/getusershell.c (initshells): Likewise.
14752 * misc/syslog.c (__vsyslog_chk): Likewise.
14753 * misc/ttyslot.c (ttyslot): Likewise.
14754 * nis/nis_hash.c (__nis_hash): Likewise.
14755 * posix/fnmatch_loop.c (FCT): Likewise.
14756 * posix/getconf.c (print_all): Likewise.
14758 * posix/getopt.c (exchange): Likewise.
14759 * posix/glob.c (globfree): Likewise.
14760 (prefix_array): Likewise.
14761 (__glob_pattern_type): Likewise.
14762 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14763 (NS_GET32): Likewise.
14764 (NS_PUT16): Likewise.
14765 (NS_PUT32): Likewise.
14766 * resolv/gethnamaddr.c (getanswer): Likewise.
14767 (gethostbyname2): Likewise.
14768 (gethostbyaddr): Likewise.
14769 (_gethtent): Likewise.
14770 (_gethtbyname2): Likewise.
14771 (_gethtbyaddr): Likewise.
14772 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14773 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14774 * resolv/res_init.c (__res_vinit): Likewise.
14775 (net_mask): Likewise.
14776 * resolv/res_mkquery.c (outchar): Likewise.
14778 * stdio-common/printf_fp.c (outchar): Likewise.
14780 * stdio-common/printf_fphex.c (outchar): Likewise.
14782 * stdio-common/printf_size.c (outchar): Likewise.
14784 * stdio-common/test_rdwr.c (main): Likewise.
14785 * stdio-common/tfformat.c (matches): Likewise.
14786 * stdio-common/vfprintf.c (outchar): Likewise.
14787 (printf_unknown): Likewise.
14788 (buffered_vfprintf): Likewise.
14789 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14790 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14791 (ReadFile): Likewise.
14792 * stdlib/qsort.c (SWAP): Likewise.
14793 (_quicksort): Likewise.
14794 * stdlib/setenv.c (__add_to_environ): Likewise.
14795 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14796 * stdlib/strtol_l.c (__strtol_l): Likewise.
14797 * stdlib/tst-strtod.c (main): Likewise.
14798 * stdlib/tst-strtol.c (main): Likewise.
14799 * stdlib/tst-strtoll.c (main): Likewise.
14800 * string/bits/string2.h (__strcmp_cc): Likewise.
14801 (__strcmp_cg): Likewise.
14802 (__strcspn_c1): Likewise.
14803 (__strcspn_c2): Likewise.
14804 (__strcspn_c3): Likewise.
14805 (__strspn_c1): Likewise.
14806 (__strspn_c2): Likewise.
14807 (__strspn_c3): Likewise.
14808 (__strsep_1c): Likewise.
14809 (__strsep_2c): Likewise.
14810 (__strsep_3c): Likewise.
14811 * string/memccpy.c (__memccpy): Likewise.
14812 * string/stpcpy.c (__stpcpy): Likewise.
14813 * string/strcmp.c (strcmp): Likewise.
14814 * string/strrchr.c (strrchr): Likewise.
14815 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14817 * sysdeps/mach/hurd/getcwd.c
14818 (_hurd_canonicalize_directory_name_internal): Likewise.
14819 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14820 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14821 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14822 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14823 Likewise, in both definitions.
14824 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14826 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14827 64] (__bswap_64): Likewise.
14828 * time/test_time.c (main): Likewise.
14829 * time/tzfile.c (__tzfile_read): Likewise.
14830 (__tzfile_compute): Likewise.
14831 * time/tzset.c (__tzset_parse_tz): Likewise.
14832 (tzset_internal): Likewise.
14833 (compute_change): Likewise.
14834 * wcsmbs/wcscat.c (__wcscat): Likewise.
14835 * wcsmbs/wcschr.c (wcschr): Likewise.
14836 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14837 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14838 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14839 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14840 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14841 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14842 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14843 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14844 * wcsmbs/wmemset.c (wmemset): Likewise.
14846 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14848 * scripts/config.guess: Update to version 2013-05-16.
14849 * scripts/config.sub: Update to version 2013-04-24.
14850 * scripts/install-sh: Update to version 2011-11-20.07.
14851 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14852 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14854 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14856 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14857 * elf/sln.c: Likewise.
14858 * hurd/hurd/ioctl.h: Likewise.
14859 * hurd/hurdmalloc.c: Likewise.
14860 * hurd/xattr.c: Likewise.
14861 * include/shlib-compat.h: Likewise.
14862 * inet/ruserpass.c: Likewise.
14863 * libio/iofgets_u.c: Likewise.
14864 * libio/iofgetws_u.c: Likewise.
14865 * locale/programs/ld-identification.c: Likewise.
14866 * locale/programs/ld-time.c: Likewise.
14867 * mach/msg-destroy.c: Likewise.
14868 * nss/nss_files/files-netgrp.c: Likewise.
14869 * resolv/res_data.c: Likewise.
14870 * soft-fp/op-1.h: Likewise.
14871 * soft-fp/op-2.h: Likewise.
14872 * soft-fp/op-4.h: Likewise.
14873 * soft-fp/op-common.h: Likewise.
14874 * stdio-common/printf_fphex.c: Likewise.
14875 * stdlib/strtod_l.c: Likewise.
14876 * sunrpc/rpc/clnt.h: Likewise.
14877 * sysdeps/generic/framestate.c: Likewise.
14878 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14879 * sysdeps/i386/bsd-setjmp.S: Likewise.
14880 * sysdeps/i386/__longjmp.S: Likewise.
14881 * sysdeps/i386/setjmp.S: Likewise.
14882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14883 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14884 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14889 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14892 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14894 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14898 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14899 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14900 * sysdeps/ieee754/support.c: Likewise.
14901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14902 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14903 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14904 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14905 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14906 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14907 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14908 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14909 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14910 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14911 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14912 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14913 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14914 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14915 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14916 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14917 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14920 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14922 * posix/transbug.c: Remove executable mode.
14924 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14926 * crypt/speeds.c: Remove trailing whitespace.
14927 * dlfcn/default.c: Likewise.
14928 * elf/ifuncdep2.c: Likewise.
14929 * elf/ifuncmain1.c: Likewise.
14930 * elf/ifuncmain1vis.c: Likewise.
14931 * elf/testobj.h: Likewise.
14932 * elf/tst-stackguard1.c: Likewise.
14933 * gmon/sys/gmon.h: Likewise.
14934 * hurd/hurdmsg.c: Likewise.
14935 * hurd/new-fd.c: Likewise.
14936 * hurd/ports-get.c: Likewise.
14937 * iconvdata/ibm1008_420.c: Likewise.
14938 * inet/tst-getni1.c: Likewise.
14939 * inet/tst-getni2.c: Likewise.
14940 * libio/ioungetc.c: Likewise.
14941 * libio/wfiledoalloc.c: Likewise.
14942 * manual/libm-err-tab.pl: Likewise.
14943 * math/w_dremf.c: Likewise.
14944 * misc/ftruncate.c: Likewise.
14945 * posix/bug-glob2.c: Likewise.
14946 * posix/tst-pcre.c: Likewise.
14947 * posix/wait4.c: Likewise.
14948 * resolv/README: Likewise.
14949 * resolv/res_debug.h: Likewise.
14950 * resolv/tst-inet_ntop.c: Likewise.
14951 * setjmp/bug269-setjmp.c: Likewise.
14952 * soft-fp/extended.h: Likewise.
14953 * soft-fp/op-1.h: Likewise.
14954 * soft-fp/op-2.h: Likewise.
14955 * soft-fp/op-4.h: Likewise.
14956 * soft-fp/op-8.h: Likewise.
14957 * soft-fp/testit.c: Likewise.
14958 * stdio-common/bug16.c: Likewise.
14959 * stdlib/random.c: Likewise.
14960 * sunrpc/rpcsvc/rquota.x: Likewise.
14961 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14962 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14964 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14965 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14966 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14967 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14969 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14970 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14990 * sysdeps/ieee754/s_lib_version.c: Likewise.
14991 * sysdeps/mach/hurd/check_fds.c: Likewise.
14992 * sysdeps/mach/hurd/getsockname.c: Likewise.
14993 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14994 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14995 * sysdeps/powerpc/bits/link.h: Likewise.
14996 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14997 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14998 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14999 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15000 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15001 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15002 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15003 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15004 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15005 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15006 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15007 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15008 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15009 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15010 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15011 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15012 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15014 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15015 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15016 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15017 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15018 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15019 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15020 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15021 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15022 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15023 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15024 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15025 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15026 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15027 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15028 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15029 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15030 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15031 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15032 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15033 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15034 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15035 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15036 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15037 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15038 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15039 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15040 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15041 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15042 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15043 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15044 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15045 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15048 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15049 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15050 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15051 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15052 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15055 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15056 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15057 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15058 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15059 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15060 * sysdeps/powerpc/sysdep.h: Likewise.
15061 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15062 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15063 * sysdeps/sh/dl-trampoline.S: Likewise.
15064 * sysdeps/sh/memset.S: Likewise.
15065 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15066 * sysdeps/sh/strlen.S: Likewise.
15067 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15068 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15069 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15070 * sysdeps/sparc/sparc32/rem.S: Likewise.
15071 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15072 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15073 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15074 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15075 * sysdeps/sparc/sparc32/urem.S: Likewise.
15076 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15077 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15078 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15079 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15080 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15081 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15082 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15083 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15084 * sysdeps/unix/bsd/times.c: Likewise.
15085 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15086 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15090 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15091 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15092 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15093 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15094 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15095 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15096 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15097 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15098 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15099 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15102 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15103 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15104 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15105 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15106 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15107 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15108 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15109 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15110 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15111 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15112 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15113 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15114 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15115 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15116 * sysdeps/x86_64/strcspn.S: Likewise.
15118 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15120 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15121 generated file. Regenerate properly from gen-translit.pl.
15122 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15123 locale/C-translit.h.
15125 2013-06-05 Andreas Schwab <schwab@suse.de>
15128 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15129 week as 6 instead of -1.
15130 * time/tst-strptime.c (day_tests): Add test case.
15132 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15134 * sysdeps/generic/math_private.h
15135 (libc_feholdexcept_setround_53bit): Replace with
15136 libc_feholdsetround_53bit.
15137 (libc_feupdateenv_53bit): Replace with
15138 libc_feresetround_53bit.
15139 (SET_RESTORE_ROUND_53BIT): Adjust.
15141 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15143 * string/test-strchrnul.c: Add copyright header.
15145 * posix/tst-getaddrinfo4.c: Increase test timeout.
15147 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15150 * math/libm-test.inc (MAX_EXP): Remove
15152 (ulp): Use MIN_EXP - MANT_DIG.
15153 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15155 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15157 * po/be.po: Revert last change.
15158 * po/zh_CN.po: Likewise.
15159 * po/header.pot: Likewise.
15161 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15163 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15164 link-libc-deps to empty as target-specific variable.
15165 * Makerules (link-libc-args): New variable.
15166 (libc-for-link): Likewise.
15167 (link-libc-deps): Likewise.
15168 (lib%.so): Depend on $(link-libc-deps). Link with
15170 (build-module): Link with $(link-libc-args).
15171 (build-module-asneeded): Likewise.
15172 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15174 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15175 target-specific variable.
15176 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15177 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15178 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15180 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15182 ($(objpfx)libpcprofile.so): Likewise.
15183 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15185 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15186 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15187 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15189 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15190 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15191 * login/Makefile ($(objpfx)libutil.so): Likewise.
15192 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15193 * math/Makefile ($(objpfx)libm.so): Likewise.
15194 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15195 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15196 variable instead of depending directly on libc.
15197 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15198 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15200 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15202 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15203 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15204 ($(objpfx)libanl.so): Likewise.
15205 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15207 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15209 * sysdeps/i386/fpu/Makefile: Remove file.
15210 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15211 ($(objpfx)libm.so): Remove dependency on ld.so.
15213 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15216 * nis/yp_xdr.c (XDRMAXNAME): Define.
15217 (XDRMAXRECORD): Define.
15218 (xdr_domainname): Use XDRMAXNAME.
15219 (xdr_mapname): Likewise.
15220 (xdr_peername): Likewise.
15221 (xdr_keydat): Use XDRMAXRECORD.
15222 (xdr_valdat): Likewise.
15224 2013-05-30 Jeff Law <law@redhat.com>
15227 * manual/errno.texi (ESTALE): Update to account for more than
15228 just NFS file systems.
15229 * sysdeps/gnu/errlist.c: Regenerated.
15231 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15234 * elf/Makefile (tests): Add tst-null-argv.
15235 (modules-names): Add tst-null-argv-lib.
15236 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15237 (tst-null-argv-ENV): Set environment for tst-null-argv.
15238 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15239 (RTLD_PROGNAME): New macro.
15240 * elf/tst-null-argv.c: New test case.
15241 * elf/tst-null-argv-lib.c: Library for test case.
15242 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15243 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15244 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15245 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15246 * elf/dl-init.c (call_init): Likewise.
15247 (_dl_init): Likewise.
15248 * elf/dl-load.c (print_search_path): Likewise.
15249 (_dl_map_object): Likewise.
15250 * elf/dl-lookup.c (do_lookup_x): Likewise.
15251 (add_dependency): Likewise.
15252 (_dl_lookup_symbol_x): Likewise.
15253 (_dl_debug_bindings): Likewise.
15254 * elf/dl-open.c (_dl_show_scope): Likewise.
15255 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15256 * elf/dl-version.c (match_symbol): Likewise.
15257 (_dl_check_map_versions): Likewise.
15258 * elf/rtld.c (dl_main): Likewise.
15259 (print_unresolved): Use RTLD_PROGNAME.
15260 (print_missing_version): Likewise.
15261 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15262 (elf_machine_rela): Likewise.
15263 * sysdeps/powerpc/powerpc32/dl-machine.c
15264 (__process_machine_rela): Likewise.
15265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15267 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15271 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15274 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15278 2013-05-28 Carlos O'Donell <carlos@redhat.com>
15280 * po/be.po: Add descriptive title.
15281 * po/zh_CN.po: Likewise.
15282 * po/header.pot: Likewise.
15284 2013-05-28 Mike Frysinger <vapier@gentoo.org>
15286 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15288 (enlarge_archive): Likewise.
15290 2013-05-28 Ben North <ben@redfrontdoor.org>
15292 * manual/arith.texi (frexp): It is the magnitude of the return
15293 value which lies in [0.5, 1), not the return value itself.
15295 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15299 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15301 * stdio-common/bug26.c (main): Correct fscanf template.
15303 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15304 declare _dl_skip_args.
15306 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15309 * manual/platform.texi: Add missing @end deftypefun.
15311 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15314 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15315 bit of mantissa of 2^16382.
15316 * math/libm-test.inc (hypot_test_data): Add more tests.
15318 * math/libm-test.inc: Add drem and pow10 to list of tested
15320 (pow10_test): New function.
15321 (drem_test): Likewise.
15322 (drem_test_tonearest): Likewise.
15323 (drem_test_towardzero): Likewise.
15324 (drem_test_downward): Likewise.
15325 (drem_test_upward): Likewise.
15326 (main): Call the new functions.
15328 * math/libm-test.inc (finite_test_data): Remove.
15329 (finite_test): Run tests from isfinite_test_data.
15330 (gamma_test_data): Remove.
15331 (gamma_test): Run tests from lgamma_test_data.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15335 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15337 * manual/platform.texi: Add PowerPC PPR function set documentation.
15338 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15341 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15343 * math/libm-test.inc (MAX_EXP): Define.
15345 (ulp): New function.
15346 (check_float_internal): Use ULPDIFF.
15347 (cpow_test): Disable failing test.
15348 (check_ulp): Test ulp() implemetnation.
15349 (main): Call check_ulp before starting tests.
15351 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15353 * math/gen-libm-test.pl (generate_testfile): Do not handle
15354 START_DATA and END_DATA.
15355 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15357 (acos_tonearest_test_data): Likewise.
15358 (acos_towardzero_test_data): Likewise.
15359 (acos_downward_test_data): Likewise.
15360 (acos_upward_test_data): Likewise.
15361 (acosh_test_data): Likewise.
15362 (asin_test_data): Likewise.
15363 (asin_tonearest_test_data): Likewise.
15364 (asin_towardzero_test_data): Likewise.
15365 (asin_downward_test_data): Likewise.
15366 (asin_upward_test_data): Likewise.
15367 (asinh_test_data): Likewise.
15368 (atan_test_data): Likewise.
15369 (atanh_test_data): Likewise.
15370 (atan2_test_data): Likewise.
15371 (cabs_test_data): Likewise.
15372 (cacos_test_data): Likewise.
15373 (cacosh_test_data): Likewise.
15374 (carg_test_data): Likewise.
15375 (casin_test_data): Likewise.
15376 (casinh_test_data): Likewise.
15377 (catan_test_data): Likewise.
15378 (catanh_test_data): Likewise.
15379 (cbrt_test_data): Likewise.
15380 (ccos_test_data): Likewise.
15381 (ccosh_test_data): Likewise.
15382 (ceil_test_data): Likewise.
15383 (cexp_test_data): Likewise.
15384 (cimag_test_data): Likewise.
15385 (clog_test_data): Likewise.
15386 (clog10_test_data): Likewise.
15387 (conj_test_data): Likewise.
15388 (copysign_test_data): Likewise.
15389 (cos_test_data): Likewise.
15390 (cos_tonearest_test_data): Likewise.
15391 (cos_towardzero_test_data): Likewise.
15392 (cos_downward_test_data): Likewise.
15393 (cos_upward_test_data): Likewise.
15394 (cosh_test_data): Likewise.
15395 (cosh_tonearest_test_data): Likewise.
15396 (cosh_towardzero_test_data): Likewise.
15397 (cosh_downward_test_data): Likewise.
15398 (cosh_upward_test_data): Likewise.
15399 (cpow_test_data): Likewise.
15400 (cproj_test_data): Likewise.
15401 (creal_test_data): Likewise.
15402 (csin_test_data): Likewise.
15403 (csinh_test_data): Likewise.
15404 (csqrt_test_data): Likewise.
15405 (ctan_test_data): Likewise.
15406 (ctan_tonearest_test_data): Likewise.
15407 (ctan_towardzero_test_data): Likewise.
15408 (ctan_downward_test_data): Likewise.
15409 (ctan_upward_test_data): Likewise.
15410 (ctanh_test_data): Likewise.
15411 (ctanh_tonearest_test_data): Likewise.
15412 (ctanh_towardzero_test_data): Likewise.
15413 (ctanh_downward_test_data): Likewise.
15414 (ctanh_upward_test_data): Likewise.
15415 (erf_test_data): Likewise.
15416 (erfc_test_data): Likewise.
15417 (exp_test_data): Likewise.
15418 (exp_tonearest_test_data): Likewise.
15419 (exp_towardzero_test_data): Likewise.
15420 (exp_downward_test_data): Likewise.
15421 (exp_upward_test_data): Likewise.
15422 (exp10_test_data): Likewise.
15423 (exp2_test_data): Likewise.
15424 (expm1_test_data): Likewise.
15425 (fabs_test_data): Likewise.
15426 (fdim_test_data): Likewise.
15427 (finite_test_data): Likewise.
15428 (floor_test_data): Likewise.
15429 (fma_test_data): Likewise.
15430 (fma_towardzero_test_data): Likewise.
15431 (fma_downward_test_data): Likewise.
15432 (fma_upward_test_data): Likewise.
15433 (fmax_test_data): Likewise.
15434 (fmin_test_data): Likewise.
15435 (fmod_test_data): Likewise.
15436 (fpclassify_test_data): Likewise.
15437 (frexp_test_data): Likewise.
15438 (gamma_test_data): Likewise.
15439 (hypot_test_data): Likewise.
15440 (ilogb_test_data): Likewise.
15441 (isfinite_test_data): Likewise.
15442 (isgreater_test_data): Likewise.
15443 (isgreaterequal_test_data): Likewise.
15444 (isinf_test_data): Likewise.
15445 (isless_test_data): Likewise.
15446 (islessequal_test_data): Likewise.
15447 (islessgreater_test_data): Likewise.
15448 (isnan_test_data): Likewise.
15449 (isnormal_test_data): Likewise.
15450 (issignaling_test_data): Likewise.
15451 (isunordered_test_data): Likewise.
15452 (j0_test_data): Likewise.
15453 (j1_test_data): Likewise.
15454 (jn_test_data): Likewise.
15455 (ldexp_test_data): Likewise.
15456 (lgamma_test_data): Likewise.
15457 (lrint_test_data): Likewise.
15458 (lrint_tonearest_test_data): Likewise.
15459 (lrint_towardzero_test_data): Likewise.
15460 (lrint_downward_test_data): Likewise.
15461 (lrint_upward_test_data): Likewise.
15462 (llrint_test_data): Likewise.
15463 (llrint_tonearest_test_data): Likewise.
15464 (llrint_towardzero_test_data): Likewise.
15465 (llrint_downward_test_data): Likewise.
15466 (llrint_upward_test_data): Likewise.
15467 (log_test_data): Likewise.
15468 (log10_test_data): Likewise.
15469 (log1p_test_data): Likewise.
15470 (log2_test_data): Likewise.
15471 (logb_test_data): Likewise.
15472 (logb_downward_test_data): Likewise.
15473 (lround_test_data): Likewise.
15474 (llround_test_data): Likewise.
15475 (modf_test_data): Likewise.
15476 (nearbyint_test_data): Likewise.
15477 (nextafter_test_data): Likewise.
15478 (nexttoward_test_data): Likewise.
15479 (pow_test_data): Likewise.
15480 (pow_tonearest_test_data): Likewise.
15481 (pow_towardzero_test_data): Likewise.
15482 (pow_downward_test_data): Likewise.
15483 (pow_upward_test_data): Likewise.
15484 (remainder_test_data): Likewise.
15485 (remainder_tonearest_test_data): Likewise.
15486 (remainder_towardzero_test_data): Likewise.
15487 (remainder_downward_test_data): Likewise.
15488 (remainder_upward_test_data): Likewise.
15489 (remquo_test_data): Likewise.
15490 (rint_test_data): Likewise.
15491 (rint_tonearest_test_data): Likewise.
15492 (rint_towardzero_test_data): Likewise.
15493 (rint_downward_test_data): Likewise.
15494 (rint_upward_test_data): Likewise.
15495 (round_test_data): Likewise.
15496 (scalb_test_data): Likewise.
15497 (scalbn_test_data): Likewise.
15498 (scalbln_test_data): Likewise.
15499 (signbit_test_data): Likewise.
15500 (sin_test_data): Likewise.
15501 (sin_tonearest_test_data): Likewise.
15502 (sin_towardzero_test_data): Likewise.
15503 (sin_downward_test_data): Likewise.
15504 (sin_upward_test_data): Likewise.
15505 (sincos_test_data): Likewise.
15506 (sinh_test_data): Likewise.
15507 (sinh_tonearest_test_data): Likewise.
15508 (sinh_towardzero_test_data): Likewise.
15509 (sinh_downward_test_data): Likewise.
15510 (sinh_upward_test_data): Likewise.
15511 (sqrt_test_data): Likewise.
15512 (tan_test_data): Likewise.
15513 (tan_tonearest_test_data): Likewise.
15514 (tan_towardzero_test_data): Likewise.
15515 (tan_downward_test_data): Likewise.
15516 (tan_upward_test_data): Likewise.
15517 (tanh_test_data): Likewise.
15518 (tgamma_test_data): Likewise.
15519 (trunc_test_data): Likewise.
15520 (y0_test_data): Likewise.
15521 (y1_test_data): Likewise.
15522 (yn_test_data): Likewise.
15523 (significand_test_data): Likewise.
15525 * math/gen-libm-test.pl (@functions): Remove variable.
15526 (generate_testfile): Don't handle START and END lines.
15527 * math/libm-test.inc (START): New macro.
15529 (END_COMPLEX): Likewise.
15530 (acos_test): Use END macro without arguments.
15531 (acos_test_tonearest): Likewise.
15532 (acos_test_towardzero): Likewise.
15533 (acos_test_downward): Likewise.
15534 (acos_test_upward): Likewise.
15535 (acosh_test): Likewise.
15536 (asin_test): Likewise.
15537 (asin_test_tonearest): Likewise.
15538 (asin_test_towardzero): Likewise.
15539 (asin_test_downward): Likewise.
15540 (asin_test_upward): Likewise.
15541 (asinh_test): Likewise.
15542 (atan_test): Likewise.
15543 (atanh_test): Likewise.
15544 (atan2_test): Likewise.
15545 (cabs_test): Likewise.
15546 (cacos_test): Use END_COMPLEX macro without arguments.
15547 (cacosh_test): Likewise.
15548 (carg_test): Use END macro without arguments.
15549 (casin_test): Use END_COMPLEX macro without arguments.
15550 (casinh_test): Likewise.
15551 (catan_test): Likewise.
15552 (catanh_test): Likewise.
15553 (cbrt_test): Use END macro without arguments.
15554 (ccos_test): Use END_COMPLEX macro without arguments.
15555 (ccosh_test): Likewise.
15556 (ceil_test): Use END macro without arguments.
15557 (cexp_test): Use END_COMPLEX macro without arguments.
15558 (cimag_test): Use END macro without arguments.
15559 (clog_test): Use END_COMPLEX macro without arguments.
15560 (clog10_test): Likewise.
15561 (conj_test): Likewise.
15562 (copysign_test): Use END macro without arguments.
15563 (cos_test): Likewise.
15564 (cos_test_tonearest): Likewise.
15565 (cos_test_towardzero): Likewise.
15566 (cos_test_downward): Likewise.
15567 (cos_test_upward): Likewise.
15568 (cosh_test): Likewise.
15569 (cosh_test_tonearest): Likewise.
15570 (cosh_test_towardzero): Likewise.
15571 (cosh_test_downward): Likewise.
15572 (cosh_test_upward): Likewise.
15573 (cpow_test): Use END_COMPLEX macro without arguments.
15574 (cproj_test): Likewise.
15575 (creal_test): Use END macro without arguments.
15576 (csin_test): Use END_COMPLEX macro without arguments.
15577 (csinh_test): Likewise.
15578 (csqrt_test): Likewise.
15579 (ctan_test): Likewise.
15580 (ctan_test_tonearest): Likewise.
15581 (ctan_test_towardzero): Likewise.
15582 (ctan_test_downward): Likewise.
15583 (ctan_test_upward): Likewise.
15584 (ctanh_test): Likewise.
15585 (ctanh_test_tonearest): Likewise.
15586 (ctanh_test_towardzero): Likewise.
15587 (ctanh_test_downward): Likewise.
15588 (ctanh_test_upward): Likewise.
15589 (erf_test): Use END macro without arguments.
15590 (erfc_test): Likewise.
15591 (exp_test): Likewise.
15592 (exp_test_tonearest): Likewise.
15593 (exp_test_towardzero): Likewise.
15594 (exp_test_downward): Likewise.
15595 (exp_test_upward): Likewise.
15596 (exp10_test): Likewise.
15597 (exp2_test): Likewise.
15598 (expm1_test): Likewise.
15599 (fabs_test): Likewise.
15600 (fdim_test): Likewise.
15601 (finite_test): Likewise.
15602 (floor_test): Likewise.
15603 (fma_test): Likewise.
15604 (fma_test_towardzero): Likewise.
15605 (fma_test_downward): Likewise.
15606 (fma_test_upward): Likewise.
15607 (fmax_test): Likewise.
15608 (fmin_test): Likewise.
15609 (fmod_test): Likewise.
15610 (fpclassify_test): Likewise.
15611 (frexp_test): Likewise.
15612 (gamma_test): Likewise.
15613 (hypot_test): Likewise.
15614 (ilogb_test): Likewise.
15615 (isfinite_test): Likewise.
15616 (isgreater_test): Likewise.
15617 (isgreaterequal_test): Likewise.
15618 (isinf_test): Likewise.
15619 (isless_test): Likewise.
15620 (islessequal_test): Likewise.
15621 (islessgreater_test): Likewise.
15622 (isnan_test): Likewise.
15623 (isnormal_test): Likewise.
15624 (issignaling_test): Likewise.
15625 (isunordered_test): Likewise.
15626 (j0_test): Likewise.
15627 (j1_test): Likewise.
15628 (jn_test): Likewise.
15629 (ldexp_test): Likewise.
15630 (lgamma_test): Likewise.
15631 (lrint_test): Likewise.
15632 (lrint_test_tonearest): Likewise.
15633 (lrint_test_towardzero): Likewise.
15634 (lrint_test_downward): Likewise.
15635 (lrint_test_upward): Likewise.
15636 (llrint_test): Likewise.
15637 (llrint_test_tonearest): Likewise.
15638 (llrint_test_towardzero): Likewise.
15639 (llrint_test_downward): Likewise.
15640 (llrint_test_upward): Likewise.
15641 (log_test): Likewise.
15642 (log10_test): Likewise.
15643 (log1p_test): Likewise.
15644 (log2_test): Likewise.
15645 (logb_test): Likewise.
15646 (logb_test_downward): Likewise.
15647 (lround_test): Likewise.
15648 (llround_test): Likewise.
15649 (modf_test): Likewise.
15650 (nearbyint_test): Likewise.
15651 (nextafter_test): Likewise.
15652 (nexttoward_test): Likewise.
15653 (pow_test): Likewise.
15654 (pow_test_tonearest): Likewise.
15655 (pow_test_towardzero): Likewise.
15656 (pow_test_downward): Likewise.
15657 (pow_test_upward): Likewise.
15658 (remainder_test): Likewise.
15659 (remainder_test_tonearest): Likewise.
15660 (remainder_test_towardzero): Likewise.
15661 (remainder_test_downward): Likewise.
15662 (remainder_test_upward): Likewise.
15663 (remquo_test): Likewise.
15664 (rint_test): Likewise.
15665 (rint_test_tonearest): Likewise.
15666 (rint_test_towardzero): Likewise.
15667 (rint_test_downward): Likewise.
15668 (rint_test_upward): Likewise.
15669 (round_test): Likewise.
15670 (scalb_test): Likewise.
15671 (scalbn_test): Likewise.
15672 (scalbln_test): Likewise.
15673 (signbit_test): Likewise.
15674 (sin_test): Likewise.
15675 (sin_test_tonearest): Likewise.
15676 (sin_test_towardzero): Likewise.
15677 (sin_test_downward): Likewise.
15678 (sin_test_upward): Likewise.
15679 (sincos_test): Likewise.
15680 (sinh_test): Likewise.
15681 (sinh_test_tonearest): Likewise.
15682 (sinh_test_towardzero): Likewise.
15683 (sinh_test_downward): Likewise.
15684 (sinh_test_upward): Likewise.
15685 (sqrt_test): Likewise.
15686 (tan_test): Likewise.
15687 (tan_test_tonearest): Likewise.
15688 (tan_test_towardzero): Likewise.
15689 (tan_test_downward): Likewise.
15690 (tan_test_upward): Likewise.
15691 (tanh_test): Likewise.
15692 (tgamma_test): Likewise.
15693 (trunc_test): Likewise.
15694 (y0_test): Likewise.
15695 (y1_test): Likewise.
15696 (yn_test): Likewise.
15697 (significand_test): Likewise.
15699 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15702 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15704 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15707 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15708 __ppc_mdoio and __ppc_mdoom.
15709 * manual/platform.texi: Document new functions __ppc_yield,
15710 __ppc_mdoio and __ppc_mdoom.
15712 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15714 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15715 (main): Mention "tls" pseudo-hwcap is legacy.
15716 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15718 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15720 * math/gen-libm-test.pl (parse_args): Output only string of
15721 arguments as text for test name, not full call or descriptions of
15722 tests for extra outputs.
15723 (generate_testfile): Do not pass function name to parse_args.
15724 Generate this_func variable from START.
15725 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15727 (struct test_ff_f_data): Likewise.
15728 (test_ff_f_data_nexttoward): Likewise.
15729 (struct test_fi_f_data): Likewise.
15730 (struct test_fl_f_data): Likewise.
15731 (struct test_if_f_data): Likewise.
15732 (struct test_fff_f_data): Likewise.
15733 (struct test_c_f_data): Likewise.
15734 (struct test_f_f1_data): Likewise. Remove field extra_name.
15735 (struct test_fF_f1_data): Likewise.
15736 (struct test_ffI_f1_data): Likewise.
15737 (struct test_c_c_data): Rename test_name field to arg_str.
15738 (struct test_cc_c_data): Likewise.
15739 (struct test_f_i_data): Likewise.
15740 (struct test_ff_i_data): Likewise.
15741 (struct test_f_l_data): Likewise.
15742 (struct test_f_L_data): Likewise.
15743 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15745 (COMMON_TEST_SETUP): New macro.
15746 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15747 (COMMON_TEST_CLEANUP): Likewise.
15748 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15749 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15751 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15752 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15754 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15755 (RUN_TEST_fff_f): Take argument string. Call new setup and
15757 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15758 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15760 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15761 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15763 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15764 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15766 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15767 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15769 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15770 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15772 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15773 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15775 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15776 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15778 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15779 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15781 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15782 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15784 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15785 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15787 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15788 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15790 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15791 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15793 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15794 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15796 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15797 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15799 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15800 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15802 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15804 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15806 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15807 to _sifields.sigfault.
15808 (si_addr_lsb): Define new macro.
15809 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15810 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15813 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15816 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15818 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15820 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15821 loading the domain.
15823 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15825 * math/gen-libm-test.pl (parse_args): Do not include expected
15826 result in test name.
15827 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15828 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15829 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15830 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15831 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15834 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15836 * benchtests/Makefile: Sort function entries.
15838 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15839 tanh, asinh, acosh, atanh.
15840 * benchtests/acos-inputs: New file.
15841 * benchtests/acosh-inputs: New file.
15842 * benchtests/asin-inputs: New file.
15843 * benchtests/asinh-inputs: New file.
15844 * benchtests/atanh-inputs: New file.
15845 * benchtests/cosh-inputs: New file.
15846 * benchtests/log-inputs: New file.
15847 * benchtests/sinh-inputs: New file.
15848 * benchtests/tanh-inputs: New file.
15850 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15853 * posix/tst-getaddrinfo4.c: New test.
15854 * posix/Makefile (tests): Add it.
15856 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15859 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15860 when no services were used.
15861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15862 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15864 2013-05-21 Andreas Schwab <schwab@suse.de>
15867 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15868 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15870 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15871 redundant variable declarations and reallocation of buffer when
15872 parsing as IPv6 address. Always set NSS status when called from
15873 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15874 buffer too small. Correct computation of needed size.
15875 * nss/Makefile (tests): Add test-digits-dots.
15876 * nss/test-digits-dots.c: New test.
15878 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15880 * benchtests/Makefile: Remove instructions for adding
15882 * benchtests/README: New file to explain how to execute and
15883 enhance the benchmark tests.
15885 2013-05-21 Andreas Schwab <schwab@suse.de>
15888 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15889 * setjmp/tst-sigsetjmp.c: New test.
15891 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15893 * sysdeps/x86_64/memset.S (memset): New implementation.
15894 (__bzero): Likewise.
15895 (__memset_tail): New function.
15897 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15899 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15900 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15901 __memcpy_sse2_unaligned ifunc selection.
15902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15903 Add memcpy-sse2-unaligned.S.
15904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15905 Add: __memcpy_sse2_unaligned.
15907 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15910 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15911 math_force_eval before restoring floating-point envrionment.
15912 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15913 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15915 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15917 (__nearbyintl): Use math_force_eval before restoring
15918 floating-point environment.
15919 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15921 * math/gen-libm-test.pl (special_functions): Remove.
15922 (parse_args): Don't handle TEST_extra. Handle functions with no
15924 * math/libm-test.inc (struct test_sincos_data): Replace with
15925 struct test_fFF_11_data.
15926 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15927 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15928 (sincos_test_data): Change element type to struct
15929 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15930 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15931 RUN_TEST_LOOP_sincos.
15932 * math/README.libm-test: Don't mention special handling of
15933 individual functions.
15934 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15935 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15936 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15937 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15938 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15941 * math/gen-libm-test.pl (get_variable): Remove function.
15942 (parse_args): Don't show pointer parameters to call in test
15943 names. Use "extra output N" in test names for extra outputs
15944 rather than naming variables.
15946 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15949 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15950 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15951 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15953 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15955 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15958 * math/gen-libm-test.pl (@tests): Remove variable.
15959 ($count): Likewise.
15960 (new_test): Remove function.
15961 (show_exceptions): New function.
15962 (special_functions): Use show_exceptions instead of new_test.
15963 (parse_args): Likewise.
15964 (generate_testfile): Pass only function name in generated call to
15965 print_max_error or print_complex_max_error.
15966 (get_ulps): Do not handle complex tests specially.
15967 (output_test): Rename to ...
15968 (get_all_ulps_for_test): ... this. Return a string rather than
15969 printing to a file. Require ulps to be present.
15970 (output_ulps): Generate arrays rather than #defines.
15971 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15972 (struct ulp_data): New type.
15973 (BUILD_COMPLEX_ULP): Remove macro.
15974 (compare_ulp_data): New function.
15975 (find_ulps): Likewise.
15976 (find_test_ulps): Likewise.
15977 (find_function_ulps): Likewise.
15978 (find_complex_function_ulps): Likewise.
15979 (print_max_error): Determine allowed ulps using
15980 find_function_ulps.
15981 (print_complex_max_error): Determine allowed ulps using
15982 find_complex_function_ulps.
15983 (check_float_internal): Determine max ulps using find_test_ulps.
15984 (check_float): Do not take max_ulp parameter. Update call to
15985 check_float_internal.
15986 (check_complex): Likewise.
15987 (check_int): Do not take max_ulp parameter.
15988 (check_long): Likewise.
15989 (check_bool): Likewise.
15990 (check_longlong): Likewise.
15991 (struct test_f_f_data): Remove max_ulp field.
15992 (struct test_ff_f_data): Likewise.
15993 (struct test_ff_f_data_nexttoward): Likewise.
15994 (struct test_fi_f_data): Likewise.
15995 (struct test_fl_f_data): Likewise.
15996 (struct test_if_f_data): Likewise.
15997 (struct test_fff_f_data): Likewise.
15998 (struct test_c_f_data): Likewise.
15999 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16000 (struct test_fF_f1_data): Likewise.
16001 (struct test_ffI_f1_data): Likewise.
16002 (struct test_c_c_data): Remove max_ulp field.
16003 (struct test_cc_c_data): Likewise.
16004 (struct test_f_i_data): Likewise.
16005 (struct test_ff_i_data): Likewise.
16006 (struct test_f_l_data): Likewise.
16007 (struct test_f_L_data): Likewise.
16008 (struct test_sincos_data): Likewise.
16009 (RUN_TEST_f_f): Do not handle ulps.
16010 (RUN_TEST_LOOP_f_f): Likewise.
16011 (RUN_TEST_2_f): Likewise.
16012 (RUN_TEST_LOOP_2_f): Likewise.
16013 (RUN_TEST_fff_f): Likewise.
16014 (RUN_TEST_LOOP_fff_f): Likewise.
16015 (RUN_TEST_c_f): Likewise.
16016 (RUN_TEST_LOOP_c_f): Likewise.
16017 (RUN_TEST_f_f1): Likewise.
16018 (RUN_TEST_LOOP_f_f1): Likewise.
16019 (RUN_TEST_fF_f1): Likewise.
16020 (RUN_TEST_LOOP_fF_f1): Likewise.
16021 (RUN_TEST_fI_f1): Likewise.
16022 (RUN_TEST_LOOP_fI_f1): Likewise.
16023 (RUN_TEST_ffI_f1): Likewise.
16024 (RUN_TEST_LOOP_ffI_f1): Likewise.
16025 (RUN_TEST_c_c): Likewise.
16026 (RUN_TEST_LOOP_c_c): Likewise.
16027 (RUN_TEST_cc_c): Likewise.
16028 (RUN_TEST_LOOP_cc_c): Likewise.
16029 (RUN_TEST_f_i): Likewise.
16030 (RUN_TEST_LOOP_f_i): Likewise.
16031 (RUN_TEST_f_i_tg): Likewise.
16032 (RUN_TEST_LOOP_f_i_tg): Likewise.
16033 (RUN_TEST_ff_i_tg): Likewise.
16034 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16035 (RUN_TEST_f_b): Likewise.
16036 (RUN_TEST_LOOP_f_b): Likewise.
16037 (RUN_TEST_f_b_tg): Likewise.
16038 (RUN_TEST_LOOP_f_b_tg): Likewise.
16039 (RUN_TEST_f_l): Likewise.
16040 (RUN_TEST_LOOP_f_l): Likewise.
16041 (RUN_TEST_f_L): Likewise.
16042 (RUN_TEST_LOOP_f_L): Likewise.
16043 (RUN_TEST_sincos): Likewise.
16044 (RUN_TEST_LOOP_sincos): Likewise.
16046 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16050 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16051 main case of finite arguments, set rounding mode to FE_TONEAREST
16052 and discard exceptions.
16053 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16055 (remainder_tonearest_test_data): New variable.
16056 (remainder_test_tonearest): New function.
16057 (remainder_towardzero_test_data): New variable.
16058 (remainder_test_towardzero): New function.
16059 (remainder_downward_test_data): New variable.
16060 (remainder_test_downward): New function.
16061 (remainder_upward_test_data): New variable.
16062 (remainder_test_upward): New function.
16063 (main): Call the new test functions.
16065 * math/libm-test.inc (struct test_f_f1_data): Remove field
16067 (struct test_fF_f1_data): Likewise.
16068 (struct test_ffI_f1_data): Likewise.
16069 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16070 based on value of EXTRA_EXPECTED.
16071 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16072 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16073 EXTRA_VAR based on value of EXTRA_EXPECTED.
16074 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16075 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16076 EXTRA_VAR based on value of EXTRA_EXPECTED.
16077 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16078 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16079 EXTRA_VAR based on value of EXTRA_EXPECTED.
16080 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16081 * math/gen-libm-test.pl (parse_args): Don't output initializers
16082 for extra output values.
16084 * math/libm-test.inc (check_int): Expect result to be exactly
16085 equal to expected value and do not handle ulps.
16086 (check_long): Likewise.
16087 (check_longlong): Likewise.
16089 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16091 (cimag_test_data): Likewise.
16092 (conj_test_data): Likewise.
16093 (copysign_test_data): Likewise.
16094 (cproj_test_data): Likewise.
16095 (creal_test_data): Likewise.
16096 (fabs_test_data): Likewise.
16097 (fdim_test_data): Likewise.
16098 (finite_test_data): Likewise.
16099 (floor_test_data): Likewise.
16100 (fmax_test_data): Likewise.
16101 (fmin_test_data): Likewise.
16102 (fmod_test_data): Likewise.
16103 (fpclassify_test_data): Likewise.
16104 (frexp_test_data): Likewise.
16105 (ilogb_test_data): Likewise.
16106 (isfinite_test_data): Likewise.
16107 (isgreater_test_data): Likewise.
16108 (isgreaterequal_test_data): Likewise.
16109 (isinf_test_data): Likewise.
16110 (isless_test_data): Likewise.
16111 (islessequal_test_data): Likewise.
16112 (islessgreater_test_data): Likewise.
16113 (isnan_test_data): Likewise.
16114 (isnormal_test_data): Likewise.
16115 (issignaling_test_data): Likewise.
16116 (isunordered_test_data): Likewise.
16117 (ldexp_test_data): Likewise.
16118 (lrint_test_data): Likewise.
16119 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16120 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16121 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16122 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16123 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16124 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16126 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16127 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16128 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16129 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16131 (lrint_downward_test_data): Test for "inexact" exceptions.
16132 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16133 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16134 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16136 (lrint_upward_test_data): Test for "inexact" exceptions.
16137 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16139 (llrint_test_data): Test for "inexact" exceptions.
16140 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16141 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16142 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16143 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16144 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16145 (llrint_downward_test_data): Test for "inexact" exceptions.
16146 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16147 (llrint_upward_test_data): Test for "inexact" exceptions.
16148 (logb_test_data): Likewise.
16149 (logb_downward_test_data): Likewise.
16150 (nextafter_test_data): Likewise.
16151 (nexttoward_test_data): Likewise.
16152 (remainder_test_data): Likewise.
16153 (remquo_test_data): Likewise.
16154 (scalbn_test_data): Likewise.
16155 (scalbln_test_data): Likewise.
16156 (signbit_test_data): Likewise.
16157 (sqrt_test_data): Likewise.
16158 (significand_test_data): Likewise.
16160 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16163 * benchtests/bench-modf.c (struct args): Mark arg0 as
16165 * scripts/bench.pl: Mark members of struct args as volatile.
16167 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16170 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16171 negative infinity on POWER6 or lower.
16172 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16174 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16177 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16178 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16179 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16180 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16181 (_FP_SETQNAN): New macro.
16182 (_FP_SETQNAN_SEMIRAW): Likewise.
16183 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16184 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16185 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16186 (FP_EXTEND): Use _FP_FRAC_SNANP.
16187 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16188 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16195 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16197 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16198 with DIVIDE_BY_ZERO_EXCEPTION.
16199 (gamma_test_data): Likewise.
16200 (lgamma_test_data): Likewise.
16201 (log_test_data): Likewise.
16202 (log10_test_data): Likewise.
16203 (log2_test_data): Likewise.
16204 (tgamma_test_data): Likewise.
16206 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16207 (acos_test_tonearest): Likewise.
16208 (acos_test_towardzero): Likewise.
16209 (acos_test_downward): Likewise.
16210 (acos_test_upward): Likewise.
16211 (acosh_test): Likewise.
16212 (asin_test): Likewise.
16213 (asin_test_tonearest): Likewise.
16214 (asin_test_towardzero): Likewise.
16215 (asin_test_downward): Likewise.
16216 (asin_test_upward): Likewise.
16217 (asinh_test): Likewise.
16218 (atan_test): Likewise.
16219 (atanh_test): Likewise.
16220 (atan2_test): Likewise.
16221 (cabs_test): Likewise.
16222 (cacos_test): Likewise.
16223 (cacosh_test): Likewise.
16224 (casin_test): Likewise.
16225 (casinh_test): Likewise.
16226 (catan_test): Likewise.
16227 (catanh_test): Likewise.
16228 (cbrt_test): Likewise.
16229 (ccos_test): Likewise.
16230 (ccosh_test): Likewise.
16231 (cexp_test): Likewise.
16232 (clog_test): Likewise.
16233 (clog10_test): Likewise.
16234 (cos_test): Likewise.
16235 (cos_test_tonearest): Likewise.
16236 (cos_test_towardzero): Likewise.
16237 (cos_test_downward): Likewise.
16238 (cos_test_upward): Likewise.
16239 (cosh_test): Likewise.
16240 (cosh_test_tonearest): Likewise.
16241 (cosh_test_towardzero): Likewise.
16242 (cosh_test_downward): Likewise.
16243 (cosh_test_upward): Likewise.
16244 (cpow_test): Likewise.
16245 (csin_test): Likewise.
16246 (csinh_test): Likewise.
16247 (csqrt_test): Likewise.
16248 (ctan_test): Likewise.
16249 (ctan_test_tonearest): Likewise.
16250 (ctan_test_towardzero): Likewise.
16251 (ctan_test_downward): Likewise.
16252 (ctan_test_upward): Likewise.
16253 (ctanh_test): Likewise.
16254 (ctanh_test_tonearest): Likewise.
16255 (ctanh_test_towardzero): Likewise.
16256 (ctanh_test_downward): Likewise.
16257 (ctanh_test_upward): Likewise.
16258 (erf_test): Likewise.
16259 (erfc_test): Likewise.
16260 (exp_test): Likewise.
16261 (exp_test_tonearest): Likewise.
16262 (exp_test_towardzero): Likewise.
16263 (exp_test_downward): Likewise.
16264 (exp_test_upward): Likewise.
16265 (exp10_test): Likewise.
16266 (exp2_test): Likewise.
16267 (expm1_test): Likewise.
16268 (fmod_test): Likewise.
16269 (gamma_test): Likewise.
16270 (hypot_test): Likewise.
16271 (j0_test): Likewise.
16272 (j1_test): Likewise.
16273 (jn_test): Likewise.
16274 (lgamma_test): Likewise.
16275 (log_test): Likewise.
16276 (log10_test): Likewise.
16277 (log1p_test): Likewise.
16278 (log2_test): Likewise.
16279 (logb_test_downward): Likewise.
16280 (pow_test): Likewise.
16281 (pow_test_tonearest): Likewise.
16282 (pow_test_towardzero): Likewise.
16283 (pow_test_downward): Likewise.
16284 (pow_test_upward): Likewise.
16285 (remainder_test): Likewise.
16286 (remquo_test): Likewise.
16287 (sin_test): Likewise.
16288 (sin_test_tonearest): Likewise.
16289 (sin_test_towardzero): Likewise.
16290 (sin_test_downward): Likewise.
16291 (sin_test_upward): Likewise.
16292 (sincos_test): Likewise.
16293 (sinh_test): Likewise.
16294 (sinh_test_tonearest): Likewise.
16295 (sinh_test_towardzero): Likewise.
16296 (sinh_test_downward): Likewise.
16297 (sinh_test_upward): Likewise.
16298 (sqrt_test): Likewise.
16299 (tan_test): Likewise.
16300 (tan_test_tonearest): Likewise.
16301 (tan_test_towardzero): Likewise.
16302 (tan_test_downward): Likewise.
16303 (tan_test_upward): Likewise.
16304 (tanh_test): Likewise.
16305 (tgamma_test): Likewise.
16306 (y0_test): Likewise.
16307 (y1_test): Likewise.
16308 (yn_test): Likewise.
16310 * math/gen-libm-test.pl (adjust_arg): Remove function.
16311 (special_function): Remove argument $in_func. Only handle
16312 generating output for tables of tests, not inside functions.
16313 (parse_args): Likewise.
16314 (generate_testfile): Remove variable $in_func. Update call to
16316 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16317 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16318 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16319 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16320 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16321 (MAX_VALUE_INIT): Rename macro to max_value.
16322 (MIN_VALUE_INIT): Rename macro to min_value.
16323 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16324 (plus_zero): Remove variable.
16325 (minus_zero): Likewise.
16326 (plus_infty): Likewise.
16327 (minus_infty): Likewise.
16328 (qnan_value): Likewise.
16329 (max_value): Likewise.
16330 (min_value): Likewise.
16331 (min_subnorm_value): Likewise.
16333 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16335 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16336 uint64_t or uint32_t usage.
16337 * crypt/sha256-block.c: Likewise.
16338 * crypt/sha256-crypt.c: Likewise.
16339 * crypt/sha256.c: Likewise.
16340 * crypt/sha512-block.c: Likewise.
16341 * crypt/sha512-crypt.c: Likewise.
16342 * crypt/sha512.c: Likewise.
16343 * debug/backtrace-tst.c: Likewise.
16344 * debug/pcprofiledump.c: Likewise.
16345 * elf/cache.c: Likewise.
16346 * elf/dl-cache.c: Likewise.
16347 * elf/dl-misc.c: Likewise.
16348 * elf/dl-profile.c: Likewise.
16349 * elf/dl-support.c: Likewise.
16350 * elf/ldconfig.c: Likewise.
16351 * elf/sprof.c: Likewise.
16352 * iconv/dummy-repertoire.c: Likewise.
16353 * iconv/iconv_charmap.c: Likewise.
16354 * iconv/skeleton.c: Likewise.
16355 * iconvdata/8bit-generic.c: Likewise.
16356 * iconvdata/cp737.h: Likewise.
16357 * iconvdata/cp775.h: Likewise.
16358 * iconvdata/ibm1008.h: Likewise.
16359 * iconvdata/ibm1025.h: Likewise.
16360 * iconvdata/ibm1046.h: Likewise.
16361 * iconvdata/ibm1097.h: Likewise.
16362 * iconvdata/ibm1112.h: Likewise.
16363 * iconvdata/ibm1122.h: Likewise.
16364 * iconvdata/ibm1123.h: Likewise.
16365 * iconvdata/ibm1124.h: Likewise.
16366 * iconvdata/ibm1129.h: Likewise.
16367 * iconvdata/ibm1130.h: Likewise.
16368 * iconvdata/ibm1132.h: Likewise.
16369 * iconvdata/ibm1133.h: Likewise.
16370 * iconvdata/ibm1137.h: Likewise.
16371 * iconvdata/ibm1140.h: Likewise.
16372 * iconvdata/ibm1141.h: Likewise.
16373 * iconvdata/ibm1142.h: Likewise.
16374 * iconvdata/ibm1143.h: Likewise.
16375 * iconvdata/ibm1144.h: Likewise.
16376 * iconvdata/ibm1145.h: Likewise.
16377 * iconvdata/ibm1146.h: Likewise.
16378 * iconvdata/ibm1147.h: Likewise.
16379 * iconvdata/ibm1148.h: Likewise.
16380 * iconvdata/ibm1149.h: Likewise.
16381 * iconvdata/ibm1153.h: Likewise.
16382 * iconvdata/ibm1154.h: Likewise.
16383 * iconvdata/ibm1155.h: Likewise.
16384 * iconvdata/ibm1156.h: Likewise.
16385 * iconvdata/ibm1157.h: Likewise.
16386 * iconvdata/ibm1158.h: Likewise.
16387 * iconvdata/ibm1160.h: Likewise.
16388 * iconvdata/ibm1161.h: Likewise.
16389 * iconvdata/ibm1162.h: Likewise.
16390 * iconvdata/ibm1163.h: Likewise.
16391 * iconvdata/ibm1164.h: Likewise.
16392 * iconvdata/ibm1166.h: Likewise.
16393 * iconvdata/ibm1167.h: Likewise.
16394 * iconvdata/ibm12712.h: Likewise.
16395 * iconvdata/ibm1390.h: Likewise.
16396 * iconvdata/ibm1399.h: Likewise.
16397 * iconvdata/ibm16804.h: Likewise.
16398 * iconvdata/ibm4517.h: Likewise.
16399 * iconvdata/ibm4899.h: Likewise.
16400 * iconvdata/ibm4909.h: Likewise.
16401 * iconvdata/ibm4971.h: Likewise.
16402 * iconvdata/ibm5347.h: Likewise.
16403 * iconvdata/ibm803.h: Likewise.
16404 * iconvdata/ibm856.h: Likewise.
16405 * iconvdata/ibm901.h: Likewise.
16406 * iconvdata/ibm902.h: Likewise.
16407 * iconvdata/ibm9030.h: Likewise.
16408 * iconvdata/ibm9066.h: Likewise.
16409 * iconvdata/ibm921.h: Likewise.
16410 * iconvdata/ibm922.h: Likewise.
16411 * iconvdata/ibm9448.h: Likewise.
16412 * iconvdata/isiri-3342.h: Likewise.
16413 * iconvdata/jis0201.h: Likewise.
16414 * include/link.h: Likewise.
16415 * include/netdb.h: Likewise.
16416 * inet/check_native.c: Likewise.
16417 * inet/check_pf.c: Likewise.
16418 * inet/getipv4sourcefilter.c: Likewise.
16419 * inet/getnameinfo.c: Likewise.
16420 * inet/getsourcefilter.c: Likewise.
16421 * inet/htonl.c: Likewise.
16422 * inet/setipv4sourcefilter.c: Likewise.
16423 * inet/setsourcefilter.c: Likewise.
16424 * inet/test-inet6_opt.c: Likewise.
16425 * inet/tst-network.c: Likewise.
16426 * locale/C-collate.c: Likewise.
16427 * locale/C-ctype.c: Likewise.
16428 * locale/C-time.c: Likewise.
16429 * locale/C-translit.h: Likewise.
16430 * locale/loadarchive.c: Likewise.
16431 * locale/programs/3level.h: Likewise.
16432 * locale/programs/charmap.c: Likewise.
16433 * locale/programs/charmap.h: Likewise.
16434 * locale/programs/ld-address.c: Likewise.
16435 * locale/programs/ld-collate.c: Likewise.
16436 * locale/programs/ld-ctype.c: Likewise.
16437 * locale/programs/ld-identification.c: Likewise.
16438 * locale/programs/ld-measurement.c: Likewise.
16439 * locale/programs/ld-messages.c: Likewise.
16440 * locale/programs/ld-monetary.c: Likewise.
16441 * locale/programs/ld-name.c: Likewise.
16442 * locale/programs/ld-numeric.c: Likewise.
16443 * locale/programs/ld-paper.c: Likewise.
16444 * locale/programs/ld-telephone.c: Likewise.
16445 * locale/programs/ld-time.c: Likewise.
16446 * locale/programs/linereader.c: Likewise.
16447 * locale/programs/locale.c: Likewise.
16448 * locale/programs/locarchive.c: Likewise.
16449 * locale/programs/locfile.h: Likewise.
16450 * locale/programs/repertoire.c: Likewise.
16451 * locale/programs/simple-hash.c: Likewise.
16452 * locale/programs/simple-hash.h: Likewise.
16453 * malloc/memusage.c: Likewise.
16454 * malloc/memusagestat.c: Likewise.
16455 * nis/nis_defaults.c: Likewise.
16456 * nis/nis_hash.c: Likewise.
16457 * nis/nis_print.c: Likewise.
16458 * nis/nis_xdr.c: Likewise.
16459 * nscd/connections.c: Likewise.
16460 * nscd/hstcache.c: Likewise.
16461 * nscd/nscd_gethst_r.c: Likewise.
16462 * nscd/nscd_getserv_r.c: Likewise.
16463 * nscd/nscd_helper.c: Likewise.
16464 * nscd/servicescache.c: Likewise.
16465 * nss/makedb.c: Likewise.
16466 * nss/nss_db/db-XXX.c: Likewise.
16467 * nss/nss_db/db-initgroups.c: Likewise.
16468 * nss/nss_db/db-netgrp.c: Likewise.
16469 * nss/nss_files/files-network.c: Likewise.
16470 * nss/nss_files/files-parse.c: Likewise.
16471 * posix/bug-regex5.c: Likewise.
16472 * posix/fnmatch_loop.c: Likewise.
16473 * posix/regcomp.c: Likewise.
16474 * posix/regexec.c: Likewise.
16475 * posix/tst-rfc3484-2.c: Likewise.
16476 * posix/tst-rfc3484-3.c: Likewise.
16477 * posix/tst-rfc3484.c: Likewise.
16478 * resolv/nss_dns/dns-canon.c: Likewise.
16479 * resolv/nss_dns/dns-network.c: Likewise.
16480 * resolv/res_init.c: Likewise.
16481 * resolv/res_mkquery.c: Likewise.
16482 * resolv/tst-aton.c: Likewise.
16483 * stdlib/cxa_atexit.c: Likewise.
16484 * stdlib/cxa_finalize.c: Likewise.
16485 * stdlib/gen-fpioconst.c: Likewise.
16486 * stdlib/strtol_l.c: Likewise.
16487 * string/tst-endian.c: Likewise.
16488 * sunrpc/auth_des.c: Likewise.
16489 * sunrpc/clnt_udp.c: Likewise.
16490 * sunrpc/rtime.c: Likewise.
16491 * sunrpc/svcauth_des.c: Likewise.
16492 * sunrpc/xdr.c: Likewise.
16493 * sunrpc/xdr_intXX_t.c: Likewise.
16494 * sunrpc/xdr_rec.c: Likewise.
16495 * sysdeps/generic/ldconfig.h: Likewise.
16496 * sysdeps/generic/ldsodefs.h: Likewise.
16497 * sysdeps/generic/memusage.h: Likewise.
16498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16499 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16500 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16501 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16502 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16504 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16508 * sysdeps/posix/getaddrinfo.c: Likewise.
16509 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16510 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16511 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16512 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16513 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16514 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16515 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16516 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16517 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16518 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16519 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16520 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16521 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16522 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16523 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16524 * sysdeps/x86_64/dl-tls.h: Likewise.
16525 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16526 * time/alt_digit.c: Likewise.
16527 * time/era.c: Likewise.
16528 * wcsmbs/tst-c16c32-1.c: Likewise.
16530 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16532 * math/libm-test.inc (struct test_sincos_data): New type.
16533 (RUN_TEST_LOOP_sincos): New macro.
16534 (sincos_test_data): New variable.
16535 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16537 2013-05-16 Richard Henderson <rth@redhat.com>
16539 * math/atest-exp2.c (LIMB64): New macro.
16540 (CONSTSZ): New macro.
16541 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16543 (print_mpn_fp): ... to function scope.
16544 (read_mpn_hex): Remove.
16545 (get_log2): Remove.
16546 (exp2_mpn): Use mp_log2.
16547 (main): Use mp_exp1.
16549 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16551 * math/libm-test.inc: Remove comment about not testing "inexact"
16553 (INEXACT_EXCEPTION): New macro.
16554 (NO_INEXACT_EXCEPTION): Likewise.
16555 (INVALID_EXCEPTION_OK): Update value.
16556 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16557 (OVERFLOW_EXCEPTION_OK): Likewise.
16558 (UNDERFLOW_EXCEPTION_OK): Likewise.
16559 (IGNORE_ZERO_INF_SIGN): Likewise.
16560 (ERRNO_UNCHANGED): Likewise.
16561 (ERRNO_EDOM): Likewise.
16562 (ERRNO_ERANGE): Likewise.
16563 (test_exceptions): Handle testing "inexact" exceptions.
16564 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16565 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16566 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16567 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16569 (rint_towardzero_test_data): Likewise.
16570 (rint_downward_test_data): Likewise.
16571 (rint_upward_test_data): Likewise.
16573 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16574 with OVERFLOW_EXCEPTION.
16575 (exp10_test_data): Likewise.
16576 (exp2_test_data): Likewise.
16577 (expm1_test_data): Likewise.
16578 (lgamma_test_data): Likewise.
16579 (pow_test_data): Likewise.
16580 (tgamma_test_data): Likewise.
16581 (yn_test_data): Remove duplicate test of overflow.
16583 * math/libm-test.inc (struct test_cc_c_data): New type.
16584 (RUN_TEST_LOOP_cc_c): New macro.
16585 (cpow_test_data): New variable.
16586 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16588 * math/libm-test.inc (struct test_f_L_data): New type.
16589 (RUN_TEST_LOOP_f_L): New macro.
16590 (llrint_test_data): New variable.
16591 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16592 (llrint_tonearest_test_data): New variable.
16593 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16594 (llrint_towardzero_test_data): New variable.
16595 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16596 (llrint_downward_test_data): New variable.
16597 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16598 (llrint_upward_test_data): New variable.
16599 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16600 (llround_test_data): New variable.
16601 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16603 2013-05-13 Peter Collingbourne <pcc@google.com>
16605 * math/atest-exp2.c (get_log2): Remove const attribute.
16607 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16609 * math/libm-test.inc (struct test_f_l_data): New type.
16610 (RUN_TEST_LOOP_f_l): New macro.
16611 (lrint_test_data): New variable.
16612 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16613 (lrint_tonearest_test_data): New variable.
16614 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16615 (lrint_towardzero_test_data): New variable.
16616 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16617 (lrint_downward_test_data): New variable.
16618 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16619 (lrint_upward_test_data): New variable.
16620 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16621 (lround_test_data): New variable.
16622 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16624 2013-05-15 Peter Collingbourne <pcc@google.com>
16626 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16627 (EXTRACT_WORDS64) Use where appropriate.
16628 (INSERT_WORDS64) Likewise.
16630 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16631 constraints with x constraints.
16632 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16634 * malloc/obstack.c (_obstack_compat): Add initializer.
16636 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16638 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16639 si_trapno and add si_addr_lsb to _sifields.sigfault.
16640 (si_trapno): Remove macro.
16641 (si_addr_lsb): Define new macro.
16642 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16644 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16646 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16647 instead of TEST_f_l.
16648 (llrint_test_tonearest): Likewise.
16649 (llrint_test_towardzero): Likewise.
16650 (llrint_test_downward): Likewise.
16651 (llrint_test_upward): Likewise.
16652 (llround_test): Likewise.
16654 * math/libm-test.inc (struct test_f_i_data): Add comment.
16655 (RUN_TEST_LOOP_f_b): New macro.
16656 (RUN_TEST_LOOP_f_b_tg): Likewise.
16657 (finite_test_data): New variable.
16658 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16659 (isfinite_test_data): New variable.
16660 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16661 (isinf_test_data): New variable.
16662 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16663 (isnan_test_data): New variable.
16664 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16665 (isnormal_test_data): New variable.
16666 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16667 (issignaling_test_data): New variable.
16668 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16669 (signbit_test_data): New variable.
16670 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16672 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16673 with INVALID_EXCEPTION.
16674 (acosh_test_data): Likewise.
16675 (asin_test_data): Likewise.
16676 (atanh_test_data): Likewise.
16677 (fmod_test_data): Likewise.
16678 (log_test_data): Likewise.
16679 (log10_test_data): Likewise.
16680 (log2_test_data): Likewise.
16681 (pow_test_data): Likewise.
16682 (sqrt_test_data): Likewise.
16683 (y0_test_data): Likewise.
16684 (y1_test_data): Likewise.
16685 (yn_test_data): Likewise.
16687 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16690 * math/libm-test.inc (struct test_ff_i_data): New type.
16691 (RUN_TEST_LOOP_ff_i_tg): New macro.
16692 (isgreater_test_data): New variable.
16693 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16694 (isgreaterequal_test_data): New variable.
16695 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16696 (isless_test_data): New variable.
16697 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16698 (islessequal_test_data): New variable.
16699 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16700 (islessgreater_test_data): New variable.
16701 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16702 (isunordered_test_data): New variable.
16703 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16705 2013-05-14 David S. Miller <davem@davemloft.net>
16707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16709 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16711 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16713 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16715 (struct test_f_i_data): Change type of max_ulp to int.
16717 * math/libm-test.inc (test_ffI_f1_data): New type.
16718 (RUN_TEST_LOOP_ffI_f1): New macro.
16719 (remquo_test_data): New variable.
16720 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16722 * setjmp/tst-setjmp-fp.c: New file.
16723 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16724 (link-libm): New variable.
16725 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16727 * math/libm-test.inc (struct test_f_i_data): New type.
16728 (RUN_TEST_LOOP_f_i): New macro.
16729 (RUN_TEST_LOOP_f_i_tg): Likewise.
16730 (fpclassify_test_data): New variable.
16731 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16732 (ilogb_test_data): New variable.
16733 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16735 * math/libm-test.inc (scalbln_test): Correct function name in END
16738 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16739 (RUN_TEST_LOOP_fI_f1): New macro.
16740 (frexp_test_data): New variable.
16741 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16743 * math/libm-test.inc (struct test_fF_f1_data): New type.
16744 (RUN_TEST_LOOP_fF_f1): New macro.
16745 (modf_test_data): New variable.
16746 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16748 * math/libm-test.inc (struct test_f_f1_data): New type.
16749 (RUN_TEST_LOOP_f_f1): New macro.
16750 (gamma_test_data): New variable.
16751 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16752 (lgamma_test_data): New variable.
16753 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16755 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16757 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16758 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16759 (main): Comment "tls" pseudo-hwcap.
16761 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16763 * math/libm-test.inc (struct test_fl_f_data): New type.
16764 (RUN_TEST_LOOP_fl_f): New variable.
16765 (scalbln_test_data): New variable.
16766 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16768 * math/libm-test.inc (struct test_fi_f_data): New type.
16769 (RUN_TEST_LOOP_fi_f): New macro.
16770 (ldexp_test_data): New variable.
16771 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16772 (scalbn_test_data): New variable.
16773 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16775 * math/libm-test.inc (struct test_c_f_data): New type.
16776 (RUN_TEST_LOOP_c_f): New macro.
16777 (cabs_test_data): New variable.
16778 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16779 (carg_test_data): New variable.
16780 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16781 (cimag_test_data): New variable.
16782 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16783 (creal_test_data): New variable.
16784 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16786 * math/libm-test.inc (struct test_if_f_data): New type.
16787 (RUN_TEST_LOOP_if_f): New macro.
16788 (jn_test_data): New variable.
16789 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16790 (yn_test_data): New variable.
16791 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16793 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16795 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16797 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16798 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16800 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16802 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16803 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16804 (bench-deps): Add bench-timing.h.
16805 * benchtests-bench-skeleton.c: Include bench-timing.h.
16806 (main): Use TIMING_* macros instead of clock_gettime.
16807 * benchtests/bench-timing.h: New file.
16810 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16811 Renamed from _LIB_VERSION.
16812 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16814 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16816 * math/libm-test.inc (struct test_fff_f_data): New type.
16817 (RUN_TEST_LOOP_fff_f): New macro.
16818 (fma_test_data): New variable.
16819 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16820 (fma_towardzero_test_data): New variable.
16821 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16822 (fma_downward_test_data): New variable.
16823 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16824 (fma_upward_test_data): New variable.
16825 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16827 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16828 (struct test_c_c_data): New type.
16829 (RUN_TEST_LOOP_c_c): New macro.
16830 (cacos_test_data): New variable.
16831 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16832 (cacosh_test_data): New variable.
16833 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16834 (casin_test_data): New variable.
16835 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16836 (casinh_test_data): New variable.
16837 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16838 (catan_test_data): New variable.
16839 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16840 (catanh_test_data): New variable.
16841 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16842 (ccos_test_data): New variable.
16843 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16844 (ccosh_test_data): New variable.
16845 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16846 (cexp_test_data): New variable.
16847 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16848 (clog_test_data): New variable.
16849 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16850 (clog10_test_data): New variable.
16851 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16852 (conj_test_data): New variable.
16853 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16854 (cproj_test_data): New variable.
16855 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16856 (csin_test_data): New variable.
16857 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16858 (csinh_test_data): New variable.
16859 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16860 (csqrt_test_data): New variable.
16861 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16862 (ctan_test_data): New variable.
16863 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16864 (ctan_tonearest_test_data): New variable.
16865 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16866 (ctan_towardzero_test_data): New variable.
16867 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16868 (ctan_downward_test_data): New variable.
16869 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16870 (ctan_upward_test_data): New variable.
16871 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16872 (ctanh_test_data): New variable.
16873 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16874 (ctanh_tonearest_test_data): New variable.
16875 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16876 (ctanh_towardzero_test_data): New variable.
16877 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16878 (ctanh_downward_test_data): New variable.
16879 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16880 (ctanh_upward_test_data): New variable.
16881 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16882 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16885 * math/libm-test.inc (struct test_ff_f_data): New type.
16886 (struct test_ff_f_data_nexttoward): Likewise.
16887 (RUN_TEST_LOOP_2_f): New macro.
16888 (RUN_TEST_LOOP_ff_f): Likewise.
16889 (atan2_test_data): New variable.
16890 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16891 (copysign_test_data): New variable.
16892 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16893 (fdim_test_data): New variable.
16894 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16895 (fmax_test_data): New variable.
16896 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16897 (fmin_test_data): New variable.
16898 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16899 (fmod_test_data): New variable.
16900 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16901 (hypot_test_data): New variable.
16902 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16903 (nextafter_test_data): New variable.
16904 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16905 (nexttoward_test_data): New variable.
16906 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16907 (pow_test_data): New variable.
16908 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16909 (pow_tonearest_test_data): New variable.
16910 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16911 (pow_towardzero_test_data): New variable.
16912 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16913 (pow_downward_test_data): New variable.
16914 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16915 (pow_upward_test_data): New variable.
16916 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16917 (remainder_test_data): New variable.
16918 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16919 (scalb_test_data): New variable.
16920 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16921 * sysdeps/i386/fpu/libm-test-ulps: Update.
16923 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16925 * math/libm-test.inc (fma_test): Use max_value instead of local
16927 (nextafter_test): Likewise.
16929 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16930 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16931 (acos_downward_test_data): New variable.
16932 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16933 (acos_upward_test_data): New variable.
16934 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16935 (acosh_test_data): New variable.
16936 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16937 (asin_test_data): New variable.
16938 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16939 (asin_tonearest_test_data): New variable.
16940 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16941 (asin_towardzero_test_data): New variable.
16942 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16943 (asin_downward_test_data): New variable.
16944 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16945 (asin_upward_test_data): New variable.
16946 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16947 (asinh_test_data): New variable.
16948 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16949 (atan_test_data): New variable.
16950 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16951 (atanh_test_data): New variable.
16952 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16953 (cbrt_test_data): New variable.
16954 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16955 (ceil_test_data): New variable.
16956 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16957 (cos_test_data): New variable.
16958 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16959 (cos_tonearest_test_data): New variable.
16960 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16961 (cos_towardzero_test_data): New variable.
16962 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16963 (cos_downward_test_data): New variable.
16964 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16965 (cos_upward_test_data): New variable.
16966 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16967 (cosh_test_data): New variable.
16968 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16969 (cosh_tonearest_test_data): New variable.
16970 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16971 (cosh_towardzero_test_data): New variable.
16972 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16973 (cosh_downward_test_data): New variable.
16974 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16975 (cosh_upward_test_data): New variable.
16976 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16977 (erf_test_data): New variable.
16978 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16979 (erfc_test_data): New variable.
16980 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16981 (exp_test_data): New variable.
16982 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16983 (exp_tonearest_test_data): New variable.
16984 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16985 (exp_towardzero_test_data): New variable.
16986 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16987 (exp_downward_test_data): New variable.
16988 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16989 (exp_upward_test_data): New variable.
16990 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16991 (exp10_test_data): New variable.
16992 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16993 (exp2_test_data): New variable.
16994 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16995 (expm1_test_data): New variable.
16996 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16997 (fabs_test_data): New variable.
16998 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16999 (floor_test_data): New variable.
17000 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17001 (j0_test_data): New variable.
17002 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17003 (j1_test_data): New variable.
17004 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17005 (log_test_data): New variable.
17006 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17007 (log10_test_data): New variable.
17008 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17009 (log1p_test_data): New variable.
17010 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17011 (log2_test_data): New variable.
17012 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17013 (logb_test_data): New variable.
17014 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17015 (logb_downward_test_data): New variable.
17016 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17017 (nearbyint_test_data): New variable.
17018 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17019 (rint_test_data): New variable.
17020 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17021 (rint_tonearest_test_data): New variable.
17022 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17023 (rint_towardzero_test_data): New variable.
17024 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17025 (rint_downward_test_data): New variable.
17026 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17027 (rint_upward_test_data): New variable.
17028 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17029 (round_test_data): New variable.
17030 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17031 (sin_test_data): New variable.
17032 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17033 (sin_tonearest_test_data): New variable.
17034 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17035 (sin_towardzero_test_data): New variable.
17036 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17037 (sin_downward_test_data): New variable.
17038 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17039 (sin_upward_test_data): New variable.
17040 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17041 (sinh_test_data): New variable.
17042 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17043 (sinh_tonearest_test_data): New variable.
17044 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17045 (sinh_towardzero_test_data): New variable.
17046 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17047 (sinh_downward_test_data): New variable.
17048 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17049 (sinh_upward_test_data): New variable.
17050 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17051 (sqrt_test_data): New variable.
17052 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17053 (tan_test_data): New variable.
17054 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17055 (tan_tonearest_test_data): New variable.
17056 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17057 (tan_towardzero_test_data): New variable.
17058 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17059 (tan_downward_test_data): New variable.
17060 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17061 (tan_upward_test_data): New variable.
17062 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17063 (tanh_test_data): New variable.
17064 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17065 (tgamma_test_data): New variable.
17066 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17067 (trunc_test_data): New variable.
17068 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17069 (y0_test_data): New variable.
17070 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17071 (y1_test_data): New variable.
17072 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17073 (significand_test_data): New variable.
17074 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17076 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17079 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17081 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17083 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17085 2013-05-10 Andreas Jaeger <aj@suse.de>
17088 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17089 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17091 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17093 * math/gen-libm-test.pl (adjust_arg): New function.
17094 (special_functions): Handle generating output in both functions
17096 (parse_args): Likewise.
17097 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17098 $in_func argument to parse_args.
17099 * math/libm-test.inc (struct test_f_f_data): New type.
17100 (IF_ROUND_INIT_): New macro.
17101 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17102 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17103 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17104 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17105 (ROUND_RESTORE_): Likewise.
17106 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17107 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17108 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17109 (ROUND_RESTORE_FE_UPWARD): Likewise.
17110 (RUN_TEST_LOOP_f_f): New macro.
17111 (acos_test_data): New variable.
17112 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17113 (acos_tonearest_test_data): New variable.
17114 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17116 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17118 * benchtests/bench-skeleton.c (startup): Fix coding style.
17120 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17123 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17124 negative infinity argument.
17125 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17126 negative infinity argument.
17127 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17128 negative infinity argument.
17129 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17132 2013-05-10 Florian Weimer <fweimer@redhat.com>
17134 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17135 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17136 * iconv/iconv_prog.c (main): Likewise.
17137 * locale/programs/charmap-dir.c (charmap_readdir)
17138 (fopen_uncompressed): Likewise.
17139 * locale/programs/locfile.c (siblings_uncached)
17140 (write_locale_data): Use lstat64 instead of lstat.
17141 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17144 2013-05-10 Andreas Jaeger <aj@suse.de>
17147 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17149 Include <locale.h>.
17151 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17153 * elf/dl-close.c (_dl_close_worker): Add comments.
17155 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17158 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17160 (__ieee754_rem_pio2l): Update comments.
17163 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17165 (__ieee754_rem_pio2l): Update comments.
17167 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17168 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17170 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17173 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17174 (M_PI_34_LOG10El): Likewise.
17175 (M_PI2_LOG10El): Likewise.
17176 (M_PI4_LOG10El): Likewise.
17177 (M_PI_LOG10El): Likewise.
17179 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17183 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17185 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17186 (MINUS_ZERO_INIT): Likewise.
17187 (PLUS_INFTY_INIT): Likewise.
17188 (MINUS_INFTY_INIT): Likewise.
17189 (QNAN_VALUE_INIT): Likewise.
17190 (MAX_VALUE_INIT): Likewise.
17191 (MIN_VALUE_INIT): Likewise.
17192 (MIN_SUBNORM_VALUE_INIT): Likewise.
17193 (plus_zero): Initialize with PLUS_ZERO_INIT.
17194 (minus_zero): Initialize with MINUS_ZERO_INIT.
17195 (plus_infty): Initialize with PLUS_INFTY_INIT.
17196 (minus_infty): Initialize with MINUS_INFTY_INIT.
17197 (qnan_value): Initialize with QNAN_VALUE_INIT.
17198 (max_value): Initialize with MAX_VALUE_INIT.
17199 (min_value): Initialize with MIN_VALUE_INIT.
17200 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17202 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17203 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17204 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17205 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17207 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17208 (RUN_TEST_2_f): Likewise.
17209 (RUN_TEST_ff_f): Likewise.
17210 (RUN_TEST_fi_f): Likewise.
17211 (RUN_TEST_fl_f): Likewise.
17212 (RUN_TEST_fff_f): Likewise.
17213 (RUN_TEST_c_f): Likewise.
17214 (RUN_TEST_f_f1): Likewise.
17215 (RUN_TEST_fF_f1): Likewise.
17216 (RUN_TEST_fI_f1): Likewise.
17217 (RUN_TEST_ffI_f1): Likewise.
17218 (RUN_TEST_c_c): Likewise.
17219 (RUN_TEST_cc_c): Likewise.
17220 (RUN_TEST_f_i): Likewise.
17221 (RUN_TEST_f_i_tg): Likewise.
17222 (RUN_TEST_ff_i_tg): Likewise.
17223 (RUN_TEST_f_b): Likewise.
17224 (RUN_TEST_f_b_tg): Likewise.
17225 (RUN_TEST_f_l): Likewise.
17226 (RUN_TEST_f_L): Likewise.
17227 (RUN_TEST_sincos): Likewise.
17228 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17229 whether to show exceptions. Do not include ");\n" in return
17231 (special_functions): Output call to RUN_TEST_sincos instead of
17232 check_float calls. Update calls to new_test.
17233 (parse_args): Output call to single RUN_TEST_* macro instead of
17234 check_* calls and other assignments. Update calls to new_test.
17240 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17241 input to result for tgamma overflow.
17242 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17243 (gamma_coeff): New variable.
17244 (NCOEFF): New macro.
17245 (gamma_positive): New function.
17246 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17247 underflow here. Use gamma_positive instead of exp (lgamma) for
17249 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17250 (gamma_coeff): New variable.
17251 (NCOEFF): New macro.
17252 (gammaf_positive): New function.
17253 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17254 underflow here. Use gamma_positive instead of exp (lgamma) for
17256 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17257 (gamma_coeff): New variable.
17258 (NCOEFF): New macro.
17259 (gammal_positive): New function.
17260 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17261 underflow here. Use gamma_positive instead of exp (lgamma) for
17263 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17264 (gamma_coeff): New variable.
17265 (NCOEFF): New macro.
17266 (gammal_positive): New function.
17267 (__ieee754_gammal_r): Handle positive infinity, overflow and
17268 underflow here. Handle NaN the same as positive infinity. Remove
17269 check x < 0xffffffff for negative integers. Use gamma_positive
17270 instead of exp (lgamma) for other arguments.
17271 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17272 (gamma_coeff): New variable.
17273 (NCOEFF): New macro.
17274 (gammal_positive): New function.
17275 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17276 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17280 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17281 * sysdeps/generic/math_private.h (__gamma_productf): New
17283 (__gamma_product): Likewise.
17284 (__gamma_productl): Likewise.
17285 * math/Makefile (libm-calls): Add gamma_product.
17286 * math/libm-test.inc (tgamma_test): Add more tests.
17287 * sysdeps/i386/fpu/libm-test-ulps: Update.
17288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17290 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
17292 * benchtests/bench-skeleton.c (main): Preheat CPU.
17294 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17296 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17298 2013-05-07 Roland McGrath <roland@hack.frob.com>
17300 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17301 and _dl_skip_args_internal.
17303 2013-05-07 Carlos O'Donell <carlos@redhat.com>
17305 * manual/message.texi (Message Translation): Talk about users.
17306 Message to key mapping impacts design.
17308 2013-05-06 Roland McGrath <roland@hack.frob.com>
17310 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17312 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17314 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17315 * sysdeps/wordsize-64/glob64.c: ... here.
17317 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17318 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17321 * debug/getlogin_r_chk.c: Moved to ...
17322 * login/getlogin_r_chk.c: ... here.
17323 * debug/Makefile (routines): Move getlogin_r_chk to ...
17324 * login/Makefile (routines): ... here.
17325 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17326 * login/Versions (libc: GLIBC_2.4): ... here.
17328 * io/poll.c (__poll): Renamed from poll.
17329 Add libc_hidden_def.
17330 (poll): Define as weak alias.
17332 * debug/ptsname_r_chk.c: Moved to ...
17333 * login/ptsname_r_chk.c: ... here.
17334 * debug/Makefile (routines): Move ptsname_r_chk to ...
17335 * login/Makefile (routines): ... here.
17336 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17337 * login/Versions (libc: GLIBC_2.4): ... here.
17339 * posix/getlogin.c: Moved to ...
17340 * login/getlogin.c: ... here.
17341 * posix/getlogin_r.c: Moved to ...
17342 * login/getlogin_r.c: ... here.
17343 * posix/getlogin_r.c: Moved to ...
17344 * login/getlogin_r.c: ... here.
17345 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17346 * login/Makefile (routines): ... here.
17347 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17348 * login/Versions (libc: GLIBC_2.0): ... here.
17350 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17351 (setrlimit): Define as weak alias.
17353 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17354 Call __ names for open, ftruncate, and close.
17355 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17356 (truncate): Define as weak alias.
17358 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17360 * math/gen-libm-test.pl (parse_args): Initialize x before each
17361 test of frexp, modf and remquo.
17363 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17364 test signgam value.
17366 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17370 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17372 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17374 2013-05-06 Roland McGrath <roland@hack.frob.com>
17376 * elf/dl-writev.h: New file.
17377 * elf/dl-misc.c: Include it.
17378 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17379 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17381 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17383 * math/libm-test.inc (noXFails): Remove variable.
17384 (noXPasses): Likewise.
17385 (BUILD_COMPLEX_INT): Remove macro.
17386 (print_screen): Remove xfail argument.
17387 (print_screen_max_error): Likewise.
17388 (update_stats): Likewise.
17389 (print_max_error): Likewise. Update calls to other affected
17391 (print_complex_max_error): Likewise.
17392 (test_single_exception): Update calls to print_screen.
17393 (test_single_errno): Likewise.
17394 (check_float_internal): Remove xfail argument. Update calls to
17395 other affected functions.
17396 (check_float): Likewise.
17397 (check_complex): Likewise.
17398 (check_int): Likewise.
17399 (check_long): Likewise.
17400 (check_bool): Likewise.
17401 (check_longlong): Likewise.
17402 (main): Don't print noXFails and noXPasses.
17403 * math/gen-libm-test.pl (top level): Don't mention expected
17404 failure handling in comment.
17405 (new_test): Don't handle expected failures.
17406 (parse_args): Don't mention expected failure handling in comment.
17407 (generate_testfile): Don't handle expected failures.
17408 (parse_ulps): Likewise.
17409 (print_ulps_file): Likewise.
17410 (get_failure): Remove function.
17411 (output_test): Don't handle expected failures.
17412 * make/README.libm-test: Don't mention expected failure handling.
17414 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17415 (minus_zero): Likewise.
17416 (plus_infty): Likewise.
17417 (minus_infty): Likewise.
17418 (qnan_value): Likewise.
17419 (max_value): Likewise.
17420 (min_value): Likewise.
17421 (min_subnorm_value): Likewise.
17422 (initialize): Do not initialize those variables dynamically.
17424 2013-05-03 Roland McGrath <roland@hack.frob.com>
17426 * io/open.c (__open_2): Moved to ...
17427 * io/open_2.c: ... this new file.
17428 * io/open64.c (__open64_2): Moved to ...
17429 * io/open64_2.c: ... this new file.
17430 * io/openat.c (__openat_2): Moved to ...
17431 * io/openat_2.c: ... this new file.
17432 * io/openat64.c (__openat64_2): Moved to ...
17433 * io/openat64_2.c: ... this new file.
17434 * io/Makefile (routines): Add them.
17435 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17436 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17437 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17438 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17439 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17440 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17441 (__openat64): Add hidden_ver.
17442 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17443 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17445 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17446 Separately conditionalize setting of GLRO(dl_sysinfo) so
17447 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17448 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17450 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17452 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17453 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17455 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17456 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17457 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17458 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17459 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17461 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17463 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17464 test signgam value.
17466 * math/libm-test.inc (hypot_test): Do not use
17467 IGNORE_ZERO_INF_SIGN.
17469 2013-05-03 Andreas Jaeger <aj@suse.de>
17471 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17473 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17474 (PF_MAX): Adjust for VSOCK change.
17476 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17480 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17483 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17484 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17485 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17487 2013-05-02 David S. Miller <davem@davemloft.net>
17489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17491 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17493 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17495 2013-05-01 Roland McGrath <roland@hack.frob.com>
17497 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17499 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17502 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17503 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17504 Use __attribute__ ((__gnu_inline__)).
17505 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17506 Don't use __attribute__ ((__gnu_inline__)).
17508 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17511 * math/s_catan.c (__catan): Handle small real or imaginary part of
17512 input specially to avoid spurious underflow.
17513 * math/s_catanf.c (__catanf): Likewise.
17514 * math/s_catanh.c (__catanh): Likewise.
17515 * math/s_catanhf.c (__catanhf): Likewise.
17516 * math/s_catanhl.c (__catanhl): Likewise.
17517 * math/s_catanl.c (__catanl): Likewise.
17518 * math/libm-test.inc (catan_test): Add more tests.
17519 (catanh_test): Likewise.
17520 * sysdeps/i386/fpu/libm-test-ulps: Update.
17521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17523 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17527 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17530 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17531 accurately for denominator in atan2.
17532 * math/s_catanf.c (__catanf): Likewise.
17533 * math/s_catanh.c (__catanh): Likewise.
17534 * math/s_catanhf.c (__catanhf): Likewise.
17535 * math/s_catanhl.c (__catanhl): Likewise.
17536 * math/s_catanl.c (__catanl): Likewise.
17537 * math/libm-test.inc (catan_test): Add more tests.
17538 (catanh_test): Likewise.
17539 * sysdeps/i386/fpu/libm-test-ulps: Update.
17540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17542 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17544 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17546 * benchtests/Makefile (bench): Remove slow benchmarks.
17547 * benchtests/atan-inputs: Add slow benchmark inputs.
17548 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17549 (BENCH_FUNC): Accept variant offset.
17551 * benchtests/bench-skeleton.c (main): Run benchmark for each
17553 * benchtests/cos-inputs: Add slow benchmark inputs.
17554 * benchtests/exp-inputs: Likewise.
17555 * benchtests/pow-inputs: Likewise.
17556 * benchtests/sin-inputs: Likewise.
17557 * benchtests/slowatan-inputs: Remove.
17558 * benchtests/slowatan.c: Remove.
17559 * benchtests/slowcos-inputs: Remove.
17560 * benchtests/slowcos.c: Remove.
17561 * benchtests/slowexp-inputs: Remove.
17562 * benchtests/slowexp.c: Remove.
17563 * benchtests/slowpow-inputs: Remove.
17564 * benchtests/slowpow.c: Remove.
17565 * benchtests/slowsin-inputs: Remove.
17566 * benchtests/slowsin.c: Remove.
17567 * benchtests/slowtan-inputs: Remove.
17568 * benchtests/slowtan.c: Remove.
17569 * benchtests/tan-inputs: Add slow benchmark inputs.
17570 * scripts/bench.pl: Parse comments and directives.
17572 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17574 ($(objpfx)bench-%.c): Remove *-ITER.
17575 * benchtests/bench-modf.c: Remove definition of ITER.
17576 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17577 (main): Loop for DURATION seconds instead of fixed number of
17579 * scripts/bench.pl: Don't expect iterations in parameters.
17581 2013-04-29 Roland McGrath <roland@hack.frob.com>
17583 * io/fchdir.c (__fchdir): Renamed from fchdir.
17584 (fchdir): Define as weak alias.
17586 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17588 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17589 (ERRNO_EDOM): Likewise.
17590 (ERRNO_ERANGE): Likewise.
17591 (noErrnoTests): New variable.
17592 (init_max_error): Set errno to 0.
17593 (test_single_errno): New function.
17594 (test_errno): Likewise.
17595 (check_float_internal): Call test_errno. Set errno to 0.
17596 (check_complex): Refer to errno tests in comment.
17597 (check_int): Call test_errno. Set errno to 0.
17598 (check_long): Likewise.
17599 (check_bool): Likewise.
17600 (check_longlong): Likewise.
17601 (cos_test): Use ERRNO_* flags for errno tests instead of
17603 (expm1_test): Likewise.
17604 (fmod_test): Likewise.
17605 (ilogb_test): Likewise.
17606 (lgamma_test): Likewise.
17607 (pow_test): Likewise.
17608 (remainder_test): Likewise.
17609 (sin_test): Likewise.
17610 (tan_test): Likewise.
17611 (yn_test): Likewise.
17612 (initialize): Set errno to 0.
17613 (main): Print number of errno tests.
17614 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17616 2013-04-29 Andreas Jaeger <aj@suse.de>
17619 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17623 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17624 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17628 * stdlib/random.c (__initstate): Return NULL if
17632 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17633 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17636 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17640 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17642 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17643 of individual tests.
17644 (casin_test): Likewise.
17645 (casinh_test): Likewise.
17647 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17650 * math/s_catan.c (__catan): Handle arguments with large real or
17651 imaginary part separately without squaring.
17652 * math/s_catanf.c (__catanf): Likewise.
17653 * math/s_catanh.c (__catanh): Likewise.
17654 * math/s_catanhf.c (__catanhf): Likewise.
17655 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17657 (__catanhl): Handle arguments with large real or imaginary part
17658 separately without squaring.
17659 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17661 (__catanl): Handle arguments with large real or imaginary part
17662 separately without squaring.
17663 * math/libm-test.inc (catan_test): Add more tests.
17664 (catanh_test): Likewise.
17665 * sysdeps/i386/fpu/libm-test-ulps: Update.
17666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17668 2013-04-27 Andreas Jaeger <aj@suse.de>
17671 * stdlib/stdlib.h: Update guards for qecvt.
17672 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17675 2013-04-27 Allan McRae <allan@archlinux.org>
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17682 * math/s_catan.c: Include <float.h>.
17683 (__catan): Ensure underflow exception occurs for underflowed
17685 * math/s_catanf.c: Include <float.h>.
17686 (__catanf): Ensure underflow exception occurs for underflowed
17688 * math/s_catanh.c: Include <float.h>.
17689 (__catanh): Ensure underflow exception occurs for underflowed
17691 * math/s_catanhf.c: Include <float.h>.
17692 (__catanhf): Ensure underflow exception occurs for underflowed
17694 * math/s_catanhl.c: Include <float.h>.
17695 (__catanhl): Ensure underflow exception occurs for underflowed
17697 * math/s_catanl.c: Include <float.h>.
17698 (__catanl): Ensure underflow exception occurs for underflowed
17700 * math/libm-test.inc (catan_test): Add more tests.
17701 (catanh_test): Likewise.
17704 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17705 underflowed result.
17706 * math/s_ccoshf.c (__ccoshf): Likewise.
17707 * math/s_ccoshl.c (__ccoshl): Likewise.
17708 * math/s_csin.c (__csin): Likewise.
17709 * math/s_csinf.c (__csinf): Likewise.
17710 * math/s_csinh.c (__csinh): Likewise.
17711 * math/s_csinhf.c (__csinhf): Likewise.
17712 * math/s_csinhl.c (__csinhl): Likewise.
17713 * math/s_csinl.c (__csinl): Likewise.
17714 * math/libm-test.inc (ccos_test): Add more tests.
17715 (ccosh_test): Likewise.
17716 (csin_test): Likewise.
17717 (csinh_test): Likewise.
17719 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17721 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17722 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17723 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17724 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17725 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17726 powerpc/power5+/fpu folders.
17727 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17730 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17734 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17736 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17737 additions to variable.
17738 [$(config-machine) = x86_64] (modules-names): Likewise.
17739 ($(objpfx)tst-audit3): Remove dependency.
17740 ($(objpfx)tst-audit3.out): Likewise.
17741 ($(objpfx)tst-audit4): Likewise.
17742 ($(objpfx)tst-audit4.out): Likewise.
17743 ($(objpfx)tst-audit5): Likewise.
17744 ($(objpfx)tst-audit5.out): Likewise.
17745 ($(objpfx)tst-audit6): Likewise.
17746 ($(objpfx)tst-audit6.out): Likewise.
17747 ($(objpfx)tst-audit7): Likewise.
17748 ($(objpfx)tst-audit7.out): Likewise.
17749 (tst-audit3-ENV): Remove variable.
17750 (tst-audit4-ENV): Likewise.
17751 (tst-audit5-ENV): Likewise.
17752 (tst-audit6-ENV): Likewise.
17753 (tst-audit7-ENV): Likewise.
17754 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17755 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17756 addition to variable.
17757 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17758 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17759 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17760 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17761 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17762 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17763 tst-audit3, tst-audit4 and tst-audit5.
17764 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17765 tst-audit6 and tst-audit7.
17766 [$(subdir) = elf] (modules-names): Add audit modules for those
17768 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17769 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17770 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17771 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17772 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17773 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17774 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17775 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17776 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17777 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17778 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17779 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17780 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17781 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17782 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17783 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17785 [$(subdir) = elf && $(config-cflags-avx) = yes]
17786 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17787 [$(subdir) = elf && $(config-cflags-avx) = yes]
17788 (CFLAGS-tst-auditmod4a.c): Likewise.
17789 [$(subdir) = elf && $(config-cflags-avx) = yes]
17790 (CFLAGS-tst-auditmod4b.c): Likewise.
17791 [$(subdir) = elf && $(config-cflags-avx) = yes]
17792 (CFLAGS-tst-auditmod6b.c): Likewise.
17793 [$(subdir) = elf && $(config-cflags-avx) = yes]
17794 (CFLAGS-tst-auditmod6c.c): Likewise.
17795 [$(subdir) = elf && $(config-cflags-avx) = yes]
17796 (CFLAGS-tst-auditmod7b.c): Likewise.
17797 * elf/tst-audit3.c: Move to ...
17798 * sysdeps/x86_64/tst-audit3.c: ... here.
17799 * elf/tst-audit4.c: Move to ...
17800 * sysdeps/x86_64/tst-audit4.c: ... here.
17801 * elf/tst-audit5.c: Move to ...
17802 * sysdeps/x86_64/tst-audit5.c: ... here.
17803 * elf/tst-audit6.c: Move to ...
17804 * sysdeps/x86_64/tst-audit6.c: ... here.
17805 * elf/tst-audit7.c: Move to ...
17806 * sysdeps/x86_64/tst-audit7.c: ... here.
17807 * elf/tst-auditmod3a.c: Move to ...
17808 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17809 * elf/tst-auditmod3b.c: Move to ...
17810 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17811 * elf/tst-auditmod4a.c: Move to ...
17812 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17813 * elf/tst-auditmod4b.c: Move to ...
17814 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17815 * elf/tst-auditmod5a.c: Move to ...
17816 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17817 * elf/tst-auditmod5b.c: Move to ...
17818 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17819 * elf/tst-auditmod6a.c: Move to ...
17820 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17821 * elf/tst-auditmod6b.c: Move to ...
17822 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17823 * elf/tst-auditmod6c.c: Move to ...
17824 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17825 * elf/tst-auditmod7a.c: Move to ...
17826 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17827 * elf/tst-auditmod7b.c: Move to ...
17828 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17830 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17833 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17834 define unconditionally.
17835 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17836 define unconditionally.
17837 (INT8_C, INT16_C, etc.): Likewise.
17839 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17841 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17842 __ehdr_start with hidden visibility.
17844 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17846 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17848 * math/libm-test.inc (cos_test): Use accurate hex constants.
17849 (sincost_test): Likewise.
17851 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17853 * math/libm-test.inc (catan_test): Add more tests.
17854 (catanh_test): Likewise.
17856 * math/s_catanf.c (__catanf): Use suffixed floating-point
17858 * math/s_catanhf.c (__catanhf): Likewise.
17859 * math/s_catanhl.c (__catanhl): Likewise.
17860 * math/s_catanl.c (__catanl): Likewise.
17863 * math/s_catan.c (__catan): Calculate imaginary part of result
17864 with log1p not log unless computing log of number close to 0.
17865 * math/s_catanf.c (__catanf): Likewise.
17866 * math/s_catanl.c (__catanl): Likewise.
17867 * math/s_catanh.c (__catanh): Calculate real part of result with
17868 log1p not log unless computing log of number close to 0.
17869 * math/s_catanhf.c (__catanhf): Likewise.
17870 * math/s_catanhl.c (__catanhl): Likewise.
17871 * math/libm-test.inc (catan_test): Add more tests.
17872 (catanh_test): Likewise.
17873 * sysdeps/i386/fpu/libm-test-ulps: Update.
17874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17876 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17878 * benchtests/Makefile: Mention files in which fast and slow
17879 paths of math functions are implemented.
17881 2013-04-23 Roland McGrath <roland@hack.frob.com>
17883 * sysdeps/posix/timespec_get.c: New file.
17885 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17887 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17889 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17891 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17892 powerpc/power5/fpu folders.
17893 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17894 * benchtests/Makefile: Add modf testcase.
17895 * benchtests/bench-modf.c: New file: Benchmark test for mo
17897 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17900 * time/Makefile (tests): Add tst-strptime-whitespace.
17901 * time/strptime_l.c (get_number): Use ISSPACE.
17902 (__strptime_internal): Likewise.
17903 * time/tst-strptime-whitespace.c: New test case.
17905 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17907 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17909 (_nss_files_init): Set it here.
17911 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17913 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17914 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17917 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17919 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17921 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17923 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17926 2013-04-21 David S. Miller <davem@davemloft.net>
17928 * po/ru.po: Update Russion translation from translation project.
17930 2013-04-17 Adam Conrad <adconrad@0c3.net>
17932 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17935 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17937 * configure.in: Remove i386 configure warning. Remove i386 case.
17938 * configure: Regenerate.
17939 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17940 Add example to error message.
17941 * sysdeps/i386/configure: Regenerate.
17943 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17945 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17947 * benchtests/cos-inputs: New file.
17948 * benchtests/slowcos-inputs: New file.
17949 * benchtests/slowcos.c: New file.
17950 * benchtests/slowtan-inputs: New file.
17951 * benchtests/slowtan.c: New file.
17952 * benchtests/tan-inputs: New file.
17954 2013-04-16 Roland McGrath <roland@hack.frob.com>
17956 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17959 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17961 * benchtests/Makefile: Include cppflags-iterator.mk to add
17962 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17964 * Makefile.in (bench-clean): New target.
17965 * benchtests/Makefile (bench-clean): Likewise.
17967 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17969 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17971 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17973 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17975 2013-04-15 Andreas Schwab <schwab@suse.de>
17977 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17978 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17979 * nscd/pwdcache.c (cache_addpw): Likewise.
17980 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17983 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17985 * benchtests/Makefile (bench): Write all output to
17986 bench-out.tmp together.
17988 2013-04-15 Andreas Schwab <schwab@suse.de>
17990 * nscd/nscd.c (main): Don't fork again after closing files.
17992 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17994 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17996 * benchtests/Rules (bench-deps): Collect dependencies into a
17997 single variable. Add Makefile to dependencies.
17998 ($(objpfx)bench-%.c): Depend on bench-deps.
18000 2013-04-12 Roland McGrath <roland@hack.frob.com>
18001 Xavier Roche <roche+kml2@exalead.com>
18004 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18005 just that it's a file descriptor.
18006 * manual/llio.texi (Synchronizing AIO Operations): Update description
18007 for EBADF error from aio_fsync.
18009 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18011 * Rules (bench): Move target definition...
18012 * benchtests/Makefile: ... here.
18014 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18016 * math/libm-test.inc (cos_test): Fix PI/2 test.
18017 (sincos_test): Likewise.
18018 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18019 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18021 2013-04-11 Andreas Schwab <schwab@suse.de>
18024 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18025 accept exponent character only when digits were seen.
18026 * stdio-common/Makefile (tests): Add bug26.
18027 * stdio-common/bug26.c: New file.
18030 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18033 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18035 * Makeconfig (rtld-prefix): Define built linker prefix.
18036 * Rules (run-bench): Use it.
18037 * math/Makefile (run-regen-ulps): Likewise.
18039 * Rules (bench): Remove eval.
18041 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18042 Roland McGrath <roland@hack.frob.com>
18043 Ondrej Bilka <neleai@seznam.cz>
18046 * time/getdate.c: Include ctype.h and alloca.h.
18047 (__getdate_r): Trim leading and trailing spaces of input.
18048 * time/tst-getdate.c (tests): Add tests with leading and
18051 2013-04-08 Roland McGrath <roland@hack.frob.com>
18054 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18055 when computing value.
18057 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18059 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18060 Use testrun.sh to run libm tests.
18063 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18065 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18068 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18070 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18072 * Makefile.in (regen-ulps): New target.
18073 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18074 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18075 [ifneq (no,$(PERL)] (regen-ulps): New target.
18076 [ifeq (no,$(PERL)] (regen-ulps): New target.
18077 * math/libm-test.inc (ulps_file_name): Define.
18078 (output_dir): New variable.
18079 (options): Add "output-dir" option.
18080 (parse_opt): Handle 'o' case.
18081 (main): If output_dir is non-NULL use it as a prefix
18083 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18085 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18087 [BZ #10060, #10062]
18088 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18089 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18090 fail configure if __sync_val_compare_and_swap is not inlined.
18091 * sysdeps/i386/configure: Regenerate.
18092 * configure.in: Build for i686 when configured for i386.
18093 * configure: Regenerate.
18094 * README: Remove i386 reference.
18096 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18098 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18101 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18103 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18104 (lmsnanval): New variables.
18105 (F): Add conversion tests.
18106 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18107 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18109 * stdio-common/tstdiomisc.c (F): Properly collect individual
18112 [BZ #14686, #15336]
18113 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18114 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18115 Instead, use input NaN values or generate a qNaN by arithmetic
18116 operation. Also fix bugs to comply with the standard.
18117 * math/libm-test.inc (remainder_test): Add more tests.
18119 [BZ #15335, #15342]
18120 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18122 input NaN values or generate a qNaN by arithmetic operation.
18124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18127 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18130 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18133 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18134 underflowed result.
18135 * math/s_cexpf.c (__cexpf): Likewise.
18136 * math/s_cexpl.c (__cexpl): Likewise.
18137 * math/libm-test.inc (cexp_test): Add more tests.
18139 2013-04-03 Andreas Schwab <schwab@suse.de>
18142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18143 order arrays from heap if bigger than alloca cutoff.
18145 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18147 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18148 (SNAN_TESTS_double): Refer to GCC PR56831.
18149 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18152 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18154 * Rules (bench): Move bench.out after the run is complete.
18156 * Rules (bench): Echo currently running benchmark.
18158 * benchtests/Makefile (bench): Add atan and slowatan.
18159 * benchtests/atan-inputs: New file.
18160 * benchtests/slowatan-inputs: New file.
18161 * benchtests/slowatan.c: New file.
18163 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18168 * sysdeps/unix/sysv/linux/kernel-features.h
18169 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18170 __ASSUME_XFS_RESTRICTED_CHOWN.
18171 * sysdeps/unix/sysv/linux/pathconf.c
18172 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18173 Save and restore errno.
18175 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18178 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18179 arguments using __kernel_casinh.
18180 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18181 arguments using __kernel_casinhf.
18182 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18183 arguments using __kernel_casinhl.
18184 * math/libm-test.inc (cacosh_test): Add more tests.
18185 * sysdeps/i386/fpu/libm-test-ulps: Update.
18186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18188 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18190 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18193 * bench/Makefile (bench): Add sin and slowsin.
18194 * benchtests/sin-inputs: New file.
18195 * benchtests/slowsin-inputs: New file.
18196 * benchtests/slowsin.c: New file.
18198 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18199 (bench): Add slowexp and slowpow.
18200 (exp-ITER): Increase iterations.
18201 (pow-ITER): Likewise.
18202 * benchtests/exp-inputs: Change input.
18203 * benchtests/pow-inputs: Likewise.
18204 * benchtests/slowexp-inputs: New file.
18205 * benchtests/slowexp.c: New file.
18206 * benchtests/slowpow-inputs: New file.
18207 * benchtests/slowpow.c: New file.
18209 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18211 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18213 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18214 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18215 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18216 * benchtests/Makefile: Add rint benchtest.
18217 * benchtests/rint-inputs: Input for rint benchtest.
18219 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18221 * Versions.def (libm): Add GLIBC_2.18.
18222 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18223 hidden libm prototypes.
18224 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18225 * math/Makefile (libm-calls): Add s_issignaling.
18226 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18227 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18228 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18230 * math/math.h [__USE_GNU] (issignaling): New macro.
18231 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18232 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18237 * manual/arith.texi (issignaling): New section.
18238 * manual/libm-err-tab.pl (@all_functions): Update comment.
18239 * math/gen-libm-test.pl (parse_args): Apply special handling for
18241 * math/libm-test.inc (print_float, issignaling_test): New
18243 (check_float_internal): Add issignaling checks.
18244 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18245 default definition.
18246 * sysdeps/powerpc/math-tests.h: New file.
18247 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18249 * math/test-snan.c (TEST_FUNC): Likewise.
18251 2013-03-30 David S. Miller <davem@davemloft.net>
18253 * po/de.po: Update from translation team.
18255 2013-03-30 Joseph Myers <joseph@codesourcery.com>
18258 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18259 imaginary part less than 1.0 and real part less than 0.5
18261 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18262 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18263 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18264 (cacos_test): Add more tests.
18265 (casin_test): Likewise.
18266 (casinh_test): Likewise.
18267 * sysdeps/i386/fpu/libm-test-ulps: Update.
18268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18270 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18272 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18273 ONE with its value.
18275 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18276 (__pow_mp): Replace ONE and MONE with their values.
18277 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18278 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18279 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18280 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18281 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18282 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18284 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18286 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18287 (__pow_mp): Replace ZERO and MZERO with their values.
18288 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18289 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18290 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18292 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18293 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18296 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18298 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18300 2013-03-28 Roland McGrath <roland@hack.frob.com>
18302 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18303 Declare with __attribute__ ((weak)).
18304 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18305 Call __call_tls_dtors only if it's not NULL.
18307 2013-03-28 Roland McGrath <roland@hack.frob.com>
18309 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18310 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18311 magic __ehdr_start linker symbol if it's defined.
18312 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18313 them up here if it was already done.
18315 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18316 (_dl_aux_init): Use const in cast when setting it.
18317 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18318 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18319 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18321 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18323 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18324 * csu/libc-tls.c: Nor here.
18325 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18327 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18328 (__libc_message): Never call vsyslog.
18330 2013-03-28 Alan Modra <amodra@gmail.com>
18332 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18334 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18337 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18340 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18344 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18347 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18348 Don't add gid passed as argument.
18350 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18352 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18355 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18356 imaginary part between 1.0 and 1.5 and real part less than 0.5
18358 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18359 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18360 * math/libm-test.inc (cacos_test): Add more tests.
18361 (casin_test): Likewise.
18362 (casinh_test): Likewise.
18363 * sysdeps/i386/fpu/libm-test-ulps: Update.
18364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18366 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18368 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18371 (denorm): Likewise.
18372 (__dbl_mp): Likewise.
18373 (add_magnitudes): Likewise.
18374 (sub_magnitudes): Likewise.
18382 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18384 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18385 (__dubcos): Likewise.
18386 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18387 (__ieee754_acos): Likewise.
18388 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18389 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18390 (__exp1): Likewise.
18391 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18394 (my_log2): Likewise.
18395 (checkint): Likewise.
18396 * sysdeps/ieee754/dbl-64/e_remainder.c
18397 (__ieee754_remainder): Likewise.
18398 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18400 (bsloww): Likewise.
18401 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18403 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18404 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18405 MANTISSA_STORE_T to store computations on mantissa. Use
18406 macros for rounding and division.
18407 (denorm): Likewise.
18408 (__dbl_mp): Likewise.
18409 (add_magnitudes): Likewise.
18410 (sub_magnitudes): Likewise.
18413 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18414 powers of two in terms of TWOPOW macro.
18415 (mp_no): Make type of mantissa as MANTISSA_T.
18416 [!RADIXI]: Define RADIXI.
18417 [!TWO52]: Define TWO52.
18418 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18420 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18422 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18423 llroundl symbol when building for PPC32.
18425 2013-03-24 Mark H Weaver <mhw@netris.org>
18427 * manual/arith.texi (Normalization Functions): Fix prototypes for
18428 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18430 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18434 high value to check if expl overflow.
18435 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18436 to check for underflow and overflow.
18437 * math/libm-test.inc: Add exp test.
18439 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18442 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18445 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18447 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18450 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18452 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18453 wrap blocks consisting of several statements.
18455 * sysdeps/generic/math-tests.h: New file.
18456 * sysdeps/i386/fpu/math-tests.h: Likewise.
18457 * math/test-snan.c: Include it.
18458 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18460 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18463 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18464 (__ieee754_j0l): Do not improve calculations using cos of twice
18465 input for inputs above LDBL_MAX / 2.0L.
18466 (__ieee754_y0l): Likewise.
18467 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18468 (__ieee754_j1l): Do not improve calculations using cos of twice
18469 input for inputs above LDBL_MAX / 2.0L.
18470 (__ieee754_y1l): Likewise.
18471 * math/libm-test.inc (j0_test): Add another test.
18472 (j1_test): Likewise.
18473 (y0_test): Likewise.
18474 (y1_test): Likewise.
18475 * sysdeps/i386/fpu/libm-test-ulps: Update.
18477 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18479 * Rules ($(objpfx)bench-%.c): Include code from a C source
18482 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18485 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18486 imaginary part 1.0 and real part less than 0.5 specially.
18487 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18488 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18489 * math/libm-test.inc (cacos_test): Add more tests.
18490 (casin_test): Likewise.
18491 (casinh_test): Likewise.
18492 * sysdeps/i386/fpu/libm-test-ulps: Update.
18493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18495 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18497 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18498 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18500 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18502 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18503 * config.make.in (config-cflags-sse4): Remove variable.
18504 (config-cflags-avx): Likewise.
18505 (config-cflags-sse2avx): Likewise.
18506 (config-cflags-novzeroupper): Likewise.
18507 (config-asflags-i686): Likewise.
18508 (have-mfma4): Likewise.
18509 (have-as-vis3): Likewise.
18511 * configure.in (MIG): Do not AC_SUBST.
18512 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18513 (libc_cv_cc_sse4): Do not AC_SUBST.
18514 (libc_cv_cc_avx): Likewise.
18515 (libc_cv_cc_sse2avx): Likewise.
18516 (libc_cv_cc_novzeroupper): Likewise.
18517 (libc_cv_cc_fma4): Likewise.
18518 (libc_cv_as_i686): Likewise.
18519 (libc_cv_sparc_as_vis3): Likewise.
18520 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18522 (config-asflags-i686): Likewise.
18523 (config-cflags-avx): Likewise.
18524 (config-cflags-sse2avx): Likewise.
18525 (have-mfma4): Likewise.
18526 (config-cflags-novzeroupper): Likewise.
18527 * sysdeps/mach/configure.in (MIG): Likewise.
18528 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18529 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18531 (config-cflags-avx): Likewise.
18532 (config-cflags-sse2avx): Likewise.
18533 (have-mfma4): Likewise.
18534 (config-cflags-novzeroupper): Likewise.
18535 * configure: Regenerated.
18536 * sysdeps/i386/configure: Likewise.
18537 * sysdeps/mach/configure: Likewise.
18538 * sysdeps/sparc/configure: Likewise.
18539 * sysdeps/x86_64/configure: Likewise.
18541 2013-03-20 Roland McGrath <roland@hack.frob.com>
18544 * locale/programs/localedef.c (options): Put N_ translation marker
18545 on argument names, not just descriptions.
18547 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18549 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18551 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18554 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18556 2013-03-19 Roland McGrath <roland@hack.frob.com>
18558 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18559 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18560 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18561 [!BEFORE_ABORT] (before_abort): New function.
18562 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18563 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18564 (writev_for_fatal): New function.
18565 (WRITEV_FOR_FATAL): New macro; call that.
18566 (backtrace_and_maps): New function.
18567 (BEFORE_ABORT): New macro; call that.
18568 (struct str_list): Type removed.
18569 (__libc_message, __libc_fatal): Functions removed.
18570 Include <sysdeps/posix/libc_fatal.c> instead.
18572 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18574 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18576 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18579 2013-03-19 Andreas Schwab <schwab@suse.de>
18581 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18582 * sysdeps/gnu/configure: Regenerate.
18584 * configure.in: Substitute libc_cv_rtlddir.
18585 * configure: Regenerate.
18586 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18587 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18588 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18589 * elf/Makefile (install-others, CFLAGS-interp.c)
18590 (ldso_install, common-ldd-rewrite): Likewise.
18591 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18592 $(inst_slibdir)/$(rtld-installed-name).
18593 * scripts/rellns-sh: Add -p option.
18594 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18597 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18599 * manual/nptl.texi: Renamed to ...
18600 * manual/threads.texi: ... this.
18601 * manual/Makefile (chapters): Update.
18603 2013-03-18 Roland McGrath <roland@hack.frob.com>
18606 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18607 on argument names, not just descriptions.
18608 * malloc/memusagestat.c (options): Likewise.
18609 * nss/getent.c (options): Likewise.
18611 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18614 * iconv/iconv_prog.c (options): Put N_ translation marker
18615 on argument names, not just descriptions.
18616 * iconv/iconvconfig.c (options): Likewise.
18618 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18620 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18621 implementation which is faster on all x86_64 architectures.
18622 Tested on AMD, Intel Nehalem, SNB, IVB.
18623 * sysdeps/x86_64/strnlen.S: Likewise.
18625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18626 Remove all multiarch strlen and strnlen versions.
18627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18628 Remove strlen and strnlen related parts.
18630 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18631 Inline strlen part.
18632 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18634 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18635 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18636 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18637 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18638 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18639 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18641 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18643 * manual/memory.texi (Malloc Tunable Parameters):
18644 Sort parameters alphabetically. Add comments for missing entries.
18646 2013-03-17 David S. Miller <davem@davemloft.net>
18648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18650 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18653 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18654 for arguments at most half maximum finite value.
18655 * math/libm-test.inc (j0_test): Add more tests.
18656 (j1_test): Likewise.
18657 (y0_test): Likewise.
18658 (y1_test): Likewise.
18659 * sysdeps/i386/fpu/libm-test-ulps: Update.
18660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18663 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18664 1 / x and functions P and Q for arguments above 0x1p256L.
18665 (__ieee754_y0l): Likewise.
18666 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18667 (__ieee754_y1l): Likewise.
18668 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18669 (j1_test): Likewise.
18670 (y0_test): Likewise.
18671 (y1_test): Likewise.
18673 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18675 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18678 2013-03-15 Roland McGrath <roland@hack.frob.com>
18680 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18681 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18682 zero since it's initialized to EXEC_PAGESIZE.
18684 * sysdeps/unix/sysv/linux/ldsodefs.h
18685 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18686 * sysdeps/generic/ldsodefs.h: ... here.
18688 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18690 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18692 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18694 * math/test-snan.c: Renamed from
18695 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18696 * math/Makefile (tests): Add test-snan.
18697 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18700 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18701 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18703 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18704 __builtin_nan family of functions.
18705 * math/libm-test.inc (initialize): Initialize qnan_value with
18706 __builtin_nan family of functions.
18707 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18709 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18711 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18712 storage class. Initialize qNaN_var and sNaN_var with
18713 __builtin_nan and __builtin_nans families of functions,
18716 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18717 (sqrt_test): Remove duplicate test with qNaN input.
18718 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18719 (round_test, signbit_test, significand_test): Note missing +/-Inf
18720 as well as qNaN tests.
18722 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18723 qNaN_var. Fix a few strings, too.
18724 * math/libm-test.inc (nan_value): Rename to qnan_value.
18725 * math/gen-libm-test.pl (%beautify): Adjust to that.
18726 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18727 * math/test-misc.c (main): Likewise.
18728 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18729 to __qnan_bytes, and __qnan_union, respectively.
18730 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18732 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18733 and lqnanval, respectively.
18734 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18735 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18736 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18737 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18739 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18740 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18743 * math/test-misc.c (main): Fix copy'n'pastos.
18744 * misc/tst-efgcvt.c (special): Likewise.
18746 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18747 Remove declarations.
18749 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18751 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18752 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18753 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18754 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18756 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18758 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18759 macro to return vdso values correctly in IFUNC implementations.
18760 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18761 Optimization by using IFUNC.
18763 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18764 Richard Henderson <rth@redhat.com>
18765 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18767 * Makefile.in (bench): New target.
18768 * NEWS: Mention the benchmark framework.
18769 * Rules (bench): Likewise.
18770 (binaries-bench): Generate binaries for functions to
18772 * benchtests/Makefile: New makefile for benchmark tests.
18773 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18775 * benchtests/exp-inputs: New input file for EXP function.
18776 * benchtests/pow-inputs: New input file for POW function.
18777 * scripts/bench.pl: New script to generate source files for
18778 benchmark programs.
18780 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18782 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18783 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18784 computations on mantissa. Use macros for rounding and
18786 (denorm): Likewise.
18787 (__dbl_mp): Likewise.
18788 (add_magnitudes): Likewise.
18789 (sub_magnitudes): Likewise.
18792 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18793 powers of two in terms of TWOPOW macro.
18794 (mp_no): Make type of mantissa as MANTISSA_T.
18795 [!RADIXI]: Define RADIXI.
18796 [!TWO52]: Define TWO52.
18797 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18799 * manual/nptl.texi (cindex): Modify threads to pthreads.
18801 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18803 * sysdeps/x86_64/preconfigure: Regenerated.
18805 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18808 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18810 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18811 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18813 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18814 * math/libm-test.inc (j0_test): Do not allow one spurious
18815 underflow exception.
18816 (y1_test): Likewise.
18818 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18820 * manual/Makefile (chapters): Add nptl.
18821 * manual/debug.texi (Debugging Support): Add link to Threads
18823 * manual/nptl.texi: New file.
18825 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18827 2013-03-14 Petr Baudis <pasky@ucw.cz>
18829 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18830 for non-NULL pointer before the memory validity test. Pointed
18831 out by Holger Brunck <holger.brunck@keymile.com>.
18833 2013-03-13 Andreas Schwab <schwab@suse.de>
18835 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18838 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18840 * timezone/zic.c: Update from tzcode 2013b.
18842 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18844 * manual/install.texi (Configuring and compiling):
18845 Mention i686 and i586.
18846 * INSTALL: Regenerate.
18848 2013-03-12 Roland McGrath <roland@hack.frob.com>
18850 * sysdeps/init_array/elf-init.c: New file.
18852 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18853 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18855 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18856 __gmon_start__ as global, but as static with a .preinit_array pointer.
18857 * sysdeps/init_array/gmon-start.c: New file. Use that.
18858 * sysdeps/init_array/crti.S: New file, empty except for comments.
18859 * sysdeps/init_array/crtn.S: Likewise.
18861 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18863 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18866 Remove Prefer_SSE_for_memop.
18867 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18868 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18869 HAS_PREFER_SSE_FOR_MEMOP.
18870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18873 Remove bzero, memset ifunc support.
18874 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18875 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18876 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18877 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18879 2013-03-11 Andreas Schwab <schwab@suse.de>
18882 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18885 (GLIBC_2.16): Remove pthread_atfork.
18887 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18889 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18890 (ptestcases.h): Likewise.
18892 2013-03-08 Roland McGrath <roland@hack.frob.com>
18894 * Makeconfig ($(common-objpfx)config.status): Depend on
18895 sysdeps/*/preconfigure{,.in} too.
18897 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18899 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18900 (__free_hook): Use void * instead of __malloc_ptr_t.
18901 (__malloc_hook): Likewise.
18902 (__realloc_hook): Likewise.
18903 (__memalign_hook): Likewise.
18904 (__after_morecore_hook): Likewise.
18905 * malloc/arena.c (save_malloc_hook): Likewise.
18906 (save_free_hook): Likewise.
18907 * malloc/hooks.c (malloc_hook_ini): Likewise.
18908 (realloc_hook_ini): Likewise.
18909 (memalign_hook_ini): Likewise.
18910 * malloc/malloc.c (malloc_hook_ini): Likewise.
18911 (realloc_hook_ini): Likewise.
18912 (memalign_hook_ini): Likewise.
18913 (__free_hook): Likewise.
18914 (__malloc_hook): Likewise.
18915 (__realloc_hook): Likewise.
18916 (__memalign_hook): Likewise.
18917 (__libc_malloc): Likewise.
18918 (__libc_free): Likewise.
18919 (__libc_realloc): Likewise.
18920 (__libc_memalign): Likewise.
18921 (__libc_valloc): Likewise.
18922 (__libc_pvalloc): Likewise.
18923 (__libc_calloc): Likewise.
18924 (__posix_memalign): Likewise.
18925 * malloc/morecore.c (__sbrk): Likewise.
18926 (__default_morecore): Likewise.
18928 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18930 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18931 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18932 __malloc_ptrdiff_t.
18934 * malloc/malloc.h (__malloc_size_t): Remove macro.
18935 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18937 (old_memalign_hook): Likewise.
18938 (old_realloc_hook): Likewise.
18939 (struct hdr): Likewise.
18941 (mallochook): Likewise.
18942 (memalignhook): Likewise.
18943 (reallochook): Likewise.
18944 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18945 (tr_old_realloc_hook): Likewise.
18946 (tr_old_memalign_hook): Likewise.
18947 (tr_mallochook): Likewise.
18948 (tr_reallochook): Likewise.
18949 (tr_memalignhook): Likewise.
18951 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18953 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18954 default_ldbl_pack and using as default implementation.
18955 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18957 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18958 redundant definition.
18959 (ldbl_insert_mantissa): Likewise.
18960 (ldbl_canonicalize): Likewise.
18961 (ldbl_nearbyint): Likewise.
18962 (ldbl_pack): Rename to ldbl_pack_ppc.
18963 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18964 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18965 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18967 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18970 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18971 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18972 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18974 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18975 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18976 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18978 2013-03-07 Andreas Jaeger <aj@suse.de>
18980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18983 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18985 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18986 Include mpa.h and declare __MPEXP.
18987 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18988 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18989 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18990 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18991 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18992 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18993 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18995 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18996 (__slowpow): Use long double EXPL and LOGL functions to
18998 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18999 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19000 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19002 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19003 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19006 intermediate variable to calculate exponent.
19008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19012 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19013 [!NO__SQR]: Define __sqr.
19014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19015 and NO__SQR. Remove all code except __mul and __sqr. Include
19016 sysdeps/ieee754/dbl-64/mpa.c.
19017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19020 * posix/Makefile (tests): Add tst-pathconf.
19021 * posix/tst-pathconf.c: New test case.
19022 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19024 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19026 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19028 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19030 2013-03-06 Andreas Jaeger <aj@suse.de>
19032 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19033 definition via __MAP_ANONYMOUS.
19035 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19036 it's not part of Linux headers.
19038 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19039 (MAP_HUGE_MASK): Define.
19041 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19043 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19044 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19046 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19047 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19049 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19050 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19052 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19054 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19055 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19056 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19057 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19058 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19059 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19061 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19064 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19065 Handle f2fs and efivarfs.
19067 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19070 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19071 (EFIVARFS_MAGIC): Add.
19072 (F2FS_LINK_MAX): Add.
19074 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19076 * stdio-common/vfprintf.c: Replace __builtin_expect with
19079 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19082 * sysdeps/generic/bp-sym.h: Remove file.
19083 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19084 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19085 <bp-sym.h> and <bp-asm.h>.
19086 (__longjmp): Don't use BP_SYM.
19087 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19089 (memcpy): Don't use BP_SYM.
19090 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19091 <bp-sym.h> and <bp-asm.h>.
19092 (memcpy): Don't use BP_SYM.
19093 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19095 (memcpy): Don't use BP_SYM.
19096 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19098 (memset): Don't use BP_SYM.
19099 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19100 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19101 (__bzero): Don't use BP_SYM.
19102 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19103 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19104 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19105 <bp-sym.h> and <bp-asm.h>.
19106 (memcmp): Don't use BP_SYM. Remove comment about bounded
19108 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19109 <bp-sym.h> and <bp-asm.h>.
19110 (memcpy): Don't use BP_SYM.
19111 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19112 <bp-sym.h> and <bp-asm.h>.
19113 (memset): Don't use BP_SYM.
19114 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19115 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19116 (__bzero): Don't use BP_SYM.
19117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19119 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19120 <bp-sym.h> and <bp-asm.h>.
19121 (strncmp): Don't use BP_SYM. Remove comment about bounded
19123 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19124 <bp-sym.h> and <bp-asm.h>.
19125 (memcpy): Don't use BP_SYM.
19126 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19127 <bp-sym.h> and <bp-asm.h>.
19128 (memset): Don't use BP_SYM.
19129 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19130 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19131 (__bzero): Don't use BP_SYM.
19132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19134 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19135 <bp-sym.h> and <bp-asm.h>.
19136 (__memchr): Don't use BP_SYM.
19137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19138 <bp-sym.h> and <bp-asm.h>.
19139 (memcmp): Don't use BP_SYM. Remove comment about bounded
19141 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19142 <bp-sym.h> and <bp-asm.h>.
19143 (memcpy): Don't use BP_SYM.
19144 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19145 <bp-sym.h> and <bp-asm.h>.
19146 (__mempcpy): Don't use BP_SYM.
19147 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19148 <bp-sym.h> and <bp-asm.h>.
19149 (__memrchr): Don't use BP_SYM.
19150 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19151 <bp-sym.h> and <bp-asm.h>.
19152 (memset): Don't use BP_SYM.
19153 (__bzero): Likewise.
19154 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19155 <bp-sym.h> and <bp-asm.h>.
19156 (__rawmemchr): Don't use BP_SYM.
19157 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19158 <bp-sym.h> and <bp-asm.h>.
19159 (__STRCMP): Don't use BP_SYM.
19160 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19161 <bp-sym.h> and <bp-asm.h>.
19162 (strchr): Don't use BP_SYM.
19163 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19164 <bp-sym.h> and <bp-asm.h>.
19165 (__strchrnul): Don't use BP_SYM.
19166 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19167 <bp-sym.h> and <bp-asm.h>.
19168 (strlen): Don't use BP_SYM.
19169 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19170 <bp-sym.h> and <bp-asm.h>.
19171 (strncmp): Don't use BP_SYM. Remove comment about bounded
19173 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19174 <bp-sym.h> and <bp-asm.h>.
19175 (__strnlen): Don't use BP_SYM.
19176 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19177 <bp-sym.h> and <bp-asm.h>.
19178 (__GI__setjmp): Don't use BP_SYM.
19179 (_setjmp): Likewise.
19180 (__sigsetjmp): Likewise.
19181 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19182 (L(start_addresses)): Don't use BP_SYM.
19183 (_start): Likewise.
19184 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19186 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19187 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19188 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19189 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19190 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19192 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19193 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19194 about bounded pointers.
19195 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19196 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19197 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19199 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19200 about bounded pointers. Remove GKM FIXME comments.
19201 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19202 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19204 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19205 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19206 Remove GKM FIXME comments.
19207 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19208 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19209 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19211 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19212 about bounded pointers. Remove GKM FIXME comment.
19213 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19215 (strncmp): Don't use BP_SYM. Remove comment about bounded
19217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19218 <bp-sym.h> and <bp-asm.h>.
19219 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19221 <bp-sym.h> and <bp-asm.h>.
19222 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19225 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19227 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19230 2013-03-05 David S. Miller <davem@davemloft.net>
19232 * po/es.po: Update from translation team.
19234 2013-03-05 Andreas Jaeger <aj@suse.de>
19236 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19237 <bits/mman-linux.h>.
19238 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19240 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19241 <bits/mman-linux.h> to end of file.
19242 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19244 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19245 <bits/mman-linux.h> to end of file.
19246 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19249 <bits/mman-linux.h> to end of file.
19251 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19252 (MCL_CURRENT, MCL_FUTURE): Define here.
19254 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19257 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19259 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19261 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19263 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19264 fourth parameter needed for rt_sigprocmask syscall.
19265 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19266 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19267 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19268 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19269 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19270 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19272 2013-03-04 Joseph Myers <joseph@codesourcery.com>
19275 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19276 comment about bounded pointers.
19277 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19278 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19280 2013-03-04 Andreas Jaeger <aj@suse.de>
19282 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19283 common definitions.
19285 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19286 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19287 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19288 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19289 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19290 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19292 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19295 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19296 __ieee754_sqrl instead of __sqrl.
19298 2013-03-01 Joseph Myers <joseph@codesourcery.com>
19300 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19301 * sysdeps/powerpc/fpu_control.h: ... here.
19302 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19303 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19304 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19305 * sysdeps/powerpc/bits/mathinline.h: ... here.
19307 2013-03-01 Roland McGrath <roland@hack.frob.com>
19309 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19310 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19311 to just [NEED_DL_SYSINFO_DSO].
19312 * elf/dl-support.c: Likewise.
19313 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19314 * elf/rtld.c (dl_main): Likewise.
19315 * elf/setup-vdso.h (setup_vdso): Likewise.
19316 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19317 * sysdeps/unix/sysv/linux/dl-sysdep.c
19318 (_dl_discover_osversion): Likewise.
19320 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19322 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19323 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19325 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19327 * NEWS: Mention libm performance improvements and non-x86 PI
19330 * csu/libc-start.c (__pthread_initialize_minimal): Change
19331 function arguments.
19332 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19334 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19337 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19338 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19339 <bp-sym.h> and <bp-asm.h>.
19340 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19343 (memcpy): Don't use BP_SYM.
19344 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19346 (__mpn_add_n): Don't use BP_SYM.
19347 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19348 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19350 (__mpn_addmul_1): Don't use BP_SYM.
19351 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19352 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19354 (_setjmp): Don't use BP_SYM.
19355 (__novmx_setjmp): Likewise.
19356 (__GI__setjmp): Likewise.
19357 (__vmx_setjmp): Likewise.
19358 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19360 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19361 (__bzero): Don't use BP_SYM.
19362 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19363 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19364 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19365 <bp-sym.h> and <bp-asm.h>.
19366 (memcpy): Don't use BP_SYM.
19367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19368 <bp-sym.h> and <bp-asm.h>.
19369 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19370 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19371 <bp-sym.h> and <bp-asm.h>.
19372 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19373 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19375 (__mpn_lshift): Don't use BP_SYM.
19376 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19377 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19379 (memset): Don't use BP_SYM.
19380 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19381 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19382 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19384 (__mpn_mul_1): Don't use BP_SYM.
19385 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19386 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19387 <bp-sym.h> and <bp-asm.h>.
19388 (memcmp): Don't use BP_SYM.
19389 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19390 <bp-sym.h> and <bp-asm.h>.
19391 (memcpy): Don't use BP_SYM.
19392 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19393 <bp-sym.h> and <bp-asm.h>.
19394 (memset): Don't use BP_SYM.
19395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19396 <bp-sym.h> and <bp-asm.h>.
19397 (strncmp): Don't use BP_SYM.
19398 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19399 <bp-sym.h> and <bp-asm.h>.
19400 (memcpy): Don't use BP_SYM.
19401 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19402 <bp-sym.h> and <bp-asm.h>.
19403 (memset): Don't use BP_SYM.
19404 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19405 <bp-sym.h> and <bp-asm.h>.
19406 (__memchr): Don't use BP_SYM.
19407 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19408 <bp-sym.h> and <bp-asm.h>.
19409 (memcmp): Don't use BP_SYM.
19410 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19411 <bp-sym.h> and <bp-asm.h>.
19412 (memcpy): Don't use BP_SYM.
19413 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19414 <bp-sym.h> and <bp-asm.h>.
19415 (__mempcpy): Don't use BP_SYM.
19416 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19417 <bp-sym.h> and <bp-asm.h>.
19418 (__memrchr): Don't use BP_SYM.
19419 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19420 <bp-sym.h> and <bp-asm.h>.
19421 (memset): Don't use BP_SYM.
19422 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19423 <bp-sym.h> and <bp-asm.h>.
19424 (__rawmemchr): Don't use BP_SYM.
19425 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19426 <bp-sym.h> and <bp-asm.h>.
19427 (__STRCMP): Don't use BP_SYM.
19428 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19429 <bp-sym.h> and <bp-asm.h>.
19430 (strchr): Don't use BP_SYM.
19431 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19432 <bp-sym.h> and <bp-asm.h>.
19433 (__strchrnul): Don't use BP_SYM.
19434 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19435 <bp-sym.h> and <bp-asm.h>.
19436 (strlen): Don't use BP_SYM.
19437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19438 <bp-sym.h> and <bp-asm.h>.
19439 (strncmp): Don't use BP_SYM.
19440 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19441 <bp-sym.h> and <bp-asm.h>.
19442 (__strnlen): Don't use BP_SYM.
19443 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19445 (__mpn_rshift): Don't use BP_SYM.
19446 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19447 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19448 <bp-sym.h> and <bp-asm.h>.
19449 (__sigsetjmp): Don't use BP_SYM.
19450 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19451 (L(start_addresses)): Don't use BP_SYM.
19452 (_start): Likewise.
19453 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19455 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19456 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19457 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19458 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19460 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19461 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19462 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19463 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19465 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19467 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19468 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19470 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19472 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19473 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19474 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19476 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19478 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19480 (strncmp): Don't use BP_SYM,
19481 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19483 (__mpn_sub_n): Don't use BP_SYM.
19484 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19485 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19487 (__mpn_submul_1): Don't use BP_SYM.
19488 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19490 <bp-sym.h> and <bp-asm.h>.
19491 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19493 <bp-sym.h> and <bp-asm.h>.
19494 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19497 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19500 Use ZK to minimize writes to Z.
19501 (sub_magnitudes): Simplify code a bit.
19502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19503 Use ZK to minimize writes to Z.
19504 (sub_magnitudes): Simplify code a bit.
19506 2013-02-27 Roland McGrath <roland@hack.frob.com>
19508 * csu/gmon-start.c: Add special exception to license text.
19510 2013-02-27 Richard Henderson <rth@redhat.com>
19512 * scripts/config.guess: Update from config.git.
19513 * scripts/config.sub: Likewise.
19515 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19519 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19521 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19523 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19525 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19527 2013-02-26 Roland McGrath <roland@hack.frob.com>
19529 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19530 [$(build-shared = yes].
19532 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19534 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19535 (__mul): Reduce iterations for calculating mantissa.
19537 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19539 (__mpranred): Likewise.
19542 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19543 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19545 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19547 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19548 Define __attribute__.
19550 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19552 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19554 * posix/regex_internal.h (__attribute): Remove.
19555 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19556 (re_string_context_at): Likewise.
19557 (bitset_not): Use __attribute__ and mark function as possibly
19559 (bitset_merge): Likewise.
19560 (bitset_mask): Likewise.
19561 (re_string_char_size_at): Likewise.
19562 (re_string_wchar_at): Likewise.
19563 (re_string_elem_size_at): Likewise.
19565 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19567 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19571 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19575 (denorm): Likewise.
19576 (__dbl_mp): Likewise.
19577 (add_magnitudes): Likewise.
19578 (sub_magnitudes): Likewise.
19582 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19585 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19588 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19592 up changes with default code.
19593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19596 2013-02-24 Allan McRae <allan@archlinux.org>
19598 * manual/socket.texi (The Internet Namespace): Order menu items
19599 to match that in the file.
19601 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19602 node listing of the info page menu.
19604 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19607 * sysdeps/i386/bp-asm.h: Remove file.
19608 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19609 (PARMS): Do not use macros from bp-asm.h.
19613 (__mpn_add_n): Do not use BP_SYM
19614 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19616 (PARMS): Do not use macros from bp-asm.h.
19619 (__mpn_addmul_1): Do not use BP_SYM
19620 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19622 (PARMS): Do not use macros from bp-asm.h.
19623 (SIGMSK): Likewise.
19624 (_setjmp): Likewise. Do not use BP_SYM.
19625 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19627 (PARMS): Do not use macros from bp-asm.h.
19628 (SIGMSK): Likewise.
19629 (setjmp): Likewise. Do not use BP_SYM.
19630 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19632 (PARMS): Do not use macros from bp-asm.h.
19633 (__frexp): Do not use BP_SYM.
19635 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19637 (PARMS): Do not use macros from bp-asm.h.
19638 (__frexpf): Do not use BP_SYM.
19639 (frexpf): Likewise.
19640 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19642 (PARMS): Do not use macros from bp-asm.h.
19643 (__frexpl): Do not use BP_SYM.
19644 (frexpl): Likewise.
19645 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19647 (PARMS): Do not use macros from bp-asm.h.
19648 (__remquo): Do not use BP_SYM.
19649 (remquo): Likewise.
19650 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19652 (PARMS): Do not use macros from bp-asm.h.
19653 (__remquof): Do not use BP_SYM.
19654 (remquof): Likewise.
19655 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19657 (PARMS): Do not use macros from bp-asm.h.
19658 (__remquol): Do not use BP_SYM.
19659 (remquol): Likewise.
19660 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19662 (PARMS): Do not use macros from bp-asm.h.
19665 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19666 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19668 (PARMS): Do not use macros from bp-asm.h.
19669 (strlen): Do not use BP_SYM.
19670 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19672 (PARMS): Do not use macros from bp-asm.h.
19676 (__mpn_add_n): Do not use BP_SYM.
19677 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19679 (PARMS): Do not use macros from bp-asm.h.
19682 (__mpn_addmul_1): Do not use BP_SYM.
19683 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19686 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19688 (PARMS): Do not use macros from bp-asm.h.
19691 (__mpn_lshift): Do not use BP_SYM.
19692 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19694 (PARMS): Do not use macros from bp-asm.h.
19698 (memcpy): Likewise. Do not use BP_SYM.
19699 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19700 libc_hidden_def and weak_alias.
19701 (mempcpy): Do not use BP_SYM in weak_alias.
19702 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19704 (PARMS): Do not use macros from bp-asm.h.
19707 [!BZERO_P] (CHR): Likewise.
19708 (memset): Likewise. Do not use BP_SYM.
19709 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19711 (PARMS): Do not use macros from bp-asm.h.
19714 (__mpn_mul_1): Do not use BP_SYM.
19715 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19717 (PARMS): Do not use macros from bp-asm.h.
19720 (__mpn_rshift): Do not use BP_SYM.
19721 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19723 (PARMS): Do not use macros from bp-asm.h.
19726 (strchr): Likewise. Do not use BP_SYM.
19727 (index): Do not use BP_SYM in weak_alias.
19728 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19730 (PARMS): Do not use macros from bp-asm.h.
19733 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19734 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19736 (PARMS): Do not use macros from bp-asm.h.
19737 (strlen): Do not use BP_SYM.
19738 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19740 (PARMS): Do not use macros from bp-asm.h.
19744 (__mpn_sub_n): Do not use BP_SYM.
19745 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19747 (PARMS): Do not use macros from bp-asm.h.
19750 (__mpn_submul_1): Do not use BP_SYM.
19751 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19753 (PARMS): Do not use macros from bp-asm.h.
19757 (__mpn_add_n): Do not use BP_SYM.
19758 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19761 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19763 (PARMS): Do not use macros from bp-asm.h.
19766 (memcmp): Do not use BP_SYM.
19767 (bcmp): Do not use BP_SYM in weak_alias.
19768 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19770 (PARMS): Do not use macros from bp-asm.h.
19774 (memcpy): Likewise. Do not use BP_SYM.
19775 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19777 (PARMS): Do not use macros from bp-asm.h.
19781 (memmove): Likewise. Do not use BP_SYM.
19782 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19784 (PARMS): Do not use macros from bp-asm.h.
19788 (__mempcpy): Likewise. Do not use BP_SYM.
19789 (mempcpy): Do not use BP_SYM in weak_alias.
19790 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19792 (PARMS): Do not use macros from bp-asm.h.
19795 [!BZERO_P] (CHR): Likewise.
19796 (memset): Likewise. Do not use BP_SYM.
19797 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19799 (PARMS): Do not use macros from bp-asm.h.
19801 (strcmp): Do not use BP_SYM.
19802 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19804 (PARMS): Do not use macros from bp-asm.h.
19807 [USE_AS_STRTOK_R] (SAVE): Likewise.
19808 (FUNCTION): Likewise. Do not use BP_SYM.
19809 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19811 (strtok_r): Likewise.
19812 (__GI___strtok_r): Likewise.
19813 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19814 (PARMS): Do not use macros from bp-asm.h.
19817 (__mpn_lshift): Do not use BP_SYM.
19818 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19819 (PARMS): Do not use macros from bp-asm.h.
19822 (__memchr): Do not use BP_SYM.
19823 (memchr): Do not use BP_SYM in weak_alias.
19824 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19825 (PARMS): Do not use macros from bp-asm.h.
19828 (memcmp): Do not use BP_SYM.
19829 (bcmp): Do not use BP_SYM in weak_alias.
19830 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19831 (PARMS): Do not use macros from bp-asm.h.
19834 (__mpn_mul_1): Do not use BP_SYM.
19835 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19837 (PARMS): Do not use macros from bp-asm.h.
19840 (__rawmemchr): Do not use BP_SYM.
19841 (rawmemchr): Do not use BP_SYM in weak_alias.
19842 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19843 (PARMS): Do not use macros from bp-asm.h.
19846 (__mpn_rshift): Do not use BP_SYM.
19847 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19848 (PARMS): Do not use macros from bp-asm.h.
19849 (SIGMSK): Likewise.
19850 (__sigsetjmp): Likewise. Do not use BP_SYM.
19851 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19852 (_start): Do not use BP_SYM.
19853 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19854 (PARMS): Do not use macros from bp-asm.h.
19857 (__stpcpy): Likewise. Do not use BP_SYM.
19858 (stpcpy): Do not use BP_SYM in weak_alias.
19859 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19861 (PARMS): Do not use macros from bp-asm.h.
19865 (__stpncpy): Likewise. Do not use BP_SYM.
19866 (stpncpy): Do not use BP_SYM in weak_alias.
19867 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19868 (PARMS): Do not use macros from bp-asm.h.
19871 (strchr): Likewise. Do not use BP_SYM.
19872 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19874 (PARMS): Do not use macros from bp-asm.h.
19877 (__strchrnul): Likewise. Do not use BP_SYM.
19878 (strchrnul): Do not use BP_SYM in weak_alias.
19879 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19881 (PARMS): Do not use macros from bp-asm.h.
19883 (strcspn): Do not use BP_SYM.
19884 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19886 (PARMS): Do not use macros from bp-asm.h.
19889 (strpbrk): Likewise. Do not use BP_SYM.
19890 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19892 (PARMS): Do not use macros from bp-asm.h.
19895 (strrchr): Likewise. Do not use BP_SYM.
19896 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19897 (PARMS): Do not use macros from bp-asm.h.
19899 (strspn): Do not use BP_SYM.
19900 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19901 (PARMS): Do not use macros from bp-asm.h.
19905 (FUNCTION): Likewise. Do not use BP_SYM.
19906 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19908 (strtok_r): Likewise.
19909 (__GI___strtok_r): Likewise.
19910 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19911 (PARMS): Do not use macros from bp-asm.h.
19915 (__mpn_sub_n): Do not use BP_SYM.
19916 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19918 (PARMS): Do not use macros from bp-asm.h.
19921 (__mpn_submul_1): Do not use BP_SYM.
19922 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19924 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19926 (PARMS): Do not use macros from bp-asm.h.
19931 (__clone): Do not use BP_SYM.
19932 (clone): Do not use BP_SYM in weak_alias.
19933 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19935 (PARMS): Do not use macros from bp-asm.h.
19937 (__mmap64): Do not use BP_SYM.
19938 (mmap64): Do not use BP_SYM in weak_alias.
19939 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19940 <bp-sym.h> and <bp-asm.h>.
19941 (PARMS): Do not use macros from bp-asm.h.
19942 (__posix_fadvise64_l64): Do not use BP_SYM.
19943 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19944 (PARMS): Do not use macros from bp-asm.h.
19946 (semtimedop): Do not use BP_SYM.
19947 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19950 2013-02-21 Allan McRae <allan@archlinux.org>
19952 * manual/message.texi (Charset conversion in gettext):
19953 Move @end statement to beginning of line.
19955 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19962 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19963 (denorm): Likewise.
19964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19967 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19969 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19970 tail-call to the resolved function if pltexit isn't needed.
19972 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19975 or Y being zero as being unlikely.
19976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19979 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19981 * manual/nss.texi (System Databases and Name Service Switch):
19982 Remove frobnicate @pxref.
19984 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19986 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19987 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19989 2013-02-20 Petr Machata <pmachata@redhat.com>
19991 * elf/elf.h (R_ARM_TARGET1): New macro.
19992 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19993 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19994 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19995 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19996 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19997 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19998 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19999 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20000 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20001 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20002 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20003 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20004 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20005 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20006 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20007 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20008 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20009 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20010 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20011 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20012 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20013 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20014 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20015 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20016 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20017 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20018 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20019 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20020 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20021 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20022 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20023 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20024 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20025 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20026 (R_ARM_THM_GOT_BREL12): Likewise.
20027 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20028 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20029 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20030 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20031 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20032 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20033 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20034 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20035 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20037 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20039 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20040 __attribute_used__ to __attribute__ ((unused)).
20042 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20044 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20047 comment formatting.
20048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20050 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20053 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20055 (ENTER): Remove both macro definitions.
20057 (CHECK_BOUNDS_LOW): Likewise.
20058 (CHECK_BOUNDS_HIGH): Likewise.
20059 (CHECK_BOUNDS_BOTH): Likewise.
20060 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20061 (RETURN_BOUNDED_POINTER): Likewise.
20062 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20063 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20064 (POP_ERRNO_LOCATION_RETURN): Likewise.
20065 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20066 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20067 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20069 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20070 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20071 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20072 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20073 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20074 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20075 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20076 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20077 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20078 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20079 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20080 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20081 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20082 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20084 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20085 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20087 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20088 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20089 * sysdeps/i386/i586/memset.S (memset): Likewise.
20090 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20091 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20092 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20094 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20095 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20096 Change uses of L(2) to L(out).
20097 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20098 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20099 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20100 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20101 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20103 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20104 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20106 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20107 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20108 (RETURN): Do not use macro LEAVE.
20109 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20110 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20111 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20112 * sysdeps/i386/i686/memset.S (memset): Likewise.
20113 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20114 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20115 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20116 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20118 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20119 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20120 L(1_2) and L(1_3) into L(1).
20121 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20122 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20123 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20124 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20125 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20126 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20127 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20128 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20129 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20131 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20132 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20133 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20134 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20135 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20136 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20137 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20138 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20139 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20140 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20141 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20142 * sysdeps/i386/strspn.S (strspn): Likewise.
20143 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20145 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20146 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20147 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20148 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20149 L(1_3) into L(1_1).
20150 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20151 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20152 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20154 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20156 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20158 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20161 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20163 * math/atest-exp.c (exp_mpn): Remove ROUND.
20164 * math/atest-exp2.c (exp_mpn): Likewise.
20165 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20167 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20168 * stdlib/tst-tls-atexit-lib.c: Likewise.
20169 * stdlib/tst-tls-atexit.c: Likewise.
20171 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20173 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20174 and __attribute_alloc_size__.
20176 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20178 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20179 __attribute_alloc_size__.
20180 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20181 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20183 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20185 * include/programs/xmalloc.h: New file.
20186 * catgets/gencat.c: Include it.
20187 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20188 * elf/pldd.c: Likewise.
20189 * iconv/iconv_charmap.c: Likewise.
20190 * iconv/iconvconfig.c: Likewise.
20191 * iconv/strtab.c: Likewise.
20192 * locale/programs/locale.c: Likewise.
20193 * locale/programs/localedef.h: Likewise.
20194 * locale/programs/simple-hash.c: Likewise.
20195 * nscd/nscd.h: Likewise.
20196 * nss/makedb.c: Likewise.
20197 * sysdeps/generic/ldconfig.h: Likewise.
20199 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20201 * Versions.def: Add GLIBC_2.18.
20202 * include/link.h (struct link_map): New member l_tls_dtor_count.
20203 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20204 (__call_tls_dtors): Likewise.
20205 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20206 __cxa_thread_atexit_impl.
20207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20223 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20224 (tests): Add test case tst-tls-atexit.
20225 (modules-names): Add shared library for tst-tls-atexit.
20226 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20227 (GLIBC_PRIVATE): Add __call_tls_dtors.
20228 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20230 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20231 * stdlib/tst-tls-atexit.c: New test case.
20232 * stdlib/tst-tls-atexit-lib.c: New test case.
20234 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20236 * elf/Versions (ld): Add _dl_find_dso_for_object.
20237 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20238 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20239 (dl_open_worker): Use _dl_find_dso_for_object.
20240 * elf/dl-sym.c (do_sym): Likewise.
20241 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20243 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20245 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20246 Syntactic changes only.
20247 (_dl_runtime_profile): Do a tail-call to the resolved function.
20249 2013-02-17 Joseph Myers <joseph@codesourcery.com>
20252 * sysdeps/x86_64/bp-asm.h: Remove file.
20253 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20254 <bp-sym.h> and <bp-asm.h>.
20255 (__clone): Do not use BP_SYM.
20256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20257 <bp-sym.h> and <bp-asm.h>.
20258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20259 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20261 (_setjmp): Do not use BP_SYM.
20262 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20264 (setjmp): Do not use BP_SYM.
20265 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20267 (mempcpy): Do not use BP_SYM in weak_alias.
20268 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20270 (strchr): Do not use BP_SYM.
20271 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20273 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20274 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20275 (_start): Do not use BP_SYM.
20276 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20278 (strcat): Do not use BP_SYM.
20279 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20281 (STRCMP): Do not use BP_SYM.
20282 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20284 (STRCPY): Do not use BP_SYM.
20285 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20287 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20289 (FUNCTION): Do not use BP_SYM.
20290 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20292 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20294 2013-02-17 Andreas Jaeger <aj@suse.de>
20296 * time/Versions: Sort entries.
20297 * string/Versions: Likewise.
20298 * resolv/Versions: Likewise.
20299 * posix/Versions: Likewise.
20300 * iconv/Versions: Likewise.
20301 * elf/Versions: Likewise.
20302 * wcsmbs/Versions: Likewise.
20304 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20306 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20307 loop termination condition.
20309 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20310 variable to calculate EZ.
20313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20314 the lower precision input.
20316 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20319 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20320 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20321 (run-via-rtld-prefix): Do not handle %-bp tests.
20322 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20323 (all-object-suffixes): Remove .ob.
20324 (bppfx): Remove variable.
20325 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20326 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20327 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20328 [$(build-bounded) = yes] (libtype.ob): Likewise.
20329 * Makerules (elide-routines.ob): Remove variable.
20330 (do-tests-clean): Do not handle *-bp.out.
20331 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20332 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20333 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20334 (tests): Do not include $(tests-bp.out).
20335 (xtests): Do not include $(xtests-bp.out).
20336 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20337 [$(build-bounded) = yes] ($(addprefix
20338 $(objpfx),$(binaries-bounded))): Remove rule.
20339 ($(objpfx)%-bp.out): Remove rule.
20340 * config.make.in (build-bounded): Remove variable.
20341 * crypt/Makefile [$(build-bounded) = yes]
20342 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20343 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20344 append to variable.
20345 [$(build-bounded) = yes] (install-lib): Likewise.
20346 [$(build-bounded) = yes] (generated): Likewise.
20347 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20349 * intl/Makefile [$(build-bounded) = yes]
20350 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20351 * math/Makefile [$(build-bounded) = yes]
20352 ($(tests:%=$(objpfx)%-bp): Likewise.
20353 * misc/Makefile [$(build-bounded) = yes]
20354 ($(objpfx)tst-tsearch-bp): Likewise.
20355 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20356 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20358 * string/Makefile (o-objects.ob): Remove variable.
20359 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20360 (CFLAGS-.ob): Remove variable.
20361 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20362 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20363 both definitions of variable.
20364 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20365 (ASFLAGS-.ob): Remove variable.
20367 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20370 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20371 Remove __BOUNDED_POINTERS__ from condition.
20372 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20373 * string/bits/string2.h [!__NO_STRING_INLINES &&
20374 !__BOUNDED_POINTERS__]: Likewise.
20375 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20377 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20378 Remove conditional code.
20379 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20380 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20381 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20385 * csu/libc-start.c: Do not include <bp-sym.h>.
20386 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20387 * elf/dl-open.c: Do not include <bp-sym.h>.
20388 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20389 * math/fegetenv.c: Do not include <bp-sym.h>.
20390 (fegetenv): Do not use BP_SYM in versioned symbols.
20391 * nptl/sysdeps/pthread/bits/libc-lockP.h
20392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20395 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20397 (__pthread_mutex_destroy): Likewise.
20398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20399 (__pthread_mutex_lock): Likewise.
20400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20401 (__pthread_mutex_trylock): Likewise.
20402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20403 (__pthread_mutex_unlock): Likewise.
20404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20405 (__pthread_mutexattr_init): Likewise.
20406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20407 (__pthread_mutexattr_destroy): Likewise.
20408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20409 (__pthread_mutexattr_settype): Likewise.
20410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20411 (__pthread_rwlock_init): Likewise.
20412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20413 (__pthread_rwlock_destroy): Likewise.
20414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20415 (__pthread_rwlock_rdlock): Likewise.
20416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20417 (__pthread_rwlock_tryrdlock): Likewise.
20418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20419 (__pthread_rwlock_wrlock): Likewise.
20420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20421 (__pthread_rwlock_trywrlock): Likewise.
20422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20423 (__pthread_rwlock_unlock): Likewise.
20424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20425 (__pthread_key_create): Likewise.
20426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20427 (__pthread_setspecific): Likewise.
20428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20429 (__pthread_getspecific): Likewise.
20430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20433 (_pthread_cleanup_push_defer): Likewise.
20434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20435 (_pthread_cleanup_pop_restore): Likewise.
20436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20437 (pthread_setcancelstate): Likewise.
20438 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20440 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20441 (memchr): Do not use BP_SYM in weak_alias.
20442 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20443 (fegetenv): Do not use BP_SYM in versioned symbols.
20444 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20445 (fesetenv): Do not use BP_SYM in versioned symbols.
20446 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20447 (feupdateenv): Do not use BP_SYM in versioned symbols.
20448 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20449 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20450 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20451 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20452 (open64): Do not use BP_SYM in weak_alias.
20453 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20454 (fegetenv): Do not use BP_SYM in versioned symbols.
20455 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20456 (fesetenv): Do not use BP_SYM in versioned symbols.
20457 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20458 (feupdateenv): Do not use BP_SYM in versioned symbols.
20459 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20460 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20461 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20462 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20463 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20464 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20465 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20467 (__libc_start_main): Do not use BP_SYM.
20469 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20472 redundant return line.
20474 (denorm): Likewise.
20475 (dbl_mp): Likewise.
20476 (sub_magnitudes): Likewise.
20482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20484 (denorm): Likewise.
20485 (dbl_mp): Likewise.
20486 (sub_magnitudes): Likewise.
20493 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20495 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20496 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20499 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20500 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20502 of __mul for squares.
20503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20507 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20508 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20510 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20513 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20515 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20516 prototype or function definition. Rename ubp_* variables and
20517 parameters. Remove argv definitions conditional on
20518 [__BOUNDED_POINTERS__].
20519 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20520 * elf/dl-runtime.c (_dl_fixup): Likewise.
20521 * include/set-hooks.h (RUN_HOOK): Likewise.
20522 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20524 * string/strcpy.c (strcpy): Do not use __unbounded.
20525 * sysdeps/generic/frame.h (struct layout): Likewise.
20526 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20527 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20528 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20529 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20530 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20531 (__backtrace): Likewise.
20532 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20534 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20535 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20536 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20538 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20539 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20540 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20541 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20542 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20543 Do not use __unbounded.
20544 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20545 Rename __unboundedrlimits parameter to rlimits in prototype.
20546 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20547 Do not use __unbounded.
20548 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20549 not use __ptrvalue.
20550 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20551 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20552 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20553 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20554 __ptrvalue or __unbounded.
20555 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20556 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20558 (__new_msgctl): Do not use __ptrvalue.
20559 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20561 (__libc_msgrcv): Do not use __ptrvalue.
20562 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20563 startup_info): Do not use __unbounded.
20564 (__libc_start_main): Likewise. Rename ubp_* variables and
20565 parameters. Remove argv definitions conditional on
20566 [__BOUNDED_POINTERS__].
20567 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20569 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20571 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20573 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20575 (__new_shmctl): Do not use __ptrvalue.
20576 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20577 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20579 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20580 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20581 (__libc_sigaction): Likewise.
20582 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20583 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20585 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20587 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20589 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20591 * string/mempcpy.c: Implement by calling memcpy.
20593 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20600 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20601 values in the mantissa.
20603 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20604 minimize writes to Z.
20605 (sub_magnitudes): Simplify code a bit.
20607 2013-02-12 Roland McGrath <roland@hack.frob.com>
20609 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20610 from the message. The linker prefixes all warnings with that already.
20612 2013-02-12 Andreas Schwab <schwab@suse.de>
20615 * posix/regexec.c (extend_buffers): Add parameter min_len.
20616 (check_matching): Pass minimum needed length.
20617 (clean_state_log_if_needed): Likewise.
20618 (get_subexp): Likewise.
20619 * posix/Makefile (tests): Add bug-regex34.
20620 (bug-regex34-ENV): Define.
20621 * posix/bug-regex34.c: New file.
20624 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20625 elements compare against the byte sequence of it, not its name.
20626 * posix/Makefile (tests): Add bug-regex35.
20627 (bug-regex35-ENV): Define.
20628 * posix/bug-regex35.c: New file.
20630 2013-02-11 Tom de Vries <tom@codesourcery.com>
20632 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20634 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20635 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20636 (CHECK_EOL): Add undef.
20638 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20640 * bits/stdlib-bsearch.h: New file.
20641 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20642 * stdlib/stdlib.h: Likewise.
20644 2013-02-11 Roland McGrath <roland@hack.frob.com>
20646 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20647 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20649 * manual/search.texi (Array Search Function): Add missing const in
20651 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20652 declaration to use rlim_t.
20653 (Basic Scheduling Functions): Remove erroneous const from
20654 sched_getparam prototype. Remove erroneous * from
20655 sched_get_priority_max and sched_get_priority_min prototypes.
20656 (Resource Usage): Fix summary @comment on vtimes to refer to
20657 sys/vtimes.h rather than vtimes.h.
20658 Add missing *s in vtimes prototype.
20659 (Limits on Resources): Fix ulimit prototype to return long int.
20660 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20661 prototypes to use long int rather than double.
20662 (BSD Random): Fix initstate and setstate to use char *, not void *.
20663 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20664 prototype to make second argument 'struct aiocb64 *const[]'.
20665 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20666 (Status of AIO Operations): Remove erroneous const in aio_return and
20667 aio_return64 prototypes.
20668 (Synchronizing I/O): Fix sync prototype to return void.
20669 * manual/startup.texi (Suboptions): Remove an erroneous const in
20670 getsubopt prototype.
20671 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20672 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20673 use size_t rather than int.
20674 (Scanning All Users): Likewise for getpwent_r.
20675 (Setting Groups): Add missing const to setgroups prototype.
20676 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20677 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20678 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20679 'const void *' rather than 'const char *'.
20680 (Host Address Functions): Likewise for inet_ntop.
20681 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20682 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20683 ssize_t for return value.
20684 (Sending Data): Likewise for send, sendto, sendmsg.
20685 (Socket Option Functions): Add a missing const in setsockopt prototype.
20686 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20687 use wchar_t for the argument.
20688 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20689 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20691 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20692 double/float/long double for second argument.
20693 Fix return types of significand, significandf, significandl.
20694 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20695 argument in fchmod prototype.
20696 (File Owner): Use uid_t and gid_t in fchown prototype.
20697 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20698 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20699 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20700 use 'const struct dirent **' as argument types to CMP function pointer
20702 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20703 (File Times): Fix summary magic @comment for struct utimbuf and utime
20704 to refer to utime.h, not time.h.
20705 * manual/string.texi (Argz Functions): Add missing const in
20706 argz_extract and argz_next prototypes.
20707 (Finding Tokens in a String): Likewise for basename.
20708 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20709 (Copying and Concatenation): Fix typo in wmemmove prototype.
20710 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20711 (Signal Stack): Remove erroneous const in sigstack prototype.
20712 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20714 (Simple Calendar Time): Likewise for stime.
20715 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20717 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20718 say sys/sysctl.h instead.
20719 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20720 and vsyslog prototypes.
20722 2013-02-11 Tom de Vries <tom@codesourcery.com>
20724 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20727 2013-02-11 Roland McGrath <roland@hack.frob.com>
20729 * misc/sys/mman.h: Fix typo in mremap comment.
20731 2013-02-08 Roland McGrath <roland@hack.frob.com>
20733 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20734 the '\0' terminator.
20736 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20739 * debug/segfault.c: Don't include <bp-checks.h>.
20740 * sysdeps/generic/bp-checks.h: Remove file.
20741 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20742 (__GETDENTS): Don't use CHECK_N.
20743 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20744 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20745 (__getgroups): Don't use CHECK_N.
20746 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20747 (setgroups): Don't use CHECK_N.
20748 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20749 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20750 (__libc_msgrcv): Don't use CHECK_N.
20751 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20752 (__libc_msgsnd): Don't use CHECK_N.
20753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20755 (__libc_pread): Don't use CHECK_N.
20756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20757 include <bp-checks.h>.
20758 (__libc_pread64): Don't use CHECK_N.
20759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20760 include <bp-checks.h>.
20761 (__libc_pwrite): Don't use CHECK_N.
20762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20763 include <bp-checks.h>.
20764 (__libc_pwrite64): Don't use CHECK_N.
20765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20767 (__libc_pread): Don't use CHECK_N.
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20769 include <bp-checks.h>.
20770 (__libc_pread64): Don't use CHECK_N.
20771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20772 include <bp-checks.h>.
20773 (__libc_pwrite): Don't use CHECK_N.
20774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20775 include <bp-checks.h>.
20776 (__libc_pwrite64): Don't use CHECK_N.
20777 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20778 (do_pread): Don't use CHECK_N.
20779 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20780 (do_pread64): Don't use CHECK_N.
20781 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20782 (do_pwrite): Don't use CHECK_N.
20783 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20784 (do_pwrite64): Don't use CHECK_N.
20785 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20786 (__libc_readv): Don't use CHECK_N.
20787 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20788 (semop): Don't use CHECK_N.
20789 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20791 (semtimedop): Don't use CHECK_N.
20792 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20793 (__libc_pread): Don't use CHECK_N.
20794 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20796 (__libc_pread64): Don't use CHECK_N.
20797 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20799 (__libc_pwrite): Don't use CHECK_N.
20800 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20802 (__libc_pwrite64): Don't use CHECK_N.
20803 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20805 (__libc_msgrcv): Don't use CHECK_N.
20806 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20807 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20808 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20809 (__libc_writev): Don't use CHECK_N.
20811 2013-02-08 Roland McGrath <roland@hack.frob.com>
20813 * string/strcpy.c: Removed unused variable.
20815 * Makeconfig (+sysdep-includes): Define with := rather than =.
20816 Use an existing include/ subdir of each sysdeps dir before it.
20818 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20820 * nscd/connection.c (register_traced_file): Comment function.
20821 [HAVE_INOTIFY] (union __inev): Define.
20822 [HAVE_INOTIFY] (inotify_check_files): New function.
20823 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20824 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20826 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20828 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20830 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20831 loaded if not already and that a failure is permanent.
20833 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20836 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20837 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20839 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20842 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20843 (CHECK_1_NULL_OK): Likewise.
20844 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20845 (__fxstat): Do not use CHECK_1.
20846 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20848 (___fxstat64): Do not use CHECK_1.
20849 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20851 (__fxstatat): Do not use CHECK_1.
20852 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20854 (__fxstatat64): Do not use CHECK_1.
20855 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20857 (__fxstat): Do not use CHECK_1.
20858 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20860 (__fxstatat): Do not use CHECK_1.
20861 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20863 (__getresgid): Do not use CHECK_1.
20864 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20866 (__getresuid): Do not use CHECK_1.
20867 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20869 (__lxstat): Do not use CHECK_1.
20870 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20872 (__old_msgctl): Do not use CHECK_1.
20873 (__new_msgctl): Likewise.
20874 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20876 (__new_setrlimit): Do not use CHECK_1.
20877 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20879 (__old_shmctl): Do not use CHECK_1.
20880 (__new_shmctl): Likewise.
20881 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20883 (__xstat): Do not use CHECK_1.
20884 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20885 (__lxstat): Do not use CHECK_1.
20886 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20888 (___lxstat64): Do not use CHECK_1.
20889 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20890 (__old_msgctl): Do not use CHECK_1.
20891 (__new_msgctl): Likewise.
20892 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20894 (__gettimeofday): Do not use CHECK_1.
20895 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20896 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20897 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20899 (__gettimeofday): Do not use CHECK_1.
20900 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20901 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20902 (__new_shmctl): Do not use CHECK_1.
20903 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20905 (do_sigtimedwait): Do not use CHECK_1.
20906 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20908 (do_sigwaitinfo): Do not use CHECK_1.
20909 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20911 (msgctl): Do not use CHECK_1.
20912 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20914 (shmctl): Do not use CHECK_1.
20915 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20916 (ustat): Do not use CHECK_1.
20917 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20919 (__fxstat): Do not use CHECK_1.
20920 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20922 (__fxstatat): Do not use CHECK_1.
20923 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20925 (__lxstat): Do not use CHECK_1.
20926 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20928 (__xstat): Do not use CHECK_1.
20929 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20930 (__xstat): Do not use CHECK_1.
20931 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20932 (___xstat64): Do not use CHECK_1.
20935 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20937 (CHECK_BOUNDS_HIGH): Likewise.
20938 * string/strcpy.c: Do not include <bp-checks.h>.
20939 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20941 2013-02-07 Roland McGrath <roland@hack.frob.com>
20943 * nscd/nscd-client.h (__nscd_drop_map_ref):
20944 Add __attribute__ ((unused)).
20945 * nis/nss-nisplus.h (niserr2nss): Likewise.
20947 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20948 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20950 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20951 Remove inline keyword.
20952 * include/rounding-mode.h (round_away): Likewise.
20953 * libio/wfileops.c (adjust_wide_data): Likewise.
20954 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20955 (__m128i_strloadu_tolower): Likewise.
20956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20957 (__m128i_strloadu_tolower): Likewise.
20958 * time/mktime.c (ydhms_diff): Likewise.
20959 * locale/elem-hash.h (elem_hash): Likewise.
20960 * locale/setlocale.c (setdata): Likewise.
20961 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20962 (re_string_wchar_at): Likewise.
20963 (bitset_not, bitset_merge, bitset_mask): Likewise.
20964 [!(__GNUC__ > 3)] (inline): Remove macro.
20965 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20966 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20967 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20968 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20969 * string/memcmp.c (memcmp_bytes): Likewise.
20970 * locale/programs/locarchive.c (compute_hashval): Likewise.
20971 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20972 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20973 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20974 * nss/getent.c (print_rpc, print_protocols): Likewise.
20975 (print_passwd, print_group, print_aliases): Likewise.
20976 * nis/nss-nisplus.h (niserr2nss): Likewise.
20977 * nscd/connections.c (restart_p): Likewise.
20978 Change return type to bool.
20980 2013-02-05 Roland McGrath <roland@hack.frob.com>
20982 * Makeconfig (all-Depend-files): Add existing
20983 $(sorted-subdirs:=/Depend) files.
20984 (all-subdirs): Remove nss.
20985 * sysdeps/unix/inet/Subdirs: Add it here instead.
20986 * hesiod/Depend: New file.
20988 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20989 instead of calling alloca.
20991 * io/lseek.c (__lseek): Rename to __libc_lseek.
20992 Define __lseek as an alias.
20994 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20996 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20998 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20999 else clause and remove check for non-standard endianness.
21001 2013-02-04 David S. Miller <davem@davemloft.net>
21003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21005 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21008 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21009 (__ubp_memchr): Remove prototype.
21010 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21011 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21012 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21013 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21014 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21016 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21017 (__ubp_memchr): Likewise.
21018 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21019 (__ubp_memchr): Likewise.
21020 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21021 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21022 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21023 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21025 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21026 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21027 (__getcwd): Do not use CHECK_STRING.
21028 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21030 (__real_chown): Do not use CHECK_STRING.
21031 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21033 (fchownat): Do not use CHECK_STRING.
21034 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21036 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21038 (__lchown): Do not use CHECK_STRING.
21039 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21040 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21041 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21042 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21044 include <bp-checks.h>.
21045 (truncate64): Do not use CHECK_STRING.
21046 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21048 (__real_chown): Do not use CHECK_STRING.
21049 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21051 (__lchown): Do not use CHECK_STRING.
21052 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21054 (__chown): Do not use CHECK_STRING.
21055 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21057 (truncate64): Do not use CHECK_STRING.
21058 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21060 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21061 (__xmknod): Do not use CHECK_STRING.
21062 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21064 (__xmknodat): Do not use CHECK_STRING.
21065 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21066 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21068 2013-02-04 Andreas Schwab <schwab@suse.de>
21071 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21072 * include/netdb.h: Likewise for h_errno.
21073 * elf/tst-stackguard1.c: Include <tls.h>.
21075 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21077 * elf/link.h (struct link_map): Extend the l_addr comment.
21078 * include/link.h (struct link_map): Likewise.
21080 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21083 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21084 (BOUNDED_1): Remove macro.
21085 * debug/backtrace.c: Don't include <bp-checks.h>.
21086 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21087 (__backtrace): Likewise.
21088 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21090 (__backtrace): Don't use BOUNDED_1.
21091 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21093 (__backtrace): Don't use BOUNDED_1.
21094 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21095 (__backtrace): Don't use BOUNDED_1.
21096 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21097 (shmat): Don't use BOUNDED_N.
21099 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21102 * sysdeps/generic/bp-start.h: Remove file.
21103 * csu/libc-start.c: Don't include <bp-start.h>.
21104 (LIBC_START_MAIN): Set up __environ directly instead of using
21105 INIT_ARGV_and_ENVIRON.
21106 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21110 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21112 (CHECK_FCNTL): Likewise.
21113 (CHECK_N_PAGES): Likewise.
21116 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21118 (CHECK_SIGSET_NULL_OK): Likewise.
21119 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21121 (sigpending): Don't use CHECK_SIGSET.
21122 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21124 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21125 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21127 (do_sigsuspend): Don't use CHECK_SIGSET.
21128 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21130 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21131 (do_sigwait): Don't use CHECK_SIGSET.
21132 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21134 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21135 include <bp-checks.h>.
21136 (sigpending): Don't use CHECK_SIGSET.
21137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21138 include <bp-checks.h>.
21139 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21140 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21142 (sigpending): Don't use CHECK_SIGSET.
21143 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21145 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21148 * sysdeps/generic/bp-semctl.h: Remove file.
21149 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21150 <bp-checks.h> and <bp-semctl.h>.
21151 (__old_semctl): Don't use CHECK_SEMCTL.
21152 (__new_semctl): Likewise.
21153 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21155 (__old_semctl): Don't use CHECK_SEMCTL.
21156 (__new_semctl): Likewise.
21157 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21158 <bp-checks.h> and <bp-semctl.h>.
21159 (__old_semctl): Don't use CHECK_SEMCTL.
21160 (__new_semctl): Likewise.
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21162 <bp-checks.h> and <bp-semctl.h>.
21163 (semctl): Don't use CHECK_SEMCTL.
21166 * Makerules (elide-bp-thunks): Remove variable.
21167 (elide-routines.oS): Don't use $(elide-bp-thunks).
21168 (elide-routines.os): Likewise.
21169 (elide-routines.o): Likewise.
21170 (elide-routines.op): Likewise.
21171 (elide-routines.og): Likewise.
21172 (objects): Don't use $(bp-thunks).
21173 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21175 (common-generated): Do not add s-proto-bp.d.
21176 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21179 Do not generate makefile rules for bounded-pointer thunks.
21180 * sysdeps/generic/bp-thunks.h: Remove file.
21181 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21182 * sysdeps/unix/s-proto-bp.S: Likewise.
21185 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21186 parts of result separately when argument is not close to line from
21187 -i to i and one part of argument is small.
21188 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21189 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21190 * math/libm-test.inc (cacos_test): Add more tests.
21191 (casin_test): Likewise.
21192 (casinh_test): Likewise.
21193 * sysdeps/i386/fpu/libm-test-ulps: Update.
21194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21196 2013-01-31 David S. Miller <davem@davemloft.net>
21198 * po/de.po: Update from translation team.
21200 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21202 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21204 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21206 * configure.in (_AC_PROG_CC_C89): New definition.
21207 * configure: Regenerate.
21209 * configure.in (AC_PROG_CPP): New definition.
21210 * configure: Regenerate.
21212 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21214 * debug/tst-backtrace.h: New file.
21215 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21216 (ret): Remove variable.
21218 (FAIL): Remove macro.
21219 (NO_INLINE): Likewise.
21220 (fn1): Use match function instead of strstr.
21221 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21222 (ret): Remove variable.
21224 (FAIL): Remove macro.
21225 (NO_INLINE): Likewise.
21226 (fn): Use match function instead of strstr.
21227 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21228 (ret): Remove variable.
21230 (FAIL): Remove macro.
21231 (NO_INLINE): Likewise.
21232 (handle_signal): Use match function instead of strstr.
21233 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21234 (ret): Remove variable.
21236 (FAIL): Remove macro.
21237 (NO_INLINE): Likewise.
21238 (handle_signal): Use match function instead of strstr.
21240 2013-01-23 Roland McGrath <roland@hack.frob.com>
21242 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21244 2013-01-23 David S. Miller <davem@davemloft.net>
21246 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21247 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21248 argument of CAS if possible.
21249 * sysdeps/sparc/sparc64/bits/atomic.h
21250 (__arch_compare_and_exchange_val_32_acq): Likewise.
21251 (__arch_compare_and_exchange_val_64_acq): Likewise.
21253 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21255 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21256 * sysdeps/posix/ulimit.c: ... this.
21257 Include <limits.h>.
21258 * sysdeps/unix/bsd/ulimit.c: Remove file.
21260 2013-01-23 Adam Conrad <adconrad@0c3.net>
21262 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21263 (LDFLAGS-tst-array5): Likewise.
21265 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21268 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21269 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21270 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21271 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21273 2013-01-21 David S. Miller <davem@davemloft.net>
21275 * sysdeps/sparc/backtrace.c: New file.
21276 * sysdeps/sparc/sparc32/backtrace.h: New file.
21277 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21278 * sysdeps/sparc/sparc64/backtrace.h: New file.
21279 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21280 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21283 2013-01-21 Andreas Schwab <schwab@suse.de>
21286 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21289 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21295 2013-01-18 Joseph Myers <joseph@codesourcery.com>
21296 Mark Mitchell <mark@codesourcery.com>
21297 Tom de Vries <tom@codesourcery.com>
21298 Paul Pluzhnikov <ppluzhnikov@google.com>
21300 * debug/tst-backtrace2.c: New file.
21301 * debug/tst-backtrace3.c: Likewise.
21302 * debug/tst-backtrace4.c: Likewise.
21303 * debug/tst-backtrace5.c: Likewise.
21304 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21305 (CFLAGS-tst-backtrace3.c): Likewise.
21306 (CFLAGS-tst-backtrace4.c): Likewise.
21307 (CFLAGS-tst-backtrace5.c): Likewise.
21308 (LDFLAGS-tst-backtrace2): Likewise.
21309 (LDFLAGS-tst-backtrace3): Likewise.
21310 (LDFLAGS-tst-backtrace4): Likewise.
21311 (LDFLAGS-tst-backtrace5): Likewise.
21312 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21313 tst-backtrace4 and tst-backtrace5.
21315 2013-01-18 Anton Blanchard <anton@samba.org>
21316 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21318 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21319 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21320 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21321 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21323 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21324 "+r" and remove output regs list as redundant. Add explicit inline
21325 asm to specify register of return val to work around compiler codegen
21326 bug. Remove (int) cast on return value. Add return type parameter to
21327 use in macro so that this macro does not truncate return value for
21329 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21330 pass to INTERNAL_VSYSCALL_NCS.
21331 (INLINE_VSYSCALL): Add 'long int' as return type to
21332 INTERNAL_VSYSCALL_NCS macro invocation.
21333 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21334 INTERNAL_VSYSCALL_NCS macro invocation.
21335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21337 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21340 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21341 Fix application of SIMD FP exception mask.
21343 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21344 mp_no from a power of two.
21345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21346 __mpexp_twomm1. Use __pow_mp.
21348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21351 2013-01-17 David S. Miller <davem@davemloft.net>
21353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21355 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21358 * include/complex.h: Condition contents on [!_COMPLEX_H].
21359 (__kernel_casinhf): New prototype.
21360 (__kernel_casinh): Likewise.
21361 (__kernel_casinhl): Likewise.
21362 * math/Makefile (libm_calls): Add k_casinh.
21363 * math/k_casinh.c: New file.
21364 * math/k_casinhf.c: Likewise.
21365 * math/k_casinhl.c: Likewise.
21366 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21367 finite nonzero arguments.
21368 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21369 finite nonzero arguments.
21370 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21371 finite nonzero arguments.
21372 * math/s_casinh.c: Do not include <float.h>.
21373 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21374 * math/s_casinhf.c: Do not include <float.h>.
21375 (__casinhf): Move code for finite nonzero arguments to
21377 * math/s_casinhl.c: Do not include <float.h>.
21378 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21380 (__casinhl): Move code for finite nonzero arguments to
21382 * math/libm-test.inc (cacos_test): Add more tests.
21383 * sysdeps/i386/fpu/libm-test-ulps: Update.
21384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21386 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21388 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21389 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21390 [!HAVE_MREMAP]: Remove [defined linux] case.
21391 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21393 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21395 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21397 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21399 * elf/elf.h (R_386_SIZE32): New relocation.
21400 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21402 (elf_machine_rela): Likewise.
21403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21404 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21406 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21408 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21409 (FP_FAST_FMA): Do not define.
21410 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21411 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21412 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21413 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21414 !_SOFT_FLOAT]: Likewise.
21415 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21416 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21418 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21419 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21420 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21421 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21422 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21423 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21426 2013-01-16 Andreas Schwab <schwab@suse.de>
21429 * include/stdlib.h (__mktemp): Add declaration.
21430 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21431 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21433 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21435 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21437 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21438 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21439 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21441 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21442 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21444 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21446 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21447 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21448 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21450 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21451 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21453 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21455 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21457 2013-01-15 David S. Miller <davem@davemloft.net>
21459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21460 trunc{,f} to libm-sysdep_routes.
21461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21471 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21472 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21473 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21474 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21475 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21476 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21479 nearbyint{,f} to libm-sysdep_routes.
21480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21491 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21493 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21494 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21496 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21497 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21498 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21500 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21501 libc_feholdexcept and libc_fesetenv.
21503 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21505 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21507 2013-01-14 David S. Miller <davem@davemloft.net>
21509 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21510 (SPARC_ASM_VIS2_IFUNC): Likewise.
21511 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21513 use of 'siam' instruction.
21514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21547 routines to libm-sysdep_routines.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21551 fdim/fdimf to libm-sysdep_routines.
21552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21560 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21561 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21562 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21563 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21565 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21567 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21568 to optimize copies.
21570 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21575 local variable MPTWO.
21576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21579 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21581 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21584 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21586 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21588 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21590 * manual/pattern.texi (glob_t): Document gl_flags.
21591 (glob64_t): Likewise.
21593 2013-01-11 David S. Miller <davem@davemloft.net>
21595 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21596 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21597 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21598 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21599 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21600 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21601 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21602 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21603 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21604 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21605 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21606 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21607 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21609 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21610 sparc V9 rather than using V8 code.
21611 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21612 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21614 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21616 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21619 2013-01-11 Roland McGrath <roland@hack.frob.com>
21621 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21622 not in the main loop.
21623 * configure: Regenerated.
21625 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21627 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21628 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21630 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21631 [!__GLIBC_HAVE_LONG_LONG] case.
21632 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21633 condition to just #else.
21634 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21635 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21636 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21637 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21639 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21640 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21641 #elif condition to just #else.
21642 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21643 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21644 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21645 #elif condition to just #else.
21647 2013-01-11 Steve Ellcey <sellcey@mips.com>
21649 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21650 (EF_MIPS_ARCH_64): Fix value.
21651 (EF_MIPS_ARCH_32R2): New.
21652 (EF_MIPS_ARCH_64R2): New.
21654 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21656 * Makeconfig (+link-pie-before-libc): New.
21657 (+link-pie-after-libc): Likewise.
21658 (+link-pie-tests): Likewise.
21659 (+link-pie): Rewritten.
21660 (link-before-libc): Remove $(config-LDFLAGS).
21661 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21662 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21663 (config-LDFLAGS): Renamed to ...
21664 (rtld-LDFLAGS): This.
21665 (rtld-tests-LDFLAGS): New macro.
21666 (link-libc-rpath-link): Likewise.
21667 (link-libc-tests-rpath-link): Likewise.
21668 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21669 (link-libc): Prepand $(link-libc-rpath-link).
21670 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21671 (test-program-prefix): New macro.
21672 (test-via-rtld-prefix): Likewise.
21673 (test-program-cmd): Likewise.
21674 (host-test-program-cmd): Likewise.
21675 * Makefile ($(common-objpfx)testrun.sh): Replace
21676 $(run-program-prefix) with $(test-program-prefix).
21677 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21679 ($(common-objpfx)shlib.lds): Likewise.
21680 (build-module-helper): Likewise.
21681 ($(common-objpfx)format.lds): Likewise.
21682 * Rules (binaries-pie-tests): New.
21683 (binaries-pie-notests): Likewise.
21684 (binaries-pie): Rewritten.
21685 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21686 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21687 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21688 (make-test-out): Replace $(host-built-program-cmd) with
21689 $(host-test-program-cmd).
21690 * config.make.in (build-hardcoded-path-in-tests): New variable.
21691 * configure.in (--enable-hardcoded-path-in-tests): New configure
21693 (hardcoded_path_in_tests): New AC_SUBST.
21694 * configure: Regenerated.
21695 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21696 $(built-program-cmd) with $(test-program-cmd).
21697 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21698 (test_program_cmd): This.
21699 * elf/Makefile ($(objpfx)order.out): Run test with
21700 $(test-program-prefix).
21701 ($(objpfx)order2.out): Likewise.
21702 ($(objpfx)tst-initorder.out): Likewise.
21703 ($(objpfx)tst-initorder2.out): Likewise.
21704 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21705 $(test-program-cmd).
21706 ($(objpfx)tst-array1-static.out): Likewise.
21707 ($(objpfx)tst-array2.out): Likewise.
21708 ($(objpfx)tst-array3.out): Likewise.
21709 ($(objpfx)tst-array4.out): Likewise.
21710 ($(objpfx)tst-array5.out): Likewise.
21711 ($(objpfx)tst-array5-static.out): Likewise.
21712 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21713 $(test-program-cmd).
21714 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21715 $(run-program-prefix) with $(test-program-prefix).
21716 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21717 (test_program_prefix): This.
21718 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21719 $(run-program-prefix) with $(test-program-prefix).
21720 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21721 (test_program_prefix): This.
21722 * iconvdata/tst-tables.sh: Likewise.
21723 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21724 $(run-program-prefix) with $(test-program-prefix).
21725 ($(objpfx)tst-translit.out): Likewise.
21726 ($(objpfx)tst-gettext2.out): Likewise.
21727 ($(objpfx)tst-gettext4.out): Likewise.
21728 ($(objpfx)tst-gettext6.out): Likewise.
21729 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21730 (test_program_prefix): This.
21731 * intl/tst-gettext2.sh: Likewise.
21732 * intl/tst-gettext4.sh Likewise.
21733 * intl/tst-gettext6.sh: Likewise.
21734 * intl/tst-translit.sh: Likewise.
21735 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21736 with $(test-program-cmd).
21737 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21738 $(run-program-prefix) with $(test-program-prefix).
21739 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21740 (test_program_prefix): This.
21741 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21742 $(run-program-prefix) with $(test-program-prefix).
21743 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21744 (test_program_prefix): This.
21745 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21746 * posix/Makefile ($(objpfx)globtest.out): Replace
21747 $(run-via-rtld-prefix) and $(test-wrapper) with
21748 $(test-program-prefix) and $(test-via-rtld-prefix).
21749 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21750 $(test-program-prefix).
21751 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21752 $(host-test-program-cmd).
21753 (tst-spawn-ARGS): Likewise.
21754 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21755 $(test-program-prefix).
21756 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21757 (test_via_rtld_prefix): This.
21758 (test_wrapper): Renamed to ...
21759 (test_program_prefix): This.
21760 (run_program_prefix): Replaced by test_program_prefix.
21761 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21762 (test_program_prefix): This.
21763 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21764 with $(host-test-program-cmd).
21765 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21766 $(run-program-prefix) with $(test-program-prefix).
21767 ($(objpfx)tst-printf.out): Likewise.
21768 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21769 $(test-program-cmd).
21770 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21771 (test_program_prefix): This.
21772 * stdio-common/tst-unbputc.sh: Likewise.
21773 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21774 $(run-program-prefix) with $(test-program-prefix).
21775 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21776 (test_program_prefix): This.
21777 * string/Makefile ($(objpfx)tst-svc.out): Replace
21778 $(built-program-cmd) with $(test-program-cmd).
21780 2013-01-11 Andreas Jaeger <aj@suse.de>
21783 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21784 value. Sync with Linux 3.7.
21786 2013-01-10 David S. Miller <davem@davemloft.net>
21788 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21792 2013-01-10 Roland McGrath <roland@hack.frob.com>
21794 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21796 * configure: Regenerated.
21798 2013-01-10 David S. Miller <davem@davemloft.net>
21800 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21801 sparc V9 rather than using V8 code.
21802 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21803 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21805 2013-01-10 Roland McGrath <roland@hack.frob.com>
21807 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21808 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21809 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21810 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21811 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21812 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21813 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21814 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21815 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21816 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21817 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21818 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21819 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21820 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21821 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21822 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21823 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21824 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21825 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21826 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21827 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21828 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21829 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21830 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21831 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21832 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21833 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21835 2013-01-10 David S. Miller <davem@davemloft.net>
21837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21839 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21841 * posix/Makefile (tests-static): New variable.
21842 (tests): Add $(tests-static).
21843 (tst-exec-static-ARGS): New variable.
21844 (tst-spawn-static-ARGS): Likewise.
21845 * posix/tst-exec-static.c: New file.
21846 * posix/tst-spawn-static.c: Likewise.
21847 * posix/tst-exec.c: Support run directly.
21848 * posix/tst-spawn.c: Likewise.
21850 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21852 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21854 * math/bits/mathcalls.h (llrint): Likewise.
21855 (llround): Likewise.
21856 * stdlib/stdlib.h (struct drand48_data): Likewise.
21857 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21858 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21859 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21861 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21863 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21864 (elf_greg_t): Likewise.
21865 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21866 (__jmp_buf): Likewise.
21867 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21869 (llrint): Likewise, for all definitions.
21870 (llrintl): Likewise.
21872 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21873 Remove [__GNUC__] condition.
21874 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21875 condition to just [__USE_ISOC99].
21876 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21878 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21881 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21882 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21884 (_POSIX_V6_ILP32_OFF32): Likewise.
21885 (_XBS5_ILP32_OFF32): Likewise.
21886 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21887 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21889 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21891 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21894 doubles __mpexp_twomm1. Adjust usage.
21895 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21898 2013-01-10 Andreas Schwab <schwab@suse.de>
21901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21902 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21904 2013-01-09 David S. Miller <davem@davemloft.net>
21907 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21908 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21909 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21910 (TCP_FASTOPEN): Define.
21911 (tcp_repair_opt): New structure.
21912 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21914 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21915 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21916 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21917 (tcp_cookie_transactions): New structure.
21919 2013-01-09 Anton Blanchard <anton@samba.org>
21921 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21922 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21923 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21924 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21926 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21928 * include/features.h (__USE_ANSI): Remove.
21930 2013-01-09 Roland McGrath <roland@hack.frob.com>
21932 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21934 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21936 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21938 * sysdeps/s390/fpu/libm-test-ulps: Update.
21940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21942 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21946 (denorm): Likewise.
21947 (__mp_dbl): Likewise.
21948 (__dbl_mp): Likewise.
21949 (add_magnitudes): Likewise.
21950 (sub_magnitudes): Likewise.
21956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21960 (denorm): Likewise.
21961 (__mp_dbl): Likewise.
21962 (__dbl_mp): Likewise.
21963 (add_magnitudes): Likewise.
21964 (sub_magnitudes): Likewise.
21970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21974 (denorm): Likewise.
21975 (__mp_dbl): Likewise.
21976 (__dbl_mp): Likewise.
21977 (add_magnitudes): Likewise.
21978 (sub_magnitudes): Likewise.
21985 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21987 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21988 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21989 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21990 2 && __USE_EXTERN_INLINES]: Likewise.
21992 2013-01-08 Andreas Jaeger <aj@suse.de>
21995 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21997 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21998 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22000 2013-01-07 Anton Blanchard <anton@samba.org>
22002 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22003 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22004 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22005 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22006 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22007 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22008 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22009 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22011 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22013 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22015 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22016 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22017 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22018 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22020 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22021 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22022 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22023 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22024 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22025 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22026 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22027 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22028 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22029 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22030 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22032 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22037 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22039 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22040 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22044 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22046 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22048 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22049 (__MALLOC_PMT): Likewise.
22050 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22051 [__GNUC__], only on [_LIBC].
22052 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22053 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22054 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22055 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22056 forward declaration.
22057 (realloc_hook_ini): Likewise.
22058 (memalign_hook_ini): Likewise.
22059 (__libc_memalign): Do not use __MALLOC_PMT in variable
22061 (__libc_valloc): Likewise.
22062 (__libc_pvalloc): Likewise.
22063 (__libc_calloc): Likewise.
22064 (__posix_memalign): Likewise.
22067 * math/s_casinh.c: Include <float.h>.
22068 (__casinh): Do not do computation with squaring and square root
22069 for large arguments.
22070 * math/s_casinhf.c: Include <float.h>.
22071 (__casinhf): Do not do computation with squaring and square root
22072 for large arguments.
22073 * math/s_casinhl.c: Include <float.h>.
22074 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22075 (__casinhl): Do not do computation with squaring and square root
22076 for large arguments.
22077 * math/libm-test.inc (casin_test): Add more tests.
22078 (casinh_test): Likewise.
22079 * sysdeps/i386/fpu/libm-test-ulps: Update.
22080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22082 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22084 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22085 (__x86_64_raw_data_cache_size): Likewise.
22086 (__x86_64_data_cache_size_half): Likewise.
22087 (__x86_64_raw_data_cache_size_half): Likewise.
22088 (__x86_64_shared_cache_size): Likewise.
22089 (__x86_64_raw_shared_cache_size): Likewise.
22090 (__x86_64_shared_cache_size_half): Likewise.
22091 (__x86_64_raw_shared_cache_size_half): Likewise.
22092 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22094 (__x86_data_cache_size): This.
22095 (__x86_64_raw_data_cache_size): Renamed to ...
22096 (__x86_raw_data_cache_size): This.
22097 (__x86_64_data_cache_size_half): Renamed to ...
22098 (__x86_data_cache_size_half): This.
22099 (__x86_64_raw_data_cache_size_half): Renamed to ...
22100 (__x86_raw_data_cache_size_half): This.
22101 (__x86_64_shared_cache_size): Renamed to ...
22102 (__x86_shared_cache_size): This.
22103 (__x86_64_raw_shared_cache_size): Renamed to ...
22104 (__x86_raw_shared_cache_size): This.
22105 (__x86_64_shared_cache_size_half): Renamed to ...
22106 (__x86_shared_cache_size_half): This.
22107 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22108 (__x86_raw_shared_cache_size_half): This.
22109 * sysdeps/x86_64/memcpy.S: Updated.
22110 * sysdeps/x86_64/memset.S: Likewise.
22111 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22115 2013-01-04 David S. Miller <davem@davemloft.net>
22117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22119 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22121 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22122 1 to avoid redefinition warning.
22123 (__USE_GNU): Don't define.
22124 (init_signaling_nan): Protoize.
22126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22128 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22130 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22132 (__cpymn): Likewise.
22133 (norm): Remove commented code.
22134 (denorm): Likewise.
22135 (__mp_dbl): Likewise.
22137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22138 (__cpymn): Likewise.
22139 (norm): Remove commented code.
22140 (denorm): Likewise.
22141 (__mp_dbl): Likewise.
22144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22145 mp_no value for 1.0 and 2.0.
22146 (norm): Use RADIXI instead of radixi.d.
22147 (denorm): Likewise.
22148 (__mul): Use 0.0 instead of zero.d.
22149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22150 mp_no value for 1.0 and 2.0.
22151 (norm): Use RADIXI instead of radixi.d.
22152 (denorm): Likewise.
22153 (__mul): Use 0.0 instead of zero.d.
22155 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22158 * math/s_casinh.c (__casinh): Reduce finite argument to first
22159 quadrant then set signs of results at the end.
22160 * math/s_casinhf.c (__casinhf): Likewise.
22161 * math/s_casinhl.c (__casinhl): Likewise.
22162 * math/libm-test.inc (casin_test): Add more tests.
22163 (casinh_test): Likewise.
22164 * sysdeps/i386/fpu/libm-test-ulps: Update.
22165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22167 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22169 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22171 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22173 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22175 (denorm): Likewise.
22176 (__mp_dbl): Likewise.
22179 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22180 and adjust the header comment.
22182 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22183 variable name from declaration.
22185 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22188 Initialize COMMON_CPUID_INDEX_7 element.
22189 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22190 (CPUID_RTM): Likewise.
22191 (HAS_RTM): Likewise.
22192 (COMMON_CPUID_INDEX_7): New enum.
22194 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22197 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22198 size is zero, record memory as freed.
22200 2013-01-03 Andreas Jaeger <aj@suse.de>
22202 * po/ia.po: Add new Interlingua translation.
22204 2012-01-03 Allan McRae <allan@archlinux.org>
22206 * locale/programs/localedef.c: Fix description of '--posix' flag.
22208 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22210 * NEWS: Update dates in second copyright notice.
22211 * README: Update copyright dates in example.
22212 * manual/libc.texinfo: Update copyright dates.
22213 * scripts/test-installation.pl: Update copyright date in --version
22216 * hurd/ctty-input.c: Fix copyright notice formatting.
22217 * hurd/ctty-output.c: Likewise.
22218 * hurd/dtable.c: Likewise.
22219 * hurd/hurd-raise.c: Likewise.
22220 * hurd/hurdprio.c: Likewise.
22221 * hurd/msgportdemux.c: Likewise.
22222 * misc/sys/file.h: Likewise.
22223 * misc/sys/ioctl.h: Likewise.
22224 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22225 * sysdeps/mach/hurd/chdir.c: Likewise.
22226 * sysdeps/mach/hurd/fchdir.c: Likewise.
22227 * sysdeps/mach/hurd/rename.c: Likewise.
22228 * sysdeps/mach/hurd/rmdir.c: Likewise.
22229 * sysdeps/mach/hurd/seekdir.c: Likewise.
22230 * sysdeps/mach/hurd/setsid.c: Likewise.
22231 * sysdeps/posix/wait3.c: Likewise.
22233 * All files with FSF copyright notices: Update copyright dates
22234 using scripts/update-copyrights.
22235 * intl/plural.c: Regenerated.
22236 * locale/programs/charmap-kw.h: Likewise.
22237 * locale/programs/locfile-kw.h: Likewise.
22239 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22241 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22244 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22245 calculation loop and add branch prediction.
22247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22248 check access beyond bounds of m1np.
22250 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22252 (__inv): Remove local variable MPTWO to use the global
22254 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22255 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22257 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22258 MP3HALFS static const.
22260 2013-01-01 David S. Miller <davem@davemloft.net>
22262 * po/ca.po: Update from translation team.
22264 2013-01-01 Joseph Myers <joseph@codesourcery.com>
22266 * scripts/update-copyrights: New file.
22267 * Makeconfig: Reformat copyright notice.
22268 * ctype/ctype.h: Likewise.
22269 * debug/swprintf_chk.c: Likewise.
22270 * elf/dl-cache.c: Likewise.
22271 * elf/dl-debug.c: Likewise.
22272 * elf/dl-object.c: Likewise.
22273 * grp/initgroups.c: Likewise.
22274 * hurd/Makefile: Likewise.
22275 * hurd/hurd/signal.h: Likewise.
22276 * hurd/hurdfault.c: Likewise.
22277 * hurd/hurdioctl.c: Likewise.
22278 * hurd/hurdlookup.c: Likewise.
22279 * hurd/intr-msg.c: Likewise.
22280 * iconv/gconv_open.c: Likewise.
22281 * libio/swprintf.c: Likewise.
22282 * locale/lc-ctype.c: Likewise.
22283 * locale/nl_langinfo.c: Likewise.
22284 * mach/Machrules: Likewise.
22285 * mach/Makefile: Likewise.
22286 * malloc/obstack.h: Likewise.
22287 * manual/Makefile: Likewise.
22288 * manual/tsort.awk: Likewise.
22289 * misc/bits/stab.def: Likewise.
22290 * nis/nis_print_group_entry.c: Likewise.
22291 * nis/nis_table.c: Likewise.
22292 * nis/nss_compat/compat-pwd.c: Likewise.
22293 * nis/nss_compat/compat-spwd.c: Likewise.
22294 * po/Makefile: Likewise.
22295 * posix/fnmatch.c: Likewise.
22296 * posix/regex.h: Likewise.
22297 * resolv/Makefile: Likewise.
22298 * resolv/nss_dns/dns-network.c: Likewise.
22299 * resolv/res_hconf.c: Likewise.
22300 * scripts/gen-sorted.awk: Likewise.
22301 * soft-fp/soft-fp.h: Likewise.
22302 * stdio-common/printf.h: Likewise.
22303 * stdlib/monetary.h: Likewise.
22304 * stdlib/random.c: Likewise.
22305 * stdlib/random_r.c: Likewise.
22306 * sysdeps/generic/Makefile: Likewise.
22307 * sysdeps/gnu/Makefile: Likewise.
22308 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22331 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22332 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22333 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22334 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22335 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22336 * sysdeps/mach/hurd/errnos.awk: Likewise.
22337 * sysdeps/mach/hurd/fork.c: Likewise.
22338 * sysdeps/mach/hurd/getcwd.c: Likewise.
22339 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22340 * sysdeps/mach/hurd/mmap.c: Likewise.
22341 * sysdeps/mach/hurd/utimes.c: Likewise.
22342 * sysdeps/mach/hurd/xmknod.c: Likewise.
22343 * sysdeps/posix/profil.c: Likewise.
22344 * sysdeps/posix/readdir_r.c: Likewise.
22345 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22346 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22347 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22348 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22350 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22351 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22352 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22354 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22355 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22356 * sysdeps/pthread/lio_listio.c: Likewise.
22357 * sysdeps/sparc/dl-procinfo.h: Likewise.
22358 * sysdeps/unix/i386/sysdep.S: Likewise.
22359 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22360 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22361 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22362 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22364 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22365 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22366 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22367 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22368 * sysdeps/wordsize-32/divdi3.c: Likewise.
22369 * time/sys/time.h: Likewise.
22370 * wcsmbs/Makefile: Likewise.
22372 2013-01-01 David S. Miller <davem@davemloft.net>
22374 * po/fr.po: Update from translation team.
22376 * catgets/gencat.c: Update copyright year.
22377 * csu/version.c: Likewise.
22378 * debug/catchsegv.sh: Likewise.
22379 * debug/pcprofiledump.c: Likewise.
22380 * debug/xtrace.sh: Likewise.
22381 * elf/ldconfig.c: Likewise.
22382 * elf/ldd.bash.in: Likewise.
22383 * elf/pldd.c: Likewise.
22384 * elf/sotruss.ksh: Likewise.
22385 * elf/sprof.c: Likewise.
22386 * iconv/iconv_prog.c: Likewise.
22387 * iconv/iconvconfig.c: Likewise.
22388 * locale/programs/locale.c: Likewise.
22389 * locale/programs/localedef.c: Likewise.
22390 * login/programs/pt_chown.c: Likewise.
22391 * malloc/memusage.sh: Likewise.
22392 * malloc/memusagestat.c: Likewise.
22393 * malloc/mtrace.pl: Likewise.
22394 * nscd/nscd.c: Likewise.
22395 * nss/getent.c: Likewise.
22396 * nss/makedb.c: Likewise.
22397 * posix/getconf.c: Likewise.
22399 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22401 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22404 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22406 * math/bits/mathcalls.h (modf): Use __nonnull.
22408 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22410 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22411 (split): Use macro CN instead of the bare value.
22412 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22415 instead of the bare value.
22416 (power1): Likewise.
22418 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22422 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22424 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22426 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22428 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22429 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22431 2012-12-28 Andreas Jaeger <aj@suse.de>
22433 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22434 values are from Linux 3.7.
22436 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22437 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22439 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22441 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22446 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22447 variables with preprocessor constants.
22448 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22449 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22450 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22452 2012-12-27 Bruno Haible <bruno@clisp.org>
22455 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22458 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22461 and use variable directly.
22462 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22464 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22466 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22467 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22469 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22471 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22472 include directive. Remove local variable MPONE.
22473 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22474 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22475 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22477 2012-12-25 David S. Miller <davem@davemloft.net>
22479 * version.h (RELEASE): Set to "development".
22480 (VERSION): Set to "2.17.90".
22481 * NEWS: Add 2.18 section.
22483 2012-12-21 David S. Miller <davem@davemloft.net>
22485 * po/hr.po: Update from translation team.
22487 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22489 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22491 2012-12-19 Steve Ellcey <sellcey@mips.com>
22493 * NEWS: Mention new memcpy for MIPS.
22495 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22497 * manual/contrib.texi (Contributors): Spelling correction.
22499 2012-12-15 David S. Miller <davem@davemloft.net>
22501 * po/ru.po: Update from translation team.
22503 2012-12-13 David S. Miller <davem@davemloft.net>
22505 * NEWS: Mention IFUNC testsuite enhancements.
22507 * po/pl.po: Update from translation team.
22508 * po/bg.po: Likewise.
22510 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22511 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22513 2012-12-11 David S. Miller <davem@davemloft.net>
22515 * po/sv.po: Update from translation team.
22517 * po/vi.po: Update from translation team.
22519 * po/cs.po: Update from translation team.
22521 * po/de.po: Update from translation team.
22522 * po/eo.po: Likewise.
22523 * po/nl.po: Likewise.
22525 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22528 * manual/argp.texi (Argp Helper Functions): Move node to follow
22529 Argp Parsing State.
22532 * manual/conf.texi (Limits on File System Capacity): Mention if
22533 terminating null is included in the max size.
22535 2012-12-10 Andreas Jaeger <aj@suse.de>
22537 * po/cs.po: Update from translation team.
22539 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22541 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22542 void pointer and cast to uintptr_t.
22543 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22545 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22546 * sysdeps/s390/s390-64/memset.S: Likewise.
22548 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22551 * menual/message.texi (Message Translation): Fix typos.
22552 (Helper programs for gettext): Likewise.
22554 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22557 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22560 2012-12-07 David S. Miller <davem@davemloft.net>
22562 * po/libc.pot: Update.
22564 2012-12-07 Richard Henderson <rth@redhat.com>
22567 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22568 normal/normal case to before the switch.
22569 (_FP_DIV): Likewise.
22571 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22572 Mike Frysinger <vapier@gentoo.org>
22574 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22575 check for __NR_fadvise64_64.
22577 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22579 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22580 0, not just to plain "0" as a statement.
22581 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22584 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22586 * NEWS: Use sourceware.org in Bugzilla URL.
22588 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22591 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22593 * stdio-common/tst-put-error.c (do_test): Add newline to the
22594 padded test to ensure flush.
22596 2012-12-05 Jeff Law <law@redhat.com>
22598 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22600 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22602 * README: Don't refer to ports add-on as distributed separately.
22603 Mention AArch64 in list of systems supported in the ports add-on.
22605 * LICENSES: Add more non-FSF copyright and license notices.
22607 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22610 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22612 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22613 10000 as width of padded output.
22615 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22617 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22620 variable LX with __attribute__ ((unused)).
22621 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22623 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22626 with __attribute__ ((unused)).
22628 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22630 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22632 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22634 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22635 (CFLAGS-nldbl-acos.c): New variable.
22636 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22637 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22638 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22639 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22640 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22641 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22642 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22643 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22644 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22645 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22646 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22647 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22648 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22649 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22650 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22651 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22652 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22653 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22654 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22655 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22656 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22657 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22658 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22659 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22660 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22661 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22662 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22663 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22664 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22665 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22666 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22667 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22668 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22669 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22670 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22671 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22672 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22673 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22674 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22675 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22676 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22677 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22678 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22679 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22680 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22681 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22682 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22683 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22684 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22685 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22686 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22687 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22688 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22689 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22690 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22691 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22692 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22693 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22694 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22695 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22696 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22697 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22698 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22699 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22700 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22701 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22702 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22703 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22704 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22705 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22706 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22707 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22708 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22709 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22710 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22711 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22712 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22713 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22714 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22715 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22716 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22717 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22718 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22719 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22720 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22721 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22722 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22723 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22724 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22725 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22726 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22727 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22728 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22729 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22730 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22731 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22732 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22735 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22739 whole low double instead of just low 47 bits when splitting values
22742 2012-12-03 Allan McRae <allan@archlinux.org>
22744 * manual/stdio.texi (Predefined Printf Handlers): Remove
22745 @hsep and @vsep usage.
22747 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22749 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22750 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22752 2012-12-03 Jeff Law <law@redhat.com>
22754 * time/sys/time.h (settimeofday): Do not mark TV argument
22757 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22759 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22760 when currently writing and seek to current position when not.
22761 * libio/Makefile (tests): Remove bug-fclose1.
22762 * libio/bug-fclose1.c: Delete.
22764 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22766 * manual/arith.texi (feenableexcept): Fix typo.
22767 (fedisableexcept): Likewise.
22769 2012-11-30 Roland McGrath <roland@hack.frob.com>
22771 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22772 second, differently-typed declaration, rather than a cast.
22774 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22776 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22777 * include/rpc/svc.h: ... here.
22779 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22782 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22783 depending n and resplen2 to catch cases where answer
22786 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22788 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22789 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22791 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22795 2012-11-29 Roland McGrath <roland@hack.frob.com>
22797 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22799 2012-11-28 Jeff Law <law@redhat.com>
22802 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22803 dataset_temporary. Track alloca usage into alloca_used.
22804 If dataset is large allocate and release it via malloc/free.
22806 2012-06-04 Florian Weimer <fweimer@redhat.com>
22809 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22811 2012-11-28 David S. Miller <davem@davemloft.net>
22813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22815 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22818 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22819 of pi/2 rounded to nearest to 64 bits.
22820 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22821 nearest to 64 bits.
22822 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22825 2012-11-28 Jeff Law <law@redhat.com>
22826 Martin Osvald <mosvald@redhat.com>
22829 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22830 * sunrpc/svc.c: Include time.h.
22831 (__svc_accept_failed): New function.
22832 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22833 any reason other than EINTR, call __svc_accept_failed.
22834 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22835 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22837 2012-11-28 Andreas Schwab <schwab@suse.de>
22839 * scripts/abilist.awk: Also handle indirect functions in .opd
22842 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22845 * sysdeps/x86/fpu/powl_helper.c: New file.
22846 * sysdeps/x86/fpu/Makefile: Likewise.
22847 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22849 (__ieee754_powl): Use __powl_helper for finite arguments except
22850 integer exponents below 8.
22851 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22853 (__ieee754_powl): Use __powl_helper for finite arguments except
22854 integer exponents below 8.
22855 * math/libm-test.inc (pow_test): Add more tests and enable some
22856 previously disabled tests.
22857 * sysdeps/i386/fpu/libm-test-ulps: Update.
22858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22860 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22861 Carlos O'Donell <carlos_odonell@mentor.com>
22863 * nss/makedb.c (is_prime): Assert that input is odd and greater
22864 than 4. Note that fact in a comment too.
22865 (next_prime): Add 4 to input.
22867 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22870 * libio/Makefile (tests): Add test case tst-fwrite-error.
22871 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22872 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22873 * libio/tst-fwrite-error.c: New test case.
22875 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22877 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22878 before casting to void *.
22879 * include/libc-internal.h (__pointer_type): New macro.
22880 (__integer_if_pointer_type_sub): Likewise.
22881 (__integer_if_pointer_type): Likewise.
22882 (cast_to_integer): Likewise.
22883 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22884 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22885 before casting to atomic64_t.
22886 (atomic_exchange_acq): Likewise.
22887 (__arch_exchange_and_add_body): Likewise.
22888 (__arch_add_body): Likewise.
22889 (atomic_add_negative): Likewise.
22890 (atomic_add_zero): Likewise.
22892 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22894 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22895 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22896 (add_fdes): Likewise.
22897 (linear_search_fdes): Likewise.
22898 (binary_search_unencoded_fdes): Likewise.
22900 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22902 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22904 2012-11-24 Adam Conrad <adconrad@0c3.net>
22906 * configure.in: Autodetect C++ header directories.
22907 * configure: Regenerated.
22909 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22911 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22913 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22917 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22919 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22920 LDBL_MANT_DIG == 106]: Disable some tests.
22921 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22923 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22927 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22928 input for small inputs. Return +/- pi/2 for large inputs.
22929 * math/libm-test.inc (atan_test): Add more tests.
22931 * sysdeps/generic/unwind-dw2-fde-glibc.c
22932 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22933 __attribute__ ((unused)).
22936 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22937 x * y if x and y are nonzero and z is zero.
22940 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22941 nonzero exponents with absolute value below 0x1p-117 to +/-
22945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22946 up arguments below 2**-450, not just those below 2**-500.
22947 * math/libm-test.inc (hypot_test): Add another test.
22950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22951 Return a+b for ratio over 2**120, not 2**60.
22952 * math/libm-test.inc (hypot_test): Add another test.
22954 * math/libm-test.inc (clog_test): Use
22955 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22956 (clog10_test): Likewise.
22959 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22961 2012-11-22 Andreas Schwab <schwab@suse.de>
22963 * sysdeps/i386/fpu/libm-test-ulps: Update.
22965 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22967 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22968 printf output with newline.
22970 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22973 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22974 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22975 -z nodlopen, -z initfirst and -z execstack support.
22976 * configure: Regenerated.
22978 * elf/elf.h (DF_1_NODIRECT): New macro.
22979 (DF_1_IGNMULDEF): Likewise.
22980 (DF_1_NOKSYMS): Likewise.
22981 (DF_1_NOHDR): Likewise.
22982 (DF_1_EDITED): Likewise.
22983 (DF_1_NORELOC): Likewise.
22984 (DF_1_SYMINTPOSE): Likewise.
22985 (DF_1_GLOBAUDIT): Likewise.
22986 (DF_1_SINGLETON): Likewise.
22987 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22988 DT_1_SUPPORTED_MASK bits.
22989 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22991 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22993 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22995 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22997 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23000 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23001 (sendmmsg): Move declarations...
23002 * socket/sys/socket.h: ... here.
23003 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23004 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23006 * socket/recvmmsg.c: ... this new file.
23007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23008 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23009 definition of __sendmmsg hidden.
23010 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23011 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23012 Move ENOSYS stub into and include it from...
23013 * socket/sendmmsg.c: ... this new file.
23014 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23015 (sysdep_routines): Move recvmmsg and sendmmsg...
23016 * socket/Makefile (routines): ... here.
23017 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23018 (GLIBC_PRIVATE): Add __sendmmsg.
23019 * include/sys/socket.h (__sendmmsg): Add declarations.
23020 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23023 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23026 variable I1 with __attribute__ ((unused)).
23027 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23029 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23031 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23032 DUMMY variables with __attribute__ ((unused)).
23034 * bits/byteswap.h: Include <bits/types.h>.
23035 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23037 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23039 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23040 string_t. Do not manually set errno.
23041 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23042 length with __strnlen. Make sure to both set errno and return it on
23045 2012-11-19 David S. Miller <davem@davemloft.net>
23047 With help from Joseph Myers.
23048 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23049 very large arguments properly.
23050 * math/libm-test.inc (atan_test): New tests.
23051 (atan2_test): New tests.
23052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23055 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23058 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23061 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23062 [POSIX] (EADDRNOTAVAIL): Likewise.
23063 [POSIX] (EAFNOSUPPORT): Likewise.
23064 [POSIX] (EALREADY): Likewise.
23065 [POSIX] (ECONNABORTED): Likewise.
23066 [POSIX] (ECONNREFUSED): Likewise.
23067 [POSIX] (ECONNRESET): Likewise.
23068 [POSIX] (EDESTADDRREQ): Likewise.
23069 [POSIX] (EDQUOT): Likewise.
23070 [POSIX] (EHOSTUNREACH): Likewise.
23071 [POSIX] (EIDRM): Likewise.
23072 [POSIX] (EISCONN): Likewise.
23073 [POSIX] (ELOOP): Likewise.
23074 [POSIX] (EMULTIHOP): Likewise.
23075 [POSIX] (ENETDOWN): Likewise.
23076 [POSIX] (ENETUNREACH): Likewise.
23077 [POSIX] (ENOBUFS): Likewise.
23078 [POSIX] (ENODATA): Likewise.
23079 [POSIX] (ENOLINK): Likewise.
23080 [POSIX] (ENOMSG): Likewise.
23081 [POSIX] (ENOPROTOOPT): Likewise.
23082 [POSIX] (ENOSR): Likewise.
23083 [POSIX] (ENOSTR): Likewise.
23084 [POSIX] (ENOTCONN): Likewise.
23085 [POSIX] (ENOTSOCK): Likewise.
23086 [POSIX] (EOPNOTSUPP): Likewise.
23087 [POSIX] (EOVERFLOW): Likewise.
23088 [POSIX] (EPROTO): Likewise.
23089 [POSIX] (EPROTONOSUPPORT): Likewise.
23090 [POSIX] (EPROTOTYPE): Likewise.
23091 [POSIX] (ESTALE): Likewise.
23092 [POSIX] (ETIME): Likewise.
23093 [POSIX] (ETXTBSY): Likewise.
23094 [POSIX] (EWOULDBLOCK): Likewise.
23095 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23096 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23097 [POSIX] (SEEK_CUR): Likewise.
23098 [POSIX] (SEEK_END): Likewise.
23099 [POSIX || UNIX98] (mode_t): Do not require.
23100 [POSIX] (off_t): Likewise.
23101 [POSIX] (pid_t): Likewise.
23102 [POSIX] (sys/stat.h): Do not allow header.
23103 [POSIX] (unistd.h): Likewise.
23104 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23105 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23106 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23107 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23109 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23110 sigevent): Specify elements.
23111 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23113 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23114 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23116 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23117 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23118 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23119 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23120 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23121 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23122 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23123 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23124 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23125 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23126 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23127 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23128 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23129 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23131 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23133 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23135 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23137 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23138 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23139 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23140 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23141 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23142 Specify lower bound on value.
23143 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23144 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23145 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23146 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23147 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23148 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23149 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23150 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23152 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23154 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23155 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23156 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23157 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23158 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23159 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23160 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23161 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23162 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23163 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23164 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23165 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23166 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23167 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23168 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23169 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23171 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23173 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23174 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23175 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23176 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23177 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23178 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23180 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23181 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23182 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23183 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23184 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23185 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23186 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23188 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23189 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23190 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23191 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23192 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23193 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23194 specify as optional.
23195 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23196 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23197 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23198 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23199 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23200 [XPG3] (NL_LANGMAX): Likewise.
23201 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23202 [POSIX || XPG3] (NL_NMAX): Likewise.
23203 [POSIX || XPG3] (NL_SETMAX): Likewise.
23204 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23205 [XPG3] (NZERO): Likewise.
23206 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23207 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23208 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23209 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23210 (REG_ERANGE): Expect.
23211 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23213 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23214 Use (void) in prototype.
23215 [POSIX] (*_t): Allow.
23216 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23217 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23218 (WRDE_BADVAL): Expect.
23220 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23222 [XPG3 || XPG4] (O_RSYNC): Likewise.
23223 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23225 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23226 [XPG3 || XPG4] (sigqueue): Likewise.
23227 [XPG3 || XPG4] (sigtimedwait): Likewise.
23228 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23229 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23230 [XPG3 || XPG4] (vsnprintf): Likewise.
23231 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23233 [XPG3 || XPG4] (blksize_t): Likewise.
23234 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23236 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23237 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23238 [XPG3 || XPG4] (struct itimerspec): Likewise.
23239 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23240 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23241 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23242 [XPG3 || XPG4] (clockid_t): Likewise.
23243 [XPG3 || XPG4] (timer_t): Likewise.
23244 [XPG3 || XPG4] (clock_getres): Likewise.
23245 [XPG3 || XPG4] (clock_gettime): Likewise.
23246 [XPG3 || XPG4] (clock_settime): Likewise.
23247 [XPG3 || XPG4] (nanosleep): Likewise.
23248 [XPG3 || XPG4] (timer_create): Likewise.
23249 [XPG3 || XPG4] (timer_delete): Likewise.
23250 [XPG3 || XPG4] (timer_gettime): Likewise.
23251 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23252 [XPG3 || XPG4] (timer_settime): Likewise.
23253 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23254 [XPG3 || XPG4] (getlogin_r): Likewise.
23255 [XPG3 || XPG4] (pread): Likewise.
23256 [XPG3 || XPG4] (pthread_atfork): Likewise.
23257 [XPG3 || XPG4] (pwrite): Likewise.
23260 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23263 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23265 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23266 finalizing MALLSTREAM.
23268 * sysdeps/mach/hurd/syncfs.c: New file.
23270 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23273 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23274 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23275 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23276 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23277 (_nss_dns_gethostbyname4_r): Likewise.
23278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23279 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23281 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23284 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23286 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23288 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23289 * elf/cache.c (print_entry): Print ",AArch64" for
23292 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23293 * elf/cache.c (print_entry): Print ",hard-float" for
23296 2012-11-18 David S. Miller <davem@davemloft.net>
23298 With help from Joseph Myers.
23299 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23301 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23303 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23304 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23306 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23307 * math/libm-test.inc (y0_test): New tests.
23308 (y1_test): New tests.
23309 * sysdeps/i386/fpu/libm-test-ulps: Update.
23310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23313 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23315 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23317 * configure: Regenerated.
23319 2012-11-17 David S. Miller <davem@davemloft.net>
23322 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23323 nonzero exponents with absolute value below 0x1p-128 to +/-
23326 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23328 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23330 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23332 * posix/getconf-speclist.c: New file.
23333 * posix/posix-envs.def: Likewise.
23334 * posix/confstr.c (START_ENV_GROUP): New macro.
23335 (END_ENV_GROUP): Likewise.
23336 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23337 (KNOWN_PRESENT_ENV_STRING): Likewise.
23338 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23339 (UNKNOWN_ENVIRONMENT): Likewise.
23340 (confstr): Include posix-envs.def instead of handling
23341 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23342 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23343 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23344 (END_ENV_GROUP): Likewise.
23345 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23346 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23347 (UNKNOWN_ENVIRONMENT): Likewise.
23348 (__sysconf): Include posix-envs.def instead of handling associated
23349 cases directly here.
23350 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23351 preprocessing getconf-speclist.c rather than running getconf or
23352 generating empty file.
23354 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23356 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23358 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23361 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23363 2012-11-16 David S. Miller <davem@davemloft.net>
23365 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23366 smaller than LDBL_EPSILON/2.0L, just return xm1.
23368 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23370 * elf/tst-array1.c (init): Set constructor priority to 1000.
23371 (fini): Set destructor priority to 1000.
23372 * elf/tst-array2dep.c: Likewise.
23374 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23377 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23378 (_IO_new_file_xsputn): Also return EOF if none of the input
23379 data was written when overflow failed.
23380 * libio/iopadn.c (_IO_padn): Likewise.
23381 * libio/iowpadn.c (_IO_wpadn): Likewise.
23382 * stdio-common/tst-put-error.c: Add copyright notice.
23383 (do_test): Add case for printing padded string.
23384 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23385 _IO_padn returned error.
23386 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23387 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23390 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23392 * libio/libioP.h: Add comment note that the references to C++
23393 bits are now obsolete.
23395 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23397 * math/libm-test.inc (check_complex): Use asprintf.
23399 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23401 * debug/pcprofiledump.c (print_version): Update copyright year.
23402 * malloc/memusagestat.c (print_version): Likewise.
23404 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23407 * elf/Makefile (tests): Add tst-audit8.
23408 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23409 ($(objpfx)tst-audit8.out): New target.
23410 (tst-audit8-ENV): New variable.
23411 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23412 audit if l_reloc_result is NULL.
23413 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23414 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23415 * elf/tst-audit8.c: New file.
23417 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23419 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23420 * misc/Makefile (CFLAGS-select.c): Define.
23421 * posix/Makefile (CFLAGS-pause.c): Define.
23423 2012-11-13 David S. Miller <davem@davemloft.net>
23425 * crypt/Makefile: Move test targets after toplevel Rules
23426 inclusion. Grab any necessary sysdep routines when linking.
23427 * crypt/md5.c (md5_process_block): Remove define, we will always
23428 name it __md5_process_block.
23429 (md5_finish_ctx): Update md5_process_block call.
23430 (md5_stream): Likewise.
23431 (md5_process_bytes): Likewise.
23432 (md5_process_block): Rename to __md5_process_block and move to ...
23433 * crypt/md5-block.c: ... here.
23434 * crypt/sha256.c (sha256_process_block): Move to ...
23435 * crypt/sha256-block.c: ... here.
23436 * crypt/sha512.c (sha512_process_block): Move to ...
23437 * crypt/sha512-block.c: ... here.
23438 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23440 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23441 * sysdeps/sparc/sparc64/multiarch/Makefile
23442 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23444 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23445 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23447 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23448 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23449 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23450 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23451 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23452 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23453 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23454 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23455 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23457 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23458 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23460 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23462 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23464 * timezone/tzselect.ksh: Update from tzcode git revision
23465 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23466 * timezone/zdump.c: Likewise.
23467 * timezone/zic.c: Likewise.
23468 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23469 in TZVERSION setting, not $(PKGVERSION).
23470 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23471 REPORT_BUGS_TO settings.
23474 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23477 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23479 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23480 detection to immediately after _FP_ROUND().
23481 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23484 2012-11-11 David S. Miller <davem@davemloft.net>
23486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23488 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23489 __close rather than their public counterparts.
23491 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23493 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23495 [UNIX98] (sem_timedwait): Do not expect.
23496 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23497 [XPG4 || UNIX98] (sockatmark): Do not expect.
23498 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23499 (clock_getcpuclockid): Do not expect.
23500 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23501 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23503 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23504 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23505 [UNIX98] (vwscanf): Likewise.
23506 [UNIX98] (vswscanf): Likewise.
23508 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23510 * timezone/version.h: Remove file.
23511 * timezone/README: Do not refer to version.h.
23512 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23513 $(objpfx)version.h.
23514 ($(objpfx)zdump.o): Likewise.
23515 ($(objpfx)version.h): New target.
23517 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23519 * timezone/README: Don't mention modification to tzselect.ksh.
23520 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23521 work on unmodified tzselect.ksh. Substitute version numbers in
23524 * Makefile (format-me): Remove.
23525 (INSTALL): Adjust indentation. Use commands directly instead of
23526 using $(format-me).
23528 * aclocal.m4 (ACX_PKGVERSION): New macro.
23529 (ACX_BUGURL): Likewise.
23530 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23531 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23532 (REPORT_BUGS_TO): Likewise.
23533 * configure: Regenerated.
23534 * config.h.in (PKGVERSION): New macro.
23535 (REPORT_BUGS_TO): Likewise.
23536 * config.make.in (PKGVERSION): New variable.
23537 (PKGVERSION_TEXI): Likewise.
23538 (REPORT_BUGS_TO): Likewise.
23539 (REPORT_BUGS_TEXI): Likewise.
23540 * Makefile (format-me): Use -I$(common-objpfx)manual.
23541 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23542 ($(common-objpfx)manual/%): New target.
23543 (manual/%): Remove target.
23544 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23545 (print_version): Use PKGVERSION.
23546 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23547 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23548 and REPORT_BUGS_TO.
23549 ($(objpfx)xtrace): Likewise.
23550 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23551 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23552 (print_version): Use PKGVERSION.
23553 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23554 (do_version): Use PKGVERSION.
23555 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23557 (common-ldd-rewrite): Likewise.
23558 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23559 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23560 (print_version): Use PKGVERSION.
23561 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23562 * elf/pldd.c (argp_program_bug_address): Remove variable.
23563 (more_help): New function.
23564 (argp): Use more_help.
23565 (print_version): Use PKGVERSION.
23566 * elf/sln.c (main): Use PKGVERSION.
23567 (usage): Use REPORT_BUGS_TO.
23568 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23569 (top level): Use PKGVERSION.
23570 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23571 (print_version): Use PKGVERSION.
23572 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23573 (print_version): Use PKGVERSION.
23574 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23575 (print_version): Use PKGVERSION.
23576 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23577 (print_version): Use PKGVERSION.
23578 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23579 (print_version): Use PKGVERSION.
23580 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23581 (print_version): Use PKGVERSION.
23582 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23584 ($(objpfx)memusage): Likewise.
23585 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23586 (do_version): Use PKGVERSION.
23587 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23588 (print_version): Use PKGVERSION.
23589 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23590 ($PKGVERSION): New variable.
23591 ($REPORT_BUGS_TO): Likewise.
23592 (usage): Use $REPORT_BUGS_TO.
23593 (top level): Use $PKGVERSION.
23594 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23595 ($(objpfx)pkgvers.texi): New rule.
23596 ($(objpfx)stamp-pkgvers): Likewise.
23597 * manual/install.texi: Include pkgvers.texi.
23598 (--with-pkgversion): Document new configure option.
23599 (--with-bugurl): Likewise.
23600 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23601 than necessarily for this particular distribution. Use
23602 REPORT_BUGS_TO for where to report bugs.
23603 * INSTALL: Regenerated.
23604 * manual/libc.texinfo: Include pkgvers.texi.
23605 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23606 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23607 (print_version): Use PKGVERSION.
23608 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23609 (print_version): Use PKGVERSION.
23610 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23611 (print_version): Use PKGVERSION.
23612 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23613 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23615 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23616 (print_version): Use PKGVERSION.
23617 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23618 (print_version): Use PKGVERSION.
23619 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23622 * timezone/checktab.awk: Update from tzcode 2012i.
23623 * timezone/ialloc.c: Likewise.
23624 * timezone/private.h: Likewise.
23625 * timezone/scheck.c: Likewise.
23626 * timezone/tzfile.h: Likewise.
23627 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23628 (TZVERSION): Hardcode tzcode version number.
23629 * timezone/zdump.c: Update from tzcode 2012i.
23630 * timezone/zic.c: Likewise.
23631 * timezone/version.h: New file.
23632 * timezone/README: Describe version.h. Update upstream location.
23635 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23636 (mktemp): Enable declaration.
23637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23644 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23646 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23654 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23655 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23656 for copies of such integer values.
23657 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23658 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23660 2012-11-09 Andreas Jaeger <aj@suse.de>
23662 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23663 definitions and declarations that are provided by
23664 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23666 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23668 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23669 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23670 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23673 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23675 * elf/elf.h: Update comment before AArch64 relocations.
23677 2012-11-07 David S. Miller <davem@davemloft.net>
23679 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23680 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23681 (__start_context): Declare.
23682 (__makecontext_ret): Delete.
23683 (__makecontext): Hook up __start_context instead of
23685 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23686 (sysdep_routines): Add __start_context when in stdlib.
23688 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23690 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23691 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23692 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23694 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23695 (READELF): New variable. Use it instead of hardcoded "readelf".
23697 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23699 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23700 * sysdeps/x86/Makefile: Here.
23701 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23702 * sysdeps/x86/tst-xmmymm.sh: This.
23704 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23706 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23708 [UNIX98] (pthread_barrier_t): Do not expect.
23709 [UNIX98] (pthread_barrierattr_t): Likewise.
23710 [UNIX98] (pthread_spinlock_t): Likewise.
23711 [UNIX98] (pthread_barrier_destroy): Likewise.
23712 [UNIX98] (pthread_barrier_init): Likewise.
23713 [UNIX98] (pthread_barrier_wait): Likewise.
23714 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23715 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23716 [UNIX98] (pthread_barrierattr_init): Likewise.
23717 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23718 [UNIX98] (pthread_getcpuclockid): Likewise.
23719 [UNIX98] (pthread_mutex_timedlock): Likewise.
23720 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23721 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23722 [UNIX98] (pthread_sigmask): Likewise.
23723 [UNIX98] (pthread_spin_destroy): Likewise.
23724 [UNIX98] (pthread_spin_init): Likewise.
23725 [UNIX98] (pthread_spin_lock): Likewise.
23726 [UNIX98] (pthread_spin_trylock): Likewise.
23727 [UNIX98] (pthread_spin_unlock): Likewise.
23728 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23730 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23732 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23733 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23734 [XPG3 || XPG4] (pthread_key_t): Likewise.
23735 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23736 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23737 [XPG3 || XPG4] (pthread_once_t): Likewise.
23738 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23739 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23740 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23741 [XPG3 || XPG4] (pthread_t): Likewise.
23743 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23745 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23747 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23748 Change function return type to int.
23750 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23751 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23752 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23753 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23754 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23755 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23756 [!POSIX] (posix_madvise): Likewise.
23757 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23759 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23760 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23761 (mode_t): Likewise.
23762 (posix_mem_offset): Likewise.
23763 (posix_typed_mem_get_info): Likewise.
23764 (posix_typed_mem_open): Likewise.
23766 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23767 Change condition to [XOPEN2K8].
23769 * conform/conformtest.pl: Preprocess allow-header data with -x c
23770 instead of from stdin.
23771 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23772 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23773 [C99-based standards] (cerfc): Likewise.
23774 [C99-based standards] (cexp2): Likewise.
23775 [C99-based standards] (cexpm1): Likewise.
23776 [C99-based standards] (clog10): Likewise.
23777 [C99-based standards] (clog1p): Likewise.
23778 [C99-based standards] (clog2): Likewise.
23779 [C99-based standards] (clgamma): Likewise.
23780 [C99-based standards] (ctgamma): Likewise.
23781 [C99-based standards] (cerff): Likewise.
23782 [C99-based standards] (cerfcf): Likewise.
23783 [C99-based standards] (cexp2f): Likewise.
23784 [C99-based standards] (cexpm1f): Likewise.
23785 [C99-based standards] (clog10f): Likewise.
23786 [C99-based standards] (clog1pf): Likewise.
23787 [C99-based standards] (clog2f): Likewise.
23788 [C99-based standards] (clgammaf): Likewise.
23789 [C99-based standards] (ctgammaf): Likewise.
23790 [C99-based standards] (cerfl): Likewise.
23791 [C99-based standards] (cerfcl): Likewise.
23792 [C99-based standards] (cexp2l): Likewise.
23793 [C99-based standards] (cexpm1l): Likewise.
23794 [C99-based standards] (clog10l): Likewise.
23795 [C99-based standards] (clog1pl): Likewise.
23796 [C99-based standards] (clog2l): Likewise.
23797 [C99-based standards] (clgammal): Likewise.
23798 [C99-based standards] (ctgammal): Likewise.
23799 * conform/data/inttypes.h-data [C99-based standards]: Include
23800 stdint.h-data. Remove all expectations for stdint.h contents.
23801 [C99-based standards] (PRI*): Do not allow.
23802 [C99-based standards] (SCN*): Likewise.
23803 [C99-based standards] (*_t): Likewise.
23804 [C99-based-standards] (PRId8): Expect macro.
23805 [C99-based-standards] (PRIi8): Likewise.
23806 [C99-based-standards] (PRIo8): Likewise.
23807 [C99-based-standards] (PRIu8): Likewise.
23808 [C99-based-standards] (PRIx8): Likewise.
23809 [C99-based-standards] (PRIX8): Likewise.
23810 [C99-based-standards] (SCNd8): Likewise.
23811 [C99-based-standards] (SCNi8): Likewise.
23812 [C99-based-standards] (SCNo8): Likewise.
23813 [C99-based-standards] (SCNu8): Likewise.
23814 [C99-based-standards] (SCNx8): Likewise.
23815 [C99-based-standards] (PRIdLEAST8): Likewise.
23816 [C99-based-standards] (PRIiLEAST8): Likewise.
23817 [C99-based-standards] (PRIoLEAST8): Likewise.
23818 [C99-based-standards] (PRIuLEAST8): Likewise.
23819 [C99-based-standards] (PRIxLEAST8): Likewise.
23820 [C99-based-standards] (PRIXLEAST8): Likewise.
23821 [C99-based-standards] (SCNdLEAST8): Likewise.
23822 [C99-based-standards] (SCNiLEAST8): Likewise.
23823 [C99-based-standards] (SCNoLEAST8): Likewise.
23824 [C99-based-standards] (SCNuLEAST8): Likewise.
23825 [C99-based-standards] (SCNxLEAST8): Likewise.
23826 [C99-based-standards] (PRIdFAST8): Likewise.
23827 [C99-based-standards] (PRIiFAST8): Likewise.
23828 [C99-based-standards] (PRIoFAST8): Likewise.
23829 [C99-based-standards] (PRIuFAST8): Likewise.
23830 [C99-based-standards] (PRIxFAST8): Likewise.
23831 [C99-based-standards] (PRIXFAST8): Likewise.
23832 [C99-based-standards] (SCNdFAST8): Likewise.
23833 [C99-based-standards] (SCNiFAST8): Likewise.
23834 [C99-based-standards] (SCNoFAST8): Likewise.
23835 [C99-based-standards] (SCNuFAST8): Likewise.
23836 [C99-based-standards] (SCNxFAST8): Likewise.
23837 [C99-based-standards] (PRId16): Likewise.
23838 [C99-based-standards] (PRIi16): Likewise.
23839 [C99-based-standards] (PRIo16): Likewise.
23840 [C99-based-standards] (PRIu16): Likewise.
23841 [C99-based-standards] (PRIx16): Likewise.
23842 [C99-based-standards] (PRIX16): Likewise.
23843 [C99-based-standards] (SCNd16): Likewise.
23844 [C99-based-standards] (SCNi16): Likewise.
23845 [C99-based-standards] (SCNo16): Likewise.
23846 [C99-based-standards] (SCNu16): Likewise.
23847 [C99-based-standards] (SCNx16): Likewise.
23848 [C99-based-standards] (PRIdLEAST16): Likewise.
23849 [C99-based-standards] (PRIiLEAST16): Likewise.
23850 [C99-based-standards] (PRIoLEAST16): Likewise.
23851 [C99-based-standards] (PRIuLEAST16): Likewise.
23852 [C99-based-standards] (PRIxLEAST16): Likewise.
23853 [C99-based-standards] (PRIXLEAST16): Likewise.
23854 [C99-based-standards] (SCNdLEAST16): Likewise.
23855 [C99-based-standards] (SCNiLEAST16): Likewise.
23856 [C99-based-standards] (SCNoLEAST16): Likewise.
23857 [C99-based-standards] (SCNuLEAST16): Likewise.
23858 [C99-based-standards] (SCNxLEAST16): Likewise.
23859 [C99-based-standards] (PRIdFAST16): Likewise.
23860 [C99-based-standards] (PRIiFAST16): Likewise.
23861 [C99-based-standards] (PRIoFAST16): Likewise.
23862 [C99-based-standards] (PRIuFAST16): Likewise.
23863 [C99-based-standards] (PRIxFAST16): Likewise.
23864 [C99-based-standards] (PRIXFAST16): Likewise.
23865 [C99-based-standards] (SCNdFAST16): Likewise.
23866 [C99-based-standards] (SCNiFAST16): Likewise.
23867 [C99-based-standards] (SCNoFAST16): Likewise.
23868 [C99-based-standards] (SCNuFAST16): Likewise.
23869 [C99-based-standards] (SCNxFAST16): Likewise.
23870 [C99-based-standards] (PRId32): Likewise.
23871 [C99-based-standards] (PRIi32): Likewise.
23872 [C99-based-standards] (PRIo32): Likewise.
23873 [C99-based-standards] (PRIu32): Likewise.
23874 [C99-based-standards] (PRIx32): Likewise.
23875 [C99-based-standards] (PRIX32): Likewise.
23876 [C99-based-standards] (SCNd32): Likewise.
23877 [C99-based-standards] (SCNi32): Likewise.
23878 [C99-based-standards] (SCNo32): Likewise.
23879 [C99-based-standards] (SCNu32): Likewise.
23880 [C99-based-standards] (SCNx32): Likewise.
23881 [C99-based-standards] (PRIdLEAST32): Likewise.
23882 [C99-based-standards] (PRIiLEAST32): Likewise.
23883 [C99-based-standards] (PRIoLEAST32): Likewise.
23884 [C99-based-standards] (PRIuLEAST32): Likewise.
23885 [C99-based-standards] (PRIxLEAST32): Likewise.
23886 [C99-based-standards] (PRIXLEAST32): Likewise.
23887 [C99-based-standards] (SCNdLEAST32): Likewise.
23888 [C99-based-standards] (SCNiLEAST32): Likewise.
23889 [C99-based-standards] (SCNoLEAST32): Likewise.
23890 [C99-based-standards] (SCNuLEAST32): Likewise.
23891 [C99-based-standards] (SCNxLEAST32): Likewise.
23892 [C99-based-standards] (PRIdFAST32): Likewise.
23893 [C99-based-standards] (PRIiFAST32): Likewise.
23894 [C99-based-standards] (PRIoFAST32): Likewise.
23895 [C99-based-standards] (PRIuFAST32): Likewise.
23896 [C99-based-standards] (PRIxFAST32): Likewise.
23897 [C99-based-standards] (PRIXFAST32): Likewise.
23898 [C99-based-standards] (SCNdFAST32): Likewise.
23899 [C99-based-standards] (SCNiFAST32): Likewise.
23900 [C99-based-standards] (SCNoFAST32): Likewise.
23901 [C99-based-standards] (SCNuFAST32): Likewise.
23902 [C99-based-standards] (SCNxFAST32): Likewise.
23903 [C99-based-standards] (PRId64): Likewise.
23904 [C99-based-standards] (PRIi64): Likewise.
23905 [C99-based-standards] (PRIo64): Likewise.
23906 [C99-based-standards] (PRIu64): Likewise.
23907 [C99-based-standards] (PRIx64): Likewise.
23908 [C99-based-standards] (PRIX64): Likewise.
23909 [C99-based-standards] (SCNd64): Likewise.
23910 [C99-based-standards] (SCNi64): Likewise.
23911 [C99-based-standards] (SCNo64): Likewise.
23912 [C99-based-standards] (SCNu64): Likewise.
23913 [C99-based-standards] (SCNx64): Likewise.
23914 [C99-based-standards] (PRIdLEAST64): Likewise.
23915 [C99-based-standards] (PRIiLEAST64): Likewise.
23916 [C99-based-standards] (PRIoLEAST64): Likewise.
23917 [C99-based-standards] (PRIuLEAST64): Likewise.
23918 [C99-based-standards] (PRIxLEAST64): Likewise.
23919 [C99-based-standards] (PRIXLEAST64): Likewise.
23920 [C99-based-standards] (SCNdLEAST64): Likewise.
23921 [C99-based-standards] (SCNiLEAST64): Likewise.
23922 [C99-based-standards] (SCNoLEAST64): Likewise.
23923 [C99-based-standards] (SCNuLEAST64): Likewise.
23924 [C99-based-standards] (SCNxLEAST64): Likewise.
23925 [C99-based-standards] (PRIdFAST64): Likewise.
23926 [C99-based-standards] (PRIiFAST64): Likewise.
23927 [C99-based-standards] (PRIoFAST64): Likewise.
23928 [C99-based-standards] (PRIuFAST64): Likewise.
23929 [C99-based-standards] (PRIxFAST64): Likewise.
23930 [C99-based-standards] (PRIXFAST64): Likewise.
23931 [C99-based-standards] (SCNdFAST64): Likewise.
23932 [C99-based-standards] (SCNiFAST64): Likewise.
23933 [C99-based-standards] (SCNoFAST64): Likewise.
23934 [C99-based-standards] (SCNuFAST64): Likewise.
23935 [C99-based-standards] (SCNxFAST64): Likewise.
23936 [C99-based-standards] (PRIdMAX): Likewise.
23937 [C99-based-standards] (PRIiMAX): Likewise.
23938 [C99-based-standards] (PRIoMAX): Likewise.
23939 [C99-based-standards] (PRIuMAX): Likewise.
23940 [C99-based-standards] (PRIxMAX): Likewise.
23941 [C99-based-standards] (PRIXMAX): Likewise.
23942 [C99-based-standards] (SCNdMAX): Likewise.
23943 [C99-based-standards] (SCNiMAX): Likewise.
23944 [C99-based-standards] (SCNoMAX): Likewise.
23945 [C99-based-standards] (SCNuMAX): Likewise.
23946 [C99-based-standards] (SCNxMAX): Likewise.
23947 [C99-based-standards] (PRIdPTR): Likewise.
23948 [C99-based-standards] (PRIiPTR): Likewise.
23949 [C99-based-standards] (PRIoPTR): Likewise.
23950 [C99-based-standards] (PRIuPTR): Likewise.
23951 [C99-based-standards] (PRIxPTR): Likewise.
23952 [C99-based-standards] (PRIXPTR): Likewise.
23953 [C99-based-standards] (SCNdPTR): Likewise.
23954 [C99-based-standards] (SCNiPTR): Likewise.
23955 [C99-based-standards] (SCNoPTR): Likewise.
23956 [C99-based-standards] (SCNuPTR): Likewise.
23957 [C99-based-standards] (SCNxPTR): Likewise.
23958 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23960 * conform/data/stdint.h-data: Update comments to clarify
23962 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23964 [C99-based standards] (INT8_MAX): Likewise.
23965 [C99-based standards] (INT16_MIN): Likewise.
23966 [C99-based standards] (INT16_MAX): Likewise.
23967 [C99-based standards] (INT32_MIN): Likewise.
23968 [C99-based standards] (INT32_MAX): Likewise.
23969 [C99-based standards] (INT64_MIN): Likewise.
23970 [C99-based standards] (INT64_MAX): Likewise.
23971 [C99-based standards] (UINT8_MAX): Likewise.
23972 [C99-based standards] (UINT16_MAX): Likewise.
23973 [C99-based standards] (UINT32_MAX): Likewise.
23974 [C99-based standards] (UINT64_MAX): Likewise.
23975 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23976 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23977 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23978 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23979 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23980 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23981 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23982 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23983 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23984 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23985 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23986 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23987 [C99-based standards] (INT_FAST8_MIN): Likewise.
23988 [C99-based standards] (INT_FAST8_MAX): Likewise.
23989 [C99-based standards] (INT_FAST16_MIN): Likewise.
23990 [C99-based standards] (INT_FAST16_MAX): Likewise.
23991 [C99-based standards] (INT_FAST32_MIN): Likewise.
23992 [C99-based standards] (INT_FAST32_MAX): Likewise.
23993 [C99-based standards] (INT_FAST64_MIN): Likewise.
23994 [C99-based standards] (INT_FAST64_MAX): Likewise.
23995 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23996 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23997 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23998 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23999 [C99-based standards] (INTPTR_MIN): Likewise.
24000 [C99-based standards] (INTPTR_MAX): Likewise.
24001 [C99-based standards] (UINTPTR_MAX): Likewise.
24002 [C99-based standards] (INTMAX_MIN): Likewise.
24003 [C99-based standards] (INTMAX_MAX): Likewise.
24004 [C99-based standards] (UINTMAX_MAX): Likewise.
24005 [C99-based standards] (PTRDIFF_MIN): Likewise.
24006 [C99-based standards] (PTRDIFF_MAX): Likewise.
24007 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24008 [C99-based standards] (SIZE_MAX): Likewise.
24009 [C99-based standards] (WCHAR_MAX): Likewise.
24010 [C99-based standards] (WINT_MAX): Likewise.
24011 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24012 constraint on value.
24013 [C99-based standards] (WCHAR_MIN): Likewise.
24014 [C99-based standards] (WINT_MIN): Likewise.
24015 [C99-based standards] (*_t): Allow.
24016 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24017 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24018 Include math.h-data and complex.h-data. Remove all expectations
24019 of math.h and complex.h contents.
24020 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24022 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24023 (struct tm): Expect tag.
24024 [C99-based-standards] (wcstof): Expect function.
24025 [C99-based-standards] (wcstold): Likewise.
24026 [C99-based-standards] (wcstoll): Likewise.
24027 [C99-based-standards] (wcstoull): Likewise.
24028 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24029 macro-int-constant. Specify type.
24030 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24031 constraint on value.
24032 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24034 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24036 [ISO C standards]: Do not allow headers.
24037 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24038 wcs[abcdefghijklmnopqrstuvwxyz]*.
24039 [ISO C standards] (*_t): Do not allow.
24040 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24042 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24043 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24045 [ISO C standards]: Do not allow headers.
24046 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24047 is[abcdefghijklmnopqrstuvwxyz]*.
24048 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24049 to[abcdefghijklmnopqrstuvwxyz]*.
24050 [ISO C standards] (*_t): Do not allow.
24051 * conform/data/stdalign.h-data: New file.
24052 * conform/data/stdbool.h-data: Likewise.
24053 * conform/data/stdnoreturn.h-data: Likewise.
24055 2012-11-07 Roland McGrath <roland@hack.frob.com>
24058 * manual/filesys.texi (Directory Entries): Typo fix.
24059 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24061 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24063 * elf/elf.h (EM_AARCH64): New macro.
24064 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24065 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24066 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24067 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24068 (R_AARCH64_TLSDESC): Likewise.
24069 (NT_ARM_TLS): Likewise.
24070 (NT_ARM_HW_BREAK): Likewise.
24071 (NT_ARM_HW_WATCH): Likewise.
24073 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24076 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24077 (__ieee754_powl): Saturate nonzero exponents with absolute value
24078 below 0x1p-79 to +/- 0x1p-79.
24079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24080 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24081 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24082 nonzero exponents with absolute value below 0x1p-32 to +/-
24084 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24085 (__ieee754_powl): Saturate nonzero exponents with absolute value
24086 below 0x1p-79 to +/- 0x1p-79.
24087 * math/libm-test.inc (pow_test): Add more tests.
24089 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24091 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24092 _dl_s390_cap_flags with kernel. Increase string length.
24093 (_dl_s390_platforms): Add z196 and zEC12.
24095 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24097 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24098 Change XOPEN21K to XOPEN2K.
24100 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24102 * string/memmove.c: Use memcpy when possible.
24104 2012-11-06 Andreas Jaeger <aj@suse.de>
24106 * po/eo.po: Update from translation team.
24108 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24112 exponent and small x and y exponents, scale x or y up. Increase
24113 by 2 the exponent used in scaling up.
24114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24115 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24116 * math/libm-test.inc (fma_test): Add more tests.
24117 (fma_test_towardzero): Likewise.
24118 (fma_test_downward): Likewise.
24119 (fma_test_upward): Likewise.
24121 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24124 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24128 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24129 namespace for names of struct fields.
24130 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24132 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24133 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24135 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24138 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24140 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24142 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24146 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24149 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24153 definitely overflow as x * y not x * y + z.
24154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24156 * math/libm-test.inc (fma_test): Add more tests.
24157 (fma_test_towardzero): Likewise.
24158 (fma_test_downward): Likewise.
24159 (fma_test_upward): Likewise.
24161 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24165 * include/stub-tag.h: Remove file.
24166 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24168 * manual/maint.texi (Porting): Don't reference it.
24169 * Makerules ($(objpfx)stubs): Likewise.
24170 * dirent/closedir.c: Don't include <stub-tag.h>.
24171 * dirent/dirfd.c: Likewise.
24172 * dirent/fdopendir.c: Likewise.
24173 * dirent/getdents.c: Likewise.
24174 * dirent/getdents64.c: Likewise.
24175 * dirent/opendir.c: Likewise.
24176 * dirent/readdir.c: Likewise.
24177 * dirent/readdir64.c: Likewise.
24178 * dirent/readdir64_r.c: Likewise.
24179 * dirent/readdir_r.c: Likewise.
24180 * dirent/rewinddir.c: Likewise.
24181 * dirent/seekdir.c: Likewise.
24182 * dirent/telldir.c: Likewise.
24183 * gmon/profil.c: Likewise.
24184 * grp/setgroups.c: Likewise.
24185 * inet/if_index.c: Likewise.
24186 * io/access.c: Likewise.
24187 * io/chdir.c: Likewise.
24188 * io/chmod.c: Likewise.
24189 * io/chown.c: Likewise.
24190 * io/close.c: Likewise.
24191 * io/dup.c: Likewise.
24192 * io/dup2.c: Likewise.
24193 * io/dup3.c: Likewise.
24194 * io/euidaccess.c: Likewise.
24195 * io/faccessat.c: Likewise.
24196 * io/fchdir.c: Likewise.
24197 * io/fchmod.c: Likewise.
24198 * io/fchmodat.c: Likewise.
24199 * io/fchown.c: Likewise.
24200 * io/fchownat.c: Likewise.
24201 * io/fcntl.c: Likewise.
24202 * io/flock.c: Likewise.
24203 * io/fstatfs.c: Likewise.
24204 * io/fstatfs64.c: Likewise.
24205 * io/fstatvfs.c: Likewise.
24206 * io/fstatvfs64.c: Likewise.
24207 * io/futimens.c: Likewise.
24208 * io/fxstat.c: Likewise.
24209 * io/fxstat64.c: Likewise.
24210 * io/fxstatat.c: Likewise.
24211 * io/fxstatat64.c: Likewise.
24212 * io/getcwd.c: Likewise.
24213 * io/isatty.c: Likewise.
24214 * io/lchmod.c: Likewise.
24215 * io/lchown.c: Likewise.
24216 * io/link.c: Likewise.
24217 * io/linkat.c: Likewise.
24218 * io/lseek.c: Likewise.
24219 * io/lseek64.c: Likewise.
24220 * io/lxstat64.c: Likewise.
24221 * io/mkdir.c: Likewise.
24222 * io/mkdirat.c: Likewise.
24223 * io/mkfifo.c: Likewise.
24224 * io/mkfifoat.c: Likewise.
24225 * io/open.c: Likewise.
24226 * io/open64.c: Likewise.
24227 * io/openat.c: Likewise.
24228 * io/openat64.c: Likewise.
24229 * io/pipe.c: Likewise.
24230 * io/pipe2.c: Likewise.
24231 * io/poll.c: Likewise.
24232 * io/posix_fadvise.c: Likewise.
24233 * io/posix_fadvise64.c: Likewise.
24234 * io/posix_fallocate.c: Likewise.
24235 * io/posix_fallocate64.c: Likewise.
24236 * io/read.c: Likewise.
24237 * io/readlink.c: Likewise.
24238 * io/readlinkat.c: Likewise.
24239 * io/rmdir.c: Likewise.
24240 * io/sendfile.c: Likewise.
24241 * io/sendfile64.c: Likewise.
24242 * io/statfs.c: Likewise.
24243 * io/statfs64.c: Likewise.
24244 * io/statvfs.c: Likewise.
24245 * io/statvfs64.c: Likewise.
24246 * io/symlink.c: Likewise.
24247 * io/symlinkat.c: Likewise.
24248 * io/ttyname.c: Likewise.
24249 * io/ttyname_r.c: Likewise.
24250 * io/umask.c: Likewise.
24251 * io/unlink.c: Likewise.
24252 * io/unlinkat.c: Likewise.
24253 * io/utime.c: Likewise.
24254 * io/utimensat.c: Likewise.
24255 * io/write.c: Likewise.
24256 * io/xmknod.c: Likewise.
24257 * io/xmknodat.c: Likewise.
24258 * io/xstat.c: Likewise.
24259 * io/xstat64.c: Likewise.
24260 * login/getpt.c: Likewise.
24261 * login/grantpt.c: Likewise.
24262 * login/unlockpt.c: Likewise.
24263 * math/e_acoshl.c: Likewise.
24264 * math/e_acosl.c: Likewise.
24265 * math/e_asinl.c: Likewise.
24266 * math/e_atan2l.c: Likewise.
24267 * math/e_atanhl.c: Likewise.
24268 * math/e_coshl.c: Likewise.
24269 * math/e_expl.c: Likewise.
24270 * math/e_fmodl.c: Likewise.
24271 * math/e_gammal_r.c: Likewise.
24272 * math/e_hypotl.c: Likewise.
24273 * math/e_j0l.c: Likewise.
24274 * math/e_j1l.c: Likewise.
24275 * math/e_jnl.c: Likewise.
24276 * math/e_lgammal_r.c: Likewise.
24277 * math/e_log10l.c: Likewise.
24278 * math/e_log2l.c: Likewise.
24279 * math/e_logl.c: Likewise.
24280 * math/e_powl.c: Likewise.
24281 * math/e_rem_pio2l.c: Likewise.
24282 * math/e_sinhl.c: Likewise.
24283 * math/e_sqrtl.c: Likewise.
24284 * math/fclrexcpt.c: Likewise.
24285 * math/fedisblxcpt.c: Likewise.
24286 * math/feenablxcpt.c: Likewise.
24287 * math/fegetenv.c: Likewise.
24288 * math/fegetexcept.c: Likewise.
24289 * math/fegetround.c: Likewise.
24290 * math/feholdexcpt.c: Likewise.
24291 * math/fesetenv.c: Likewise.
24292 * math/fesetround.c: Likewise.
24293 * math/feupdateenv.c: Likewise.
24294 * math/fgetexcptflg.c: Likewise.
24295 * math/fraiseexcpt.c: Likewise.
24296 * math/fsetexcptflg.c: Likewise.
24297 * math/ftestexcept.c: Likewise.
24298 * math/k_cosl.c: Likewise.
24299 * math/k_rem_pio2l.c: Likewise.
24300 * math/k_sinl.c: Likewise.
24301 * math/k_tanl.c: Likewise.
24302 * math/s_asinhl.c: Likewise.
24303 * math/s_atanl.c: Likewise.
24304 * math/s_cbrtl.c: Likewise.
24305 * math/s_erfl.c: Likewise.
24306 * math/s_expm1l.c: Likewise.
24307 * math/s_log1pl.c: Likewise.
24308 * math/s_tanhl.c: Likewise.
24309 * misc/acct.c: Likewise.
24310 * misc/brk.c: Likewise.
24311 * misc/chflags.c: Likewise.
24312 * misc/chroot.c: Likewise.
24313 * misc/fchflags.c: Likewise.
24314 * misc/fgetxattr.c: Likewise.
24315 * misc/flistxattr.c: Likewise.
24316 * misc/fremovexattr.c: Likewise.
24317 * misc/fsetxattr.c: Likewise.
24318 * misc/fsync.c: Likewise.
24319 * misc/ftruncate.c: Likewise.
24320 * misc/futimes.c: Likewise.
24321 * misc/futimesat.c: Likewise.
24322 * misc/getdomain.c: Likewise.
24323 * misc/getdtsz.c: Likewise.
24324 * misc/gethostid.c: Likewise.
24325 * misc/gethostname.c: Likewise.
24326 * misc/getloadavg.c: Likewise.
24327 * misc/getpagesize.c: Likewise.
24328 * misc/getsysstats.c: Likewise.
24329 * misc/getxattr.c: Likewise.
24330 * misc/gtty.c: Likewise.
24331 * misc/ioctl.c: Likewise.
24332 * misc/lgetxattr.c: Likewise.
24333 * misc/listxattr.c: Likewise.
24334 * misc/llistxattr.c: Likewise.
24335 * misc/lremovexattr.c: Likewise.
24336 * misc/lsetxattr.c: Likewise.
24337 * misc/lutimes.c: Likewise.
24338 * misc/madvise.c: Likewise.
24339 * misc/mincore.c: Likewise.
24340 * misc/mlock.c: Likewise.
24341 * misc/mlockall.c: Likewise.
24342 * misc/mmap.c: Likewise.
24343 * misc/mprotect.c: Likewise.
24344 * misc/msync.c: Likewise.
24345 * misc/munlock.c: Likewise.
24346 * misc/munlockall.c: Likewise.
24347 * misc/munmap.c: Likewise.
24348 * misc/preadv.c: Likewise.
24349 * misc/preadv64.c: Likewise.
24350 * misc/ptrace.c: Likewise.
24351 * misc/pwritev.c: Likewise.
24352 * misc/pwritev64.c: Likewise.
24353 * misc/readv.c: Likewise.
24354 * misc/reboot.c: Likewise.
24355 * misc/remap_file_pages.c: Likewise.
24356 * misc/removexattr.c: Likewise.
24357 * misc/revoke.c: Likewise.
24358 * misc/select.c: Likewise.
24359 * misc/setdomain.c: Likewise.
24360 * misc/setegid.c: Likewise.
24361 * misc/seteuid.c: Likewise.
24362 * misc/sethostid.c: Likewise.
24363 * misc/sethostname.c: Likewise.
24364 * misc/setregid.c: Likewise.
24365 * misc/setreuid.c: Likewise.
24366 * misc/setxattr.c: Likewise.
24367 * misc/sstk.c: Likewise.
24368 * misc/stty.c: Likewise.
24369 * misc/swapoff.c: Likewise.
24370 * misc/swapon.c: Likewise.
24371 * misc/sync.c: Likewise.
24372 * misc/syncfs.c: Likewise.
24373 * misc/syscall.c: Likewise.
24374 * misc/truncate.c: Likewise.
24375 * misc/ualarm.c: Likewise.
24376 * misc/usleep.c: Likewise.
24377 * misc/ustat.c: Likewise.
24378 * misc/utimes.c: Likewise.
24379 * misc/vhangup.c: Likewise.
24380 * misc/writev.c: Likewise.
24381 * posix/_exit.c: Likewise.
24382 * posix/alarm.c: Likewise.
24383 * posix/execve.c: Likewise.
24384 * posix/fexecve.c: Likewise.
24385 * posix/fork.c: Likewise.
24386 * posix/fpathconf.c: Likewise.
24387 * posix/getaddrinfo.c: Likewise.
24388 * posix/getegid.c: Likewise.
24389 * posix/geteuid.c: Likewise.
24390 * posix/getgid.c: Likewise.
24391 * posix/getgroups.c: Likewise.
24392 * posix/getlogin.c: Likewise.
24393 * posix/getlogin_r.c: Likewise.
24394 * posix/getpgid.c: Likewise.
24395 * posix/getpid.c: Likewise.
24396 * posix/getppid.c: Likewise.
24397 * posix/getresgid.c: Likewise.
24398 * posix/getresuid.c: Likewise.
24399 * posix/getsid.c: Likewise.
24400 * posix/getuid.c: Likewise.
24401 * posix/glob64.c: Likewise.
24402 * posix/nanosleep.c: Likewise.
24403 * posix/pathconf.c: Likewise.
24404 * posix/pause.c: Likewise.
24405 * posix/posix_madvise.c: Likewise.
24406 * posix/pread.c: Likewise.
24407 * posix/pread64.c: Likewise.
24408 * posix/pwrite.c: Likewise.
24409 * posix/pwrite64.c: Likewise.
24410 * posix/sched_getaffinity.c: Likewise.
24411 * posix/sched_getp.c: Likewise.
24412 * posix/sched_gets.c: Likewise.
24413 * posix/sched_primax.c: Likewise.
24414 * posix/sched_primin.c: Likewise.
24415 * posix/sched_rr_gi.c: Likewise.
24416 * posix/sched_setaffinity.c: Likewise.
24417 * posix/sched_setp.c: Likewise.
24418 * posix/sched_sets.c: Likewise.
24419 * posix/sched_yield.c: Likewise.
24420 * posix/setgid.c: Likewise.
24421 * posix/setlogin.c: Likewise.
24422 * posix/setpgid.c: Likewise.
24423 * posix/setresgid.c: Likewise.
24424 * posix/setresuid.c: Likewise.
24425 * posix/setsid.c: Likewise.
24426 * posix/setuid.c: Likewise.
24427 * posix/sleep.c: Likewise.
24428 * posix/spawni.c: Likewise.
24429 * posix/sysconf.c: Likewise.
24430 * posix/times.c: Likewise.
24431 * posix/wait.c: Likewise.
24432 * posix/wait3.c: Likewise.
24433 * posix/wait4.c: Likewise.
24434 * posix/waitpid.c: Likewise.
24435 * resolv/gai_sigqueue.c: Likewise.
24436 * resource/getpriority.c: Likewise.
24437 * resource/getrlimit.c: Likewise.
24438 * resource/getrusage.c: Likewise.
24439 * resource/nice.c: Likewise.
24440 * resource/setpriority.c: Likewise.
24441 * resource/setrlimit.c: Likewise.
24442 * resource/ulimit.c: Likewise.
24443 * rt/aio_cancel.c: Likewise.
24444 * rt/aio_fsync.c: Likewise.
24445 * rt/aio_read.c: Likewise.
24446 * rt/aio_sigqueue.c: Likewise.
24447 * rt/aio_suspend.c: Likewise.
24448 * rt/aio_write.c: Likewise.
24449 * rt/clock_getres.c: Likewise.
24450 * rt/clock_gettime.c: Likewise.
24451 * rt/clock_nanosleep.c: Likewise.
24452 * rt/clock_settime.c: Likewise.
24453 * rt/lio_listio.c: Likewise.
24454 * rt/mq_close.c: Likewise.
24455 * rt/mq_getattr.c: Likewise.
24456 * rt/mq_notify.c: Likewise.
24457 * rt/mq_open.c: Likewise.
24458 * rt/mq_receive.c: Likewise.
24459 * rt/mq_send.c: Likewise.
24460 * rt/mq_setattr.c: Likewise.
24461 * rt/mq_timedreceive.c: Likewise.
24462 * rt/mq_timedsend.c: Likewise.
24463 * rt/mq_unlink.c: Likewise.
24464 * rt/shm_open.c: Likewise.
24465 * rt/shm_unlink.c: Likewise.
24466 * rt/timer_create.c: Likewise.
24467 * rt/timer_delete.c: Likewise.
24468 * rt/timer_getoverr.c: Likewise.
24469 * rt/timer_gettime.c: Likewise.
24470 * rt/timer_settime.c: Likewise.
24471 * setjmp/__longjmp.c: Likewise.
24472 * setjmp/setjmp.c: Likewise.
24473 * signal/kill.c: Likewise.
24474 * signal/killpg.c: Likewise.
24475 * signal/raise.c: Likewise.
24476 * signal/sigaction.c: Likewise.
24477 * signal/sigaltstack.c: Likewise.
24478 * signal/sigblock.c: Likewise.
24479 * signal/sigignore.c: Likewise.
24480 * signal/sigintr.c: Likewise.
24481 * signal/signal.c: Likewise.
24482 * signal/sigpause.c: Likewise.
24483 * signal/sigpending.c: Likewise.
24484 * signal/sigqueue.c: Likewise.
24485 * signal/sigreturn.c: Likewise.
24486 * signal/sigset.c: Likewise.
24487 * signal/sigsetmask.c: Likewise.
24488 * signal/sigstack.c: Likewise.
24489 * signal/sigsuspend.c: Likewise.
24490 * signal/sigtimedwait.c: Likewise.
24491 * signal/sigvec.c: Likewise.
24492 * signal/sigwait.c: Likewise.
24493 * signal/sigwaitinfo.c: Likewise.
24494 * signal/sysv_signal.c: Likewise.
24495 * socket/accept.c: Likewise.
24496 * socket/accept4.c: Likewise.
24497 * socket/bind.c: Likewise.
24498 * socket/connect.c: Likewise.
24499 * socket/getpeername.c: Likewise.
24500 * socket/getsockname.c: Likewise.
24501 * socket/getsockopt.c: Likewise.
24502 * socket/isfdtype.c: Likewise.
24503 * socket/listen.c: Likewise.
24504 * socket/recv.c: Likewise.
24505 * socket/recvfrom.c: Likewise.
24506 * socket/recvmsg.c: Likewise.
24507 * socket/send.c: Likewise.
24508 * socket/sendmsg.c: Likewise.
24509 * socket/sendto.c: Likewise.
24510 * socket/setsockopt.c: Likewise.
24511 * socket/shutdown.c: Likewise.
24512 * socket/sockatmark.c: Likewise.
24513 * socket/socket.c: Likewise.
24514 * socket/socketpair.c: Likewise.
24515 * stdio-common/ctermid.c: Likewise.
24516 * stdio-common/cuserid.c: Likewise.
24517 * stdio-common/remove.c: Likewise.
24518 * stdio-common/rename.c: Likewise.
24519 * stdio-common/renameat.c: Likewise.
24520 * stdio-common/tempname.c: Likewise.
24521 * stdlib/getcontext.c: Likewise.
24522 * stdlib/makecontext.c: Likewise.
24523 * stdlib/setcontext.c: Likewise.
24524 * stdlib/swapcontext.c: Likewise.
24525 * stdlib/system.c: Likewise.
24526 * streams/fattach.c: Likewise.
24527 * streams/fdetach.c: Likewise.
24528 * streams/getmsg.c: Likewise.
24529 * streams/getpmsg.c: Likewise.
24530 * streams/putmsg.c: Likewise.
24531 * streams/putpmsg.c: Likewise.
24532 * sysdeps/unix/bsd/getpt.c: Likewise.
24533 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24534 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24535 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24538 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24539 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24540 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24541 * sysvipc/msgctl.c: Likewise.
24542 * sysvipc/msgget.c: Likewise.
24543 * sysvipc/msgrcv.c: Likewise.
24544 * sysvipc/msgsnd.c: Likewise.
24545 * sysvipc/semctl.c: Likewise.
24546 * sysvipc/semget.c: Likewise.
24547 * sysvipc/semop.c: Likewise.
24548 * sysvipc/semtimedop.c: Likewise.
24549 * sysvipc/shmat.c: Likewise.
24550 * sysvipc/shmctl.c: Likewise.
24551 * sysvipc/shmdt.c: Likewise.
24552 * sysvipc/shmget.c: Likewise.
24553 * termios/tcdrain.c: Likewise.
24554 * termios/tcflow.c: Likewise.
24555 * termios/tcflush.c: Likewise.
24556 * termios/tcgetattr.c: Likewise.
24557 * termios/tcgetpgrp.c: Likewise.
24558 * termios/tcsendbrk.c: Likewise.
24559 * termios/tcsetattr.c: Likewise.
24560 * termios/tcsetpgrp.c: Likewise.
24561 * time/adjtime.c: Likewise.
24562 * time/clock.c: Likewise.
24563 * time/getitimer.c: Likewise.
24564 * time/gettimeofday.c: Likewise.
24565 * time/setitimer.c: Likewise.
24566 * time/settimeofday.c: Likewise.
24567 * time/stime.c: Likewise.
24568 * time/time.c: Likewise.
24570 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24572 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24575 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24577 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24579 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24583 FE_TONEAREST before applying Dekker multiplication and Knuth
24584 addition. Clear inexact exceptions and check for exact zero
24585 results afterwards.
24586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24589 * math/libm-test.inc (fma_test): Add more tests.
24590 (fma_test_towardzero): Likewise.
24591 (fma_test_downward): Likewise.
24592 (fma_test_upward): Likewise.
24593 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24595 (libc_fesetround): New macro.
24596 (libc_fesetroundf): Likewise.
24597 (libc_fesetroundl): Likewise.
24598 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24600 (libc_fesetround_387): Likewise.
24601 (libc_fesetroundf): New macro.
24602 (libc_fesetround): Likewise.
24603 (libc_fesetroundl): Likewise.
24604 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24606 (libc_fesetroundf): New macro.
24607 (libc_fesetround): Likewise.
24608 (libc_fesetroundl): Likewise.
24609 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24610 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24611 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24613 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24614 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24616 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24617 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24619 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24623 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24624 integer constant usable in #if and use that to give value to enum
24626 (FE_DIVBYZERO): Likewise.
24627 (FE_UNDERFLOW): Likewise.
24628 (FE_OVERFLOW): Likewise.
24629 (FE_INVALID): Likewise.
24630 (FE_INVALID_SNAN): Likewise.
24631 (FE_INVALID_ISI): Likewise.
24632 (FE_INVALID_IDI): Likewise.
24633 (FE_INVALID_ZDZ): Likewise.
24634 (FE_INVALID_IMZ): Likewise.
24635 (FE_INVALID_COMPARE): Likewise.
24636 (FE_INVALID_SOFTWARE): Likewise.
24637 (FE_INVALID_SQRT): Likewise.
24638 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24639 (FE_TONEAREST): Likewise.
24640 (FE_TOWARDZERO): Likewise.
24641 (FE_UPWARD): Likewise.
24642 (FE_DOWNWARD): Likewise.
24643 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24644 (FE_DIVBYZERO): Likewise.
24645 (FE_OVERFLOW): Likewise.
24646 (FE_UNDERFLOW): Likewise.
24647 (FE_INEXACT): Likewise.
24648 (FE_TONEAREST): Likewise.
24649 (FE_DOWNWARD): Likewise.
24650 (FE_UPWARD): Likewise.
24651 (FE_TOWARDZERO): Likewise.
24652 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24653 (FE_UNDERFLOW): Likewise.
24654 (FE_OVERFLOW): Likewise.
24655 (FE_DIVBYZERO): Likewise.
24656 (FE_INVALID): Likewise.
24657 (FE_TONEAREST): Likewise.
24658 (FE_TOWARDZERO): Likewise.
24659 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24660 (FE_OVERFLOW): Likewise.
24661 (FE_UNDERFLOW): Likewise.
24662 (FE_DIVBYZERO): Likewise.
24663 (FE_INEXACT): Likewise.
24664 (FE_TONEAREST): Likewise.
24665 (FE_TOWARDZERO): Likewise.
24666 (FE_UPWARD): Likewise.
24667 (FE_DOWNWARD): Likewise.
24668 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24669 (FE_DIVBYZERO): Likewise.
24670 (FE_OVERFLOW): Likewise.
24671 (FE_UNDERFLOW): Likewise.
24672 (FE_INEXACT): Likewise.
24673 (FE_TONEAREST): Likewise.
24674 (FE_DOWNWARD): Likewise.
24675 (FE_UPWARD): Likewise.
24676 (FE_TOWARDZERO): Likewise.
24678 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24680 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24682 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24684 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24685 commands. Quote $PWD.
24686 (blacklist_exports): Don't use remove_newlines. Replace "declare
24688 (remove_newlines): Remove.
24690 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24692 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24693 * stdlib/stdlib.h (atof): Moved to ...
24694 * include/bits/stdlib-float.h: Here. New file.
24695 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24696 * stdlib/bits/stdlib-float.h: New file.
24697 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24699 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24702 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24704 * conform/conformtest.pl (@headers): Add fenv.h.
24705 * conform/data/fenv.h-data: New file.
24706 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24707 include of <math/fenv.h>.
24709 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24710 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24711 && !UNIX98]. Enables tests for XOPEN2K8.
24712 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24713 POSIX2008]: Likewise.
24715 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24716 (struct rusage): Do not expect type or its members.
24719 * math/math.h (FP_NAN): Define macro to integer constant usable in
24720 #if and use that to give value to enum constant.
24721 (FP_INFINITE): Likewise.
24722 (FP_ZERO): Likewise.
24723 (FP_SUBNORMAL): Likewise.
24724 (FP_NORMAL): Likewise.
24726 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24728 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24729 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24732 2012-11-02 Roland McGrath <roland@hack.frob.com>
24734 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24735 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24736 autoconf-time if not.
24737 * configure.in: Remove AC_PREREQ.
24739 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24741 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24742 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24743 of the internal implementation.
24745 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24747 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24748 except include of <misc/sys/syslog.h>.
24750 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24753 function returns with a NULL context exit with zero.
24755 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24757 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24759 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24761 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24762 (run_program_cmd): This.
24763 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24764 (tst_langinfo): New variable. Use it.
24766 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24768 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24769 floating point opcodes.
24771 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24773 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24776 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24778 * sysdeps/mach/hurd/powerpc: Remove directory.
24779 * sysdeps/mach/powerpc: Likewise.
24781 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24783 * scripts/check-local-headers.sh: Ignore c++ headers.
24785 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24787 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24788 __libc_cleanup_region_start argument.
24790 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24795 x * y using scaling, not as x * y + z.
24796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24798 * math/libm-test.inc (fma_test): Add more tests.
24799 (fma_test_towardzero): Likewise.
24800 (fma_test_downward): Likewise.
24801 (fma_test_upward): Likewise.
24803 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24805 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24807 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24809 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24812 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24814 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24816 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24823 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24826 Fix the order of the list for glibc 2.17.
24827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24830 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24834 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24838 for low part of x being zero before using __atanl (y).
24839 * math/libm-test.inc (atan2_test): Add another test.
24841 * manual/install.texi (Configuring and compiling): Document
24842 general use of test-wrapper and test-wrapper-env.
24843 * INSTALL: Regenerated.
24845 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24846 (__fma): Do not extract and scale down low bits on after-rounding
24847 systems when result rounded to normal precision would have normal
24849 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24850 (__fmal): Do not extract and scale down low bits on after-rounding
24851 systems when result rounded to normal precision would have normal
24853 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24854 (__fmal): Do not extract and scale down low bits on after-rounding
24855 systems when result rounded to normal precision would have normal
24857 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24859 (fma_test): Add more tests.
24860 (fma_test_towardzero): Likewise.
24861 (fma_test_downward): Likewise.
24862 (fma_test_upward): Likewise.
24864 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24866 * sysdeps/i386/tininess.h: Renamed to ...
24867 * sysdeps/x86/tininess.h: This.
24868 * sysdeps/x86_64/tininess.h: Removed.
24870 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24872 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24873 input. Use $(build-program-cmd).
24874 ($(objpfx)tst-array1-static.out): Likewise.
24875 ($(objpfx)tst-array2.out): Likewise.
24876 ($(objpfx)tst-array3.out): Likewise.
24877 ($(objpfx)tst-array4.out): Likewise.
24878 ($(objpfx)tst-array5.out): Likewise.
24879 ($(objpfx)tst-array5-static.out): Likewise.
24881 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24883 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24886 * nss/nsswitch.h (nss_interface_function): Provide new
24887 macro for use with NSS functions.
24888 * grp/initgroups.c: Use new macro.
24889 * nss/getXXbyYY.c: Likewise.
24890 * nss/getXXbyYY_r.c: Likewise.
24891 * nss/getXXent.c: Likewise.
24892 * nss/getXXent_r.c: Likewise.
24893 * sysdeps/posix/getaddrinfo.c: Likewise.
24895 2012-10-30 Andreas Jaeger <aj@suse.de>
24897 * po/ru.po: Update Russion translation from translation project.
24899 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24904 result and shift together with sticky bit instead of replicating
24905 round-to-nearest rounding.
24906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24908 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24909 missing underflow exceptions.
24910 (fma_test_towardzero): Add more tests.
24911 (fma_test_downward): Likewise.
24912 (fma_test_upward): Likewise.
24915 * sysdeps/generic/tininess.h: New file.
24916 * sysdeps/i386/tininess.h: Likewise.
24917 * sysdeps/sh/tininess.h: Likewise.
24918 * sysdeps/x86_64/tininess.h: Likewise.
24919 * stdlib/tst-strtod-underflow.c: Likewise.
24920 * stdlib/tst-tininess.c: Likewise.
24921 * stdlib/strtod_l.c: Include <tininess.h>.
24922 (round_and_return): Do not set errno for exact underflow cases.
24923 Force an underflow exception when setting errno for underflow.
24924 Determine underflow based on rounding to normal precision if
24925 TININESS_AFTER_ROUNDING.
24926 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24927 ERANGE for exact underflow cases.
24928 * stdlib/Makefile (tests): Add tst-tininess and
24929 tst-strtod-underflow.
24930 ($(objpfx)tst-tininess): Use $(link-libm).
24931 ($(objpfx)tst-strtod-underflow): Likewise.
24933 2012-10-30 Andreas Jaeger <aj@suse.de>
24936 * elf/Makefile (tests): Remove conditional for have-initfini-array
24937 since this is now always required and the variable does not exist
24939 (tests-static): Likewise.
24940 (modules-names): Likewise.
24942 * po/eo.po: Add Esperanto translation from translation project.
24944 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24945 merged with constructor/destructor.
24946 (init_array): Likewise.
24947 * elf/tst-array2dep.c (fini_array): Likewise.
24948 (init_array): Likewise.
24950 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24952 * manual/message.texi: Delete @cartouche tags.
24954 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24956 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24958 * sysdeps/mach/hurd/fsync.c: Likewise.
24960 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24961 [_POSIX_REALTIME_SIGNALS]: Change condition to
24962 [_POSIX_REALTIME_SIGNALS > 0].
24964 2012-10-27 Andreas Jaeger <aj@suse.de>
24966 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24967 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24969 [__WORDSIZE != 64]: Likewise.
24971 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24973 * iconvdata/tst-table.sh: Remove ${SHELL}.
24974 * iconvdata/tst-tables.sh: Likewise.
24976 2012-10-25 David S. Miller <davem@davemloft.net>
24978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24979 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24985 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24986 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24989 2012-10-25 Roland McGrath <roland@hack.frob.com>
24991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24992 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24995 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24996 Jim Blandy <jimb@codesourcery.com>
24998 * scripts/cross-test-ssh.sh: New file.
24999 * manual/install.texi (Configuring and compiling): Document use of
25001 * INSTALL: Regenerated.
25003 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25005 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25008 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25010 * Makeconfig (run-program-prefix): Fix comment.
25012 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25013 Jim Blandy <jimb@codesourcery.com>
25015 * Makeconfig (test-wrapper): New variable,
25016 (test-wrapper-env): Likewise.
25017 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25018 (run-built-tests): Define to yes.
25019 (run-program-prefix): Use $(test-wrapper).
25020 (built-program-cmd): Likewise.
25021 * Rules (make-test-out): Use $(test-wrapper-env) and
25022 $(host-built-program-cmd).
25023 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25024 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25026 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25027 $(test-wrapper-env) to tst-rtld-load-self.sh.
25028 ($(objpfx)order2.out): Use $(test-wrapper).
25029 ($(objpfx)tst-initorder.out): Likewise.
25030 ($(objpfx)tst-initorder2.out): Likewise.
25031 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25032 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25033 (test_wrapper_env): New variable. Use it to run ld.so.
25034 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25035 Use it to run ld.so.
25036 (test_wrapper_env): Likewise.
25037 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25038 $(test-wrapper) to run-iconv-test.sh.
25039 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25040 (ICONV): Use $test_wrapper.
25041 * posix/Makefile ($(objpfx)globtest.out): Pass
25042 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25043 globtest.sh, not $(run-program-prefix).
25044 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25045 (test_wrapper): Likewise.
25046 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25047 set together with run_via_rtld_prefix.
25048 (run_program_prefix): Define in terms of test_wrapper and
25049 run_via_rtld_prefix.
25051 2012-10-24 Roland McGrath <roland@hack.frob.com>
25053 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25054 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25058 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25059 Declare __clock_getres, __clock_gettime, __clock_settime,
25060 __clock_nanosleep, and __clock_getcpuclockid.
25061 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25062 Remove librt_hidden_def (clock_gettime).
25063 * sysdeps/unix/clock_gettime.c: Likewise.
25064 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25066 * rt/clock_getres.c: Define __clock_getres as an alias.
25067 * sysdeps/posix/clock_getres.c: Likewise.
25068 * rt/clock_settime.c: Define __clock_settime as an alias.
25069 * sysdeps/unix/clock_settime.c: Likewise.
25070 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25071 * sysdeps/unix/clock_nanosleep.c: Likewise.
25072 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25073 * rt/clock-compat.c: New file.
25074 * rt/Makefile (librt-routines): Add clock-compat and move
25075 $(clock-routines) to ...
25076 (routines): ... here, new variable.
25077 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25078 Don't add get_clockfreq here.
25079 * rt/Versions (libc: GLIBC_2.17): New version set.
25080 Add clock_* symbols here.
25081 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25083 (GLIBC_2.17): Add clock_* symbols.
25084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25095 * NEWS: Mention the move.
25097 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25098 Use __open, __read, __close rather than their public counterparts.
25099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25100 (__get_clockfreq_via_cpuinfo): Likewise.
25101 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25102 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25104 * config.h.in (HAVE_IFUNC): New #undef.
25105 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25107 * configure: Regenerated.
25109 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25111 * configure.in: Move READELF check to start of file.
25112 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25113 libc_cv_asm_gnu_indirect_function in the process.
25114 * configure: Regenerated.
25116 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25118 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25119 send the output to /dev/null.
25120 (libc_cv_cc_with_libunwind): Likewise.
25121 (libc_cv_as_noexecstack): Likewise.
25122 * configure: Regenerate.
25124 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25126 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25128 * posix/globtest.sh (TMPDIR): Do not set.
25129 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25130 (testout): Likewise.
25132 2012-10-24 Andreas Jaeger <aj@suse.de>
25134 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25135 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25136 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25137 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25138 posix_fadvise64, posix_fallocate64.
25140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25141 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25142 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25144 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25146 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25149 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25150 <bits/fcntl-linux.h>.
25151 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25154 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25155 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25156 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25157 [__WORDSIZE != 64]: Likewise.
25159 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25161 * Makeconfig (run-built-tests): New variable.
25162 * Rules [$(cross-compiling) = yes]: Change condition to
25163 [$(run-built-tests) = no].
25164 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25165 to [$(run-built-tests) = yes].
25166 * elf/Makefile [$(cross-compiling) = no]: Likewise
25167 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25168 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25169 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25170 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25171 * io/Makefile [$(cross-compiling) = no]: Likewise.
25172 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25173 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25174 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25175 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25176 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25177 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25178 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25179 * string/Makefile [$(cross-compiling) = no]: Likewise.
25181 * posix/Makefile ($(objpfx)globtest.out): Pass
25182 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25183 $(rtld-installed-name).
25184 * posix/globtest.sh (elf_objpfx): Remove variable.
25185 (rtld_installed_name): Likewise.
25186 (library_path): Likewise.
25187 (run_program_prefix): New variable. Use for running globtest
25190 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25191 Joseph Myers <joseph@codesourcery.com>
25193 * Makeconfig (host-built-program-cmd): New variable.
25194 * elf/Makefile (tst-stackguard1-ARGS): Use
25195 $(host-built-program-cmd).
25196 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25197 (tst-spawn-ARGS): Likewise.
25198 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25200 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25201 Jim Blandy <jimb@codesourcery.com>
25203 * Makeconfig (run-via-rtld-prefix): New variable.
25204 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25205 (built-program-cmd): Likewise.
25207 2012-10-22 Andreas Jaeger <aj@suse.de>
25209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25210 __O_RSYNC if it exists, otherwise to O_SYNC.
25212 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25213 Joseph Myers <joseph@codesourcery.com>
25215 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25217 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25219 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25222 2012-10-22 Andreas Jaeger <aj@suse.de>
25224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25229 bits/fcntl-linux.h.
25231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25232 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25239 2012-10-21 Jim Blandy <jimb@codesourcery.com>
25240 Joseph Myers <joseph@codesourcery.com>
25242 * config.make.in (NM): New variable.
25244 2012-10-21 Andreas Jaeger <aj@suse.de>
25246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25247 definitions and declarations that are provided by
25248 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25250 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25253 * elf/Makefile (tests-static): Add tst-leaks1-static.
25254 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25255 ($(objpfx)tst-leaks1-static): New rule.
25256 ($(objpfx)tst-leaks1-static-mem): Likewise.
25257 (tst-leaks1-static-ENV): New macro.
25258 * elf/dl-open.c (dl_open_worker): Check the main application
25259 only if SHARED is defined.
25260 * elf/tst-leaks1-static.c: New file.
25262 2012-10-20 Andreas Jaeger <aj@suse.de>
25264 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25265 generic values for Linux.
25266 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25267 and declarations that are provided by <bits/fcntl-linux.h> and
25268 include <bits/fcntl-linux.h>.
25269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25272 2012-10-20 Roland McGrath <roland@hack.frob.com>
25274 * io/fcntl.h: Move include of <bits/types.h> to the top and
25275 include it unconditionally.
25277 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25279 * wcsmbs/Makefile (tests-ifunc): New variable.
25280 (tests): Add $(tests-ifunc).
25281 * wcsmbs/test-wcschr-ifunc.c: New file.
25282 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25283 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25284 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25285 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25286 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25288 * string/Makefile (tests-ifunc): New variable.
25289 (tests): Add $(tests-ifunc).
25290 * string/test-memccpy.c (TEST_NAME): New macro.
25291 * string/test-memchr.c (TEST_NAME): Likewise.
25292 * string/test-memcmp.c (TEST_NAME): Likewise.
25293 * string/test-memcpy.c (TEST_NAME): Likewise.
25294 * string/test-memmem.c (TEST_NAME): Likewise.
25295 * string/test-memmove.c (TEST_NAME): Likewise.
25296 * string/test-memset.c (TEST_NAME): Likewise.
25297 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25298 * string/test-stpcpy.c (TEST_NAME): Likewise.
25299 * string/test-stpncpy.c (TEST_NAME): Likewise.
25300 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25301 * string/test-strcasestr.c (TEST_NAME): Likewise.
25302 * string/test-strcat.c (TEST_NAME): Likewise.
25303 * string/test-strchr.c (TEST_NAME): Likewise.
25304 * string/test-strcmp.c(TEST_NAME): Likewise.
25305 * string/test-strcpy.c (TEST_NAME): Likewise.
25306 * string/test-strcspn.c (TEST_NAME): Likewise.
25307 * string/test-strlen.c (TEST_NAME): Likewise.
25308 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25309 * string/test-strncmp.c (TEST_NAME): Likewise.
25310 * string/test-strncpy.c (TEST_NAME): Likewise.
25311 * string/test-strnlen.c (TEST_NAME): Likewise.
25312 * string/test-strpbrk.c (TEST_NAME): Likewise.
25313 * string/test-strrchr.c (TEST_NAME): Likewise.
25314 * string/test-strspn.c (TEST_NAME): Likewise.
25315 * string/test-strstr.c (TEST_NAME): Likewise.
25316 * string/test-bcopy-ifunc.c: New file.
25317 * string/test-bzero-ifunc.c: Likewise.
25318 * string/test-memccpy-ifunc.c: Likewise.
25319 * string/test-memchr-ifunc.c: Likewise.
25320 * string/test-memcmp-ifunc.c: Likewise.
25321 * string/test-memcpy-ifunc.c: Likewise.
25322 * string/test-memmem-ifunc.c: Likewise.
25323 * string/test-memmove-ifunc.c: Likewise.
25324 * string/test-mempcpy-ifunc.c: Likewise.
25325 * string/test-memset-ifunc.c: Likewise.
25326 * string/test-rawmemchr-ifunc.c: Likewise.
25327 * string/test-stpcpy-ifunc.c: Likewise.
25328 * string/test-stpncpy-ifunc.c: Likewise.
25329 * string/test-strcasecmp-ifunc.c: Likewise.
25330 * string/test-strcasestr-ifunc.c: Likewise.
25331 * string/test-strcat-ifunc.c: Likewise.
25332 * string/test-strchr-ifunc.c: Likewise.
25333 * string/test-strchrnul-ifunc.c: Likewise.
25334 * string/test-strcmp-ifunc.c: Likewise.
25335 * string/test-strcpy-ifunc.c: Likewise.
25336 * string/test-strcspn-ifunc.c: Likewise.
25337 * string/test-strlen-ifunc.c: Likewise.
25338 * string/test-strncasecmp-ifunc.c: Likewise.
25339 * string/test-strncat-ifunc.c: Likewise.
25340 * string/test-strncmp-ifunc.c: Likewise.
25341 * string/test-strncpy-ifunc.c: Likewise.
25342 * string/test-strnlen-ifunc.c: Likewise.
25343 * string/test-strpbrk-ifunc.c: Likewise.
25344 * string/test-strrchr-ifunc.c: Likewise.
25345 * string/test-strspn-ifunc.c: Likewise.
25346 * string/test-strstr-ifunc.c: Likewise.
25348 * debug/Makefile (tests-ifunc): New variable.
25349 (tests): Add $(tests-ifunc).
25350 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25351 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25352 * debug/test-stpcpy_chk-ifunc.c: New file.
25353 * debug/test-strcpy_chk-ifunc.c: Likewise.
25355 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25358 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25359 header is not read in.
25361 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25363 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25364 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25365 directly. Pass built executable to script as
25366 $(built-program-cmd).
25367 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25368 $testprogram without using LD_LIBRARY_PATH and $ldso.
25370 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25371 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25372 $(rtld-installed-name).
25373 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25374 (rtld_installed_name): Likewise.
25375 (library_path): Likewise.
25376 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25377 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25378 $(run-program-prefix) to tst-tables.sh.
25379 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25380 it to run tst-table-from and tst-table-to.
25381 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25382 Pass it to tst-table.sh.
25383 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25384 $(run-program-prefix) to tst-gettext.sh.
25385 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25387 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25389 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25390 to run tst-gettext.
25391 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25392 to run tst-gettext2.
25393 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25394 to run tst-translit.
25395 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25396 $(run-program-prefix) to tst-mtrace.sh.
25397 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25399 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25400 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25401 $(rtld-installed-name).
25402 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25403 (rtld_installed_name): Likewise.
25404 (run_program_prefix): New variable. Use it to run wordexp-test.
25406 * Makeconfig (ARCH): Remove all definitions.
25407 (machine): Likewise.
25408 [ARCH]: Remove conditional code.
25409 [!objdir]: Give error.
25410 [!objdir] (objpfx): Remove.
25411 [!objdir] (common-objpfx): Likewise.
25412 [!objdir] (common-objdir): Likewise.
25413 * configure.in (config_makefile): Remove. Hardcode Makefile in
25414 AC_CONFIG_FILES call.
25415 * configure: Regenerated.
25418 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25420 (testout): Likewise.
25422 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25423 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25424 $(rtld-installed-name).
25425 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25426 (rtld_installed_name): Likwise.
25427 (runit): Remove function.
25428 (run_getconf): New variable, Use it for running getconf binary.
25430 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25433 * string/test-memmem.c (check_result): New function.
25434 (do_one_test): Use it.
25435 (check1): New function.
25436 (test_main): Use it.
25438 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25440 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25442 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25444 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25445 (_G_LSEEK64): Likewise.
25446 (_G_MMAP64): Likewise.
25447 (_G_FSTAT64): Likewise.
25448 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25449 (_G_LSEEK64): Likewise.
25450 (_G_MMAP64): Likewise.
25451 (_G_FSTAT64): Likewise.
25452 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25453 unconditional. Call __mmap64 directly.
25454 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25455 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25456 __lseek64 directly.
25457 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25458 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25460 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25461 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25462 __lseek64 directly.
25463 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25464 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25465 __lseek64 directly.
25466 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25467 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25468 __lseek64 directly.
25469 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25470 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25471 __fxstat64 directly.
25472 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25473 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25475 (freopen64) [!_G_OPEN64]: Remove conditional code.
25476 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25478 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25479 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25481 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25482 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25484 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25485 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25487 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25488 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25490 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25491 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25493 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25494 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25496 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25498 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25501 * manual/memory.texi (Malloc Tunable Parameters): Add note
25502 about free list pointers overwriting some perturb bytes.
25503 Wording suggested by Roland McGrath.
25505 2012-10-17 Joseph Myers <joseph@codesourcery.com>
25507 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25508 (lgamma_test): Likewise.
25509 (tgamma_test): Likewise.
25511 2012-10-16 Florian Weimer <fweimer@redhat.com>
25514 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25515 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25517 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25519 * NEWS: Mention BZ #14716.
25520 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25521 when removing AVAILABLE1_USES_J macro.
25523 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25525 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25526 (__bswap_64): __uint64_t for unsigned 64-bit int.
25528 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25530 * include/string.h (memmem): Declare libc hidden alias.
25531 * string/memmem.c (memmem): Define libc hidden alias.
25532 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25533 __read, __close instead of open, read, close.
25535 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25538 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25540 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25541 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25542 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25544 (__rawmemchr_sse2): Likewise.
25545 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25546 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25547 (__strchr_sse2): Likewise.
25548 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25549 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25550 (__strcasecmp_sse2): Likewise.
25551 (__strncasecmp_sse2): Likewise.
25552 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25553 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25554 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25555 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25556 (__strrchr_sse2): Likewise.
25557 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25559 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25560 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25561 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25562 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25563 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25564 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25565 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25566 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25567 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25568 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25569 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25570 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25571 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25572 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25573 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25574 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25575 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25576 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25577 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25578 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25579 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25580 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25581 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25582 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25583 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25584 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25585 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25586 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25587 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25588 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25590 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25592 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25593 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25594 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25595 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25597 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25599 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25600 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25601 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25602 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25604 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25605 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25606 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25607 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25608 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25609 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25610 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25611 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25612 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25613 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25614 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25615 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25616 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25617 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25618 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25619 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25620 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25621 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25622 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25623 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25624 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25625 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25626 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25627 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25629 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25630 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25632 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25633 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25634 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25635 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25636 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25637 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25638 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25639 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25640 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25643 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25646 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25647 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25648 * include/ifunc-impl-list.h: New file.
25649 * misc/ifunc-impl-list.c: Likewise.
25650 * misc/Makefile (routines): Add ifunc-impl-list.
25651 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25652 * string/test-string.h: Include <ifunc-impl-list.h>.
25653 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25654 TEST_NAME]: New variables.
25655 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25657 (test_init): Call __libc_ifunc_impl_list to initialize
25658 func_list if TEST_IFUNC and TEST_NAME are defined.
25660 * string/Makefile (strop-tests): Add bcopy and bzero.
25661 * string/test-bcopy.c: New file.
25662 * string/test-bzero.c: Likewise.
25663 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25665 * string/test-memset.c: Support bzero test if TEST_BZERO is
25667 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25669 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25671 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25674 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25676 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25677 * configure: Regenerated.
25679 * Makeconfig (+link-static-before-libc): Don't include
25680 $(link-static-libc).
25682 * libio/libio.h (_IO_pos_t): Remove.
25684 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25686 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25689 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25691 * crypt/crypt-entry.c: Include fips-private.h.
25692 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25693 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25694 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25695 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25697 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25699 * crypt/crypt-private.h: Include stdbool.h.
25700 (_ufc_setup_salt_r): Return bool.
25701 * crypt/crypt-entry.c: Include errno.h.
25702 (__crypt_r): Return NULL with EINVAL for bad salt.
25703 * crypt/crypt_util.c (bad_for_salt): New.
25704 (_ufc_setup_salt_r): Check that salt is long enough and within
25705 the specified alphabet.
25706 * crypt/badsalttest.c: New file.
25707 * crypt/Makefile (tests): Add it.
25708 ($(objpfx)badsalttest): New.
25710 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25712 * NEWS: Add entry for BZ #14602.
25714 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25716 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25718 * math/libm-test.inc: Update comment listing what functions and
25720 (isgreater_test): New function.
25721 (isgreaterequal_test): Likewise.
25722 (isless_test): Likewise.
25723 (islessequal_test): Likewise.
25724 (islessgreater_test): Likewise.
25725 (isunordered_test): Likewise.
25726 (main): Call the new functions.
25728 2012-10-09 Roland McGrath <roland@hack.frob.com>
25730 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25731 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25732 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25733 * sysdeps/i386/configure: Regenerated.
25734 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25735 * sysdeps/mach/configure: Regenerated.
25736 * sysdeps/mach/hurd/configure: Regenerated.
25737 * sysdeps/powerpc/configure: Regenerated.
25738 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25739 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25740 * sysdeps/s390/s390-32/configure: Regenerated.
25741 * sysdeps/s390/s390-64/configure: Regenerated.
25742 * sysdeps/sh/configure: Regenerated.
25743 * sysdeps/sparc/configure: Regenerated.
25744 * sysdeps/unix/sysv/linux/configure: Regenerated.
25745 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25746 * sysdeps/x86_64/configure: Regenerated.
25748 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25749 defined. Don't check if MAP is NULL.
25751 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25753 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25754 (_G_stat64): Likewise.
25755 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25756 (_G_stat64): Likewise.
25757 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25758 instead of struct _G_stat64.
25759 * libio/fileops.c (mmap_remap_check): Likewise.
25760 (decide_maybe_mmap): Likewise.
25761 (_IO_new_file_seekoff): Likewise.
25762 (_IO_file_stat): Likewise.
25763 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25765 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25766 instead of struct _G_stat64.
25767 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25769 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25772 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25774 (CHECK_EOL): New macro.
25775 (two_way_short_needle): Check beginning of haystack for EOL. Use
25777 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25778 Replace with CHECK_EOL.
25779 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25780 Replace with CHECK_EOL.
25782 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25784 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25786 * math/libm-test.inc: Update comment listing what functions and
25788 (finite_test): New function.
25789 (isinf_test): Likewise.
25790 (isnan_test): Likewise.
25791 (fpclassify_test): Test subnormal input.
25792 (isfinite_test): Likewise.
25793 (isnormal_test): Likewise.
25794 (main): Call the new functions.
25796 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25799 * Makerules (%.dynsym): Force C locale when running
25800 $(OBJDUMP) --dynamic-syms.
25802 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25804 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25807 2012-10-06 David S. Miller <davem@davemloft.net>
25809 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25810 upper 32-bits of the length value in %o2 since we use branch-on-register
25811 tests which consider the entire 64-bit register.
25813 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25815 * string/test-strstr.c (check2): Add a test for page boundary.
25817 2012-10-05 David S. Miller <davem@davemloft.net>
25819 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25820 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25822 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25824 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25825 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25826 and bzero when HWCAP_SPARC_CRYPTO is present.
25828 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25831 * string/test-strstr.c (check2): New function.
25832 (test_main): Call check2.
25834 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25836 * string/bug-strcasestr1.c (do_test): Moved to ...
25837 * string/test-strcasestr.c (check1): Here. New function.
25838 (do_one_test): Break out result checking code into ...
25839 (check_result): This. New function.
25840 (do_one_test): Call check_result.
25841 (test_main): Call check1.
25842 * string/bug-strchr1.c (do_test): Moved to ...
25843 * string/test-strchr.c (check1): Here. New function.
25844 (do_one_test): Break out result checking code into ...
25845 (check_result): This. New function.
25846 (do_one_test): Call check_result.
25847 (test_main): Call check1.
25848 * string/bug-strstr1.c (main): Moved to ...
25849 * string/test-strstr.c (check1): Here. New function.
25850 (do_one_test): Break out result checking code into ...
25851 (check_result): This. New function.
25852 (do_one_test): Call check_result.
25853 (test_main): Call check1.
25854 * string/bug-strcasestr1.c: Removed.
25855 * string/bug-strchr1.c: Likewise.
25856 * string/bug-strstr1.c: Likewise.
25858 * elf/Makefile (dl-routines): Add hwcaps.
25859 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25860 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25861 (_dl_important_hwcaps): Moved to ...
25862 * elf/dl-hwcaps.c: Here. New file.
25863 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25866 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25867 if IS_IN_rtld isn't defined.
25869 * elf/dl-support.c (_dl_sysinfo_map): New.
25870 Include "get-dynamic-info.h" and "setup-vdso.h".
25871 (_dl_non_dynamic_init): Call setup_vdso.
25872 * elf/dynamic-link.h: Don't include <assert.h>.
25873 (elf_get_dynamic_info): Moved to ...
25874 * elf/get-dynamic-info.h: Here. New file.
25875 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25876 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25877 * elf/setup-vdso.h: Here. New file.
25878 * elf/rtld.c: Include "setup-vdso.h".
25879 (dl_main): Call setup_vdso.
25881 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25883 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25884 creal in comment listing functions tested. List finite, isinf,
25885 isnan, isless, islessequal, isgreater, isgreaterequal,
25886 islessgreater, isunordered, lgamma_r and pow10 as functions and
25887 macros not tested. Mention which functions not tested are aliases
25888 for other functions. Fix typo. Note that signs of NaNs are not
25891 * scripts/config.guess: Update from config.git.
25892 * scripts/config.sub: Likewise.
25894 2012-10-04 Roland McGrath <roland@hack.frob.com>
25896 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25897 * misc/madvise.c (madvise): Renamed to __madvise.
25898 Make madvise a weak alias.
25899 * include/sys/mman.h: Declare __madvise.
25900 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25901 * sysdeps/unix/syscalls.list
25902 (madvise): Make __madvise the strong name, and madvise a weak alias.
25903 * sysdeps/unix/sysv/linux/syscalls.list
25904 (madvise, mmap): Remove redundant entries.
25905 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25906 * malloc/malloc.c (mtrim): Likewise.
25907 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25909 2012-10-03 Roland McGrath <roland@hack.frob.com>
25911 * sysdeps/mach/hurd/dl-cache.c: File removed.
25912 * config.h.in (USE_LDCONFIG): New #undef.
25913 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25914 * configure: Regenerated.
25915 * elf/Makefile (dl-routines): Add dl-cache only under
25916 [$(use-ldconfig) = yes].
25917 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25918 cache on [USE_LDCONFIG].
25919 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25921 * elf/rtld.c (dl_main): Likewise.
25923 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25925 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25926 _SC_LEVEL4_CACHE_LINESIZE.
25928 2012-10-03 Roland McGrath <roland@hack.frob.com>
25930 * sysdeps/unix/bsd/confstr.h: File removed.
25932 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25934 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25937 2012-10-02 Roland McGrath <roland@hack.frob.com>
25939 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25940 Make 'mapoff' field ElfW(Off) rather than off_t.
25942 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25944 * nscd/Makefile: Remove nscd-cflags and all its users.
25945 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25946 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25949 * malloc.c (malloc_printerr): Clarify error message.
25951 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25955 Set bit_FMA_Usable if FMA is supported.
25956 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25958 (bit_FMA4_Usable): Updated.
25959 (index_FMA_Usable): New macro.
25960 (CPUID_FMA): Likewise
25961 (HAS_FMA): Defined with bit_FMA_Usable.
25963 2012-10-01 Roland McGrath <roland@hack.frob.com>
25965 * bits/types.h (__swblk_t): Type removed.
25966 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25967 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25969 (__SWBLK_T_TYPE): Likewise.
25970 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25971 (__SWBLK_T_TYPE): Likewise.
25972 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25973 (__SWBLK_T_TYPE): Likewise.
25974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25975 (__SWBLK_T_TYPE): Likewise.
25977 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25978 Honza Horak <hhorak@redhat.com>
25980 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25981 (xdr_mapname): Use YPMAXMAP as maxsize.
25982 (xdr_peername): Use YPMAXPEER as maxsize.
25983 (xdr_keydat): Use YPAXRECORD as maxsize.
25984 (xdr_valdat): Use YPMAXRECORD as maxsize.
25986 2012-10-01 Roland McGrath <roland@hack.frob.com>
25988 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25990 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25991 * csu/init-first.c: ... here.
25992 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25993 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25994 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25995 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25996 * sysdeps/i386/init-first.c: File removed.
25997 * sysdeps/sh/init-first.c: File removed.
25999 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26003 if x * y might underflow to zero and z is zero.
26004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26005 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26006 * math/libm-test.inc (min_subnorm_value): New variable.
26007 (fma_test): Add more tests.
26008 (fma_test_towardzero): Likewise.
26009 (fma_test_downward): Likewise
26010 (fma_test_upward): Likewise.
26011 (initialize): Set min_subnorm_value.
26013 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26019 mode for addition resulting in exact zero.
26020 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26023 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26025 * math/libm-test.inc (fma_test): Add more tests.
26026 (fma_test_towardzero): New function.
26027 (fma_test_downward): Likewise.
26028 (fma_test_upward): Likewise.
26029 (main): Call the new functions.
26031 2012-09-28 David S. Miller <davem@davemloft.net>
26033 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26035 2012-09-28 Roland McGrath <roland@hack.frob.com>
26037 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26038 instead of SIGALRM.
26040 * sysdeps/gnu/_G_config.h: Moved to ...
26041 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26042 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26043 * sysdeps/generic/_G_config.h: ... here.
26045 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26047 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26049 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26050 Conditionalize target on [libnss_test1.so-version].
26052 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26054 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26055 (elfobjdir): Move out of conditionals.
26057 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26058 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26059 (__nss_lookup_function): Conditionalize label remove_from_tree on
26060 [!DO_STATIC_NSS || SHARED], matching its only use.
26062 2012-09-28 David S. Miller <davem@davemloft.net>
26064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26065 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26067 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26069 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26071 when HWCAP_SPARC_CRYPTO is present.
26073 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26075 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26077 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26080 * stdio-common/vfprintf.c (process_string_arg): Revert
26083 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26085 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26087 * stdio-common/tst-sprintf.c: Include <locale.h>
26088 (main): Test sprintf's handling of incomplete multibyte
26091 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26093 * elf/dl-runtime.c (VERSYMIDX): Removed.
26094 * elf/dl-version.c (VERSYMIDX): Likewise.
26095 * elf/do-rel.h (VERSYMIDX): Likewise.
26096 (VALIDX): Likewise.
26097 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26098 * elf/rtld.c (VALIDX): Likewise.
26099 (ADDRIDX): Likewise.
26100 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26101 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26102 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26103 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26104 (VALIDX): Likewise.
26105 (ADDRIDX): Likewise.
26107 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26109 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26111 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26114 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26116 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26117 addresses are in the same scope as 192.0.2/24.
26118 * posix/gai.conf: Document new scope table defaults.
26120 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26123 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26124 for ftell. Compute offsets from write pointers instead.
26125 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26127 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26130 * libio/Makefile (tests): New test case tst-fseek.
26131 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26132 combination works in wide mode.
26133 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26134 state when the external buffer state changes.
26136 2012-09-27 David S. Miller <davem@davemloft.net>
26139 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26140 pass reloc->r_addend in as the 'high' argument to
26141 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26145 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26147 * rt/tst-aio2.c: Include <pthread.h>.
26148 * rt/tst-aio3.c: Likewise.
26150 2012-09-27 Steve Ellcey <sellcey@mips.com>
26152 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26154 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26156 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26157 contents on [SHARED].
26159 2012-09-26 Marek Polacek <polacek@redhat.com>
26163 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26164 for C++ and GCC <4.3 as well as for non GCC compilers.
26166 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26170 2012-09-25 Roland McGrath <roland@hack.frob.com>
26172 * Makefile.in (all, install): Declare with .PHONY.
26173 Reported by Michael Hope <michael.hope@linaro.org>.
26175 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26177 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26178 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26180 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26182 (sydep_routines): Add the new and the internal functions.
26183 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26184 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26186 (GLIBC_2.17): Add the new function.
26187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26188 (GLIBC_2.17): Likewise.
26189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26190 (GLIBC_2.17): Likewise.
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26192 (GLIBC_2.17): Likewise.
26193 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26195 2012-09-25 Alan Modra <amodra@gmail.com>
26197 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26198 Add release barrier before setting once_control to say
26199 initialisation is done. Add hints on lwarx. Use macro in
26201 (clear_once_control): Add release barrier.
26203 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26206 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26208 * math/s_clog10.c (__clog10): Likewise.
26209 * math/s_clog10f.c (__clog10f): Likewise.
26210 * math/s_clog10l.c (__clog10l): Likewise.
26211 * math/s_clogf.c (__clogf): Likewise.
26212 * math/s_clogl.c (__clogl): Likewise.
26213 * math/Makefile (libm-calls): Add x2y2m1.
26214 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26215 (__x2y2m1): Likewise.
26216 (__x2y2m1l): Likewise.
26217 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26218 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26221 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26222 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26223 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26224 * sysdeps/i386/fpu/libm-test-ulps: Update.
26225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26228 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26229 int as type of variable DEPTH.
26230 (glob): Use size_t instead of int as type of variables NEWCOUNT
26233 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26235 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26236 Add s_sincosf-sse2.
26237 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26238 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26239 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26240 macros for using routine as __sincosf_ia32.
26241 Use macro for function declaration and weak_alias.
26242 * sysdeps/i386/fpu/libm-test-ulps: Update.
26244 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26247 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26248 subnormal argument.
26249 * math/s_cexpf.c (__cexpf): Likewise.
26250 * math/s_csinf.c (__csinf): Likewise.
26251 * math/s_csinhf.c (__csinhf): Likewise.
26252 * math/s_ctanf.c (__ctanf): Likewise.
26253 * math/s_ctanhf.c (__ctanhf): Likewise.
26254 * math/s_ccosh.c (__ccoshf): Likewise.
26255 * math/s_cexp.c (__cexpl): Likewise.
26256 * math/s_csin.c (__csin): Likewise.
26257 * math/s_csinh.c (__csinh): Likewise.
26258 * math/s_ctan.c (__ctan): Likewise.
26259 * math/s_ctanh.c (ctanh): Likewise.
26260 * math/s_ccoshl.c (__ccoshl): Likewise.
26261 * math/s_cexpl.c (__cexpl): Likewise.
26262 * math/s_csinl.c (__csinl): Likewise.
26263 * math/s_csinhl.c (__csinhl): Likewise.
26264 * math/s_ctanl.c (__ctanl): Likewise.
26265 * math/s_ctanhl.c (__ctanhl): Likewise.
26267 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26269 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26270 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26271 (_IO_off_t): Define to __off_t, not _G_off_t.
26272 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26273 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26274 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26275 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26276 type of __dummy and __dummy2 fields.
26277 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26278 (_G_ssize_t): Likewise.
26279 (_G_off_t): Likewise.
26280 (_G_pid_t): Likewise.
26281 (_G_uid_t): Likewise.
26282 (_G_wchar_t): Likewise.
26283 (_G_wint_t): Likewise.
26284 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26285 (_G_ssize_t): Likewise.
26286 (_G_off_t): Likewise.
26287 (_G_pid_t): Likewise.
26288 (_G_uid_t): Likewise.
26289 (_G_wchar_t): Likewise.
26290 (_G_wint_t): Likewise.
26291 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26292 (_G_ssize_t): Likewise.
26293 (_G_off_t): Likewise.
26294 (_G_pid_t): Likewise.
26295 (_G_uid_t): Likewise.
26296 (_G_wchar_t): Likewise.
26297 (_G_wint_t): Likewise.
26299 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26301 * malloc/arena.c: Include malloc-sysdep.h.
26302 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26303 is sufficient to shrink the heap or an unmap is needed.
26304 * sysdeps/generic/malloc-sysdep.h: New file. Define
26305 new function check_may_shrink_heap.
26306 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26307 new function check_may_shrink_heap.
26309 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26311 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26314 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26316 * catgets/test-gencat.sh: Add "set -e".
26317 * elf/tst-pathopt.sh: Likewise.
26318 * grp/tst_fgetgrent.sh: Likewise.
26319 * iconvdata/run-iconv-test.sh: Likewise.
26320 * intl/tst-gettext.sh: Likewise.
26321 * intl/tst-gettext2.sh: Likewise.
26322 * intl/tst-gettext4.sh: Likewise.
26323 * intl/tst-gettext6.sh: Likewise.
26324 * intl/tst-translit.sh: Likewise.
26325 * io/ftwtest-sh: Likewise.
26326 * libio/test-freopen.sh: Likewise.
26327 * malloc/tst-mtrace.sh: Likewise.
26328 * posix/globtest.sh: Likewise.
26329 * posix/tst-getconf.sh: Likewise.
26330 * posix/wordexp-tst.sh: Likewise.
26331 * stdio-common/tst-printf.sh: Likewise.
26332 * stdio-common/tst-unbputc.sh: Likewise.
26333 * stdlib/tst-fmtmsg.sh: Likewise.
26334 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26335 * catgets/Makefile: Do not specify -e option when running
26336 testsuite shell scripts.
26337 * elf/Makefile: Likewise.
26338 * grp/Makefile: Likewise.
26339 * iconvdata/Makefile: Likewise.
26340 * intl/Makefile: Likewise.
26341 * io/Makefile: Likewise.
26342 * libio/Makefile: Likewise.
26343 * malloc/Makefile: Likewise.
26344 * posix/Makefile: Likewise.
26345 * stdio-common/Makefile: Likewise.
26346 * stdlib/Makefile: Likewise.
26347 * sysdeps/x86_64/Makefile: Likewise.
26349 * io/ftwtest-sh: Add copyright header.
26350 * posix/globtest.sh: Likewise.
26351 * posix/tst-getconf.sh: Likewise.
26352 * posix/wordexp-tst.sh: Likewise.
26353 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26355 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26358 * Makeconfig (+link): Defined as $(+link-static) if
26359 $(build-shared) isn't yes.
26360 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26362 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26364 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26367 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26368 new chunk size with MALLOC_ALIGN_MASK.
26370 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26373 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26375 (__printf_fphex): Determine rounding using get_rounding_mode and
26377 * stdio-common/tst-printf-round.c (struct hex_test): New
26379 (hex_tests): New variable.
26380 (test_hex_in_one_mode): New function.
26381 (do_test): Also run tests for hex float output.
26383 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26385 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26386 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26387 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26388 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26389 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26390 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26391 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26392 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26394 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26396 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26397 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26398 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26399 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26401 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26404 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26406 * elf/tst-rtld-load-self.sh: New test.
26407 * elf/Makefile: Run it.
26409 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26411 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26412 (tst-writev-ENV): Remove.
26413 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26415 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26417 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26419 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26421 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26423 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26425 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26426 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26427 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26430 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26433 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26434 * config.make.in (have-cpp-asm-debuginfo): Removed.
26435 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26436 * configure: Regenerated.
26438 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26441 * stdio-common/printf_fp.c: Include <stdbool.h> and
26443 (___printf_fp): Determine rounding using get_rounding_mode and
26445 * stdio-common/tst-printf-round.c: New file.
26446 * stdio-common/Makefile (tests): Add tst-printf-round.
26447 (link-libm): New variable.
26448 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26450 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26453 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26454 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26456 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26459 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26461 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26462 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26463 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26464 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26466 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26469 * include/rounding-mode.h: New file.
26470 * sysdeps/generic/get-rounding-mode.h: Likewise.
26471 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26472 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26473 (MAX_VALUE): New macro.
26474 (MIN_VALUE): Likewise.
26475 (overflow_value): New function.
26476 (underflow_value): Likewise.
26477 (round_and_return): Use overflow_value and underflow_value to
26478 determine return values in overflow and underflow cases. Use
26479 round_away to determine rounding depending on rounding mode.
26480 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26481 determine return values in overflow and underflow cases.
26482 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26483 (struct test_results): New structure.
26484 (struct test): Use struct test_results to store expected results
26485 for all rounding modes.
26486 (TEST): Include expected results for all rounding modes.
26487 (test_in_one_mode): New function.
26488 (do_test): Use test_in_one_mode to compute and check results.
26489 Check results for all rounding modes.
26490 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26493 2012-12-09 Allan McRae <allan@archlinux.org>
26495 * sysdeps/i386/fpu/libm-test-ulps: Update
26497 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26499 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26500 (_G_int32_t): Likewise.
26501 (_G_uint16_t): Likewise.
26502 (_G_uint32_t): Likewise.
26503 (_G_HAVE_BOOL): Likewise.
26504 (_G_HAVE_ATEXIT): Likewise.
26505 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26506 (_G_HAVE_IO_FILE_OPEN): Likewise.
26507 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26508 (_G_int32_t): Likewise.
26509 (_G_uint16_t): Likewise.
26510 (_G_uint32_t): Likewise.
26511 (_G_HAVE_BOOL): Likewise.
26512 (_G_HAVE_ATEXIT): Likewise.
26513 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26514 (_G_HAVE_IO_FILE_OPEN): Likewise.
26515 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26516 (_G_int32_t): Likewise.
26517 (_G_uint16_t): Likewise.
26518 (_G_uint32_t): Likewise.
26519 (_G_HAVE_BOOL): Likewise.
26520 (_G_HAVE_ATEXIT): Likewise.
26521 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26522 (_G_HAVE_IO_FILE_OPEN): Likewise.
26524 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26526 * csu/libc-tls.c: Update copyright years.
26528 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26530 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26531 [!_G_USING_THUNKS]: Remove conditional code.
26532 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26533 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26535 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26536 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26537 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26538 (_G_VTABLE_LABEL_PREFIX): Likewise.
26539 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26540 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26541 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26542 (_G_VTABLE_LABEL_PREFIX): Likewise.
26543 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26544 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26545 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26546 (_G_VTABLE_LABEL_PREFIX): Likewise.
26547 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26549 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26551 * libio/Makefile: Include ../Makeconfig before tests.
26552 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26553 only if $(build-shared) is yes.
26555 * iconv/gconv_db.c: Update copyright years.
26557 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26559 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26560 unwind info if defined PIC. Fix special cases description.
26561 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26563 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26565 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26567 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26569 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26571 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26574 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26575 (LDLIBS-tst-chk4): This.
26576 (LDFLAGS-tst-chk5): Renamed to ...
26577 (LDLIBS-tst-chk5): This.
26578 (LDFLAGS-tst-chk6): Renamed to ...
26579 (LDLIBS-tst-chk6): This.
26580 (LDFLAGS-tst-lfschk4): Renamed to ...
26581 (LDLIBS-tst-lfschk4): This.
26582 (LDFLAGS-tst-lfschk5): Renamed to ...
26583 (LDLIBS-tst-lfschk5): This.
26584 (LDFLAGS-tst-lfschk6): Renamed to ...
26585 (LDLIBS-tst-lfschk6): This.
26587 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26588 on $(common-objpfx)soversions.mk.
26590 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26593 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26596 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26598 * malloc/arena.c (arena_get_retry): New function that gets
26599 another arena for the caller to try its request on.
26600 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26601 current arena cannot fulfill the request.
26602 (__libc_memalign): Likewise.
26603 (__libc_memalign): Likewise.
26604 (__libc_pvalloc): Likewise.
26605 (__libc_calloc): Likewise.
26607 2012-09-05 John Tobey <john.tobey@gmail.com>
26610 * manual/arith.texi (Operations on Complex): Fix description
26611 of carg branch cut.
26613 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26616 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26620 * manual/memory.texi (Memory): Make order of menu items match
26623 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26625 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26626 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26627 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26629 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26631 * csu/libc-tls.c (static_dtv): Renamed to ...
26632 (_dl_static_dtv): This. Make it global.
26633 (_dl_initial_dtv): Removed.
26634 (__libc_setup_tls): Updated.
26635 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26636 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26639 2012-09-06 Petr Machata <pmachata@redhat.com>
26641 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26642 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26643 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26644 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26646 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26649 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26650 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26653 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26656 * Makeconfig (link-static-before-libc): Replace $(+prector)
26658 (link-static-after-libc): Replace $(+postctor) with
26660 (link-bounded): Replace $(+prector)/$(+postctor) with
26661 $(+prectorT)/$(+postctorT).
26662 (+prectorT): New macro.
26663 (+postctorT): Likewise.
26665 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26667 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26668 (round_str): Handle values above the maximum for IBM long double
26670 * stdlib/tst-strtod-round.c (tests): Regenerated.
26672 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26674 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26676 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26677 zarch_nohighgprs around the zarch optimized routines.
26678 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26679 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26680 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26683 2012-09-05 David S. Miller <davem@davemloft.net>
26685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26687 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26688 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26689 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26690 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26693 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26695 * malloc/arena.c: Fold copyright years.
26696 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26698 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26700 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26702 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26704 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26706 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26708 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26709 change internal state upon failure.
26711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26713 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26714 * malloc/memusage.c (mmap): Likewise.
26715 (mmap64, mremap): Likewise. Adjust name in comment.
26717 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26719 * libio/fileops.c: Fix typos in comments.
26720 * libio/oldfileops.c: Likewise.
26721 * libio/wfileops.c: Likewise.
26723 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26726 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26727 (tst-malloc-usable-ENV): Set environment for test case.
26728 * malloc/hooks.c (malloc_check_get_size): New function to get
26730 * malloc/malloc.c (musable): Use malloc_check_get_size.
26731 * malloc/tst-malloc-usable.c: New test case.
26733 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26735 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26737 2012-09-05 Allan McRae <allan@archlinux.org>
26740 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26741 determine header location.
26742 * configure: Regenerated.
26744 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26746 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26748 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26749 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26751 (test): Regenerate.
26753 2012-09-04 David S. Miller <davem@davemloft.net>
26755 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26756 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26757 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26759 2012-09-04 Florian Weimer <fweimer@redhat.com>
26761 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26764 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26766 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26769 * libio/iogetdelim.c: Include <limits.h>.
26770 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26771 + len + 1 would overflow.
26773 2012-09-03 Andreas Jaeger <aj@suse.de>
26775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26776 * sysdeps/i386/fpu/libm-test-ulps: Update.
26778 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26780 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26781 Add s_sinf-sse2, s_conf-sse2.
26783 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26784 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26785 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26786 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26788 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26789 for using routine as __sinf_ia32.
26790 Use macro for function declaration and weak_alias.
26791 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26792 for using routine as __cosf_ia32.
26793 Use macro for function declaration and weak_alias.
26795 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26796 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26798 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26799 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26802 * math/libm-test.inc (cos_test): Add more test cases.
26803 (sin_test): Likewise.
26804 (sincos_test): Likewise.
26806 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26808 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26809 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26811 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26813 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26816 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26817 first element of the GOT.
26818 (elf_machine_load_address): Return the difference between
26819 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26821 2012-09-01 Allan McRae <allan@archlinux.org>
26824 * configure.in (AWK): Require gawk version 3.0 or later.
26825 * configure: Regenerated.
26827 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26829 * sysdeps/unix/sysv/linux/kernel-features.h
26830 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26831 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26832 [__NR_clock_getres]: Make code unconditional.
26833 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26834 (clock_getcpuclockid): Remove code left unreachable by removal of
26836 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26837 code unconditional.
26838 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26839 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26840 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26841 Make code unconditional.
26842 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26843 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26844 * sysdeps/unix/sysv/linux/clock_settime.c
26845 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26847 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26848 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26850 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26853 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26854 scripts/test-installation.pl.
26856 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26857 and $ld_so_version if it is set.
26859 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26863 failure if reading from procfs failed.
26864 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26866 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26868 * sysdeps/unix/sysv/linux/kernel-features.h
26869 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26870 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26871 Remove conditional code.
26872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26873 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26874 Remove conditional code.
26875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26876 * sysdeps/unix/sysv/linux/i386/fxstat.c
26877 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26878 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26879 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26880 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26881 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26882 * sysdeps/unix/sysv/linux/i386/lxstat.c
26883 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26885 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26886 Remove conditional code.
26887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26888 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26889 Remove conditional code.
26890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26891 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26892 <kernel-features.h>.
26893 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26895 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26896 Remove conditional code.
26897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26898 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26899 Remove conditional.
26901 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26904 * NEWS: Add fixed bug number.
26906 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26909 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26910 underflowing exponent in case of negative sign.
26911 * stdlib/tst-strtod-round-data: Add more tests.
26912 * stdlib/tst-strtod-round.c (tests): Regenerated.
26915 * stdlib/strtod_l.c (NDIG): Remove.
26916 (HEXNDIG): Likewise.
26917 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26918 smallest representable value.
26919 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26920 lie within an exact representation of 1/2 ulp of the result.
26921 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26923 (TENS_P9_IDX): Define unconditionally.
26924 (TENS_P9_SIZE): Likewise.
26925 (TENS_P10_IDX): Likewise.
26926 (TENS_P10_SIZE): Likewise.
26927 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26928 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26929 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26930 entries for 10^2^13 and 10^2^14.
26931 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26932 (TENS_P13_IDX): Define.
26933 (TENS_P13_SIZE): Likewise.
26934 (TENS_P14_IDX): Likewise.
26935 (TENS_P14_SIZE): Likewise.
26936 (_fpioconst_pow10): Change array size to
26937 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26939 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26940 1024]: Add entries for 10^2^13 and 10^2^14.
26941 [LAST_POW10 > _LAST_POW10]: Remove #error.
26942 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26943 (_fpioconst_pow10): Change array size to
26944 FPIOCONST_POW10_ARRAY_SIZE.
26945 * stdlib/gen-fpioconst.c: New file.
26946 * stdlib/gen-tst-strtod-round.c: Likewise.
26947 * stdlib/tst-strtod-round-data: Likewise.
26948 * stdlib/tst-strtod-round.c: Likewise.
26949 * stdlib/Makefile (tests): Add tst-strtod-round.
26952 * stdlib/strtod_l.c: Include <stdint.h>.
26953 (NDEBUG): Do not define.
26954 (round_and_return): Change EXPONENT parameter to type intmax_t.
26955 Rearrange calculations to avoid internal overflow possibilities.
26956 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26957 Rearrange calculations to avoid internal overflow possibilities.
26958 Assert that number fits inside MPNSIZE limbs.
26959 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26960 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26961 calculations and add assertions to avoid internal overflow
26962 possibilities. Add casts to avoid signed/unsigned operations.
26963 * stdlib/tst-strtod-overflow.c: New file.
26964 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26966 2012-08-25 Marek Polacek <polacek@redhat.com>
26968 * time/time.h: Fix some typos in comments.
26970 2012-08-23 Roland McGrath <roland@hack.frob.com>
26972 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26973 * posix/tst-rfc3484-2.c: Likewise.
26974 * posix/tst-rfc3484-3.c: Likewise.
26976 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26978 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26979 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26981 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26983 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26984 #include of fxstatat64.c.
26986 2012-08-22 Roland McGrath <roland@hack.frob.com>
26988 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26989 * shadow/getspent_r.c: Likewise.
26990 * shadow/getspnam.c: Likewise.
26991 * shadow/getspnam_r.c: Likewise.
26992 * gshadow/getsgent.c: Likewise.
26993 * gshadow/getsgent_r.c: Likewise.
26994 * gshadow/getsgnam.c: Likewise.
26995 * gshadow/getsgnam_r.c: Likewise.
26996 * inet/getnetbyad.c: Likewise.
26997 * inet/getnetbyad_r.c: Likewise.
26998 * inet/getnetbynm.c: Likewise.
26999 * inet/getnetbynm_r.c: Likewise.
27000 * inet/getnetent.c: Likewise.
27001 * inet/getnetent_r.c: Likewise.
27002 * inet/getproto.c: Likewise.
27003 * inet/getproto_r.c: Likewise.
27004 * inet/getprtent.c: Likewise.
27005 * inet/getprtent_r.c: Likewise.
27006 * inet/getprtname.c: Likewise.
27007 * inet/getprtname_r.c: Likewise.
27008 * inet/getrpcbyname.c: Likewise.
27009 * inet/getrpcbyname_r.c: Likewise.
27010 * inet/getrpcbynumber.c: Likewise.
27011 * inet/getrpcbynumber_r.c: Likewise.
27012 * inet/getrpcent.c: Likewise.
27013 * inet/getrpcent_r.c: Likewise.
27014 * inet/getaliasent.c: Likewise.
27015 * inet/getaliasent_r.c: Likewise.
27016 * inet/getaliasname.c: Likewise.
27017 * inet/getaliasname_r.c: Likewise.
27018 * nscd/getgrgid_r.c: Likewise.
27019 * nscd/getgrnam_r.c: Likewise.
27020 * nscd/gethstbyad_r.c: Likewise.
27021 * nscd/gethstbynm3_r.c: Likewise.
27022 * nscd/getpwnam_r.c: Likewise.
27023 * nscd/getpwuid_r.c: Likewise.
27024 * nscd/getsrvbynm_r.c: Likewise.
27025 * nscd/getsrvbypt_r.c: Likewise.
27026 * nscd/gai.c: Likewise.
27028 * configure.in (build_nscd): New substituted variable, set
27029 by --disable-build-nscd and defaults to $use_nscd.
27030 * configure: Regenerated.
27031 * config.make.in (build-nscd): New substituted variable.
27032 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27033 Change conditional to require [$(build-nscd) = yes] as well.
27034 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27037 * configure.in (use_nscd): New substituted variable, set by
27038 --disable-nscd. If enabled, define USE_NSCD.
27039 * configure: Regenerated.
27040 * config.h.in: Add USE_NSCD.
27041 * config.make.in (use-nscd): New substituted variable.
27042 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27043 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27044 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27045 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27046 (CFLAGS-getgrnam_r.c): Likewise.
27047 (CFLAGS-initgroups.c): Likewise.
27048 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27049 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27051 * inet/getnetgrent_r.c
27052 (nscd_setnetgrent): New function, broken out of ...
27053 (setnetgrent): ... here. Call it.
27054 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27055 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27056 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27057 * nscd/Makefile (routines, aux): Move definitions after include of
27058 Makeconfig. Conditionalize on [$(use-nscd) != no].
27059 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27060 Conditionalize on [USE_NSCD].
27061 (is_nscd, nscd_init_cb): Likewise.
27062 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27063 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27064 * nss/nss_db/db-init.c: Likewise.
27065 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27067 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27068 (make_request): Use it.
27069 (cache_valid_p): New function.
27070 (__check_pf): Use it.
27071 * NEWS: Add item for --disable-nscd.
27073 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27075 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27076 to support sed >= 4.2.1-20-ga9bf076.
27077 * configure: Regenerated.
27079 2012-08-22 Roland McGrath <roland@hack.frob.com>
27081 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27082 Conditionalize whole body on [IREL].
27084 2012-08-22 Jeff Law <law@redhat.com>
27087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27088 if the family is PF_UNSPEC.
27090 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27092 * Makerules (lib-version): Rename from V.
27093 (install-lib-nosubdir): Change V to lib-version.
27095 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27098 * powerpc32/power6/wcschr.c: New file.
27099 * powerpc32/power6/wcscpy.c: New file.
27100 * powerpc32/power6/wcsrchr.c: New file.
27101 * powerpc64/power6/wcschr.c: New file.
27102 * powerpc64/power6/wcscpy.c: New file.
27103 * powerpc64/power6/wcsrchr.c: New file.
27105 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27107 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27108 (two_way_short_needle): Use it.
27109 * string/strstr.c (AVAILABLE1_USES_J): Define.
27110 * string/strcasestr.c: Likewise.
27112 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27114 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27117 * NEWS: Add an entry.
27118 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27119 define their defaults.
27120 (two_way_short_needle): Detect end-of-string on-the-fly.
27121 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27122 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27123 * string/bug-strcasestr1.c: New test.
27124 * string/Makefile: Run it.
27126 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27129 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27130 the first character.
27132 2012-08-21 Roland McGrath <roland@hack.frob.com>
27134 * csu/elf-init.c (__libc_csu_irel): Function removed.
27135 * csu/libc-start.c (apply_irel): New function.
27136 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27138 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27140 * sysdeps/unix/sysv/linux/kernel-features.h
27141 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27142 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27143 <kernel-features.h>.
27144 [__NR_fadvise64_64]: Make code unconditional.
27145 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27146 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27147 !__NR_fadvise64_64)]: Likewise.
27148 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27149 !__NR_fadvise64_64))]: Likewise.
27150 [__NR_fadvise64]: Make code unconditional.
27151 [!__NR_fadvise64]: Remove conditional code.
27152 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27153 <kernel-features.h>.
27154 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27156 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27159 not include <kernel-features.h>.
27160 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27162 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27164 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27165 include <kernel-features.h>.
27166 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27168 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27171 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27174 slight instruction rearrangements per scrollpipe analysis.
27175 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27177 2012-08-20 Roland McGrath <roland@hack.frob.com>
27179 * manual/syslog.texi (syslog; vsyslog, closelog):
27180 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27181 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27183 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27184 DSOCAPS to match condition on defining it.
27186 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27188 * sysdeps/unix/sysv/linux/kernel-features.h
27189 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27191 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27192 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27194 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27195 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27197 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27198 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27200 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27201 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27203 * sysdeps/unix/sysv/linux/kernel-features.h
27204 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27205 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27207 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27208 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27209 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27210 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27211 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27212 Make code unconditional.
27213 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27214 (__mmap64) [!__NR_mmap2]: Likewise.
27215 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27216 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27217 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27218 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27219 [__NR_mmap2]: Make code unconditional.
27220 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27221 (__mmap64) [!__NR_mmap2]: Likewise.
27223 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27225 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27227 2012-08-18 Andreas Jaeger <aj@suse.de>
27229 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27231 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27233 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27234 * include/unistd.h (__have_sock_cloexec): Likewise.
27235 (__have_pipe2): Likewise.
27236 (__have_dup3): Likewise.
27238 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27241 * include/unistd.h (__have_pipe2): Change define into an extern int.
27242 (__have_dup3): Likewise.
27243 * socket/have_sock_cloexec.c: Include fcntl.h.
27244 (__have_pipe2): New variable.
27245 (__have_dup3): Likewise.
27247 2012-08-17 Mike Frysinger <vapier@gentoo.org>
27249 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27251 2012-08-17 Marek Polacek <polacek@redhat.com>
27253 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27254 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27256 2012-08-17 Roland McGrath <roland@hack.frob.com>
27258 * configure.in: Add AC_SUBST for sysheaders.
27259 * configure: Regenerated.
27260 * config.make.in (sysheaders): New substituted variable.
27262 * sysdeps/unix/mkfifo.c: Moved ...
27263 * sysdeps/posix/mkfifo.c: ... here.
27264 * sysdeps/unix/mkfifoat.c: Moved ...
27265 * sysdeps/posix/mkfifoat.c: ... here.
27267 * sysdeps/unix/utime.c: Moved ...
27268 * sysdeps/posix/utime.c: ... here.
27270 * sysdeps/unix/time.c: Moved ...
27271 * sysdeps/posix/time.c: ... here.
27272 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27273 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27275 * sysdeps/unix/nice.c: Moved ...
27276 * sysdeps/posix/nice.c: ... here.
27278 * sysdeps/unix/alarm.c: Moved ...
27279 * sysdeps/posix/alarm.c: ... here.
27281 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27283 2012-08-17 Jeff Law <law@redhat.com>
27285 * intl/Makefile (codeset_mo): New variable.
27286 ($(codeset_mo)): New target.
27287 (tst-codeset.out): Depend on that. Remove explicit rule.
27288 (tst-gettext3.out, tst-gettext5.out): Likewise.
27289 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27290 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27291 * intl/tst-codeset.sh: Remove.
27292 * intl/tst-gettext3.sh: Likewise.
27293 * intl/tst-gettext5.sh: Likewise.
27295 2012-08-17 Roland McGrath <roland@hack.frob.com>
27297 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27298 * sysdeps/unix/syscalls.list: ... here.
27300 * sysdeps/posix/getaddrinfo.c
27301 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27302 (gaiconf_init, gaiconf_reload): Use them.
27303 [!_STATBUF_ST_NSEC]
27304 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27305 Define using time_t rather than struct timespec.
27307 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27308 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27310 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27312 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27313 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27316 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27317 __libc_cleanup_push argument.
27319 * bits/param.h: New file.
27320 * misc/sys/param.h: New file.
27321 * include/sys/param.h: New file.
27322 * misc/Makefile (headers): Add bits/param.h.
27323 * sysdeps/generic/sys/param.h: File removed.
27324 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27325 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27326 * sysdeps/mach/hurd/bits/param.h: New file.
27327 * sysdeps/mach/hurd/sys/param.h: File removed.
27329 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27332 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27334 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27335 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27338 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27339 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27340 rather than -D_IO_MTSAFE_IO conditionally.
27341 * stdio-common/Makefile (CPPFLAGS): Likewise.
27342 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27343 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27344 Use $(libio-mtsafe).
27345 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27346 of -D_IO_MTSAFE_IO.
27347 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27348 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27349 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27350 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27351 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27352 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27353 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27354 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27355 (CFLAGS-fread_u_chk.c): Likewise.
27356 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27357 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27358 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27359 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27360 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27361 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27362 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27363 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27364 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27366 * libio/Makefile: Test [$(libc-reentrant) = yes]
27367 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27370 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27371 * sysdeps/pthread/configure: File removed.
27372 * sysdeps/pthread/Makeconfig: New file.
27373 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27374 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27376 2012-08-16 Gary Benson <gbenson@redhat.com>
27378 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27379 unmapping the first object in a namespace.
27381 2012-08-16 Roland McGrath <roland@hack.frob.com>
27383 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27384 (__internal_setnetgrent): ... this. Add internal_function to
27385 definition. Add libc_hidden_def.
27386 (setnetgrent): Update caller.
27387 (internal_endnetgrent): Renamed to ...
27388 (__internal_endnetgrent): ... this. Add internal_function to
27389 definition. Add libc_hidden_def.
27390 (endnetgrent): Update caller.
27391 (internal_getnetgrent_r): Renamed to ...
27392 (__internal_getnetgrent_r): ... this. Add internal_function to
27393 definition. Add libc_hidden_def.
27394 (__getnetgrent_r): Update caller.
27395 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27397 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27399 * stdlib/longlong.h: Update from GCC.
27401 2012-08-16 Roland McGrath <roland@hack.frob.com>
27403 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27404 on _QL, which is set by umul_ppmm but never used.
27405 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27406 variables, which are set by GMP macros but never used.
27407 * stdio-common/_itowa.c (_itowa): Likewise.
27408 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27409 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27411 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27413 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27414 struct La_sh_regs is not constant.
27415 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27416 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27417 and struct La_sparc64_regs are not constant.
27419 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27421 * sysdeps/unix/sysv/linux/kernel-features.h
27422 (__ASSUME_POSIX_TIMERS): Remove.
27423 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27424 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27425 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27426 Make code unconditional.
27427 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27428 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27429 Make code unconditional.
27430 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27431 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27432 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27433 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27434 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27435 Make code unconditional.
27436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27437 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27438 (__libc_missing_posix_timers): Remove.
27440 2012-08-15 Roland McGrath <roland@hack.frob.com>
27442 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27443 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27445 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27447 * elf/dl-sym.c: Include <stdlib.h>.
27449 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27450 constants, which avoids warnings in 32-bit builds.
27452 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27453 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27455 * misc/lseek.c: File moved to ...
27456 * io/lseek.c: ... here.
27458 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27460 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27461 shifting LEN more than 31 bits at once.
27463 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27466 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27467 segmentation fault for a case of two empty input strings.
27468 * string/test-strncasecmp.c (check1): Renamed to...
27469 (bz12205): ...this.
27470 (bz14195): Add new testcase for two empty input strings and N > 0.
27471 (test_main): Call new testcase, adapt for renamed function.
27473 2012-08-15 Andreas Jaeger <aj@suse.de>
27476 * crypt/md5test2.c: New test, based on test supplied by Serge
27477 Belyshev <belyshev@depni.sinp.msu.ru>.
27478 * crypt/Makefile (xtests): Add md5test-giant..
27479 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27481 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27484 * crypt/md5.c (md5_process_block): Don't assume the buffer
27485 length is less than 2**32.
27486 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27487 length is less than 2**64.
27489 2012-08-15 Roland McGrath <roland@hack.frob.com>
27491 * string/str-two-way.h: Include <sys/param.h>.
27492 (MAX): Macro removed.
27494 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27495 Move #define and #undef of memmove to just before and after
27496 including <string.h>.
27498 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27499 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27500 and after including <string.h>. Move declarations of
27501 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27502 to before #include "string/memmove.c".
27504 * include/dirent.h: Declare __getdirentries.
27506 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27507 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27509 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27511 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27512 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27513 * sysdeps/i386/configure: Regenerated.
27514 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27515 STABS_CURRENT_FILE, and STABS_FUN.
27516 (END): Remove call to STABS_FUN_END.
27517 (STABS_CURRENT_FILE1): Delete.
27518 (STABS_CURRENT_FILE): Likewise.
27519 (STABS_FUN): Likewise.
27520 (STABS_FUN_END): Likewise.
27521 (STABS_FUN2): Likewise.
27522 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27523 * sysdeps/x86_64/configure: Regenerated.
27525 2012-08-14 Roland McGrath <roland@hack.frob.com>
27527 * elf/dl-open.c: Include <atomic.h>.
27528 * elf/dl-lookup.c: Likewise.
27530 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27532 * sysdeps/unix/sysv/linux/kernel-features.h
27533 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27534 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27536 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27538 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27539 condition on __ASSUME_CLONE_THREAD_FLAGS.
27541 2012-08-14 Andreas Jaeger <aj@suse.de>
27543 * sysdeps/i386/fpu/libm-test-ulps: Update.
27545 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27547 * include/atomic.h (atomic_exchange_and_add): Split into ...
27548 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27551 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27555 2012-08-13 Jeff Law <law@redhat.com>
27557 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27558 null byte in the output string.
27560 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27562 * sysdeps/unix/sysv/linux/kernel-features.h
27563 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27564 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27565 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27566 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27567 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27568 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27569 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27571 2012-08-09 Jeff Law <law@redhat.com>
27574 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27575 When avoid_arena is set, don't retry in the that arena. Pick the
27576 next one, whatever it might be.
27577 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27578 (arena_lock): Pass in new parameter to arena_get2.
27579 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27581 (__libc_malloc): Unify retrying after main arena failure with
27582 __libc_memalign version.
27583 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27585 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27588 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27589 to __redirect_strstr.
27590 (__strstr_sse42): Use typeof __redirect_strstr.
27591 (__strstr_ia32): Likewise.
27592 (__libc_strstr): New prototype.
27593 (strstr): Renamed to ...
27594 (__libc_strstr): This.
27595 (strstr): New strong alias of __libc_strstr.
27596 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27597 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27600 (__libc_time): New prototype.
27601 (time_ifunc): Replace time with __libc_time.
27602 (time): New strong alias and hidden definition of __libc_time.
27603 (__GI_time): Remove strong alias.
27604 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27605 Include <stddef.h>.
27606 (memmove): Redefined to __redirect_memmove.
27607 (__memmove_sse2): Use typeof __redirect_memmove.
27608 (__memmove_ssse3): Likewise.
27609 (__memmove_ssse3_back): Likewise.
27610 (__libc_memmove): New prototype.
27611 (memmove): Renamed to ...
27612 (__libc_memmove): This.
27613 (memmove): New strong alias of __libc_memmove.
27615 2012-08-08 Mark Salter <msalter@redhat.com>
27618 (R_MN10300_TLS_GD): Define.
27619 (R_MN10300_TLS_LD): Likewise.
27620 (R_MN10300_TLS_LDO): Likewise.
27621 (R_MN10300_TLS_GOTIE): Likewise.
27622 (R_MN10300_TLS_IE): Likewise.
27623 (R_MN10300_TLS_LE): Likewise.
27624 (R_MN10300_TLS_DTPMOD): Likewise.
27625 (R_MN10300_TLS_DTPOFF): Likewise.
27626 (R_MN10300_TLS_TPOFF): Likewise.
27627 (R_MN10300_SYM_DIFF): Likewise.
27628 (R_MN10300_ALIGN): Likewise.
27629 (R_MN10300_NUM): Update.
27631 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27636 2012-08-08 Roland McGrath <roland@hack.frob.com>
27638 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27640 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27641 sysdeps/unix -> sysdeps/posix move.
27642 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27644 2012-08-07 Allan McRae <allan@archlinux.org>
27647 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27648 (SUNOS_CPP): Likewise.
27649 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27651 (open_input): Call CPP using execvp.
27653 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27655 * sysdeps/unix/sysv/linux/kernel-features.h
27656 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27657 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27658 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27659 (__ASSUME_WAITID_SYSCALL): Likewise.
27660 * sysdeps/unix/sysv/linux/dl-execstack.c
27661 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27662 code unconditional.
27663 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27665 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27666 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27667 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27669 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27671 [__ASSUME_WAITID_SYSCALL]: Likewise.
27672 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27674 2012-08-07 Roland McGrath <roland@hack.frob.com>
27676 * sysdeps/unix/closedir.c: Renamed to ...
27677 * sysdeps/posix/closedir.c: ... here.
27678 * sysdeps/unix/dirfd.c: Renamed to ...
27679 * sysdeps/posix/dirfd.c: ... here.
27680 * sysdeps/unix/dirstream.h: Renamed to ...
27681 * sysdeps/posix/dirstream.h: ... here.
27682 * sysdeps/unix/fdopendir.c: Renamed to ...
27683 * sysdeps/posix/fdopendir.c: ... here.
27684 * sysdeps/unix/opendir.c: Renamed to ...
27685 * sysdeps/posix/opendir.c: ... here.
27686 * sysdeps/unix/readdir.c: Renamed to ...
27687 * sysdeps/posix/readdir.c: ... here.
27688 * sysdeps/unix/readdir_r.c: Renamed to ...
27689 * sysdeps/posix/readdir_r.c: ... here.
27690 * sysdeps/unix/rewinddir.c: Renamed to ...
27691 * sysdeps/posix/rewinddir.c: ... here.
27692 * sysdeps/unix/seekdir.c: Renamed to ...
27693 * sysdeps/posix/seekdir.c: ... here.
27694 * sysdeps/unix/telldir.c: Renamed to ...
27695 * sysdeps/posix/telldir.c: ... here.
27696 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27697 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27698 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27699 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27701 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27702 * bits/fcntl.h: ... here.
27704 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27706 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27707 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27708 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27709 (struct flock): Move l_start, l_len to the beginning.
27710 Use __pid_t for l_pid.
27711 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27712 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27713 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27714 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27715 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27716 [__USE_LARGEFILE64] (struct flock64): New type.
27717 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27719 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27720 * bits/dirent.h: ... here.
27722 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27723 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27725 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27728 Change from 2.6.0 to 2.6.16.
27729 * sysdeps/unix/sysv/linux/configure: Regenerated.
27730 * sysdeps/unix/sysv/linux/kernel-features.h
27731 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27732 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27734 (__ASSUME_UTIMES): Likewise.
27735 (__ASSUME_CLONE_STOPPED): Remove.
27736 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27737 architectures, not kernel version.
27738 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27739 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27740 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27741 (__ASSUME_WAITID_SYSCALL): Likewise.
27742 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27743 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27744 * README: State 2.6.16 as minimum Linux kernel version. Do not
27745 refer to older versions.
27747 2012-08-06 Roland McGrath <roland@hack.frob.com>
27749 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27750 Define alphasort64 as an alias.
27751 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27752 Define versionsort64 as an alias.
27753 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27754 Define scandir64 as an alias.
27755 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27756 Define scandirat64 as an alias.
27757 * dirent/alphasort64.c (alphasort64):
27758 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27759 * dirent/versionsort64.c: Likewise.
27760 * dirent/scandir64.c: Likewise.
27761 * dirent/scandirat64.c: Likewise.
27762 * sysdeps/wordsize-64/alphasort.c: File removed.
27763 * sysdeps/wordsize-64/alphasort64.c: File removed.
27764 * sysdeps/wordsize-64/scandir.c: File removed.
27765 * sysdeps/wordsize-64/scandir64.c: File removed.
27766 * sysdeps/wordsize-64/scandirat.c: File removed.
27767 * sysdeps/wordsize-64/scandirat64.c: File removed.
27768 * sysdeps/wordsize-64/versionsort.c: File removed.
27769 * sysdeps/wordsize-64/versionsort64.c: File removed.
27770 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27771 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27776 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27779 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27781 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27783 [defined __arch64__ || defined __sparcv9]
27784 (__INO_T_MATCHES_INO64_T): New macro.
27785 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27786 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27787 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27788 * sysdeps/unix/sysv/linux/bits/dirent.h
27789 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27790 (_DIRENT_MATCHES_DIRENT64): New macro.
27792 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27793 Define lockf64 as an alias.
27794 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27795 Define fseeko64 as an alias.
27796 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27797 Define ftello64 as an alias.
27798 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27799 Define _IO_fgetpos64 and fgetpos64 as aliases.
27800 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27801 Define _IO_fsetpos64 and fsetpos64 as aliases.
27802 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27803 Conditionalize body on this.
27804 * libio/fseeko64.c: Likewise.
27805 * libio/ftello64.c: Likewise.
27806 * libio/iofgetpos64.c: Likewise.
27807 * libio/iofsetpos64.c: Likewise.
27808 * sysdeps/wordsize-64/lockf.c: File removed.
27809 * sysdeps/wordsize-64/lockf64.c: File removed.
27810 * sysdeps/wordsize-64/fseeko.c: File removed.
27811 * sysdeps/wordsize-64/fseeko64.c: File removed.
27812 * sysdeps/wordsize-64/ftello.c: File removed.
27813 * sysdeps/wordsize-64/ftello64.c: File removed.
27814 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27815 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27816 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27817 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27818 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27820 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27822 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27824 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27826 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27827 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27829 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27831 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27833 [defined __arch64__ || defined __sparcv9]
27834 (__OFF_T_MATCHES_OFF64_T): New macro.
27835 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27836 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27838 (__OFF_T_MATCHES_OFF64_T): New macro.
27840 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27842 * stdlib/secure-getenv.c (__secure_getenv): Replace
27843 GLIBC_2_16 with GLIBC_2_17.
27845 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27847 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27850 2012-08-03 David S. Miller <davem@davemloft.net>
27852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27854 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27858 (__ASSUME_CORRECT_SI_PID): Likewise.
27859 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27860 (__ASSUME_TMPFS_NAME): Likewise.
27861 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27862 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27863 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27864 (HAVE_AUX_SECURE): Make definition unconditional.
27865 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27866 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27868 2012-08-03 Roland McGrath <roland@hack.frob.com>
27870 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27871 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27872 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27874 __eloop_threshold instead of SYMLOOP_MAX.
27876 * sysdeps/generic/eloop-threshold.h: New file.
27877 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27879 * elf/chroot_canon.c (chroot_canon): Likewise.
27881 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27885 Change to 2.6.0 everywhere.
27886 * sysdeps/unix/sysv/linux/configure: Regenerated.
27887 * sysdeps/unix/sysv/linux/kernel-features.h
27888 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27889 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27891 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27892 (__ASSUME_FUTEX_REQUEUE): Remove.
27893 (__ASSUME_STATFS64): Define unconditionally.
27894 (__ASSUME_AT_SECURE): Likewise.
27895 (__ASSUME_CORRECT_SI_PID): Likewise.
27896 (__ASSUME_TGKILL): Define without depending on kernel version for
27898 (__ASSUME_UTIMES): Likewise.
27899 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27901 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27902 (__ASSUME_TMPFS_NAME): Likewise.
27903 * README: Update reference to Linux kernel versions.
27905 2012-08-02 Marek Polacek <polacek@redhat.com>
27908 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27909 libc_cv_asm_type_prefix with %.
27910 * configure: Regenerated.
27911 * include/libc-symbols.h: Remove comment about
27912 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27913 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27914 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27915 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27916 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27917 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27918 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27919 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27920 * elf/tst-unique2mod1.c: Likewise.
27921 * elf/tst-unique1mod2.c: Likewise.
27922 * elf/tst-unique1mod1.c: Likewise.
27923 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27924 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27925 Replace ASM_TYPE_DIRECTIVE with .type.
27926 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27927 * sysdeps/i386/sysdep.h: Likewise.
27928 * sysdeps/x86_64/sysdep.h: Likewise.
27929 * sysdeps/sh/sysdep.h: Likewise.
27930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27931 Do not define ASM_TYPE_DIRECTIVE.
27932 * sysdeps/powerpc/sysdep.h: Likewise.
27933 * sysdeps/powerpc/powerpc32/sysdep.h:
27934 Replace ASM_TYPE_DIRECTIVE with .type.
27935 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27937 * sysdeps/i386/fpu/e_powf.S: Likewise.
27938 * sysdeps/i386/fpu/e_expl.S: Likewise.
27939 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27940 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27941 * sysdeps/i386/fpu/e_pow.S: Likewise.
27942 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27943 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27944 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27945 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27946 * sysdeps/i386/fpu/e_log2.S: Likewise.
27947 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27948 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27949 * sysdeps/i386/fpu/e_powl.S: Likewise.
27950 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27951 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27952 * sysdeps/i386/fpu/e_logl.S: Likewise.
27953 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27954 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27955 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27958 * sysdeps/i386/fpu/e_log.S: Likewise.
27959 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27960 * sysdeps/i386/fpu/e_logf.S: Likewise.
27961 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27962 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27963 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27964 * sysdeps/i386/fpu/e_log10.S: Likewise.
27965 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27967 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27968 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27969 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27970 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27971 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27972 * sysdeps/i386/i686/strtok.S: Likewise.
27973 * sysdeps/i386/i386-mcount.S: Likewise.
27974 * sysdeps/i386/strtok.S: Likewise.
27975 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27976 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27978 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27979 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27980 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27981 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27982 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27983 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27984 * sysdeps/x86_64/_mcount.S: Likewise.
27985 * sysdeps/x86_64/strtok.S: Likewise.
27986 * sysdeps/sh/_mcount.S: Likewise.
27988 2012-08-01 Roland McGrath <roland@hack.frob.com>
27990 * libio/iofopen.c: Include <fcntl.h>.
27991 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27992 (_IO_fopen64, fopen64): Define as aliases.
27993 * libio/iofopen64.c: Include <fcntl.h>.
27994 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27995 Conditionalize body on this.
27996 * sysdeps/wordsize-64/iofopen.c: File removed.
27997 * sysdeps/wordsize-64/iofopen64.c: File removed.
27999 2012-08-01 Marek Polacek <polacek@redhat.com>
28001 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28002 Use dlfcn directly instead of a variable.
28003 (binfmt-subdir): Do not define.
28006 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28009 Remove all definitions.
28010 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28011 <kernel-features.h>.
28012 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28013 (miss_F_GETOWN_EX): Remove all definitions.
28014 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28016 [!__ASSUME_FCNTL64]: Remove conditional code.
28017 [__ASSUME_FCNTL64]: Make code unconditional.
28018 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28019 <kernel-features.h>.
28020 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28021 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28022 (lockf64) [__NR_fcntl64]: Make code unconditional.
28023 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28025 * sysdeps/unix/sysv/linux/kernel-features.h
28026 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28027 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28028 Make code unconditional.
28029 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28030 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28032 [__NR_vfork]: Make code unconditional.
28033 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28034 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28036 [__NR_vfork]: Make code unconditional.
28037 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28038 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28040 2012-08-01 Roland McGrath <roland@hack.frob.com>
28042 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28043 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28045 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28046 Define mkstemp64 as an alias.
28047 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28048 Define mkstemps64 as an alias.
28049 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28050 Define mkostemp64 as an alias.
28051 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28052 Define mkostemps64 as an alias.
28053 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28054 Conditionalize body on this.
28055 * misc/mkostemp64.c: Likewise.
28056 * misc/mkostemps64.c: Likewise.
28057 * misc/mkstemps64.c: Likewise.
28058 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28059 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28060 * sysdeps/wordsize-64/mkostemp.c: File removed.
28061 * sysdeps/wordsize-64/mkstemp.c: File removed.
28062 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28063 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28064 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28065 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28068 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28069 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28070 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28071 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28073 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28074 compat_symbol macros from <shlib-compat.h> rather than the underlying
28075 default_symbol_version and symbol_version macros, so that DEFAULT
28076 lines in shlib-versions are respected.
28077 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28079 2012-08-01 Florian Weimer <fweimer@redhat.com>
28081 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28082 Declare with warn_unused_result.
28083 (setgid, setregid, setegid, setresgid): Likewise.
28084 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28086 * WUR-REPORT: Remove set*id functions.
28088 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28090 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28092 2012-07-31 Roland McGrath <roland@hack.frob.com>
28095 * include/sys/socket.h (__libc_accept, __libc_accept4):
28096 Add attribute_hidden.
28097 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28099 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28101 * inet/getnetgrent_r.c (setup): Likewise.
28103 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28105 2012-07-31 David S. Miller <davem@davemloft.net>
28107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28109 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28112 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28113 value between 1.0 and 2.0 and smaller part has absolute value less
28115 * math/s_clog10.c (__clog10): Likewise.
28116 * math/s_clog10f.c (__clog10f): Likewise.
28117 * math/s_clog10l.c (__clog10l): Likewise.
28118 * math/s_clogf.c (__clogf): Likewise.
28119 * math/s_clogl.c (__clogl): Likewise.
28120 * math/libm-test.inc (clog_test): Add more tests.
28121 (clog10_test): Likewise.
28122 * sysdeps/i386/fpu/libm-test-ulps: Update.
28123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28125 2012-07-31 Florian Weimer <fweimer@redhat.com>
28127 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28128 Exit with zero in case no suitable GID is found, and write a
28129 message to standard error.
28131 2012-07-30 Roland McGrath <roland@hack.frob.com>
28133 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28135 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28136 (MAXPATHLEN): Removed.
28137 (NOGROUP, NODEV): New macros.
28138 (setbit, clrbit, isset, isclr): New macros.
28139 (howmany, roundup, powerof2): New macros.
28140 (DEV_BSIZE): New macro.
28142 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28143 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28145 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28146 definition on [!__NO_LONG_DOUBLE_MATH].
28148 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28149 PTR_MANGLE and PTR_DEMANGLE.
28151 * socket/accept4.c (accept4): Rename to __libc_accept4.
28152 Define accept4 as a weak alias.
28154 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28155 on [_DIRENT_HAVE_D_TYPE].
28156 * io/ftw.c (ftw_dir): Likewise.
28158 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28160 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28162 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28163 Use the BSD numbers rather than the arbitrary ones we had.
28164 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28165 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28166 (SIGXCPU, SIGXFSZ): New macros.
28169 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28170 initializer on [_LIBC_REENTRANT].
28172 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28173 definitions inside [_POSIX_MAPPED_FILES].
28175 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28177 * dirent/opendir.c: Include <fcntl.h>.
28179 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28180 (__libc_getspecific): Likewise.
28181 (__libc_key_create): Likewise.
28183 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28184 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28185 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28186 (tmpfile64): Define as alias.
28187 * sysdeps/wordsize-64/tmpfile.c: File removed.
28188 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28189 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28190 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28192 * stdio-common/vfscanf.c: Include <stdbool.h>.
28193 * nss/makedb.c: Likewise.
28194 * stdio-common/_i18n_number.h: Likewise.
28195 * argp/argp-help.c: Likewise.
28196 * posix/wordexp.c: Likewise.
28197 * sysdeps/posix/spawni.c: Likewise.
28198 * nss/nss_files/files-initgroups.c: Likewise.
28199 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28200 * nss/nss_files/files-initgroups.c: Likewise.
28201 * nss/nss_db/db-netgrp.c: Likewise.
28202 * nss/nss_db/db-initgroups.c: Likewise.
28203 * io/fchmodat.c: Include <sys/stat.h>.
28205 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28206 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28208 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28211 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28212 Add multiple inclusion protection.
28214 2012-07-27 David S. Miller <davem@davemloft.net>
28216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28218 2012-07-27 Gary Benson <gbenson@redhat.com>
28221 * elf/rtld.c: Include <stap-probe.h>.
28222 (dl_main): Added static probes "init_start" and "init_complete".
28223 * elf/dl-load.c: Include <stap-probe.h>.
28224 (lose): Take new parameter "nsid".
28225 Added static probe "map_failed".
28226 (_dl_map_object_from_fd): Pass namespace id to lose.
28227 Added static probe "map_start".
28228 (open_verify): Pass namespace id to lose.
28229 * elf/dl-open.c: Include <stap-probe.h>.
28230 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28231 and "reloc_complete".
28232 * elf/dl-close.c: Include <stap-probe.h>.
28233 (_dl_close_worker): Added static probes "unmap_start" and
28235 * elf/rtld-debugger-interface.txt: New file documenting the above.
28237 2012-07-26 Roland McGrath <roland@hack.frob.com>
28239 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28240 rather than a string variable.
28241 * sunrpc/rpc_main.c (h_output): Likewise.
28242 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28244 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28246 * inet/check_native.c: New file.
28248 2012-07-26 Joseph Myers <joseph@codesourcery.com>
28251 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28252 if larger part has absolute value 1.0.
28253 * math/s_clog10.c (__clog10): Likewise.
28254 * math/s_clog10f.c (__clog10f): Likewise.
28255 * math/s_clog10l.c (__clog10l): Likewise.
28256 * math/s_clogf.c (__clogf): Likewise.
28257 * math/s_clogl.c (__clogl): Likewise.
28258 * math/libm-test.inc (clog_test): Add more tests.
28259 (clog10_test): Likewise.
28260 * sysdeps/i386/fpu/libm-test-ulps: Update.
28261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28263 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28264 (pltexit): Likewise.
28265 (La_regs): Likewise.
28266 (La_retval): Likewise.
28267 (int_retval): Likewise.
28268 Update #error for removed macros to refer only to definitions in
28270 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28272 (pltexit): Likewise.
28273 (La_regs): Likewise.
28274 (La_retval): Likewise.
28275 (int_retval): Likewise.
28276 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28278 (pltexit): Likewise.
28279 (La_regs): Likewise.
28280 (La_retval): Likewise.
28281 (int_retval): Likewise.
28282 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28284 (pltexit): Likewise.
28285 (La_regs): Likewise.
28286 (La_retval): Likewise.
28287 (int_retval): Likewise.
28288 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28290 (pltexit): Likewise.
28291 (La_regs): Likewise.
28292 (La_retval): Likewise.
28293 (int_retval): Likewise.
28294 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28296 (pltexit): Likewise.
28297 (La_regs): Likewise.
28298 (La_retval): Likewise.
28299 (int_retval): Likewise.
28300 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28302 (pltexit): Likewise.
28303 (La_regs): Likewise.
28304 (La_retval): Likewise.
28305 (int_retval): Likewise.
28306 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28307 macro definitions in tst-audit.h.
28308 * sysdeps/i386/tst-audit.h: New file.
28309 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28310 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28311 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28312 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28313 * sysdeps/sh/tst-audit.h: Likewise.
28314 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28315 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28316 * sysdeps/x86_64/tst-audit.h: Likewise.
28318 2012-07-26 Andreas Jaeger <aj@suse.de>
28320 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28323 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28324 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28325 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28327 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28328 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28329 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28331 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28334 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28336 (si_call_addr, si_syscall, si_arch): Define new macro.
28337 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28339 (si_call_addr, si_syscall, si_arch): Define new marcro.
28340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28342 (si_call_addr, si_syscall, si_arch): Define new macro.
28343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28345 (si_call_addr, si_syscall, si_arch): Define new macro.
28347 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28351 Change to 2.4.21 where previously 2.4.1.
28352 * sysdeps/unix/sysv/linux/configure: Regenerated.
28353 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28354 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28355 Linux kernel version.
28356 (__ASSUME_STD_AUXV): Remove.
28357 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28359 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28360 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28361 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28362 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28363 (__ASSUME_NETLINK_SUPPORT): Likewise.
28364 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28365 (__no_netlink_support): Remove conditional definition.
28366 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28368 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28369 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28370 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28371 (if_nameindex_ioctl): Remove.
28372 (if_nameindex_netlink): Do not handle __no_netlink_support.
28373 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28375 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28376 Remove conditional code.
28377 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28379 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28381 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28382 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28383 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28385 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28386 [!__ASSUME_STD_AUXV]: Remove conditional code.
28387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28388 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28389 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28391 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28392 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28394 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28396 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28397 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28399 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28401 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28404 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28407 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28408 code unconditional.
28409 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28411 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28413 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28416 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28418 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28421 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28422 code unconditional.
28423 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28425 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28427 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28430 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28431 code unconditional.
28432 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28434 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28436 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28439 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28441 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28442 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28443 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28444 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28445 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28446 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28447 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28448 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28449 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28450 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28451 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28452 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28453 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28454 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28455 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28456 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28457 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28459 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28461 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28462 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28465 2012-07-25 Florian Weimer <fweimer@redhat.com>
28467 * Versions.def: Add GLIBC_2.17.
28468 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28469 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28470 Introduce __libc_secure_getenv.
28471 * stdlib/Versions (2.17): Add secure_getenv
28472 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28473 * stdlib/secure-getenv.c: Rename __secure_getenv to
28474 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28475 symbol __secure_getenv for GLIBC_2.0.
28476 * stdlib/tst-secure-getenv.c: New.
28477 * stdlib/Makefile (tests): Add testcase.
28478 * manual/startup.texi (Environment Access): Document
28480 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28481 __libc_secure_getenv.
28482 * inet/ruserpass.c (ruserpass): Likewise.
28483 * malloc/mtrace.c (mtrace): Likewise.
28484 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28485 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28486 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28487 * sysdeps/posix/tempname.c: Likewise. Evaluate
28488 HAVE_SECURE_GETENV.
28489 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28490 __secure_getenv to __libc_secure_getenv.
28491 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28504 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28506 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28507 (struct La_i86_retval): Likewise.
28508 (struct La_x86_64_regs): Likewise.
28509 (struct La_x86_64_retval): Likewise.
28510 (struct La_x32_regs): Likewise.
28511 (struct La_x32_retval): Likewise.
28512 (struct La_ppc32_regs): Likewise.
28513 (struct La_ppc32_retval): Likewise.
28514 (struct La_ppc64_regs): Likewise.
28515 (struct La_ppc64_retval): Likewise.
28516 (struct La_sh_regs): Likewise.
28517 (struct La_sh_retval): Likewise.
28518 (struct La_s390_32_regs): Likewise.
28519 (struct La_s390_32_retval): Likewise.
28520 (struct La_s390_64_regs): Likewise.
28521 (struct La_s390_64_retval): Likewise.
28522 (struct La_sparc32_regs): Likewise.
28523 (struct La_sparc32_retval): Likewise.
28524 (struct La_sparc64_regs): Likewise.
28525 (struct La_sparc64_retval): Likewise.
28526 (struct audit_ifaces): Remove architecture-specific pltenter and
28528 * sysdeps/i386/ldsodefs.h: New file.
28529 * sysdeps/powerpc/ldsodefs.h: Likewise.
28530 * sysdeps/s390/ldsodefs.h: Likewise.
28531 * sysdeps/sh/ldsodefs.h: Likewise.
28532 * sysdeps/sparc/ldsodefs.h: Likewise.
28533 * sysdeps/x86_64/ldsodefs.h: Likewise.
28535 2012-07-25 Marek Polacek <polacek@redhat.com>
28538 * math/libm-test.inc (yn_test): Add another test.
28539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28540 to ERANGE when the result is +-Inf.
28541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28542 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28543 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28544 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28546 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28548 * conform/data/time.h-data (NULL): Use macro-constant. Require
28550 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28552 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28554 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28556 * configure.in <sysdeps resolving>: Correct printing
28558 * configure: Regenerate.
28560 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28562 * math/w_ilogb.c: Include <limits.h>.
28563 * math/w_ilogbl.c: Likewise.
28565 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28567 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28568 va_copy. Document allowing for unavailable va_copy only as
28569 pre-C99 compatibility.
28570 * manual/string.texi (Copying and Concatenation): Use va_copy
28571 instead of __va_copy in concat example.
28573 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28575 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28576 (__sendto): Use create_address_port. Initialize APORT and deallocate
28579 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28580 with O_NOLINK passed to __file_name_lookup.
28582 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28583 with O_NOLINK passed to __file_name_lookup.
28585 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28586 negative N or less than NGIDS.
28588 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28589 type to string_t. Set ERANGE as errno and return it if NAME is not big
28590 enough. Use memcpy instead of strncpy.
28592 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28594 * elf/Makefile (check-data): Remove.
28595 (localplt.data): New vpath directive.
28596 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28597 instead of $(check-data).
28598 * scripts/data/localplt-generic.data: Move to ...
28599 * sysdeps/generic/localplt.data: ... here.
28600 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28601 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28602 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28605 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28608 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28611 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28614 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28617 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28621 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28623 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28624 PPC32 and PPC64 files.
28625 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28626 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28628 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28630 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28631 __makecontext_ret to ...
28632 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28633 ... here and call exit if uc_link is NULL. New file.
28634 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28635 __makecontext_ret.S.
28636 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28637 __makecontext_ret to ...
28638 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28639 ... here and call exit if uc_link is NULL. New file.
28640 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28641 __makecontext_ret.S.
28643 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28645 * elf/elf.h (R_390_IRELATIVE): New definition.
28646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28647 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28648 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28649 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28650 (elf_machine_lazy_rel): Likewise.
28651 * sysdeps/s390/dl-irel.h: New file.
28652 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28653 * sysdeps/s390/s390-64/memset.S: New asm code.
28654 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28655 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28656 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28657 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28658 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28659 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28660 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28661 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28662 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28663 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28664 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28665 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28666 * sysdeps/s390/s390-32/memset.S: New asm code.
28667 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28669 2012-07-17 Marek Polacek <polacek@redhat.com>
28672 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28673 * sysdeps/s390/s390-64/configure.in: Likewise.
28674 * sysdeps/sparc/configure.in: Likewise.
28675 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28676 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28677 * sysdeps/i386/configure.in: Likewise.
28678 * sysdeps/x86_64/configure.in: Likewise.
28679 * sysdeps/sh/configure.in: Likewise.
28680 * sysdeps/s390/s390-32/configure: Regenerated.
28681 * sysdeps/s390/s390-64/configure: Likewise.
28682 * sysdeps/x86_64/configure: Likewise.
28683 * sysdeps/sh/configure: Likewise.
28684 * sysdeps/powerpc/powerpc64/configure: Likewise.
28685 * sysdeps/powerpc/powerpc32/configure: Likewise.
28686 * sysdeps/sparc/configure: Likwise.
28687 * sysdeps/i386/configure: Likewise.
28689 * elf/dl-open.c: Comment fixes.
28691 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28693 * Makefile [CXX] (check-data): Remove.
28694 [CXX] (c++-types.data): New vpath directive.
28695 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28696 vpath. Do not allow for C++ type data being missing.
28697 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28698 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28699 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28700 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28701 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28702 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28703 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28706 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28709 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28712 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28715 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28718 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28721 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28724 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28727 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28728 definitions to architecture-specific files.
28729 (TLS_IE): Likewise.
28730 (TLS_LD): Likewise.
28731 (TLS_GD): Likewise.
28732 * sysdeps/i386/tls-macros.h: New file.
28733 * sysdeps/powerpc/tls-macros.h: Likewise.
28734 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28735 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28736 * sysdeps/sh/tls-macros.h: Likewise.
28737 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28738 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28739 * sysdeps/x86_64/tls-macros.h: Likewise.
28741 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28743 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28744 zero value for regular exit case.
28746 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28747 (__start_context): Preserve zero value for regular exit case.
28749 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28750 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28752 * manual/setjmp.texi (setcontext): Clarify normal process
28753 termination when uc_link is the null pointer.
28754 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28757 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28759 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28760 preprocessor. Test for each exception mask separately.
28762 2012-07-16 Andreas Jaeger <aj@suse.de>
28764 * po/ru.po: Update from translation team.
28766 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28768 * conform/data/string.h-data (NULL): Use macro-constant. Require
28770 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28771 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28772 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28773 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28776 2012-07-13 Andreas Jaeger <aj@suse.de>
28778 * po/fr.po: Update from translation team.
28780 2012-07-12 Marek Polacek <polacek@redhat.com>
28783 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28784 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28787 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28791 Change to 2.4.1 where previously 2.4.0.
28792 * sysdeps/unix/sysv/linux/configure: Regenerated.
28793 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28794 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28796 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28797 (__ASSUME_AT_CLKTCK): Remove.
28798 (__ASSUME_AT_PAGESIZE): Likewise.
28799 (__ASSUME_AT_XID): Likewise.
28800 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28801 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28802 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28804 (HAVE_AUX_PAGESIZE): Likewise.
28805 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28806 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28807 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28809 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28813 the temporary buffer used to invoke __gethostbyname2_r,
28814 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28815 host_data / struct gaih_addrtuple.
28816 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28817 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28818 header file nss/nsswitch.h.
28819 * nss/nsswitch.h (global scope): Add definition of implementation
28820 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28821 resolv/nss_dns/dns-host.c).
28823 2012-07-11 Andreas Jaeger <aj@suse.de>
28825 * po/fr.po: Update from translation team.
28827 * po/sv.po: Update from translation team
28828 * po/fr.po: Another update from translation team.
28830 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28832 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28833 for subnormals or multiply small sinh result by itself.
28834 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28837 2012-07-11 David S. Miller <davem@davemloft.net>
28839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28841 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28844 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28845 (INTERNAL_MARK): Shift it here.
28847 2012-07-10 Marek Polacek <polacek@redhat.com>
28850 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28851 libc_cv_asm_global_directive with .globl.
28852 * configure: Regenerated.
28853 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28855 * sysdeps/i386/configure: Regenerated.
28856 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28858 * sysdeps/x86_64/configure: Regenerated.
28859 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28860 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28861 * elf/tst-unique2mod2.c: Likewise.
28862 * elf/tst-unique2mod1.c: Likewise.
28863 * elf/tst-unique1mod2.c: Likewise.
28864 * elf/tst-unique1mod1.c: Likewise.
28865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28866 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28868 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28869 * sysdeps/mach/sysdep.h: Likewise.
28870 * sysdeps/i386/sysdep.h: Likewise.
28871 * sysdeps/i386/i386-mcount.S: Likewise.
28872 * sysdeps/x86_64/_mcount.S: Likewise.
28873 * sysdeps/x86_64/sysdep.h: Likewise.
28874 * sysdeps/sh/_mcount.S: Likewise.
28875 * sysdeps/sh/sysdep.h: Likewise.
28876 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28877 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28878 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28879 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28880 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28881 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28882 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28883 * locale/localeinfo.h: Likewise.
28884 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28885 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28887 2012-07-09 Roland McGrath <roland@hack.frob.com>
28890 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28892 * manual/message.texi (The Uniforum approach): Likewise.
28893 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28894 (glibc iconv Implementation): Likewise.
28896 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28899 * math/s_clog.c (__clog): Avoid scaling a value down where that
28900 could result in underflow.
28901 * math/s_clog10.c (__clog10): Likewise.
28902 * math/s_clog10f.c (__clog10f): Likewise.
28903 * math/s_clog10l.c (__clog10l): Likewise.
28904 * math/s_clogf.c (__clogf): Likewise.
28905 * math/s_clogl.c (__clogl): Likewise.
28906 * math/libm-test.inc (clog_test): Add more tests.
28907 (clog10_test): Likewise.
28908 * sysdeps/i386/fpu/libm-test-ulps: Update.
28909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28911 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28914 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28915 by 7 not 8 to examine high bit of fractional part.
28918 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28919 for call to __mcount_internal.
28920 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28921 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28922 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28924 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28927 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28928 approximation for values within 0x1p-13f of an odd multiple of
28930 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28931 exception. Add more tests.
28932 * sysdeps/i386/fpu/libm-test-ulps: Update.
28935 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28936 inputs and return -1 for them. Do not check for +Inf in case not
28937 reachable for +Inf.
28938 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28939 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28941 and return -1 for them. Do not check for +Inf in case not
28942 reachable for +Inf.
28943 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28946 and return -1 for them. Do not check for +Inf in case not
28947 reachable for +Inf.
28948 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28949 spurious underflow.
28950 * sysdeps/i386/fpu/libm-test-ulps: Update.
28951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28953 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28955 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28957 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28961 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28962 could result in spurious underflow. Scale down values above
28963 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28964 * math/s_csqrtf.c (__csqrtf): Likewise.
28965 * math/s_csqrtl.c (__csqrtl): Likewise.
28966 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28967 spurious underflow.
28968 * sysdeps/i386/fpu/libm-test-ulps: Update.
28969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28971 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28973 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28975 * catgets/xopen-msg.awk: New file.
28976 * catgets/xopen-msg.sed: Removed.
28978 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28980 * intl/po2test.awk: New file.
28981 * intl/po2test.sed: Removed.
28983 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28986 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28987 or multiply small sinh result by itself.
28988 * math/s_ctanf.c (__ctanf): Likewise.
28989 * math/s_ctanh.c (__ctanh): Likewise.
28990 * math/s_ctanhf.c (__ctanhf): Likewise.
28991 * math/s_ctanhl.c (__ctanhl): Likewise.
28992 * math/s_ctanl.c (__ctanl): Likewise.
28993 * math/libm-test.inc (ctan_test_tonearest): New function.
28994 (ctan_test_towardzero): Likewise.
28995 (ctan_test_downward): Likewise.
28996 (ctan_test_upward): Likewise.
28997 (ctanh_test_tonearest): Likewise.
28998 (ctanh_test_towardzero): Likewise.
28999 (ctanh_test_downward): Likewise.
29000 (ctanh_test_upward): Likewise.
29001 (main): Call these new functions.
29002 * sysdeps/i386/fpu/libm-test-ulps: Update.
29003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29005 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29007 * .gitignore: Delete /ports entry.
29009 2012-07-03 Andreas Jaeger <aj@suse.de>
29011 * po/bg.po: Update from translation team.
29012 * po/cs.po: Likewise.
29013 * po/de.po: Likewise.
29014 * po/hr.po: Likewise.
29015 * po/nl.pl: Likewise.
29016 * po/pl.po: Likewise.
29017 * po/vi.po: Likewise.
29019 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29021 * Makeconfig [!+link] (+link-before-libc): New variable.
29022 [!+link] (+link-after-libc): Likewise.
29023 [!+link] (+link-tests): Likewise.
29024 [!+link] (+link): Define in terms of $(+link-before-libc) and
29025 $(+link-after-libc).
29026 [!+link-static] (+link-static-before-libc): New variable.
29027 [!+link-static] (+link-static-after-libc): Likewise.
29028 [!+link-static] (+link-static-tests): Likewise.
29029 [!+link-static] (+link-static): Define in terms of
29030 $(+link-static-before-libc) and $(+link-static-after-libc).
29031 [build-shared] (link-libc-before-gnulib): New variable.
29032 [build-shared] (link-libc-tests): Likewise.
29033 [build-shared] (link-libc): Define in terms of
29034 $(link-libc-before-gnulib).
29035 [!build-shared] (link-libc-tests): New variable.
29036 (link-libc-static-tests): New variable.
29037 [!gnulib] (gnulib-arch): New variable.
29038 [!gnulib] (gnulib-tests): Likewise.
29039 [!gnulib] (static-gnulib-arch): Likewise.
29040 [!gnulib] (static-gnulib-tests): Likewise.
29041 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29042 Define with "=" instead of ":=".
29043 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29044 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29045 * Rules (binaries-all-notests): New variable.
29046 (binaries-all-tests): Likewise.
29047 (binaries-static-notests): Likewise.
29048 (binaries-static-tests): Likewise.
29049 (binaries-all): Define using $(binaries-all-notests) and
29050 $(binaries-all-tests).
29051 (binaries-static): Define using $(binaries-static-notests) and
29052 $(binaries-static-tests).
29053 (binaries-shared-tests): New variable.
29054 (binaries-shared-notests): Likewise.
29055 (binaries-shared): Remove variable.
29056 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29057 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29058 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29059 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29060 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29061 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29062 * elf/Makefile (sln-modules): New variable.
29063 (extra-objs): Add $(sln-modules:=.o).
29064 (ldconfig-modules): Add static-stubs.
29065 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29066 * elf/static-stubs.c: New file.
29069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29070 by 7 not 8 to examine high bit of fractional part. Use volatile
29071 variables when splitting into final array of floats if
29072 __FLT_EVAL_METHOD__ != 0.
29073 * math/libm-test.inc (cos_test): Add another test.
29074 (sin_test): Likewise.
29075 * sysdeps/i386/fpu/libm-test-ulps: Update.
29078 * math/libm-test.inc (cosh_test): Add more tests.
29080 * version.h (RELEASE): Set to "development".
29081 (VERSION): Set to "2.16.90".
29083 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29085 * NEWS: Update copyright. Remove last-updated date.
29086 Mention math library bug fixes and timezone data changes.
29087 * README: Mention GNU/Hurd, x32, and HPPA support status.
29089 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29091 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29093 2012-06-27 Andreas Jaeger <aj@suse.de>
29095 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29097 2012-06-25 Andreas Jaeger <aj@suse.de>
29099 * sysdeps/s390/fpu/libm-test-ulps: Update.
29101 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29102 Thomas Schwinge <thomas@codesourcery.com>
29104 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29105 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29109 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29111 * sysdeps/mach/start.c: Remove file.
29112 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29113 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29114 * sysdeps/sh/init-first.c: Likewise.
29116 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29117 registers for frame unwinding purposes, add CFI directives.
29118 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29119 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29120 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29123 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29124 __fortify_fail returning.
29125 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29127 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29128 sysdeps/sh/____longjmp_chk.S.
29129 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29130 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29131 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29132 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29134 * sysdeps/sh/abort-instr.h: New file.
29135 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29136 process in case exit returns.
29138 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29139 initialize the GOT register before use.
29141 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29142 calculation of ARGC > 4.
29144 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29145 meaningful names to some local labels.
29147 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29148 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29150 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29151 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29152 (__arch_compare_and_exchange_val_16_acq): Likewise.
29153 (__arch_compare_and_exchange_val_32_acq): Likewise.
29154 (atomic_exchange_and_add): Fix gUSA sequence.
29155 (atomic_add): Likewise.
29156 (atomic_add_negative): Likewise.
29157 (atomic_add_zero): Likewise.
29158 (atomic_bit_test_set): Likewise.
29160 2012-06-22 Andreas Schwab <schwab@redhat.com>
29163 * include/link.h (struct link_map): Add l_free_initfini.
29164 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29166 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29167 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29168 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29171 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29173 * configure.in: Use AC_LANG_SOURCE.
29174 * configure: Regenerate.
29176 2012-06-22 Roland McGrath <roland@hack.frob.com>
29178 * configure.in (libc_cv_localstatedir): New substituted variable.
29179 * configure: Regenerated.
29180 * config.make.in (localstatedir): New variable, substituted from
29181 libc_cv_localstatedir.
29182 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29183 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29184 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29185 * sysdeps/gnu/configure: Regenerated.
29187 2012-06-21 Jeff Law <law@redhat.com>
29190 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29191 free. Simplify list management for _LIBC case.
29193 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29196 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29197 Clear sign bit of 64-bit integer value before comparing against
29200 * sysdeps/mach/configure: Regenerated.
29202 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29205 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29207 2012-06-21 Jeff Law <law@redhat.com>
29210 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29211 uint16_t for elements in the "seen" array to avoid char overflows.
29212 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29213 * elf/dl-open.c (dl_open_worker): Likewise.
29215 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29217 * scripts/list-sources.sh: Scan PORTS for translations.
29218 * po/libc.pot: Regenerated.
29220 2012-06-21 Andreas Jaeger <aj@suse.de>
29223 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29225 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29226 * bits/byteswap-16.h (__bswap_16): Likewise.
29227 * bits/byteswap.h (__bswap_constant_16): Likewise.
29229 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29232 * sysdeps/i386/fpu_control.h: Removed.
29233 * sysdeps/x86_64/fpu_control.h: Moved to ...
29234 * sysdeps/x86/fpu_control.h: Here.
29236 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29237 (_FPU_SETCW): Likewise.
29239 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29242 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29243 * sysdeps/x86/fpu/bits/mathinline.h: This.
29244 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29248 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29249 functions if __x86_64__ is defined.
29251 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29253 * string/endian.h: Add !__ASSEMBLER__ condition for including
29254 conversion interfaces.
29256 2012-06-15 Joseph Myers <joseph@codesourcery.com>
29259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29260 of ABS(x) in calculating zero to negative powers other than odd
29262 * math/libm-test.inc (pow_test): Add more tests.
29264 2012-06-15 Andreas Jaeger <aj@suse.de>
29266 * manual/contrib.texi (Contributors): Update entry of Liubov
29267 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29270 2012-06-15 Cyril Hrubis <metan@ucw.cz>
29272 * string/string.h: Add __wur to GNU version of strerror_r.
29274 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29277 * string/Makefile (tests): Add tst-strtok_r.
29278 * string/tst-strtok_r.c: New file.
29279 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29280 RAX_LP/RDX_LP on SAVE_PTR.
29282 2012-06-14 Roland McGrath <roland@hack.frob.com>
29284 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29286 2012-06-14 Joseph Myers <joseph@codesourcery.com>
29288 * libm_test.inc (csqrt_test): Allow more spurious underflow
29290 (j0_test): Likewise.
29291 (j1_test): Likewise.
29292 (y0_test): Likewise.
29293 (y1_test): Likewise.
29295 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29297 * po/Makefile (libc.pot): Use UTF-8 charset.
29299 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29302 Suppress sign-conversion warning from FD_SET.
29303 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29304 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29305 not unsigned long int.
29306 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29308 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29312 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29313 __extern_always_inline instead of __extern_inline.
29314 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29315 (__signbit): Likewise.
29316 (__signbitl): Support C++ namespace.
29317 (lrintf): New inline function.
29319 (llrintf): Likewise.
29320 (llrint): Likewise.
29330 (floorf): Likewise.
29331 (nearbyint): Likewise.
29332 (nearbyintf): Likewise.
29334 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29336 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29337 non-default versions.
29339 2012-06-11 Roland McGrath <roland@hack.frob.com>
29342 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29344 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29346 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29347 (FE_UPWARD, FE_DOWNWARD): Don't define.
29348 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29349 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29353 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29354 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29356 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29358 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29360 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29363 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29366 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29367 * sysdeps/i386/fpu/Implies: New file.
29368 * sysdeps/x86_64/fpu/Implies: Likewise.
29369 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29370 * sysdeps/x86/fpu/bits/fenv.h: This.
29372 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29375 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29378 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29379 character 0xffff that matches the last element of the
29382 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29387 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29390 values higher than 25.6283.
29392 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29395 subnormal exponent extraction and add some __builtin_expect.
29396 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29397 Fix for subnormal mantissa calculation.
29399 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29401 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29402 cpu2 is -1 and errno is not ENOSYS.
29404 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29407 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29408 * sysdeps/x86/bits/string.h: This.
29409 * sysdeps/x86_64/bits/string.h: Removed.
29411 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29412 if not compiling for x86-64, but compiling for >= i486.
29414 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29415 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29417 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29418 New macro from Linux kernel 3.4.0.
29419 (FP_XSTATE_MAGIC2): Likewise.
29420 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29421 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29422 (struct _fpx_sw_bytes): New struct.
29423 (struct _xsave_hdr): Likewise.
29424 (struct _ymmh_state): Likewise.
29425 (struct _xstate): Likewise.
29427 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29428 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29429 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29430 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29431 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29432 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29434 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29435 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29436 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29437 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29438 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29439 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29441 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29444 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29445 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29446 (sysdep_headers): Include sys/platform/ppc.h.
29447 * sysdeps/powerpc/test-gettimebase.c: Test for
29448 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29449 * manual/Makefile (appendices): Include platform.texi.
29450 * manual/contrib.texi (Contributors): Update @node pointers.
29451 * manual/maint.texi (Maintenance): Likewise.
29452 (Platform): New node.
29453 * manual/platform.texi: New file. Document the new features.
29455 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29456 Jakub Jelinek <jakub@redhat.com>
29459 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29460 where __builtin_expect is unavailable.
29462 2012-06-03 David S. Miller <davem@davemloft.net>
29464 * stdlib/longlong.h: Updated from GCC.
29466 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29469 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29470 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29473 (GLIBC_2.16): Likewise.
29475 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29479 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29482 (default-abi): New variable.
29483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29484 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29486 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29488 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29490 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29493 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29494 definition. Document in comment.
29496 2012-06-01 David S. Miller <davem@davemloft.net>
29498 * stdlib/longlong.h: Updated from GCC.
29500 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29503 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29504 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29505 sys/debugreg.h sys/io.h here.
29506 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29507 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29509 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29510 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29511 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29512 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29513 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29514 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29517 Define only if __x86_64__ is defined.
29519 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29522 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29523 Use int64_t for variable i.
29524 * math/libm-test.inc (fmod_test): Add more tests.
29526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29527 z computation is not scheduled after fetestexcept.
29528 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29529 Use math_force_eval instead of asm to ensure calculation scheduled
29530 before exception test.
29531 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29532 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29534 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29537 computation is not scheduled after fetestexcept.
29539 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29542 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29543 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29545 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29547 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29548 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29550 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29553 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29555 (__WCHAR_MIN): Support __WORDSIZE == 64.
29556 (__WCHAR_MAX): Likewise.
29558 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29562 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29563 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29566 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29567 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29569 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29570 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29572 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29573 Defined to 1 if __x86_64__ isn't defined.
29574 (_STAT_VER_LINUX_OLD): New.
29575 (st_atime): Remove duplicate.
29576 (st_mtime): Likewise.
29577 (st_ctime): Likewise.
29579 2012-05-31 David S. Miller <davem@davemloft.net>
29581 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29584 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29586 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29590 * elf/dl-reloc.c: Include <_itoa.h>.
29591 (_dl_reloc_bad_type): Remove use of INTUSE.
29592 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29593 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29594 * stdio-common/psiginfo.c (psiginfo): Likewise.
29595 * stdio-common/psignal.c (psignal): Likewise.
29596 * string/strsignal.c (strsignal): Likewise.
29597 * include/signal.h (_sys_siglist): Declare hidden proto.
29598 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29599 INTVARDEF with libc_hidden_data_def.
29600 * stdio-common/itoa-udigits.c: Likewise.
29601 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29602 (_itoa_lower_digits_internal): Remove declaration.
29603 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29604 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29605 (_sys_sigabbrev_internal): Remove aliases.
29606 (_sys_siglist): Define hidden alias.
29608 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29613 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29616 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29617 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29619 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29620 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29621 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29622 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29624 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29626 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29627 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29628 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29630 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29638 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29640 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29642 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29643 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29644 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29645 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29646 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29647 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29649 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29650 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29652 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29653 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29657 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29659 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29660 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29662 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29664 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29665 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29666 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29668 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29670 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29672 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29674 * math/math.h (M_El): Use two more decimal places.
29675 (M_LOG2El): Likewise.
29676 (M_LOG10El): Likewise.
29677 (M_LN2l): Likewise.
29678 (M_LN10l): Likewise.
29680 (M_PI_2l): Likewise.
29681 (M_PI_4l): Likewise.
29682 (M_1_PIl): Likewise.
29683 (M_2_PIl): Likewise.
29684 (M_2_SQRTPIl): Likewise.
29685 (M_SQRT2l): Likewise.
29686 (M_SQRT1_2l): Likewise.
29688 2012-05-31 David S. Miller <davem@davemloft.net>
29690 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29691 values between float registers.
29692 * sysdeps/sparc/sparc64/memset.S: Likewise.
29693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29695 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29697 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29698 -D_FORTIFY_SOURCE=1.
29699 (CPPFLAGS-tst-longjmp_chk.c): Define.
29700 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29701 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29702 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29703 CFLAGS-tst-wchar-h.c.
29705 2012-05-31 Marek Polacek <polacek@redhat.com>
29708 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29709 __endmntent_internal): Remove declaration.
29710 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29711 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29712 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29714 2012-05-30 David S. Miller <davem@davemloft.net>
29716 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29717 (___Q_simulate_exceptions): Use real FP ops rather than writing
29719 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29722 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29725 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29726 * sysdeps/x86/bits/xtitypes.h: This.
29728 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29729 * sysdeps/x86/bits/wordsize.h: This.
29731 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29732 * sysdeps/x86/bits/huge_vall.h: This.
29734 * sysdeps/i386/bits/select.h: Removed.
29735 * sysdeps/x86_64/bits/select.h: Renamed to ...
29736 * sysdeps/x86/bits/select.h: This.
29738 * sysdeps/i386/bits/setjmp.h: Removed.
29739 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29740 * sysdeps/x86/bits/setjmp.h: This.
29742 * sysdeps/i386/bits/mathdef.h: Removed.
29743 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29744 * sysdeps/x86/bits/mathdef.h: This.
29746 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29749 * include/sys/socket.h (__connect_internal)
29750 (__libc_sa_len_internal): Remove declaration.
29751 (__connect, __libc_sa_len): Declare hidden_proto.
29752 (SA_LEN): Remove use of INTUSE.
29753 * socket/connect.c: Add libc_hidden_def.
29754 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29755 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29756 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29758 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29760 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29761 of adding _internal alias.
29763 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29766 * sysdeps/i386/bits/link.h: Removed.
29767 * sysdeps/i386/bits/linkmap.h: Likewise.
29768 * sysdeps/x86_64/bits/link.h: Renamed to ...
29769 * sysdeps/x86/bits/link.h: This.
29770 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29771 * sysdeps/x86/bits/linkmap.h: This.
29773 * sysdeps/i386/bits/endian.h: Removed.
29774 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29775 * sysdeps/x86/bits/endian.h: This.
29777 * sysdeps/i386/bits/byteswap.h: Removed.
29778 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29779 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29780 * sysdeps/x86/bits/byteswap.h: This.
29781 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29782 * sysdeps/x86/bits/byteswap-16.h: This.
29783 * sysdeps/i386/Implies: Add x86.
29784 * sysdeps/x86_64/Implies: Likewise.
29786 2012-05-30 David S. Miller <davem@davemloft.net>
29788 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29789 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29790 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29791 (FP_TRAPPING_EXCEPTIONS): Define.
29792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29793 (FP_TRAPPING_EXCEPTIONS): Define.
29794 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29795 subnormals only when inexact has been signalled or underflow
29796 exceptions are enabled.
29797 (_FP_PACK_CANONICAL): Likewise.
29799 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29802 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29803 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29805 2012-05-30 Richard Henderson <rth@twiddle.net>
29807 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29808 with #ifndef NOT_IN_libc.
29810 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29811 marked to avoid plt entry.
29813 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29816 * Makeconfig (default-abi): New macro.
29817 (abi-includes): Likewise.
29818 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29819 $(abi-$(default-abi)-lib-soname) for soname if defined.
29820 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29822 * Makefile (installed-stubs): Likewise.
29823 * include/stubs-biarch.h: Removed.
29824 * scripts/lib-names.awk: Only handle one library at a time.
29825 * scripts/soversions.awk: Remove WORDSIZE support.
29826 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29828 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29830 (syscall-list-default-condition): Likewise.
29831 (syscall-list-default-condition): Likewise.
29832 (syscall-list-includes): Likewise.
29833 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29834 syscall-list-* with abi-*. Handle undefined abi-variants.
29835 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29836 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29837 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29838 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29839 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29840 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29842 (syscall-list-32-options): Likewise.
29843 (syscall-list-32-condition): Likewise.
29844 (syscall-list-64-options): Likewise.
29845 (syscall-list-64-condition): Likewise.
29846 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29848 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29851 (abi-64-ld-soname): New macro.
29852 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29853 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29856 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29857 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29859 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29861 * sysdeps/unix/sysv/linux/kernel-features.h
29862 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29863 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29864 include <kernel-features.h>.
29865 [!__NR_ftruncate64]: Remove conditional code.
29866 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29867 [__NR_ftruncate64]: Make code unconditional.
29868 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29869 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29870 include <kernel-features.h>.
29871 [!__NR_ftruncate64]: Remove conditional code.
29872 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29873 [__NR_ftruncate64]: Make code unconditional.
29874 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29876 include <kernel-features.h>.
29877 [!__NR_ftruncate64]: Remove conditional code.
29878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29879 [__NR_ftruncate64]: Make code unconditional.
29880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29882 include <kernel-features.h>.
29883 [!__NR_ftruncate64]: Remove conditional code.
29884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29885 [__NR_ftruncate64]: Make code unconditional.
29886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29888 * configure.in (libc_cv_fpie): Weaken to a compile test using
29889 LIBC_TRY_CC_OPTION.
29890 * configure: Regenerated.
29892 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29907 2012-05-27 David S. Miller <davem@davemloft.net>
29909 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29911 (__Q_simulate_exceptions): Return void. Change to simulate
29912 exceptions by writing into the %fsr.
29913 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29914 (__Qp_handle_exceptions): Likewise.
29916 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29917 __Qp_handle_exceptions.
29918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29919 __Qp_handle_exceptions.
29920 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29921 as unused and give dummy FP_RND_NEAREST initializer.
29922 (FP_INHIBIT_RESULTS): Define.
29923 (___Q_simulate_exceptions): Update declaration.
29924 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29927 as unused and give dummy FP_RND_NEAREST initializer.
29928 (__Qp_handle_exceptions): Update declaration.
29929 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29932 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29934 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29935 the temporary FPU control word.
29936 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29937 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29939 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29940 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29941 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29942 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29944 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29945 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29946 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29948 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29950 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29953 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29955 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29956 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29957 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29958 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29960 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29961 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29964 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29966 * po/h.po: Update from translation team.
29968 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29970 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29972 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29973 handling of denormals.
29974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29975 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29976 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29977 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29983 2012-05-26 Marek Polacek <polacek@redhat.com>
29986 * math/libm-test.inc (fma_test): Don't always expect underflow
29989 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29992 * elf/tst-execstack.c: Include stackinfo.h.
29993 (do_test): Adjust test case to ensure that pthread_getattr_np
29994 behaviour remains the same after marking stack executable.
29996 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29998 * sysdeps/unix/sysv/linux/kernel-features.h
29999 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30000 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30002 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30003 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30004 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30006 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30007 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30009 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30011 * configure.in: Define the default includes to being none.
30012 * configure: Regenerated.
30014 2012-05-25 Roland McGrath <roland@hack.frob.com>
30016 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30017 * sysdeps/x86_64/setjmp.S: Likewise.
30018 * sysdeps/i386/bsd-setjmp.S: Likewise.
30019 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30020 * sysdeps/i386/setjmp.S: Likewise.
30021 * sysdeps/i386/__longjmp.S: Likewise.
30022 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30025 * include/stap-probe.h: New file.
30026 * configure.in: Handle --enable-systemtap.
30027 * configure: Regenerated.
30028 * config.h.in (USE_STAP_PROBE): New #undef.
30029 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30030 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30031 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30033 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30036 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30037 to 2.4.0 where earlier.
30038 * sysdeps/unix/sysv/linux/configure: Regenerated.
30039 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
30048 [__ASSUME_32BITUIDS]: Make code unconditional.
30049 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30050 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30051 <kernel-features.h>.
30052 [__ASSUME_32BITUIDS]: Make code unconditional.
30053 [!__ASSUME_32BITUIDS]: Remove conditional code.
30054 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30055 <kernel-features.h>.
30056 [__ASSUME_32BITUIDS]: Make code unconditional.
30057 [!__ASSUME_32BITUIDS]: Remove conditional code.
30058 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30059 <kernel-features.h>.
30060 [__ASSUME_32BITUIDS]: Make code unconditional.
30061 [!__ASSUME_32BITUIDS]: Remove conditional code.
30062 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30063 <kernel-features.h>.
30064 [__ASSUME_32BITUIDS]: Make code unconditional.
30065 [!__ASSUME_32BITUIDS]: Remove conditional code.
30066 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30067 <kernel-features.h>.
30068 [__ASSUME_32BITUIDS]: Make code unconditional.
30069 [!__ASSUME_32BITUIDS]: Remove conditional code.
30070 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30071 <kernel-features.h>.
30072 [__ASSUME_32BITUIDS]: Make code unconditional.
30073 [!__ASSUME_32BITUIDS]: Remove conditional code.
30074 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30075 <kernel-features.h>.
30076 [__ASSUME_32BITUIDS]: Make code unconditional.
30077 [!__ASSUME_32BITUIDS]: Remove conditional code.
30078 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30079 <kernel-features.h>.
30080 [__ASSUME_32BITUIDS]: Make code unconditional.
30081 [!__ASSUME_32BITUIDS]: Remove conditional code.
30082 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30083 <kernel-features.h>.
30084 [__ASSUME_32BITUIDS]: Make code unconditional.
30085 [!__ASSUME_32BITUIDS]: Remove conditional code.
30086 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30087 <kernel-features.h>.
30088 [__ASSUME_32BITUIDS]: Make code unconditional.
30089 [!__ASSUME_32BITUIDS]: Remove conditional code.
30090 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30091 <kernel-features.h>.
30092 [__NR_setresgid] (__setresgid): Do not declare.
30093 [__ASSUME_32BITUIDS]: Make code unconditional.
30094 [!__ASSUME_32BITUIDS]: Remove conditional code.
30095 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30096 <kernel-features.h>.
30097 [__NR_setresuid] (__setresuid): Do not declare.
30098 [__ASSUME_32BITUIDS]: Make code unconditional.
30099 [!__ASSUME_32BITUIDS]: Remove conditional code.
30100 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30101 <kernel-features.h>.
30102 [__ASSUME_32BITUIDS]: Make code unconditional.
30103 [!__ASSUME_32BITUIDS]: Remove conditional code.
30104 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30105 <kernel-features.h>.
30106 [__ASSUME_32BITUIDS]: Make code unconditional.
30107 [!__ASSUME_32BITUIDS]: Remove conditional code.
30108 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30109 <kernel-features.h>.
30110 [__ASSUME_32BITUIDS]: Make code unconditional.
30111 [!__ASSUME_32BITUIDS]: Remove conditional code.
30112 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30113 <kernel-features.h>.
30114 [__ASSUME_32BITUIDS]: Make code unconditional.
30115 [!__ASSUME_32BITUIDS]: Remove conditional code.
30116 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30117 <kernel-features.h>.
30118 [__ASSUME_32BITUIDS]: Make code unconditional.
30119 [!__ASSUME_32BITUIDS]: Remove conditional code.
30120 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30121 <kernel-features.h>.
30122 [__ASSUME_32BITUIDS]: Make code unconditional.
30123 [!__ASSUME_32BITUIDS]: Remove conditional code.
30124 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30125 <kernel-features.h>.
30126 [__ASSUME_32BITUIDS]: Make code unconditional.
30127 [!__ASSUME_32BITUIDS]: Remove conditional code.
30128 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30129 <kernel-features.h>.
30130 [__ASSUME_32BITUIDS]: Make code unconditional.
30131 [!__ASSUME_32BITUIDS]: Remove conditional code.
30132 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30133 <kernel-features.h>.
30134 [__ASSUME_32BITUIDS]: Make code unconditional.
30135 [!__ASSUME_32BITUIDS]: Remove conditional code.
30136 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30137 <kernel-features.h>.
30138 [__ASSUME_32BITUIDS]: Make code unconditional.
30139 [!__ASSUME_32BITUIDS]: Remove conditional code.
30140 * sysdeps/unix/sysv/linux/kernel-features.h
30141 (__ASSUME_SETRESUID_SYSCALL): Remove.
30142 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30143 (__ASSUME_32BITUIDS): Likewise.
30144 (__ASSUME_LDT_WORKS): Likewise.
30145 (__ASSUME_O_DIRECTORY): Likewise.
30146 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30147 architecture but not kernel version.
30148 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30149 (__ASSUME_MMAP2_SYSCALL): Likewise.
30150 (__ASSUME_STAT64_SYSCALL): Likewise.
30151 (__ASSUME_IPC64): Likewise.
30152 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30153 <kernel-features.h>.
30154 [__ASSUME_32BITUIDS]: Make code unconditional.
30155 [!__ASSUME_32BITUIDS]: Remove conditional code.
30156 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30157 <kernel-features.h>.
30158 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30159 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30160 132096]: Remove conditional code.
30161 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30162 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30163 <kernel-features.h>.
30164 [__ASSUME_32BITUIDS]: Make code unconditional.
30165 [!__ASSUME_32BITUIDS]: Remove conditional code.
30166 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30167 <kernel-features.h>.
30168 [__ASSUME_32BITUIDS]: Make code unconditional.
30169 [!__ASSUME_32BITUIDS]: Remove conditional code.
30170 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30171 <kernel-features.h>.
30172 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30174 (__setresgid): Do not declare.
30175 [__ASSUME_32BITUIDS]: Make code unconditional.
30176 [!__ASSUME_32BITUIDS]: Remove conditional code.
30177 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30178 <kernel-features.h>.
30179 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30181 (__setresuid): Do not declare.
30182 [__ASSUME_32BITUIDS]: Make code unconditional.
30183 [!__ASSUME_32BITUIDS]: Remove conditional code.
30184 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30185 <kernel-features.h>.
30186 [__ASSUME_32BITUIDS]: Make code unconditional.
30187 [!__ASSUME_32BITUIDS]: Remove conditional code.
30188 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30189 <kernel-features.h>.
30190 [__ASSUME_32BITUIDS]: Make code unconditional.
30191 [!__ASSUME_32BITUIDS]: Remove conditional code.
30193 2012-05-25 Richard Henderson <rth@twiddle.net>
30195 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30196 dl_hwcap to ifunc resolver.
30197 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30199 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30200 dl_hwcap to ifunc resolver.
30201 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30203 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30206 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30207 for |x| <= 2**-26, not 2**-57.
30208 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30211 2012-05-24 Jeff Law <law@redhat.com>
30213 * stdio-common/Makefile (tests): Add bug25.
30214 * stdio-common/bug25.c: New test.
30216 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30219 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30220 multiple of MALLOC_ALIGNMENT in size.
30221 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30223 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30225 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30227 (FILENAME_MAX): Use macro-int-constant.
30228 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30229 (_IOFBF): Use macro-int-constant.
30230 (_IOLBF): Likewise.
30231 (_IONBF): Likewise.
30232 (SEEK_CUR): Likewise.
30233 (SEEK_END): Likewise.
30234 (SEEK_SET): Likewise.
30235 (TMP_MAX): Likewise.
30236 (EOF): Use macro-int-constant. Require < 0.
30237 (NULL): Use macro-constant. Require == 0.
30238 (stdin): Require type to be FILE *.
30239 (stdout): Likewise.
30240 (stderr): Likewise.
30241 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30242 macro-int-constant.
30243 (EXIT_SUCCESS): Likewise.
30244 (NULL): Use macro-constant. Require == 0.
30245 (RAND_MAX): Use macro-int-constant.
30246 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30247 [C99-based standards] (strtof): Require function.
30248 [C99-based standards] (strtold): Likewise.
30249 [C99-based standards] (strtoll): Likewise.
30250 [C99-based standards] (strtoull): Likewise.
30251 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30252 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30253 [ISO || ISO99 || ISO11] (math.h): Likewise.
30254 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30255 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30258 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30261 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30262 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30263 * intl/dgettext.c (DCGETTEXT): Likewise.
30264 * intl/gettext.c (DCGETTEXT): Likewise.
30265 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30266 * posix/regex_internal.h (gettext): Likewise.
30267 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30268 Remove declaration.
30269 * include/argz.h (__argz_count_internal)
30270 (__argz_stringify_internal): Remove declaration.
30271 (__argz_count, __argz_stringify): Declare hidden proto.
30272 * intl/dcgettext.c: Remove use of INTDEF.
30273 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30274 * string/argz-stringify.c: Likewise.
30275 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30276 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30277 Declare hidden proto.
30278 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30279 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30280 Declare hidden proto.
30281 * include/stdio.h (__asprintf_internal): Don't declare.
30282 (__asprintf): Don't define as macro. Declare hidden proto.
30283 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30284 (__fsetlocking): Declare hidden proto.
30285 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30286 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30288 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30289 (_IO_setlinebuf): Remove use of INTUSE.
30290 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30291 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30292 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30293 Remove declaration.
30294 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30295 (_IO_do_flush): Remove use of INTUSE.
30296 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30297 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30298 (_IO_adjust_column, _IO_least_wmarker)
30299 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30300 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30301 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30302 (_IO_default_doallocate, _IO_wdefault_doallocate)
30303 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30304 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30305 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30306 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30307 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30308 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30309 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30310 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30311 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30312 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30313 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30314 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30315 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30317 (_IO_flush_all_internal, _IO_adjust_column_internal)
30318 (_IO_default_uflow_internal, _IO_default_finish_internal)
30319 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30320 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30321 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30322 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30323 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30324 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30325 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30326 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30327 (_IO_file_close_internal, _IO_file_close_it_internal)
30328 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30329 (_IO_file_init_internal, _IO_file_attach_internal)
30330 (_IO_file_fopen_internal, _IO_file_read_internal)
30331 (_IO_file_sync_internal, _IO_file_seek_internal)
30332 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30333 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30334 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30335 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30336 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30337 (_IO_list_all_internal, _IO_link_in_internal)
30338 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30339 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30340 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30341 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30342 (_IO_do_write_internal, _IO_padn_internal)
30343 (_IO_getline_info_internal, _IO_getline_internal)
30344 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30345 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30346 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30347 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30348 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30349 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30350 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30351 with libc_hidden_ver, remove use of INTUSE.
30352 * libio/genops.c: Likewise.
30353 * libio/freopen.c: Likewise.
30354 * libio/freopen64.c: Likewise.
30355 * libio/iofclose.c: Likewise.
30356 * libio/iofdopen.c: Likewise.
30357 * libio/iofflush.c: Likewise.
30358 * libio/iofflush_u.c: Likewise.
30359 * libio/iofgets.c: Likewise.
30360 * libio/iofgets_u.c: Likewise.
30361 * libio/iofopen.c: Likewise.
30362 * libio/iofopncook.c: Likewise.
30363 * libio/iofread.c: Likewise.
30364 * libio/iofread_u.c: Likewise.
30365 * libio/ioftell.c: Likewise.
30366 * libio/iofwrite.c: Likewise.
30367 * libio/iogetline.c: Likewise.
30368 * libio/iogets.c: Likewise.
30369 * libio/iogetwline.c: Likewise.
30370 * libio/iopadn.c: Likewise.
30371 * libio/iopopen.c: Likewise.
30372 * libio/ioseekoff.c: Likewise.
30373 * libio/ioseekpos.c: Likewise.
30374 * libio/iosetbuffer.c: Likewise.
30375 * libio/iosetvbuf.c: Likewise.
30376 * libio/ioungetc.c: Likewise.
30377 * libio/ioungetwc.c: Likewise.
30378 * libio/iovdprintf.c: Likewise.
30379 * libio/iovsprintf.c: Likewise.
30380 * libio/iovsscanf.c: Likewise.
30381 * libio/memstream.c: Likewise.
30382 * libio/obprintf.c: Likewise.
30383 * libio/oldfileops.c: Likewise.
30384 * libio/oldiofclose.c: Likewise.
30385 * libio/oldiofdopen.c: Likewise.
30386 * libio/oldiofopen.c: Likewise.
30387 * libio/oldiopopen.c: Likewise.
30388 * libio/oldstdfiles.c: Likewise.
30389 * libio/putc.c: Likewise.
30390 * libio/setbuf.c: Likewise.
30391 * libio/setlinebuf.c: Likewise.
30392 * libio/stdfiles.c: Likewise.
30393 * libio/strops.c: Likewise.
30394 * libio/vasprintf.c: Likewise.
30395 * libio/vscanf.c: Likewise.
30396 * libio/vsnprintf.c: Likewise.
30397 * libio/vswprintf.c: Likewise.
30398 * libio/wfiledoalloc.c: Likewise.
30399 * libio/wfileops.c: Likewise.
30400 * libio/wgenops.c: Likewise.
30401 * libio/wmemstream.c: Likewise.
30402 * libio/wstrops.c: Likewise.
30403 * libio/__fpurge.c: Likewise.
30404 * libio/__fsetlocking.c: Likewise.
30405 * assert/assert.c: Likewise.
30406 * debug/fgets_chk.c: Likewise.
30407 * debug/fgets_u_chk.c: Likewise.
30408 * debug/fread_chk.c: Likewise.
30409 * debug/fread_u_chk.c: Likewise.
30410 * debug/gets_chk.c: Likewise.
30411 * debug/obprintf_chk.c: Likewise.
30412 * debug/vasprintf_chk.c: Likewise.
30413 * debug/vdprintf_chk.c: Likewise.
30414 * debug/vsnprintf_chk.c: Likewise.
30415 * debug/vsprintf_chk.c: Likewise.
30416 * malloc/mtrace.c: Likewise.
30417 * misc/error.c: Likewise.
30418 * misc/syslog.c: Likewise.
30419 * stdio-common/asprintf.c: Likewise.
30420 * stdio-common/fxprintf.c: Likewise.
30421 * stdio-common/getw.c: Likewise.
30422 * stdio-common/isoc99_fscanf.c: Likewise.
30423 * stdio-common/isoc99_scanf.c: Likewise.
30424 * stdio-common/isoc99_vfscanf.c: Likewise.
30425 * stdio-common/isoc99_vscanf.c: Likewise.
30426 * stdio-common/isoc99_vsscanf.c: Likewise.
30427 * stdio-common/printf-prs.c: Likewise.
30428 * stdio-common/printf_fp.c: Likewise.
30429 * stdio-common/printf_fphex.c: Likewise.
30430 * stdio-common/printf_size.c: Likewise.
30431 * stdio-common/putw.c: Likewise.
30432 * stdio-common/scanf.c: Likewise.
30433 * stdio-common/sprintf.c: Likewise.
30434 * stdio-common/tmpfile.c: Likewise.
30435 * stdio-common/vfprintf.c: Likewise.
30436 * stdio-common/vfscanf.c: Likewise.
30437 * stdlib/strfmon_l.c: Likewise.
30438 * sunrpc/openchild.c: Likewise.
30439 * sunrpc/xdr_stdio.c: Likewise.
30440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30441 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30443 2012-05-24 Roland McGrath <roland@hack.frob.com>
30445 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30447 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30448 in the third column, to generate for the shared library an IFUNC
30449 that uses _dl_vdso_vsym.
30450 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30451 * Makeconfig (object-suffixes-noshared): New variable.
30453 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30454 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30455 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30456 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30459 * include/sys/time.h (__gettimeofday): Remove macro.
30460 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30461 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30463 (__gettimeofday): Add libc_hidden_def.
30464 (gettimeofday): Add libc_hidden_weak.
30465 * sysdeps/mach/gettimeofday.c: Likewise.
30466 * sysdeps/posix/gettimeofday.c: Likewise.
30467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30468 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30470 (__gettimeofday_internal): Remove strong_alias.
30471 (__gettimeofday): Add libc_hidden_def.
30472 (gettimeofday): Add libc_hidden_weak.
30473 * sysdeps/unix/syscalls.list (gettimeofday):
30474 Remove __gettimeofday_internal alias.
30476 2012-05-24 Daniel Jacobowitz <drow@false.org>
30477 H.J. Lu <hongjiu.lu@intel.com>
30480 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30481 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30482 (largebin_index_32_big): New.
30483 (largebin_index): Use it for 16-byte alignment.
30484 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30485 correction with front_misalign.
30487 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30515 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30516 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30518 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30522 * math/libm-test.inc (exp_test): Add test from bug 14036.
30523 (pow_test): Add test from bug 10846.
30525 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30527 (special_function): Do not include flags in test name.
30528 (parse_args): Likewise.
30529 * sysdeps/i386/fpu/libm-test-ulps: Update.
30530 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30531 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30532 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30535 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30537 * math/libm-test.inc ("Philosophy"): Update comment about
30539 (UNDERFLOW_EXCEPTION): New macro.
30540 (UNDERFLOW_EXCEPTION_OK): Likewise.
30541 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30542 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30543 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30544 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30545 (INVALID_EXCEPTION_OK): Update value.
30546 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30547 (OVERFLOW_EXCEPTION_OK): Likewise.
30548 (IGNORE_ZERO_INF_SIGN): Likewise.
30549 (test_exceptions): Handle underflow exceptions.
30550 (acos_test): Update for underflow exception expectations.
30551 (cexp_test): Likewise.
30552 (clog_test): Likewise.
30553 (clog10_test): Likewise.
30554 (csqrt_test): Likewise.
30555 (ctan_test): Likewise.
30556 (ctanh_test): Likewise.
30557 (exp_test): Likewise.
30558 (exp10_test): Likewise.
30559 (exp2_test): Likewise.
30560 (expm1_test): Likewise.
30561 (fma_test): Likewise.
30562 (j0_test): Likewise.
30563 (jn_test): Likewise.
30564 (nexttoward_test): Likewise.
30565 (pow_test): Likewise.
30566 (scalbn_test): Likewise.
30567 (scalbln_test): Likewise.
30568 (tan_test): Likewise.
30569 (y1_test): Likewise.
30570 * sysdeps/i386/fpu/libm-test-ulps: Update.
30571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30573 2012-05-23 David S. Miller <davem@davemloft.net>
30575 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30576 (__libc_sigaction): Remove unused local variables.
30578 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30580 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30582 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30584 mktime: avoid signed integer overflow
30585 * time/mktime.c (__mktime_internal): Do not mishandle the case
30586 where diff == INT_MIN.
30588 mktime: simplify computation of average
30589 * time/mktime.c (ranged_convert): Use new time_t_avg function
30590 instead of rolling our own (probably-slower) code.
30592 mktime: do not assume signed right shift propagates sign bit
30593 * time/mktime.c (isdst_differ): New static function.
30594 (__mktime_internal): No need to normalize tm_isdst now.
30595 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30598 mktime: merge another wrapv change from gnulib
30599 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30600 from some compilers.
30602 mktime: remove incorrect attempt at unusual arithmetics
30603 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30604 The code didn't really work on such machines anyway.
30605 (TYPE_MINIMUM): Assume two's complement.
30606 (twos_complement_arithmetic): Verify that long_int and time_t
30607 are two's complement (or unsigned, in the latter case).
30609 mktime: check signed shifts on long_int and time_t, too
30610 * time/mktime.c (SHR): Check that shifts work as desired
30611 on the types long_int and time_t too, as SHR is used on
30614 mktime: do not assume 'long' is wide enough
30615 * time/mktime.c (verify): Move decl up.
30616 (long_int): New type.
30617 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30618 to remove assumption in the code that 'long' is wide enough to
30619 store year values. This assumption is not true on x32 and on
30620 some non-glibc platforms.
30622 mktime: merge wrapv change from gnulib
30623 * time/mktime.c (WRAPV): New macro.
30624 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30625 (guess_time_tm, __mktime_internal): Do not assume that signed
30626 integer overflow wraps around; modern compilers generate code
30627 where this assumption is no longer valid.
30629 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30631 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30632 Replace "jmp L(pseudo_end)" with "ret".
30633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30636 2012-05-23 Andreas Jaeger <aj@suse.de>
30638 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30639 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30641 2012-05-23 Andreas Jaeger <aj@suse.de>
30642 Maximilian Attems <max@stro.at>
30644 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30647 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30649 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30650 code so that pseudo_end is just ret and the stack pointer is
30651 correct also for static library in error case.
30653 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30655 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30656 move to syscalls.list.
30657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30662 * manual/install.texi (Running make install): Do not mention Linux
30663 kernel version for which pt_chown is not needed.
30664 (Linux): Do not mention problems with nscd with 2.0 kernels.
30665 * INSTALL: Regenerated.
30667 2012-05-23 Andreas Jaeger <aj@suse.de>
30669 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30670 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30672 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30674 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30676 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30677 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30679 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30680 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30681 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30682 * sysdeps/unix/sysv/linux/bits/in.h
30683 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30685 2012-05-22 Roland McGrath <roland@hack.frob.com>
30687 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30688 (PREPARE_VERSION): Just use assert instead, it will be elided
30689 under [NDEBUG] anyway.
30691 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30693 * sysdeps/unix/sysv/linux/Makefile: Include
30694 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30695 (sysdep_routines): Remove sysctl.
30696 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30697 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30698 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30699 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30700 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30702 2012-05-22 Andreas Jaeger <aj@suse.de>
30704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30705 that pseudo_end is just ret and the stack pointer is correct also
30706 for static library in error case.
30708 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30711 * nss/nsswitch.c (defconfig_entries): New variable.
30712 (__nss_database_lookup): Don't leak defconfig entries.
30713 (nss_parse_service_list): Don't leak on error paths.
30714 (free_database_entries): New function.
30715 (free_defconfig): New function.
30716 (free_mem): Move common code to free_database_entries.
30718 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30720 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30722 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30724 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30725 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30728 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30729 (INTERNAL_SYSCALL_TYPES): Likewise.
30730 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30731 (LOAD_REGS_TYPES_[1-6]): Likewise.
30732 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30733 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30735 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30738 copysignl for GLIBC_2_0.
30739 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30740 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30742 logbl for GLIBC_2_0.
30743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30744 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30746 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30749 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30751 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30754 * time/mktime.c: Update copyright years.
30756 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30758 mktime: merge comment-quoting-style change from gnulib
30759 * time/mktime.c: Quote 'like this' in comments.
30760 The GNU coding standards suggest that we no longer quote `like this',
30761 as "`" and "'" are typically rendered asymmetrically nowadays.
30762 The typical gnulib style is to quote 'like this' when quoting
30763 code, and "like this" when quoting English.
30765 * time/mktime.c (compile-command): Add "-I.".
30767 mktime: merge mktime-internal.h change from gnulib
30768 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30770 mktime: merge time_r change from gnulib
30771 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30773 mktime: merge DEBUG change from gnulib
30774 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30775 case system <time.h> has a #define.
30777 mktime: merge <sys/types.h> change from gnulib
30778 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30779 since <time.t> is now guaranteed to define time_t.
30781 mktime: merge HAVE_CONFIG_H change from gnulib
30782 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30784 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30789 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30791 (struct rusage): Use anonymous union to pad each field to
30794 2012-05-21 David S. Miller <davem@davemloft.net>
30796 * Makefules (o-iterator): Remove .s cases.
30797 (compile-command.s): Delete.
30798 (COMPILE.s): Delete.
30799 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30801 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30803 * configure.in (libc_cv_predef_stack_protector): Only consider
30804 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30805 * configure: Regenerated.
30807 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30810 New macro. Use R*LP on int and pointer.
30811 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30812 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30813 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30814 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30816 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30817 [__WORDSIZE_TIME64_COMPAT32] instead of
30818 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30819 (struct utmp): Likewise.
30820 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30821 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30823 (__WORDSIZE_TIME64_COMPAT32): This.
30824 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30825 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30826 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30827 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30828 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30829 (__WORDSIZE_TIME64_COMPAT32): New macro.
30831 2012-05-21 Andreas Jaeger <aj@suse.de>
30833 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30834 only if [SHARED]. Add prototype for __wcschr_ia32.
30836 2012-05-21 Roland McGrath <roland@hack.frob.com>
30838 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30839 of %rbp unmolested in the jmp_buf while mangling the low bits.
30840 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30841 unmolested high bits of %rbp while demangling the low bits.
30842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30844 2012-05-21 Andreas Jaeger <aj@suse.de>
30846 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30847 * sunrpc/svc_simple.c: Use it for registerrpc.
30848 * sunrpc/xcrypt.c: Use it for passwd2des.
30850 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30852 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30854 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30855 Don't define if [__SYSCALL_WORDSIZE != 32].
30856 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30859 2012-05-21 Bruno Haible <bruno@clisp.org>
30860 Andreas Jaeger <aj@suse.de>
30862 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30863 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30864 inptr and inend for must_buffer_ch.
30865 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30866 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30867 * stdio-common/Makefile (tests): Remove bug15.
30868 (bug15-ENV): Remove macro.
30869 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30872 2012-05-19 Andreas Jaeger <aj@suse.de>
30873 Roland McGrath <roland@hack.frob.com>
30875 * manual/contrib.texi: Completely rewritten. It contains now an
30876 alphabetical list of contributors and their contributions.
30878 2012-05-21 Richard Henderson <rth@twiddle.net>
30880 * misc/getauxval.c (__getauxval): Use unsigned long int.
30881 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30882 (getauxval): Use unsigned long int.
30884 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30886 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30888 2012-05-21 Roland McGrath <roland@hack.frob.com>
30890 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30891 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30892 __alignof__ (long double).
30894 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30898 2012-05-20 Richard Henderson <rth@twiddle.net>
30900 * misc/getauxval.c: New file.
30901 * misc/sys/auxv.h: New file.
30902 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30903 (routines): Add getauxval.
30904 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30905 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30906 * elf/dl-sysdep.c (_dl_auxv): Remove.
30907 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30908 * elf/dl-support.c (_dl_auxv): New variable.
30909 (_dl_aux_init): Initialize it.
30910 * manual/startup.texi (Auxiliary Vector): New node.
30911 * sysdeps/generic/bits/hwcap.h: New file.
30912 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30913 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30914 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30915 * sysdeps/sparc/sysdep.h: ... here. Include it.
30916 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30929 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30933 2012-05-19 David S. Miller <davem@davemloft.net>
30935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30937 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30940 * math/s_ccosh.c: Include <float.h>
30941 (__ccosh): Avoid internal overflow calculating sinh and cosh
30942 values before multiplying by sin and cos values.
30943 * math/s_ccoshf.c: Likewise.
30944 * math/s_ccoshl.c: Likewise.
30945 * math/s_csin.c: Likewise.
30946 * math/s_csinf.c: Likewise.
30947 * math/s_csinl.c: Likewise.
30948 * math/s_csinh.c: Likewise.
30949 * math/s_csinhf.c: Likewise.
30950 * math/s_csinhl.c: Likewise.
30951 * math/libm-test.inc (ccos_test): Add more tests.
30952 (ccosh_test): Likewise.
30953 (csin_test): Likewise.
30954 (csinh_test): Likewise.
30955 * sysdeps/i386/fpu/libm-test-ulps: Update.
30956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30958 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30960 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30961 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30963 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30965 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30967 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30968 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30969 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30970 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30971 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30972 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30973 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30974 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30975 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30976 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30977 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30978 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30979 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30980 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30981 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30982 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30983 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30984 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30985 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30986 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30987 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30988 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30989 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30990 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30991 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30992 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30993 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30994 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30995 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30996 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30997 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30999 2012-05-18 Andreas Jaeger <aj@suse.de>
31001 * csu/.gitignore: Delete.
31003 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31005 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31006 (timex): Use __syscall_slong_t.
31008 2012-05-18 Andreas Jaeger <aj@suse.de>
31009 Carlos O'Donell <carlos_odonell@mentor.com>
31011 * manual/install.texi (Configuring and compiling): Update
31012 description about files modified in the source directory.
31013 * INSTALL: Regenerated.
31015 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31017 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31018 value. Use "or" to set return value to -1.
31019 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31020 negate return value.
31022 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31024 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31025 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31026 failure if the compiler has Graphite support disabled.
31027 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31029 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31030 (CFLAGS-memmove.c): Likewise.
31031 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31034 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31036 * sysdeps/x86_64/x32/_itoa.h: New file.
31038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31039 getdents system call only if kernel and user dirents have the
31040 same d_ino and d_off.
31042 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31043 LLONG_MAX != LONG_MAX.
31044 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31045 (_fitoa_word): Likewise.
31047 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31050 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31053 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31054 include <bits/wordsize.h>. Check __x86_64__ instead of
31056 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31057 if __x86_64__ is defined. Use anonymous union on fpstate.
31059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31062 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31064 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31065 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31066 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31067 Refer to _rtld_local_ro instead of _rtld_global_ro.
31068 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31070 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31072 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31074 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31075 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31076 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31078 * sysdeps/powerpc/powerpc32/dl-machine.c
31079 (__elf_machine_runtime_setup) [PROF]: Don't reference
31082 2012-05-18 Andreas Jaeger <aj@suse.de>
31084 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31085 function only available for GCCs before 3.4 since GCC 3.4
31086 introduced a builtin.
31088 (llrintf): Likewise.
31089 (llrint): Likewise.
31096 (nearbyint): Likewise.
31097 (nearbyintf): Likewise.
31101 (floorf): Likewise.
31103 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31105 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31106 on both fields and cast pointer to __syscall_ulong_t.
31108 * bits/types.h (__fsword_t): New type.
31109 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31110 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31112 (__FSWORD_T_TYPE): Likewise.
31113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31114 (__FSWORD_T_TYPE): Likewise.
31115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31116 (__FSWORD_T_TYPE): Likewise.
31117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31118 (__FSWORD_T_TYPE): Likewise.
31119 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31120 __SWORD_TYPE with __fsword_t.
31121 (statfs64): Likewise.
31123 2012-05-17 David S. Miller <davem@davemloft.net>
31125 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31127 2012-05-17 Andreas Jaeger <aj@suse.de>
31129 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31132 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31134 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31136 2012-05-17 Andreas Jaeger <aj@suse.de>
31138 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31141 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31143 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31145 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31147 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31148 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31150 2012-05-17 Andreas Jaeger <aj@suse.de>
31151 Carlos O'Donell <carlos_odonell@mentor.com>
31154 * sysdeps/x86_64/multiarch/init-arch.h
31155 (bit_YMM_Usable): Rename to...
31156 (bit_AVX_Usable): ... this.
31157 (bit_FMA4_Usable): New macro.
31158 (bit_XMM_state): New macro.
31159 (bit_YMM_state): New macro.
31160 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31161 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31162 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31163 (CPUID_OSXSAVE): New macro.
31164 (CPUID_AVX): New macro.
31165 (CPUID_FMA4): New macro.
31166 (index_YMM_Usable): Rename to...
31167 (index_AVX_Usable): ... this.
31168 (HAS_AVX): Use HAS_ARCH_FEATURE.
31169 (HAS_FMA4): Likewise.
31170 (HAS_YMM_USABLE): Remove.
31171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31172 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31174 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31175 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31176 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31177 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31178 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31180 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31182 * math/libm-test.c: Support platforms without multiple rounding modes.
31183 * math/bug-nextafter.c: Support platforms without FP exceptions.
31184 * math/bug-nexttoward.c: Likewise.
31185 * math/test-fenv.c: Likewise.
31186 * math/test-misc.c: Likewise.
31187 * stdlib/bug-getcontext.c: Likewise.
31189 2012-05-17 Andreas Jaeger <aj@suse.de>
31191 * manual/examples/search.c (critter_cmp): Change signature to
31193 * manual/string.texi (Collation Functions): Likewise.
31195 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31197 * bits/types.h: Fold copyright years.
31198 * bits/typesizes.h: Likewise.
31199 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31203 * time/time.h: Likewise.
31205 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31208 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31209 in instead of returning them. Return void.
31210 (__libc_mallinfo): Accumulate over all arenas.
31211 (__malloc_stats): Adjust for change in int_mallinfo interface.
31213 2012-05-16 Roland McGrath <roland@hack.frob.com>
31216 * configure.in (NM): Add AC_CHECK_TOOL for it.
31217 (libc_extra_cflags): New substituted variable.
31218 Check for -fstack-protector being used implicitly.
31219 * configure: Regenerated.
31220 * config.make.in (config-extra-cflags): New variable,
31221 gets @libc_extra_cflags@.
31222 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31225 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31226 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31227 * configure: Regenerated.
31228 * config.make.in (CPPUNDEFS): New substituted variable.
31229 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31230 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31231 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31233 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31235 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31236 (mq_attr): Use __syscall_slong_t.
31238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31240 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31241 Check __x86_64__ instead of __WORDSIZE.
31242 (_STAT_VER_LINUX): Likewise.
31243 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31244 __syscall_ulong_t and __syscall_slong_t.
31245 (stat64): Likewise.
31247 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31249 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31251 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31253 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31257 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31260 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31261 include <bits/wordsize.h>. Check __x86_64__ instead of
31263 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31265 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31268 include <bits/wordsize.h>. Check __x86_64__ instead of
31270 (user_regs_struct): Use "__extension__ unsigned long long"
31271 instead of "unsigned long" if __x86_64__ is defined.
31272 (user): Likewise. Pad after pointer field if __ILP32__ is
31275 2012-05-16 Joseph Myers <joseph@codesourcery.com>
31277 * configure.in (makeinfo): Require version 4.5 or later. Allow
31279 * configure: Regenerated.
31280 * manual/install.texi (texinfo): Increase version requirement to
31282 * INSTALL: Regenerated.
31284 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31286 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31288 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31290 * sysdeps/x86_64/x32/ffs.c: New file.
31292 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31294 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31295 defined. Use __syscall_ulong_t.
31296 (shminfo): Use __syscall_ulong_t.
31297 (shm_info): Likewise.
31299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31302 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31304 (msgqnum_t): Use __syscall_ulong_t.
31305 (msglen_t): Likewise.
31306 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31309 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31310 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31312 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31314 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31315 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31317 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31320 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31321 include <bits/wordsize.h>. Check __x86_64__ instead of
31324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31325 "unsigned long long int" if __x86_64__ is defined.
31326 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31328 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31329 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31330 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31332 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31334 (GET_PC): Cast to uintptr_t first.
31335 (GET_FRAME): Likewise.
31336 (GET_STACK): Likewise.
31338 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31339 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31340 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31341 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31342 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31343 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31344 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31345 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31346 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31349 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31350 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31355 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31356 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31357 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31358 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31359 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31361 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31363 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31364 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31366 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31368 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31370 * Makerules (+depfiles): Also collect depfiles from .oS in
31372 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31373 .oS, $(libnldbl-routines)).
31375 * Makerules (native-compile-mkdep-flags): Define.
31376 * sunrpc/Makefile (extra-objs): Add $(addprefix
31377 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31378 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31379 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31380 calling $(make-target-directory).
31382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31384 * bits/types.h (__snseconds_t): Removed.
31385 * time/time.h (struct timespec): Replace __snseconds_t with
31387 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31388 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31391 (__SNSECONDS_T_TYPE): Likewise.
31392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31393 (__SNSECONDS_T_TYPE): Likewise.
31394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31395 (__SNSECONDS_T_TYPE): Likewise.
31397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31399 * sysdeps/mach/hurd/bits/typesizes.h
31400 (__SYSCALL_SLONG_TYPE): New macro.
31401 (__SYSCALL_ULONG_TYPE): Likewise.
31403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31405 * bits/types.h (__syscall_slong_t): New type.
31406 (__syscall_ulong_t): Likewise.
31408 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31409 (__SYSCALL_ULONG_TYPE): Likewise.
31410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31411 (__SYSCALL_SLONG_TYPE): Likewise.
31412 (__SYSCALL_ULONG_TYPE): Likewise.
31413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31414 (__SYSCALL_SLONG_TYPE): Likewise.
31415 (__SYSCALL_ULONG_TYPE): Likewise.
31416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31417 (__SYSCALL_SLONG_TYPE): Likewise.
31418 (__SYSCALL_ULONG_TYPE): Likewise.
31420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31422 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31423 Add sigaltstack-offsets.sym.
31424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31425 <sigaltstack-offsets.h>.
31426 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31427 longjmp_msg pointer.
31428 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31429 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31431 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31433 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31435 * elf/stackguard-macros.h: Remove file.
31436 * sysdeps/generic/stackguard-macros.h: New file.
31437 * sysdeps/i386/stackguard-macros.h: Likewise.
31438 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31439 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31440 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31441 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31442 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31443 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31444 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31445 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31446 <elf/stackguard-macros.h>.
31449 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31450 __aligned__ in attribute.
31451 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31452 (gregset_t): Likewise.
31454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31456 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31457 * sysdeps/x86_64/64/Implies-after: Here. New file.
31458 * sysdeps/x86_64/x32/Implies-after: New file.
31460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31462 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31463 and access return value for _dl_profile_fixup. Use R10_LP to
31466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31468 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31472 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31473 * sysdeps/x86_64/x32/sysdep.h: New file.
31475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31477 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31478 * sysdeps/x86_64/setjmp.S: Likewise.
31480 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31482 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31484 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31485 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31486 remove unused global constant.
31488 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31490 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31491 include of <not-cancel.h>.
31493 2012-05-15 Roland McGrath <roland@hack.frob.com>
31495 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31497 2012-05-15 Jeff Law <law@redhat.com>
31498 Andreas Jaeger <aj@suse.de>
31501 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31503 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31504 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31505 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31506 code changing __hst_map_handle.map.
31508 2012-05-15 Roland McGrath <roland@hack.frob.com>
31510 * configure.in (sysnames): Look for Implies-before and Implies-after
31512 * configure: Regenerated.
31514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31516 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31517 8-byte data alignment with LP_SIZE alignment.
31519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31521 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31526 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31530 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31531 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31532 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31538 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31539 (stackinfo_sub_sp): Likewise.
31541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31558 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31562 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31563 into R11_LP and load __x86_64_shared_cache_size_half into
31566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31571 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31580 powerpc32/power7/fpu/s_logb.c via #include.
31581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31582 powerpc32/power7/fpu/s_logbf.c via #include.
31583 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31584 powerpc32/power7/fpu/s_logbl.c via #include.
31586 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31588 * README.libm: Remove file.
31590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31592 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31593 count for x32. Use R*_LP and omit operand-size suffix.
31595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31597 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31598 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31599 * sysdeps/x86_64/x32/shlib-versions: New file.
31601 2012-05-14 Roland McGrath <roland@hack.frob.com>
31603 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31604 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31605 Use _dl_fatal_printf instead.
31607 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31609 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31610 set if not set by the user. Do not allow for being unset.
31611 * sysdeps/unix/sysv/linux/configure: Regenerated.
31613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31615 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31616 the `q' suffix from lea and replace .quad with ASM_ADDR.
31618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31621 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31623 (PTR_DEMANGLE): Likewise.
31625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31627 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31629 (ASM_ADDR): Likewise.
31630 (RAX_LP): Likewise.
31631 (RBP_LP): Likewise.
31632 (RBX_LP): Likewise.
31633 (RCX_LP): Likewise.
31634 (RDI_LP): Likewise.
31635 (RSI_LP): Likewise.
31636 (RSP_LP): Likewise.
31639 (R10_LP): Likewise.
31640 (R10_LP): Likewise.
31641 (R11_LP): Likewise.
31642 (R12_LP): Likewise.
31643 (R13_LP): Likewise.
31644 (R14_LP): Likewise.
31645 (R15_LP): Likewise.
31647 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31649 * sysdeps/x86_64/x32/dl-machine.h: New file.
31651 2012-05-14 Andreas Jaeger <aj@suse.de>
31653 * manual/Makefile (subdir): Remove export of subdir.
31654 (all): Remove target.
31655 (.PHONY): Remove all from list.
31656 (mkinstalldirs): Remove.
31657 (.PHONY): Remove installdirs from list.
31658 ($(inst_infodir)/libc.info): Use make-target-directory.
31659 (installdirs): Remove.
31660 (subdir_%): Remove.
31661 (glibc-targets): Remove.
31664 ($(objpfx)stubs ../po/manual.pot): Remove.
31665 ($(objpfx)stamp%): Remove.
31666 (make-target-directory): Remove.
31667 (subdir_install): Remove.
31668 (routines): Remove.
31675 * manual/.gitignore: Remove, it's not needed anymore.
31676 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31678 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31680 (texis): Renamed to $(objpfx)texis.
31681 (texis-path): New, contains path to generated files.
31682 (chapters.%): Use texis-path for complete path, add extra argument
31684 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31685 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31686 (summary,texi, stamp-summary): Use complete path of
31687 files. Generate files in build dir.
31688 (dir-add.texi): Build in build dir.
31689 (libm-err.texi,stamp-libm-err): Likewise.
31690 (version.texi, stamp-version): Likewise.
31691 (.%c.texi): Likewise.
31692 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31693 (mostlyclean): Remove target.
31694 (realclean): Remove target.
31695 (generated): Add new variable with contents from mostlyclean and
31696 realclean, remove entries duplicated in common-mostlyclean, add
31697 stamp-libm-err and stamp-version.
31698 (generated-dirs): Add libc directory.
31699 ($(inst_infodir)/libc.info): Install files from build dir.
31701 * manual/install.texi (Configuring and compiling): Adjust since
31702 the info files are not part of the tar ball anymore.
31704 2012-05-14 Andreas Jaeger <aj@suse.de>
31706 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31709 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31712 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31713 to 2.2.0 where earlier.
31714 * sysdeps/unix/sysv/linux/configure: Regenerated.
31715 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31716 Remove conditional code.
31717 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31718 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31719 Remove conditional code.
31720 [!__NR_lchown]: Likewise.
31721 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31722 [__NR_lchown]: Likewise.
31723 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31724 comment referencing __ASSUME_LCHOWN_SYSCALL.
31725 * sysdeps/unix/sysv/linux/i386/sigaction.c
31726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31728 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31729 Remove conditional code.
31730 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31731 (__protocol_available): Remove #if 0 code.
31732 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31734 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31735 * sysdeps/unix/sysv/linux/kernel-features.h
31736 (__ASSUME_GETCWD_SYSCALL): Don't define.
31737 (__ASSUME_REALTIME_SIGNALS): Likewise.
31738 (__ASSUME_PREAD_SYSCALL): Likewise.
31739 (__ASSUME_PWRITE_SYSCALL): Likewise.
31740 (__ASSUME_POLL_SYSCALL): Likewise.
31741 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31742 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31744 (__ASSUME_SIOCGIFNAME): Don't define.
31745 (__ASSUME_MSG_NOSIGNAL): Likewise.
31746 (__ASSUME_SENDFILE): Define unconditionally.
31747 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31748 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31750 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31751 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31752 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31753 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31754 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31755 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31756 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31758 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31759 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31761 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31762 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31764 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31767 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31768 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31781 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31782 Remove conditional code.
31783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31784 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31785 Remove conditional code.
31786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31787 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31788 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31789 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31790 Remove conditional code.
31791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31792 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31793 Remove conditional code.
31794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31795 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31796 Remove conditional code.
31797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31798 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31799 Remove conditional code.
31800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31801 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31802 Remove conditional code.
31803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31804 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31807 * sysdeps/unix/sysv/linux/sigaction.c
31808 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31809 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31810 * sysdeps/unix/sysv/linux/sigpending.c
31811 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31812 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31813 * sysdeps/unix/sysv/linux/sigprocmask.c
31814 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31815 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31816 * sysdeps/unix/sysv/linux/sigsuspend.c
31817 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31818 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31820 (__libc_missing_rt_sigs): Remove.
31821 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31822 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31823 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31824 Remove conditional code.
31825 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31826 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31828 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31829 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31830 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31831 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31833 2012-05-14 Andreas Jaeger <aj@suse.de>
31835 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31836 it's not used in glibc.
31837 (__coshm1): Likewise.
31838 (__acosh1p): Likewise.
31841 * manual/string.texi (Copying and Concatenation): Add missing
31842 variable in concat example.
31843 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31849 __builtin_clzl with __builtin_clzll.
31851 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31854 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31857 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31859 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31860 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31861 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31864 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31866 * NEWS: Update ia64 info.
31868 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31870 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31873 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31875 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31876 * sysdeps/unix/syscalls.list (dup3): Likewise.
31877 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31878 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31880 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31882 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31883 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31885 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31887 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31889 (TLS_IE): Use mov/add instead of movq/addq to load thread
31891 (TLS_GD_PREFIX): New.
31894 2012-05-11 David S. Miller <davem@davemloft.net>
31896 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31897 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31898 (_FPU_SETCW): Likewise.
31900 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31902 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31903 is 32-byte aligned.
31905 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31908 * iconvdata/gb18030.c: Update tables.
31909 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31910 characters specially.
31911 (BODY for TO_LOOP): Add encoding of missing ranges.
31913 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31916 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31917 * sysdeps/mach/hurd/dup3.c: Likewise.
31918 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31919 * sysdeps/powerpc/memmove.c:: Likewise.
31921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31924 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31926 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31928 * elf/elf.h (R_X86_64_RELATIVE64): New.
31929 (R_X86_64_NUM): Updated.
31930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31931 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31932 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31933 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31934 tst-quad1pie tst-quad2pie
31935 (modules-names): Add tst-quadmod1 tst-quadmod2.
31936 ($(objpfx)tst-quad1): New dependency.
31937 ($(objpfx)tst-quad2): Likewise.
31938 ($(objpfx)tst-quad1pie): Likewise.
31939 ($(objpfx)tst-quad2pie): Likewise.
31940 * sysdeps/x86_64/tst-quad1.c: New file.
31941 * sysdeps/x86_64/tst-quad1pie.c: New file.
31942 * sysdeps/x86_64/tst-quad2.c: Likewise.
31943 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31944 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31945 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31946 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31947 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31951 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31952 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31953 * streams/stropts.h (t_scalar_t): Define type.
31955 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31956 (_PATH_PRESERVE): Set to "/var/lib".
31957 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31959 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31962 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31963 if __dir_mkfile succeeded.
31965 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31966 checking for _hurd_dtablesize. Unlock it right after having
31967 finished _hurd_dtable allocation.
31969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31971 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31972 * sysdeps/mach/hurd/configure: Regenerated.
31973 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31974 special-casing to...
31975 * sysdeps/gnu/configure.in: ... this new file.
31976 * sysdeps/unix/sysv/linux/configure: Regenerated.
31977 * sysdeps/gnu/configure: New generated file.
31979 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31980 for Linux: use nsec instead of usec, as well as:
31981 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31982 members of type struct timespec.
31983 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31985 (struct stat64): Likewise.
31986 (_STATBUF_ST_NSEC): New macro.
31987 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31989 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31990 __strtoul_internal rather than strtoul.
31992 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31994 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31997 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31999 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32000 which preserves existing values.
32001 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32003 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32005 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32006 TIMEOUT values. Return EINVAL for NFDS values either negative or
32007 greater than FD_SETSIZE.
32009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32011 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32012 allocated, call __vm_protect to finish enabling the existing space, and
32013 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32014 allocate the remainder.
32016 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32018 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32019 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32023 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32024 sysdeps/mach/hurd/readlink.c.
32026 * posix/tst-sysconf.c (posix_options): Only use
32027 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32028 _POSIX_SYNCHRONIZED_IO when they are defined
32029 * sysdeps/mach/hurd/bits/posix_opt.h:
32030 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32031 (_XOPEN_REALTIME): Undefine macro.
32032 (_XOPEN_REALTIME_THREADS): Undefine macro.
32033 (_XOPEN_SHM): Undefine macro.
32034 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32036 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32038 (_POSIX_ASYNC_IO): Undefine macro.
32039 (_POSIX_PRIORITIZED_IO): Undefine macro.
32040 (_POSIX_SPIN_LOCKS): Define macro to -1.
32042 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32043 SA_NODEFER, SA_RESETHAND.
32044 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32045 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32050 * elf/Makefile (pldd-modules): Define unconditionally.
32052 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32054 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32056 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32058 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32059 Return ENOENT when name is empty.
32060 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32064 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32066 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32070 Fix mlock in all cases except non-readable pages.
32071 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32072 instead of VM_PROT_ALL as parameter to __vm_wire function.
32074 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32075 (__mkdir): When path is `/', just fail with EEXIST.
32076 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32080 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32081 <sys/uio.h> (for writev).
32082 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32083 and <sys/param.h> (for MIN).
32085 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32087 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32088 REQUESTED_TIME. Properly set the remaining time and return EINTR
32091 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32093 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32094 Depend on against $(link-rpcuserlibs).
32096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32098 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32099 (__libc_stack_end): Do not use attribute_relro.
32100 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32101 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32102 to libthread-provided value.
32103 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32109 * bits/libc-lock.h (__libc_once_get): New macro.
32110 * sysdeps/mach/bits/libc-lock.h: Likewise.
32111 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32113 instead of using implementation details.
32115 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32116 * libio/freopen.c: Likewise.
32117 * libio/freopen64.c: Likewise.
32118 * misc/syslog.c: Likewise.
32119 * nscd/connections.c: Likewise.
32120 * nscd/netgroupcache.c: Likewise.
32121 * sysdeps/posix/getcwd.c: Likewise.
32123 2012-05-10 Roland McGrath <roland@hack.frob.com>
32125 * math/w_ilogbf.c: Add #include <limits.h>.
32127 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32129 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32130 path instead of returning without unlocking.
32132 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32133 immediate-write ioctls.
32134 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32138 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32139 __builtin_frame_address instead of making assumptions about the
32140 location of the return address relative to DATA. Force early load of
32141 the return address.
32142 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32143 __builtin_frame_address.
32146 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32147 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32148 implement dup3 and do some further code clean-ups.
32149 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32150 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32152 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32154 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32156 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32157 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32158 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32159 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32160 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32163 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32164 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32165 when handler == SIG_ERR, not when handler != SIG_ERR.
32167 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32169 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32170 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32173 accept4 for GNU Hurd.
32174 * include/sys/socket.h (__libc_accept4): New prototype.
32175 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32176 to implement __libc_accept4.
32177 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32179 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32181 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32182 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32183 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32184 signal-defines.sym.
32186 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32188 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32192 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32193 assertion on O_CLOEXEC flag.
32194 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32195 * hurd/intern-fd.c: Likewise.
32196 * hurd/port2fd.c: Likewise.
32198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32201 * bits/in.h (IPV6_PKTINFO): Define new macro.
32202 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32204 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32209 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32211 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32212 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32214 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32215 * math/libm-test.inc (logb_test) : Additional logb tests.
32217 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32218 Andreas Jaeger <aj@suse.de>
32220 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32221 * configure: Regenerated.
32222 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32223 * config.make.in (link-obsolete-rpc): New substituted variable.
32224 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32225 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32226 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32227 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32228 so that libc.a contains the symbols.
32229 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32230 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32231 * sunrpc/auth_none.c: Likewise.
32232 * sunrpc/auth_unix.c: Likewise.
32233 * sunrpc/authdes_prot.c: Likewise.
32234 * sunrpc/authuxprot.c: Likewise.
32235 * sunrpc/clnt_gen.c: Likewise.
32236 * sunrpc/clnt_perr.c: Likewise.
32237 * sunrpc/clnt_raw.c: Likewise.
32238 * sunrpc/clnt_simp.c: Likewise.
32239 * sunrpc/clnt_tcp.c: Likewise.
32240 * sunrpc/clnt_udp.c: Likewise.
32241 * sunrpc/clnt_unix.c: Likewise.
32242 * sunrpc/des_crypt.c: Likewise.
32243 * sunrpc/des_soft.c: Likewise.
32244 * sunrpc/get_myaddr.c: Likewise.
32245 * sunrpc/key_call.c: Likewise.
32246 * sunrpc/key_prot.c: Likewise.
32247 * sunrpc/netname.c: Likewise.
32248 * sunrpc/pm_getmaps.c: Likewise.
32249 * sunrpc/pm_getport.c: Likewise.
32250 * sunrpc/pmap_clnt.c: Likewise.
32251 * sunrpc/pmap_prot.c: Likewise.
32252 * sunrpc/pmap_prot2.c: Likewise.
32253 * sunrpc/pmap_rmt.c: Likewise.
32254 * sunrpc/publickey.c: Likewise.
32255 * sunrpc/rpc_cmsg.c: Likewise.
32256 * sunrpc/rpc_common.c: Likewise.
32257 * sunrpc/rpc_dtable.c: Likewise.
32258 * sunrpc/rpc_prot.c: Likewise.
32259 * sunrpc/rpc_thread.c: Likewise.
32260 * sunrpc/rtime.c: Likewise.
32261 * sunrpc/svc.c: Likewise.
32262 * sunrpc/svc_auth.c: Likewise.
32263 * sunrpc/svc_raw.c: Likewise.
32264 * sunrpc/svc_run.c: Likewise.
32265 * sunrpc/svc_tcp.c: Likewise.
32266 * sunrpc/svc_udp.c: Likewise.
32267 * sunrpc/svc_unix.c: Likewise.
32268 * sunrpc/svcauth_des.c: Likewise.
32269 * sunrpc/xcrypt.c: Likewise.
32270 * sunrpc/xdr.c: Likewise.
32271 * sunrpc/xdr_array.c: Likewise.
32272 * sunrpc/xdr_float.c: Likewise.
32273 * sunrpc/xdr_intXX_t.c: Likewise.
32274 * sunrpc/xdr_mem.c: Likewise.
32275 * sunrpc/xdr_rec.c: Likewise.
32276 * sunrpc/xdr_ref.c: Likewise.
32277 * sunrpc/xdr_sizeof.c: Likewise.
32278 * sunrpc/xdr_stdio.c: Likewise.
32280 2012-05-10 Roland McGrath <roland@hack.frob.com>
32282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32283 change. Update copyright years.
32285 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32287 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32289 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32290 Joseph Myers <joseph@codesourcery.com>
32291 Paul Pluzhnikov <ppluzhnikov@google.com>
32294 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32296 [cross-compiling] (extra-libs): Likewise.
32297 [cross-compiling] (extra-libs-others): Likewise.
32298 [cross-compiling] (librpcsvc-routines): Likewise.
32299 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32300 [cross-compiling] (omit-deps): Likewise.
32301 (sunrpc-CPPFLAGS): New variable.
32302 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32303 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32304 (cross-rpcgen-objs): New variable.
32305 (extra-objs): Append $(cross-rpcgen-objs).
32306 ($(cross-rpcgen-objs)): New rule.
32307 ($(objpfx)cross-rpcgen): Likewise.
32308 (rpcgen-cmd): Define to use $(built-program-file). Expand
32310 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32311 ($(objpfx)x%.stmp): Likewise.
32312 * sunrpc/proto.h [IS_IN_build] (_): Define.
32313 [IS_IN_build] (_libc_intl_domainname): Likewise.
32315 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32318 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32319 and R_X86_64_TPOFF64.
32321 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32323 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32324 sysdeps/unix/sysv/syscalls.list.
32327 * sysdeps/unix/sysv/syscalls.list: Remove file.
32329 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32332 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32333 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32334 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32335 (__LC_IDENTIFICATION): Make these macros useful in #if
32336 expressions, as required by C99.
32338 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32340 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32341 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32344 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32346 * stdlib/longlong.h: Updated from GCC.
32348 2012-05-09 Andreas Jaeger <aj@suse.de>
32350 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32351 default is first entry.
32352 (run_mode): Set type.
32353 (main): Remove informal message about syslog.
32354 (options): Fix typo.
32357 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32360 (llrintf): Likewise.
32361 (llrint): Likewise.
32364 (nearbyint): Likewise.
32365 (nearbyintf): Likewise.
32367 2012-05-09 Andreas Jaeger <aj@suse.de>
32368 Pedro Alves <palves@redhat.com>
32370 * nscd/nscd.c (run_mode): Use enum.
32371 (main): Cleanup coding style issue.
32373 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32374 Andreas Jaeger <aj@suse.de>
32376 * nscd/nscd.c (go_background): Replaced with...
32377 (run_mode): ... this.
32378 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32379 (options): Add -F --foreground.
32380 (main): Implement it.
32381 (parse_opt): Parse it.
32383 2012-05-09 Andreas Jaeger <aj@suse.de>
32386 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32387 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32388 -Wconversion warning.
32389 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32392 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32394 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32396 (LC_ALL): Use macro-int-constant.
32397 (LC_COLLATE): Likewise.
32398 (LC_CTYPE): Likewise.
32399 (LC_MESSAGES): Likewise.
32400 (LC_MONETARY): Likewise.
32401 (LC_NUMERIC): Likewise.
32402 (LC_TIME): Likewise.
32403 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32404 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32406 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32408 [C99-based standards] (float_t): Expect type.
32409 [C99-based standards] (double_t): Expect type.
32410 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32412 [C99-based standards] (HUGE_VALL): Likewise.
32413 [C99-based standards] (INFINITY): Likewise.
32414 [C99-based standards] (NAN): Likewise.
32415 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32416 [C99-based standards] (FP_NAN): Likewise.
32417 [C99-based standards] (FP_NORMAL): Likewise.
32418 [C99-based standards] (FP_SUBNORMAL): Likewise.
32419 [C99-based standards] (FP_ZERO): Likewise.
32420 [C99-based standards] (FP_FAST_FMA): Use
32421 optional-macro-int-constant. Specify type. Require == 1.
32422 [C99-based standards] (FP_FAST_FMAF): Likewise.
32423 [C99-based standards] (FP_FAST_FMAL): Likewise.
32424 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32425 [C99-based standards] (FP_ILOGBNAN): Likewise.
32426 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32428 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32429 [C99-based standards] (math_errhandling): Specify type.
32430 [ISO99 || ISO11] (signgam): Do not allow.
32431 [non-C99-based standards] (copysignf): Do not allow.
32432 [non-C99-based standards] (exp2f): Likewise.
32433 [non-C99-based standards] (log2f): Likewise.
32434 [non-C99-based standards] (modff): Allow.
32435 [non-C99-based standards] (erff): Do not allow.
32436 [non-C99-based standards] (erfcf): Likewise.
32437 [non-C99-based standards] (gammaf): Likewise.
32438 [non-C99-based standards] (hypotf): Likewise.
32439 [non-C99-based standards] (j0f): Likewise.
32440 [non-C99-based standards] (j1f): Likewise.
32441 [non-C99-based standards] (jnf): Likewise.
32442 [non-C99-based standards] (lgammaf): Likewise.
32443 [non-C99-based standards] (tgammaf): Likewise.
32444 [non-C99-based standards] (y0f): Likewise.
32445 [non-C99-based standards] (y1f): Likewise.
32446 [non-C99-based standards] (ynf): Likewise.
32447 [non-C99-based standards] (isnanf): Likewise.
32448 [non-C99-based standards] (acoshf): Likewise.
32449 [non-C99-based standards] (asinhf): Likewise.
32450 [non-C99-based standards] (atanhf): Likewise.
32451 [non-C99-based standards] (cbrtf): Likewise.
32452 [non-C99-based standards] (expm1f): Likewise.
32453 [non-C99-based standards] (ilogbf): Likewise.
32454 [non-C99-based standards] (log1pf): Likewise.
32455 [non-C99-based standards] (logbf): Likewise.
32456 [non-C99-based standards] (nextafterf): Likewise.
32457 [non-C99-based standards] (remainderf): Likewise.
32458 [non-C99-based standards] (rintf): Likewise.
32459 [non-C99-based standards] (scalbf): Likewise.
32460 [non-C99-based standards] (copysignl): Likewise.
32461 [non-C99-based standards] (exp2l): Likewise.
32462 [non-C99-based standards] (log2l): Likewise.
32463 [non-C99-based standards] (modfl): Allow.
32464 [non-C99-based standards] (erfl): Do not allow.
32465 [non-C99-based standards] (erfcl): Likewise.
32466 [non-C99-based standards] (gammal): Likewise.
32467 [non-C99-based standards] (hypotl): Likewise.
32468 [non-C99-based standards] (j0l): Likewise.
32469 [non-C99-based standards] (j1l): Likewise.
32470 [non-C99-based standards] (jnl): Likewise.
32471 [non-C99-based standards] (lgammal): Likewise.
32472 [non-C99-based standards] (tgammal): Likewise.
32473 [non-C99-based standards] (y0l): Likewise.
32474 [non-C99-based standards] (y1l): Likewise.
32475 [non-C99-based standards] (ynl): Likewise.
32476 [non-C99-based standards] (isnanl): Likewise.
32477 [non-C99-based standards] (acoshl): Likewise.
32478 [non-C99-based standards] (asinhl): Likewise.
32479 [non-C99-based standards] (atanhl): Likewise.
32480 [non-C99-based standards] (cbrtl): Likewise.
32481 [non-C99-based standards] (expm1l): Likewise.
32482 [non-C99-based standards] (ilogbl): Likewise.
32483 [non-C99-based standards] (log1pl): Likewise.
32484 [non-C99-based standards] (logbl): Likewise.
32485 [non-C99-based standards] (nextafterl): Likewise.
32486 [non-C99-based standards] (remainderl): Likewise.
32487 [non-C99-based standards] (rintl): Likewise.
32488 [non-C99-based standards] (scalbl): Likewise.
32489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32490 [non-C99-based standards] (FP_*): Do not allow.
32491 [C99-based standards] (FP_*): Change to
32492 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32493 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32495 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32496 (SIG_ERR): Likewise.
32497 [X/Open-based standards] (SIG_HOLD): Likewise.
32498 (SIG_IGN): Likewise.
32499 (SIGABRT): Use macro-int-constant. Specify type. Require
32501 (SIGFPE): Likewise.
32502 (SIGILL): Likewise.
32503 (SIGINT): Likewise.
32504 (SIGSEGV): Likewise.
32505 (SIGTER): Likewise.
32506 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32507 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32508 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32509 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32510 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32511 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32512 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32513 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32514 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32515 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32516 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32517 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32518 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32519 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32520 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32521 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32522 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32523 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32524 [X/Open-based standards] (SIGTRAP): Likewise.
32525 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32526 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32527 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32528 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32529 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32532 2012-05-08 Ian Wienand <ianw@vmware.com>
32535 * time/tzset.c (__tzset_parse_tz): Update default rules for
32536 daylight time changes in the Energy Policy Act of 2005.
32538 2012-05-09 Andreas Jaeger <aj@suse.de>
32541 * elf/ldconfig.c (parse_conf): Change string to make clear that
32542 ldconfig only issued a warning if ld.so.conf does not exist.
32544 2012-05-08 David S. Miller <davem@davemloft.net>
32546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32547 movxtod instead of popping the value on the stack.
32549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32551 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32553 * config.h.in: Add HAVE_ARM_PCS_VFP.
32555 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32558 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32559 checking but the checks are disabled for any reason.
32561 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32563 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32564 and ELF64_R_TYPE with ELFW(R_TYPE).
32566 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32568 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32569 (ulimit): Likewise.
32571 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32572 (settimeofday): Likewise.
32574 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32576 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32577 a struct th_u2 inside the union, and move tu_block/tu_code into
32578 a new th_u3 union of tu_block/tu_code inside of that. Move
32579 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32580 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32581 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32582 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32583 (th_stuff): Change to th_u1.tu_stuff.
32585 (th_msg): Change to th_u1.th_u2.tu_data.
32587 2012-05-07 David S. Miller <davem@davemloft.net>
32589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32592 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32593 (SETUP_PIC_REG): Use it.
32594 (SETUP_PIC_REG_LEAF): Use it.
32596 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32600 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32602 (EXPL_FINITE): Likewise.
32603 (FLDLOG): Likewise.
32604 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32605 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32607 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32609 (EXPL_FINITE): Likewise.
32610 (FLDLOG): Likewise.
32611 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32612 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32614 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32615 test of -max_value argument for long double.
32616 * sysdeps/i386/fpu/libm-test-ulps: Update.
32617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32619 2012-05-06 David S. Miller <davem@davemloft.net>
32621 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32622 quad soft-float symbols whose references which are compiler
32624 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32626 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32630 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32632 (EXPL_FINITE): Likewise.
32633 (FLDLOG): Likewise.
32636 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32637 Adjust comments for base varying.
32638 (__expl_finite): Change alias to EXPL_FINITE.
32639 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32641 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32642 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32644 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32645 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32647 (EXPL_FINITE): Likewise.
32648 (FLDLOG): Likewise.
32651 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32652 Adjust comments for base varying.
32653 (__expl_finite): Change alias to EXPL_FINITE.
32654 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32659 * math/libm-test.inc (check_float_internal): Correct ulp
32660 calculation for subnormal expected results.
32662 2012-05-06 Andreas Jaeger <aj@suse.de>
32664 * Makeconfig (+math-flags): New, set to -frounding-math.
32665 (+cflags): Add +math-flags so that all of glibc gets compiled with
32668 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32670 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32672 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32678 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32679 (__ieee754_expl): Allow for and saturate large arguments.
32680 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32681 (u_threshold): Likewise.
32682 (__exp): Call __ieee754_exp before checking for overflow and
32684 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32685 (u_threshold): Likewise.
32686 (__expf): Call __ieee754_expf before checking for overflow and
32688 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32689 (u_threshold): Likewise.
32690 (__expl): Call __ieee754_expl before checking for overflow and
32692 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32693 (__ieee754_expl): Allow for and saturate large arguments.
32694 * math/libm-test.inc (exp_test): Add another test. Do not allow
32695 missing overflow exception on overflow.
32696 (expm1_test): Do not allow missing overflow exception on overflow.
32698 * sysdeps/i386/fpu/e_expl.c: Move to ...
32699 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32700 rather than using inline asm.
32701 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32702 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32703 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32705 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32708 (signal): Likewise.
32712 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32714 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32715 sysdeps/unix/common/syscalls.list.
32716 (fchmod): Likewise.
32717 (fchown): Likewise.
32718 (ftruncate): Likewise.
32719 (getrusage): Likewise.
32720 (gettimeofday): Likewise.
32721 (setpgid): Likewise.
32722 (setregid): Likewise.
32723 (setreuid): Likewise.
32724 (sigaction): Likewise.
32725 (truncate): Likewise.
32726 (vhangup): Likewise.
32727 * sysdeps/unix/common/syscalls.list: Remove file.
32728 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32729 * sysdeps/unix/sysv/linux/Implies: Likewise.
32731 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32733 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32735 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32739 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32742 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32745 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32748 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32751 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32754 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32757 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32761 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32765 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32768 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32772 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32776 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32778 * sysdeps/unix/common/bits/dirent.h: Remove file.
32779 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32781 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32782 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32783 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32784 * sysdeps/unix/bsd/isatty.c: Likewise.
32785 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32786 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32787 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32789 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32793 long double comparison inaccuracies.
32794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32797 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32799 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32802 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32806 nonzero digits before rounding a hex value.
32807 * stdlib/tst-strtod.c (tests): Add another test.
32809 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32811 * sysdeps/s390/fpu/libm-test-ulps: Update.
32813 2012-05-03 Andreas Jaeger <aj@suse.de>
32815 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32816 does not get optimized out.
32817 (malloc_opt_barrier): New.
32819 2012-05-03 Andreas Jaeger <aj@suse.de>
32820 Roland McGrath <roland@hack.frob.com>
32822 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32823 intermediate file deletion.
32824 (generated): Add .symlist files.
32826 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32829 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32830 Redirect under this condition.
32831 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32832 [__USE_GNU] (__dprintf_chk): Not under this condition.
32833 [__USE_GNU] (__vdprintf_chk): Likewise.
32834 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32835 under this condition.
32836 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32837 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32838 [__USE_XOPEN2K8] (vdprintf): Likewise.
32839 [__USE_GNU] (__dprintf_chk): Not under this condition.
32840 [__USE_GNU] (__vdprintf_chk): Likewise.
32841 [__USE_GNU] (dprintf): Likewise.
32842 [__USE_GNU] (vdprintf): Likewise.
32844 2012-05-03 Roland McGrath <roland@hack.frob.com>
32846 * elf/Makefile (common-generated): Set this instead of generated for
32847 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32848 $(all-built-dso)-derived lists.
32850 2012-05-03 Andreas Jaeger <aj@suse.de>
32852 * sysdeps/i386/fpu/libm-test-ulps: Update.
32855 * FAQ.in: Likewise.
32856 * scripts/gen-FAQ.pl: Likewise.
32857 * manual/install.texi (Installation): Point to online location of
32859 * Makefile (files-for-dist): Remove FAQ.
32862 2012-05-02 Allan McRae <allan@archlinux.org>
32864 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32865 (LDFLAGS-reldepmod5.so): Likewise.
32866 (LDFLAGS-reldep6mod1.so): Likewise.
32867 (LDFLAGS-reldep6mod4.so): Likewise.
32868 (LDFLAGS-reldep8mod3.so): Likewise.
32869 (LDFLAGS-unload4mod1.so): Likewise.
32870 (LDFLAGS-unload4mod2.so): Likewise.
32871 (LDFLAGS-tst-initorder): Likewise.
32872 (LDFLAGS-tst-initordera2.so): Likewise.
32873 (LDFLAGS-tst-initordera3.so): Likewise.
32874 (LDFLAGS-tst-initordera4.so): Likewise.
32875 (LDFLAGS-tst-initorderb2.so): Likewise.
32876 (LDFLAGS-noload): Likewise.
32877 (LDFLAGS-next): Likewise.
32878 (LDFLAGS-order2mod1.so): Likewise.
32879 (LDFLAGS-order2mod2.so): Likewise.
32880 (LDFLAGS-tst-initorder2): Likewise.
32881 (LDFLAGS-tst-initorder2a.so): Likewise.
32882 (LDFLAGS-tst-initorder2b.so): Likewise.
32883 (LDFLAGS-tst-initorder2c.so): Likewise.
32884 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32886 2012-05-02 David S. Miller <davem@davemloft.net>
32888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32890 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32893 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32895 2012-05-02 Andreas Jaeger <aj@suse.de>
32897 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32898 since we manipulate rounding mode.
32899 (CPPFLAGS-test-idouble.c): Likewise.
32900 (CPPFLAGS-test-ifloat.c): Likewise.
32901 (CFLAGS-test-ldouble.c): Likewise.
32902 (CFLAGS-test-double.c): Likewise.
32903 (CFLAGS-test-float.c): Likewise.
32904 (CFLAGS-test-misc.c): Likewise.
32905 (CFLAGS-test-test-fenv.c): Likewise.
32907 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32912 comparisons to determine direction to adjust input.
32914 2012-05-01 Roland McGrath <roland@hack.frob.com>
32916 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32917 output to the target.
32919 * scripts/localplt.awk: New file.
32920 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32921 (check-localplt-CFLAGS): Variable removed.
32922 ($(all-built-dso:=.jmprel)): New static pattern rule.
32923 (generated): Add those targets.
32924 (localplt-built-dso): New variable.
32925 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32927 * elf/check-localplt.c: File removed.
32929 * scripts/check-execstack.awk: New file.
32930 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32931 (check-execstack-CFLAGS): Variable removed.
32932 ($(objpfx)check-execstack.h): Target removed.
32933 ($(objpfx)execstack-default): New target.
32934 (generated): Add that instead of check-execstack.h.
32935 ($(all-built-dso:=.phdr)): New static pattern rule.
32936 (generated): Add those targets.
32937 * elf/check-execstack.c: File removed.
32939 * scripts/check-textrel.awk: New file.
32940 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32941 (check-textrel-CFLAGS): Variable removed.
32942 (all-built-dso): Use := to define.o
32943 ($(all-built-dso:=.dyn)): New static pattern rule.
32944 (generated): Add those targets.
32945 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32946 * config.make.in (READELF): New substituted variable.
32947 * elf/check-textrel.c: File removed.
32949 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32951 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32953 * conform/data/ctype.h-data [C99-based standards] (isblank):
32955 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32956 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32958 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32959 Specify type. Require positive value.
32960 (EILSEQ): Likewise.
32961 (ERANGE): Likewise.
32962 [ISO || POSIX] (EILSEQ): Do not expect.
32963 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32964 Specify type. Require positive value.
32965 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32966 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32967 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32968 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32969 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32970 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32971 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32972 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32980 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32981 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32986 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32987 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32988 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32989 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32990 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32991 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32992 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32996 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32997 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32998 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32999 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33000 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33001 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33007 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33008 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33009 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33017 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33018 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33020 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33023 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33024 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33025 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33026 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33027 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33028 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33029 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33030 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33031 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33032 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33033 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33034 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33035 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33036 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33037 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33038 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33039 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33040 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33041 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33043 (FLT_ROUNDS): Expect as macro, not constant.
33044 (FLT_MANT_DIG): Use macro-int-constant.
33045 (DBL_MANT_DIG): Likewise.
33046 (LDBL_MANT_DIG): Likewise.
33047 (FLT_DIG): Likewise.
33048 (DBL_DIG): Likewise.
33049 (LDBL_DIG): Likewise.
33050 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33051 (DBL_MIN_EXP): Likewise.
33052 (LDBL_MIN_EXP): Likewise.
33053 (FLT_MAX_EXP): Use macro-int-constant.
33054 (DBL_MAX_EXP): Likewise.
33055 (LDBL_MAX_EXP): Likewise.
33056 (FLT_MAX_10_EXP): Likewise.
33057 (DBL_MAX_10_EXP): Likewise.
33058 (LDBL_MAX_10_EXP): Likewise.
33059 (FLT_MAX): Use macro-constant.
33060 (DBL_MAX): Likewise.
33061 (LDBL_MAX): Likewise.
33062 (FLT_EPSILON): Use macro-constant. Give upper bound.
33063 (DBL_EPSILON): Likewise.
33064 (LDBL_EPSILON): Likewise.
33065 (FLT_MIN): Likewise.
33066 (DBL_MIN): Likewise.
33067 (LDBL_MIN): Likewise.
33068 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33069 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33070 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33071 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33072 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33073 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33074 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33075 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33076 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33077 [ISO11] (FLT_TRUE_MIN): Likewise.
33078 [ISO11] (LDBL_TRUE_MIN): Likewise.
33079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33080 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33081 (SCHAR_MIN): Use macro-int-constant. Specify type.
33082 (SCHAR_MAX): Likewise.
33083 (UCHAR_MAX): Likewise.
33084 (CHAR_MIN): Likewise.
33085 (CHAR_MAX): Likewise.
33086 (MB_LEN_MAX): Use macro-int-constant.
33087 (SHRT_MIN): Use macro-int-constant. Specify type.
33088 (SHRT_MAX): Likewise.
33089 (USHRT_MAX): Likewise.
33090 (INT_MAX): Likewise.
33091 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33093 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33095 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33097 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33098 bound negative. Suffix upper bound with "L".
33099 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33101 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33103 [C99-based standards] (LLONG_MAX): Likewise.
33104 [C99-based standards] (ULLONG_MAX): Likewise.
33105 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33107 [ISO11] (max_align_t): Require type.
33108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33110 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33111 from $CFLAGS, without defining away __attribute__ calls.
33112 (checknamespace): Use $CFLAGS_namespace.
33114 * conform/conformtest.pl (@keywords): Only include C99 keywords
33115 for standards based on C99 or C11.
33117 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33119 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33122 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33123 usability of symbols in #if.
33125 * conform/conformtest.pl: If macro or constant types start
33126 "promoted:", expect the symbol to be of the following type
33127 promoted by the integer promotions.
33129 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33130 in one place. Also handle "macro-constant".
33132 * conform/conformtest.pl: Only accept expected macro values with
33133 "==". Parse all "macro" lines in one place.
33134 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33136 * conform/conformtest.pl: Handle braced types on "constant" lines
33137 instead of handling "typed-constant".
33138 * conform/data/signal.h-data: Use "constant" instead of
33141 * conform/conformtest.pl: Handle "optional-" at start of lines in
33142 one place rather than duplicating several cases. Handle each
33143 format of "macro" line with initial "optional-".
33145 * conform/conformtest.pl: Only accept expected constant or
33146 optional-constant values with "==". Parse all "constant" lines in
33147 one place. Parse all "optional-constant" lines in one place.
33148 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33149 * conform/data/fmtmsg.h-data: Likewise.
33150 * conform/data/netinet/in.h-data: Likewise.
33151 * conform/data/tar.h-data: Likewise.
33152 * conform/data/limits.h-data: Use "==" form on "constant" and
33153 "optional-constant" lines.
33155 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33156 Use -std=c99 for XOPEN2K.
33157 (@knownproblems): Remove.
33158 (newtoken): Don't check %isknown.
33160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33161 Do not expect macro.
33162 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33163 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33164 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33165 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33166 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33167 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33168 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33169 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33170 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33171 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33172 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33173 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33174 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33175 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33176 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33177 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33178 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33179 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33180 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33181 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33182 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33183 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33184 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33185 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33186 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33187 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33188 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33189 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33190 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33191 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33192 [XPG3] (acosh): Likewise.
33193 [XPG3] (asinh): Likewise.
33194 [XPG3] (atanh): Likewise.
33195 [XPG3] (cbrt): Likewise.
33196 [XPG3] (expm1): Likewise.
33197 [XPG3] (ilogb): Likewise.
33198 [XPG3] (log1p): Likewise.
33199 [XPG3] (logb): Likewise.
33200 [XPG3] (nextafter): Likewise.
33201 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33202 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33203 [XPG3] (remainder): Likewise.
33204 [XPG3] (rint): Likewise.
33205 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33206 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33207 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33208 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33209 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33210 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33211 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33212 [UNIX98 || XOPEN2K] (scalb): Expect.
33213 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33214 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33215 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33216 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33217 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33218 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33219 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33220 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33221 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33222 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33223 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33224 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33225 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33226 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33227 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33228 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33229 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33230 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33231 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33232 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33233 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33234 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33235 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33236 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33237 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33238 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33239 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33240 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33241 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33242 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33243 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33244 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33245 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33246 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33247 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33248 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33249 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33250 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33251 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33252 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33253 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33254 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33255 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33256 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33257 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33258 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33259 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33260 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33261 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33262 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33263 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33264 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33265 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33266 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33267 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33268 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33269 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33270 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33271 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33272 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33273 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33274 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33275 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33276 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33277 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33278 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33279 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33280 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33281 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33282 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33283 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33284 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33285 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33286 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33287 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33288 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33289 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33290 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33291 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33292 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33293 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33294 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33295 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33296 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33297 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33298 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33299 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33300 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33301 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33302 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33303 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33304 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33305 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33306 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33307 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33308 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33309 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33310 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33311 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33312 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33313 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33314 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33315 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33316 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33317 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33318 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33319 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33320 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33321 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33322 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33323 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33324 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33325 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33326 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33327 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33328 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33329 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33330 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33331 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33332 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33333 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33334 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33335 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33336 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33337 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33338 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33339 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33340 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33341 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33342 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33343 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33344 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33345 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33346 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33347 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33348 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33349 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33351 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33352 _XOPEN_SOURCE_EXTENDED for XPG4.
33354 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33356 * Makeconfig (localtime): Remove variable.
33357 (inst_localtime-file): Likewise.
33359 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33380 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33384 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33385 comparisons to determine direction to adjust input.
33386 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33387 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33388 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33392 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33397 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33399 * math/libm-test.inc (nexttoward_test): Add more tests.
33401 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33404 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33405 in version GLIBC_2.1, not GLIBC_2.0.
33406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33409 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33412 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33414 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33415 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33416 * math/libm-test.inc (acos_test): Add more tests.
33417 (asin_test): Likewise.
33418 * sysdeps/i386/fpu/libm-test-ulps: Update.
33419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33422 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33424 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33425 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33426 * math/libm-test.inc (acos_test_tonearest): New function.
33427 (acos_test_towardzero): Likewise.
33428 (acos_test_downward): Likewise.
33429 (acos_test_upward): Likewise.
33430 (asin_test_tonearest): Likewise.
33431 (asin_test_towardzero): Likewise.
33432 (asin_test_downward): Likewise.
33433 (asin_test_upward): Likewise.
33434 (main): Call the new functions.
33435 * sysdeps/i386/fpu/libm-test-ulps: Update.
33436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33440 * math/e_exp10.c: Include <float.h>.
33441 (__ieee754_exp10): Handle underflow here rather than multiplying
33442 large negative argument by M_LN10.
33443 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33445 * math/e_exp10l.c: Include <float.h>.
33446 (__ieee754_exp10l): Handle underflow here rather than multiplying
33447 large negative argument by M_LN10l.
33448 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33449 spurious overflow exception on underflow.
33451 2012-04-29 Marek Polacek <polacek@redhat.com>
33453 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33454 (__fortify_function): New macro.
33455 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33456 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33457 __extern_always_inline.
33458 * libio/bits/stdio2.h: Likewise.
33459 * libio/bits/stdio.h: Likewise.
33460 * string/string.h: Likewise.
33461 * string/bits/string3.h: Likewise.
33462 * include/stdio.h: Likewise.
33463 * stdlib/bits/stdlib.h: Likewise.
33464 * stdlib/stdlib.h: Likewise.
33465 * rt/bits/mqueue2.h: Likewise.
33466 * rt/mqueue.h: Likewise.
33467 * posix/bits/unistd.h: Likewise.
33468 * posix/unistd.h: Likewise.
33469 * io/bits/poll2.h: Likewise.
33470 * io/bits/fcntl2.h: Likewise.
33471 * io/fcntl.h: Likewise.
33472 * io/sys/poll.h: Likewise.
33473 * misc/bits/syslog.h: Likewise.
33474 * misc/bits/syslog-ldbl.h: Likewise.
33475 * misc/sys/syslog.h: Likewise.
33476 * socket/bits/socket2.h: Likewise.
33477 * socket/sys/socket.h: Likewise.
33478 * debug/tst-chk1.c: Likewise.
33479 * wcsmbs/bits/wchar2.h: Likewise.
33480 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33481 * wcsmbs/wchar.h: Likewise.
33483 2012-04-29 Andreas Jaeger <aj@suse.de>
33485 * Makerules (tests): Remove enable-check-abi protection.
33486 (check-abi-warn): Remove.
33487 (check-abi-%): Remove check-abi-warn usage.
33489 * configure.in: Remove check-abi configure option.
33490 * configure: Regenerated.
33491 * config.make.in (enable-check-abi): Remove.
33493 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33496 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33497 double functions to double *_finite functions.
33500 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33501 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33503 * stdio-common/Makefile (tests): Add tst-sprintf3.
33504 * stdio-common/tst-sprintf3.c: New file.
33506 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33507 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33509 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33511 * conform/conformtest.pl: Remove duplicate typed-constant
33514 2012-04-28 David S. Miller <davem@davemloft.net>
33516 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33517 (check-abi-%): Remove AWK script prerequisite and explicit
33519 (check-abi): Rewrite to just diff the symlist with the abilist.
33520 (config-tls, config-abi-config): Delete, no longer used.
33521 (update-abi-%): Remove AWK script and explicit abilist directory.
33522 (update-abi): Rewrite to simply compare and conditionally copy the
33523 symlist and the sysdep abilist file. Remove update-abi-config
33525 * abilist/ld.abilist: Remove.
33526 * abilist/libBrokenLocale.abilist: Remove.
33527 * abilist/libanl.abilist: Remove.
33528 * abilist/libcrypt.abilist: Remove.
33529 * abilist/libdl.abilist: Remove.
33530 * abilist/librt.abilist: Remove.
33531 * abilist/libthread_db.abilist: Remove.
33532 * abilist/libutil.abilist: Remove.
33533 * scripts/extract-abilist.awk: Remove.
33534 * scripts/merge-abilist.awk: Remove.
33535 * sysdeps/generic/libcidn.abilist: New file.
33536 * sysdeps/generic/libnss_compat.abilist: New file.
33537 * sysdeps/generic/libnss_db.abilist: New file.
33538 * sysdeps/generic/libnss_dns.abilist: New file.
33539 * sysdeps/generic/libnss_files.abilist: New file.
33540 * sysdeps/generic/libnss_hesiod.abilist: New file.
33541 * sysdeps/generic/libnss_nis.abilist: New file.
33542 * sysdeps/generic/libnss_nisplus.abilist: New file.
33543 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33544 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33545 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33547 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33548 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33549 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33550 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33551 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33552 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33553 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33554 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33555 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33557 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33558 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33559 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33560 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33562 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33563 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33564 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33565 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33566 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33567 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33569 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33570 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33571 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33573 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33676 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33677 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33678 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33681 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33682 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33683 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33684 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33685 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33686 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33687 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33688 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33689 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33741 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33743 * conform/conformtest.pl: Fix typo in handling typed-constant from
33746 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33748 * README: Cut down references to pre-2.6 Linux kernels and
33749 Linuxthreads. Update lists of configurations in libc and ports
33750 and sort alphabetically. Say "or newer" with Linux kernel version
33753 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33755 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33758 * math/libm-test.inc (logb_test_downward): New test to expose
33759 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33762 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33765 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33767 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33768 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33770 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33772 * sysdeps/unix/i386/brk.S: Remove file.
33773 * sysdeps/unix/i386/dl-brk.S: Likewise.
33774 * sysdeps/unix/i386/pipe.S: Likewise.
33775 * sysdeps/unix/i386/sigreturn.S: Likewise.
33776 * sysdeps/unix/i386/syscall.S: Likewise.
33777 * sysdeps/unix/i386/vfork.S: Likewise.
33778 * sysdeps/unix/i386/wait.S: Likewise.
33780 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33781 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33783 * configure.in (arm*-none*): Do not allow without
33784 --enable-hacker-mode.
33785 (netbsd*): Remove case setting base_os.
33786 (386bsd*): Likewise.
33787 (freebsd*): Likewise.
33790 (sunos*): Likewise.
33791 (ultrix*): Likewise.
33792 (newsos*): Likewise.
33793 (dynix*): Likewise.
33799 (minix*): Likewise.
33800 (irix4*): Likewise.
33801 (irix6*): Likewise.
33802 (solaris[2-9]*): Likewise.
33804 * configure: Regenerated.
33806 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33809 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33810 overflow or cancellation in calculating denominator.
33811 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33812 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33813 down expression to avoid unexpected rounding in newer GCCs.
33814 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33816 2012-04-26 David S. Miller <davem@davemloft.net>
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33819 long-double compat symbols.
33820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33834 2012-04-25 David S. Miller <davem@davemloft.net>
33836 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33837 HWCAP_* values only after the memory barriers have been defined.
33838 (atomic_full_barrier): Define.
33839 (atomic_read_barrier): Define.
33840 (atomic_write_barrier): Define.
33842 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33844 * shlib-versions: Add libgcc_s version information.
33845 * sysdeps/generic/libgcc_s.h: Remove.
33846 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33848 * sysdeps/gnu/unwind-resume.c: Likewise.
33849 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33851 2012-04-25 David S. Miller <davem@davemloft.net>
33853 * sysdeps/unix/sparc/brk.S: Delete.
33854 * sysdeps/unix/sparc/dl-brk.S: Delete.
33855 * sysdeps/unix/sparc/pipe.S: Delete.
33856 * sysdeps/unix/sparc/sysdep.S: Delete.
33857 * sysdeps/unix/sparc/sysdep.h: Delete.
33858 * sysdeps/unix/sparc/vfork.S: Delete.
33859 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33860 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33861 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33862 (ret_ERRVAL, r0, r1, MOVE): Define.
33863 (JUMPTARGET): Remove.
33864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33865 sysdeps/unix/sparc/sysdep.h
33866 (ENTRY, END): Remove.
33867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33869 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33871 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33872 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33875 * timezone/README: Update upstream location and email address for
33877 * timezone/zdump.c: Update from tzcode 2012b.
33878 * timezone/zic.c: Likewise.
33880 * configure.in (libc_cv_as_needed): Remove test.
33881 * configure: Regenerated.
33882 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33883 conditional definition.
33884 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33885 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33886 * config.make.in (have-as-needed): Remove variable.
33888 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33889 Paul Pluzhnikov <ppluzhnikov@google.com>
33891 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33894 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33896 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33897 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33898 * sysdeps/sh/strlen.S: Likewise.
33900 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33902 * sysdeps/unix/fork.S: Remove file.
33903 * sysdeps/unix/i386/fork.S: Likewise.
33904 * sysdeps/unix/sparc/fork.S: Likewise.
33906 * sysdeps/unix/system.c: Remove file.
33907 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33909 * sysdeps/unix/getegid.S: Remove file.
33910 * sysdeps/unix/geteuid.S: Likewise.
33912 2012-04-24 Roland McGrath <roland@hack.frob.com>
33914 * scripts/check-localplt.awk: New file.
33915 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33917 * scripts/data/localplt-generic.data: Add a comment.
33919 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33920 NODE when __dir_mkfile failed.
33921 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33922 Reported by Ludovic Courtès <ludo@gnu.org>.
33924 2012-04-24 Andreas Jaeger <aj@suse.de>
33926 * Makerules (common-clean): Also remove gen-as-const-headers
33929 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33931 * Makerules (native-compile): Do not change working directory for
33932 build. Use $(OUTPUT_OPTION) in command.
33933 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33935 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33938 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33939 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33940 * math/libm-test.inc (floor_test): Add more tests.
33941 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33943 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33945 * sysdeps/unix/getdents.c: Remove file.
33946 * sysdeps/unix/sysv/getdents.c: Likewise.
33947 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33949 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33950 sysdeps/unix/mman/syscalls.list.
33952 (mprotect): Likewise.
33954 (munmap): Likewise.
33955 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33956 * sysdeps/unix/mman/syscalls.list: Remove.
33957 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33959 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33960 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33961 * configure: Regenerated.
33962 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33963 $(libgcc_s_suffix).
33964 * config.make.in (libgcc_s_suffix): Remove variable.
33966 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33968 * sysdeps/unix/sysv/gethostname.c: Move to ...
33969 * sysdeps/posix/gethostname.c: ... here.
33971 * sysdeps/unix/execve.S: Remove file.
33973 * sysdeps/unix/_exit.S: Remove file.
33975 2012-04-23 Andreas Jaeger <aj@suse.de>
33978 * manual/Makefile: Remove make dist support, there's no
33979 need for a stand-alone documentation tar ball.
33980 (TEXI2DVI): Define always, it's not in Makeconfig.
33983 (edition): Removed.
33984 (glibc-doc-$(edition).tar): Removed
33988 (ETAGS): Remove, it's in Makeconfig.
33989 (move-if-change): Remove, it's in Makeconfig.
33991 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33994 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33995 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33996 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33997 (strtod_l, strtof_l, strtold_l): Remove __wur.
33998 It is not necessarily an error to ignore strtol's return value.
33999 One can reliably look at the stored endptr to decide whether
34000 the number had valid syntax.
34002 2012-04-21 Andreas Jaeger <aj@suse.de>
34005 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34007 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34009 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34010 * sysdeps/unix/sysv/Versions: Remove file.
34012 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34017 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34020 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34021 version from __vm86.
34023 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34025 * sysdeps/unix/common/lxstat.c: Remove file.
34026 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34028 * sysdeps/unix/sysv/Makefile: Remove file.
34030 * sysdeps/unix/sysv/direct.h: Remove file.
34032 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34033 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34034 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34035 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34036 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34037 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34038 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34040 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34042 * sysdeps/unix/xmknod.c: Remove file.
34043 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34045 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34047 * sysdeps/unix/sysv/i386/time.S: Remove file.
34049 * sysdeps/unix/fxstat.c: Remove file.
34050 * sysdeps/unix/xstat.c: Likewise.
34051 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34053 * sysdeps/unix/sysv/sigaction.c: Remove file.
34055 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34056 (sysdep_headers): Remove variable.
34057 [termio.h not in sysdep_headers] (generated): Likewise.
34058 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34059 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34060 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34061 * sysdeps/unix/sysv/tcflow.c: Likewise.
34062 * sysdeps/unix/sysv/tcflush.c: Likewise.
34063 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34064 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34065 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34066 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34067 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34069 * sysdeps/unix/siglist.c: Remove file.
34071 * sysdeps/unix/getppid.S: Remove file.
34073 * sysdeps/unix/mkdir.c: Remove file.
34074 * sysdeps/unix/rmdir.c: Likewise.
34076 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34078 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34080 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34081 errlist-compat value.
34083 2012-04-18 David S. Miller <davem@davemloft.net>
34085 * sysdeps/generic/memcopy.h (reg_char): Delete.
34086 * debug/strcat_chk.c: Use char, not reg_char.
34087 * debug/strcpy_chk.c: Likewise.
34088 * debug/strncat_chk.c: Likewise.
34089 * debug/strncpy_chk.c: Likewise.
34090 * string/memchr.c: Likewise.
34091 * string/memrchr.c: Likewise.
34092 * string/rawmemchr.c: Likewise.
34093 * string/strcat.c: Likewise.
34094 * string/strchr.c: Likewise.
34095 * string/strchrnul.c: Likewise.
34096 * string/strcmp.c: Likewise.
34097 * string/strcpy.c: Likewise.
34098 * string/strncat.c: Likewise.
34099 * string/strncmp.c: Likewise.
34100 * string/strncpy.c: Likewise.
34102 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34104 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34105 __builtin_memcopy is called when src and dest ranges are known to not
34108 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34110 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34111 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34112 fwd_align_merge macro call.
34113 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34114 bwd_align_merge macro call.
34115 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34117 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34119 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34120 bwd_align_merge macros.
34121 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34122 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34123 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34125 2012-04-18 David S. Miller <davem@davemloft.net>
34127 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34129 2012-04-18 Andreas Jaeger <aj@suse.de>
34132 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34133 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34134 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34136 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34137 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34138 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34140 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34141 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34142 Adjust for changed ldbl-128 files.
34144 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34145 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34148 2012-04-17 David S. Miller <davem@davemloft.net>
34150 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34152 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34154 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34155 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34156 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34157 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34158 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34159 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34161 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34164 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34165 * math/libm-test.inc: Add ilogb errno and exception tests.
34166 * math/w_ilogb.c: New file: ilogb wrapper.
34167 * math/w_ilogbf.c: New file: ilogbf wrapper.
34168 * math/w_ilogbl.c: New file: ilogbl wrapper.
34169 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34170 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34171 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34172 exception being thrown with 0.0 as argument.
34173 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34174 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34175 exception being thrown with 0.0 as argument.
34176 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34177 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34178 exception being thrown with 0.0 as argument.
34179 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34180 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34181 exception being thrown with 0.0 as argument.
34182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34183 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34184 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34185 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34186 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34187 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34188 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34189 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34190 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34192 2012-04-17 Petr Baudis <pasky@ucw.cz>
34194 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34197 2012-04-16 Marek Polacek <polacek@redhat.com>
34199 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34201 2012-04-16 Marek Polacek <polacek@redhat.com>
34203 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34204 operands of fdivp instruction.
34206 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34208 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34209 * elf/tst-auditmod3b.c: Likewise.
34210 * elf/tst-auditmod4b.c: Likewise.
34211 * elf/tst-auditmod5b.c: Likewise.
34212 * elf/tst-auditmod6b.c: Likewise.
34213 * elf/tst-auditmod6c.c: Likewise.
34214 * elf/tst-auditmod7b.c: Likewise.
34215 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34216 * sysdeps/x86_64/preconfigure.in: Likewise.
34217 * sysdeps/x86_64/preconfigure: Regenerated.
34219 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34224 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
34226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34227 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34229 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34232 * locale/iso-639.def: Fix gl language name. Spotted by
34235 2012-04-12 Roland McGrath <roland@hack.frob.com>
34238 * libio/libio.h (__io_write_fn): Update comment.
34240 2012-04-12 Petr Baudis <pasky@ucw.cz>
34243 * stdio.texi (Hook Functions): The user provided writer function
34244 is not allowed to return -1.
34246 2012-04-11 David S. Miller <davem@davemloft.net>
34248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34250 2012-04-11 Mike Frysinger <vapier@gentoo.org>
34252 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34253 Add a leading slash to rtkaio.
34255 2012-04-11 Jim Meyering <meyering@redhat.com>
34258 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34259 It is not necessarily an error to ignore fwrite's return
34260 value. One can reliably use ferror to test for errors after
34263 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34265 * bits/types.h (__snseconds_t): New type.
34266 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34268 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34270 (__SNSECONDS_T_TYPE): Likewise.
34271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34272 (__SNSECONDS_T_TYPE): Likewise.
34273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34274 (__SNSECONDS_T_TYPE): Likewise.
34276 2012-04-10 Andreas Jaeger <aj@suse.de>
34279 * manual/time.texi (Processor Time): Return type of times is
34280 elapsed real time since an arbitrary point in the past.
34281 (CPU Time): Move CLK_TCK from here...
34282 (Processor Time): ...to here. Correct description.
34283 * manual/conf.texi (Constants for Sysconf): Correct description of
34286 2012-04-10 David S. Miller <davem@davemloft.net>
34289 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34290 where the is a gap between DT_REL(A) and DT_JMPREL.
34292 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34294 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34295 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34296 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34298 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34300 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34301 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34302 (dl_main): Handle --inhibit-cache.
34303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34305 * elf/dl-load.c (_dl_map_object): Use it.
34306 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34308 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34311 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34312 (__ieee754_powl): Saturate large exponents rather than testing for
34313 overflow of y*log2(x).
34314 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34315 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34319 * math/s_ctan.c: Include <float.h>.
34320 (__ctan): Avoid internal overflow or cancellation in calculating
34322 * math/s_ctanf.c: Likewise.
34323 * math/s_ctanl.c: Likewise.
34324 * math/s_ctanh.c: Likewise.
34325 * math/s_ctanhf.c: Likewise.
34326 * math/s_ctanhl.c: Likewise.
34327 * math/libm-test.inc (ctan_test): Add more tests.
34328 (ctanh_test): Likewise.
34329 * sysdeps/i386/fpu/libm-test-ulps: Update.
34330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34332 2012-04-09 Andreas Jaeger <aj@suse.de>
34335 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34336 is an optional BSD extension.
34339 * manual/stdio.texi (Opening Streams): Document additional fopen
34342 2012-04-09 Roland McGrath <roland@hack.frob.com>
34344 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34345 %eax without telling the compiler.
34347 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34350 * manual/install.texi: Use sourceware.org.
34352 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34355 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34356 (__ieee754_pow): Generate overflow and underflow using huge*huge
34357 and tiny*tiny rather than just returning constant infinity or zero
34358 for large exponents.
34359 * math/libm-test.inc (pow_test): Require overflow exceptions for
34360 applicable cases of large exponents.
34363 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34364 (__ieee754_pow): Use iterative multiplication algorithm only for
34365 integer exponents with absolute value below 1024. Check for odd
34366 integer exponents when using algorithm for real exponents.
34367 * math/libm-test.inc (pow_test): Add more tests.
34368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34370 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34373 * math/libm-test.inc (exp_test): Do not allow overflow exception
34376 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34379 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34380 instead of __kernel_standard_f.
34382 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34384 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34385 * sysdeps/x86_64/memset_chk.S: Likewise.
34387 2012-04-08 Andreas Jaeger <aj@suse.de>
34390 * manual/startup.texi (Environment Access): Describe return value
34391 for putenv and setenv.
34394 * manual/filesys.texi (Directory Entries): Add description for
34398 * manual/filesys.texi (Directory Entries): Clarify that it's file
34399 system not operating system in the description of DT_UNKNOWN.
34402 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34404 2012-04-08 Stephen Compall <s11@member.fsf.org>
34407 * manual/llio.texi (Opening and Closing Files): Add cross
34408 reference to explain mode argument.
34410 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34412 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34413 * sysdeps/x86_64/memset_chk.S: Likewise.
34415 2012-04-07 David S. Miller <davem@davemloft.net>
34417 * elf/elf.h (R_SPARC_WDISP10): Define.
34418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34421 R_SPARC_SIZE64 and R_SPARC_H34.
34423 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34426 conditions and remove no longer applicable assertion.
34428 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34430 * bits/byteswap.h: Include <features.h>.
34431 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34432 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34434 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34436 * bits/byteswap.h (__bswap_16): Removed.
34437 Include <bits/byteswap-16.h> to get __bswap_16.
34438 * sysdeps/i386/bits/byteswap.h: Likewise.
34439 * sysdeps/s390/bits/byteswap.h: Likewise.
34440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34441 * bits/byteswap-16.h: New file.
34442 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34443 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34444 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34445 * string/Makefile (headers): Add bits/byteswap-16.h.
34447 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34450 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34452 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34453 * nss/tst-nss-static.c: New.
34455 2012-04-06 Robert Millan <rmh@gnu.org>
34458 * manual/llio.texi (File Position Primitive): lseek
34459 refers to WHENCE when it really means OFFSET.
34461 2012-04-06 Andreas Jaeger <aj@suse.de>
34463 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34464 strncmp declarations.
34466 * abilist/libc.abilist: Add __poll and __ppoll.
34468 2012-04-05 David S. Miller <davem@davemloft.net>
34470 * scripts/check-local-headers.sh: Accept a host triplet in the
34471 path matched by the exclude regexp.
34473 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34475 * sysdeps/powerpc/powerpc32/dl-machine.h
34476 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34477 * sysdeps/s390/s390-32/dl-machine.h
34478 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34479 * sysdeps/sparc/sparc32/dl-machine.h
34480 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34481 * sysdeps/sparc/sparc64/dl-machine.h
34482 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34484 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34486 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34487 undefined symbol errors.
34489 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34492 2012-04-05 Michael Matz <matz@suse.de>
34495 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34497 2012-04-05 Andreas Jaeger <aj@suse.de>
34500 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34503 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34505 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34506 which ROUND is no valid rounding mode.
34508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34510 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34512 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34514 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34516 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34517 an exception using FPU order intentionally.
34519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34521 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34522 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34523 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34524 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34526 2012-04-05 Simon Josefsson <simon@josefsson.org>
34529 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34530 EINVAL when BUFLEN is too smal.
34532 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34535 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34536 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34538 2012-04-03 Andreas Jaeger <aj@suse.de>
34541 * manual/setjmp.texi (System V contexts): Fix sentence.
34544 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34545 New macro for this case.
34546 [!__GNUC__] (__bswap_64): New inline function for this case.
34547 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34548 * bits/byteswap.h: Likewise.
34549 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34550 ull, guard with __GLIBC_HAVE_LONG_LONG.
34552 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34553 __GLIBC_HAVE_LONG_LONG.
34555 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34556 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34558 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34561 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34562 inptr and inend, rather than using last_ch.
34564 2012-04-02 David S. Miller <davem@davemloft.net>
34566 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34567 * stdio-common/printf-parse.h (read_int): Change return type to
34568 'int', return -1 on INT_MAX overflow.
34569 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34570 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34571 overflows INT_MAX. Check for overflow of in-format-string precision
34572 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34573 SIZE_MAX not INT_MAX for integer overflow test.
34574 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34575 skip the construct in the format string but do not record anything.
34576 * stdio-common/bug22.c: Adjust to test both width/prevision
34577 INT_MAX overflow as well as total length INT_MAX overflow. Check
34578 explicitly for proper errno values.
34580 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34582 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34584 * string/test-strcmp.c [! WIDE]: Likewise.
34585 * time/tst-mktime2.c: Likewise for INT_MAX.
34586 * string/test-string.h: #include <sys/param.h> for MIN.
34588 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34589 * sysdeps/i386/init-first.c (init): Likewise.
34590 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34591 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34592 * sysdeps/sh/init-first.c (init): Likewise.
34594 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34596 * po/ru.po: Update from translation team.
34597 * po/vi.po: Likewise.
34599 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34601 * resolv/nss_dns/dns-host.c: Merge copyright years.
34603 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34606 Optimize memcpy with prefetch if
34607 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34608 src, dst pointers have unequal 16 byte alignments.
34610 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34613 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34614 from a CNAME entry and return the minimum ttl for the query.
34615 (gaih_getanswer_slice): Likewise.
34617 2012-03-30 Jeff Law <law@redhat.com>
34619 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34621 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34622 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34624 * resolv/nss_dns/dns-host.c: Update copyright year.
34626 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34628 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34629 requests to save a system call. Fix check that all bytes are sent.
34631 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34632 comments for sendmmsg.
34634 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34637 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34638 with only 1 character between 0x0041 and 0x01b0.
34639 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34640 * wcsmbs/tst-mbsnrtowcs.c: New file.
34642 2012-03-29 David S. Miller <davem@davemloft.net>
34644 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34645 small copies by hand.
34647 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34650 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34651 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34654 2012-03-28 David S. Miller <davem@davemloft.net>
34656 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34657 that branches into memcpy.
34658 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34661 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34664 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34665 implementation too.
34666 * sysdeps/sparc/mempcpy.S: New file.
34668 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34669 the IFUNC routine in the libc case.
34670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34672 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34673 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34674 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34675 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34676 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34677 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34678 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34679 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34681 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34682 loop to 256 bytes instead of 64 bytes and fix test signedness.
34684 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34685 * sysdeps/sparc/sparc32/Makefile: rather than here...
34686 * sysdeps/sparc/sparc64/Makefile: and here.
34688 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34690 * malloc/mallocbug.c: Avoid warnings about unused variables.
34692 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34695 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34696 in the right place. Discard and retry query if response is
34697 larger than input buffer size.
34699 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34704 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34705 x for large integer exponent.
34706 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34707 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34708 sign of result as needed afterwards.
34709 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34710 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34711 result for underflowing pow the same as for overflow.
34712 (__kernel_standard_l): Handle powl overflow and underflow here
34713 rather than calling __kernel_standard.
34714 * math/libm-test.inc (pow_test): Add more tests.
34729 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34730 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34731 (__kernel_standard_l): New function.
34732 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34734 * math/w_acosl.c (__acosl): Likewise.
34735 * math/w_asinl.c (__asinl): Likewise.
34736 * math/w_atan2l.c (__atan2l): Likewise.
34737 * math/w_atanhl.c (__atanhl): Likewise.
34738 * math/w_coshl.c (__coshl): Likewise.
34739 * math/w_exp10l.c (__exp10l): Likewise.
34740 * math/w_exp2l.c (__exp2l): Likewise.
34741 * math/w_fmodl.c (__fmodl): Likewise.
34742 * math/w_hypotl.c (__hypotl): Likewise.
34743 * math/w_j0l.c (__j0l, __y0l): Likewise.
34744 * math/w_j1l.c (__j1l, __y1l): Likewise.
34745 * math/w_jnl.c (__jnl, __ynl): Likewise.
34746 * math/w_lgammal.c (__lgammal): Likewise.
34747 * math/w_log10l.c (__log10l): Likewise.
34748 * math/w_log2l.c (__log2l): Likewise.
34749 * math/w_logl.c (__logl): Likewise.
34750 * math/w_powl.c (__powl): Likewise.
34751 * math/w_remainderl.c (__remainderl): Likewise.
34752 * math/w_scalbl.c (sysv_scalbl): Likewise.
34753 * math/w_sinhl.c (__sinhl): Likewise.
34754 * math/w_sqrtl.c (__sqrtl): Likewise.
34755 * math/w_tgammal.c (__tgammal): Likewise.
34756 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34757 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34758 * math/libm-test.inc (acos_test): Add more tests.
34759 (acosh_test): Likewise.
34760 (asin_test): Likewise.
34761 (atanh_test): Likewise.
34762 (exp_test): Likewise.
34763 (exp10_test): Likewise.
34764 (exp2_test): Likewise.
34765 (expm1_test): Likewise.
34766 (lgamma_test): Likewise.
34767 (log_test): Likewise.
34768 (log10_test): Likewise.
34769 (log1p_test): Likewise.
34770 (log2_test): Likewise.
34771 (pow_test): Do not allow some spurious overflow exceptions.
34772 (sqrt_test): Add more tests.
34773 (tgamma_test): Likewise.
34774 (y0_test): Likewise.
34775 (y1_test): Likewise.
34776 (yn_test): Likewise.
34778 2012-03-27 Anton Blanchard <anton@samba.org>
34780 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34782 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34783 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34786 2012-03-27 David S. Miller <davem@davemloft.net>
34788 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34790 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34791 have-as-vis3 check.
34793 2012-03-27 Andreas Jaeger <aj@suse.de>
34795 * sysdeps/x86_64/elf/configure.in: Moved to ...
34796 * sysdeps/x86_64/configure.in: ... here.
34797 * sysdeps/x86_64/elf/start.S: Moved to ...
34798 * sysdeps/x86_64/start.S: ... here.
34799 * sysdeps/x86_64/elf/configure: Delete.
34801 * sysdeps/x86_64/configure.in: Merge contents from
34802 sysdeps/i386/configure.in (without i686 check).
34804 * sysdeps/i386/elf/Versions: Merge into ...
34805 * sysdeps/i386/Versions: ... this.
34806 * sysdeps/i386/elf/Versions: Delete file.
34807 * sysdeps/i386/elf/start.S: Moved to ...
34808 * sysdeps/i386/start.S: ...here.
34809 * sysdeps/i386/elf/configure.in: Merge into...
34810 * sysdeps/i386/configure.in: ...here.
34811 * sysdeps/i386/elf/configure.in: Delete file.
34812 * sysdeps/i386/elf/configure: Delete file.
34814 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34815 * debug/backtracesyms.c: ... here.
34816 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34817 * debug/backtracesymsfd.c: ... here.
34818 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34819 * sysdeps/generic/ifunc-sel.h: ... here.
34821 * sysdeps/unix/i386/start.c: Delete file.
34822 * sysdeps/unix/sparc/start.c: Delete file.
34823 * sysdeps/unix/start.c: Delete file.
34825 * sysdeps/sh/elf/configure.in: Moved to ...
34826 * sysdeps/sh/configure.in: ... here.
34827 * sysdeps/sh/elf/start.S: Moved to ...
34828 * sysdeps/sh/start.S: ... here.
34829 * sysdeps/sh/elf/configure: Delete file.
34831 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34832 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34833 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34834 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34835 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34836 * sysdeps/powerpc/powerpc64/start.S: here.
34837 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34838 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34839 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34840 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34841 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34843 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34844 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34845 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34846 * sysdeps/powerpc/powerpc32/start.S: ... here.
34847 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34848 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34849 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34851 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34852 * sysdeps/powerpc/ifunc-sel.h: ... here.
34853 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34854 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34856 * sysdeps/sparc/elf/configure.in: Moved to ...
34857 * sysdeps/sparc/configure.in: ... here.
34858 * sysdeps/sparc/elf/configure: Delete file.
34859 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34860 * sysdeps/sparc/sparc32/start.S: ... here.
34861 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34862 * sysdeps/sparc/sparc64/start.S: ... here.
34863 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34864 * sysdeps/sparc/sparc32/Makefile: ... this.
34865 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34866 * sysdeps/sparc/sparc64/Makefile: ... this.
34868 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34869 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34870 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34871 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34872 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34873 * sysdeps/s390/s390-32/setjmp.S: ... here.
34874 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34875 * sysdeps/s390/s390-32/configure.in: ... here.
34876 * sysdeps/s390/s390-32/elf/configure: Delete file.
34877 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34878 * sysdeps/s390/s390-32/start.S: ... here.
34880 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34881 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34882 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34883 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34884 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34885 * sysdeps/s390/s390-64/setjmp.S: ... here.
34886 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34887 * sysdeps/s390/s390-64/configure.in: ... here
34888 * sysdeps/s390/s390-64/elf/configure: Delete file.
34889 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34890 * sysdeps/s390/s390-64/start.S: ... here.
34891 * sysdeps/s390/s390-64/elf/configure: Delete.
34893 * configure.in: Remove support for elf directories in sysdeps.
34895 * configure: Regenerated.
34896 * sysdeps/i386/configure: Regenerated.
34897 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34898 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34899 * sysdeps/s390/s390-32/configure: Regenerated.
34900 * sysdeps/s390/s390-64/configure: Regenerated.
34901 * sysdeps/sh/configure: Regenerated.
34902 * sysdeps/sparc/configure: Regenerated.
34903 * sysdeps/x86_64/configure: Regenerated.
34905 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34910 denormal result into account.
34912 2012-03-25 Roland McGrath <roland@hack.frob.com>
34914 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34915 Reported by Allan McRae <allan@archlinux.org>.
34917 2012-03-23 Jeff Law <law@redhat.com>
34919 * nss/getnssent.c (__nss_getent): Fix typo.
34921 2012-03-23 David S. Miller <davem@davemloft.net>
34923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34925 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34927 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34928 to pad to uint64_t for each field.
34929 (dl_tls_index): Replace unsigned long with uint64_t.
34931 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34932 Paul Pluzhnikov <ppluzhnikov@google.com>
34935 * grp/Makefile (otherlibs): Don't set it.
34936 * inet/Makefile (otherlibs): Likewise.
34937 * login/Makefile (otherlibs): Likewise.
34938 * nscd/Makefile (otherlibs): Likewise.
34939 * posix/Makefile (otherlibs): Likewise.
34940 * pwd/Makefile (otherlibs): Likewise.
34941 * rt/Makefile (otherlibs): Likewise.
34942 * sunrpc/Makefile (otherlibs): Likewise.
34943 * nss/Makefile (otherlibs): Likewise.
34944 Add libnss_files to routines and static-only-routines.
34945 ($(objpfx)getent): Remove rule.
34946 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34947 static-only-routines.
34949 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34952 * math/s_cexp.c: Include <float.h>.
34953 (__cexp): Handle exp result overflowing not necessarily
34954 overflowing both real and imaginary parts of result.
34955 * math/s_cexpf.c: Likewise.
34956 * math/s_cexpl.c: Likewise.
34957 * math/libm-test.inc (cexp_test): Add more tests.
34958 * sysdeps/i386/fpu/libm-test-ulps: Update.
34959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34961 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34963 * include/link.h (ELFW): New macro.
34964 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34965 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34967 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34969 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34974 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34976 (struct La_x32_retval): Likewise.
34978 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34980 * sysdeps/x86_64/preconfigure.in: New file.
34981 * sysdeps/x86_64/preconfigure: New generated file.
34983 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34986 * math/e_exp2l.c: Include <float.h>.
34987 (__ieee754_exp2l): Handle overflow and underflow cases
34988 separately. Only pass fractional part of argument to
34990 * math/libm-test.inc (exp2_test): Add more tests.
34992 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34993 negating x to take absolute value.
34994 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34996 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34997 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34999 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35000 computing low part if x was negated.
35001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35003 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35005 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35006 la_x32_gnu_pltexit.
35007 (pltexit): Cast int_retval to ptrdiff_t.
35008 * elf/tst-auditmod3b.c: Likewise.
35009 * elf/tst-auditmod4b.c: Likewise.
35010 * elf/tst-auditmod5b.c: Likewise.
35011 * elf/tst-auditmod6b.c: Likewise.
35012 * elf/tst-auditmod6c.c: Likewise.
35013 * elf/tst-auditmod7b.c: Likewise.
35015 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35016 and x32_gnu_pltexit.
35018 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35019 __ELF_NATIVE_CLASS.
35020 (La_x32_regs): New macro.
35021 (La_x32_retval): Likewise.
35022 (la_x32_gnu_pltenter): New function prototype.
35023 (la_x32_gnu_pltexit): Likewise.
35025 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35032 * configure.in (libc_cv_cc_nofma): Check for option to disable
35033 generation of FMA instructions.
35034 * configure: Regenerate.
35035 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35036 * sysdeps/ieee754/dbl-64/Makefile: New file.
35037 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35038 Remove brandred-fma4.
35039 (CFLAGS-brandred-fma4.c): Remove.
35040 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35041 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35043 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35046 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35048 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35049 LLONG_MAX != LONG_MAX.
35050 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35051 (_fitoa_word): Likewise.
35052 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35053 LLONG_MAX != LONG_MAX.
35054 * stdio-common/_itowa.h: Include <_itoa.h>.
35055 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35056 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35057 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35058 only if not defined.
35059 (_ITOA_WORD_TYPE): Likewise.
35060 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35061 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35063 2012-03-21 David S. Miller <davem@davemloft.net>
35065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35067 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35069 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35070 of x86_64 when setting libc_cv_slibdir, libdir and
35072 * sysdeps/unix/sysv/linux/configure: Regenerated.
35074 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35076 * manual/lang.texi (Old Varargs): Remove section.
35077 (How Variadic): Update menu.
35078 (va_start): Do not mention varargs.h.
35080 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35081 Joseph Myers <joseph@codesourcery.com>
35083 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35085 * configure: Regenerated.
35087 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35089 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35090 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35093 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35096 * Makefile (files-for-dist): Remove NOTES.
35097 (NOTES): Remove rule.
35098 * README: Don't refer to NOTES.
35099 * manual/creature.texi: Don't include macros.texi.
35100 * manual/intro.texi (creature.texi): Remove comment referring to
35103 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35104 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35105 * configure: Regenerated.
35106 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35107 LIBC_TRY_CC_OPTION.
35108 (libc_cv_as_i686): Likewise.
35109 (libc_cv_cc_avx): Likewise.
35110 (libc_cv_cc_sse2avx): Likewise.
35111 (libc_cv_cc_fma4): Likewise.
35112 (libc_cv_cc_novzeroupper): Likewise.
35113 * sysdeps/i386/configure: Regenerated.
35116 * sysdeps/i386/fpu/s_cexp.S: Remove.
35117 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35118 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35119 * math/libm-test.inc (cexp_test): Add more tests.
35120 * sysdeps/i386/fpu/libm-test-ulps: Update.
35121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35123 2012-03-21 Allan McRae <allan@archlinux.org>
35125 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35127 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35130 * math/w_exp2.c: Do not include <float.h>.
35131 (o_threshold, u_threshold): Remove.
35132 (__exp2): Calculate result before checking finiteness and calling
35134 * math/w_exp2f.c: Likewise.
35135 * math/w_exp2l.c: Likewise.
35136 * math/libm-test.inc (exp2_test): Require overflow exception for
35140 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35141 range of signed 64-bit integers before using fistpll. Remove
35142 checks for whether integers fit in mantissa bits.
35143 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35144 the range of signed 32-bit integers before using fistpl. Remove
35145 checks for whether integers fit in mantissa bits.
35146 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35147 (__ieee754_powl): Test for y outside the range of signed 64-bit
35148 integers before using fistpll. Reduce 64-bit values to 63-bit
35150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35151 divide-by-zero is raised for zero to large negative powers.
35152 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35153 (__ieee754_powl): Test for y outside the range of signed 64-bit
35154 integers before using fistpll. Reduce 64-bit values to 63-bit
35156 * math/libm-test.inc (pow_test): Add more tests.
35158 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35160 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35161 <stdio-common/_itoa.h>.
35162 * debug/segfault.c: Likewise.
35163 * elf/dl-cache.c: Likewise.
35164 * elf/dl-minimal.c: Likewise.
35165 * elf/dl-misc.c: Likewise.
35166 * elf/dl-sysdep.c: Likewise.
35167 * elf/dl-version.c: Likewise.
35168 * elf/rtld.c: Likewise.
35169 * hurd/hurdsock.c: Likewise.
35170 * hurd/lookup-retry.c: Likewise.
35171 * malloc/malloc.c: Likewise.
35172 * malloc/mtrace.c: Likewise.
35173 * nscd/nscd_getgr_r.c: Likewise.
35174 * nscd/nscd_getpw_r.c: Likewise.
35175 * nscd/nscd_getserv_r.c: Likewise.
35176 * posix/getopt_init.c: Likewise.
35177 * posix/wordexp.c: Likewise.
35178 * stdio-common/_itoa.c: Likewise.
35179 * stdio-common/printf_fphex.c: Likewise.
35180 * stdio-common/vfprintf.c: Likewise.
35181 * string/_strerror.c: Likewise.
35182 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35183 * sysdeps/i386/i686/hp-timing.h: Likewise.
35184 * sysdeps/mach/_strerror.c: Likewise.
35185 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35186 * sysdeps/mach/hurd/sethostid.c: Likewise.
35187 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35188 * sysdeps/mach/xpg-strerror.c: Likewise.
35189 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35190 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35191 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35192 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35193 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35194 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35195 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35196 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35197 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35198 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35199 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35200 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35201 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35202 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35203 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35204 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35205 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35206 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35207 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35208 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35209 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35211 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35213 * stdio-common/_itoa.h: Moved to ...
35214 * sysdeps/generic/_itoa.h: Here.
35216 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35218 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35219 instead of "_itoa.h" and "_itowa.h".
35220 * stdio-common/vfprintf.: Likewise.
35222 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35224 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35226 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35227 (__signbit): Likwise.
35228 (llrintf): Likwise.
35231 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35233 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35236 2012-03-20 Joseph Myers <joseph@codesourcery.com>
35238 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35239 OVERFLOW_EXCEPTION_OK.
35240 * math/libm-test.inc ("Philosophy"): Update comment about
35242 (OVERFLOW_EXCEPTION): Define.
35243 (OVERFLOW_EXCEPTION_OK): Likewise.
35244 (INVALID_EXCEPTION_OK): Renumber.
35245 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35246 (IGNORE_ZERO_INF_SIGN): Likewise.
35247 (test_exceptions): Handle FE_OVERFLOW.
35248 (exp10_test): Expect overflow exceptions.
35249 (exp2_test): Likewise.
35250 (expm1_test): Likewise.
35251 (nextafter_test): Likewise.
35252 (pow_test): Likewise.
35253 (scalbn_test): Likewise.
35254 (scalbln_test): Likewise.
35256 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35258 * sysdeps/x86_64/bits/atomic.h
35259 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35261 (atomic_exchange_acq): Likewise.
35262 (__arch_exchange_and_add_body): Likewise.
35263 (__arch_add_body): Likewise.
35264 (atomic_add_negative): Likewise.
35265 (atomic_add_zero): Likewise.
35267 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35269 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35270 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35274 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35275 Check __x86_64__ instead of __WORDSIZE.
35277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35281 2012-03-19 David S. Miller <davem@davemloft.net>
35283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35285 * sysdeps/sparc/fpu/fenv_private.h: New file.
35286 * sysdeps/sparc/fpu/math_private.h: Use it.
35287 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35289 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35290 (libc_feholdexcept_setroundl): Remove.
35291 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35293 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35294 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35298 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35299 int64_t instead of long int.
35300 (INSERT_WORDS64): Likwise.
35302 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35304 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35305 _Unwind_GetCFA return to _Unwind_Ptr first.
35307 2012-03-19 Joseph Myers <joseph@codesourcery.com>
35310 * math/s_clog.c: Include <float.h>.
35311 (__clog): Scale large or subnormal inputs.
35312 * math/s_clogf.c: Likewise.
35313 * math/s_clogl.c: Likewise.
35314 * math/s_clog10.c: Include <float.h>.
35315 (M_LOG10_2): Define.
35316 (__clog10): Scale large or subnormal inputs.
35317 * math/s_clog10f.c: Likewise.
35318 * math/s_clog10l.c: Likewise.
35319 * math/libm-test.inc (clog_test): Add more tests.
35320 (clog10_test): Likewise.
35321 * sysdeps/i386/fpu/libm-test-ulps: Update.
35322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35325 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35327 * math/libm-test.inc (atan2_test): Add another test.
35329 * Makerules (common-objdir-compile): Remove.
35330 * sysdeps/unix/Makefile (config-generated): Do not add
35331 $(unix-generated) to variable.
35332 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35333 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35335 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35337 [generic bits/local_lim.h] (before-compile): Do not append to
35339 [generic bits/local_lim.h] (common-generated): Likewise.
35340 [generic sys/param.h] (before-compile): Do not append to variable.
35341 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35342 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35343 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35344 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35346 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35347 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35348 [generic sys/param.h] ($(addprefix
35349 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35350 [generic sys/param.h] (common-generated): Do not append to
35352 [generic sys/param.h] (sysdep_headers): Likewise.
35353 [generic bits/errno.h] (before-compile): Do not append to
35355 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35357 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35358 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35359 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35360 [generic bits/errno.h] (common-generated): Do not append to
35362 [generic bits/ioctls.h] (before-compile): Do not append to
35364 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35366 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35367 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35368 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35370 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35371 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35372 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35373 [generic bits/ioctls.h] (common-generated): Do not append to
35375 [generic sys/syscall.h] (syscall.h): Remove variable.
35376 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35378 [generic sys/syscall.h] (before-compile): Do not append to
35380 [generic sys/syscall.h] (common-generated): Likewise.
35381 * sysdeps/unix/errnos-tmpl.c: Remove file.
35382 * sysdeps/unix/errnos.awk: Likewise.
35383 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35384 * sysdeps/unix/ioctls.awk: Likewise.
35385 * sysdeps/unix/mk-local_lim.c: Likewise.
35386 * sysdeps/unix/snarf-ioctls: Likewise.
35388 2012-03-19 Richard Henderson <rth@twiddle.net>
35390 * sysdeps/i386/fpu/fenv_private.h: New file.
35391 * sysdeps/i386/fpu/math_private.h: Use it.
35392 (math_opt_barrier, math_force_eval): Remove.
35393 (libc_feholdexcept_setround_53bit): Remove.
35394 (libc_feupdateenv_53bit): Remove.
35395 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35396 (math_opt_barrier, math_force_eval): Remove.
35397 (libc_feholdexcept): Remove.
35398 (libc_feholdexcept_setround): Remove.
35399 (libc_fetestexcept, libc_fesetenv): Remove.
35400 (libc_feupdateenv_test): Remove.
35401 (libc_feupdateenv, libc_feholdsetround): Remove.
35402 (libc_feresetround): Remove.
35404 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35405 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35407 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35408 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35409 (libc_feupdateenv_testl): New.
35410 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35411 (libc_feupdateenv_testf): New.
35412 (libc_feupdateenv): Use libc_feupdateenv_test.
35413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35414 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35416 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35417 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35418 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35419 (libc_feresetround_noex): New.
35420 (libc_feresetround_noexf): New.
35421 (libc_feresetround_noexl): New.
35422 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35423 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35424 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35425 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35427 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35428 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35430 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35431 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35432 SET_RESTORE_ROUND_NOEX.
35433 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35434 SET_RESTORE_ROUND_NOEXF.
35435 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35436 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35437 (libc_feholdsetroundf): New.
35438 (libc_feresetround, libc_feresetroundf): New.
35440 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35441 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35442 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35444 * sysdeps/generic/math_private.h: Include <fenv.h>.
35445 (default_libc_feholdexcept): New.
35446 (default_libc_feholdexcept_setround): New.
35447 (default_libc_fesetenv, default_libc_feupdateenv): New.
35448 (libc_feholdexcept): Only define if undefined.
35449 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35450 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35451 (libc_feholdexcept_setroundl): Likewise.
35452 (libc_feholdexcept_setround_53bit): Likewise.
35453 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35454 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35455 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35456 (libc_feupdateenv_53bit): Likewise.
35457 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35458 (libc_feholdexcept): Convert from macro to inline function.
35459 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35460 (libc_fesetenv, libc_feupdateenv): Likewise.
35462 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35463 not previously defined.
35464 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35465 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35466 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35467 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35468 * sysdeps/ieee754/flt-32/math_private.h: New file.
35469 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35470 math_private.h below SET_FLOAT_WORD.
35471 (__isnan, __isinf_ns, __finite): Remove.
35472 (__isnanf, __isinf_nsf, __finitef): Remove.
35474 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35478 2012-03-17 David S. Miller <davem@davemloft.net>
35481 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35484 2012-03-16 David S. Miller <davem@davemloft.net>
35486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35490 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35492 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35493 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35494 sysdep_routines when subdir is sysvipc.
35495 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35496 __getshmlba helper.
35498 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35500 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35502 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35508 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35509 (__lround): Renamed to ...
35510 (__llround): This. Replace long int with long long int.
35511 Define lround functions as aliases of llround functions.
35512 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35514 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35516 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35517 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35518 adresses to uintptr_t. Replace "long int" and "unsigned long
35519 int" with "greg_t" on va_arg.
35521 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35523 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35524 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35526 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35527 Move e_machine check before EI_CLASS check. Handle x32
35528 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35529 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35530 SKIP_EM_IA_64 and include
35531 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35533 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35534 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35535 (add_system_dir): New macro.
35537 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35538 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35540 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35551 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35553 * math/w_j0f.c (j0f): Likewise.
35555 * math/w_j0l.c (__j0l): Likewise.
35557 * math/w_j1.c (j1): Likewise.
35559 * math/w_j1f.c (j1f): Likewise.
35561 * math/w_j1l.c (__j1l): Likewise.
35563 * math/w_jn.c (jn): Likewise.
35565 * math/w_jnf.c (jnf): Likewise.
35567 * math/w_jnl.c (__jnl): Likewise.
35569 * math/libm-test.inc (j0_test): Add more tests.
35570 (j1_test): Likewise.
35571 (jn_test): Likewise. Add trailing semicolon to existing test.
35572 (y0_test): Likewise.
35573 (y1_test): Likewise.
35574 * sysdeps/i386/fpu/libm-test-ulps: Update.
35575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35579 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35580 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35581 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35582 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35583 (__tanl): Set errno for infinite argument.
35584 * sysdeps/i386/fpu/mptan.c: Remove.
35585 * sysdeps/i386/fpu/s_tan.S: Likewise.
35586 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35587 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35588 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35589 * math/libm-test.inc (tan_test): Add more tests and enable more
35590 tests for double and long double.
35591 * sysdeps/i386/fpu/libm-test-ulps: Update.
35592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35594 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35596 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35597 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35599 2012-03-16 Roland McGrath <roland@hack.frob.com>
35601 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35602 * configure.in: Use it for both main tree and add-ons.
35603 * configure: Regenerated.
35605 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35607 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35609 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35611 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35615 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35616 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35621 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35623 != 0 for prec == 2.
35624 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35625 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35626 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35627 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35628 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35629 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35630 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35631 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35632 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35633 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35634 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35635 * math/libm-test.inc (cos_test): Add more tests and enable more
35636 tests for long double.
35637 (sin_test): Likewise.
35638 (sincos_test): Likewise.
35639 * sysdeps/i386/fpu/libm-test-ulps: Update.
35640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35642 2012-03-16 David S. Miller <davem@davemloft.net>
35644 * sysdeps/sparc/fpu/math_private.h: New file.
35646 2012-03-15 David S. Miller <davem@davemloft.net>
35648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35658 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35662 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35663 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35665 * sysdeps/sparc/sparc-ifunc.h: New file.
35666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35711 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35713 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35717 2012-03-15 Andreas Jaeger <aj@suse.de>
35720 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35721 ieee754/flt-32 implementation for sin, cos and sincos.
35722 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35723 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35724 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35725 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35726 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35727 ieee754/flt-32 implementation for tan.
35729 * math/libm-test.inc (cos_test): Enable some large input tests for
35731 (sin_test): Likewise.
35732 (sincos_test): Likewise.
35733 (tan_test): Add tests for large input.
35735 * sysdeps/i386/fpu/libm-test-ulps: Update.
35737 2012-03-15 Andreas Jaeger <aj@suse.de>
35740 * math/libm-test.inc (cos_test): Add more test cases.
35741 (sin_test): Likewise.
35742 (sincos_test): Likewise.
35744 2012-03-15 Andreas Jaeger <aj@suse.de>
35747 * math/libm-test.inc (cos_test): Add a test case for large input
35749 (sin_test): Likewise.
35750 (sincos_test): Likewise.
35752 2012-03-15 Andreas Jaeger <aj@suse.de>
35753 Joseph Myers <joseph@codesourcery.com>
35756 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35757 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35758 * sysdeps/i386/fpu/branred.c: Likewise.
35759 * sysdeps/i386/fpu/dosincos.c: Likewise.
35760 * sysdeps/i386/fpu/mpa.c: Likewise.
35761 * sysdeps/i386/fpu/s_cos.S: Likewise.
35762 * sysdeps/i386/fpu/s_sin.S: Likewise.
35763 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35764 * sysdeps/i386/fpu/sincos32.c: Likewise.
35766 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35768 (libc_feupdateenv_53bit): Define.
35769 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35771 (libc_feupdateenv_53bit): Define.
35773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35774 53 bit (without extend i386 double precision).
35776 * math/libm-test.inc (sincos_test): Add tests for large input.
35780 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35782 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35786 2012-03-15 David S. Miller <davem@davemloft.net>
35788 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35789 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35790 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35791 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35816 fmin/fmax sysdep routines.
35817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35819 2012-03-14 David S. Miller <davem@davemloft.net>
35821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35893 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35898 * sysdeps/sparc/configure.in: New file.
35899 * sysdeps/sparc/configure: Generate.
35900 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35901 * configure: Regenerate.
35902 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35903 * config.make.in (have-as-vis3): New.
35904 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35905 available use -Av9d instead of -Av9a.
35906 * sysdeps/sparc/sparc64/Makefile: Likewise.
35907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35922 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35923 fzeros/fnegs to load 0x80000000 into a float register instead of
35925 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35927 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35931 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35932 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35933 ($(inst_includedir)/bits/syscall.h): Remove rule.
35934 ($(objpfx)bits/syscall.d): Include instead of
35935 $(objpfx)syscall-list.d.
35936 (generated): Change syscall-list.h and syscall-list.d to
35937 bits/syscall.h and bits/syscall.d.
35939 2012-03-14 Roland McGrath <roland@hack.frob.com>
35942 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35944 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35947 * math/s_csqrt.c: Include <float.h>.
35948 (__csqrt): Scale large or subnormal inputs.
35949 * math/s_csqrtf.c: Likewise.
35950 * math/s_csqrtl.c: Likewise.
35951 * math/libm-test.inc (csqrt_test): Add more tests.
35952 * sysdeps/i386/fpu/libm-test-ulps: Update.
35953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35956 * math/libm-test.inc (hypot_test): Add more tests.
35958 2012-03-13 David S. Miller <davem@davemloft.net>
35961 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35962 double-precision for the calculation instead of scaling.
35964 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35966 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35967 manipulate bits before adding and subtracting TWO52[sx].
35968 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35971 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35973 2012-03-13 David S. Miller <davem@davemloft.net>
35975 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35976 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35978 rtld-global-offsets.h
35979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35981 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35984 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35986 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35987 'err' in the ifdef scope in which it is actually used.
35989 * nss/nss_db/db-init.c: Include string.h
35991 2012-03-12 David S. Miller <davem@davemloft.net>
35993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35994 masking out of the most significant byte of random value used.
35995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35996 Fix coding style in previous change.
35998 * sysdeps/unix/sysv/linux/kernel-features.h
35999 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36000 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36002 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36005 2012-03-11 David S. Miller <davem@davemloft.net>
36007 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36008 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36009 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36010 for 'resultvar' otherwise things get truncated on 64-bit.
36012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36013 Fix masking out of the most significant byte of random value used.
36015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36017 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36021 2012-03-09 David S. Miller <davem@davemloft.net>
36023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36024 variables with appropriate CPP guards.
36025 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36026 from the frame pointer, not the stack pointer. Correct layout
36027 comments. Fix test on resulting framesize and the management of
36028 the outregs buffer for pltexit. Preserve floating point return
36029 values across _dl_call_pltexit call.
36030 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36031 framesize and the management of the outregs buffer for pltexit.
36032 Preserve floating point return values across _dl_call_pltexit
36034 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36035 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36036 (la_sparc64_gnu_pltexit): New functions.
36037 (print_exit): Fix format string for return register value.
36039 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36041 * sunrpc/Makefile (others): Add rpcgen.
36042 ($(objpfx)rpcgen): Remove special build rule and dependency on
36044 * sunrpc/rpcgen.c: New file.
36046 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36049 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36050 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36051 * sysdeps/i386/crti.S: Likewise.
36052 * sysdeps/i386/crtn.S: Likewise.
36053 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36054 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36055 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36056 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36057 * sysdeps/sh/crti.S: Likewise.
36058 * sysdeps/sh/crtn.S: Likewise.
36059 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36062 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36064 * locale/programs/locfile-kw.gperf: Likewise.
36065 * locale/programs/charmap-kw.h: Regenerated.
36066 * locale/programs/locfile-kw.h: Likewise.
36069 * intl/plural.y: Replace FSF snail mail address with URL.
36070 * intl/plural.c: Regenerated.
36072 2012-03-09 Richard Henderson <rth@twiddle.net>
36074 * include/math_private.h: Remove file.
36075 * math/math_private.h: Move file ...
36076 * sysdeps/generic/math_private.h: ... here.
36078 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36079 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36080 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36082 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36083 and <math_private.h>.
36084 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36085 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36086 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36087 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36088 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36089 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36090 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36092 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36093 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36095 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36096 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36097 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36104 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36106 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36109 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36111 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36113 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36114 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36117 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36122 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36123 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36124 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36125 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36126 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36127 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36128 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36129 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36130 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36131 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36132 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36133 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36134 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36135 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36136 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36137 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36138 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36139 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36140 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36141 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36143 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36161 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36162 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36163 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36164 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36165 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36166 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36167 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36168 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36170 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36171 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36172 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36173 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36174 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36175 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36177 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36178 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36179 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36180 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36181 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36182 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36183 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36184 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36185 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36186 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36187 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36188 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36189 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36190 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36191 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36192 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36193 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36194 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36195 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36196 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36197 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36198 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36199 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36200 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36201 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36202 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36203 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36204 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36205 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36206 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36207 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36208 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36209 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36210 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36211 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36212 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36213 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36214 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36215 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36216 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36217 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36219 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36220 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36221 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36222 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36223 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36224 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36225 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36226 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36227 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36228 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36229 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36230 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36231 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36232 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36233 * sysdeps/ieee754/k_standard.c: Likewise.
36234 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36235 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36236 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36237 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36238 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36239 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36240 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36241 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36242 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36246 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36247 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36248 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36249 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36250 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36251 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36252 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36253 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36254 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36255 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36256 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36257 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36258 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36259 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36260 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36261 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36262 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36263 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36264 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36269 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36271 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36272 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36273 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36274 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36275 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36276 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36277 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36285 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36286 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36287 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36290 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36291 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36292 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36294 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36302 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36308 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36313 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36314 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36315 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36316 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36317 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36319 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36320 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36321 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36326 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36327 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36328 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36329 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36330 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36332 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36333 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36334 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36335 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36338 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36341 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36342 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36343 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36344 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36345 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36346 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36347 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36348 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36349 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36351 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36352 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36353 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36354 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36355 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36356 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36357 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36358 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36359 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36361 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36362 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36363 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36364 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36365 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36366 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36367 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36368 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36370 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36371 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36372 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36373 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36374 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36375 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36376 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36377 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36378 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36379 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36380 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36383 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36384 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36385 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36387 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36388 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36389 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36390 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36391 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36392 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36393 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36394 * sysdeps/ieee754/s_lib_version.c: Likewise.
36395 * sysdeps/ieee754/s_matherr.c: Likewise.
36396 * sysdeps/ieee754/s_signgam.c: Likewise.
36397 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36398 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36399 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36400 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36401 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36402 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36403 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36404 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36405 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36406 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36407 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36408 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36409 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36410 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36411 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36412 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36413 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36414 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36416 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36419 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36421 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36422 * sunrpc/rpc_main.c: Likewise.
36423 * sunrpc/rpc_svcout.c: Likewise.
36425 2012-03-09 David S. Miller <davem@davemloft.net>
36427 * include/math_private.h: New file.
36429 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36431 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36432 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36433 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36434 from <bits/socket_type.h>.
36435 (enum __socket_type): Don't define here.
36436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36438 bits/socket_type.h.
36441 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36442 checking __USE_GNU.
36444 * Makerules ($(inst_includedir)/%.h): New rule.
36445 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36446 (install-others): Remove variable setting.
36447 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36449 2012-03-08 Richard Henderson <rth@twiddle.net>
36451 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36452 from macro to inline function; merge with the
36453 !__LIBC_INTERNAL_MATH_INLINES version.
36454 (__ieee754_sqrtf): Likewise.
36456 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36457 to inline function.
36458 (__rintf, __floor, __floorf): Likewise.
36460 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36461 macro to inline function.
36462 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36464 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36465 not <math/math_private.h>.
36467 2012-03-08 David S. Miller <davem@davemloft.net>
36469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36471 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36473 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36475 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36477 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36478 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36480 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36482 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36483 be defined individually, they must be defined as a block. Define
36484 S for printing a string instead of hidint the different by using a
36485 macro for adding the 'l'.
36486 * stdio-common/tst-fphex-wide.c: Adjust.
36488 2012-03-07 Marek Polacek <polacek@redhat.com>
36490 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36492 2012-03-08 Marek Polacek <polacek@redhat.com>
36495 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36496 * stdio-common/tst-fphex.c: Define a few macros to make the
36497 test reusable. Use them.
36498 * stdio-common/tst-fphex-wide.c: New file.
36500 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36503 * manual/macros.texi (gnusystems): New macro.
36504 (nongnusystems): Likewise.
36505 (gnulinuxhurdsystems): Likewise.
36506 (gnuhurdsystems): Likewise..
36507 (gnulinuxsystems): Likewise.
36508 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36509 variants of the GNU system, not "GNU system".
36510 * manual/conf.texi: Likewise.
36511 * manual/errno.texi: Likewise. Update example of errno macro
36513 * manual/filesys.texi: Likewise.
36514 (getumask): Document as specific to GNU/Hurd.
36515 * manual/install.texi: Likewise. Reword some references to
36517 * manual/intro.texi: Likewise.
36518 * manual/io.texi: Likewise.
36519 (File Name Portability): Detail which constraints are inapplicable
36520 to all GNU systems and which are only inapplicable to GNU/Hurd.
36521 * manual/job.texi: Likewise.
36522 * manual/llio.texi: Likewise.
36523 (O_NOCTTY): Document as present on GNU/Linux.
36524 * manual/maint.texi: Likewise.
36525 * manual/memory.texi: Likewise.
36526 * manual/pattern.texi: Likewise.
36527 * manual/pipe.texi: Likewise.
36528 * manual/process.texi: Likewise.
36529 * manual/resource.texi: Likewise.
36530 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36532 * manual/setjmp.texi: Likewise.
36533 * manual/signal.texi: Likewise.
36534 * manual/startup.texi: Likewise.
36535 * manual/stdio.texi: Likewise.
36536 * manual/terminal.texi: Likewise.
36537 (ONLCR): Document as POSIX.
36538 (OXTABS): Document availability on GNU/Linux as XTABS.
36539 (ONOEOT): Document availability separately from other bits.
36540 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36541 * manual/time.texi: Likewise.
36542 * manual/users.texi: Likewise.
36543 * INSTALL: Regenerated.
36544 * sysdeps/gnu/errlist.c: Regenerated.
36546 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36547 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36548 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36550 * configure: Regenerated.
36552 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36554 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36555 default includes instead of AC_HEADER_CHECK.
36556 * sysdeps/i386/configure: Regenerated.
36559 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36560 * math/s_cacoshf.c (__cacoshf): Likewise.
36561 * math/s_cacoshl.c (__cacoshl): Likewise.
36562 * math/s_casinh.c (__casinh): Set signs of result from argument.
36563 * math/s_casinhf.c (__casinhf): Likewise.
36564 * math/s_casinhl.c (__casinhl): Likewise.
36565 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36566 (casinh_test): Add more tests.
36567 * sysdeps/i386/fpu/libm-test-ulps: Update.
36568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36570 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36572 * po/zh_TW.po: Update from translation team.
36574 * login/Makefile (distribute): Remove variable.
36575 * catgets/Makefile: Likewise.
36576 * mach/Makefile: Likewise.
36577 * malloc/Makefile: Likewise.
36578 * misc/Makefile: Likewise.
36579 * iconv/Makefile: Likewise.
36580 * nscd/Makefile: Likewise.
36581 * hurd/Makefile: Likewise.
36582 * manual/Makefile: Likewise.
36583 * locale/Makefile: Likewise.
36584 * intl/Makefile: Likewise.
36585 * conform/Makefile: Likewise.
36586 * nss/Makefile: Likewise.
36587 * time/Makefile: Likewise.
36588 * soft-fp/Makefile: Likewise.
36589 * dirent/Makefile: Likewise.
36590 * gmon/Makefile: Likewise.
36591 * po/Makefile: Likewise.
36592 * rt/Makefile: Likewise.
36593 * socket/Makefile: Likewise.
36594 * math/Makefile: Likewise.
36595 * signal/Makefile: Likewise.
36596 * debug/Makefile: Likewise.
36597 * elf/Makefile: Likewise.
36598 * timezone/Makefile: Likewise.
36599 * stdlib/Makefile: Likewise.
36600 * iconvdata/Makefile: Likewise.
36601 * sunrpc/Makefile: Likewise.
36602 * io/Makefile: Likewise.
36603 * argp/Makefile: Likewise.
36604 * inet/Makefile: Likewise.
36605 * hesiod/Makefile: Likewise.
36606 * grp/Makefile: Likewise.
36607 * csu/Makefile: Likewise.
36608 * wctype/Makefile: Likewise.
36609 * crypt/Makefile: Likewise.
36610 * libio/Makefile: Likewise.
36611 * string/Makefile: Likewise.
36612 * nis/Makefile: Likewise.
36613 * resolv/Makefile: Likewise.
36614 * stdio-common/Makefile: Likewise.
36615 * wcsmbs/Makefile: Likewise.
36616 * dlfcn/Makefile: Likewise.
36617 * posix/Makefile: Likewise.
36620 * timezone/Makefile: Don't install timezone files, just the programs
36623 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36625 * nss/databases.def: Add missing gshadow entry.
36627 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36629 2012-03-06 Marek Polacek <polacek@redhat.com>
36632 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36633 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36634 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36635 * stdio-common/tst-long-dbl-fphex.c: New file.
36637 2012-03-06 David S. Miller <davem@davemloft.net>
36639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36640 (set_obp_int): New function.
36641 (get_obp_int): New function.
36642 (__get_clockfreq_via_dev_openprom): Likewise.
36643 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36644 Avoid unused variable warnings on 'val' and use builtin_expect.
36645 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36647 (INLINE_CLONE_SYSCALL): Likewise.
36649 2012-03-05 David S. Miller <davem@davemloft.net>
36651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36653 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36658 only for |x| >= 40.
36659 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36661 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36664 Replace gettimeofday with __vdso_gettimeofday.
36666 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36667 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36668 __vdso_clock_gettime and __vdso_getcpu.
36670 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36671 time with __vdso_time.
36673 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36675 * manual/lang.texi (size_t): Note types to which size_t may be
36676 equivalent with the GNU C Library, but do not describe when
36677 differences between them are significant.
36679 2012-03-05 Andreas Jaeger <aj@suse.de>
36681 * sysdeps/i386/fpu/libm-test-ulps: Update.
36683 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36686 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36687 (__ieee754_pow): Save and restore rounding mode and use
36688 round-to-nearest for main computations.
36689 * math/libm-test.inc (pow_test_tonearest): New function.
36690 (pow_test_towardzero): Likewise.
36691 (pow_test_downward): Likewise.
36692 (pow_test_upward): Likewise.
36693 (main): Call the new functions.
36694 * sysdeps/i386/fpu/libm-test-ulps: Update.
36695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36698 * math/libm-test.inc (cosh_test_tonearest): New function.
36699 (cosh_test_towardzero): Likewise.
36700 (cosh_test_downward): Likewise.
36701 (cosh_test_upward): Likewise.
36702 (sinh_test_tonearest): Likewise.
36703 (sinh_test_towardzero): Likewise.
36704 (sinh_test_downward): Likewise.
36705 (sinh_test_upward): Likewise.
36706 (main): Call the new functions.
36707 * sysdeps/i386/fpu/libm-test-ulps: Update.
36708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36710 2012-03-05 Tom de Vries <tom@codesourcery.com>
36712 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36713 default stack guard is set in last bytes.
36714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36716 2012-03-05 Kees Cook <keescook@chromium.org>
36718 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36721 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36722 possibly allocate from heap instead of stack.
36723 * stdio-common/bug-vfprintf-nargs.c: New file.
36724 * stdio-common/Makefile (tests): Add nargs overflow test.
36726 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36730 2012-03-03 Marek Polacek <polacek@redhat.com>
36732 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36733 * math/math_private.h: Likewise.
36734 * stdlib/tst-strtod.c: Likewise.
36735 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36736 * sysdeps/x86_64/bits/atomic.h: Likewise.
36738 2012-03-02 David S. Miller <davem@davemloft.net>
36740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36744 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36745 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36746 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36747 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36749 2012-03-02 Roland McGrath <roland@hack.frob.com>
36752 * manual/examples/README: New file, says the example source files
36753 can be used under GPL>=2.
36754 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36755 line containing just "*/".
36756 * manual/examples/add.c: Add copyright header (GPL>=2).
36757 * manual/examples/argp-ex1.c: Likewise.
36758 * manual/examples/argp-ex2.c: Likewise.
36759 * manual/examples/argp-ex3.c: Likewise.
36760 * manual/examples/argp-ex4.c: Likewise.
36761 * manual/examples/atexit.c: Likewise.
36762 * manual/examples/db.c: Likewise.
36763 * manual/examples/dir.c: Likewise.
36764 * manual/examples/dir2.c: Likewise.
36765 * manual/examples/execinfo.c: Likewise.
36766 * manual/examples/filecli.c: Likewise.
36767 * manual/examples/filesrv.c: Likewise.
36768 * manual/examples/fmtmsgexpl.c: Likewise.
36769 * manual/examples/genpass.c: Likewise.
36770 * manual/examples/inetcli.c: Likewise.
36771 * manual/examples/inetsrv.c: Likewise.
36772 * manual/examples/isockad.c: Likewise.
36773 * manual/examples/longopt.c: Likewise.
36774 * manual/examples/memopen.c: Likewise.
36775 * manual/examples/memstrm.c: Likewise.
36776 * manual/examples/mkfsock.c: Likewise.
36777 * manual/examples/mkisock.c: Likewise.
36778 * manual/examples/mygetpass.c: Likewise.
36779 * manual/examples/pipe.c: Likewise.
36780 * manual/examples/popen.c: Likewise.
36781 * manual/examples/rprintf.c: Likewise.
36782 * manual/examples/search.c: Likewise.
36783 * manual/examples/select.c: Likewise.
36784 * manual/examples/setjmp.c: Likewise.
36785 * manual/examples/sigh1.c: Likewise.
36786 * manual/examples/sigusr.c: Likewise.
36787 * manual/examples/stpcpy.c: Likewise.
36788 * manual/examples/strdupa.c: Likewise.
36789 * manual/examples/strftim.c: Likewise.
36790 * manual/examples/strncat.c: Likewise.
36791 * manual/examples/subopt.c: Likewise.
36792 * manual/examples/swapcontext.c: Likewise.
36793 * manual/examples/termios.c: Likewise.
36794 * manual/examples/testopt.c: Likewise.
36795 * manual/examples/testpass.c: Likewise.
36796 * manual/examples/timeval_subtract.c: Likewise.
36799 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36801 * manual/timeval_subtract.c.texi: ... here, new file.
36803 2012-03-02 David S. Miller <davem@davemloft.net>
36805 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36807 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36810 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36811 (__sin): Save and restore rounding mode and use round-to-nearest
36812 for all computations.
36813 (__cos): Save and restore rounding mode and use round-to-nearest
36814 for all computations.
36815 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36817 (tan): Save and restore rounding mode and use round-to-nearest for
36819 * math/libm-test.inc (cos_test_tonearest): New function.
36820 (cos_test_towardzero): Likewise.
36821 (cos_test_downward): Likewise.
36822 (cos_test_upward): Likewise.
36823 (sin_test_tonearest): Likewise.
36824 (sin_test_towardzero): Likewise.
36825 (sin_test_downward): Likewise.
36826 (sin_test_upward): Likewise.
36827 (tan_test_tonearest): Likewise.
36828 (tan_test_towardzero): Likewise.
36829 (tan_test_downward): Likewise.
36830 (tan_test_upward): Likewise.
36831 (main): Call the new functions.
36832 * sysdeps/i386/fpu/libm-test-ulps: Update.
36833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36836 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36837 small n, then large n, before computing and testing k+n.
36838 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36843 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36844 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36845 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36846 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36847 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36848 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36849 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36850 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36851 * math/libm-test.inc (scalbn_test): Add more tests.
36852 (scalbln_test): Likewise.
36854 * manual/filesys.texi (mode_t): Describe constraints on size and
36855 signedness, not exact equivalence to a particular type.
36857 (ino64_t): Likewise.
36859 (nlink_t): Likewise.
36860 (blkcnt_t): Likewise.
36861 (blkcnt64_t): Likewise.
36862 * manual/llio.texi (off_t): Likewise.
36865 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36866 (__ieee754_exp): Save and restore rounding mode and use
36867 round-to-nearest for all computations.
36868 * math/libm-test.inc (exp_test_tonearest): New function.
36869 (exp_test_towardzero): Likewise.
36870 (exp_test_downward): Likewise.
36871 (exp_test_upward): Likewise.
36872 (main): Call the new functions.
36873 * sysdeps/i386/fpu/libm-test-ulps: Update.
36874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36876 2012-03-01 Chris Demetriou <cgd@google.com>
36878 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36879 have predictable order.
36881 2012-03-01 David S. Miller <davem@davemloft.net>
36883 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36885 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36886 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36887 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36888 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36890 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36891 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36892 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36894 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36895 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36896 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36897 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36898 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36903 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36904 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36906 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36907 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36909 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36910 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36913 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36914 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36915 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36916 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36919 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36920 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36922 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36923 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36924 * sysdeps/sparc/elf/configure: Regenerated.
36926 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36928 * configure.in (AS, LD): Require binutils 2.20 or later.
36929 * configure: Regenerated.
36930 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36931 as required minimum version.
36932 * INSTALL: Regenerated.
36936 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36937 before squaring exponent.
36938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36939 bottom long double and 27 bits of top long double before squaring
36941 * math/libm-test.inc (erfc_test): Add more tests.
36942 * sysdeps/i386/fpu/libm-test-ulps: Update.
36943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36946 2012-03-01 Kai Tietz <ktietz@redhat.com>
36948 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36949 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36950 containing bit-fields.
36951 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36952 * soft-fp/single.h (_FP_UNION_S): Likewise.
36953 * soft-fp/double.h (_FP_UNION_D): Likewise.
36955 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36958 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36959 not include ../strcmp.S.
36960 [USE_AS_STRNCASECMP_L]: Likewise.
36961 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36962 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36963 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36964 (__strncasecmp_l_ia32): Define as alias to
36965 __strncasecmp_l_nonascii.
36968 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36969 * sysdeps/i386/fpu/libm-test-ulps: Update.
36970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36972 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36975 2012-02-29 Jeff Law <law@redhat.com>
36977 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36978 out of bounds read.
36980 2012-02-29 Marek Polacek <polacek@redhat.com>
36983 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36984 * elf/Makefile: Add rules to run tst-unused-dep.out.
36986 2012-02-28 David S. Miller <davem@davemloft.net>
36988 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36989 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36990 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36991 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36992 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36993 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36995 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36997 * math/libm-test.inc (llround_test): Move one test from
36998 lround_test. Use TEST_f_L in moved test.
36999 (lround_test): Move misplaced test to llround_test. Add testcase
37002 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37004 * sysdeps/x86_64/fpu/e_expf.S: New file.
37005 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37007 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37010 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37011 of remain_len that may cause incomplete multi-byte character and
37013 * posix/bug-regex33.c: New file.
37014 * posix/Makefile (tests): Add bug-regex33.
37016 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37018 * manual/macros.texi: New file.
37019 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37020 * manual/libc.texinfo: Include macros.texi.
37021 * manual/creatute.texi: Likewise.
37022 * manual/install.texi: Likewise.
37023 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37024 @glibcadj{} in references to the GNU C Library.
37025 * manual/charset.texi: Likewise.
37026 * manual/conf.texi: Likewise.
37027 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37028 when not using those macros.
37029 * manual/creature.texi: Likewise.
37030 * manual/crypt.texi: Likewise.
37031 * manual/errno.texi: Likewise.
37032 * manual/filesys.texi: Likewise.
37033 * manual/header.texi: Likewise.
37034 * manual/install.texi: Likewise.
37035 * manual/intro.texi: Likewise.
37036 * manual/io.texi: Likewise.
37037 * manual/job.texi: Likewise.
37038 * manual/lang.texi: Likewise.
37039 * manual/libc.texiinfo: Likewise.
37040 * manual/llio.texi: Likewise.
37041 * manual/locale.texi: Likewise.
37042 * manual/maint.texi: Likewise.
37043 * manual/math.texi: Likewise.
37044 * manual/memory.texi: Likewise.
37045 * manual/message.texi: Likewise.
37046 * manual/nss.texi: Likewise.
37047 * manual/pattern.texi: Likewise.
37048 * manual/process.texi: Likewise.
37049 * manual/resource.texi: Likewise.
37050 * manual/search.texi: Likewise.
37051 * manual/setjmp.texi: Likewise.
37052 * manual/signal.texi: Likewise.
37053 * manual/socket.texi: Likewise.
37054 * manual/startup.texi: Likewise.
37055 * manual/stdio.texi: Likewise.
37056 * manual/string.texi: Likewise.
37057 * manual/sysinfo.texi: Likewise.
37058 * manual/syslog.texi: Likewise.
37059 * manual/terminal.texi: Likewise.
37060 * manual/time.texi: Likewise.
37061 * manual/users.texi: Likewise.
37062 * INSTALL: Regenerated.
37063 * NOTES: Regenerated.
37064 * sysdeps/gnu/errlist.c: Regenerated.
37066 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37068 * include/dirent.h: Include <dirstream.h> before
37071 2012-02-28 David S. Miller <davem@davemloft.net>
37073 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37074 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37075 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37076 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37078 2012-02-27 David S. Miller <davem@davemloft.net>
37080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37082 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37083 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37086 frame pointer instead of stack pointer relative arg slot.
37087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37091 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37094 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37096 2012-02-27 David S. Miller <davem@davemloft.net>
37098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37102 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37103 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37104 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37105 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37107 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37109 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37110 later. Allow versions 5-9.
37111 * configure: Regenerated.
37112 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37113 required minimum version and 4.6 as recommended version. Do not
37114 mention bugs in GCC 2.7 and 2.8.
37115 * INSTALL: Regenerated.
37117 2012-02-27 David S. Miller <davem@davemloft.net>
37119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37123 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37124 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37125 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37126 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37128 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37129 manipulate bits before adding and subtracting TWO112[sx].
37130 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37132 2012-02-27 Roland McGrath <roland@hack.frob.com>
37135 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37136 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37137 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37138 being in POSIX, because they are in 1003.1-2008.
37140 * rt/tst-aio.c: Include <fcntl.h>.
37141 * rt/tst-aio7.c: Likewise.
37142 * rt/tst-aio64.c: Likewise.
37144 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37146 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37148 * manual/install.texi (--with-headers): Describe headers as
37149 interface headers, not private headers.
37150 (Specific advice for GNU/Linux systems): Describe use of headers
37151 from "make headers_install", not private headers from older
37153 * INSTALL: Regenerated.
37154 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37156 * sysdeps/unix/sysv/linux/configure: Regenerated.
37158 * manual/llio.texi (fclean): Remove documentation.
37160 * manual/Makefile (libc-texi-generated): New variable. Include
37162 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37163 $(libc-texi-generated), not duplicated list of files.
37164 (version.texi, stamp-version): New rules.
37165 (realclean): Remove $(libc-texi-generated), not individual files
37166 from that list. Do not remove dir-add.texinfo.
37167 * manual/libc.texinfo: Comment out uses of edition numbers and
37168 references to printed manual. Remove last-updated dates.
37169 (EDITION): Comment out.
37171 (VERSION, UPDATED): Remove.
37172 (version.texi): Include.
37174 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37176 * sysdeps/posix/spawni.c: Include <signal.h>.
37177 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37178 * sysdeps/pthread/aio_fsync.c: Likewise.
37180 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37182 * conform/Makefile (tests): Run only when not cross-compiling and
37183 when fast-check is not defined.
37185 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37186 * conform/data/limits.h-data: Fixes for POSIX2008.
37187 * conform/run-conformtest.sh: Run all tests.
37188 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37190 * include/bits/dlfcn.h: Likewise.
37191 * include/langinfo.h: Likewise.
37192 * include/monetary.h: Likewise.
37193 * include/sys/poll.h: Likewise.
37195 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37197 * posix/spawn.h: Define __need_sigset_t.
37198 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37199 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37200 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37201 to get sigevent_t only.
37202 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37203 only for __USE_GNU.
37204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37205 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37206 process_vm_writev only for __USE_GNU.
37207 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37209 * conform/Makefile: For now ignore errors from run-conformtest.
37210 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37211 POSIX to avoid namespace pollution. Don't prepend headers.
37212 * conform/data/aio.h-data: Fixes for POSIX testing.
37213 * conform/data/fcntl.h-data: Likewise.
37214 * conform/data/glob.h-data: Likewise.
37215 * conform/data/grp.h-data: Likewise.
37216 * conform/data/pthread.h-data: Likewise.
37217 * conform/data/pwd.h-data: Likewise.
37218 * conform/data/signal.h-data: Likewise.
37219 * conform/data/spawn.h-data: Likewise.
37220 * conform/data/stdio.h-data: Likewise.
37221 * conform/data/stdlib.h-data: Likewise.
37222 * conform/data/stropts.h-data: Likewise.
37223 * conform/data/sys/mman.h-data: Likewise.
37224 * conform/data/sys/stat.h-data: Likewise.
37225 * conform/data/sys/types.h-data: Likewise.
37226 * conform/data/sys/wait.h-data: Likewise.
37227 * conform/data/time.h-data: Likewise.
37228 * conform/data/unistd.h-data: Likewise.
37229 * conform/data/utime.h-data: Likewise.
37231 * io/sys/stat.h: fchmod was always in POSIX.
37232 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37233 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37234 * rt/aio.h: Define __need_timespec before including <time.h>.
37235 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37236 struct. Add forward declaration of pthread_attr_t and use it in
37238 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37239 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37240 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37241 always remove CLK_TCK definition.
37243 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37245 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37247 2012-02-25 Ulrich Drepper <drepper@gmail.com>
37249 * conform/run-conformtest.sh: New file.
37250 * conform/Makefile: Run run-conformtest for tests.
37251 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37254 * conform/data/uchar.h-data: New file.
37255 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37256 * conform/data/arpa/inet.h-data: Likewise.
37257 * conform/data/assert.h-data: Likewise.
37258 * conform/data/complex.h-data: Likewise.
37259 * conform/data/cpio.h-data: Likewise.
37260 * conform/data/ctype.h-data: Likewise.
37261 * conform/data/dirent.h-data: Likewise.
37262 * conform/data/dlfcn.h-data: Likewise.
37263 * conform/data/errno.h-data: Likewise.
37264 * conform/data/fcntl.h-data: Likewise.
37265 * conform/data/float.h-data: Likewise.
37266 * conform/data/fmtmsg.h-data: Likewise.
37267 * conform/data/fnmatch.h-data: Likewise.
37268 * conform/data/ftw.h-data: Likewise.
37269 * conform/data/glob.h-data: Likewise.
37270 * conform/data/grp.h-data: Likewise.
37271 * conform/data/iconv.h-data: Likewise.
37272 * conform/data/inttypes.h-data: Likewise.
37273 * conform/data/langinfo.h-data: Likewise.
37274 * conform/data/libgen.h-data: Likewise.
37275 * conform/data/limits.h-data: Likewise.
37276 * conform/data/locale.h-data: Likewise.
37277 * conform/data/math.h-data: Likewise.
37278 * conform/data/monetary.h-data: Likewise.
37279 * conform/data/mqueue.h-data: Likewise.
37280 * conform/data/ndbm.h-data: Likewise.
37281 * conform/data/net/if.h-data: Likewise.
37282 * conform/data/netdb.h-data: Likewise.
37283 * conform/data/netinet/in.h-data: Likewise.
37284 * conform/data/nl_types.h-data: Likewise.
37285 * conform/data/poll.h-data: Likewise.
37286 * conform/data/pthread.h-data: Likewise.
37287 * conform/data/pwd.h-data: Likewise.
37288 * conform/data/regex.h-data: Likewise.
37289 * conform/data/sched.h-data: Likewise.
37290 * conform/data/search.h-data: Likewise.
37291 * conform/data/semaphore.h-data: Likewise.
37292 * conform/data/setjmp.h-data: Likewise.
37293 * conform/data/signal.h-data: Likewise.
37294 * conform/data/spawn.h-data: Likewise.
37295 * conform/data/stdarg.h-data: Likewise.
37296 * conform/data/stdio.h-data: Likewise.
37297 * conform/data/stdlib.h-data: Likewise.
37298 * conform/data/string.h-data: Likewise.
37299 * conform/data/strings.h-data: Likewise.
37300 * conform/data/stropts.h-data: Likewise.
37301 * conform/data/sys/ipc.h-data: Likewise.
37302 * conform/data/sys/mman.h-data: Likewise.
37303 * conform/data/sys/msg.h-data: Likewise.
37304 * conform/data/sys/resource.h-data: Likewise.
37305 * conform/data/sys/select.h-data: Likewise.
37306 * conform/data/sys/sem.h-data: Likewise.
37307 * conform/data/sys/shm.h-data: Likewise.
37308 * conform/data/sys/socket.h-data: Likewise.
37309 * conform/data/sys/stat.h-data: Likewise.
37310 * conform/data/sys/statvfs.h-data: Likewise.
37311 * conform/data/sys/time.h-data: Likewise.
37312 * conform/data/sys/timeb.h-data: Likewise.
37313 * conform/data/sys/times.h-data: Likewise.
37314 * conform/data/sys/types.h-data: Likewise.
37315 * conform/data/sys/uio.h-data: Likewise.
37316 * conform/data/sys/un.h-data: Likewise.
37317 * conform/data/sys/utsname.h-data: Likewise.
37318 * conform/data/sys/wait.h-data: Likewise.
37319 * conform/data/syslog.h-data: Likewise.
37320 * conform/data/tar.h-data: Likewise.
37321 * conform/data/termios.h-data: Likewise.
37322 * conform/data/utime.h-data: Likewise.
37323 * conform/data/utmpx.h-data: Likewise.
37324 * conform/data/varargs.h-data: Likewise.
37325 * conform/data/wchar.h-data: Likewise.
37326 * conform/data/wctype.h-data: Likewise.
37327 * conform/data/wordexp.h-data: Likewise.
37329 * include/stropts.h: New file.
37330 * include/uchar.h: New file.
37331 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37332 * include/assert.h: Likewise.
37333 * include/ctype.h: Likewise.
37334 * include/dirent.h: Likewise.
37335 * include/dlfcn.h: Likewise.
37336 * include/fcntl.h: Likewise.
37337 * include/fnmatch.h: Likewise.
37338 * include/glob.h: Likewise.
37339 * include/grp.h: Likewise.
37340 * include/libio.h: Likewise.
37341 * include/locale.h: Likewise.
37342 * include/math.h: Likewise.
37343 * include/net/if.h: Likewise.
37344 * include/netdb.h: Likewise.
37345 * include/netinet/in.h: Likewise.
37346 * include/pthread.h: Likewise.
37347 * include/pwd.h: Likewise.
37348 * include/regex.h: Likewise.
37349 * include/sched.h: Likewise.
37350 * include/search.h: Likewise.
37351 * include/setjmp.h: Likewise.
37352 * include/signal.h: Likewise.
37353 * include/stdio.h: Likewise.
37354 * include/stdlib.h: Likewise.
37355 * include/string.h: Likewise.
37356 * include/sys/cdefs.h: Likewise.
37357 * include/sys/mman.h: Likewise.
37358 * include/sys/msg.h: Likewise.
37359 * include/sys/resource.h: Likewise.
37360 * include/sys/select.h: Likewise.
37361 * include/sys/socket.h: Likewise.
37362 * include/sys/stat.h: Likewise.
37363 * include/sys/statvfs.h: Likewise.
37364 * include/sys/time.h: Likewise.
37365 * include/sys/times.h: Likewise.
37366 * include/sys/uio.h: Likewise.
37367 * include/sys/utsname.h: Likewise.
37368 * include/sys/wait.h: Likewise.
37369 * include/termios.h: Likewise.
37370 * include/time.h: Likewise.
37371 * include/ulimit.h: Likewise.
37372 * include/unistd.h: Likewise.
37373 * include/utime.h: Likewise.
37374 * include/wchar.h: Likewise.
37375 * include/wctype.h: Likewise.
37376 * include/wordexp.h: Likewise.
37378 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37380 * time/time.h: TIME_UTC must be a macro.
37381 Make timespec_get available for ISO C11 only as well.
37383 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37385 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37386 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37388 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37390 * configure.in: Use -o not -a in test for unsupported multi-arch.
37392 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37394 * manual/texinfo.tex: Update to version 2012-01-19.16.
37396 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37398 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37400 2012-02-24 Roland McGrath <roland@hack.frob.com>
37403 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37404 * manual/fdl-1.3.texi: New file.
37405 * manual/fdl-1.1.texi: File removed.
37408 * manual/libc.texinfo (FDL_VERSION): New @set.
37409 Use it for mention of FDL in cover text.
37410 (Documentation License): Use it in @include file name.
37412 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37413 Roland McGrath <roland@hack.frob.com>
37416 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37417 (not LONG_LONG_MAX and LONG_LONG_MIN.
37418 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37419 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37421 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37423 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37427 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37428 manipulate bits before adding and subtracting TWO23[sx].
37429 * math/libm-test.inc (nearbyint_test): Add more tests.
37431 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37434 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37435 bits before adding and subtracting TWO23[sx].
37436 * math/libm-test.inc (rint_test): Add more tests.
37437 (rint_test_tonearest): Likewise.
37438 (rint_test_towardzero): Likewise.
37439 (rint_test_downward): Likewise.
37440 (rint_test_upward: Likewise.
37442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37445 * include/stdc-predef.h: New file. Extracted from features.h.
37446 * include/features.h: Include stdc-predef.h.
37447 * Makefile (headers): Add stdc-predef.h.
37448 * CONFORMANCE (Compiler limitations): Update.
37450 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37452 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37454 2012-02-21 David S. Miller <davem@davemloft.net>
37456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37457 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37459 2012-02-20 David S. Miller <davem@davemloft.net>
37461 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37462 using a normal save/restore sequence, rather than allocating a
37463 dummy stack frame just to store a frame pointer and restore.
37464 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37466 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37468 * manual/install.texi: Fix stray word in line-wrapped comment.
37470 2012-02-20 David S. Miller <davem@davemloft.net>
37472 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37473 both binutils and gcc support GOTDATA.
37475 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37476 "rd %pc" in the PIC register setup sequences.
37478 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37479 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37480 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37481 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37482 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37484 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37485 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37487 (SYSCALL_ERROR_HANDLER): Likewise.
37488 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37489 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37491 (SYSCALL_ERROR_HANDLER): Likewise.
37493 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37494 (HAVE_GCC_GOTDATA): New.
37495 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37496 relocation support in both binutils and gcc.
37497 * sysdeps/sparc/elf/configure: Regenerate.
37499 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37500 * sysdeps/sparc/sparc32/elf/configure: Delete.
37501 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37502 * sysdeps/sparc/sparc64/elf/configure: Delete.
37503 * sysdeps/sparc/elf/configure.in: New file.
37504 * sysdeps/sparc/elf/configure: Generate.
37506 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37507 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37508 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37509 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37510 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37512 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37514 * manual/install.texi: Do not mention specific glibc version
37516 * manual/libc.texinfo (VERSION, UPDATED): Update.
37517 (@copying): Use @copyright{} and range of years.
37519 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37522 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37523 [crti.S not in sysdirs] (generated): Do not append.
37524 [crti.S not in sysdirs] (omit-deps): Likewise.
37525 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37526 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37527 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37528 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37529 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37531 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37532 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37533 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37534 * csu/defs.awk: Remove file.
37535 * sysdeps/generic/initfini.c: Likewise.
37536 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37538 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37541 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37543 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37544 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37545 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37547 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37548 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37550 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37551 (__EPOLL_PACKED): Define to empty if not defined by
37553 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37557 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37559 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37560 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37561 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37562 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37564 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37568 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37570 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37573 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37574 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37577 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37579 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37580 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37582 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37584 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37585 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37587 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37589 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37592 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37594 * math/w_acos.c: Use non-signaling floating-point comparisons.
37595 * math/w_acosf.c: Likewise.
37596 * math/w_acosh.c: Likewise.
37597 * math/w_acoshf.c: Likewise.
37598 * math/w_acoshl.c: Likewise.
37599 * math/w_acosl.c: Likewise.
37600 * math/w_asin.c: Likewise.
37601 * math/w_asinf.c: Likewise.
37602 * math/w_asinl.c: Likewise.
37603 * math/w_atanh.c: Likewise.
37604 * math/w_atanhf.c: Likewise.
37605 * math/w_atanhl.c: Likewise.
37606 * math/w_exp2.c: Likewise.
37607 * math/w_exp2f.c: Likewise.
37608 * math/w_exp2l.c: Likewise.
37609 * math/w_j0.c: Likewise.
37610 * math/w_j0f.c: Likewise.
37611 * math/w_j0l.c: Likewise.
37612 * math/w_j1.c: Likewise.
37613 * math/w_j1f.c: Likewise.
37614 * math/w_j1l.c: Likewise.
37615 * math/w_jn.c: Likewise.
37616 * math/w_jnf.c: Likewise.
37617 * math/w_log.c: Likewise.
37618 * math/w_log10.c: Likewise.
37619 * math/w_log10f.c: Likewise.
37620 * math/w_log10l.c: Likewise.
37621 * math/w_log2.c: Likewise.
37622 * math/w_log2f.c: Likewise.
37623 * math/w_log2l.c: Likewise.
37624 * math/w_logf.c: Likewise.
37625 * math/w_logl.c: Likewise.
37626 * math/w_sqrt.c: Likewise.
37627 * math/w_sqrtf.c: Likewise.
37628 * math/w_sqrtl.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37633 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37635 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37638 * manual/string.texi (strnlen): Use correct parameter name in
37639 equivalent expression.
37641 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37644 * manual/users.texi (seteuid): Consistently use neweuid for
37647 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37650 * manual/nss.texi (Services in the NSS configuration): Correct
37651 list of services in example configuration file.
37653 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37656 * manual/arith.texi: Remove statements about negative zero
37657 behaving identically to zero.
37659 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37662 * manual/install.texi: Do not document upgrading from libc5.
37664 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37667 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37669 2012-02-18 David S. Miller <davem@davemloft.net>
37671 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37672 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37673 %o7 across the call.
37674 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37677 SETUP_PIC_REG_LEAF.
37678 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37679 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37680 * sysdeps/sparc/crtn.S: Likewise.
37682 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37684 * aout/Makefile: Remove.
37686 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37689 * manual/examples/argp-ex1.c (main): Format definition in GNU
37691 * manual/examples/argp-ex2.c (main): Likewise.
37692 * manual/examples/argp-ex3.c (main): Likewise.
37693 * manual/examples/argp-ex4.c (main): Likewise.
37694 * manual/examples/longopt.c (main): Use new-style prototype
37696 * manual/examples/strncat.c (main): Specify return type and use
37697 (void) for arguments.
37698 * manual/examples/subopt.c (main): Use char **argv argument.
37700 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37703 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37706 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37709 * manual/string.texi (strchr): Change when strchrnul is
37712 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37715 * manual/locale.texi (setlocale): Document LOCPATH.
37717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37720 * manual/process.texi (execle): Move @dots{} before last argument.
37722 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37725 * manual/charset.texi (Generic Charset Conversion): Fix typo
37726 (LC_TYPE -> LC_CTYPE).
37728 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37731 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37732 (scalbnf): Likewise.
37733 (scalbnl): Likewise.
37734 (scalbln): Likewise.
37735 (scalblnf): Likewise.
37736 (scalblnl): Likewise.
37737 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37738 (vwarnx): Likewise.
37741 * manual/filesys.texi (telldir): Use braces around return type.
37742 * manual/llio.texi (mmap): Add space after comma.
37743 (mmap64): Likewise.
37744 * manual/math.texi (jn): Use @var{} on parameter names.
37750 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37752 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37754 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37755 (sched_get_priority_max): Likewise.
37756 * manual/signal.texi (sigvec): Add space after comma.
37757 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37759 (if_indextoname): Likewise.
37760 (if_freenameindex): Likewise.
37761 (sendto): Use ',' instead of '.' in prototype.
37762 * manual/startup.texi (syscall): Use @dots{} instead of literal
37764 * manual/stdio.texi (__fpending): Separate initial words of
37765 paragraph from @deftypefun line.
37766 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37768 (vsyslog): Use @var{} on parameter names.
37769 * manual/terminal.texi (stty): Use @var{} on parameter names.
37770 * manual/users.texi (getutmp): Use @var{} on parameter names.
37771 (getutmpx): Likewise.
37773 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37776 * manual/stdio.texi (fopen): Fix typos in description of
37779 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37782 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37783 get clock_id definition.
37785 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37788 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37789 (madvise): Cast every argument to void on its own.
37791 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37794 * manual/startup.texi (Exit Status): Fix typo.
37796 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37799 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37800 * manual/examples/argp-ex2.c: Likewise.
37801 * manual/examples/argp-ex3.c: Likewise.
37803 2012-02-16 Richard Henderson <rth@redhat.com>
37805 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37806 * sysdeps/s390/s390-32/initfini.c: Remove.
37807 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37808 * sysdeps/s390/s390-64/initfini.c: Remove.
37810 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37812 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37813 compiler output for sysdeps/generic/initfini.c.
37814 * sysdeps/sh/elf/initfini.c: Remove file.
37816 2012-02-16 David S. Miller <davem@davemloft.net>
37819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37821 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37822 * sysdeps/sparc/crti.S: New file.
37823 * sysdeps/sparc/crtn.S: New file.
37824 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37825 * sysdeps/sparc/sparc64/Makefile: Likewise.
37827 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37830 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37832 2012-02-15 Roland McGrath <roland@hack.frob.com>
37835 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37837 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37838 (write, read, close): Likewise.
37839 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37841 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37843 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37844 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37845 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37846 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37848 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37852 2012-02-14 Marek Polacek <polacek@redhat.com>
37854 * sysdeps/x86_64/crti.S: New file.
37855 * sysdeps/x86_64/crtn.S: New file.
37856 * sysdeps/x86_64/elf/initfini.c: Remove file.
37858 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37860 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37861 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37862 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37863 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37865 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37869 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37871 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37872 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37873 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37874 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37876 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37880 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37882 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37883 __feraiseexcept instead of feraiseexcept.
37885 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37886 nanosleep invocations.
37887 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37888 strings, and add error checking for a nanosleep invocations.
37890 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37892 Replace FSF snail mail address with URLs, as per GNU coding standards.
37893 Most of the snail mail addresses were wrong anyway, and omitting
37894 them makes the source code easier to maintain. Almost all of the
37895 changes are to license notices and to locale LC_IDENTIFICATION
37896 addresses, except for this one:
37897 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37898 not its snail mail address.
37900 2012-02-09 Richard Henderson <rth@twiddle.net>
37902 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37903 of kernel-features.h.
37905 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37907 2012-02-08 Marek Polacek <polacek@redhat.com>
37909 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37910 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37911 * sysdeps/gnu/_G_config.h: Likewise.
37912 * sysdeps/generic/_G_config.h: Likewise.
37914 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37916 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37920 * sysdeps/powerpc/powerpc32/crti.S: New file.
37921 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37922 * sysdeps/powerpc/powerpc64/crti.S: New file.
37923 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37925 * Makeconfig (have-initfini): Don't set.
37926 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37927 * configure.in (nopic_initfini): Don't substitute.
37928 * config.h.in (HAVE_INITFINI): Don't #undef.
37929 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37930 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37932 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37934 Support crti.S and crtn.S provided directly by architectures.
37935 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37936 [crti.S in sysdirs] (omit-deps): Likewise.
37937 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37938 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37939 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37940 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37941 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37942 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37943 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37944 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37945 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37946 compiler output for sysdeps/generic/initfini.c.
37947 * sysdeps/i386/elf/Makefile: Remove file.
37948 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37950 2012-02-07 Marek Polacek <polacek@redhat.com>
37952 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37953 * sysdeps/gnu/_G_config.h: Likewise.
37954 * sysdeps/mach/hurd/_G_config.h: Likewise.
37956 2012-02-07 Marek Polacek <polacek@redhat.com>
37958 * math/Makefile (tests): Add tst-CMPLX2.
37959 * math/tst-CMPLX2.c: New file.
37961 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37963 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37965 * math/libm-test.inc (jn_test): Add missing L suffix.
37967 2012-02-06 Marek Polacek <polacek@redhat.com>
37969 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37970 * sysdeps/i386/fpu/e_powf.S: Likewise.
37971 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37972 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37973 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37974 * sysdeps/i386/fpu/e_pow.S: Likewise.
37975 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37976 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37977 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37978 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37979 * sysdeps/i386/fpu/e_log2.S: Likewise.
37980 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37981 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37982 * sysdeps/i386/fpu/e_powl.S: Likewise.
37983 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37984 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37985 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37986 * sysdeps/i386/fpu/e_logl.S: Likewise.
37987 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37988 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37989 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37990 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37991 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37992 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37993 * sysdeps/i386/fpu/e_log.S: Likewise.
37994 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37995 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37996 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37997 * sysdeps/i386/fpu/e_logf.S: Likewise.
37998 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37999 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38000 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38001 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38002 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38003 * sysdeps/i386/fpu/e_log10.S: Likewise.
38004 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38005 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38006 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38007 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38008 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38009 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38010 * sysdeps/i386/asm-syntax.h: Likewise.
38011 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38012 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38014 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38015 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38016 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38017 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38018 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38019 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38020 * sysdeps/powerpc/sysdep.h: Likewise.
38021 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38022 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38024 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38027 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38029 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38031 * sysdeps/i386/sysdep.h: Include <features.h>.
38032 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38035 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38037 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38039 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38042 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38044 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38045 (SETUP_PIC_REG): Use GET_PC_THUNK.
38046 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38049 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38051 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38052 for non-PIC compilation.
38053 (SETUP_PIC_REG): Add .p2align directive.
38054 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38055 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38056 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38057 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38058 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38059 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38060 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38062 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38063 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38064 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38065 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38066 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38067 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38068 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38069 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38070 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38071 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38072 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38073 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38074 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38076 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38077 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38078 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38082 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38084 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38085 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38086 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38087 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38088 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38089 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38090 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38091 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38092 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38093 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38094 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38096 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38098 * math/tst-CMPLX.c: Include <stdio.h>.
38100 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38102 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38104 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38105 * sysdeps/sparc/bits/mathdef.h: Likewise.
38107 2012-01-31 Marek Polacek <polacek@redhat.com>
38109 * libio/libio.h: Don't define _PARAMS.
38110 * locale/programs/config.h: Don't define PARAMS.
38111 * stdlib/strtol_l.c: Likewise.
38112 (__strtol_l): Remove PARAMS from the prototype.
38114 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38116 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38117 names. Just use the correct names. Remove unnecessary wrapper
38119 * malloc/arena.c: Likewise.
38120 * malloc/hooks.c: Likewise.
38122 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38123 ARENA_TEST says not to. Simplify test for creation of a new arena.
38124 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38126 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38128 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38130 (update_get_addr): New function.
38131 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38132 GET_ADDR_MODULE parameter.
38134 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38136 * crypt/cert.c: Remove __STDC__ conditionals.
38137 * crypt/crypt-entry.c: Likewise.
38138 * crypt/crypt_util.c: Likewise.
38139 * libio/filedoalloc.c: Likewise.
38140 * libio/fileops.c: Likewise.
38141 * libio/genops.c: Likewise.
38142 * libio/iofclose.c: Likewise.
38143 * libio/iofdopen.c: Likewise.
38144 * libio/iofopen.c: Likewise.
38145 * libio/iofopen64.c: Likewise.
38146 * libio/iogetdelim.c: Likewise.
38147 * libio/iopopen.c: Likewise.
38148 * libio/obprintf.c: Likewise.
38149 * libio/oldfileops.c: Likewise.
38150 * libio/oldiofclose.c: Likewise.
38151 * libio/oldiofdopen.c: Likewise.
38152 * libio/oldiofopen.c: Likewise.
38153 * libio/oldiopopen.c: Likewise.
38154 * libio/wfiledoalloc.c: Likewise.
38155 * libio/wgenops.c: Likewise.
38156 * locale/programs/xmalloc.c: Likewise.
38157 * misc/syslog.c: Likewise.
38158 * stdio-common/xbug.c: Likewise.
38159 * string/memchr.c: Likewise.
38160 * string/memcmp.c: Likewise.
38161 * string/memrchr.c: Likewise.
38162 * string/rawmemchr.c: Likewise.
38163 * sysdeps/posix/getcwd.c: Likewise.
38164 * time/strftime_l.c: Likewise.
38166 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38168 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38169 * config.make.in (config-cflags-sse2avx): Define.
38170 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38173 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38175 * scripts/config.guess: Update from upstream config git repository.
38176 * scripts/config.sub: Likewise.
38178 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38180 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38182 (R_TILEPRO_*, R_TILEGX_*): New macros.
38184 * scripts/firstversions.awk: Fix bug in version range handling.
38186 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38188 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38190 * include/sys/epoll.h: New file.
38191 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38194 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38196 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38197 Avoid unnecessary __WORDSIZE == 64 test.
38198 (fmaxf): Use VEX format if possible.
38203 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38204 * math/math_private.h: Remove libc_fegetround* and
38206 * sysdeps/i386/configure.in: Check for -msse2avx.
38207 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38208 also if SSE2AVX is defined.
38209 Remove libc_fegetround* and libc_fesetround*.
38210 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38211 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38212 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38214 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38215 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38216 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38217 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38218 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38220 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38222 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38224 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38226 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38228 2012-01-27 Ulrich Drepper <drepper@gmail.com>
38231 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38233 * Makeconfig (libm): Define.
38234 * elf/Makefile: Add rules to build and run tst-relsort1.
38235 * elf/tst-relsort1.c: New file.
38236 * elf/tst-relsort1mod1.c: New file.
38237 * elf/tst-relsort1mod2.c: New file.
38239 2012-01-27 Joseph Myers <joseph@codesourcery.com>
38241 * math/s_ldexp.c: Remove __STDC__ conditionals.
38242 * math/s_ldexpf.c: Likewise.
38243 * math/s_ldexpl.c: Likewise.
38244 * math/s_nextafter.c: Likewise.
38245 * math/s_nexttowardf.c: Likewise.
38246 * math/s_significand.c: Likewise.
38247 * math/s_significandf.c: Likewise.
38248 * math/s_significandl.c: Likewise.
38249 * math/w_jnl.c: Likewise.
38250 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38251 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38252 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38253 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38254 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38258 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38269 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38270 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38271 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38272 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38274 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38275 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38276 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38277 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38278 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38279 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38280 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38281 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38282 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38283 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38284 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38285 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38286 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38287 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38288 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38289 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38290 * sysdeps/ieee754/k_standard.c: Likewise.
38291 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38295 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38352 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38357 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38361 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38365 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38366 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38367 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38368 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38370 * sysdeps/ieee754/s_matherr.c: Likewise.
38371 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38372 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38373 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38374 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38376 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38378 * crypt/md5.h: Remove __STDC__ conditionals.
38379 * libio/libioP.h: Likewise.
38380 * locale/programs/config.h: Likewise.
38381 * sysdeps/generic/sysdep.h: Likewise.
38382 * sysdeps/i386/asm-syntax.h: Likewise.
38383 * sysdeps/s390/asm-syntax.h: Likewise.
38384 * sysdeps/unix/sysdep.h: Likewise.
38385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38388 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38390 * libio/libio.h: Remove __STDC__ conditionals.
38391 * malloc/obstack.h: Likewise.
38392 * math/complex.h: Likewise.
38393 * math/math.h: Likewise.
38394 * sysdeps/generic/_G_config.h: Likewise.
38395 * sysdeps/gnu/_G_config.h: Likewise.
38396 * sysdeps/mach/hurd/_G_config.h: Likewise.
38397 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38398 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38399 * sysdeps/sparc/bits/mathdef.h: Likewise.
38401 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38404 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38405 Clean up HAS_* macros.
38406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38407 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38409 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38411 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38412 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38413 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38414 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38415 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38417 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38419 * elf/tst-unique3.cc (gets): Remove declaration.
38420 * elf/tst-unique3lib.cc (gets): Likewise.
38421 * elf/tst-unique3lib2.cc (gets): Likewise.
38422 * elf/tst-unique4.cc (gets): Likewise.
38424 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38426 * include/stdio.h: Add C++ protection. Add gets declarations and
38428 * debug/tst-chk1.c: Don't declare gets here.
38429 * stdio-common/tst-gets.c: Likewise.
38431 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38433 * posix/glob: Remove directory.
38435 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38437 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38439 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38441 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38442 of the non-standard EPFNOSUPPORT.
38444 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38446 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38447 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38448 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38450 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38452 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38454 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38456 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38458 * nscd/grpcache.c (cache_addgr): Likewise.
38459 * nscd/hstcache.c (cache_addhst): Likewise.
38460 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38461 * nscd/pwdcache.c (cache_addpw): Likewise.
38462 * nscd/servicescache.c (cache_addserv): Likewise.
38464 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38466 * malloc/malloc.c: Various cleanups.
38467 * malloc/hooks.c: Likewise.
38469 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38470 * stdlib/bug-fmtmsg1.c: New file.
38472 * stdlib/fmtmsg.c (init): Add missing unlock.
38473 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38475 2012-01-12 Marek Polacek <polacek@redhat.com>
38477 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38480 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38482 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38483 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38484 macro to ensure uniqueness of label name.
38485 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38486 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38488 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38490 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38492 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38493 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38494 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38497 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38499 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38501 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38502 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38503 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38505 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38507 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38508 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38509 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38512 * math/bits/math-finite.h: Add ldexp support.
38514 2012-01-10 Marek Polacek <polacek@redhat.com>
38516 * locale/programs/localedef.h (show_archive_content): Add noreturn
38519 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38521 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38523 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38525 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38527 * io/Makefile (headers): Add bits/poll2.h.
38529 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38532 typo #include statement.
38534 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38536 * include/sys/cdefs.h: Define __attribute_alloc_size.
38537 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38538 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38539 * elf/pldd.c: Likewise.
38540 * iconv/iconv_charmap.c: Likewise.
38541 * iconv/iconvconfig.c: Likewise.
38542 * iconv/strtab.c: Likewise.
38543 * locale/programs/locale.c: Likewise.
38544 * locale/programs/localedef.h: Likewise.
38545 * locale/programs/simple-hash.c: Likewise.
38546 * nscd/nscd.h: Likewise.
38547 * nss/makedb.c: Likewise.
38548 * sysdeps/generic/ldconfig.h: Likewise.
38549 * locale/programs/localedef.c: Remove xmalloc prototype.
38550 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38552 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38554 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38557 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38559 * math/Makefile (tests): Add tst-CMPLX.
38560 * math/tst-CMPLX.c: New file.
38562 * math/complex.h (CMPLXL): Fix typo.
38564 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38565 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38567 * debug/tst-chk1.c: Add poll and ppoll tests.
38568 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38569 * include/sys/poll.h: Add hidden proto for ppoll.
38570 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38571 * sysdeps/mach/hurd/ppoll.c: Likewise.
38572 * io/ppoll.c: Likewise.
38573 * debug/poll_chk.c: New file.
38574 * debug/ppoll_chk.c: New file.
38575 * include/bits/poll2.h: New file.
38576 * io/bits/poll2.h: New file.
38579 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38581 * configure.in: static is always set to yes. Remove.
38582 * config.make.in: Don't set build-static.
38583 * Makeconfig: Remove use of build-static.
38584 * dlfcn/Makefile: Likewise.
38585 * elf/Makefile: Likewise.
38586 * math/Makefile: Likewise.
38587 * misc/Makefile: Likewise.
38588 * nptl/Makefile: Likewise.
38589 * sysdeps/mach/hurd/Makefile: Likewise.
38591 * configure.in: PWD_P is not used anymore.
38592 * config.make.in: Remove PWD_P entry.
38594 * configure.in: Remove last remnants of RANLIB.
38595 No need to check for signed size_t anymore.
38596 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38598 Remove __builtin_expect test because we require at least gcc 3.4.
38599 * aclocal.m4: Likewise.
38601 * wcsmbs/mbrtoc16.c: Implement using towc function.
38602 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38603 * wcsmbs/wcsmbsload.c: Likewise.
38604 * iconv/gconv_simple.c: Likewise.
38605 * iconv/gconv_int.h: Likewise.
38606 * iconv/gconv_builtin.h: Likewise.
38607 * iconv/iconv_prog.c: Remove CHAR16 handling.
38609 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38611 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38613 * configure.in: Remove --with-elf and --enable-bounded options.
38614 Dont set base_machine for ia64. More non-ELF conditions removed.
38615 Remove testing and setting of leading underscore information.
38616 * config.make.in (build-bounded): Set to no.
38617 * config.h.in: Remove NO_UNDERSCORES entry.
38618 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38620 * csu/start.c: Remove !NO_UNDERSCORE code.
38621 * locale/localeinfo.h: Likewise.
38622 * sysdeps/generic/machine-gmon.h: Likewise.
38623 * sysdeps/generic/sysdep.h: Likewise.
38624 * sysdeps/i386/sysdep.h: Likewise.
38625 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38626 * sysdeps/mach/sysdep.h: Likewise.
38627 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38628 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38629 * sysdeps/sh/sysdep.h: Likewise.
38630 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38631 * sysdeps/unix/i386/sysdep.S: Likewise.
38632 * sysdeps/unix/sparc/start.c: Likewise.
38633 * sysdeps/unix/sparc/sysdep.S: Likewise.
38634 * sysdeps/unix/sparc/sysdep.h: Likewise.
38635 * sysdeps/unix/start.c: Likewise.
38636 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38637 * sysdeps/x86_64/sysdep.h: Likewise.
38639 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38642 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38644 * argp/argp-fmtstream.h: Use const instead __const.
38645 * argp/argp.h: Likewise.
38646 * assert/assert.h: Likewise.
38647 * bits/fenv.h: Likewise.
38648 * bits/sched.h: Likewise.
38649 * bits/sigset.h: Likewise.
38650 * bits/sigthread.h: Likewise.
38651 * catgets/nl_types.h: Likewise.
38652 * conform/data/pthread.h-data: Likewise.
38653 * crypt/crypt-private.h: Likewise.
38654 * crypt/crypt.h: Likewise.
38655 * crypt/crypt_util.c: Likewise.
38656 * ctype/ctype.h: Likewise.
38657 * debug/execinfo.h: Likewise.
38658 * debug/mbsnrtowcs_chk.c: Likewise.
38659 * debug/mbsrtowcs_chk.c: Likewise.
38660 * debug/wcsnrtombs_chk.c: Likewise.
38661 * debug/wcsrtombs_chk.c: Likewise.
38662 * debug/wcstombs_chk.c: Likewise.
38663 * dirent/dirent.h: Likewise.
38664 * dlfcn/dlfcn.h: Likewise.
38665 * elf/neededtest4.c: Likewise.
38666 * grp/grp.h: Likewise.
38667 * gshadow/gshadow.h: Likewise.
38668 * iconv/gconv.h: Likewise.
38669 * iconv/gconv_int.h: Likewise.
38670 * iconv/gconv_simple.c: Likewise.
38671 * iconv/iconv.h: Likewise.
38672 * iconv/loop.c: Likewise.
38673 * iconv/skeleton.c: Likewise.
38674 * include/aio.h: Likewise.
38675 * include/aliases.h: Likewise.
38676 * include/argz.h: Likewise.
38677 * include/arpa/inet.h: Likewise.
38678 * include/assert.h: Likewise.
38679 * include/dirent.h: Likewise.
38680 * include/dlfcn.h: Likewise.
38681 * include/execinfo.h: Likewise.
38682 * include/fcntl.h: Likewise.
38683 * include/fenv.h: Likewise.
38684 * include/glob.h: Likewise.
38685 * include/grp.h: Likewise.
38686 * include/libintl.h: Likewise.
38687 * include/mntent.h: Likewise.
38688 * include/netdb.h: Likewise.
38689 * include/pwd.h: Likewise.
38690 * include/rpc/netdb.h: Likewise.
38691 * include/sched.h: Likewise.
38692 * include/search.h: Likewise.
38693 * include/shadow.h: Likewise.
38694 * include/signal.h: Likewise.
38695 * include/stdio.h: Likewise.
38696 * include/stdlib.h: Likewise.
38697 * include/string.h: Likewise.
38698 * include/sys/socket.h: Likewise.
38699 * include/sys/stat.h: Likewise.
38700 * include/sys/statfs.h: Likewise.
38701 * include/sys/statvfs.h: Likewise.
38702 * include/sys/syslog.h: Likewise.
38703 * include/sys/time.h: Likewise.
38704 * include/sys/uio.h: Likewise.
38705 * include/time.h: Likewise.
38706 * include/unistd.h: Likewise.
38707 * include/utmp.h: Likewise.
38708 * include/wchar.h: Likewise.
38709 * include/wctype.h: Likewise.
38710 * inet/aliases.h: Likewise.
38711 * inet/arpa/inet.h: Likewise.
38712 * inet/netinet/ether.h: Likewise.
38713 * inet/netinet/in.h: Likewise.
38714 * intl/libintl.h: Likewise.
38715 * io/bits/fcntl2.h: Likewise.
38716 * io/fcntl.h: Likewise.
38717 * io/ftw.h: Likewise.
38718 * io/sys/poll.h: Likewise.
38719 * io/sys/stat.h: Likewise.
38720 * io/sys/statfs.h: Likewise.
38721 * io/sys/statvfs.h: Likewise.
38722 * io/utime.h: Likewise.
38723 * libio/bits/stdio.h: Likewise.
38724 * libio/bits/stdio2.h: Likewise.
38725 * libio/libio.h: Likewise.
38726 * libio/libioP.h: Likewise.
38727 * libio/stdio.h: Likewise.
38728 * locale/lc-ctype.c: Likewise.
38729 * locale/locale.h: Likewise.
38730 * login/utmp.h: Likewise.
38731 * malloc/arena.c: Likewise.
38732 * malloc/malloc.c: Likewise.
38733 * malloc/malloc.h: Likewise.
38734 * malloc/mcheck.c: Likewise.
38735 * malloc/mtrace.c: Likewise.
38736 * math/bits/mathcalls.h: Likewise.
38737 * math/fenv.h: Likewise.
38738 * math/math_private.h: Likewise.
38739 * misc/bits/error.h: Likewise.
38740 * misc/bits/syslog.h: Likewise.
38741 * misc/err.h: Likewise.
38742 * misc/error.h: Likewise.
38743 * misc/fstab.h: Likewise.
38744 * misc/mntent.h: Likewise.
38745 * misc/regexp.h: Likewise.
38746 * misc/search.h: Likewise.
38747 * misc/sgtty.h: Likewise.
38748 * misc/sys/mman.h: Likewise.
38749 * misc/sys/syslog.h: Likewise.
38750 * misc/sys/uio.h: Likewise.
38751 * misc/sys/xattr.h: Likewise.
38752 * misc/ttyent.h: Likewise.
38753 * nis/rpcsvc/ypclnt.h: Likewise.
38754 * nss/nss.h: Likewise.
38755 * posix/bits/unistd.h: Likewise.
38756 * posix/fnmatch.h: Likewise.
38757 * posix/glob.h: Likewise.
38758 * posix/sched.h: Likewise.
38759 * posix/spawn.h: Likewise.
38760 * posix/sys/wait.h: Likewise.
38761 * posix/unistd.h: Likewise.
38762 * posix/wordexp.h: Likewise.
38763 * pwd/pwd.h: Likewise.
38764 * resolv/netdb.h: Likewise.
38765 * resource/sys/resource.h: Likewise.
38766 * rt/aio.h: Likewise.
38767 * rt/bits/mqueue2.h: Likewise.
38768 * rt/mqueue.h: Likewise.
38769 * shadow/shadow.h: Likewise.
38770 * signal/signal.h: Likewise.
38771 * socket/send.c: Likewise.
38772 * socket/sendto.c: Likewise.
38773 * socket/sys/socket.h: Likewise.
38774 * stdio-common/printf.h: Likewise.
38775 * stdlib/bits/stdlib.h: Likewise.
38776 * stdlib/fmtmsg.h: Likewise.
38777 * stdlib/monetary.h: Likewise.
38778 * stdlib/stdlib.h: Likewise.
38779 * stdlib/ucontext.h: Likewise.
38780 * streams/stropts.h: Likewise.
38781 * string/argz.h: Likewise.
38782 * string/bits/string2.h: Likewise.
38783 * string/string.h: Likewise.
38784 * string/strings.h: Likewise.
38785 * sunrpc/rpc/auth.h: Likewise.
38786 * sunrpc/rpc/auth_des.h: Likewise.
38787 * sunrpc/rpc/clnt.h: Likewise.
38788 * sunrpc/rpc/netdb.h: Likewise.
38789 * sunrpc/rpc/pmap_clnt.h: Likewise.
38790 * sunrpc/rpc/xdr.h: Likewise.
38791 * sysdeps/generic/inttypes.h: Likewise.
38792 * sysdeps/generic/net/if.h: Likewise.
38793 * sysdeps/generic/sys/swap.h: Likewise.
38794 * sysdeps/gnu/net/if.h: Likewise.
38795 * sysdeps/gnu/utmpx.h: Likewise.
38796 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38797 * sysdeps/i386/i486/bits/string.h: Likewise.
38798 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38799 * sysdeps/s390/bits/string.h: Likewise.
38800 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38801 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38802 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38803 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38804 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38805 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38806 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38807 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38808 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38809 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38810 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38811 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38812 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38813 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38814 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38815 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38816 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38818 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38820 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38821 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38822 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38823 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38824 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38825 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38826 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38827 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38828 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38829 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38830 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38831 * sysvipc/sys/ipc.h: Likewise.
38832 * sysvipc/sys/msg.h: Likewise.
38833 * sysvipc/sys/sem.h: Likewise.
38834 * sysvipc/sys/shm.h: Likewise.
38835 * termios/termios.h: Likewise.
38836 * time/sys/time.h: Likewise.
38837 * time/time.h: Likewise.
38838 * wcsmbs/bits/wchar2.h: Likewise.
38839 * wcsmbs/uchar.h: Likewise.
38840 * wcsmbs/wchar.h: Likewise.
38841 * wctype/wctype.h: Likewise.
38844 * Makeconfig: Remove all but ELF support including AIX support.
38845 * Makerules: Likewise.
38846 * config.h.in: Likewise.
38847 * config.make.in: Likewise.
38848 * configure: Likewise.
38849 * configure.in: Likewise.
38850 * csu/Makefile: Likewise.
38851 * csu/version.c: Likewise.
38852 * debug/Makefile: Likewise.
38853 * dlfcn/Makefile: Likewise.
38854 * elf/Makefile: Likewise.
38855 * extra-lib.mk: Likewise.
38856 * iconv/Makefile: Likewise.
38857 * include/libc-symbols.h: Likewise.
38858 * include/shlib-compat.h: Likewise.
38859 * resolv/Makefile: Likewise.
38860 * resolv/res_libc.c: Likewise.
38861 * rt/Makefile: Likewise.
38862 * sysdeps/i386/asm-syntax.h: Likewise.
38863 * sysdeps/i386/sysdep.h: Likewise.
38864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38865 * sysdeps/mach/sysdep.h: Likewise.
38866 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38867 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38868 * sysdeps/s390/asm-syntax.h: Likewise.
38869 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38870 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38871 * sysdeps/sh/sysdep.h: Likewise.
38872 * sysdeps/unix/sparc/sysdep.h: Likewise.
38873 * sysdeps/wordsize-32/divdi3.c: Likewise.
38874 * sysdeps/x86_64/sysdep.h: Likewise.
38876 * argp/Versions: Remove _argp_unlock_xxx.
38879 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38880 * abilist/libBrokenLocale.abilist: Likewise.
38881 * abilist/libanl.abilist: Likewise.
38882 * abilist/libc.abilist: Likewise.
38883 * abilist/libcrypt.abilist: Likewise.
38884 * abilist/libdl.abilist: Likewise.
38885 * abilist/libm.abilist: Likewise.
38886 * abilist/libnsl.abilist: Likewise.
38887 * abilist/libpthread.abilist: Likewise.
38888 * abilist/libresolv.abilist: Likewise.
38889 * abilist/librt.abilist: Likewise.
38890 * abilist/libthread_db.abilist: Likewise.
38891 * abilist/libutil.abilist: Likewise.
38892 * abilist/libnss_db.abilist: New file.
38894 * scripts/abilist.awk: Add support for indirect functions.
38896 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38898 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38900 * shlib-versions: Remove entries for ports architectures.
38902 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38904 * elf/stackguard-macros.h: Remove support for IA-64.
38905 * elf/tst-auditmod1.c: Likewise.
38906 * sysdeps/generic/ldsodefs.h: Likewise.
38908 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38909 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38913 * configure.in: Remove --enable-omitfp support.
38915 * config.make.in: Likewise.
38916 * Makeconfig: Likewise.
38917 * manual/install.texi: Likewise.
38919 In case anyone cares, the IA-64 architecture could move to ports.
38920 * sysdeps/ia64/*: Removed.
38921 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38922 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38925 * configure.in: Remove entries for unsupported architectures.
38928 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38929 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38931 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38932 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38933 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38934 fall back to using wcrtomb.
38935 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38936 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38938 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38939 * wcsmbs/tst-c16c32-1.c: New file.
38941 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38944 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38946 * elf/tst-unique3.cc: Add explicit declaration of gets.
38947 * elf/tst-unique3lib.cc: Likewise.
38948 * elf/tst-unique3lib2.cc: Likewise.
38949 * elf/tst-unique4.cc: Likewise.
38951 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38953 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38956 * assert/assert.h (static_assert): Don't define for C++.
38957 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38958 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38960 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38962 * iconv/loop.c (single loop): Fix assertion in storing of
38965 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38967 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38969 * posix/getconf.c: Update copyright year.
38970 * nss/getent.c: Likewise.
38971 * nss/makedb.c: Likewise.
38972 * iconv/iconvconfig.c: Likewise.
38973 * iconv/iconv_prog.c: Likewise.
38974 * elf/ldconfig.c: Likewise.
38975 * elf/pldd.c: Likewise.
38976 * elf/sotruss.ksh: Likewise.
38977 * catgets/gencat.c: Likewise.
38978 * csu/version.c: Likewise.
38979 * elf/ldd.bash.in: Likewise.
38980 * elf/sprof.c (print_version): Likewise.
38981 * locale/programs/locale.c: Likewise.
38982 * locale/programs/localedef.c: Likewise.
38983 * login/programs/pt_chown.c: Likewise.
38984 * nscd/nscd.c (print_version): Likewise.
38985 * debug/xtrace.sh: Likewise.
38986 * malloc/memusage.sh: Likewise.
38987 * malloc/mtrace.pl: Likewise.
38988 * debug/catchsegv.sh: Likewise.
38990 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38992 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38995 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38998 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38999 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39001 * iconv/gconv_int.h: Likewise.
39002 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39003 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39004 from libc for GLIBC_2.16.
39005 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39006 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39007 * wcsmbs/uchar.h: Really define mbstate_t.
39008 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39009 * wcsmbs/c16rtomb.c: New file.
39010 * wcsmbs/mbrtoc16.c: New file.
39011 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39012 for C/POSIX locale.
39013 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39014 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39016 * wcsmbs/wchar.h: Add missing __restrict.
39018 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39021 * time/Makefile (routines): Add timespec_get.
39022 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39023 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39024 timespec for ISO C11.
39025 * time/timespec_get.c: New file.
39026 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39027 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39030 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39031 * stdlib/stdlib.h: Declare aligned_alloc.
39032 * Versions.def: Add GLIBC_2.16 for libc.
39033 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39036 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39039 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39043 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39046 * assert/assert.h (static_assert): Define.
39048 * version.h: Update for 2.16 development version.
39051 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39054 * version.h (RELEASE): Bump for 2.15 release.
39055 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39057 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39058 Patch by Marek Polacek <mpolacek@redhat.com>.
39060 * bits/byteswap.h: Protect long long constants with __extension__.
39061 * sysdeps/i386/bits/byteswap.h: Likewise.
39062 * sysdeps/ia64/bits/byteswap.h: Likewise.
39063 * sysdeps/s390/bits/byteswap.h: Likewise.
39064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39066 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39069 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39070 destination buffer.
39071 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39073 2011-12-23 Marek Polacek <polacek@redhat.com>
39075 * elf/dl-addr.c (determine_info): Add inline keyword.
39076 * elf/tst-auditmod4b.c (check_avx): Likewise.
39077 * elf/tst-auditmod6b.c (check_avx): Likewise.
39078 * elf/tst-auditmod6c.c (check_avx): Likewise.
39079 * elf/tst-auditmod7b.c (check_avx): Likewise.
39081 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39083 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39086 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39089 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39090 processing for last bytes.
39092 2011-08-06 Bruno Haible <bruno@clisp.org>
39095 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39096 U+0385, not to U+1FEE.
39099 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39100 entry for U+00A5 U+0301.
39102 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39105 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39106 buffer for the output is too small.
39108 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39112 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39113 SSE flags if possible.
39115 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39118 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39119 processing for last bytes.
39121 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39123 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39124 (syscall-list-default-options, syscall-list-default-condition)
39125 (syscall-list-includes): Define.
39126 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39127 list of ABIs and options and #if conditions for each ABI. Do not
39128 handle common syscalls between ABIs specially.
39129 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39131 (syscall-list-variants, syscall-list-32bit-options)
39132 (syscall-list-32bit-condition, syscall-list-64bit-options)
39133 (syscall-list-64bit-condition): Define.
39134 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39135 (syscall-list-variants, syscall-list-32bit-options)
39136 (syscall-list-32bit-condition, syscall-list-64bit-options)
39137 (syscall-list-64bit-condition): Define.
39138 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39140 (syscall-list-variants, syscall-list-32bit-options)
39141 (syscall-list-32bit-condition, syscall-list-64bit-options)
39142 (syscall-list-64bit-condition): Define.
39143 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39145 (syscall-list-variants, syscall-list-32bit-options)
39146 (syscall-list-32bit-condition, syscall-list-64bit-options)
39147 (syscall-list-64bit-condition): Define.
39149 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39151 * locale/iso-639.def: Add brx entry.
39154 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39155 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39157 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39158 __feraiseexcept_renamed.
39160 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39163 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39164 EPOLLET with unsigned values.
39165 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39166 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39168 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39169 to large cancellation.
39170 * math/s_cacoshf.c: Likewise.
39171 * math/s_cacoshl.c: Likewise.
39173 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39177 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39178 * math/s_cacoshf.c: Likewise.
39179 * math/s_cacoshl.c: Likewise.
39181 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39184 * iconv/gconv.h: Define __GCONV_SWAP.
39185 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39186 * iconvdata/utf-16.c: Likewise.
39187 * iconvdata/utf-32.c: Likewise.
39189 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39192 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39193 numerator after shifting it by one limb.
39195 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39197 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39198 under [__USE_EXTERN_INLINES].
39200 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39203 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39205 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39207 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39208 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39210 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39211 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39212 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39213 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39214 for strncasecmp/strncasecmp_l compilation.
39215 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39216 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39218 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39221 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39224 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39227 * time/tzfile.c (__tzfile_read): Check values from file header.
39229 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39231 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39232 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39233 * powerpc/powerpc32/dl-start.S: Likewise.
39234 * powerpc/powerpc32/elf/start.S: Likewise.
39235 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39236 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39237 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39238 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39239 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39240 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39241 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39242 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39243 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39244 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39245 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39246 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39247 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39248 * powerpc/powerpc32/memset.S: Likewise.
39249 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39250 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39251 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39252 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39253 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39254 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39255 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39256 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39257 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39258 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39259 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39260 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39261 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39263 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39265 * math/libm-test.inc: Added more nearbyint tests.
39266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39267 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39271 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39273 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39276 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39278 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39279 Add wcscpy-ssse3 wcscpy-c.
39280 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39281 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39282 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39283 * sysdeps/x86_64/wcschr.S: New file.
39284 * sysdeps/x86_64/wcsrchr.S: New file.
39285 * string/test-strcmp.c: Remove checking of wcscmp function for
39287 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39288 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39289 wcsrchr-sse2 wcsrchr-c.
39290 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39291 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39292 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39293 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39294 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39295 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39296 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39297 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39298 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39299 * wcsmbc/wcschr.c (WCSCHR): New macro.
39301 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39303 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39304 * wcsmbs/test-wcsrchr.c: New file.
39305 * string/test-strrchr.c: Add wcsrchr support.
39307 * wcsmbs/test-wcscpy.c: New file.
39308 * string/test-strcpy.c: Add wcscpy support.
39311 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39313 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39316 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39319 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39321 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39323 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39324 Minor optimizations.
39326 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39327 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39328 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39330 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39332 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39333 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39334 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39335 for gcc to avoid warnings.
39336 * inet/Makefile (tests): Add tst-checks.
39337 * inet/tst-checks.c: New file.
39339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39342 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39345 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39346 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39348 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39350 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39352 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39355 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39357 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39359 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39360 conditional on GCC version.
39361 (__arch_compare_and_exchange_val_8_acq)
39362 (__arch_compare_and_exchange_val_16_acq)
39363 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39364 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39365 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39367 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39369 * sysdeps/sh/backtrace.c: New file.
39371 2011-12-02 Andreas Schwab <schwab@redhat.com>
39373 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39376 2011-12-01 Andreas Schwab <schwab@redhat.com>
39378 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39379 falling back to utime.
39381 2011-11-30 Andreas Schwab <schwab@redhat.com>
39383 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39384 expectations for float.
39386 2011-11-29 Andreas Schwab <schwab@redhat.com>
39388 * locale/weight.h (findidx): Add parameter len.
39389 * locale/weightwc.h (findidx): Likewise.
39390 * posix/fnmatch_loop.c (FCT): Adjust caller.
39391 * posix/regcomp.c (build_equiv_class): Likewise.
39392 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39393 * posix/regexec.c (check_node_accept_bytes): Likewise.
39394 * string/strcoll_l.c (STRCOLL): Likewise.
39395 * string/strxfrm_l.c (STRXFRM): Likewise.
39397 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39399 * Makefile.in: Remove CVSOPT handling.
39400 * configure.in: Remove use of AC_REVISION.
39401 * iconvdata/Makefile (distribute): No need to filter out CVS.
39402 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39405 2011-11-16 Andreas Schwab <schwab@redhat.com>
39407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39408 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39409 [USE_AS_STRNCASECMP_L]: Likewise.
39410 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39411 NO_TLS_DIRECT_SEG_REFS.
39412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39413 Fix argument offsets for non-PIC.
39414 [USE_AS_STRNCASECMP_L]: Likewise.
39415 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39416 NO_TLS_DIRECT_SEG_REFS.
39418 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39420 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39422 * locale/loadlocale.c (_nl_load_locale): Likewise.
39424 2011-11-15 Andreas Schwab <schwab@redhat.com>
39426 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39427 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39428 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39429 (SYSCALL_GETTIME): Set errno on error.
39431 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39432 count references to noai6ai_cached.
39434 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39436 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39438 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39439 FD_CLOEXEC for /proc/self/maps.
39441 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39442 FD_CLOEXEC for /proc/meminfo.
39444 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39447 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39448 FD_CLOEXEC for given file.
39450 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39452 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39453 FD_CLOEXEC for /etc/hosts.
39454 (_gethtent): Likewise.
39456 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39458 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39459 cancellation and set FD_CLOEXEC for /etc/netgroup.
39461 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39462 reading /etc/publickey.
39464 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39465 allow cancellation when reading /etc/group.
39467 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39469 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39471 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39472 when using data file.
39474 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39476 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39477 (write_nis_obj): Use "c" and "e" in fopen.
39479 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39481 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39483 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39485 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39487 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39490 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39492 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39494 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39496 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39497 file parsing and set FD_CLOEXEC.
39499 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39501 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39503 2011-11-14 Andreas Schwab <schwab@redhat.com>
39505 * malloc/arena.c (arena_get2): Don't call reused_arena when
39506 _int_new_arena failed.
39508 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39510 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39511 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39513 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39514 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39515 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39516 to compile strcasecmp and strncasecmp.
39517 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39518 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39520 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39522 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39524 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39525 locale-defines.sym to gen-as-const-headers.
39526 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39527 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39529 to compile strcasecmp and strncasecmp.
39530 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39531 strcasecmp_l and strncasecmp_l.
39532 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39533 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39534 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39535 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39536 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39537 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39538 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39539 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39540 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39541 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39542 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39544 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39546 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39547 result of SYSDEP_GETTIME_CPU to retval.
39548 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39549 parameter list to macro. Remove trailing semicolon. Adjust users.
39551 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39554 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39556 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39558 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39559 from unused variable.
39561 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39563 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39566 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39569 * sunrpc/rpc_prot.c (rejected): Fix case value.
39571 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39572 unsigned long long int to avoid warnings in shift.
39574 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39576 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39579 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39580 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39581 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39583 * nis/nis_table.c (nis_list): Use variable of correct type for
39584 result of __follow_path call.
39586 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39588 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39589 of math functions ceil, trunc, floor, round, and sqrt, when
39590 avaliable on the platform.
39591 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39593 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39594 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39595 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39597 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39599 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39600 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39602 2011-11-11 Roland McGrath <roland@hack.frob.com>
39604 * include/unistd.h: Fix __readlink return type.
39605 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39607 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39609 * stdlib/ucontext.h: Undo last change for makecontext.
39611 2011-11-11 Andreas Schwab <schwab@redhat.com>
39613 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39615 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39616 * setjmp/setjmp.h: Mark functions as non-leaf.
39617 * setjmp/bits/setjmp2.h: Likewise.
39618 * stdlib/ucontext.h: Likewise.
39620 2011-11-10 Andreas Schwab <schwab@redhat.com>
39622 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39623 (reused_arena): Don't check arena limit.
39624 (arena_get2): Atomically check arena limit.
39626 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39628 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39629 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39634 2011-11-07 Andreas Schwab <schwab@redhat.com>
39636 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39637 handler when locking.
39639 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39640 Fix size of allocated buffer.
39642 2011-11-04 Andreas Schwab <schwab@redhat.com>
39645 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39646 declarations for long double functions.
39647 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39649 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39651 2011-11-03 Andreas Schwab <schwab@redhat.com>
39653 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39656 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39659 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39661 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39663 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39665 * include/alloca.h (stackinfo_alloca_round): Define.
39666 (extend_alloca): Use it.
39667 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39668 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39671 * scripts/check-local-headers.sh: Ignore libaudit.h.
39673 * nscd/Makefile (extra-objs): Make recursively expanded.
39675 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39677 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39678 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39680 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39681 * posix/tst-rfc3484-2.c: Likewise.
39682 * posix/tst-rfc3484-3.c: Likewise.
39684 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39686 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39688 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39689 process_vm_writev from libc using GLIBC_2.15 version.
39691 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39693 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39695 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39698 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39701 * nss/getent.c (initgroups_keys): Show error message in case no group
39704 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39705 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39706 __bump_nl_timestamp.
39707 * nscd/connections (nscd_init): When host database is served open
39708 netlink socket and request notification about configuration changes.
39709 (main_loop_poll): Track netlink file descriptor and bump timestamp
39710 in case data becomes available.
39711 (main_loop_epoll): Likewise.
39712 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39713 (database_pers_head): Add extra_data fileds.
39714 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39715 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39716 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39718 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39719 in6ai data, call __free_in6ai.
39720 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39721 Add -DHAVE_NETLINK.
39722 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39723 interface information. Reuse previous data if netlink timestamp
39725 (__bump_nl_timestamp): New function.
39726 (__free_in6ai): New function.
39728 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39730 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39731 close_not_cancel_no_status here.
39732 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39734 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39737 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39740 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39741 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39742 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39744 2011-07-03 Andreas Jaeger <aj@suse.de>
39747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39748 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39749 * math/libm-test.inc (sin_test): Add test case.
39751 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39754 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39755 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39757 * elf/chroot_canon.c (chroot_canon): Cleanups.
39759 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39762 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39763 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39765 * string/test-strchr.c: Make usable for strchrnul testing.
39766 * string/test-strchrnul.c: New file.
39767 * string/Makefile (strop-tests): Add strchrnul.
39769 * po/it.po: Update from translation team.
39770 * po/es.po: Likewise.
39772 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39774 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39775 the three constants needed as parameters. Drop the others.
39776 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39777 __m128i_strloadu_tolower.
39778 Create and initialize variable zero and use it in all the places
39779 where _mm_setzero_si128 was used.
39781 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39782 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39783 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39784 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39786 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39787 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39788 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39789 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39790 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39791 __mpranred, __mptan.
39792 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39793 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39794 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39795 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39796 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39797 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39799 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39800 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39802 2011-10-28 Andreas Schwab <schwab@redhat.com>
39804 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39805 redefine if SHARED.
39806 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39809 wide char related routines to wcsmbs subdir.
39811 2011-10-27 Andreas Schwab <schwab@redhat.com>
39814 * misc/sys/cdefs.h (__THROWNL): Define.
39815 * posix/unistd.h: Use __THREADNL instead of __THREAD
39816 for memory synchronization functions.
39818 2011-10-26 Roland McGrath <roland@hack.frob.com>
39821 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39823 * manual/stdio.texi (Obstack Streams): Node removed.
39825 2011-10-26 Andreas Schwab <schwab@redhat.com>
39827 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39828 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39829 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39831 * math/math_private.h (math_force_eval): Allow non-addressable
39833 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39835 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39837 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39838 file is not needed.
39840 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39842 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39843 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39844 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39845 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39846 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39847 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39849 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39850 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39851 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39852 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39853 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39854 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39855 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39856 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39857 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39858 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39859 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39860 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39862 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39863 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39864 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39865 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39866 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39867 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39869 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39870 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39873 place. Use VEX encoding when compiling for AVX.
39875 2011-10-25 Andreas Schwab <schwab@redhat.com>
39877 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39878 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39880 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39882 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39884 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39885 useless if() expression.
39886 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39896 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39897 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39898 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39899 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39900 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39901 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39902 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39903 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39904 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39906 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39908 2011-10-25 Andreas Schwab <schwab@redhat.com>
39910 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39912 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39914 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39916 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39917 .text section. Avoid duplicate constants.
39918 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39922 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39928 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39929 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39930 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39933 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39934 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39935 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39936 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39938 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39939 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39940 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39941 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39942 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39943 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39944 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39945 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39946 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39947 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39948 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39949 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39950 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39951 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39952 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39953 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39954 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39955 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39956 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39957 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39958 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39959 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39960 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39961 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39962 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39964 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39966 * sysdeps/x86_64/dla.h: Move to ...
39967 * sysdeps/x86_64/fpu/dla.h: ...here.
39968 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39969 situations. Use __builtin_fma only for gcc 4.6 and up.
39971 * config.make.in: Add have-mfma4 entry.
39972 * configure.in: Substitute libc_cv_cc_fma4.
39973 * math/Makefile (dbl-only-routines): Add sincostab.
39974 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39975 Use __sincostab not sincos.
39976 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39983 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39984 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39985 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39986 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39988 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39989 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39991 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39992 define aliases when function name is a macro.
39993 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39994 sysdeps/ieee754/dbl-64/sincos.tbl.
39995 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39996 fma4-enabled routines.
39997 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39998 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39999 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40000 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40001 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40002 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40003 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40005 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40006 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40007 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40008 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40009 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40010 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40011 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40012 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40013 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40014 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40015 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40016 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40017 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40018 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40019 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40020 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40021 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40022 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40023 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40024 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40025 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40026 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40028 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40039 2011-10-24 Andreas Schwab <schwab@redhat.com>
40041 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40043 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40045 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40047 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40049 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40051 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40052 Remove unused variable magic_bits.
40053 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40055 * string/strnlen.c: Define and use STRNLEN macro.
40056 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40057 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40058 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40059 * wcsmbs/wcslen.c: Define and use WCSLEN.
40060 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40061 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40062 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40063 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40064 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40065 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40066 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40068 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40071 strnlen-sse2-no-bsf.
40072 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40073 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40074 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40075 Add strnlen support.
40076 (USE_AS_STRNLEN): New macro.
40077 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40078 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40079 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40080 * sysdeps/x86_64/wcslen.S: New file.
40082 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40085 XMM-moves are used for copying on small sizes.
40087 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40089 * wcsmbs/Makefile (strop-tests): Add wcschr.
40090 * wcsmbs/test-wcschr.c: New file.
40091 * string/test-strchr.c: Update.
40092 Add wcschr support.
40095 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40097 * wcsmbs/Makefile (strop-tests): Add wcslen.
40098 * wcsmbs/test-wcslen.c: New file.
40099 * string/test-strlen.c: Update.
40100 Add wcslen support.
40103 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40105 * po/it.po: Update from translation team.
40107 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40109 * sysdeps/x86_64/wcscmp.S: Update.
40110 Fix wrong comparison semantics.
40111 wcscmp shall use signed comparison not unsigned.
40112 Don't use substraction to avoid overflow bug.
40113 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40114 * wcsmbc/wcscmp.c: Likewise.
40115 * string/test-strcmp.c: Likewise.
40116 Add new tests to check cases with negative values.
40118 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40120 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40121 * sysdeps/x86_64/dla.h: ...here. New file.
40122 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40127 * sysdeps/ieee754/dbl-64/e_sqrt.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-23 Andreas Schwab <schwab@linux-m68k.org>
40134 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40135 __ynl_finite aliases.
40137 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40141 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40143 [DLA_FMA] (EMULV): Use DLA_FMA.
40144 [DLA_FMA] (MUL12): Use EMULV.
40145 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40146 that are not needed.
40147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40155 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40157 * math/s_nan.c: Undef __nan.
40158 * math/s_nanf.c: Undef __nanf.
40159 * math/s_nanl.c: Undef __nanl.
40160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40163 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40165 * math/s_catan.c: Add branch predictions.
40166 * math/s_catanf.c: Likewise.
40167 * math/s_catanh.c: Likewise.
40168 * math/s_catanhf.c: Likewise.
40169 * math/s_catanhl.c: Likewise.
40170 * math/s_catanl.c: Likewise.
40171 * math/s_cexp.c: Likewise.
40172 * math/s_cexpf.c: Likewise.
40173 * math/s_cexpl.c: Likewise.
40174 * math/s_clog.c: Likewise.
40175 * math/s_clog10.c: Likewise.
40176 * math/s_clog10f.c: Likewise.
40177 * math/s_clog10l.c: Likewise.
40178 * math/s_clogf.c: Likewise.
40179 * math/s_clogl.c: Likewise.
40180 * math/s_csqrt.c: Likewise.
40181 * math/s_csqrtf.c: Likewise.
40182 * math/s_csqrtl.c: Likewise.
40183 * math/s_ctanf.c: Likewise.
40184 * math/s_ctanh.c: Likewise.
40185 * math/s_ctanhf.c: Likewise.
40186 * math/s_ctanhl.c: Likewise.
40187 * math/s_ctanl.c: Likewise.
40189 * math/math_private.h: Define __nan, __nanf, __nanl.
40190 * math/s_cacosh.c: Include <math_private.h>.
40191 * math/s_cacoshl.c: Likewise.
40192 * math/s_casinh.c: Likewise.
40193 * math/s_casinhf.c: Likewise.
40194 * math/s_casinhl.c: Likewise.
40195 * math/s_ccos.c: Rely entire on ccosh.
40196 * math/s_ccosf.c: Rely entire on ccoshf.
40197 * math/s_ccosl.c: Rely entirely on ccoshl.
40198 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40199 Remove tests for FE_INVALID.
40200 * math/s_ccoshf.c: Likewise.
40201 * math/s_ccoshl.c: Likewise.
40202 * math/s_csin.c: Likewise.
40203 * math/s_csinf.c: Likewise.
40204 * math/s_csinh.c Likewise.
40205 * math/s_csinhf.c: Likewise.
40206 * math/s_csinhl.c: Likewise.
40207 * math/s_csinl.c: Likewise.
40208 * math/s_ctan.c: Likewise.
40209 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40210 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40211 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40213 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40216 compilation problems.
40218 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40221 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40223 * sysdeps/i386/configure.in: Test for -mfma4 option.
40224 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40225 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40226 COMMON_CPUID_INDEX_80000001.
40227 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40228 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40229 use it if FMA3 is not supported.
40230 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40232 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40233 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40235 2011-10-20 Andreas Schwab <schwab@redhat.com>
40238 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40239 it would create a cycle with a link time dependency.
40241 2011-10-19 Ulrich Drepper <drepper@gmail.com>
40243 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40245 * string/Makefile (strop-tests): Add rawmemchr.
40246 * string/test-rawmemchr.c: New file.
40248 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40249 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40250 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40251 when compiling str{,n}casecmp and when AVX is available. Hook up
40252 new optimized code in initializers.
40254 2011-10-19 Andreas Schwab <schwab@redhat.com>
40256 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40257 __feraiseexcept instead of feraiseexcept.
40259 2011-10-18 Ulrich Drepper <drepper@gmail.com>
40261 * math/math_private.h: Define defaults for libc_fetestexcept and
40263 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40264 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40265 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40266 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40267 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40268 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40269 libc_fetestexcept and libc_feupdateenv.
40271 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40272 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40273 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40274 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40275 libc_feholdexcept_setround.
40277 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40278 Add s_nearbyint-c and s_nearbyintf-c.
40279 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40280 nearbyintf inlines.
40281 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40282 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40283 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40284 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40286 * math/math_private.h: Define defaults for libc_fegetround,
40287 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40288 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40289 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40290 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40291 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40292 standard functions.
40293 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40294 Remove comments and hacks for old compiler versions.
40295 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40296 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40297 libc_feholdexceptl.
40299 2011-10-18 Andreas Schwab <schwab@redhat.com>
40301 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40302 (__feraiseexcept_renamed): Add __NTH.
40303 (feraiseexcept): Add __NTH. Rename local variables to fix
40304 namespace violations.
40306 2011-10-17 Ulrich Drepper <drepper@gmail.com>
40308 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40310 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40312 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40313 recently added interfaces.
40314 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40316 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40317 about macro parameter expansion.
40319 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40320 __NO_MATH_INLINES is defined. Cleanups.
40322 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40323 and __floorf is target has SSE4.1.
40324 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40325 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40326 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40327 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40329 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40331 (floorf): Likewise.
40333 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40335 2011-10-17 Andreas Schwab <schwab@redhat.com>
40337 * misc/sys/cdefs.h: Fix last change.
40339 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40342 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40344 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40346 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40348 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40351 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40352 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40353 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40354 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40355 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40356 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40357 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40358 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40359 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40360 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40361 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40362 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40363 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40364 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40365 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40366 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40367 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40369 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40370 ceil, ceilf, floor, floorf.
40372 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40373 Perform IRELATIVE relocations last.
40375 * elf/do-rel.h: Add another parameter nrelative, replacing the
40376 local variable with the same name. Change name of the function
40377 to end in Rel or Rela (uppercase).
40378 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40379 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40380 elf_dynamic_do_##reloc function.
40382 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40384 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40385 is sufficient, at least on modern CPUs.
40387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40389 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40390 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40392 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40394 * math/bits/math-finite.h: Add entries for exp.
40395 * math/e_expl.c: Add __*_finite alias.
40396 * sysdeps/i386/fpu/e_exp.S: Likewise.
40397 * sysdeps/i386/fpu/e_expf.S: Likewise.
40398 * sysdeps/i386/fpu/e_expl.c: Likewise.
40399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40400 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40401 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40403 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40404 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40405 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40407 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40408 is sufficient, at least on modern CPUs.
40410 * ctype/ctype-info.c (__ctype_init): Define.
40411 * include/ctype.h (__ctype_init): Declare.
40412 (__ctype_b_loc): The variable is always initialized.
40413 (__ctype_toupper_loc): Likewise.
40414 (__ctype_tolower_loc): Likewise.
40415 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40416 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40418 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40420 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40422 * configure.in: Also look in $cxxmachine/include for C++ system
40425 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40427 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40428 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40429 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40430 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40432 (USE_AS_WMEMCMP): New macro.
40434 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40435 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40436 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40437 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40439 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40440 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40442 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40443 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40444 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40445 (USE_AS_WMEMCMP): New macro.
40446 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40447 * sysdeps/string/test-memcmp.c: Update.
40448 Fix simple_wmemcmp.
40450 * wcsmbs/wmemcmp.c: Update.
40451 (WMEMCMP): New macro.
40454 2011-10-12 Andreas Jaeger <aj@suse.de>
40457 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40459 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40461 * libio/iofwide.c (do_length): Avoid warning.
40463 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40465 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40467 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40469 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40470 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40471 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40472 * sysdeps/i386/i686/fpu/e_log.S: New file.
40473 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40474 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40476 * ctype/ctype.h: Add support for inlined isXXX functions when
40477 compiling C++ code.
40479 2011-10-14 Andreas Schwab <schwab@redhat.com>
40481 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40483 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40485 2011-10-13 Roland McGrath <roland@hack.frob.com>
40488 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40490 2011-10-13 Andreas Schwab <schwab@redhat.com>
40492 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40493 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40496 * sysdeps/x86_64/memrchr.S: Check for zero size.
40498 * string/stratcliff.c: Add memrchr tests.
40500 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40503 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40504 rawmemchr-sse2 rawmemchr-sse2-bsf.
40505 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40506 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40507 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40508 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40509 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40510 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40511 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40512 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40513 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40514 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40515 * string/memrchr.c (MEMRCHR): New macro.
40517 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40519 Add integration with gcc's -ffinite-math-only and optimize wrapper
40521 * Versions.def: Define GLIBC_2.15 version for libm.
40522 * math/Makefile (headers): Add bits/math-finite.h.
40523 * math/bits/math-finite.h: New file.
40524 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40525 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40526 * math/e_acoshl.c: Add __*_finite alias.
40527 * math/e_acosl.c: Likewise.
40528 * math/e_asinl.c: Likewise.
40529 * math/e_atan2l.c: Likewise.
40530 * math/e_atanhl.c: Likewise.
40531 * math/e_coshl.c: Likewise.
40532 * math/e_exp10.c: Likewise.
40533 * math/e_exp10f.c: Likewise.
40534 * math/e_exp10l.c: Likewise.
40535 * math/e_exp2l.c: Likewise.
40536 * math/e_fmodl.c: Likewise.
40537 * math/e_gammal_r.c: Likewise.
40538 * math/e_hypotl.c: Likewise.
40539 * math/e_j0l.c: Likewise.
40540 * math/e_j1l.c: Likewise.
40541 * math/e_jnl.c: Likewise.
40542 * math/e_lgammal_r.c: Likewise.
40543 * math/e_log10l.c: Likewise.
40544 * math/e_log2l.c: Likewise.
40545 * math/e_logl.c: Likewise.
40546 * math/e_powl.c: Likewise.
40547 * math/e_sinhl.c: Likewise.
40548 * math/e_sqrtl.c: Likewise.
40549 * math/e_scalb.c: Completely rewritten and optimized.
40550 * math/e_scalbf.c: Likewise.
40551 * math/e_scalbl.c: Likewise.
40552 * math/w_acos.c: Likewise.
40553 * math/w_acosf.c: Likewise.
40554 * math/w_acosl.c: Likewise.
40555 * math/w_acosh.c: Likewise.
40556 * math/w_acoshf.c: Likewise.
40557 * math/w_acoshl.c: Likewise.
40558 * math/w_asin.c: Likewise.
40559 * math/w_asinf.c: Likewise.
40560 * math/w_asinl.c: Likewise.
40561 * math/w_atan2.c: Likewise.
40562 * math/w_atan2f.c: Likewise.
40563 * math/w_atan2l.c: Likewise.
40564 * math/w_atanh.c: Likewise.
40565 * math/w_atanhf.c: Likewise.
40566 * math/w_atanhl.c: Likewise.
40567 * math/w_exp10.c: Likewise.
40568 * math/w_exp10f.c: Likewise.
40569 * math/w_exp10l.c: Likewise.
40570 * math/w_fmod.c: Likewise.
40571 * math/w_fmodf.c: Likewise.
40572 * math/w_fmodl.c: Likewise.
40573 * math/w_j0.c: Likewise.
40574 * math/w_j0f.c: Likewise.
40575 * math/w_j0l.c: Likewise.
40576 * math/w_j1.c: Likewise.
40577 * math/w_j1f.c: Likewise.
40578 * math/w_j1l.c: Likewise.
40579 * math/w_jn.c: Likewise.
40580 * math/w_jnf.c: Likewise.
40581 * math/w_log.c: Likewise.
40582 * math/w_logf.c: Likewise.
40583 * math/w_logl.c: Likewise.
40584 * math/w_log10.c: Likewise.
40585 * math/w_log10f.c: Likewise.
40586 * math/w_log10l.c: Likewise.
40587 * math/w_log2.c: Likewise.
40588 * math/w_log2f.c: Likewise.
40589 * math/w_log2l.c: Likewise.
40590 * math/w_pow.c: Likewise.
40591 * math/w_powf.c: Likewise.
40592 * math/w_powl.c: Likewise.
40593 * math/w_remainder.c: Likewise.
40594 * math/w_remainderf.c: Likewise.
40595 * math/w_remainderl.c: Likewise.
40596 * math/w_scalb.c: Likewise.
40597 * math/w_scalbf.c: Likewise.
40598 * math/w_scalbl.c: Likewise.
40599 * math/w_sqrt.c: Likewise.
40600 * math/w_sqrtf.c: Likewise.
40601 * math/w_sqrtl.c: Likewise.
40602 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40603 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40605 * math/math_private.h: Declare __kernel_standard_f.
40606 * math/w_cosh.c: Remove cruft and optimize a bit.
40607 * math/w_coshf.c: Likewise.
40608 * math/w_coshl.c: Likewise.
40609 * math/w_exp2.c: Likewise.
40610 * math/w_exp2f.c: Likewise.
40611 * math/w_exp2l.c: Likewise.
40612 * math/w_hypot.c: Likewise.
40613 * math/w_hypotf.c: Likewise.
40614 * math/w_hypotl.c: Likewise.
40615 * math/w_lgamma.c: Likewise.
40616 * math/w_lgamma_r.c: Likewise.
40617 * math/w_lgammaf.c: Likewise.
40618 * math/w_lgammaf_r.c: Likewise.
40619 * math/w_lgammal.c: Likewise.
40620 * math/w_lgammal_r.c: Likewise.
40621 * math/w_sinh.c: Likewise.
40622 * math/w_sinhf.c: Likewise.
40623 * math/w_sinhl.c: Likewise.
40624 * math/w_tgamma.c: Likewise.
40625 * math/w_tgammaf.c: Likewise.
40626 * math/w_tgammal.c: Likewise.
40627 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40628 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40629 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40630 Minor optimizations. Pretty printing. Remove cruft.
40631 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40632 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40633 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40634 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40635 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40636 * sysdeps/i386/fpu/e_asin.S: Likewise.
40637 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40638 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40639 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40640 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40641 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40643 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40644 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40645 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40646 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40647 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40648 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40649 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40650 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40651 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40652 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40653 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40654 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40655 * sysdeps/i386/fpu/e_log.S: Likewise.
40656 * sysdeps/i386/fpu/e_log10.S: Likewise.
40657 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40658 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40659 * sysdeps/i386/fpu/e_log2.S: Likewise.
40660 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40661 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40662 * sysdeps/i386/fpu/e_logf.S: Likewise.
40663 * sysdeps/i386/fpu/e_logl.S: Likewise.
40664 * sysdeps/i386/fpu/e_pow.S: Likewise.
40665 * sysdeps/i386/fpu/e_powf.S: Likewise.
40666 * sysdeps/i386/fpu/e_powl.S: Likewise.
40667 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40668 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40669 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40670 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40671 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40672 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40673 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40674 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40675 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40676 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40677 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40679 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40680 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40681 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40682 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40683 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40684 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40685 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40686 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40687 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40689 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40690 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40692 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40693 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40696 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40697 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40698 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40699 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40700 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40701 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40702 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40703 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40704 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40705 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40706 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40707 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40708 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40709 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40710 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40711 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40712 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40713 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40714 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40715 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40716 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40717 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40718 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40720 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40721 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40722 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40745 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40747 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40748 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40750 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40751 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40752 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40753 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40754 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40755 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40756 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40757 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40760 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40761 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40762 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40764 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40767 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40769 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40770 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40771 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40772 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40773 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40774 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40775 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40776 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40777 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40778 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40779 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40780 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40781 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40782 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40783 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40784 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40785 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40786 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40787 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40788 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40789 (__isnanf): Likewise.
40790 (__isinf_ns): Likewise.
40791 (__isinf_nsf): Likewise.
40792 (__finite): Likewise.
40793 (__finitef): Likewise.
40794 (__ieee754_sqrt): Define as macro.
40795 (__ieee754_sqrtf): Define as macro.
40796 (__ieee754_sqrtl): Define as macro.
40797 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40799 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40800 __FINITE_MATH_ONLY__ consistent.
40801 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40803 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40805 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40808 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40810 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40812 * po/ja.po: Update from translation team.
40814 2011-10-08 Roland McGrath <roland@hack.frob.com>
40816 * locale/programs/locarchive.c (prepare_address_space): New function.
40817 (create_archive, enlarge_archive, open_archive): Use it.
40819 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40820 inside [SHARED], where it is used.
40822 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40824 * nss/getent.c (netgroup_keys): Remove unused variable.
40825 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40827 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40829 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40830 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40832 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40833 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40834 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40835 * math/Makefile (libm-calls): Add s_isinf_ns.
40836 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40837 * math/multc3.c: Likewise.
40838 * math/s_casin.c: Likewise.
40839 * math/s_casinf.c: Likewise.
40840 * math/s_casinl.c: Likewise.
40841 * math/s_ccos.c: Likewise.
40842 * math/s_ccosf.c: Likewise.
40843 * math/s_ccosl.c: Likewise.
40844 * math/s_ctan.c: Likewise.
40845 * math/s_ctanf.c: Likewise.
40846 * math/s_ctanh.c: Likewise.
40847 * math/s_ctanhf.c: Likewise.
40848 * math/s_ctanhl.c: Likewise.
40849 * math/s_ctanl.c: Likewise.
40850 * math/w_fmod.c: Likewise.
40851 * math/w_fmodf.c: Likewise.
40852 * math/w_fmodl.c: Likewise.
40853 * math/w_remainder.c: Likewise.
40854 * math/w_remainderf.c: Likewise.
40855 * math/w_remainderl.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40857 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40858 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40860 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40861 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40862 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40863 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40865 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40867 * stdio-common/printf_fphex.c: Likewise.
40868 * stdio-common/printf_size.c: Likewise.
40870 * math/e_exp10.c: Include math_private.h using <...> not "...".
40871 * math/e_exp10f.c: Likewise.
40872 * math/e_exp10l.c: Likewise.
40873 * math/e_exp2l.c: Likewise.
40874 * math/e_j0l.c: Likewise.
40875 * math/e_j1l.c: Likewise.
40876 * math/e_jnl.c: Likewise.
40877 * math/e_lgammal_r.c: Likewise.
40878 * math/e_rem_pio2l.c: Likewise.
40879 * math/e_scalb.c: Likewise.
40880 * math/e_scalbf.c: Likewise.
40881 * math/e_scalbl.c: Likewise.
40882 * math/k_cosl.c: Likewise.
40883 * math/k_sinl.c: Likewise.
40884 * math/k_tanl.c: Likewise.
40885 * math/s_cacoshf.c: Likewise.
40886 * math/s_catan.c: Likewise.
40887 * math/s_catanf.c: Likewise.
40888 * math/s_catanh.c: Likewise.
40889 * math/s_catanhf.c: Likewise.
40890 * math/s_catanhl.c: Likewise.
40891 * math/s_catanl.c: Likewise.
40892 * math/s_ccosh.c: Likewise.
40893 * math/s_ccoshf.c: Likewise.
40894 * math/s_ccoshl.c: Likewise.
40895 * math/s_cexp.c: Likewise.
40896 * math/s_cexpf.c: Likewise.
40897 * math/s_cexpl.c: Likewise.
40898 * math/s_clog.c: Likewise.
40899 * math/s_clog10.c: Likewise.
40900 * math/s_clog10f.c: Likewise.
40901 * math/s_clog10l.c: Likewise.
40902 * math/s_clogf.c: Likewise.
40903 * math/s_clogl.c: Likewise.
40904 * math/s_csin.c: Likewise.
40905 * math/s_csinf.c: Likewise.
40906 * math/s_csinh.c: Likewise.
40907 * math/s_csinhf.c: Likewise.
40908 * math/s_csinhl.c: Likewise.
40909 * math/s_csinl.c: Likewise.
40910 * math/s_csqrt.c: Likewise.
40911 * math/s_csqrtf.c: Likewise.
40912 * math/s_csqrtl.c: Likewise.
40913 * math/s_ctan.c: Likewise.
40914 * math/s_ctanf.c: Likewise.
40915 * math/s_ctanh.c: Likewise.
40916 * math/s_ctanhf.c: Likewise.
40917 * math/s_ctanhl.c: Likewise.
40918 * math/s_ctanl.c: Likewise.
40919 * math/s_ldexp.c: Likewise.
40920 * math/s_ldexpf.c: Likewise.
40921 * math/s_ldexpl.c: Likewise.
40922 * math/s_significand.c: Likewise.
40923 * math/s_significandf.c: Likewise.
40924 * math/s_significandl.c: Likewise.
40925 * math/w_acos.c: Likewise.
40926 * math/w_acosf.c: Likewise.
40927 * math/w_acosh.c: Likewise.
40928 * math/w_acoshf.c: Likewise.
40929 * math/w_acoshl.c: Likewise.
40930 * math/w_acosl.c: Likewise.
40931 * math/w_asin.c: Likewise.
40932 * math/w_asinf.c: Likewise.
40933 * math/w_asinl.c: Likewise.
40934 * math/w_atan2.c: Likewise.
40935 * math/w_atan2f.c: Likewise.
40936 * math/w_atan2l.c: Likewise.
40937 * math/w_atanh.c: Likewise.
40938 * math/w_atanhf.c: Likewise.
40939 * math/w_atanhl.c: Likewise.
40940 * math/w_cosh.c: Likewise.
40941 * math/w_coshf.c: Likewise.
40942 * math/w_coshl.c: Likewise.
40943 * math/w_dremf.c: Likewise.
40944 * math/w_exp10.c: Likewise.
40945 * math/w_exp10f.c: Likewise.
40946 * math/w_exp10l.c: Likewise.
40947 * math/w_exp2.c: Likewise.
40948 * math/w_exp2f.c: Likewise.
40949 * math/w_fmod.c: Likewise.
40950 * math/w_fmodf.c: Likewise.
40951 * math/w_fmodl.c: Likewise.
40952 * math/w_hypot.c: Likewise.
40953 * math/w_hypotf.c: Likewise.
40954 * math/w_hypotl.c: Likewise.
40955 * math/w_j0.c: Likewise.
40956 * math/w_j0f.c: Likewise.
40957 * math/w_j0l.c: Likewise.
40958 * math/w_j1.c: Likewise.
40959 * math/w_j1f.c: Likewise.
40960 * math/w_j1l.c: Likewise.
40961 * math/w_jn.c: Likewise.
40962 * math/w_jnf.c: Likewise.
40963 * math/w_jnl.c: Likewise.
40964 * math/w_lgamma.c: Likewise.
40965 * math/w_lgamma_r.c: Likewise.
40966 * math/w_lgammaf.c: Likewise.
40967 * math/w_lgammaf_r.c: Likewise.
40968 * math/w_lgammal.c: Likewise.
40969 * math/w_lgammal_r.c: Likewise.
40970 * math/w_log.c: Likewise.
40971 * math/w_log10.c: Likewise.
40972 * math/w_log10f.c: Likewise.
40973 * math/w_log10l.c: Likewise.
40974 * math/w_log2.c: Likewise.
40975 * math/w_log2f.c: Likewise.
40976 * math/w_log2l.c: Likewise.
40977 * math/w_logf.c: Likewise.
40978 * math/w_logl.c: Likewise.
40979 * math/w_pow.c: Likewise.
40980 * math/w_powf.c: Likewise.
40981 * math/w_powl.c: Likewise.
40982 * math/w_remainder.c: Likewise.
40983 * math/w_remainderf.c: Likewise.
40984 * math/w_remainderl.c: Likewise.
40985 * math/w_scalb.c: Likewise.
40986 * math/w_scalbf.c: Likewise.
40987 * math/w_scalbl.c: Likewise.
40988 * math/w_sinh.c: Likewise.
40989 * math/w_sinhf.c: Likewise.
40990 * math/w_sinhl.c: Likewise.
40991 * math/w_sqrt.c: Likewise.
40992 * math/w_sqrtf.c: Likewise.
40993 * math/w_sqrtl.c: Likewise.
40994 * math/w_tgamma.c: Likewise.
40995 * math/w_tgammaf.c: Likewise.
40996 * math/w_tgammal.c: Likewise.
40998 * po/ja.po: Update from translation team.
41000 2011-09-29 Andreas Jaeger <aj@suse.de>
41003 * sunrpc/netname.c (netname2host): Fix logic.
41007 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41009 * math/w_remainder.c (__remainder): Likewise.
41010 * math/w_remainderf.c (__remainderf): Likewise.
41011 * math/libm-test.inc (remainder_test): Add test cases.
41013 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41015 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41018 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41020 * string/test-memcmp.c: Avoid unncessary #defines.
41021 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41023 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41025 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41026 Use new sse2 version for core i3 - i7 as it's faster
41027 than sse42 version.
41028 (bit_Prefer_PMINUB_for_stringop): New.
41029 * sysdeps/x86_64/rawmemchr.S: Update.
41030 Replace with faster SSE2 version.
41031 * sysdeps/x86_64/memrchr.S: New file.
41032 * sysdeps/x86_64/memchr.S: Update.
41033 Replace with faster SSE2 version.
41035 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41037 * elf/dl-load.c (lose): Add cast to avoid warning.
41039 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41041 * po/ca.po: Update from translation team.
41043 * inet/getnetgrent_r.c: Hook up nscd.
41044 * nscd/Makefile (routines): Add nscd_netgroup.
41045 (nscd-modules): Add netgroupcache.
41046 (CFLAGS-netgroupcache.c): Define.
41047 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41048 (cache_search): Add const to second parameter.
41049 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41051 (dbs): Add netgrdb entry.
41052 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41053 (verify_persistent_db): Handle netgrdb.
41054 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41055 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41057 (netgroup_response_header): Define.
41058 (innetgroup_response_header): Define.
41059 (datahead): Add netgroup_response_header and innetgroup_response_header
41061 * nscd/nscd.conf: Add entries for netgroup cache.
41062 * nscd/nscd.h (dbtype): Add netgrdb.
41063 (_PATH_NSCD_NETGROUP_DB): Define.
41064 (netgroup_iov_disabled): Declare.
41065 (xmalloc, xcalloc, xrealloc): Move declarations here.
41066 (cache_search): Adjust prototype.
41067 Add netgroup-related prototypes.
41068 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41069 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41070 (__nscd_innetgr): Declare.
41071 * nscd/selinux.c (perms): Use access_vector_t as element type and
41072 add netgroup-related initializers.
41073 * nscd/netgroupcache.c: New file.
41074 * nscd/nscd_netgroup.c: New file.
41075 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41076 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41077 For four parameters use innetgr.
41078 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41079 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41080 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41081 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41083 * nscd/connections.c (register_traced_file): Don't register file
41084 for disabled databases.
41086 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41088 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41090 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41091 from tree and freeing node.
41093 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41095 * nss/nsswitch.c (__nss_database_lookup): Handle
41096 nss_parse_service_list out of memory case.
41098 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41100 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41101 out of memory case.
41103 2011-10-04 Andreas Schwab <schwab@redhat.com>
41105 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41106 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41108 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41109 elf_machine_rela, elf_machine_lazy_rel.
41110 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41111 (ELF_DYNAMIC_DO_REL): Likewise.
41112 (ELF_DYNAMIC_DO_RELA): Likewise.
41113 (ELF_DYNAMIC_RELOCATE): Likewise.
41114 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41115 to ELF_DYNAMIC_DO_REL.
41116 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41117 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41118 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41120 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41121 skip_ifunc, don't call ifunc function if non-zero.
41122 (elf_machine_rela): Likewise.
41123 (elf_machine_lazy_rel): Likewise.
41124 (elf_machine_lazy_rela): Likewise.
41125 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41126 (elf_machine_lazy_rel): Likewise.
41127 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41129 (elf_machine_lazy_rel): Likewise.
41130 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41132 (elf_machine_lazy_rel): Likewise.
41133 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41134 (elf_machine_lazy_rel): Likewise.
41135 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41136 (elf_machine_lazy_rel): Likewise.
41137 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41138 (elf_machine_lazy_rel): Likewise.
41139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41140 (elf_machine_lazy_rel): Likewise.
41141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41142 (elf_machine_lazy_rel): Likewise.
41143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41144 (elf_machine_lazy_rel): Likewise.
41146 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41148 * nss/nss_files/files-init.c (_nss_files_init): Use static
41149 initialization for all the *_traced_file variables.
41151 2011-09-28 Andreas Schwab <schwab@redhat.com>
41153 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41155 2011-09-27 Roland McGrath <roland@hack.frob.com>
41158 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41160 2011-09-27 Andreas Schwab <schwab@redhat.com>
41162 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41163 Reread the line before reparsing it.
41165 2011-09-26 Andreas Schwab <schwab@redhat.com>
41167 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41169 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41170 Maxim Kuvyrkov <maxim@codesourcery.com>
41171 Joseph Myers <joseph@codesourcery.com>
41173 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41174 if needed for __stack_chk_guard.
41176 2011-09-19 Roland McGrath <roland@hack.frob.com>
41178 * sysdeps/posix/spawni.c (script_execute): Always define it.
41179 It will be optimized away if unused.
41180 (maybe_script_execute): New function.
41181 (__spawni): Call it.
41183 * Makerules: Don't include tls.make.
41184 (config-tls): Always set to thread.
41185 * tls.make.c: File removed.
41187 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41189 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41190 * config.make.in (CPPFLAGS-config): New substituted variable.
41192 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41194 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41197 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41198 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41200 2011-09-15 Roland McGrath <roland@hack.frob.com>
41202 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41203 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41205 (CALL_FAIL): Likewise.
41206 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41207 (CALL_FAIL): Macro removed.
41208 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41210 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41212 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41213 for __FINITE_MATH_ONLY__ == 1.
41215 2011-09-15 Andreas Schwab <schwab@redhat.com>
41217 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41218 __ieee754_sqrt instead of sqrt.
41219 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41220 __ieee754_sqrtf instead of sqrtf.
41221 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41222 __floorf instead of floorf.
41223 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41224 __floorf, __truncf instead of floorf, truncf.
41226 2011-09-14 Ulrich Drepper <drepper@gmail.com>
41228 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41230 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41231 __extern_always_inline.
41232 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41235 2011-09-14 Andreas Schwab <schwab@redhat.com>
41237 * elf/rtld.c (dl_main): Also relocate in dependency order when
41238 doing symbol dependency testing.
41240 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41242 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41243 Always define `refsym'.
41245 2011-09-13 Andreas Schwab <schwab@redhat.com>
41247 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41248 (__FD_ELT): Renamed from __FDELT.
41249 * misc/bits/select2.h (__FD_ELT): Likewise.
41250 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41251 __FD_MASK instead of __FDELT, __FDMASK.
41252 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41254 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41257 * elf/Makefile (gen-ldd): Fix pattern.
41259 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41260 (init_tls): Likewise.
41262 2011-09-12 Ulrich Drepper <drepper@gmail.com>
41264 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41266 2011-09-12 Andreas Schwab <schwab@redhat.com>
41268 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41269 `struct cmsghdr *' instead of `void *'.
41270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41273 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41275 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41277 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41278 ldd_rewrite_script.
41280 2011-09-11 Ulrich Drepper <drepper@gmail.com>
41282 * configure.in: Remove --with-tls option.
41283 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41284 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41285 out in case it is missing.
41286 * sysdeps/ia64/elf/configure.in: Likewise.
41287 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41288 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41289 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41290 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41291 * sysdeps/sh/elf/configure.in: Likewise.
41292 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41293 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41294 * sysdeps/x86_64/elf/configure.in: Likewise.
41295 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41296 * sysdeps/mach/hurd/tls.h: Likewise.
41299 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41302 * configure.in: Fix use of AC_INIT.
41304 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41306 2011-09-10 Ulrich Drepper <drepper@gmail.com>
41308 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41310 * malloc/hooks.c: Likewise.
41313 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41314 variables statically.
41315 (narenas): Initialize.
41316 (list_lock): Initialize.
41317 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41318 initializtion of main_arena and list_lock. Small cleanups.
41319 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41320 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41321 Add initializers to main_arena and mp_.
41322 (malloc_state): Remove pagesize member. Change all users to use
41325 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41326 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41327 is always initialized.
41329 * malloc/malloc.c: Removed unused configurations and dead code.
41330 * malloc/arena.c: Likewise.
41331 * malloc/hooks.c: Likewise.
41332 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41334 * include/tls.h: Removed. USE___THREAD must always be defined.
41335 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41336 * elf/dl-libc.c: Likewise.
41337 * elf/dl-tsd.c: Likewise.
41338 * include/errno.h: Likewise.
41339 * include/netdb.h: Likewise.
41340 * include/resolv.h: Likewise.
41341 * inet/herrno-loc.c: Likewise.
41342 * inet/herrno.c: Likewise.
41343 * malloc/arena.c: Likewise.
41344 * malloc/hooks.c: Likewise.
41345 * malloc/malloc.c: Likewise.
41346 * resolv/res-state.c: Likewise.
41347 * resolv/res_libc.c: Likewise.
41348 * sysdeps/i386/dl-machine.h: Likewise.
41349 * sysdeps/ia64/dl-machine.h: Likewise.
41350 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41351 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41352 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41353 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41354 * sysdeps/sh/dl-machine.h: Likewise.
41355 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41356 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41357 * sysdeps/unix/i386/sysdep.S: Likewise.
41358 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41359 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41360 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41364 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41365 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41368 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41369 * sysdeps/x86_64/dl-machine.h: Likewise.
41370 * tls.make.c: Likewise.
41372 * configure.in: Remove --with-__thread option. Make tests for
41373 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41374 tls_model attribute fail if no support is available. Remove
41376 * Makeconfig: Adjust for dropped configure option. All features are
41378 * Makerules: Likewise.
41379 * Versions.def: Likewise.
41380 * argp/argp-fmtstream.c: Likewise.
41381 * argp/argp-fmtstream.h: Likewise.
41382 * argp/argp-help.c: Likewise.
41383 * assert/assert.c: Likewise.
41384 * config.h.in: Likewise.
41385 * config.make.in: Likewise.
41386 * configure: Likewise.
41387 * configure.in: Likewise.
41388 * csu/Versions: Likewise.
41389 * csu/init.c: Likewise.
41390 * elf/tst-audit2.c: Likewise.
41391 * elf/tst-tls10.c: Likewise.
41392 * elf/tst-tls10.h: Likewise.
41393 * elf/tst-tls11.c: Likewise.
41394 * elf/tst-tls12.c: Likewise.
41395 * elf/tst-tls14.c: Likewise.
41396 * elf/tst-tlsmod11.c: Likewise.
41397 * elf/tst-tlsmod12.c: Likewise.
41398 * elf/tst-tlsmod13.c: Likewise.
41399 * elf/tst-tlsmod13a.c: Likewise.
41400 * elf/tst-tlsmod14a.c: Likewise.
41401 * elf/tst-tlsmod15b.c: Likewise.
41402 * elf/tst-tlsmod16a.c: Likewise.
41403 * elf/tst-tlsmod16b.c: Likewise.
41404 * elf/tst-tlsmod7.c: Likewise.
41405 * elf/tst-tlsmod8.c: Likewise.
41406 * elf/tst-tlsmod9.c: Likewise.
41407 * gmon/gmon.c: Likewise.
41408 * grp/fgetgrent_r.c: Likewise.
41409 * grp/putgrent.c: Likewise.
41410 * hurd/fopenport.c: Likewise.
41411 * include/libc-symbols.h: Likewise.
41412 * include/tls.h: Likewise.
41413 * intl/gettextP.h: Likewise.
41414 * intl/loadinfo.h: Likewise.
41415 * locale/global-locale.c: Likewise.
41416 * locale/localeinfo.h: Likewise.
41417 * mach/devstream.c: Likewise.
41418 * malloc/arena.c: Likewise.
41419 * malloc/set-freeres.c: Likewise.
41420 * misc/err.c: Likewise.
41421 * misc/getttyent.c: Likewise.
41422 * misc/mntent_r.c: Likewise.
41423 * posix/getopt.c: Likewise.
41424 * posix/wordexp.c: Likewise.
41425 * pwd/fgetpwent_r.c: Likewise.
41426 * resolv/Versions: Likewise.
41427 * resolv/res_hconf.c: Likewise.
41428 * shadow/fgetspent_r.c: Likewise.
41429 * shadow/putspent.c: Likewise.
41430 * stdio-common/printf_fphex.c: Likewise.
41431 * stdio-common/tmpfile.c: Likewise.
41432 * stdlib/abort.c: Likewise.
41433 * stdlib/fmtmsg.c: Likewise.
41434 * sunrpc/auth_unix.c: Likewise.
41435 * sunrpc/clnt_perr.c: Likewise.
41436 * sunrpc/clnt_tcp.c: Likewise.
41437 * sunrpc/clnt_udp.c: Likewise.
41438 * sunrpc/clnt_unix.c: Likewise.
41439 * sunrpc/openchild.c: Likewise.
41440 * sunrpc/svc_simple.c: Likewise.
41441 * sunrpc/svc_tcp.c: Likewise.
41442 * sunrpc/svc_udp.c: Likewise.
41443 * sunrpc/svc_unix.c: Likewise.
41444 * sunrpc/xdr.c: Likewise.
41445 * sunrpc/xdr_array.c: Likewise.
41446 * sunrpc/xdr_rec.c: Likewise.
41447 * sunrpc/xdr_ref.c: Likewise.
41448 * sunrpc/xdr_stdio.c: Likewise.
41450 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41452 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41454 2011-07-03 Andreas Jaeger <aj@suse.de>
41456 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41457 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41458 regenerate with gen-libm-tests.pl.
41460 2010-05-12 Petr Baudis <pasky@suse.cz>
41463 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41464 around j0() zero points by switching to j1().
41465 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41466 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41468 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41470 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41472 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41474 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41477 Patch in part by Pavel Roskin <proski@gnu.org>.
41480 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41482 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41483 Free memory block if necessary.
41486 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41487 be NULL. Don't lock in this case.
41489 2011-09-09 Roland McGrath <roland@hack.frob.com>
41491 * elf/elf.h (ELFOSABI_GNU): New macro.
41492 (ELFOSABI_LINUX): Define to that.
41494 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41496 * string/strncat.c (strncat): Undef the symbol in case it has been
41497 defined in bits/string.h.
41499 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41501 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41503 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41506 2011-08-17 Andreas Jaeger <aj@suse.de>
41508 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41510 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41511 Ian Lance Taylor <iant@google.com>
41513 * math/libm-test.inc (lround_test): New testcase.
41514 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41516 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41518 * Makefile: Remove support for automatic cvs check-ins.
41519 * Makerules: Likewise.
41520 * config.make.in: Likewise.
41521 * configure.in: Likewise.
41522 * intl/Makefile: Likewise.
41523 * locale/Makefile: Likewise.
41524 * po/Makefile: Likewise.
41525 * posix/Makefile: Likewise.
41526 * sysdeps/gnu/Makefile: Likewise.
41527 * sysdeps/mach/hurd/Makefile: Likewise.
41528 * sysdeps/sparc/sparc32/Makefile: Likewise.
41531 * posix/Makefile (bug-regex32-ENV): Define.
41532 Patch by John Stanley <jpsinthemix@verizon.net>.
41534 * misc/Makefile (headers): Add bits/select2.h.
41535 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41536 * misc/bits/select2.h: New file.
41537 * include/bits/select2.h: New file.
41538 * debug/Makefile (routines): Add fdelt_chk.
41539 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41540 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41542 * debug/fdelt_chk.c: New file.
41544 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41545 * wcsmbs/test-wmemcmp.c: Likewise.
41546 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41547 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41549 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41551 * string/Makefile (strop-tests): Add memcmp.
41552 * string/test-wmemcmp.c: New file.
41553 * string/test-memcmp.c: Add wmemcmp support.
41555 2011-09-08 Roland McGrath <roland@hack.frob.com>
41558 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41561 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41562 garbage value in a __mach_port_mod_refs call in the cases of the
41563 task-self and thread-self ports.
41565 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41567 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41569 2011-09-08 Andreas Schwab <schwab@redhat.com>
41571 * elf/dl-load.c (lose): Check for non-null L.
41573 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41575 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41577 * elf/dl-libc.c (dlerror_run): Pass back error code from
41581 * elf/dl-load.c (lose): Free l_origin if it is valid.
41583 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41585 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41589 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41590 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41592 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41594 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41595 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41596 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41597 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41598 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41599 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41600 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41601 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41602 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41603 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41605 2011-08-15 Alan Modra <amodra@gmail.com>
41608 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41609 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41610 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41611 ppc_mcount to static-only-routines.
41612 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41614 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41615 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41617 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41619 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41620 for finite and infinity parameters.
41622 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41624 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41625 and add nop instructions for throughput optimization.
41626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41628 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41630 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41631 aligned copy for power7 with vector-scalar instructions.
41632 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41634 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41639 2011-09-07 Andreas Schwab <schwab@redhat.com>
41642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41645 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41647 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41648 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41649 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41650 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41653 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41655 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41656 Forgot to demangle the pointer.
41658 * sysdeps/i386/sysdep.h: Define atom_text_section.
41659 * sysdeps/x86_64/sysdep.h: Likewise.
41660 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41661 section with atom_text_section.
41662 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41663 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41664 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41665 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41666 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41668 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41669 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41670 already be defined. Change to take two parameters and don't assign
41671 result to variable. Adjust all users.
41672 Define INTERNAL_GETTIME if not already defined.
41673 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41676 HAVE_CLOCK_GETTIME_VSYSCALL.
41677 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41680 gettimeofday vsyscall, just use time.
41682 2011-09-06 Andreas Schwab <schwab@redhat.com>
41684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41687 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41689 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41691 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41693 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41694 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41695 syscall if possible.
41697 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41699 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41700 e_ident. Don't pass to find_mapsXX.
41701 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41703 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41706 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41707 * sysdeps/x86_64/multiarch/strchr.S: Update.
41708 Check bit_slow_BSF bit.
41709 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41710 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41711 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41713 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41716 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41718 (tryshell): Define.
41719 (__spawni): Change last parameter to be flag. Test
41720 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41721 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41722 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41723 * posix/spawni.c: Likewise.
41724 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41725 * posix/spawnp.c: Likewise. Change normal version to use
41726 SPAWN_XFLAGS_USE_PATH.
41727 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41728 SPAWN_XFLAGS_TRY_SHELL.
41731 * posix/glob.h: Remove gcc 1.x support.
41734 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41736 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41739 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41741 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41742 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41743 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41744 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41745 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41746 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41748 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41750 * sysdeps/x86_64/wcscmp.S: New file.
41752 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41753 wcscmp-c wcscmp-sse2
41754 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41755 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41756 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41757 * wcsmbs/wcscmp.c: Allow renaming.
41759 2011-09-05 David S. Miller <davem@davemloft.net>
41761 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41762 stack slot, rather than the struct return pointer slot.
41763 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41764 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41766 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41768 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41770 * po/ja.po: Update from translation team.
41773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41774 kernel in 64-bit binaries.
41776 2011-09-01 David S. Miller <davem@davemloft.net>
41778 * elf/elf.h (HWCAP_SPARC_*): Move to..
41779 * sysdeps/sparc/sysdep.h: this new file and add new values.
41780 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41781 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41782 _DL_HWCAP_COUNT to 24.
41783 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41785 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41786 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41787 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41788 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41789 instead of magic constants.
41790 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41792 2011-08-31 David S. Miller <davem@davemloft.net>
41794 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41796 Reimplement to do errno handling inline.
41797 (SYSCALL_ERROR_HANDLER): New macro.
41798 (__SYSCALL_STRING): Do not do errno handling in asm.
41799 (__CLONE_SYSCALL_STRING): Delete.
41800 (__INTERNAL_SYSCALL_STRING): Delete.
41801 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41802 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41803 (PSEUDO): Reimplement to do errno handling inline.
41804 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41805 (SYSCALL_ERROR_HANDLER): New macro.
41806 (__SYSCALL_STRING): Do not do errno handling in asm.
41807 (__CLONE_SYSCALL_STRING): Delete.
41808 (__INTERNAL_SYSCALL_STRING): Delete.
41809 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41810 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41812 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41813 (inline_syscall*): Add 'err' argument.
41814 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41815 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41816 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41817 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41819 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41820 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41822 2011-08-30 Andreas Schwab <schwab@redhat.com>
41824 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41826 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41828 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41831 2011-08-24 David S. Miller <davem@davemloft.net>
41833 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41835 2011-08-24 Andreas Schwab <schwab@redhat.com>
41837 * elf/Makefile: Add rules to build and run unload8 test.
41838 * elf/unload8.c: New file.
41839 * elf/unload8mod1.c: New file.
41840 * elf/unload8mod1x.c: New file.
41841 * elf/unload8mod2.c: New file.
41842 * elf/unload8mod3.c: New file.
41844 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41847 2011-08-23 David S. Miller <davem@davemloft.net>
41849 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41850 subtract stack bias.
41851 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41852 %sp not %fp in calculations.
41853 (_JMPBUF_UNWINDS_ADJ): Likewise.
41855 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41856 (aio_suspend): Call it to force an exception region around the
41857 AIO_MISC_WAIT() invocation.
41859 2011-08-23 Andreas Schwab <schwab@redhat.com>
41861 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41864 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41866 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41868 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41869 and <dl-machine.h>.
41870 (Elf64_FuncDesc): Remove.
41872 2011-08-22 David S. Miller <davem@davemloft.net>
41874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41875 sigaltstack check, add missing cfi directives.
41876 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41877 missing cfi directives, and sigaltstack handling.
41879 2011-08-16 Andreas Schwab <schwab@redhat.com>
41882 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41883 object is seen twice.
41884 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41886 * elf/Makefile (distribute): Add tst-initorder2.c.
41887 (tests): Add tst-initorder2.
41888 (modules-names): Add tst-initorder2a tst-initorder2b
41889 tst-initorder2c tst-initorder2d. Add rules to build them.
41890 ($(objpfx)tst-initorder2.out): New rule.
41891 * elf/tst-initorder2.c: New file.
41892 * elf/tst-initorder2.exp: New file.
41894 2011-08-22 Andreas Schwab <schwab@redhat.com>
41896 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41898 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41899 dependencies back to end of function.
41901 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41902 $(elfobjdir)/ld.so.
41904 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41907 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41908 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41909 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41910 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41911 of __vdso_gettimeofday.
41912 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41913 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41915 (_libc_vdso_platform_setup): Remove initialization of
41916 __vdso_gettimeofday and __vdso_time.
41918 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41920 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41921 and fgetc_unlocked.
41922 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41925 * elf/dl-open.c (add_to_global): Report additions to the global scope
41926 for LD_DEBUG=scopes.
41927 (dl_open_worker): Also print scope of newly loaded dependencies.
41928 (_dl_show_scope): Indicate if there is no scope.
41931 * stdio-common/Makefile (tests): Add bug24.
41932 * stdio-common/bug24.c: New file.
41934 2011-08-19 Andreas Jaeger <aj@suse.de>
41937 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41938 non-existant file when using close-on-exec mode.
41940 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41943 the very first instruction.
41945 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41946 the CFI state in the end.
41947 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41948 inclusion of dl-trampoline.h.
41949 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41951 2011-08-19 Andreas Schwab <schwab@redhat.com>
41953 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41954 expectations for long double.
41956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41957 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41959 2011-08-14 David S. Miller <davem@davemloft.net>
41961 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41962 artificual limit depends upon the system page size.
41964 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41966 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41967 * resolv/Makefile: Define CFLAGS-libresolv.
41969 2011-08-17 Andreas Schwab <schwab@redhat.com>
41971 * nss/makedb.c (compute_tables): Make variables used in nested
41974 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41976 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41977 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41978 if buffer was too small.
41980 * elf/pldd.c (main): Attach to all threads in the process.
41981 Rewrite /proc handling to use *at functions.
41983 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41985 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41986 specifies first scope to show.
41987 (dl_open_worker): Update callers. Move printing scope of new
41988 object to before the relocation.
41989 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41990 * sysdeps/generic/ldsodefs.h: Update declaration.
41992 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41993 string for the scope number.
41995 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41997 * nscd/servicescache.c (cache_addserv): Make sure written is always
42000 2011-08-14 Roland McGrath <roland@hack.frob.com>
42002 * sysdeps/i386/i486/bits/atomic.h
42003 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42004 statement expression, so as to suppress "set but not used" warning.
42005 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42007 * string/strncat.c (STRNCAT): Use prototype definition.
42009 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42010 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42012 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42013 (localedef-modules): Add localedef.
42014 (locale-modules): Add locale.
42016 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42017 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42018 to avoid a warning.
42020 2011-08-14 David S. Miller <davem@davemloft.net>
42022 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42023 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42025 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42027 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42028 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42029 * elf/rtld.c (dl_main): Set l_name of vDSO.
42030 Call _dl_show_scope when DL_DEBUG_SCOPES.
42031 (process_dl_debug): Recognize scopes flag and also set it for all.
42032 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42033 Declare _dl_show_scope.
42035 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42036 (do_dlopen): Pass caller_dlopen to dl_open.
42037 (__libc_dlopen_mode): Initialize caller_dlopen.
42039 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42040 of libc. Make tolower call locale-independent. Optimize a bit by
42041 using isdigit instead of isalnum.
42042 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42044 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42046 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42047 was a dependency or dynamically loaded.
42049 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42051 * intl/l10nflist.c: Allow architecture-specific pop function.
42052 * sysdeps/x86_64/l10nflist.c: New file.
42054 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42057 2011-08-10 Andreas Schwab <schwab@redhat.com>
42059 * include/dirent.h: Add libc_hidden_proto for scandirat and
42060 scandirat64. Don't declare __scandirat64.
42061 * dirent/scandirat.c: Add libc_hidden_def.
42062 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42063 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42065 2011-08-10 David S. Miller <davem@davemloft.net>
42067 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42069 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42070 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42073 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42075 * Versions.def [libc]: Add GLIBC_2.15.
42076 * dirent/Makefile (routines): Add scandirat and scandirat64.
42077 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42079 * dirent/dirent.h: Declare scandirat and scandirat64.
42080 * dirent/scandirat.c: New file.
42081 * dirent/scandirat64.c: New file.
42082 * sysdeps/wordsize-64/scandirat.c: New file.
42083 * sysdeps/wordsize-64/scandirat64.c: New file.
42084 * dirent/opendir.c: Define opendirat.
42085 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42087 * dirent/scandir64.c: Adjust for scandir.c change.
42088 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42089 __scandirat64, and __scandir_cancel_handler.
42090 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42091 additional parameter and use openat instead of open (outside of ld.so).
42092 Add new __opendir as wrapper around __opendirat.
42093 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42094 here without requiring old scandirat implementation.
42096 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42098 * dirent/scandir.c (cancel_handler): Renamed to
42099 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42100 defined. Adjust users.
42101 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42102 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42104 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42106 * string/test-string.h (IMPL): Use __STRING to expand name and then
42109 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42112 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42114 * string/Makefile: Update.
42115 (strop-tests): Append strncat.
42116 * string/test-wcscmp.c: New file.
42117 New comprehensive test for wcscmp.
42118 * string/test-strcmp.c: Update.
42119 (WIDE): New define.
42121 2011-07-22 Andreas Schwab <schwab@redhat.com>
42123 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42126 2011-07-26 Andreas Schwab <schwab@redhat.com>
42128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42129 encoding to ACE if AI_IDN.
42131 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42133 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42134 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42136 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42138 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42139 Fix overflow bug in strncat.
42140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42142 * string/test-strncat.c: Update.
42143 Add new tests for checking overflow bugs.
42145 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42148 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42149 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42150 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42152 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42153 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42154 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42155 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42157 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42158 (USE_AS_STRCAT): Define.
42159 Add strcat and strncat support.
42160 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42162 2011-07-25 Andreas Schwab <schwab@redhat.com>
42164 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42165 __n bigger than INT_MAX+1.
42166 (__strncmp_g): Likewise.
42168 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42170 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42171 * libio/stido.h: Likewise.
42173 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42175 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42178 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42179 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42181 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42185 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42188 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42190 (_dl_x86_64_save_sse): Likewise.
42192 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42196 (_dl_x86_64_save_sse): Likewise.
42198 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42200 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42202 2011-07-21 Andreas Schwab <schwab@redhat.com>
42204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42206 (_dl_x86_64_save_sse): Use correct AVX check.
42208 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42210 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42211 bug in strncpy/strncat.
42212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42214 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42216 * string/tester.c (test_strcat): Add tests for different alignments
42217 of source and destination.
42218 (test_strncat): Likewise.
42220 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42223 * posix/glob.c (glob): Check passed in values before using them in
42224 expressions to avoid some overflows.
42225 (glob_in_dir): Likewise.
42228 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42229 check for AVX enablement so that we don't crash with old kernels and
42231 * elf/tst-audit4.c: Add same checks here.
42232 * elf/tst-audit6.c: Likewise.
42234 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42236 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42238 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42240 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42242 * po/cs.po: Update from translation team.
42243 * po/bg.po: Likewise.
42245 2011-07-12 Marek Polacek <mpolacek@redhat.com>
42247 * misc/sys/cdefs.h: Add support for const attribute.
42248 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42249 to gnu_dev_{major,minor,makedev} functions.
42251 2011-07-20 Marek Polacek <mpolacek@redhat.com>
42253 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42255 2011-07-20 Andreas Schwab <schwab@redhat.com>
42257 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42260 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42263 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42264 register in order to avoid conflicts with the soft frame pointer
42265 being held in r11 when necessary.
42266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42267 (INTERNAL_VSYSCALL_NCS): Likewise.
42269 2011-07-14 Marek Polacek <mpolacek@redhat.com>
42271 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42272 * elf/dl-fini.c (_dl_fini): Adjust caller.
42273 * elf/dl-close.c (_dl_close_worker): Likewise.
42274 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42276 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42278 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42279 "aux_cache->nlibs < 0".
42281 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42282 in the reload-count case.
42284 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42287 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42288 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42289 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42290 * sysdeps/x86_64/multiarch/strcat.S: New file.
42291 * sysdeps/x86_64/multiarch/strncat.S: New file.
42292 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42293 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42294 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42295 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42296 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42297 (USE_AS_STRCAT): Define.
42298 Add strcat and strncat support.
42299 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42300 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42301 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42302 * string/strncat.c: Update.
42303 (USE_AS_STRNCAT): Define.
42304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42305 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42307 * sysdeps/x86_64/multiarch/init-arch.h
42308 (bit_Prefer_PMINUB_for_stringop): New.
42309 (index_Prefer_PMINUB_for_stringop): Likewise.
42310 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42311 bit_Prefer_PMINUB_for_stringop.
42313 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42315 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42317 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42318 of casting of buffer.
42319 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42320 buffer32 and buffer64.
42321 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42322 writes instead of casting of buffer.
42323 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42325 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42328 2011-07-19 Andreas Schwab <schwab@redhat.com>
42330 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42332 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42334 * nscd/nscd.c (termination_handler): Don't do anything for a database
42335 if it has not yet been initialized.
42337 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42339 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42341 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42343 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42345 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42347 * po/nl.po: Update from translation team.
42348 * po/sv.po: Likewise.
42350 2011-07-16 Roland McGrath <roland@hack.frob.com>
42352 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42353 now disallowed by GCC.
42355 * configure.in (use-default-link): Default to yes if a test -shared
42356 link meets our qualifications.
42357 * configure: Regenerated.
42359 * config.make.in (output-format): New variable.
42360 * configure.in: Check for ld --print-output-format support.
42361 * configure: Regenerated.
42362 * Makerules ($(common-objpfx)format.lds)
42363 [$(output-format) != unknown]: Just use $(output-format),
42364 instead of the linker-script munging.
42366 2011-07-14 Roland McGrath <roland@hack.frob.com>
42368 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42369 of $(common-objpfx)shlib.lds.
42370 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42372 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42373 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42375 * configure.in (-z relro check): Adjust test code to add a large
42376 writable data section after it.
42377 * configure: Regenerated.
42379 2011-07-11 Roland McGrath <roland@hack.frob.com>
42381 * configure.in (-z relro check): Fix test code to make the variable
42383 * configure: Regenerated.
42385 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42387 * nscd/nscd.h (struct traced_file): Define.
42388 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42389 elements. Add traced_files.
42390 (inotify_fd): Declare.
42391 (register_traced_file): Declare.
42392 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42393 (inotify_fd): Export.
42394 (resolv_conf_descr): Remove.
42395 (nscd_init): Move inotify descriptor creation to main.
42396 Don't register files for notification here.
42397 (register_traced_file): New function.
42398 (invalidate_cache): Don't use reset_res to determine whether to call
42399 res_init, go through the list of registered files.
42400 (main_loop_poll): The inotify descriptors are now stored in the
42401 structures for the traced files.
42402 (main_loop_epoll): Likewise
42403 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42404 to __nss_disable_nscd.
42405 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42406 for a database anymore. Check the records for all the registered
42408 * nss/Makefile (libnss_files-routines): Add files-init.
42409 (libnss_db-routines): Add db-init.
42410 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42411 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42412 * nss/nss_db/db-init.c: New file.
42413 * nss/nss_files/files-init.c: New file.
42414 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42415 __nss_lookup_function.
42416 (__nss_lookup_function): Call nss_load_library.
42417 (nss_load_all_libraries): New function.
42418 (__nss_disable_nscd): Take parameter with callback function for files
42419 to register. Set is_nscd. Load all the DSOs for the NSS modules
42420 used for the cached services.
42421 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42422 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42423 options for features to all the files in nscd.
42425 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42427 2011-07-10 Roland McGrath <roland@hack.frob.com>
42429 * csu/elf-init.c (__libc_csu_init): Comment typo.
42431 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42433 * po/pl.po: Update from translation team.
42434 * po/ja.po: Likewise.
42435 * po/ru.po: Likewise.
42436 * po/ko.po: Likewise.
42437 * po/fr.po: Likewise.
42439 2011-07-09 Roland McGrath <roland@hack.frob.com>
42441 * configure.in (.ctors/.dtors header and trailer check):
42442 Use an empirical test on a built program.
42443 * configure: Regenerated.
42445 * configure.in (-z relro check): Use an empirical test on a built DSO.
42446 Detect, but do not require, on ia64.
42447 * configure: Regenerated.
42449 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42450 Update tests that use readelf to use $READELF instead.
42451 * configure: Regenerated.
42453 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42455 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42456 if the result is not used.
42458 2011-07-05 Andreas Jaeger <aj@suse.de>
42461 * stdlib/tst-strtod.c: Add testcase.
42463 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42465 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42466 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42467 The latter has a higher limit. Take additional parameter to pass to
42469 (__pathconf): Pass file to __statfs_link_max.
42470 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42472 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42476 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42480 (__statfs_filesize_max): Likewise.
42481 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42483 2011-07-05 Andreas Jaeger <aj@suse.de>
42485 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42487 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42489 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42491 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42494 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42496 * Makefile (strop-tests): Add strncat.
42497 * string/test-strncat.c: New file.
42499 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42501 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42503 2011-06-21 Andreas Jaeger <aj@suse.de>
42505 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42506 Copy rule from iconvdata/Makefile.
42508 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42511 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42512 but no long options are defined, just return 'W'.
42514 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42517 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42519 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42521 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42523 (innetgr): Likewise.
42525 2011-07-05 Roland McGrath <roland@hack.frob.com>
42527 * config.make.in (install_root): Default to $(DESTDIR).
42529 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42531 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42533 2011-07-02 Roland McGrath <roland@hack.frob.com>
42535 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42537 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42538 containing directory rather than embedding absolute directory names.
42540 * scripts/check-local-headers.sh: Rewritten using awk.
42541 Match by word, not by line. Print error messages for matches.
42542 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42544 * Makerules [shlib-lds-flags empty]:
42545 ($(common-objpfx)libc_pic.opts): New target.
42546 ($(common-objpfx)libc_pic.os.clean): New target.
42547 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42549 * config.make.in (OBJCOPY): New variable.
42550 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42551 * configure: Regenerated.
42553 * config.make.in (use-default-link): New variable.
42554 * configure.in (use_default_link): Grok --with-default-link to set it.
42555 * configure: Regenerated.
42556 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42557 (shlib-lds, shlib-lds-flags): Define to empty.
42559 * Makerules (shlib-lds): New variable.
42560 (shlib-lds-flags): New variable.
42561 (build-shlib, build-moduile, build-module-asneeded): Use it.
42562 ($(common-objpfx)libc.so): Use $(shlib-lds).
42563 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42564 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42566 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42567 DT_FLAGS/DT_FLAGS_1 with zero flags.
42569 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42570 linker script munging.
42572 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42574 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42576 * crypt/sha512.c (sha512_process_block): Perform total addition using
42577 128-bit if possible.
42578 (__sha512_finish_ctx): Likewise.
42579 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42581 * crypt/sha256.c (SWAP64): Define.
42582 (sha256_process_block): Perform total addition using 64-bit if
42584 (__sha256_finish_ctx): Likewise.
42586 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42588 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42589 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42590 * nscd/hstcache.c (cache_addhst): Likewise.
42591 * nscd/grpcache.c (cache_addgr): Likewise.
42592 * nscd/aicache.c (addhstaiX): Likewise
42593 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42595 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42597 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42599 * nscd/hstcache.c (cache_addhst): Likewise.
42600 * nscd/grpcache.c (cache_addgr): Likewise.
42601 * nscd/aicache.c (addhstaiX): Likewise
42603 2011-07-01 Andreas Schwab <schwab@redhat.com>
42605 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42606 domain only when needed.
42608 2011-06-30 Andreas Schwab <schwab@redhat.com>
42610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42611 is always restored.
42613 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42615 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42616 are re-adding the entry.
42617 * nscd/servicescache.c (cache_addserv): Likewise.
42619 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42621 * sysdeps/generic/dl-irel.h: fix protection against multiple
42623 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42625 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42628 * malloc/memusage.sh: Fix quoting in message.
42629 * debug/xtrace.sh: Likewise.
42631 * configure.in: Remove support for --experimental-malloc option, make
42633 * config.make.in: Likewise.
42634 * malloc/Makefile: Likewise.
42636 2011-06-27 Andreas Schwab <schwab@redhat.com>
42638 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42639 two-byte characters.
42641 2011-06-27 Roland McGrath <roland@hack.frob.com>
42643 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42644 AC_CACHE_CHECK invocation.
42645 * configure: Regenerated.
42647 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42649 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42652 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42653 bit from old_res_options.
42655 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42657 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42658 value type for setfct.
42660 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42662 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42663 __gettimeofday instead of gettimeofday.
42665 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42667 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42669 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42671 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42676 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42679 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42680 strcpy-sse2-unaligned strncpy-sse2-unaligned
42681 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42682 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42683 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42684 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42685 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42686 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42688 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42689 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42690 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42691 (STRCPY): Support SSE2 and SSSE3 versions.
42693 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42696 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42697 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42698 kernels which artificially limit size of requests.
42700 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42703 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42704 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42705 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42706 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42707 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42708 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42709 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42710 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42711 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42712 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42713 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42714 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42715 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42716 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42718 Enable unaligned load optimization for Intel Core i3, i5 and i7
42720 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42722 (index_Fast_Unaligned_Load): Define.
42723 (HAS_FAST_UNALIGNED_LOAD): Define.
42725 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42727 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42729 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42732 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42733 until it is clear that the information is realy needed.
42734 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42736 2011-06-22 Andreas Schwab <schwab@redhat.com>
42738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42740 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42742 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42743 /sys/devices/system/cpu/online if it is usable.
42745 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42746 reading the information from the /proc filesystem to once a second.
42748 2011-06-21 Andreas Jaeger <aj@suse.de>
42750 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42751 NULL after inclusion of kernel headers.
42753 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42755 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42756 calls to internal_setent.
42759 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42760 addresses using gethostbyname4_r ignore IPv4 addresses.
42762 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42763 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42765 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42767 2011-06-20 David S. Miller <davem@davemloft.net>
42769 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42771 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42773 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42774 (elf_irel): Use it.
42775 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42776 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42777 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42778 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42779 * sysdeps/x86_64/dl-irel.h: Likewise.
42781 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42782 * elf/dl-sym.c: Likewise.
42784 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42786 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42787 need to dereference resplen2.
42789 2011-06-14 Andreas Schwab <schwab@redhat.com>
42791 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42793 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42795 * Makeconfig: Define vardbdir and inst_vardbdir.
42796 * nss/Makefile: Add rules to install db-Makefile.
42798 * nss/nss_db/db-XXX.c: Cleanup.
42800 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42801 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42803 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42804 * nss/makedb.c: Implement -g option to specify that value strings
42805 are generated and should not be added to table iterated over for
42807 * nss/nss_db/db-initgroups.c: New file.
42809 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42812 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42813 (internal_getgrouplist): Adjust to name change.
42814 Update use_initgroups_entry if this is not the first call.
42815 * nss/databases.def: Add initgroups entry.
42817 * nss/makedb.c (compute_tables): Check result of multiple hash table
42818 sizes to minimize maximum chain length.
42820 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42822 * Versions.def: Add entry for libnss_db.
42823 * shlib-versions: Likewise.
42824 * nss/Makefile: Add rules to build libnss_db.
42825 * nss/Versions: Add libnss_db information. Organize libnss_files
42827 * nss/db-Makefile: Add gshadow support. Change rules for the new
42828 makedb progra. Some minor improvements to generate smaller files.
42829 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42831 * nss/makedb.c: ...here.
42832 Improve database format to be smaller and require less memory at
42834 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42836 * nss/nss_db/db-netgrp.c: Likewise.
42837 * nss/nss_db/db-open.c: Likewise.
42838 * nss/nss_files/flies-XXX.x: Adjust comments.
42839 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42840 * nss/nss_files/files-grp.c: Likewise.
42841 * nss/nss_files/files-hosts.c: Likewise.
42842 * nss/nss_files/files-network.c: Likewise.
42843 * nss/nss_files/files-proto.c: Likewise.
42844 * nss/nss_files/files-pwd.c: Likewise.
42845 * nss/nss_files/files-rpc.c: Likewise.
42846 * nss/nss_files/files-service.c: Likewise.
42847 * nss/nss_files/files-sgrp.c: Likewise.
42848 * nss/nss_files/files-spwd.c: Likewise.
42849 * nss/nss_db/db-alias.c: Removed.
42850 * nss/nss_db/dummy-db.h: Removed.
42852 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42854 * nss/makedb.c: Rewritten to not use database library.
42855 * nss/Makefile: Update to build new makedb program.
42857 2011-06-14 Andreas Jaeger <aj@suse.de>
42859 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42860 memset declaration.
42862 2011-06-10 Andreas Schwab <schwab@redhat.com>
42864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42867 2011-06-10 Roland McGrath <roland@hack.frob.com>
42869 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42870 * elf/Makefile ($(objpfx)ld.so): Likewise.
42872 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42873 Don't list ld.so twice in dependencies.
42875 * posix/bug-regex31.c: Include <stdlib.h>.
42877 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42879 * nis/nss_compat/compat-spwd.c
42880 (getspent_next_nss_netgr): Remove unused variable.
42881 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42883 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42884 nonmembers" output to use the right array.
42886 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42888 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42890 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42891 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42892 * catgets/gencat.c (read_input_file): Likewise.
42893 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42895 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42896 variable definition inside #if's controlling its use.
42898 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42900 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42902 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42904 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42907 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42909 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42910 * configure: Regenerated.
42912 * Makerules: Revert last change.
42913 * elf/Makefile: Likewise.
42915 2011-06-09 Roland McGrath <roland@hack.frob.com>
42917 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42918 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42919 (reloc-link): Likewise.
42921 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42923 * elf/Makefile: Add rules to build pldd.
42924 * elf/pldd.c: New file.
42925 * elf/pldd-xx.c: New file.
42927 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42929 * version.h: Update for 2.15 development version.
42931 2011-06-07 David S. Miller <davem@davemloft.net>
42933 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42936 elf_machine_lazy_rel): Likewise.
42937 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42938 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42939 elf_machine_lazy_rel): Likewise.
42940 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42941 dl_hwcap via passed in argument.
42942 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42945 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42947 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42949 2011-06-06 Roland McGrath <roland@hack.frob.com>
42952 * manual/fdl-1.1.texi: New file, verbatim from:
42953 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42954 * manual/lgpl-2.1.texi: New file, verbatim from:
42955 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42956 * manual/Makefile (licenses): New variable, list those new file names.
42958 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42960 * manual/fdl.texi: File removed.
42961 * manual/lesser.texi: File removed.
42962 * manual/libc.texinfo (Copying, Documentation License):
42963 Use new @include file names, put @appendix directive before @include.
42965 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42968 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42969 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42970 (mq_open): Add __NTH.
42972 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42975 Assume Intel Core i3/i5/i7 processor if AVX is available.
42977 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42982 2011-05-31 Andreas Schwab <schwab@redhat.com>
42984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42985 memory. Use alloca_account. Fix memory leak when retrying.
42987 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42989 * version.h (RELEASE): Bump for 2.14 release.
42990 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42992 * config.make.in (RANLIB): Remove entry.
42994 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42996 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42997 (libc.pot): Work around missing support for .ksh extension in xgettext.
43000 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43001 if both request failed.
43002 (send_dg): In case of server errors clear resplen or *resplen2.
43005 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43006 when there are multiple maps.
43007 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43008 (_dl_fini): Remove test here.
43010 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43012 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43015 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43016 bit from old_res_options.
43017 (gaih_inet): Likewise.
43020 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43023 * resolv/res_init.c (res_setoptions): Make the code more compact.
43026 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43030 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43032 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43035 * malloc/malloc.h: Declare malloc hook variables as volatile.
43037 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43041 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43042 raise in the comment.
43043 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43044 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43045 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43047 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43050 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43051 grow the buffers more if it already has to be sufficient.
43052 (build_wcs_upper_buffer): Likewise.
43053 * posix/regexec.c (check_matching): Likewise.
43054 (clean_state_log_if_needed): Likewise.
43055 (extend_buffers): Don't enlarge buffers beyond size of the input
43057 Patches mostly by Emil Wojak <emil@wojak.eu>.
43058 * posix/bug-regex32.c: New file.
43059 * posix/Makefile (tests): Add bug-regex32.
43061 * locale/findlocale.c (_nl_find_locale): Return right away if
43062 _nl_explode_name failed.
43063 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43065 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43067 * debug/xtrace.sh: Unify messages.
43068 * malloc/memusage.sh: Likewise.
43071 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43072 time symbol from vDSO. Substitute with vsyscall if not available.
43073 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43076 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43077 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43078 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43079 Add sendmmsg and internal_sendmmsg.
43080 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43081 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43084 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43085 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43086 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43088 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43091 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43092 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43094 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43098 * iconvdata/Makefile (tests): Add bug-iconv9.
43099 * iconvdata/bug-iconv9.c: New file.
43101 2011-05-27 Andreas Schwab <schwab@redhat.com>
43104 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43106 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43108 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43109 (struct user_regs_struct): Change intcs field back to cs.
43111 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43113 * po/ja.po: Update from translation team.
43115 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43118 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43119 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43121 2011-05-20 Andreas Schwab <schwab@redhat.com>
43123 * stdlib/longlong.h: Update from GCC.
43125 2011-05-23 Andreas Schwab <schwab@redhat.com>
43127 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43129 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43130 Add parameter name.
43131 (__sysconf): Pass it down.
43133 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43136 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43138 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43139 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43140 add in in __libc_use_alloca calls. Adjust callers.
43141 (glob): Use malloc in some situations.
43143 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43144 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43147 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43149 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43150 and CLOCK_BOOTTIME_ALARM.
43153 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43156 * string/_strerror.c (__strerror_r): Print negative errors as signed
43160 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43161 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43162 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43164 * configure.in: Fix typo in redirection and correct removal of test
43165 files in two cases.
43168 * locale/setlocale.c (new_composite_name): Fix test to check for
43169 identical name of all categories.
43172 * libio/filedoalloc.c (local_isatty): New function.
43173 (_IO_file_doallocate): Use local_isatty.
43174 * stdio-common/perror.c (perror): In case a new stream is used
43175 forward the stream error.
43176 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43179 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43184 * include/alloca.h (extend_alloca_account): Define.
43187 * posix/regex.h: Fix comments with documentation of user-accessible
43188 fields after compilation and describe correct free'ing of pattern
43189 after re_compile_pattern.
43190 Patch by Reuben Thomas <rrt@sc3d.org>.
43192 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43194 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43195 and -mno-altivec to prevent the compiler from using Altivec and/or
43196 VSX instructions when the corresponding registers are not available.
43198 2011-05-19 Andreas Schwab <schwab@redhat.com>
43200 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43202 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43204 * libio/freopen.c (freopen): Use __dup2, not dup2.
43205 * libio/freopen64.c (freopen64): Likewise.
43207 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43210 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43211 * math/Makefile (tests): Add test-powl.
43212 (CFLAGS-test-powl.c): Define.
43213 * math/test-powl.c: New file.
43215 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43217 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43219 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43222 * iconvdata/gb18030.c: Update to GB18020-2005.
43224 2011-05-16 Ulrich Drepper <drepper@gmail.com>
43226 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43227 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43228 Patch by Aharon Robbins <arnold@skeeve.com>.
43231 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43235 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43236 through underflows.
43239 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43240 point to strings before performing equality test for error_one_per_line
43244 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43247 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43248 (struct user_fpregs_struct): Avoid __uint*_t types.
43251 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43252 symbol info. Use it instead of calling _dl_addr locally.
43253 (lock_and_info): New function.
43254 (tr_freehook): Call lock_and_info and pass symbol info as additional
43255 parameter to tr_where.
43256 (tr_mallochook): Likewise.
43257 (tr_reallochook): Likewise.
43258 (tr_memalignhook): Likewise.
43260 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43261 used and couldn't be at all thread-safe.
43263 2011-05-15 Ulrich Drepper <drepper@gmail.com>
43265 * libio/freopen.c (freopen): Don't close old file descriptor
43266 before the new one is opened. Instead dup the new file descriptor
43267 to the old one after the new stream is created.
43268 * libio/freopen64.c (freopen64): Likewise.
43269 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43270 * libio/fileops.c (_IO_new_file_close_it): Handle new
43271 _IO_FLAGS2_NOCLOSE flag.
43272 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43273 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43274 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43275 _IO_FLAGS2_NOCLOSE flag.
43276 * include/unistd.h: Add hidden_proto for dup3.
43277 Define __have_dup3.
43278 * io/dup3.c: Define hidden symbol.
43279 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43282 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43283 when an incomplete long option is used.
43284 * posix/tst-getopt_long1.c: New file.
43285 * posix/Makefile (tests): Add tst-getopt_long1.
43288 * scripts/config.guess: Update from autoconf-2.68.
43289 * scripts/config.sub: Likewise.
43292 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43294 (has_cpuclock): ...this. New function.
43295 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43296 macro here based on has_cpuclock code.
43299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43300 First byte (not low byte) is now always NUL.
43301 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43303 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43304 Use non-cancelable interfaces.
43307 * locale/iso-639.def: Add entry for Sorani.
43310 * include/stdlib.h: Move include protection to the right place.
43311 Define abort_msg_s. Declare __abort_msg with it.
43312 * stdlib/abort.c (__abort_msg): Adjust type.
43313 * assert/assert.c (__assert_fail_base): New function. Majority
43314 of code from __assert_fail. Allocate memory for __abort_msg with
43316 (__assert_fail): Now call __assert_fail_base.
43317 * assert/assert-perr.c: Remove bulk of implementation. Use
43318 __assert_fail_base.
43319 * include/assert.hL Declare __assert_fail_base.
43320 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43322 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43324 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43328 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43329 until all modules are registered in the DTV.
43330 * elf/Makefile: Add rules to build and run tst-tls19.
43331 * elf/tst-tls19.c: New file.
43332 * elf/tst-tls19mod1.c: New file.
43333 * elf/tst-tls19mod2.c: New file.
43334 * elf/tst-tls19mod3.c: New file.
43335 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43338 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43342 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43343 two-byte sequence errors.
43344 * iconvdata/Makefile (tests): Add bug-iconv8.
43345 * iconvdata/bug-iconv8.c: New file.
43348 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43351 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43354 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43355 (dummy_getcfa): New function.
43356 (init): Get _Unwind_GetCFA address, use dummy if not found.
43357 (backtrace_helper): In recursion check, also check whether CFA changes.
43358 (__backtrace): Completely initialize arg.
43360 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43361 storing incomplete byte sequence in state object. Avoid testing for
43362 guaranteed too small input if we know there is enough data available.
43364 2011-05-11 Andreas Schwab <schwab@redhat.com>
43366 * Makeconfig (+link-pie): Indent.
43367 * Rules (binaries-pie): Define if $(have-fpie) and
43369 (binaries-shared): Also filter out $(binaries-pie).
43370 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43371 * nscd/Makefile (others-pie): Add nscd.
43372 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43373 ($(objpfx)nscd): Remove command override.
43374 * login/Makefile (others-pie): Add pt_chown.
43375 ($(objpfx)pt_chown): Remove command override.
43376 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43377 remove command overrides.
43379 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43381 * libio/tst_putwc.c: Fix error messages.
43384 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43385 currently writing and seek to current position when not.
43386 * libio/Makefile (tests): Add bug-fclose1.
43387 * libio/bug-fclose1.c: New file.
43389 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43392 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43393 don't set DF_1_NODELETE here.
43394 (do_lookup_x): When entering new entry test for copy relocation
43395 and if necessary set DF_1_NODELETE flag.
43396 * elf/tst-unique4.cc: New file.
43397 * elf/tst-unique4.h: New file.
43398 * elf/tst-unique4lib.cc: New file.
43399 * elf/Makefile: Add rules to build and run tst-unique4.
43400 Patch by Piotr Bury <pbury@goahead.com>.
43402 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43405 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43408 * misc/mntent_r.c (addmntent): Flush the stream after the output
43411 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43412 (is_trusted_path_normalize): Skip initial colon. Append slash
43413 to empty buffer. Duplicate is_trusted_path code but allow
43414 constructed patch to be prefix.
43415 (is_dst): Allow $ORIGIN followed by /.
43416 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43417 Correct testing of result of is_trusted_path_normalize
43418 (decompose_rpath): Fix warning.
43420 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43423 * grp/initgroups.c (internal_getgrouplist): When we found the service
43424 list through the initgroups entry in nsswitch.conf do not always
43425 continue on a successful lookup. Don't always use the
43426 __nss_group_database value if it is set.
43427 * nss/nsswitch.conf (initgroups): Change action for successful db
43428 lookup to continue for compatibility.
43430 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43433 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43435 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43437 * iconvdata/tst-tables.sh: Likewise.
43438 * iconvdata/cp770.c: New file.
43439 * iconvdata/cp771.c: New file.
43440 * iconvdata/cp772.c: New file.
43441 * iconvdata/cp773.c: New file.
43442 * iconvdata/cp774.c: New file.
43443 * iconvdata/testdata/CP770: New file.
43444 * iconvdata/testdata/CP770..UTF8: New file.
43445 * iconvdata/testdata/CP771: New file.
43446 * iconvdata/testdata/CP771..UTF8: New file.
43447 * iconvdata/testdata/CP772: New file.
43448 * iconvdata/testdata/CP772..UTF8: New file.
43449 * iconvdata/testdata/CP773: New file.
43450 * iconvdata/testdata/CP773..UTF8: New file.
43451 * iconvdata/testdata/CP774: New file.
43452 * iconvdata/testdata/CP774..UTF8: New file.
43454 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43456 * iconvdata/gen-8bit-gap.sh: Likewise.
43457 * iconvdata/gen-8bit.sh: Likewise.
43459 * locale/iso-639.def: Add ary entry.
43462 * locale/C-translit.h.in: Add U20A1 transliteration.
43465 * locale/iso-639.def: Add wae entry.
43466 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43469 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43473 * locale/C-translit.h.in: Add entry for U20B9.
43474 Patch by pravin.d.s@gmail.com.
43476 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43479 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43480 ENAMETOOLONG use generic getcwd.
43481 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43482 in rtld. Use *stat64.
43483 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43484 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43485 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43486 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43487 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43488 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43489 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43490 __fstatat64 macros.
43491 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43492 * dirent/rewinddir.c: Add libc_hidden_def.
43493 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43494 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43496 * include/dirent.h (__alloc_dir): Add flags parameter.
43497 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43498 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43500 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43501 from fdopendir if O_CLOEXEC is already set.
43503 2011-03-15 Alan Modra <amodra@gmail.com>
43505 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43506 l_tls_firstbyte_offset non-zero. Save padding offset in
43507 l_tls_firstbyte_offset for later use.
43508 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43509 freeing static tls block.
43511 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43513 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43514 where #ifdef was intended. The intent is to prevent ARG_MAX from
43515 being defined by the kernel headers.
43517 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43520 * resolv/resolv.h: Define RES_NOTLDQUERY.
43521 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43522 no-tld-query and set RES_NOTLDQUERY.
43523 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43524 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43525 modern BIND to search name as TLD unless forbidden.
43527 2011-05-07 Petr Baudis <pasky@suse.cz>
43528 Ulrich Drepper <drepper@gmail.com>
43531 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43532 (is_trusted_path): ...to here.
43533 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43534 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43535 using is_trusted_path_normalize() in setuid scripts.
43537 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43539 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43540 __BEGIN/__END_DECLS.
43542 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43544 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43545 NSS_STATUS_NOTFOUND if no record was found.
43547 2011-05-05 Andreas Schwab <schwab@redhat.com>
43549 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43550 (headers-not-in-tirpc): Remove rpc/netdb.h
43551 * resolv/netdb.h: Revert last change.
43553 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43555 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43556 circular dependency between libgcc.a and libc.a.
43558 2011-05-05 Andreas Schwab <schwab@redhat.com>
43560 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43561 * nis/Makefile: Don't install rpcsvc/*.
43562 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43563 instead of <rpc/types.h>.
43564 (MAXHOSTNAMELEN): Define.
43566 2011-05-03 Andreas Schwab <schwab@redhat.com>
43568 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43570 2011-04-28 Maciej Babinski <mbabinski@google.com>
43573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43574 gethostbyname4_r when IPv6 results are possible.
43576 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43579 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43580 _PC_PIPE_BUF handling.
43582 2011-04-30 Bruno Haible <bruno@clisp.org>
43585 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43586 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43588 * inet/getnameinfo.c (getnameinfo): Likewise.
43590 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43592 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43593 to groups setting in database lookup.
43594 * nss/nsswitch.conf: Add initgroups entry.
43596 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43599 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43601 Patch by Eric Blake <eblake@redhat.com>.
43603 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43605 * sunrpc/Makefile (need-export-routines): Add svc_run.
43606 (routines): Remove svc_run.
43607 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43608 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43609 * sunrpc/svc_run.c (svc_run): Likewise.
43610 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43612 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43615 problem in reallocation in last patch.
43617 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43619 * sunrpc/Makefile: Move inclusion of Rules.
43621 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43623 * nss/nss_files/files-initgroups.c: New file.
43624 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43625 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43626 _nss_files_initgroups_dyn.
43628 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43630 * elf/elf.h (R_ARM_IRELATIVE): Define.
43632 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43634 * po/ru.po: Update from translation team.
43636 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43638 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43641 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43644 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43645 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43646 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43650 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43652 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43654 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43658 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43661 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43663 * stdlib/bug-getcontext.c: New file.
43664 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43666 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43668 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43669 instructions into .machine "z9-109".
43670 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43671 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43673 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43675 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43676 between environment variables and auxiliary vector.
43678 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43680 * Makefile: Add rules to build linkobj/libc.so.
43681 * include/libc-symbols.h: Define libc_hidden_nolink.
43682 * include/rpc/auth.h: Mark functions which are to be hidden.
43683 * include/rpc/auth_des.h: Likewise.
43684 * include/rpc/auth_unix.h: Likewise.
43685 * include/rpc/clnt.h: Likewise.
43686 * include/rpc/des_crypt.h: Likewise.
43687 * include/rpc/key_prot.h: Likewise.
43688 * include/rpc/pmap_clnt.h: Likewise.
43689 * include/rpc/pmap_prot.h: Likewise.
43690 * include/rpc/pmap_rmt.h: Likewise.
43691 * include/rpc/rpc_msg.h: Likewise.
43692 * include/rpc/svc.h: Likewise.
43693 * include/rpc/svc_auth.h: Likewise.
43694 * include/rpc/xdr.h: Likewise.
43695 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43696 * nss/Makefile: Likewise.
43697 * sunrpc/Makefile: Don't install headers. Build library with normal
43698 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43699 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43700 for the compat linking library. Remove use of INTDEF/INTUSE.
43701 * sunrpc/auth_none.c: Likewise.
43702 * sunrpc/auth_unix.c: Likewise.
43703 * sunrpc/authdes_prot.c: Likewise.
43704 * sunrpc/authuxprot.c: Likewise.
43705 * sunrpc/clnt_gen.c: Likewise.
43706 * sunrpc/clnt_perr.c: Likewise.
43707 * sunrpc/clnt_raw.c: Likewise.
43708 * sunrpc/clnt_simp.c: Likewise.
43709 * sunrpc/clnt_tcp.c: Likewise.
43710 * sunrpc/clnt_udp.c: Likewise.
43711 * sunrpc/clnt_unix.c: Likewise.
43712 * sunrpc/des_crypt.c: Likewise.
43713 * sunrpc/des_soft.c: Likewise.
43714 * sunrpc/get_myaddr.c: Likewise.
43715 * sunrpc/key_call.c: Likewise.
43716 * sunrpc/key_prot.c: Likewise.
43717 * sunrpc/netname.c: Likewise.
43718 * sunrpc/pm_getmaps.c: Likewise.
43719 * sunrpc/pm_getport.c: Likewise.
43720 * sunrpc/pmap_clnt.c: Likewise.
43721 * sunrpc/pmap_prot.c: Likewise.
43722 * sunrpc/pmap_prot2.c: Likewise.
43723 * sunrpc/pmap_rmt.c: Likewise.
43724 * sunrpc/publickey.c: Likewise.
43725 * sunrpc/rpc_cmsg.c: Likewise.
43726 * sunrpc/rpc_common.c: Likewise.
43727 * sunrpc/rpc_dtable.c: Likewise.
43728 * sunrpc/rpc_prot.c: Likewise.
43729 * sunrpc/rpc_thread.c: Likewise.
43730 * sunrpc/rtime.c: Likewise.
43731 * sunrpc/svc.c: Likewise.
43732 * sunrpc/svc_auth.c: Likewise.
43733 * sunrpc/svc_authux.c: Likewise.
43734 * sunrpc/svc_raw.c: Likewise.
43735 * sunrpc/svc_run.c: Likewise.
43736 * sunrpc/svc_simple.c: Likewise.
43737 * sunrpc/svc_tcp.c: Likewise.
43738 * sunrpc/svc_udp.c: Likewise.
43739 * sunrpc/svc_unix.c: Likewise.
43740 * sunrpc/svcauth_des.c: Likewise.
43741 * sunrpc/xcrypt.c: Likewise.
43742 * sunrpc/xdr.c: Likewise.
43743 * sunrpc/xdr_array.c: Likewise.
43744 * sunrpc/xdr_float.c: Likewise.
43745 * sunrpc/xdr_intXX_t.c: Likewise.
43746 * sunrpc/xdr_mem.c: Likewise.
43747 * sunrpc/xdr_rec.c: Likewise.
43748 * sunrpc/xdr_ref.c: Likewise.
43749 * sunrpc/xdr_sizeof.c: Likewise.
43750 * sunrpc/xdr_stdio.c: Likewise.
43752 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43755 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43756 * sysdeps/ia64/dl-tls.h: Likewise.
43757 * sysdeps/powerpc/dl-tls.h: Likewise.
43758 * sysdeps/s390/dl-tls.h: Likewise.
43759 * sysdeps/sh/dl-tls.h: Likewise.
43760 * sysdeps/sparc/dl-tls.h: Likewise.
43761 * sysdeps/x86_64/dl-tls.h: Likewise.
43762 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43764 2011-03-14 Andreas Schwab <schwab@redhat.com>
43766 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43767 rpath element also skip the following colon.
43768 (expand_dynamic_string_token): Add is_path parameter and pass
43769 down to DL_DST_REQUIRED and _dl_dst_substitute.
43770 (decompose_rpath): Call expand_dynamic_string_token with
43771 non-zero is_path. Ignore empty rpaths.
43772 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43775 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43780 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43783 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43784 Patch by Filipe David Manana <fdmanana@apache.org>.
43786 2011-04-07 Andreas Schwab <schwab@redhat.com>
43788 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43789 Maintain aligned stack.
43790 (CHECK_RSP): Remove unused macro.
43792 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43794 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43797 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43799 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43801 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43803 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43806 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43807 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43808 * sysdeps/x86_64/memmove.c: New file.
43809 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43810 (memcpy): Renamed to ...
43811 (__new_memcpy): This.
43812 (memcpy): Provide GLIBC_2_14 memcpy.
43813 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43814 (memcpy): Provide GLIBC_2_2_5 memcpy.
43816 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43819 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43821 2011-03-30 Andreas Schwab <schwab@redhat.com>
43823 * misc/syncfs.c: New file.
43824 * misc/Makefile (routines): Add syncfs.
43825 * posix/unistd.h: Declare syncfs.
43826 * sysdeps/unix/syscalls.list: Add syncfs.
43828 2011-04-01 Andreas Schwab <schwab@redhat.com>
43830 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43832 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43833 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43835 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43837 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43840 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43844 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43846 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43850 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43851 sync_file_range.c with -fexceptions.
43852 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43853 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43854 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43855 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43856 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43857 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43858 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43859 sync_file_range as cancellation point
43860 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43861 now a wrapper around __call_sync_file_range with cancellation handling.
43862 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43863 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43864 function name to __call_sync_file_range.
43865 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43866 Add call_sync_file_range.
43868 2011-04-01 Andreas Schwab <schwab@redhat.com>
43870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43873 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43875 * iconv/iconv.h: Fix typo in comment.
43876 * io/fcntl.h: Likewise.
43877 * libio/stdio.h: Likewise.
43878 * posix/spawn.h: Likewise.
43879 * posix/unistd.h: Likewise.
43880 * stdlib/stdlib.h: Likewise.
43881 * time/time.h: Likewise.
43882 * wcsmbs/wchar.h: Likewise.
43884 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43885 open_by_handle): Add.
43886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43887 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43888 Augment a few comments.
43889 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43891 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43894 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43897 * io/fcntl.h (AT_EMPTY_PATH): Define.
43899 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43901 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43902 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43903 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43905 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43906 * Versions.def: Add GLIBC_2.14.
43907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43910 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43912 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43914 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43916 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43919 * string/test-strncmp.c (do_page_test): New function.
43920 (check2): Likewise.
43921 (test_main): Call check2.
43922 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43924 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43928 Handle cache information in CPU leaf 4.
43929 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43931 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43934 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43935 character representation.
43936 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43938 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43940 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43941 END(__isnan) to END(__isnanf) to match function entry point/label
43942 EALIGN(__isnanf,...).
43944 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43946 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43948 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43951 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43952 copy from the symbol referenced in the relocation to initialize the
43954 Patch by Piotr Bury <pbury@goahead.com>.
43955 * elf/Makefile: Add rules to build and tst-unique3.
43956 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43957 * elf/tst-unique3.cc: New file.
43958 * elf/tst-unique3.h: New file.
43959 * elf/tst-unique3lib.cc: New file.
43960 * elf/tst-unique3lib2.cc: New file.
43962 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43964 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43966 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43967 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43970 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43972 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43973 to-be-loaded object along a path to loader is ld.so.
43975 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43976 Ulrich Drepper <drepper@gmail.com>
43978 * sysdeps/x86_64/memset.S: After aligning destination, code
43979 branches to different locations depending on the value of
43980 misalignment, when multiarch is enabled. Fix this.
43982 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43984 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43985 Set _x86_64_preferred_memory_instruction for AMD processsors.
43986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43987 Set bit_Prefer_SSE_for_memop for AMD processors.
43989 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43991 * libio/fmemopen.c (fmemopen): Optimize a bit.
43993 2011-03-03 Andreas Schwab <schwab@redhat.com>
43995 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43997 2011-03-03 Roland McGrath <roland@redhat.com>
43999 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44001 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44003 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44004 __bzero_ultra1 instead of __memset_ultra1.
44006 2011-02-23 Andreas Schwab <schwab@redhat.com>
44007 Ulrich Drepper <drepper@gmail.com>
44010 * include/link.h (struct link_map): Add l_orig_initfini.
44011 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44012 returning unsuccessfully.
44013 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44014 close of a file loaded at startup, restore the original l_initfini
44016 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44017 list, store the pointer.
44018 * elf/Makefile ($(objpfx)noload-mem): New rule.
44019 (noload-ENV): Define.
44020 (tests): Add $(objpfx)noload-mem.
44021 * elf/noload.c: Include <memcheck.h>.
44022 (main): Call mtrace. Close all opened handles.
44024 2011-02-17 Andreas Schwab <schwab@redhat.com>
44027 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44028 dependencies are missing.
44030 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44032 Fix __if_freereq crash: Unlike the generic version which uses free,
44034 * sysdeps/mach/hurd/ifreq.h: New file.
44036 2011-01-27 Petr Baudis <pasky@suse.cz>
44037 Ulrich Drepper <drepper@gmail.com>
44040 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44041 to extend_alloca().
44042 * stdio-common/bug23.c: New file.
44043 * stdio-common/Makefile (tests): Add bug23.
44045 2010-09-28 Andreas Schwab <schwab@redhat.com>
44046 Ulrich Drepper <drepper@gmail.com>
44049 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44050 before performing relro protection. At old place add assertion
44051 to make sure nothing changed.
44053 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44054 Glauber de Oliveira Costa <glommer@gmail.com>
44056 * elf/elf.h: Add new ARM TLS relocs.
44058 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44061 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44063 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44065 * sysdeps/wordsize-64/tst-writev.c: New file.
44067 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44069 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44070 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44071 insns in _dl_start to prevent a TOC reference before relocs are
44074 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44077 * Makeconfig: Remove RANLIB definition.
44078 * Makerules: Don't use RANLIB.
44079 * aclocal.m4: Remove ranlib test.
44080 * configure.in: No need to check for ranlib.
44081 * elf/rtld-Rules: Don't use RANLIB.
44083 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44085 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44087 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44088 inclusion protection macro.
44090 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44091 SIGRTMIN and SIGRTMAX and print information in that case only when
44092 SIGRTMIN is defined.
44094 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44096 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44097 arginfo fn returning -1.
44099 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44100 and thousands string is zero terminated.
44102 2011-02-03 Andreas Schwab <schwab@redhat.com>
44104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44105 sysdeps/unix/sysv/linux/bits/socket.h.
44107 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44109 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44110 (__CPU_COUNT): Remove old macros.
44111 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44112 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44113 (__CPU_ALLOC, __CPU_FREE): Add macros.
44114 (__sched_cpualloc, __sched_cpufree): Add declarations.
44116 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44118 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44119 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44120 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44121 (readdhstai): Return value of addhstaiX call.
44122 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44123 (addgrbyX): Return value returned by cache_addgr.
44124 (readdgrbyname): Return value returned by addgrbyX.
44125 (readdgrbygid): Likewise.
44126 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44127 (addpwbyX): Return value returned by cache_addpw.
44128 (readdpwbyname): Return value returned by addhstbyX.
44129 (readdpwbyuid): Likewise.
44130 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44131 (addservbyX): Return value returned by cache_addserv.
44132 (readdservbyname): Return value returned by addservbyX:
44133 (readdservbyport): Likewise.
44134 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44135 (addhstbyX): Return value returned by cache_addhst.
44136 (readdhstbyname): Return value returned by addhstbyX.
44137 (readdhstbyaddr): Likewise.
44138 (readdhstbynamev6): Likewise.
44139 (readdhstbyaddrv6): Likewise.
44140 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44141 (readdinitgroups): Return value returned by addinitgroupsX.
44142 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44143 (prune_cache): Keep track of timeout value of re-added entries.
44144 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44145 * nscd/nscd.h: Adjust prototypes of readd* functions.
44147 2011-02-04 Roland McGrath <roland@redhat.com>
44149 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44150 (nis_stats): Likewise.
44151 * nis/nis_modify.c (nis_modify): Likewise.
44152 * nis/nis_remove.c (nis_remove): Likewise.
44153 * nis/nis_add.c (nis_add): Likewise.
44155 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44157 * posix/fnmatch_loop.c: Add some consts.
44159 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44161 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44164 * config.make.in (config-cflags-novzeroupper): Define.
44165 * configure.in: Substitute libc_cv_cc_novzeroupper.
44166 * elf/Makefile (AVX-CFLAGS): Define.
44167 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44168 (CFLAGS-tst-auditmod4a.c): Likewise.
44169 (CFLAGS-tst-auditmod4b.c): Likewise.
44170 (CFLAGS-tst-auditmod6b.c): Likewise.
44171 (CFLAGS-tst-auditmod6c.c): Likewise.
44172 (CFLAGS-tst-auditmod7b.c): Likewise.
44173 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44175 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44177 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44178 function to the callback.
44179 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44181 2011-02-02 Andreas Schwab <schwab@redhat.com>
44183 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44186 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44189 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44191 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44193 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44196 * elf/Makefile: Add rules to build and run new test.
44197 * elf/tst-initorder.c: New file.
44198 * elf/tst-initorder.exp: New file.
44199 * elf/tst-initordera1.c: New file.
44200 * elf/tst-initordera2.c: New file.
44201 * elf/tst-initordera3.c: New file.
44202 * elf/tst-initordera4.c: New file.
44203 * elf/tst-initorderb1.c: New file.
44204 * elf/tst-initorderb2.c: New file.
44205 * elf/tst-order-a1.c: New file.
44206 * elf/tst-order-a2.c: New file.
44207 * elf/tst-order-a3.c: New file.
44208 * elf/tst-order-a4.c: New file.
44209 * elf/tst-order-b1.c: New file.
44210 * elf/tst-order-b2.c: New file.
44211 * elf/tst-order-main.c: New file.
44212 New test case by George Gensure <werkt0@gmail.com>.
44214 2010-10-01 Andreas Schwab <schwab@redhat.com>
44216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44217 decoding ACE if AI_CANONIDN.
44219 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44221 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44223 2011-01-17 Ulrich Drepper <drepper@gmail.com>
44225 * version.h (RELEASE): Bump for 2.13 release.
44226 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44228 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44230 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44232 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44234 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44235 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44236 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44237 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44239 * posix/getconf.c: Update copyright year.
44240 * catgets/gencat.c: Likewise.
44241 * csu/version.c: Likewise.
44242 * debug/catchsegv.sh: Likewise.
44243 * debug/xtrace.sh: Likewise.
44244 * elf/ldconfig.c: Likewise.
44245 * elf/ldd.bash.in: Likewise.
44246 * elf/sprof.c (print_version): Likewise.
44247 * iconv/iconv_prog.c: Likewise.
44248 * iconv/iconvconfig.c: Likewise.
44249 * locale/programs/locale.c: Likewise.
44250 * locale/programs/localedef.c: Likewise.
44251 * malloc/memusage.sh: Likewise.
44252 * malloc/mtrace.pl: Likewise.
44253 * nscd/nscd.c (print_version): Likewise.
44254 * nss/getent.c: Likewise.
44256 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44257 PF_CAIF, and PF_ALG.
44258 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44260 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44262 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44263 (modules-names): Use them.
44264 (ifunc-test-modules, ifunc-pie-tests): Define.
44265 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44266 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44267 (test-extras): Likewise.
44268 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44269 $(compile-command.c).
44270 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44271 (all-built-dso): Define.
44272 (check-textrel.out, check-execstack.out): Depend on it.
44274 * configure.in: Don't override --enable-multi-arch.
44276 2011-01-15 Ulrich Drepper <drepper@gmail.com>
44279 * nscd/hstcache.c (tryagain): Define.
44280 (cache_addhst): Return tryagain not notfound for temporary errors.
44281 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44284 2011-01-14 Ulrich Drepper <drepper@gmail.com>
44287 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44288 to make the syscall.
44289 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44292 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44293 and fall back to matching as normal character if the string ends before
44294 the matching ']' is found. This is what POSIX requires.
44295 * posix/testfnm.c: Adjust test result.
44296 * posix/globtest.sh: Adjust test result. Add new test.
44297 * posix/tst-fnmatch.input: Likewise.
44298 * posix/tst-fnmatch2.c: Add new test.
44300 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44302 * elf/Makefile (check-execstack): Revert last change. Depend on
44304 (check-execstack.h): New target.
44305 (generated): Add check-execstack.h.
44306 * elf/check-execstack.c: Include "check-execstack.h".
44307 (main): Revert last change.
44308 (handle_file): Return zero if GNU_STACK is absent and
44309 DEFAULT_STACK_PERMS doesn't include PF_X.
44311 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44313 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44314 in child fails because the descriptor is already closed.
44315 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44316 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44317 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44320 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44324 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44325 temporary buffer used to handle multi lookups locally.
44326 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44328 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44330 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44333 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44335 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44336 alignment for SSE2.
44338 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44341 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44342 characters. When rounding increased number of integer digits recompute
44344 * stdio-common/tst-grouping.c: New file.
44345 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44347 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44349 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44350 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44352 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44354 * bits/select.h: Likewise.
44356 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44358 * po/ja.po: Update from translation team.
44360 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44363 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44364 implementation just like for lxstat, fxstatat, et al.
44366 2010-12-27 Jim Meyering <meyering@redhat.com>
44369 * posix/regexec.c (build_trtable): Return failure indication upon
44370 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44372 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44375 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44376 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44377 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44378 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44381 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44384 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44385 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44387 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44389 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44390 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44391 script has SORT_BY_INIT_PRIORITY.
44392 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44393 NO_CTORS_DTORS_SECTIONS is defined.
44394 * elf/soinit.c: Likewise.
44395 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44396 NO_CTORS_DTORS_SECTIONS is defined.
44397 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44398 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44399 * sysdeps/sh/init-first.c: Likewise.
44400 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44402 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44404 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44405 always use the slow path.
44407 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44409 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44410 similar rule which adds the sysdep directories to the header search in
44411 order to pick up the correct platform stackinfo.h.
44412 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44413 perform test if it is, otherwise return successfully without testing.
44414 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44415 DEFAULT_STACK_PERMS define in stackinfo.h.
44416 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44417 defined in stackinfo.h.
44418 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44419 DEFAULT_STACK_PERMS defined in stackinfo.h.
44420 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44421 * sysdeps/ia64/stackinfo.h: Likewise.
44422 * sysdeps/s390/stackinfo.h: Likewise.
44423 * sysdeps/sh/stackinfo.h: Likewise.
44424 * sysdeps/sparc/stackinfo.h: Likewise.
44425 * sysdeps/x86_64/stackinfo.h: Likewise.
44426 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44427 PF_X for powerpc64. Retain PF_X for powerpc32.
44429 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44431 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44433 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44434 GETDENTS_64BIT_ALIGNED.
44436 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44438 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44440 2010-12-10 Andreas Schwab <schwab@redhat.com>
44442 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44445 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44446 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44448 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44449 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44451 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44454 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44457 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44459 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44461 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44463 * po/it.po: Update from translation team.
44465 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44470 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44472 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44474 2010-11-24 Andreas Schwab <schwab@redhat.com>
44476 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44478 (gaih_getanswer_slice): Likewise.
44480 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44484 2010-05-31 Petr Baudis <pasky@suse.cz>
44487 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44488 silently even in the chroot mode.
44490 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44492 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44493 last patch a bit. Pretty printing
44495 2010-05-31 Petr Baudis <pasky@suse.cz>
44498 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44499 initialization of skip_initgroups_dyn.
44501 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44503 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44504 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44506 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44508 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44510 2010-11-11 Andreas Schwab <schwab@redhat.com>
44512 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44513 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44514 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44515 ($(objpfx)tst-fnmatch-mem): New rule.
44516 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44517 * posix/tst-fnmatch.c (main): Call mtrace.
44519 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44522 Support Intel processor model 6 and model 0x2c.
44524 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44526 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44529 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44532 * string/test-strncasecmp.c (check_result): New function.
44533 (do_one_test): Use it.
44534 (check1): New function.
44535 (test_main): Use it.
44536 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44537 Support strcasecmp and strncasecmp.
44539 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44542 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44543 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44545 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44547 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44551 * sysdeps/x86_64/multiarch/bzero.S: New file.
44552 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44553 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44554 * sysdeps/x86_64/multiarch/memset.S: New file.
44555 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44557 Set bit_Prefer_SSE_for_memop for Intel processors.
44558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44560 (index_Prefer_SSE_for_memop): Define.
44561 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44563 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44565 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44566 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44568 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44571 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44572 (__x86_64_raw_data_cache_size_half): Likewise.
44573 (__x86_64_raw_shared_cache_size): Likewise.
44574 (__x86_64_raw_shared_cache_size_half): Likewise.
44576 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44577 (__x86_64_raw_data_cache_size_half): Likewise.
44578 (__x86_64_raw_shared_cache_size): Likewise.
44579 (__x86_64_raw_shared_cache_size_half): Likewise.
44580 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44581 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44582 and __x86_64_raw_shared_cache_size_half. Round
44583 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44584 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44585 to multiple of 256 bytes.
44587 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44590 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44591 of inacessible symlinks. Verify result of symlink before returning it.
44592 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44593 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44595 2010-10-28 Erich Ritz <erichritz@gmail.com>
44597 * math/math.h (isinf): Fix typo in comment.
44599 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44601 * po/da.po: Update from translation team.
44603 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44605 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44606 is added to the list.
44608 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44609 Ulrich Drepper <drepper@gmail.com>
44611 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44612 the global list here. Move code to...
44613 (_dl_add_to_namespace_list): ...here. New function.
44614 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44615 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44616 * elf/dl-load.c (lose): Don't remove the element from the list.
44617 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44618 (_dl_map_object): Likewise.
44620 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44623 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44624 into all bytes of SSE register.
44625 Patch by Richard Li <richardpku@gmail.com>.
44627 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44630 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44633 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44635 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44636 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44637 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44638 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44643 2010-10-22 Andreas Schwab <schwab@redhat.com>
44645 * include/dlfcn.h (__RTLD_SECURE): Define.
44646 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44647 mode & __RTLD_SECURE instead.
44648 (open_path): Rename preloaded parameter to secure.
44649 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44650 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44651 * elf/dl-deps.c (openaux): Likewise.
44652 * elf/rtld.c (struct map_args): Remove is_preloaded.
44653 (map_doit): Don't use it.
44654 (dl_main): Likewise.
44655 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44656 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44658 2010-09-09 Andreas Schwab <schwab@redhat.com>
44660 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44661 (sysd-rules-targets): Remove duplicates.
44662 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44663 rtld-%.$o dependency.
44665 2010-10-18 Andreas Schwab <schwab@redhat.com>
44667 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44668 _dl_map_object do it.
44670 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44672 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44673 fast fma builtins, define the macros in the C99 standard.
44674 (FP_FAST_FMAF): Likewise.
44675 (FP_FAST_FMAL): Likewise.
44676 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44678 * bits/mathdef.h: Update copyright year.
44679 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44681 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44683 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44684 builtins, define the macros in the C99 standard.
44685 (FP_FAST_FMAF): Likewise.
44686 (FP_FAST_FMAL): Likewise.
44687 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44689 (FP_FAST_FMAF): Likewise.
44691 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44694 * math/libm-test.inc (fma_test): Some new testcases.
44695 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44696 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44697 y and infinite z. Do multiplication by C already in long double.
44698 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44700 y and infinite z. Do bitwise or of inexact bit into u.d.
44701 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44702 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44703 * sysdeps/i386/fpu/s_fma.S: Removed.
44704 * sysdeps/i386/fpu/s_fmal.S: Removed.
44706 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44709 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44711 computation is not scheduled after fetestexcept. Fix value
44712 of minimum denormal long double.
44714 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44717 * math/libm-test.inc (fma_test): Add some more tests.
44718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44721 2010-10-15 Andreas Schwab <schwab@redhat.com>
44723 * scripts/data/localplt-s390-linux-gnu.data: New file.
44724 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44726 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44729 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44730 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44732 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44734 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44736 if one of x and y is very large and the other is subnormal.
44737 * sysdeps/s390/fpu/s_fmaf.c: New file.
44738 * sysdeps/s390/fpu/s_fma.c: New file.
44739 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44740 * sysdeps/powerpc/fpu/s_fma.S: New file.
44741 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44742 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44743 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44745 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44748 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44750 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44751 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44752 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44753 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44754 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44755 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44758 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44761 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44762 * posix/bug-regex31.input: Add test case.
44764 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44766 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44767 * posix/bug-regex31.input: New file.
44770 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44771 (parse_sub_exp): Fix last change, use postorder.
44773 * posix/bug-regex31.c: New file.
44774 * posix/Makefile: Add rules to build and run bug-regex31.
44776 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44779 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44782 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44783 to have entries in sys_siglist.
44786 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44789 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44792 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44793 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44794 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44795 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44796 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44797 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44798 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44799 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44800 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44801 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44802 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44803 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44804 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44805 * math/ftestexcept.c (fetestexcept): Likewise.
44806 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44807 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44808 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44809 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44810 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44811 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44812 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44814 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44817 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44820 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44822 * string/bug-strstr1.c: New file.
44823 * string/Makefile: Add rules to build and run bug-strstr1.
44825 2010-10-05 Eric Blake <eblake@redhat.com>
44828 * string/str-two-way.h (two_way_long_needle): Always clear memory
44829 when skipping input due to the shift table.
44831 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44834 * malloc/mcheck.c: Handle large requests.
44837 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44838 for strncmp and strncasecmp.
44839 * string/stratcliff.c: Add tests for strcmp and strncmp.
44840 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44842 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44844 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44847 2010-09-30 Andreas Jaeger <aj@suse.de>
44849 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44850 (CGROUP_SUPER_MAGIC): Define.
44851 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44852 Handle btrfs and cgroup file systems.
44853 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44856 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44858 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44859 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44861 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44864 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44865 trying to locate the ELF header.
44867 2010-09-27 Andreas Schwab <schwab@redhat.com>
44870 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44871 Mask out sign-bit copies when constructing f_fsid.
44873 2010-09-24 Petr Baudis <pasky@suse.cz>
44875 * debug/stack_chk_fail_local.c: Add missing licence exception.
44876 * debug/warning-nop.c: Likewise.
44878 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44880 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44881 implementing getdents64 using getdents syscall, set d_type if
44882 __ASSUME_GETDENTS32_D_TYPE.
44884 2010-09-16 Andreas Schwab <schwab@redhat.com>
44886 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44887 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44889 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44892 * posix/unistd.h: Undo change of feature selection for ftruncate from
44895 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44897 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44900 2010-09-20 Andreas Schwab <schwab@redhat.com>
44902 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44904 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44906 2010-09-14 Andreas Schwab <schwab@redhat.com>
44908 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44909 variables after CHECK_SP call.
44910 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44912 2010-09-13 Andreas Schwab <schwab@redhat.com>
44913 Ulrich Drepper <drepper@redhat.com>
44915 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44916 re-relocationg ld.so.
44917 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44918 _dl_init_paths call.
44919 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44922 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44924 * resolv/res_init.c (__res_vinit): Count the default server we added.
44926 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44927 Ulrich Drepper <drepper@redhat.com>
44930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44931 (____longjmp_chk): Use %ebx for saving value across system call.
44934 2010-09-06 Andreas Schwab <schwab@redhat.com>
44936 * manual/Makefile: Don't mix pattern rules with normal rules.
44938 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44940 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44942 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44943 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44944 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44945 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44949 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44952 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44953 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44955 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44957 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44958 * sysdeps/x86_64/addmul_1.S: Likewise.
44959 * sysdeps/x86_64/lshift.S: Likewise.
44960 * sysdeps/x86_64/mul_1.S: Likewise.
44961 * sysdeps/x86_64/rshift.S: Likewise.
44962 * sysdeps/x86_64/sub_n.S: Likewise.
44963 * sysdeps/x86_64/submul_1.S: Likewise.
44965 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44967 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44968 Define __sched_param instead of SCHED_* and sched_param when
44969 <bits/sched.h> is included with __need_schedparam defined.
44970 * bits/sched.h [__need_schedparam]
44971 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44972 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44973 (__defined_schedparam): Define to 1.
44974 (__sched_param): New structure, identical to sched_param.
44975 (__need_schedparam): Undefine.
44977 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44980 (epoll_create1): Declare.
44982 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44984 2010-08-31 Andreas Schwab <schwab@redhat.com>
44987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44988 shifting retval into place.
44990 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44992 * nis/rpcsvc/nis.h: Update copyright notice.
44993 * nis/rpcsvc/nis.x: Likewise.
44994 * nis/rpcsvc/nis_callback.h: Likewise.
44995 * nis/rpcsvc/nis_callback.x: Likewise.
44996 * nis/rpcsvc/nis_object.x: Likewise.
44997 * nis/rpcsvc/nis_tags.h: Likewise.
44998 * nis/rpcsvc/yp.h: Likewise.
44999 * nis/rpcsvc/yp.x: Likewise.
45000 * nis/rpcsvc/ypupd.h: Likewise.
45001 * nis/yp_xdr.c: Likewise.
45002 * nis/ypupdate_xdr.c: Likewise.
45004 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45005 mainly the body of pmap_getport. Add parameters to specify timeouts.
45006 (pmap_getport): Use __libc_rpc_getport.
45007 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45008 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45009 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45011 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45016 2010-08-27 Roland McGrath <roland@redhat.com>
45018 * sysdeps/i386/i686/multiarch/Makefile
45019 (CFLAGS-varshift.c): New variable.
45021 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45023 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45024 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45026 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45028 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45030 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45032 * sysdeps/x86_64/strlen.S: Unroll the loop.
45033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45034 strlen-sse2 strlen-sse2-bsf.
45035 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45036 __strlen_no_bsf if bit_Slow_BSF is set.
45037 (__strlen_sse42): Removed.
45038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45039 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45041 2010-08-25 Roland McGrath <roland@redhat.com>
45043 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45044 * sysdeps/x86_64/multiarch/varshift.c: New file.
45045 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45046 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45047 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45048 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45050 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45053 strlen-sse2 strlen-sse2-bsf.
45054 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45055 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45056 (__strlen_sse2): Removed.
45057 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45058 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45060 bit_Slow_BSF for Atom.
45061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45062 (index_Slow_BSF): Define.
45063 (HAS_SLOW_BSF): Define.
45065 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45068 * resolv/res_init.c (__res_vinit): When no server address at all
45069 is given default to loopback.
45071 2010-08-24 Roland McGrath <roland@redhat.com>
45073 * configure.in: Remove config-name.h generation.
45074 * configure: Regenerated.
45075 * config-name.in: File removed.
45076 * scripts/config-uname.sh: New file.
45077 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45078 ($(objdir)config-name.h): New target.
45080 * sunrpc/rpc_parse.h: Avoid nested comment.
45082 2010-08-24 Richard Henderson <rth@redhat.com>
45083 Ulrich Drepper <drepper@redhat.com>
45084 H.J. Lu <hongjiu.lu@intel.com>
45086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45088 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45089 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45090 _mm_alignr_epi8 with _mm_loadu_si128.
45091 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45092 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45093 (__m128i_shift_right): Removed.
45094 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45095 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45096 * sysdeps/x86_64/multiarch/varshift.h: New file.
45097 * sysdeps/x86_64/multiarch/varshift.S: New file.
45099 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45101 * configure.in: Move assembler checks to before sysdep dir checking.
45103 2010-08-20 Petr Baudis <pasky@suse.cz>
45105 * LICENSES: Sync the sunrpc license.
45107 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45109 * sunrpc/auth_des.c: Update copyright notice once again.
45110 * sunrpc/auth_none.c: Likewise.
45111 * sunrpc/auth_unix.c: Likewise.
45112 * sunrpc/authdes_prot.c: Likewise.
45113 * sunrpc/authuxprot.c: Likewise.
45114 * sunrpc/bindrsvprt.c: Likewise.
45115 * sunrpc/clnt_gen.c: Likewise.
45116 * sunrpc/clnt_perr.c: Likewise.
45117 * sunrpc/clnt_raw.c: Likewise.
45118 * sunrpc/clnt_simp.c: Likewise.
45119 * sunrpc/clnt_tcp.c: Likewise.
45120 * sunrpc/clnt_udp.c: Likewise.
45121 * sunrpc/clnt_unix.c: Likewise.
45122 * sunrpc/des_crypt.c: Likewise.
45123 * sunrpc/des_soft.c: Likewise.
45124 * sunrpc/get_myaddr.c: Likewise.
45125 * sunrpc/getrpcport.c: Likewise.
45126 * sunrpc/key_call.c: Likewise.
45127 * sunrpc/key_prot.c: Likewise.
45128 * sunrpc/openchild.c: Likewise.
45129 * sunrpc/pm_getmaps.c: Likewise.
45130 * sunrpc/pm_getport.c: Likewise.
45131 * sunrpc/pmap_clnt.c: Likewise.
45132 * sunrpc/pmap_prot.c: Likewise.
45133 * sunrpc/pmap_prot2.c: Likewise.
45134 * sunrpc/pmap_rmt.c: Likewise.
45135 * sunrpc/rpc/auth.h: Likewise.
45136 * sunrpc/rpc/auth_unix.h: Likewise.
45137 * sunrpc/rpc/clnt.h: Likewise.
45138 * sunrpc/rpc/des_crypt.h: Likewise.
45139 * sunrpc/rpc/key_prot.h: Likewise.
45140 * sunrpc/rpc/netdb.h: Likewise.
45141 * sunrpc/rpc/pmap_clnt.h: Likewise.
45142 * sunrpc/rpc/pmap_prot.h: Likewise.
45143 * sunrpc/rpc/pmap_rmt.h: Likewise.
45144 * sunrpc/rpc/rpc.h: Likewise.
45145 * sunrpc/rpc/rpc_des.h: Likewise.
45146 * sunrpc/rpc/rpc_msg.h: Likewise.
45147 * sunrpc/rpc/svc.h: Likewise.
45148 * sunrpc/rpc/svc_auth.h: Likewise.
45149 * sunrpc/rpc/types.h: Likewise.
45150 * sunrpc/rpc/xdr.h: Likewise.
45151 * sunrpc/rpc_clntout.c: Likewise.
45152 * sunrpc/rpc_cmsg.c: Likewise.
45153 * sunrpc/rpc_common.c: Likewise.
45154 * sunrpc/rpc_cout.c: Likewise.
45155 * sunrpc/rpc_dtable.c: Likewise.
45156 * sunrpc/rpc_hout.c: Likewise.
45157 * sunrpc/rpc_main.c: Likewise.
45158 * sunrpc/rpc_parse.c: Likewise.
45159 * sunrpc/rpc_parse.h: Likewise.
45160 * sunrpc/rpc_prot.c: Likewise.
45161 * sunrpc/rpc_sample.c: Likewise.
45162 * sunrpc/rpc_scan.c: Likewise.
45163 * sunrpc/rpc_scan.h: Likewise.
45164 * sunrpc/rpc_svcout.c: Likewise.
45165 * sunrpc/rpc_tblout.c: Likewise.
45166 * sunrpc/rpc_util.c: Likewise.
45167 * sunrpc/rpc_util.h: Likewise.
45168 * sunrpc/rpcinfo.c: Likewise.
45169 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45170 * sunrpc/rpcsvc/key_prot.x: Likewise.
45171 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45172 * sunrpc/rpcsvc/mount.x: Likewise.
45173 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45174 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45175 * sunrpc/rpcsvc/rex.x: Likewise.
45176 * sunrpc/rpcsvc/rstat.x: Likewise.
45177 * sunrpc/rpcsvc/rusers.x: Likewise.
45178 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45179 * sunrpc/rpcsvc/spray.x: Likewise.
45180 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45181 * sunrpc/rtime.c: Likewise.
45182 * sunrpc/svc.c: Likewise.
45183 * sunrpc/svc_auth.c: Likewise.
45184 * sunrpc/svc_authux.c: Likewise.
45185 * sunrpc/svc_raw.c: Likewise.
45186 * sunrpc/svc_run.c: Likewise.
45187 * sunrpc/svc_simple.c: Likewise.
45188 * sunrpc/svc_tcp.c: Likewise.
45189 * sunrpc/svc_udp.c: Likewise.
45190 * sunrpc/svc_unix.c: Likewise.
45191 * sunrpc/svcauth_des.c: Likewise.
45192 * sunrpc/xcrypt.c: Likewise.
45193 * sunrpc/xdr.c: Likewise.
45194 * sunrpc/xdr_array.c: Likewise.
45195 * sunrpc/xdr_float.c: Likewise.
45196 * sunrpc/xdr_mem.c: Likewise.
45197 * sunrpc/xdr_rec.c: Likewise.
45198 * sunrpc/xdr_ref.c: Likewise.
45199 * sunrpc/xdr_sizeof.c: Likewise.
45200 * sunrpc/xdr_stdio.c: Likewise.
45202 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45205 2010-08-19 Andreas Schwab <schwab@redhat.com>
45207 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45209 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45211 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45212 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45213 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45214 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45215 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45216 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45217 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45218 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45219 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45220 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45221 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45222 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45223 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45224 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45226 2010-07-26 Anton Blanchard <anton@samba.org>
45228 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45229 * malloc/arena.c (heap_trim): Likewise.
45231 2010-08-16 Ulrich Drepper <drepper@redhat.com>
45233 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45236 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45238 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45240 * sysdeps/i386/elf/Makefile: New file.
45242 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45244 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45245 from fanotify_init.
45246 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45249 2010-08-15 Ulrich Drepper <drepper@redhat.com>
45251 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45253 * sysdeps/multiarch/strcmp.S: Likewise.
45255 2010-08-14 Ulrich Drepper <drepper@redhat.com>
45257 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45258 strncase_l-nonascii.
45259 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45260 Add strncase_l-ssse3.
45261 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45262 * sysdeps/x86_64/strcmp.S: Likewise.
45263 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45264 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45265 * sysdeps/x86_64/strncase.S: New file.
45266 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45267 * sysdeps/x86_64/strncase_l.S: New file.
45268 * string/Makefile (strop-tests): Add strncasecmp.
45269 * string/test-strncasecmp.c: New file.
45271 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45274 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45275 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45277 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45279 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45281 2010-08-12 Ulrich Drepper <drepper@redhat.com>
45283 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45285 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45287 2010-05-01 Alan Modra <amodra@gmail.com>
45289 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45290 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45291 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45292 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45293 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45294 tidying. Don't tail-call __sigjmp_save for static lib.
45295 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45297 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45298 (CALL_MCOUNT): Add eh info, and nop after bl.
45299 (TAIL_CALL_SYSCALL_ERROR): New macro.
45300 (PSEUDO_RET): Use it.
45301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45302 Correct save location of integer regs and cr.
45303 (_dl_profile_resolve): Correct cr save location. Delete nops
45304 after bl when SHARED. Reduce cfi size a little by better
45305 placement of cfi directives.
45306 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45307 make a stack frame. Instead use parm save area as a temp.
45308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45309 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45311 Don't make a stack frame for parent, use parm save area.
45312 Increase child stack frame to 112 bytes. Don't save unused reg,
45313 and adjust reg usage. Set up cfi on error recovery and
45314 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45316 (__makecontext): Add dummy nop after jump to exit.
45317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45318 Use correct parm save area and cr save, reduce stack frame.
45319 Correct cfi for possible PSEUDO_RET frame setup.
45320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45321 Branch to local label emitted by PSEUDO_RET rather than
45324 2010-08-12 Andreas Schwab <schwab@redhat.com>
45327 * locale/programs/locale.c (print_assignment): New function.
45328 (show_locale_vars): Use it.
45330 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45332 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45334 (struct statfs64): Likewise.
45335 (_STATFS_F_FLAGS): Define.
45336 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45338 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45339 (ST_VALID): Define locally.
45340 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45341 __statvfs_getflags, use the provided value.
45342 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45343 __ASSUME_STATFS_F_FLAGS.
45345 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45347 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45348 Add sys/fanotify.h.
45349 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45350 fanotify_mask for GLIBC_2.13.
45351 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45352 fanotify_init and fanotify_mark.
45353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45354 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45356 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45358 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45359 prlimit64 for GLIBC_2.13.
45360 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45365 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45366 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45367 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45370 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45373 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45374 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45376 * nss/Makefile: Add rules to build and run tst-nss-test1.
45377 * shlib-versions: Add entry for libnss_test1.
45378 * nss/nss_test1.c: New file.
45379 * nss/tst-nss-test1.c: New file.
45381 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45382 (__nss_configure_lookup): Set appropriate entry in
45383 __nss_configure_lookup to true.
45384 * nss/nsswitch.h: Define enum with indeces of databases in
45385 databases and __nss_database_custom arrays. Declare
45386 __nss_database_custom.
45387 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45388 to avoid using nscd when custom rules are installed.
45389 * nss/getXXbyYY_r.c: Likewise.
45390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45392 * nss/nss_files/files-parse.c: Whitespace fixes.
45394 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45397 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45398 * posix/fnmatch_loop.c: Likewise.
45400 2010-07-17 Andi Kleen <ak@linux.intel.com>
45402 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45403 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45404 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45405 * Versions.def [GLIBC_2.13]: Add.
45407 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45409 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45410 Also fail if tpwd after pwuid call is NULL.
45412 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45414 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45415 when converting to ms.
45417 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45419 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45420 EOPNOTSUPP errors with ENOTTY.
45421 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45422 EOPNOTSUPP errors with ENOTTY.
45424 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45426 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45427 Add strcasecmp_l-ssse3.
45428 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45430 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45431 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45432 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45434 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45436 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45438 * string/Makefile (strop-tests): Add strcasecmp.
45439 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45440 strcasecmp_l-nonascii.
45441 (gen-as-const-headers): Add locale-defines.sym.
45442 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45443 * sysdeps/x86_64/strcasecmp.S: New file.
45444 * sysdeps/x86_64/strcasecmp_l.S: New file.
45445 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45446 * sysdeps/x86_64/locale-defines.sym: New file.
45447 * string/test-strcasecmp.c: New file.
45449 * string/test-strcasestr.c: Test both ends of the range of characters.
45450 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45452 2010-07-29 Roland McGrath <roland@redhat.com>
45455 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45457 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45459 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45462 2010-07-27 Andreas Schwab <schwab@redhat.com>
45464 * manual/memory.texi (Malloc Tunable Parameters): Document
45467 2010-07-26 Roland McGrath <roland@redhat.com>
45470 * configure.in (-fgnu89-inline check): Set and substitute
45471 gnu89_inline, not libc_cv_gnu89_inline.
45472 * configure: Regenerated.
45473 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45475 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45477 * string/test-strnlen.c: New file.
45478 * string/Makefile (strop-tests): Add strnlen.
45479 * string/tester.c (test_strnlen): Add a few more test cases.
45480 * string/tst-strlen.c: Better error reporting.
45482 * sysdeps/x86_64/strnlen.S: New file.
45484 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45487 lower-latency instructions.
45489 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45491 * string/test-strcasestr.c: New file.
45492 * string/test-strstr.c: New file.
45493 * string/Makefile (strop-tests): Add strstr and strcasestr.
45494 * string/str-two-way.h: Don't undefine MAX.
45495 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45497 2010-07-21 Andreas Schwab <schwab@redhat.com>
45499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45500 strcasestr-nonascii.
45501 (CFLAGS-strcasestr-nonascii.c): Define.
45502 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45503 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45504 Remove unused attribute.
45506 2010-07-20 Roland McGrath <roland@redhat.com>
45508 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45509 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45510 ld.so.cache was broken. With it, there is no way to disable dsocaps
45511 like LD_HWCAP_MASK can disable hwcaps.
45513 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45515 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45517 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45519 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45520 call in strcasestr.
45521 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45522 __strcasestr_sse42_nonascii.
45523 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45524 strcasestr-nonascii.c.
45525 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45527 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45529 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45530 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45531 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45532 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45534 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45536 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45539 2010-07-06 Andreas Schwab <schwab@redhat.com>
45542 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45545 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45547 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45548 _PC_PIPE_BUF using F_GETPIPE_SZ.
45550 2010-07-05 Roland McGrath <roland@redhat.com>
45552 * manual/arith.texi (Rounding Functions): Fix rint description
45553 implicit in round description.
45555 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45557 * elf/Makefile: Fix linking for a few tests to make recent linker
45560 2010-06-30 Andreas Schwab <schwab@redhat.com>
45562 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45563 $(common-objpfx)libc_nonshared.a.
45565 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45567 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45568 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45569 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45570 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45571 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45572 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45573 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45574 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45589 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45590 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45591 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45592 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45593 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45594 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45595 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45596 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45597 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45598 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45599 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45600 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45616 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45618 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45619 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45620 * string/memmove.c (memmove): Renamed to ...
45621 (MEMMOVE): ...this. Default to memmove.
45622 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45623 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45626 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45627 mempcpy-ssse3-back memmove-ssse3-back.
45628 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45629 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45630 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45631 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45632 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45633 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45634 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45635 * sysdeps/x86_64/multiarch/memmove.c: New file.
45636 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45637 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45638 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45639 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45640 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45641 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45643 (index_Fast_Copy_Backward): Define.
45644 (HAS_ARCH_FEATURE): Define.
45645 (HAS_FAST_REP_STRING): Define.
45646 (HAS_FAST_COPY_BACKWARD): Define.
45648 2010-06-21 Andreas Schwab <schwab@redhat.com>
45650 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45651 Restore proper fallback handling.
45653 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45656 * posix/group_member.c (__group_member): Correct checking loop.
45658 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45659 OOM in getpwuid_r correctly. Return error number when the caller
45660 should return, otherwise -1.
45661 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45662 call returning > 0 value.
45663 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45665 2010-06-07 Andreas Schwab <schwab@redhat.com>
45667 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45668 libc_nonshared.a from targets in modules-names.
45670 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45672 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45675 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45677 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45678 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45679 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45680 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45682 2010-06-02 Andreas Schwab <schwab@redhat.com>
45684 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45686 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45688 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45690 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45691 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45694 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45695 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45697 2010-06-14 Roland McGrath <roland@redhat.com>
45699 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45701 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45703 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45704 __REDIRECT followed by __THROW.
45705 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45706 * posix/getopt.h (getopt): Likewise.
45708 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45710 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45711 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45712 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45714 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45715 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45717 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45719 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45721 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45725 Properly check family and model.
45727 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45729 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45731 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45733 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45735 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45737 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45740 2010-05-19 Andreas Schwab <schwab@redhat.com>
45742 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45745 2010-05-21 Andreas Schwab <schwab@redhat.com>
45747 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45748 and internal_recvmmsg.
45749 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45750 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45751 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45752 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45754 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45755 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45756 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45758 2010-05-20 Andreas Schwab <schwab@redhat.com>
45760 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45762 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45764 POWER7 optimizations.
45765 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45766 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45768 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45770 * version.h: Update for 2.13 development version.
45772 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45774 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45775 exceptions. Return 0.
45777 2010-05-07 Roland McGrath <roland@redhat.com>
45779 * elf/ldconfig.c (main): Add a const.
45781 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45783 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45784 (args_options): Add no-idn option.
45785 (ahosts_keys_int): Add idn_flags to ai_flags.
45786 (parse_option): Handle 'i' option to clear idn_flags.
45788 * malloc/malloc.c (_int_free): Possible race in the most recently
45789 added check. Only act on the data if no current modification
45792 See ChangeLog.17 for earlier changes.